ultracart-rest-sdk 4.0.234__py3-none-any.whl → 4.0.236__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.0.234"
14
+ __version__ = "4.0.236"
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.0.234/python'
80
+ self.user_agent = 'OpenAPI-Generator/4.0.236/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.0.234".\
425
+ "SDK Package Version: 4.0.236".\
426
426
  format(env=sys.platform, pyversion=sys.version)
427
427
 
428
428
  def get_host_settings(self):
@@ -76,6 +76,7 @@ class AutoOrderItem(ModelNormal):
76
76
  'EVERY_2_MONTHS': "Every 2 Months",
77
77
  'EVERY_3_MONTHS': "Every 3 Months",
78
78
  'EVERY_4_MONTHS': "Every 4 Months",
79
+ 'EVERY_5_MONTHS': "Every 5 Months",
79
80
  'EVERY_6_MONTHS': "Every 6 Months",
80
81
  'YEARLY': "Yearly",
81
82
  'EVERY_4_WEEKS': "Every 4 Weeks",
@@ -68,6 +68,7 @@ class AutoOrderItemSimpleSchedule(ModelNormal):
68
68
  'EVERY_2_MONTHS': "Every 2 Months",
69
69
  'EVERY_3_MONTHS': "Every 3 Months",
70
70
  'EVERY_4_MONTHS': "Every 4 Months",
71
+ 'EVERY_5_MONTHS': "Every 5 Months",
71
72
  'EVERY_6_MONTHS': "Every 6 Months",
72
73
  'YEARLY': "Yearly",
73
74
  'EVERY_4_WEEKS': "Every 4 Weeks",
@@ -71,6 +71,7 @@ class ChannelPartnerOrderItem(ModelNormal):
71
71
  'EVERY_2_MONTHS': "Every 2 Months",
72
72
  'EVERY_3_MONTHS': "Every 3 Months",
73
73
  'EVERY_4_MONTHS': "Every 4 Months",
74
+ 'EVERY_5_MONTHS': "Every 5 Months",
74
75
  'EVERY_6_MONTHS': "Every 6 Months",
75
76
  'YEARLY': "Yearly",
76
77
  'EVERY_4_WEEKS': "Every 4 Weeks",
@@ -83,9 +83,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
83
83
  """
84
84
  return {
85
85
  'discount_percent': (float,), # noqa: E501
86
+ 'item_tags': ([str],), # noqa: E501
86
87
  'items': ([str],), # noqa: E501
87
88
  'limit': (int,), # noqa: E501
88
89
  'required_purchase_items': ([str],), # noqa: E501
90
+ 'required_purchase_items_tags': ([str],), # noqa: E501
89
91
  'required_purchase_quantity': (int,), # noqa: E501
90
92
  }
91
93
 
@@ -96,9 +98,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
96
98
 
97
99
  attribute_map = {
98
100
  'discount_percent': 'discount_percent', # noqa: E501
101
+ 'item_tags': 'item_tags', # noqa: E501
99
102
  'items': 'items', # noqa: E501
100
103
  'limit': 'limit', # noqa: E501
101
104
  'required_purchase_items': 'required_purchase_items', # noqa: E501
105
+ 'required_purchase_items_tags': 'required_purchase_items_tags', # noqa: E501
102
106
  'required_purchase_quantity': 'required_purchase_quantity', # noqa: E501
103
107
  }
104
108
 
@@ -144,9 +148,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
144
148
  through its discriminator because we passed in
145
149
  _visited_composed_classes = (Animal,)
146
150
  discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
151
+ item_tags ([str]): An optional list of item tags which will receive a discount if one of the required purchased items is purchased.. [optional] # noqa: E501
147
152
  items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
148
153
  limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
149
154
  required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
155
+ required_purchase_items_tags ([str]): Required item tags (at least one from the list) that must be purchase for coupon to be valid.. [optional] # noqa: E501
150
156
  required_purchase_quantity (int): The quantity of items that must be purchased for the discount to be applied.. [optional] # noqa: E501
151
157
  """
