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
@@ -31,25 +31,30 @@ class ConversationDepartmentMember(object):
31
31
  and the value is json key in definition.
32
32
  """
33
33
  swagger_types = {
34
+ 'ai': 'bool',
34
35
  'member': 'bool',
35
36
  'name': 'str',
36
37
  'user_id': 'int'
37
38
  }
38
39
 
39
40
  attribute_map = {
41
+ 'ai': 'ai',
40
42
  'member': 'member',
41
43
  'name': 'name',
42
44
  'user_id': 'user_id'
43
45
  }
44
46
 
45
- def __init__(self, member=None, name=None, user_id=None): # noqa: E501
47
+ def __init__(self, ai=None, member=None, name=None, user_id=None): # noqa: E501
46
48
  """ConversationDepartmentMember - a model defined in Swagger""" # noqa: E501
47
49
 
50
+ self._ai = None
48
51
  self._member = None
49
52
  self._name = None
50
53
  self._user_id = None
51
54
  self.discriminator = None
52
55
 
56
+ if ai is not None:
57
+ self.ai = ai
53
58
  if member is not None:
54
59
  self.member = member
55
60
  if name is not None:
@@ -57,6 +62,27 @@ class ConversationDepartmentMember(object):
57
62
  if user_id is not None:
58
63
  self.user_id = user_id
59
64
 
65
+ @property
66
+ def ai(self):
67
+ """Gets the ai of this ConversationDepartmentMember. # noqa: E501
68
+
69
+
70
+ :return: The ai of this ConversationDepartmentMember. # noqa: E501
71
+ :rtype: bool
72
+ """
73
+ return self._ai
74
+
75
+ @ai.setter
76
+ def ai(self, ai):
77
+ """Sets the ai of this ConversationDepartmentMember.
78
+
79
+
80
+ :param ai: The ai of this ConversationDepartmentMember. # noqa: E501
81
+ :type: bool
82
+ """
83
+
84
+ self._ai = ai
85
+
60
86
  @property
61
87
  def member(self):
62
88
  """Gets the member of this ConversationDepartmentMember. # noqa: E501
