ultracart-rest-sdk 3.11.18__py3-none-any.whl → 3.11.45__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. ultracart/__init__.py +31 -4
  2. ultracart/api/__init__.py +0 -1
  3. ultracart/api/conversation_api.py +2091 -114
  4. ultracart/api/customer_api.py +127 -4
  5. ultracart/api/datawarehouse_api.py +634 -0
  6. ultracart/api/item_api.py +332 -3
  7. ultracart/api/order_api.py +224 -2
  8. ultracart/api_client.py +1 -1
  9. ultracart/configuration.py +1 -1
  10. ultracart/models/__init__.py +31 -3
  11. ultracart/models/conversation_agent_auth.py +27 -1
  12. ultracart/models/conversation_agent_profile.py +175 -3
  13. ultracart/models/conversation_delete_knowledge_base_document_response.py +221 -0
  14. ultracart/models/conversation_department_member.py +27 -1
  15. ultracart/models/conversation_insert_knowledge_base_document_request.py +141 -0
  16. ultracart/models/conversation_insert_knowledge_base_document_response.py +273 -0
  17. ultracart/models/conversation_knowledge_base_document.py +299 -0
  18. ultracart/models/conversation_knowledge_base_document_upload_url.py +141 -0
  19. ultracart/models/conversation_knowledge_base_document_upload_url_response.py +221 -0
  20. ultracart/models/conversation_knowledge_base_documents_response.py +223 -0
  21. ultracart/models/conversation_mcp_server.py +319 -0
  22. ultracart/models/conversation_mcp_server_response.py +221 -0
  23. ultracart/models/conversation_mcp_server_tools_response.py +221 -0
  24. ultracart/models/{chargeback_disputes_response.py → conversation_mcp_servers_response.py} +44 -44
  25. ultracart/models/conversation_message.py +27 -1
  26. ultracart/models/conversation_pbx_address.py +473 -0
  27. ultracart/models/conversation_pbx_address_response.py +221 -0
  28. ultracart/models/conversation_pbx_addresses_response.py +115 -0
  29. ultracart/models/conversation_pbx_agent.py +29 -1
  30. ultracart/models/conversation_pbx_available_phone_number.py +385 -0
  31. ultracart/models/conversation_pbx_available_phone_numbers_response.py +221 -0
  32. ultracart/models/conversation_pbx_phone_number.py +59 -1
  33. ultracart/models/conversation_pbx_phone_number_purchase_request.py +243 -0
  34. ultracart/models/conversation_pbx_queue.py +63 -1
  35. ultracart/models/conversation_virtual_agent_capabilities.py +144 -4
  36. ultracart/models/conversation_virtual_agent_capability_zoho_desk_department.py +141 -0
  37. ultracart/models/coupon_codes_request.py +31 -1
  38. ultracart/models/coupon_free_item_with_item_purchase_and_free_shipping.py +31 -3
  39. ultracart/models/coupon_percent_off_items_and_free_shipping.py +31 -3
  40. ultracart/models/custom_dashboard.py +29 -3
  41. ultracart/models/custom_dashboard_execution_parameter.py +193 -0
  42. ultracart/models/custom_dashboard_schedule.py +221 -0
  43. ultracart/models/custom_dashboard_schedule_response.py +221 -0
  44. ultracart/models/custom_dashboard_schedules_response.py +223 -0
  45. ultracart/models/custom_report.py +27 -1
  46. ultracart/models/custom_report_account_config.py +53 -1
  47. ultracart/models/custom_report_analysis_request.py +141 -0
  48. ultracart/models/{chargeback_dispute_response.py → custom_report_analysis_response.py} +44 -44
  49. ultracart/models/custom_report_chart_png_upload_response.py +247 -0
  50. ultracart/models/custom_report_execution_parameter.py +27 -1
  51. ultracart/models/custom_report_usage_breakdown.py +143 -0
  52. ultracart/models/customer.py +31 -1
  53. ultracart/models/customer_loyalty.py +85 -1
  54. ultracart/models/customer_query.py +35 -1
  55. ultracart/models/email_campaign.py +57 -1
  56. ultracart/models/email_commseq_email.py +79 -1
  57. ultracart/models/item_content_multimedia.py +29 -1
  58. ultracart/models/item_inventory_update.py +173 -0
  59. ultracart/models/item_inventory_update_request.py +117 -0
  60. ultracart/models/item_related_item.py +1 -1
  61. ultracart/models/item_shipping.py +29 -1
  62. ultracart/models/item_shipping_distribution_center_response.py +221 -0
  63. ultracart/models/item_shipping_method.py +29 -1
  64. ultracart/models/item_tag.py +2 -2
  65. ultracart/models/order_assign_to_affiliate_request.py +175 -0
  66. ultracart/models/order_payment.py +1 -1
  67. ultracart/models/replace_order_item_id_request.py +205 -0
  68. {ultracart_rest_sdk-3.11.18.dist-info → ultracart_rest_sdk-3.11.45.dist-info}/METADATA +1 -1
  69. {ultracart_rest_sdk-3.11.18.dist-info → ultracart_rest_sdk-3.11.45.dist-info}/RECORD +72 -45
  70. ultracart/api/chargeback_api.py +0 -602
  71. ultracart/models/chargeback_dispute.py +0 -759
  72. {ultracart_rest_sdk-3.11.18.dist-info → ultracart_rest_sdk-3.11.45.dist-info}/LICENSE +0 -0
  73. {ultracart_rest_sdk-3.11.18.dist-info → ultracart_rest_sdk-3.11.45.dist-info}/WHEEL +0 -0
  74. {ultracart_rest_sdk-3.11.18.dist-info → ultracart_rest_sdk-3.11.45.dist-info}/top_level.txt +0 -0