152
158
 
@@ -234,9 +240,11 @@ class CouponPercentOffItemWithItemsQuantityPurchase(ModelNormal):
234
240
  through its discriminator because we passed in
235
241
  _visited_composed_classes = (Animal,)
236
242
  discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
243
+ item_tags ([str]): An optional list of item tags which will receive a discount if one of the required purchased items is purchased.. [optional] # noqa: E501
237
244
  items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
238
245
  limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
239
246
  required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
247
+ required_purchase_items_tags ([str]): Required item tags (at least one from the list) that must be purchase for coupon to be valid.. [optional] # noqa: E501
240
248
  required_purchase_quantity (int): The quantity of items that must be purchased for the discount to be applied.. [optional] # noqa: E501
241
249
  """
242
250
 
@@ -99,6 +99,7 @@ class WebhookLog(ModelNormal):
99
99
  'status_code': (int,), # noqa: E501
100
100
  'success': (bool,), # noqa: E501
101
101
  'uri': (str,), # noqa: E501
102
+ 'webhook_oid': (int,), # noqa: E501
102
103
  }
103
104
 
104
105
  @cached_property
@@ -118,6 +119,7 @@ class WebhookLog(ModelNormal):
118
119
  'status_code': 'status_code', # noqa: E501
119
120
  'success': 'success', # noqa: E501
120
121
  'uri': 'uri', # noqa: E501
122
+ 'webhook_oid': 'webhook_oid', # noqa: E501
121
123
  }
122
124
 
123
125
  read_only_vars = {
@@ -172,6 +174,7 @@ class WebhookLog(ModelNormal):
172
174
  status_code (int): HTTP status code received from the server. [optional] # noqa: E501
173
175
  success (bool): True if the delivery was successful. [optional] # noqa: E501
174
176
  uri (str): URI of the webhook delivered to. [optional] # noqa: E501
177
+ webhook_oid (int): webhook oid. [optional] # noqa: E501
175
178
  """
176
179
 
177
180
  _check_type = kwargs.pop('_check_type', True)
@@ -268,6 +271,7 @@ class WebhookLog(ModelNormal):
268
271
  status_code (int): HTTP status code received from the server. [optional] # noqa: E501
269
272
  success (bool): True if the delivery was successful. [optional] # noqa: E501
270
273
  uri (str): URI of the webhook delivered to. [optional] # noqa: E501