@@ -0,0 +1,141 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ UltraCart Rest API V2
5
+
6
+ UltraCart REST API Version 2 # noqa: E501
7
+
8
+ OpenAPI spec version: 2.0.0
9
+ Contact: support@ultracart.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+
20
+ class ConversationInsertKnowledgeBaseDocumentRequest(object):
21
+ """NOTE: This class is auto generated by the swagger code generator program.
22
+
23
+ Do not edit the class manually.
24
+ """
25
+
26
+ """
27
+ Attributes:
28
+ swagger_types (dict): The key is attribute name
29
+ and the value is attribute type.
30
+ attribute_map (dict): The key is attribute name
31
+ and the value is json key in definition.
32
+ """
33
+ swagger_types = {
34
+ 'original_file_name': 'str',
35
+ 'presigned_url': 'str'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'original_file_name': 'original_file_name',
40
+ 'presigned_url': 'presigned_url'
41
+ }
42
+
43
+ def __init__(self, original_file_name=None, presigned_url=None): # noqa: E501
44
+ """ConversationInsertKnowledgeBaseDocumentRequest - a model defined in Swagger""" # noqa: E501
45
+
46
+ self._original_file_name = None
47
+ self._presigned_url = None
48
+ self.discriminator = None
49
+
50
+ if original_file_name is not None:
51
+ self.original_file_name = original_file_name
52
+ if presigned_url is not None:
53
+ self.presigned_url = presigned_url
54
+
55
+ @property
56
+ def original_file_name(self):
57
+ """Gets the original_file_name of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
58
+
59
+
60
+ :return: The original_file_name of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
61
+ :rtype: str
62
+ """
63
+ return self._original_file_name
64
+
65
+ @original_file_name.setter
66
+ def original_file_name(self, original_file_name):
67
+ """Sets the original_file_name of this ConversationInsertKnowledgeBaseDocumentRequest.
68
+
69
+
70
+ :param original_file_name: The original_file_name of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
71
+ :type: str
72
+ """
73
+
74
+ self._original_file_name = original_file_name
75
+
76
+ @property
77
+ def presigned_url(self):
78
+ """Gets the presigned_url of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
79
+
80
+
81
+ :return: The presigned_url of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
82
+ :rtype: str
83
+ """
84
+ return self._presigned_url
85
+
86
+ @presigned_url.setter
87
+ def presigned_url(self, presigned_url):
88
+ """Sets the presigned_url of this ConversationInsertKnowledgeBaseDocumentRequest.
89
+
90
+
91
+ :param presigned_url: The presigned_url of this ConversationInsertKnowledgeBaseDocumentRequest. # noqa: E501
92
+ :type: str
93
+ """
94
+
95
+ self._presigned_url = presigned_url
96
+
97
+ def to_dict(self):
98
+ """Returns the model properties as a dict"""
99
+ result = {}
100
+
101
+ for attr, _ in six.iteritems(self.swagger_types):
102
+ value = getattr(self, attr)
103
+ if isinstance(value, list):
104
+ result[attr] = list(map(
105
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
106
+ value
107
+ ))
108
+ elif hasattr(value, "to_dict"):
109
+ result[attr] = value.to_dict()
110
+ elif isinstance(value, dict):
111
+ result[attr] = dict(map(
112
+ lambda item: (item[0], item[1].to_dict())
113
+ if hasattr(item[1], "to_dict") else item,
114
+ value.items()
115
+ ))
116
+ else:
117
+ result[attr] = value
118
+ if issubclass(ConversationInsertKnowledgeBaseDocumentRequest, dict):
119
+ for key, value in self.items():
120
+ result[key] = value
121
+
122
+ return result
123
+
124
+ def to_str(self):
125
+ """Returns the string representation of the model"""
126
+ return pprint.pformat(self.to_dict())
127
+
128
+ def __repr__(self):
129
+ """For `print` and `pprint`"""
130
+ return self.to_str()
131
+
132
+ def __eq__(self, other):
133
+ """Returns true if both objects are equal"""
134
+ if not isinstance(other, ConversationInsertKnowledgeBaseDocumentRequest):
135
+ return False
136
+
137
+ return self.__dict__ == other.__dict__
138
+
139
+ def __ne__(self, other):
140
+ """Returns true if both objects are not equal"""
141
+ return not self == other
@@ -0,0 +1,273 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ UltraCart Rest API V2
5
+
6
+ UltraCart REST API Version 2 # noqa: E501
7
+
8
+ OpenAPI spec version: 2.0.0
9
+ Contact: support@ultracart.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+
20
+ class ConversationInsertKnowledgeBaseDocumentResponse(object):
21
+ """NOTE: This class is auto generated by the swagger code generator program.
22
+
23
+ Do not edit the class manually.
24
+ """
25
+
26
+ """
27
+ Attributes:
28
+ swagger_types (dict): The key is attribute name
29
+ and the value is attribute type.
30
+ attribute_map (dict): The key is attribute name
31
+ and the value is json key in definition.
32
+ """
33
+ swagger_types = {
34
+ 'document_uuid': 'str',
35
+ 'error': 'Error',
36
+ 'metadata': 'ResponseMetadata',
37
+ 's3_key': 'str',
38
+ 'success': 'bool',
39
+ 'vector_keys': 'list[str]',
40
+ 'warning': 'Warning'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'document_uuid': 'document_uuid',
45
+ 'error': 'error',
46
+ 'metadata': 'metadata',
47
+ 's3_key': 's3_key',
48
+ 'success': 'success',
49
+ 'vector_keys': 'vector_keys',
50
+ 'warning': 'warning'
51
+ }
52
+
53
+ def __init__(self, document_uuid=None, error=None, metadata=None, s3_key=None, success=None, vector_keys=None, warning=None): # noqa: E501
54
+ """ConversationInsertKnowledgeBaseDocumentResponse - a model defined in Swagger""" # noqa: E501
55
+
56
+ self._document_uuid = None
57
+ self._error = None
58
+ self._metadata = None
59
+ self._s3_key = None
60
+ self._success = None
61
+ self._vector_keys = None
62
+ self._warning = None
63
+ self.discriminator = None
64
+
65
+ if document_uuid is not None:
66
+ self.document_uuid = document_uuid
67
+ if error is not None:
68
+ self.error = error
69
+ if metadata is not None:
70
+ self.metadata = metadata
71
+ if s3_key is not None:
72
+ self.s3_key = s3_key
73
+ if success is not None:
74
+ self.success = success
75
+ if vector_keys is not None:
76
+ self.vector_keys = vector_keys
77
+ if warning is not None:
78
+ self.warning = warning
79
+
80
+ @property
81
+ def document_uuid(self):
82
+ """Gets the document_uuid of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
83
+
84
+
85
+ :return: The document_uuid of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
86
+ :rtype: str
87
+ """
88
+ return self._document_uuid
89
+
90
+ @document_uuid.setter
91
+ def document_uuid(self, document_uuid):
92
+ """Sets the document_uuid of this ConversationInsertKnowledgeBaseDocumentResponse.
93
+
94
+
95
+ :param document_uuid: The document_uuid of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
96
+ :type: str
97
+ """
98
+
99
+ self._document_uuid = document_uuid
100
+
101
+ @property
102
+ def error(self):
103
+ """Gets the error of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
104
+
105
+
106
+ :return: The error of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
107
+ :rtype: Error
108
+ """
109
+ return self._error
110
+
111
+ @error.setter
112
+ def error(self, error):
113
+ """Sets the error of this ConversationInsertKnowledgeBaseDocumentResponse.
114
+
115
+
116
+ :param error: The error of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
117
+ :type: Error
118
+ """
119
+
120
+ self._error = error
121
+
122
+ @property
123
+ def metadata(self):
124
+ """Gets the metadata of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
125
+
126
+
127
+ :return: The metadata of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
128
+ :rtype: ResponseMetadata
129
+ """
130
+ return self._metadata
131
+
132
+ @metadata.setter
133
+ def metadata(self, metadata):
134
+ """Sets the metadata of this ConversationInsertKnowledgeBaseDocumentResponse.
135
+
136
+
137
+ :param metadata: The metadata of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
138
+ :type: ResponseMetadata
139
+ """
140
+
141
+ self._metadata = metadata
142
+
143
+ @property
144
+ def s3_key(self):
145
+ """Gets the s3_key of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
146
+
147
+
148
+ :return: The s3_key of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
149
+ :rtype: str
150
+ """
151
+ return self._s3_key
152
+
153
+ @s3_key.setter
154
+ def s3_key(self, s3_key):
155
+ """Sets the s3_key of this ConversationInsertKnowledgeBaseDocumentResponse.
156
+
157
+
158
+ :param s3_key: The s3_key of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
159
+ :type: str
160
+ """
161
+
162
+ self._s3_key = s3_key
163
+
164
+ @property
165
+ def success(self):
166
+ """Gets the success of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
167
+
168
+ Indicates if API call was successful # noqa: E501
169
+
170
+ :return: The success of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
171
+ :rtype: bool
172
+ """
173
+ return self._success
174
+
175
+ @success.setter
176
+ def success(self, success):
177
+ """Sets the success of this ConversationInsertKnowledgeBaseDocumentResponse.
178
+
179
+ Indicates if API call was successful # noqa: E501
180
+
181
+ :param success: The success of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
182
+ :type: bool
183
+ """
184
+
185
+ self._success = success
186
+
187
+ @property
188
+ def vector_keys(self):
189
+ """Gets the vector_keys of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
190
+
191
+
192
+ :return: The vector_keys of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
193
+ :rtype: list[str]
194
+ """
195
+ return self._vector_keys
196
+
197
+ @vector_keys.setter
198
+ def vector_keys(self, vector_keys):
199
+ """Sets the vector_keys of this ConversationInsertKnowledgeBaseDocumentResponse.
200
+
201
+
202
+ :param vector_keys: The vector_keys of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
203
+ :type: list[str]
204
+ """
205
+
206
+ self._vector_keys = vector_keys
207
+
208
+ @property
209
+ def warning(self):
210
+ """Gets the warning of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
211
+
212
+
213
+ :return: The warning of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
214
+ :rtype: Warning
215
+ """
216
+ return self._warning
217
+
218
+ @warning.setter
219
+ def warning(self, warning):
220
+ """Sets the warning of this ConversationInsertKnowledgeBaseDocumentResponse.
221
+
222
+
223
+ :param warning: The warning of this ConversationInsertKnowledgeBaseDocumentResponse. # noqa: E501
224
+ :type: Warning
225
+ """
226
+
227
+ self._warning = warning
228
+
229
+ def to_dict(self):
230
+ """Returns the model properties as a dict"""
231
+ result = {}
232
+
233
+ for attr, _ in six.iteritems(self.swagger_types):
234
+ value = getattr(self, attr)
235
+ if isinstance(value, list):
236
+ result[attr] = list(map(
237
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
238
+ value
239
+ ))
240
+ elif hasattr(value, "to_dict"):
241
+ result[attr] = value.to_dict()
242
+ elif isinstance(value, dict):
243
+ result[attr] = dict(map(
244
+ lambda item: (item[0], item[1].to_dict())
245
+ if hasattr(item[1], "to_dict") else item,
246
+ value.items()
247
+ ))
248
+ else:
249
+ result[attr] = value
250
+ if issubclass(ConversationInsertKnowledgeBaseDocumentResponse, dict):
251
+ for key, value in self.items():
252
+ result[key] = value
253
+
254
+ return result
255
+
256
+ def to_str(self):
257
+ """Returns the string representation of the model"""
258
+ return pprint.pformat(self.to_dict())
259
+
260
+ def __repr__(self):
261
+ """For `print` and `pprint`"""
262
+ return self.to_str()
263
+
264
+ def __eq__(self, other):
265
+ """Returns true if both objects are equal"""
266
+ if not isinstance(other, ConversationInsertKnowledgeBaseDocumentResponse):
267
+ return False
268
+
269
+ return self.__dict__ == other.__dict__
270
+
271
+ def __ne__(self, other):
272
+ """Returns true if both objects are not equal"""
273
+ return not self == other