@@ -371,7 +371,7 @@ class CustomerApi(object):
371
371
  :param async_req bool
372
372
  :param int customer_profile_oid: The customer oid for this wishlist. (required)
373
373
  :param int customer_wishlist_item_oid: The wishlist oid for this wishlist item to delete. (required)
374
- :return: CustomerWishListItem
374
+ :return: None
375
375
  If the method is called asynchronously,
376
376
  returns the request thread.
377
377
  """
@@ -394,7 +394,7 @@ class CustomerApi(object):
394
394
  :param async_req bool
395
395
  :param int customer_profile_oid: The customer oid for this wishlist. (required)
396
396
  :param int customer_wishlist_item_oid: The wishlist oid for this wishlist item to delete. (required)
397
- :return: CustomerWishListItem
397
+ :return: None
398
398
  If the method is called asynchronously,
399
399
  returns the request thread.
400
400
  """
@@ -445,7 +445,7 @@ class CustomerApi(object):
445
445
 
446
446
  # HTTP header `Content-Type`
447
447
  header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
448
- ['application/json; charset=UTF-8']) # noqa: E501
448
+ ['application/json']) # noqa: E501
449
449
 
450
450
  # Authentication setting
451
451
  auth_settings = ['ultraCartOauth', 'ultraCartSimpleApiKey'] # noqa: E501
@@ -458,7 +458,7 @@ class CustomerApi(object):
458
458
  body=body_params,
459
459
  post_params=form_params,
460
460
  files=local_var_files,
461
- response_type='CustomerWishListItem', # noqa: E501
461
+ response_type=None, # noqa: E501
462
462
  auth_settings=auth_settings,
463
463
  async_req=params.get('async_req'),
464
464
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -2216,6 +2216,129 @@ class CustomerApi(object):
2216
2216
  _request_timeout=params.get('_request_timeout'),
2217
2217
  collection_formats=collection_formats)
2218
2218
 
