ultracart-rest-sdk 4.1.12__py3-none-any.whl → 4.1.13__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.
ultracart/__init__.py CHANGED
@@ -11,7 +11,7 @@
11
11
  """
12
12
 
13
13
 
14
- __version__ = "4.1.12"
14
+ __version__ = "4.1.13"
15
15
 
16
16
  # import ApiClient
17
17
  from ultracart.api_client import ApiClient
ultracart/api_client.py CHANGED
@@ -77,7 +77,7 @@ class ApiClient(object):
77
77
  self.default_headers[header_name] = header_value
78
78
  self.cookie = cookie
79
79
  # Set default User-Agent.
80
- self.user_agent = 'OpenAPI-Generator/4.1.12/python'
80
+ self.user_agent = 'OpenAPI-Generator/4.1.13/python'
81
81
 
82
82
  def __enter__(self):
83
83
  return self
@@ -422,7 +422,7 @@ conf = ultracart.Configuration(
422
422
  "OS: {env}\n"\
423
423
  "Python Version: {pyversion}\n"\
424
424
  "Version of the API: 2.0.0\n"\
425
- "SDK Package Version: 4.1.12".\
425
+ "SDK Package Version: 4.1.13".\
426
426
  format(env=sys.platform, pyversion=sys.version)
427
427
 
428
428
  def get_host_settings(self):
@@ -114,6 +114,8 @@ class Conversation(ModelNormal):
114
114
  'sentiment': (ConversationSentiment,), # noqa: E501
115
115
  'start_dts': (str,), # noqa: E501
116
116
  'unread_messages': (bool,), # noqa: E501
117
+ 'virtual_agent': (bool,), # noqa: E501
118
+ 'virtual_agent_cost': (float,), # noqa: E501
117
119
  'visible': (bool,), # noqa: E501
118
120
  }
119
121
 
@@ -141,6 +143,8 @@ class Conversation(ModelNormal):
141
143
  'sentiment': 'sentiment', # noqa: E501
142
144
  'start_dts': 'start_dts', # noqa: E501
143
145
  'unread_messages': 'unread_messages', # noqa: E501
146
+ 'virtual_agent': 'virtual_agent', # noqa: E501
147
+ 'virtual_agent_cost': 'virtual_agent_cost', # noqa: E501
144
148
  'visible': 'visible', # noqa: E501
145
149
  }
146
150
 
@@ -203,6 +207,8 @@ class Conversation(ModelNormal):
203
207
  sentiment (ConversationSentiment): [optional] # noqa: E501
204
208
  start_dts (str): Start of the conversation date/time. [optional] # noqa: E501
205
209
  unread_messages (bool): [optional] # noqa: E501
210
+ virtual_agent (bool): True if a virtual agent answered the conversation. [optional] # noqa: E501
211
+ virtual_agent_cost (float): The cost of this conversation performed by the virtual agent. [optional] # noqa: E501
206
212
  visible (bool): [optional] # noqa: E501
207
213
  """
208
214
 
@@ -307,6 +313,8 @@ class Conversation(ModelNormal):
307
313
  sentiment (ConversationSentiment): [optional] # noqa: E501
308
314
  start_dts (str): Start of the conversation date/time. [optional] # noqa: E501
309
315
  unread_messages (bool): [optional] # noqa: E501
316
+ virtual_agent (bool): True if a virtual agent answered the conversation. [optional] # noqa: E501
317
+ virtual_agent_cost (float): The cost of this conversation performed by the virtual agent. [optional] # noqa: E501
310
318
  visible (bool): [optional] # noqa: E501