274
+ webhook_oid (int): webhook oid. [optional] # noqa: E501
271
275
  """
272
276
 
273
277
  _check_type = kwargs.pop('_check_type', True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultracart-rest-sdk
3
- Version: 4.0.234
3
+ Version: 4.0.236
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=jnogdjsftU99IGLzsu0XW3iafkPBwPGRcBY8Oub4NEQ,699
2
- ultracart/api_client.py,sha256=vivf7iQMvs-cV_808uJbmzCZ11M5uNG9Ynqj46CfyQc,39072
3
- ultracart/configuration.py,sha256=lQHxgzscc1tZPg8374kwqDWLrdiFA-ITSYVa8uclINc,17842
1
+ ultracart/__init__.py,sha256=xLWOWsWaeE2Fy6lGiYnO2HFKw_CHLMTT8yvKjKkYM7Q,699
2
+ ultracart/api_client.py,sha256=XBLU-3HJ0f1MQbeq_1ygJM6gu-o0N0OcNsP0IK1t80Q,39072
3
+ ultracart/configuration.py,sha256=V42qQXZr0P_pVzeUxVGzChV79KBp1kCiAMdJPm-5ZnU,17842
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
@@ -54,10 +54,10 @@ ultracart/model/auto_order.py,sha256=BB_fJT2nsg47A4BAjKTYHxby8bn-UGr1wAuCpNps5ns
54
54
  ultracart/model/auto_order_addon_item.py,sha256=bj3m5w0E5dnlV079lNqpABG4UPuRS5jDV3Fe0V12ASs,12875
55
55
  ultracart/model/auto_order_addon_item_option.py,sha256=YbtpPdYXTssJ-PaNTVVOYOihcpm-2xcSkM-Uk0nP-lU,11765
56
56
  ultracart/model/auto_order_consolidate.py,sha256=fJiH7uKwK3gwP2mhVTmt7MtZokQem_CpkmuzF8ya82M,11505
57
- ultracart/model/auto_order_item.py,sha256=Z7Ih0hBmH-KgBckW8465WBOjO10mXGb0cbV4EXFj_-U,23392
57
+ ultracart/model/auto_order_item.py,sha256=Nwyt7VSPdl7CW3jLAukdv_rqbWisaqIXmhJQePMo3os,23440
58
58
  ultracart/model/auto_order_item_future_schedule.py,sha256=cTIdLcoPGu7HQUi5zpuVOoH4dfNcv0q0HZEj5YajxyI,12406
59
59
  ultracart/model/auto_order_item_option.py,sha256=flZvz7ZbfSz24gdw0w8YaaDlukBmaXfMRb1q9DApoTc,11750
60
- ultracart/model/auto_order_item_simple_schedule.py,sha256=tADQNRISVPi9H1g-SYMKFqGpInWk75_hdTRUOEBWn48,12861
60
+ ultracart/model/auto_order_item_simple_schedule.py,sha256=ofd1rpxmMF9lilQjUXS0WPwas8g-E8tBOV_zIngREgo,12909
61
61
  ultracart/model/auto_order_log.py,sha256=DHefARtXRd51z18LD0HxoQkwuBCW8Peu5LRVLu1JxyU,11723
62
62
  ultracart/model/auto_order_management.py,sha256=bF-rs6Egq-s4wnOYzB0Fc9ZMGcdTvgfxICACUnLtm-s,11612
63
63
  ultracart/model/auto_order_query.py,sha256=wSpDJ2zAFbRsq1EWNtRtyict0uQNrJve80Amv7dFQQU,17247
@@ -137,7 +137,7 @@ ultracart/model/channel_partner_estimate_shipping_response.py,sha256=Y1mG1FK9UEo
137
137
  ultracart/model/channel_partner_estimate_tax_response.py,sha256=deJ8MMWfw9UjYXqyBFRiC6WYQKF4JnqAkzLK5MfEd6U,12744
138
138
  ultracart/model/channel_partner_import_response.py,sha256=Oyt0Q-5zzTKQkOl8e2YtdruLR-TWJWPymKW0vYwEoI4,13430
139
139
  ultracart/model/channel_partner_order.py,sha256=bpKzUix5Hfac1qmCrU_JAARs-_BZoilr3fzLofuEKzY,45296
140
- ultracart/model/channel_partner_order_item.py,sha256=JWKbD-NtLFI--C6Ob613sNwtbQQOEt7mkfSTAY2NEAU,14596
140
+ ultracart/model/channel_partner_order_item.py,sha256=-eCTLRsgWqO4-uLB6pTZrxWCFTd3b_roQQSuhbrBqkw,14644
141
141
  ultracart/model/channel_partner_order_item_option.py,sha256=PXlQNBEXO00Ef4I7TE_yFAYfogbH-3sef5YleCruBnk,11741
142
142
  ultracart/model/channel_partner_order_transaction.py,sha256=iJc9N5cr57Od203rNJYf3u9ZTqmR5ZQb-uutw4S3pQE,12195
143
143
  ultracart/model/channel_partner_order_transaction_detail.py,sha256=b5kiWcWGDS1eKh1W1b3zBUwJD0sFArGdFcAvn2fcZJc,11762
@@ -295,7 +295,7 @@ ultracart/model/coupon_multiple_amounts_off_items.py,sha256=450YVlzilMWXCpin6OAZ
295
295
  ultracart/model/coupon_no_discount.py,sha256=so6g24H9Ri491H8lHXRNNEV7UnhtHiCTKcws6yqjNWk,11708
296
296
  ultracart/model/coupon_percent_more_loyalty_cashback.py,sha256=WoUtG1FcscDZnyxBihVt4BK1s51sPxRHffxr-bNFibk,11670
297
297
  ultracart/model/coupon_percent_more_loyalty_points.py,sha256=ifdxmojWZflkTOGEEz0cb7XpphnvUL8wvJ0lxcff8qM,11650
298
- ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py,sha256=7mdPXUI9FNISj1JPBgrxm9Te0wc-72ofCADMCCO4lh8,13207
298
+ ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py,sha256=O9_wKGH0kP1AYV_vOO6I4K2l6GcHR2vPQ2uDzx8XEgg,14138
299
299
  ultracart/model/coupon_percent_off_items.py,sha256=TC4vAyXrUNtWoFrrtC_MLa9giSmF3K9Lt_fzgVLAKIU,13413
300
300
  ultracart/model/coupon_percent_off_items_and_free_shipping.py,sha256=YdxAEF3SNuneW1Lj2nf2Xf0fEKSpKgG6t9uD2ua2KsU,13167
301
301
  ultracart/model/coupon_percent_off_items_with_items_purchase.py,sha256=eb7kZVvcAlD99NkFYHQT8AiCMq8LTPoP-Me42xu6MWY,13617
@@ -855,7 +855,7 @@ ultracart/model/warning.py,sha256=5EZ-SbRYjmgDMu-Z9nIvCUJXW-hGahgKpzZd5NYFE7s,11
855
855
  ultracart/model/webhook.py,sha256=OxWppIT7_OEJ3qDch2PauCVu9skLAMP55XS9Lj1w8H8,18642
856
856
  ultracart/model/webhook_event_category.py,sha256=dzQ76DRZ6uSmvI2tdtTAeBCXfQzywU_Z171SaaRBETE,13293
857
857
  ultracart/model/webhook_event_subscription.py,sha256=O8k6UFpIgQnprrdWx-37_u8cLpDE4KxHHrTFwZH0DtI,14888
858
- ultracart/model/webhook_log.py,sha256=BVgGj0L0EznbWd8hGfekY3dXai1s8vx2KU9pBEMBXdI,14638
858
+ ultracart/model/webhook_log.py,sha256=R_v3y2YuMf7xN5vrOuRmROicefJCjFtT4EcoUhBkXsA,14877
859
859
  ultracart/model/webhook_log_response.py,sha256=GMoM76adgiCdaCaiYQ28o6BKySRaRAcltRT3jUvguEc,12800
860
860
  ultracart/model/webhook_log_summaries_response.py,sha256=XDBBAA12ahSULMgyBSUfzrMnEkRJmV3wanXQ2q1xqBo,12979
861
861
  ultracart/model/webhook_log_summary.py,sha256=1J7uzy5On8Wy0nOGqyPQUCj8t6bDipWrzXxPKPinlqs,12004
@@ -883,8 +883,8 @@ ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE
883
883
  ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
884
884
  ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
885
885
  ultracart/models/__init__.py,sha256=5w0sm-4hP3O2vuflMmlb19tOWigMwoSgdhRPItFqPAQ,65888
886
- ultracart_rest_sdk-4.0.234.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
887
- ultracart_rest_sdk-4.0.234.dist-info/METADATA,sha256=4XeOx-4EFtgsn6Zk0Ef46pHP3KmmzZPh0ijb-pLTADA,403
888
- ultracart_rest_sdk-4.0.234.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
889
- ultracart_rest_sdk-4.0.234.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
890
- ultracart_rest_sdk-4.0.234.dist-info/RECORD,,
886
+ ultracart_rest_sdk-4.0.236.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
887
+ ultracart_rest_sdk-4.0.236.dist-info/METADATA,sha256=OkKU8Dohc8TR8Ax-BdOFsqtjjm6kID3G-wcF_acHeX4,403
888
+ ultracart_rest_sdk-4.0.236.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
889
+ ultracart_rest_sdk-4.0.236.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
890
+ ultracart_rest_sdk-4.0.236.dist-info/RECORD,,