2219
+ def search_customers(self, **kwargs): # noqa: E501
2220
+ """Search for customers # noqa: E501
2221
+
2222
+ Retrieves customers from the account by matching the search value against most customer fields. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination. This search also goes against the cache so updates should not be performed with these result objects. Always re-query the individual customer profile if you are going to make updates. # noqa: E501
2223
+ This method makes a synchronous HTTP request by default. To make an
2224
+ asynchronous HTTP request, please pass async_req=True
2225
+ >>> thread = api.search_customers(async_req=True)
2226
+ >>> result = thread.get()
2227
+
2228
+ :param async_req bool
2229
+ :param str search_string: Search
2230
+ :param str signup_dts_start: Signup date start
2231
+ :param str signup_dts_end: Signup date end
2232
+ :param int limit: The maximum number of records to return on this one API call. (Max 200)
2233
+ :param int offset: Pagination of the record set. Offset is a zero based index.
2234
+ :param str since: Fetch customers that have been created/modified since this date/time.
2235
+ :param str sort: The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
2236
+ :param str expand: The object expansion to perform on the result. See documentation for examples
2237
+ :return: CustomersResponse
2238
+ If the method is called asynchronously,
2239
+ returns the request thread.
2240
+ """
2241
+ kwargs['_return_http_data_only'] = True
2242
+ if kwargs.get('async_req'):
2243
+ return self.search_customers_with_http_info(**kwargs) # noqa: E501
2244
+ else:
2245
+ (data) = self.search_customers_with_http_info(**kwargs) # noqa: E501
2246
+ return data
2247
+
2248
+ def search_customers_with_http_info(self, **kwargs): # noqa: E501
2249
+ """Search for customers # noqa: E501
2250
+
2251
+ Retrieves customers from the account by matching the search value against most customer fields. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination. This search also goes against the cache so updates should not be performed with these result objects. Always re-query the individual customer profile if you are going to make updates. # noqa: E501
2252
+ This method makes a synchronous HTTP request by default. To make an
2253
+ asynchronous HTTP request, please pass async_req=True
2254
+ >>> thread = api.search_customers_with_http_info(async_req=True)
2255
+ >>> result = thread.get()
2256
+
2257
+ :param async_req bool
2258
+ :param str search_string: Search
2259
+ :param str signup_dts_start: Signup date start
2260
+ :param str signup_dts_end: Signup date end
2261
+ :param int limit: The maximum number of records to return on this one API call. (Max 200)
2262
+ :param int offset: Pagination of the record set. Offset is a zero based index.
2263
+ :param str since: Fetch customers that have been created/modified since this date/time.
2264
+ :param str sort: The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
2265
+ :param str expand: The object expansion to perform on the result. See documentation for examples
2266
+ :return: CustomersResponse
2267
+ If the method is called asynchronously,
2268
+ returns the request thread.
2269
+ """
2270
+
2271
+ all_params = ['search_string', 'signup_dts_start', 'signup_dts_end', 'limit', 'offset', 'since', 'sort', 'expand'] # noqa: E501
2272
+ all_params.append('async_req')
2273
+ all_params.append('_return_http_data_only')
2274
+ all_params.append('_preload_content')
2275
+ all_params.append('_request_timeout')
2276
+
2277
+ params = locals()
2278
+ for key, val in six.iteritems(params['kwargs']):
2279
+ if key not in all_params:
2280
+ raise TypeError(
2281
+ "Got an unexpected keyword argument '%s'"
2282
+ " to method search_customers" % key
2283
+ )
2284
+ params[key] = val
2285
+ del params['kwargs']
2286
+
2287
+ collection_formats = {}
2288
+
2289
+ path_params = {}
2290
+
2291
+ query_params = []
2292
+ if 'search_string' in params:
2293
+ query_params.append(('search_string', params['search_string'])) # noqa: E501
2294
+ if 'signup_dts_start' in params:
2295
+ query_params.append(('signup_dts_start', params['signup_dts_start'])) # noqa: E501
2296
+ if 'signup_dts_end' in params:
2297
+ query_params.append(('signup_dts_end', params['signup_dts_end'])) # noqa: E501
2298
+ if 'limit' in params:
2299
+ query_params.append(('_limit', params['limit'])) # noqa: E501
2300
+ if 'offset' in params:
2301
+ query_params.append(('_offset', params['offset'])) # noqa: E501
2302
+ if 'since' in params:
2303
+ query_params.append(('_since', params['since'])) # noqa: E501
2304
+ if 'sort' in params:
2305
+ query_params.append(('_sort', params['sort'])) # noqa: E501
2306
+ if 'expand' in params:
2307
+ query_params.append(('_expand', params['expand'])) # noqa: E501
2308
+
2309
+ header_params = {}
2310
+
2311
+ form_params = []
2312
+ local_var_files = {}
2313
+
2314
+ body_params = None
2315
+ # HTTP header `Accept`
2316
+ header_params['Accept'] = self.api_client.select_header_accept(
2317
+ ['application/json']) # noqa: E501
2318
+
2319
+ # HTTP header `Content-Type`
2320
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2321
+ ['application/json']) # noqa: E501
2322
+
2323
+ # Authentication setting
2324
+ auth_settings = ['ultraCartOauth', 'ultraCartSimpleApiKey'] # noqa: E501
2325
+
2326
+ return self.api_client.call_api(
2327
+ '/customer/customers/search', 'GET',
2328
+ path_params,
2329
+ query_params,
2330
+ header_params,
2331
+ body=body_params,
2332
+ post_params=form_params,
2333
+ files=local_var_files,
2334
+ response_type='CustomersResponse', # noqa: E501
2335
+ auth_settings=auth_settings,
2336
+ async_req=params.get('async_req'),
2337
+ _return_http_data_only=params.get('_return_http_data_only'),
2338
+ _preload_content=params.get('_preload_content', True),
2339
+ _request_timeout=params.get('_request_timeout'),
2340
+ collection_formats=collection_formats)
2341
+
2219
2342
  def update_customer(self, customer, customer_profile_oid, **kwargs): # noqa: E501
2220
2343
  """Update a customer # noqa: E501
2221
2344