311
319
  """
312
320
 
@@ -90,6 +90,7 @@ class ItemRestriction(ModelNormal):
90
90
  return {
91
91
  'exclude_coupon': (bool,), # noqa: E501
92
92
  'exclude_from_free_promotion': (bool,), # noqa: E501
93
+ 'exclude_from_loyalty': (bool,), # noqa: E501
93
94
  'items': ([ItemRestrictionItem],), # noqa: E501
94
95
  'maximum_quantity': (int,), # noqa: E501
95
96
  'minimum_quantity': (int,), # noqa: E501
@@ -106,6 +107,7 @@ class ItemRestriction(ModelNormal):
106
107
  attribute_map = {
107
108
  'exclude_coupon': 'exclude_coupon', # noqa: E501
108
109
  'exclude_from_free_promotion': 'exclude_from_free_promotion', # noqa: E501
110
+ 'exclude_from_loyalty': 'exclude_from_loyalty', # noqa: E501
109
111
  'items': 'items', # noqa: E501
110
112
  'maximum_quantity': 'maximum_quantity', # noqa: E501
111
113
  'minimum_quantity': 'minimum_quantity', # noqa: E501
@@ -157,6 +159,7 @@ class ItemRestriction(ModelNormal):
157
159
  _visited_composed_classes = (Animal,)
158
160
  exclude_coupon (bool): Exclude coupons. [optional] # noqa: E501
159
161
  exclude_from_free_promotion (bool): Exclude from free promotion. [optional] # noqa: E501
162
+ exclude_from_loyalty (bool): Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility. [optional] # noqa: E501
160
163
  items ([ItemRestrictionItem]): Items. [optional] # noqa: E501
161
164
  maximum_quantity (int): Maximum quantity. [optional] # noqa: E501
162
165
  minimum_quantity (int): Minimum quantity (defaults to 1). [optional] # noqa: E501
@@ -250,6 +253,7 @@ class ItemRestriction(ModelNormal):
250
253
  _visited_composed_classes = (Animal,)
251
254
  exclude_coupon (bool): Exclude coupons. [optional] # noqa: E501
252
255
  exclude_from_free_promotion (bool): Exclude from free promotion. [optional] # noqa: E501
256
+ exclude_from_loyalty (bool): Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility. [optional] # noqa: E501
253
257
  items ([ItemRestrictionItem]): Items. [optional] # noqa: E501
254
258
  maximum_quantity (int): Maximum quantity. [optional] # noqa: E501
255
259
  minimum_quantity (int): Minimum quantity (defaults to 1). [optional] # noqa: E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultracart-rest-sdk
3
- Version: 4.1.12
3
+ Version: 4.1.13
4
4
  Summary: UltraCart Rest API V2
5
5
  Home-page: UNKNOWN
6
6
  Author: UltraCart Support
@@ -1,6 +1,6 @@
1
- ultracart/__init__.py,sha256=WC2Z6yI7pDXHApPZ-3sKTR9H-It0OEFsEf4535rQLag,698
2
- ultracart/api_client.py,sha256=BQr6PIPGvA7zu99lte0iABjes9JDoJYSfId5o0j4Wbo,39071
3
- ultracart/configuration.py,sha256=cmt1cSgPVRcjbbV9KI14V49L51gHcAkP43YH1UCEsmU,17841
1
+ ultracart/__init__.py,sha256=Y7LeXI_O31xdAKdYf_236ljPpEqi8m8VPHk0JQHxCy4,698
2
+ ultracart/api_client.py,sha256=CT4g8GCVrh_PDlmW7BmhguXU35fjk1_5pC7wgokwRoI,39071
3
+ ultracart/configuration.py,sha256=KlV1yTGjwkEFr_zaGSTKna4yK8XXOOgCwVmeqoWsGw8,17841
4
4
  ultracart/exceptions.py,sha256=dwRtrWJsW4H_jKk3B1w2chykcQ7E2FSlhftUByD9e9E,5069
5
5
  ultracart/model_utils.py,sha256=X_RAfA-TlvDKBICnIve7PPVDM34Nl58aV1bqCrVmoTo,82574
6
6
  ultracart/rest.py,sha256=2lM6zwrjGp_SjkddamoKdpk3jFuc8Ow7fKIXRdKNp24,14268
@@ -158,7 +158,7 @@ ultracart/model/checkout_setup_browser_key_request.py,sha256=v5vJkF5PA10Qt4tlRB0
158
158
  ultracart/model/checkout_setup_browser_key_response.py,sha256=HHkfgHDcOps7jAp8RBKO78kHpCEuhLQP1nIq_sr6mmc,11633
159
159
  ultracart/model/checkout_state_province_response.py,sha256=QD6yupUWG_6ocSN83krfw7-eaN0YzxtLvatnUuci10Y,11698
160
160
  ultracart/model/city_state_zip.py,sha256=goGnlh4nzcsV1p8iNeFm4y6LP2TrtHIVjBPrHCDNBas,12129
161
- ultracart/model/conversation.py,sha256=GzwEq5ZCV02WfWPE7zyJvbZz-MX1KIdBxij-zelOfYc,17213
161
+ ultracart/model/conversation.py,sha256=RXA0sxxk_lMdX98mSbU0xXYzRkZjRI_XRtHBaOoLP14,17919
162
162
  ultracart/model/conversation_agent_auth.py,sha256=OKvY61hG-vpVOtSzVOqXeBy-b5feJuglN53Ovcl0Co0,15038
163
163
  ultracart/model/conversation_agent_auth_response.py,sha256=boVaC_JNOUGPlmxX2E-QdQWFLAJMS8GC4OWMRYaCjNM,12906
164
164
  ultracart/model/conversation_agent_profile.py,sha256=SnD0oPpT7o8RvJAvewx0XslW56SHwV0JIqPEqtyF8nU,15388
@@ -593,7 +593,7 @@ ultracart/model/item_related.py,sha256=-XnQ7S6KNujNhXOf0rnPhkzbKF5L5wtP8DojmYFYK
593
593
  ultracart/model/item_related_item.py,sha256=6ahwZdUhhBb_7ukTefTHwoJPHT0ooioRiPW4AcZbXZU,12197
594
594
  ultracart/model/item_reporting.py,sha256=aNXTDDwx3XWBJoEgaW6IE3CUNJqh7bKiNpgBQw5I3uM,11869
595
595
  ultracart/model/item_response.py,sha256=qWGe4Zznnhc23QYv9Aq4yuBQ4YzA2AeN2YwiIYqeSo8,12704
596
- ultracart/model/item_restriction.py,sha256=ZTNz8HEcs7RCVSboE-5IatYzHqmQN-Nn0FbSpUgmdHA,13725
596
+ ultracart/model/item_restriction.py,sha256=OF_xKY1aS3mTaqn4QJwDXbvKEU6-c_x2GMC7K0bnJzA,14208
597
597
  ultracart/model/item_restriction_item.py,sha256=NiZfriRqi3bO2RaSfOXK_Zo6EG_qTIcpIO6cmoGgq2Y,12353
598
598
  ultracart/model/item_revguard.py,sha256=2XrswNmZEuDAlm1qiw4sQyaUlpW7uEQgL1lqijpEOQc,13583
599
599
  ultracart/model/item_review.py,sha256=0zk6HZ2mAylWuual4OA-6No3h-gxt3ZILzHPoTGLuUI,21868
@@ -892,8 +892,8 @@ ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE
892
892
  ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
893
893
  ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
894
894
  ultracart/models/__init__.py,sha256=ny_sseLdjDLsOo49QeMjJ4B1qZaKuNhBA8e6EW4H8uk,66731
895
- ultracart_rest_sdk-4.1.12.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
896
- ultracart_rest_sdk-4.1.12.dist-info/METADATA,sha256=HEWN3IixcAkGojVUNDBgVakiBv9aM6Im-q731ciBel4,402
897
- ultracart_rest_sdk-4.1.12.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
898
- ultracart_rest_sdk-4.1.12.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
899
- ultracart_rest_sdk-4.1.12.dist-info/RECORD,,
895
+ ultracart_rest_sdk-4.1.13.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
896
+ ultracart_rest_sdk-4.1.13.dist-info/METADATA,sha256=k0S_s8rdyBV386hBnVQF4qXu0BA0gpWGpEIkcuMCXXg,402
897
+ ultracart_rest_sdk-4.1.13.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
898
+ ultracart_rest_sdk-4.1.13.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
899
+ ultracart_rest_sdk-4.1.13.dist-info/RECORD,,