Пример #1
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.update_organization = UpdateOrganization(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #2
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.add = AddProduct(cookie, csrf)
     self._get_products = GetProduct(cookie, csrf)
     self._update_products = UpdateProduct(cookie, csrf)
     self._delete_products = DeleteProduct(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #3
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.add_lead = AddLead(cookie, csrf)
     self.delete_lead = DeleteLeads(cookie, csrf)
     self.get_lead = GetLeads(cookie, csrf)
     self.update_lead = UpdateLeads(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #4
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.add_contact = AddContact(cookie, csrf)
     self.delete_contact = DeleteContacts(cookie, csrf)
     self.get_contact = GetContacts(cookie, csrf)
     self.update_contact = UpdateContacts(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #5
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.add = AddOpportunities(cookie, csrf)
     self.get_opportunitie = GetOpportunities(cookie, csrf)
     self.update_opportunitie = UpdateOpportunities(cookie, csrf)
     self.delete_opportunitie = DeleteOpportunities(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     self.event_id = ''
     pass
Пример #6
0
 def __init__(self, cookie, csrf):
     #'https://e.ikcrm.com/
     # self.base_url = base_url
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.add = AddCustomer(cookie, csrf)
     self._get_customer = GetCustomers(cookie, csrf)
     self._update_customer = UpdateCustomer(cookie, csrf)
     self._delete_customer = DeleteCustomer(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #7
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.get_announcement = GetAnnouncement(cookie, csrf)
     self.add_announcement = AddAnnouncement(cookie, csrf)
     self.update_annnouncement = UpdateAnnouncement(cookie, csrf)
     self.top_cancel_top_announcement = TopCancelTopAnnouncement(
         cookie, csrf)
     self.delete_announcement = DeleteAnnouncement(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     pass
Пример #8
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     self.filters = filters.Filters(cookie, csrf)
     self.get_current_user = testGetUser.GetUser(cookie, csrf)
     self.get_lead_common = GetLeadCommonId(cookie, csrf)
     self.batch_update_lead_common = UpdateLeadCommonId(cookie, csrf)
     self.add_lead_ids = testAddLead.AddLead(cookie, csrf)
     self.get_lead_ids = testGetLeads.GetLeads(cookie, csrf)
     self.update_lead_ids = testUpdateLead.UpdateLeads(cookie, csrf)
     pass
Пример #9
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.user = users.GetUser(cookie, csrf)
     self.DepartmentId = departmentid.GetDepartment(cookie, csrf)
     self.add_expense_centers = AddExpenseCenters(cookie, csrf)
     self.get_expense_centers = GetExpenseCenters(cookie, csrf)
     self.update_expense_centers = UpdateExpenseCenters(cookie, csrf)
     self.delete_expense_centers = DeleteExpenseCenters(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     self.expense_center_id = ''
     pass
Пример #10
0
 def __init__(self, cookie, csrf):
     self.common = common.Common(cookie, csrf)
     self.base_url = const.BASE_URL
     self.base_url2 = const.SIGN_IN_BASE_URL
     self.csrf = csrf
     self.cookie = cookie
     self.response = ''
     self.add_received_payments = AddReceivedPayment(cookie, csrf)
     self.get_received_payments = GetReceivedPayments(cookie, csrf)
     self.update_received_payments = UpdateReceivedPayments(cookie, csrf)
     self.delete_received_payments = DeleteReceivedPayments(cookie, csrf)
     self.filters = filters.Filters(cookie, csrf)
     self.user_id = ''
     self.customers_id = []
     self.params = ''
     self.user = users.GetUser(cookie, csrf)
     self.DepartmentId = departmentid.GetDepartment(cookie, csrf)
     pass