ultracart-rest-sdk 4.0.230__py3-none-any.whl → 4.0.231__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.230"
14
+ __version__ = "4.0.231"
15
15
 
16
16
  # import ApiClient
17
17
  from ultracart.api_client import ApiClient
@@ -1361,6 +1361,7 @@ class OrderApi(object):
1361
1361
  'manual_refund',
1362
1362
  'reverse_affiliate_transactions',
1363
1363
  'issue_store_credit',
1364
+ 'auto_order_cancel_reason',
1364
1365
  'expand',
1365
1366
  ],
1366
1367
  'required': [
@@ -1396,6 +1397,8 @@ class OrderApi(object):
1396
1397
  (bool,),
1397
1398
  'issue_store_credit':
1398
1399
  (bool,),
1400
+ 'auto_order_cancel_reason':
1401
+ (str,),
1399
1402
  'expand':
1400
1403
  (str,),
1401
1404
  },
@@ -1407,6 +1410,7 @@ class OrderApi(object):
1407
1410
  'manual_refund': 'manual_refund',
1408
1411
  'reverse_affiliate_transactions': 'reverse_affiliate_transactions',
1409
1412
  'issue_store_credit': 'issue_store_credit',
1413
+ 'auto_order_cancel_reason': 'auto_order_cancel_reason',
1410
1414
  'expand': '_expand',
1411
1415
  },
1412
1416
  'location_map': {
@@ -1418,6 +1422,7 @@ class OrderApi(object):
1418
1422
  'manual_refund': 'query',
1419
1423
  'reverse_affiliate_transactions': 'query',
1420
1424
  'issue_store_credit': 'query',
1425
+ 'auto_order_cancel_reason': 'query',
1421
1426
  'expand': 'query',
1422
1427
  },
1423
1428
  'collection_format_map': {
@@ -3498,6 +3503,7 @@ class OrderApi(object):
3498
3503
  manual_refund (bool): Consider a manual refund done externally. [optional] if omitted the server will use the default value of False
3499
3504
  reverse_affiliate_transactions (bool): Reverse affiliate transactions. [optional] if omitted the server will use the default value of True
3500
3505
  issue_store_credit (bool): Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account. [optional] if omitted the server will use the default value of False
3506
+ auto_order_cancel_reason (str): Reason for auto orders cancellation. [optional]
3501
3507
  expand (str): The object expansion to perform on the result. See documentation for examples. [optional]
3502
3508
  _return_http_data_only (bool): response data without head status
3503
3509
  code and headers. Default is True.
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.230/python'
80
+ self.user_agent = 'OpenAPI-Generator/4.0.231/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.230".\
425
+ "SDK Package Version: 4.0.231".\
426
426
  format(env=sys.platform, pyversion=sys.version)
427
427
 
428
428
  def get_host_settings(self):
@@ -56,6 +56,10 @@ class OrderQueryBatch(ModelNormal):
56
56
  """
57
57
 
58
58
  allowed_values = {
59
+ ('query_target',): {
60
+ 'ORIGIN': "origin",
61
+ 'CACHE': "cache",
62
+ },
59
63
  }
60
64
 
61
65
  validations = {
@@ -83,6 +87,7 @@ class OrderQueryBatch(ModelNormal):
83
87
  """
84
88
  return {
85
89
  'order_ids': ([str],), # noqa: E501
90
+ 'query_target': (str,), # noqa: E501
86
91
  }
87
92
 
88
93
  @cached_property
@@ -92,6 +97,7 @@ class OrderQueryBatch(ModelNormal):
92
97
 
93
98
  attribute_map = {
94
99
  'order_ids': 'order_ids', # noqa: E501
100
+ 'query_target': 'query_target', # noqa: E501
95
101
  }
96
102
 
97
103
  read_only_vars = {
@@ -136,6 +142,7 @@ class OrderQueryBatch(ModelNormal):
136
142
  through its discriminator because we passed in
137
143
  _visited_composed_classes = (Animal,)
138
144
  order_ids ([str]): Order IDs. [optional] # noqa: E501
145
+ query_target (str): Query Target. [optional] # noqa: E501
139
146
  """
140
147
 
141
148
  _check_type = kwargs.pop('_check_type', True)
@@ -222,6 +229,7 @@ class OrderQueryBatch(ModelNormal):
222
229
  through its discriminator because we passed in
223
230
  _visited_composed_classes = (Animal,)
224
231
  order_ids ([str]): Order IDs. [optional] # noqa: E501
232
+ query_target (str): Query Target. [optional] # noqa: E501
225
233
  """
226
234
 
227
235
  _check_type = kwargs.pop('_check_type', True)
@@ -82,6 +82,8 @@ class SelfConfig(ModelNormal):
82
82
  and the value is attribute type.
83
83
  """
84
84
  return {
85
+ 'exempt_from_colorado_retail_delivery_fee': (bool,), # noqa: E501
86
+ 'exempt_from_minnesota_retail_delivery_fee': (bool,), # noqa: E501
85
87
  'tax_billing': (bool,), # noqa: E501
86
88
  }
87
89
 
@@ -91,6 +93,8 @@ class SelfConfig(ModelNormal):
91
93
 
92
94
 
93
95
  attribute_map = {
96
+ 'exempt_from_colorado_retail_delivery_fee': 'exempt_from_colorado_retail_delivery_fee', # noqa: E501
97
+ 'exempt_from_minnesota_retail_delivery_fee': 'exempt_from_minnesota_retail_delivery_fee', # noqa: E501
94
98
  'tax_billing': 'tax_billing', # noqa: E501
95
99
  }
96
100
 
@@ -135,6 +139,8 @@ class SelfConfig(ModelNormal):
135
139
  Animal class but this time we won't travel
136
140
  through its discriminator because we passed in
137
141
  _visited_composed_classes = (Animal,)
142
+ exempt_from_colorado_retail_delivery_fee (bool): True if the Colorado Retail Delivery Fee should not be collected. [optional] # noqa: E501
143
+ exempt_from_minnesota_retail_delivery_fee (bool): True if the Minnesota Retail Delivery Fee should not be collected. [optional] # noqa: E501
138
144
  tax_billing (bool): True if sales tax should be collected based on billing address instead of shipping address. [optional] # noqa: E501
139
145
  """
140
146
 
@@ -221,6 +227,8 @@ class SelfConfig(ModelNormal):
221
227
  Animal class but this time we won't travel
222
228
  through its discriminator because we passed in
223
229
  _visited_composed_classes = (Animal,)
230
+ exempt_from_colorado_retail_delivery_fee (bool): True if the Colorado Retail Delivery Fee should not be collected. [optional] # noqa: E501
231
+ exempt_from_minnesota_retail_delivery_fee (bool): True if the Minnesota Retail Delivery Fee should not be collected. [optional] # noqa: E501
224
232
  tax_billing (bool): True if sales tax should be collected based on billing address instead of shipping address. [optional] # noqa: E501
225
233
  """
226
234
 
@@ -82,6 +82,8 @@ class UltraCartConfig(ModelNormal):
82
82
  and the value is attribute type.
83
83
  """
84
84
  return {
85
+ 'exempt_from_colorado_retail_delivery_fee': (bool,), # noqa: E501
86
+ 'exempt_from_minnesota_retail_delivery_fee': (bool,), # noqa: E501
85
87
  'tax_billing': (bool,), # noqa: E501
86
88
  }
87
89
 
@@ -91,6 +93,8 @@ class UltraCartConfig(ModelNormal):
91
93
 
92
94
 
93
95
  attribute_map = {
96
+ 'exempt_from_colorado_retail_delivery_fee': 'exempt_from_colorado_retail_delivery_fee', # noqa: E501
97
+ 'exempt_from_minnesota_retail_delivery_fee': 'exempt_from_minnesota_retail_delivery_fee', # noqa: E501
94
98
  'tax_billing': 'tax_billing', # noqa: E501
95
99
  }
96
100
 
@@ -135,6 +139,8 @@ class UltraCartConfig(ModelNormal):
135
139
  Animal class but this time we won't travel
136
140
  through its discriminator because we passed in
137
141
  _visited_composed_classes = (Animal,)
142
+ exempt_from_colorado_retail_delivery_fee (bool): True if the Colorado Retail Delivery Fee should not be collected. [optional] # noqa: E501
143
+ exempt_from_minnesota_retail_delivery_fee (bool): True if the Minnesota Retail Delivery Fee should not be collected. [optional] # noqa: E501
138
144
  tax_billing (bool): True if sales tax should be collected based on billing address instead of shipping address. [optional] # noqa: E501
139
145
  """
140
146
 
@@ -221,6 +227,8 @@ class UltraCartConfig(ModelNormal):
221
227
  Animal class but this time we won't travel
222
228
  through its discriminator because we passed in
223
229
  _visited_composed_classes = (Animal,)
230
+ exempt_from_colorado_retail_delivery_fee (bool): True if the Colorado Retail Delivery Fee should not be collected. [optional] # noqa: E501
231
+ exempt_from_minnesota_retail_delivery_fee (bool): True if the Minnesota Retail Delivery Fee should not be collected. [optional] # noqa: E501
224
232
  tax_billing (bool): True if sales tax should be collected based on billing address instead of shipping address. [optional] # noqa: E501
225
233
  """
226
234
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ultracart-rest-sdk
3
- Version: 4.0.230
3
+ Version: 4.0.231
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=xGgk-Y4wN4wdEzuFrEhtMXUYV9KD7wx9crjW4AYffFg,699
2
- ultracart/api_client.py,sha256=H5YyftdQfkhxrRsq1LEM5jt9wxUB0nIBYBwXeNg-Q_c,39072
3
- ultracart/configuration.py,sha256=wIP_RyRG_gF3Vx72iS2L9m9SNQ-z3K0aj83fmzEoMiU,17842
1
+ ultracart/__init__.py,sha256=h33EyupWvBOyllZZvCwPZ169KIFxjP8QdQjUdar7LAc,699
2
+ ultracart/api_client.py,sha256=7JbQHCALcOWK9Q3zaUMY3bQ6S1O-6YG-hKKxZdDUjoM,39072
3
+ ultracart/configuration.py,sha256=bQjpRSwXXD8RM5GFBRpglwMjLBNvu84uJIX4iuWyfW8,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
@@ -19,7 +19,7 @@ ultracart/api/gift_certificate_api.py,sha256=2TkzQhqCMcPf8Ro14eRycy0LtPxfC7n67GS
19
19
  ultracart/api/integration_log_api.py,sha256=t8spQtDERkGKISq7JtDNkA1MsQXp8qV8lSuXIhy0lEc,30164
20
20
  ultracart/api/item_api.py,sha256=sMc9DIza1CedC845dfljhYz_Bdyh6A9pumu5b5nVxZU,134751
21
21
  ultracart/api/oauth_api.py,sha256=oYx-F4WFF3LgMlHP-4x_gcSwS95-9Lowiwcgr5Rziyw,13636
22
- ultracart/api/order_api.py,sha256=Mc1Mru5z7-BrN0fhnQs3xEjxwICrFkk4dIIuGraKy44,161058
22
+ ultracart/api/order_api.py,sha256=TYIegMclGmOjWZ4-TeJghPWZDa0pyUYJ8eu1oUkcAJI,161411
23
23
  ultracart/api/sso_api.py,sha256=Ct9oau71nCUKecojo_1kkXRcIqPxhlVZiST2bdjLJJ8,21632
24
24
  ultracart/api/storefront_api.py,sha256=SqFwwCpH_IMwhOgAwE7fbDhXkas8zf0QQ_2NWYq0mgU,1011549
25
25
  ultracart/api/tax_api.py,sha256=aQZaRsIXlFNDPwXYAykApv3KaAGfV-ZHB6QPBbEK-P0,148671
@@ -685,7 +685,7 @@ ultracart/model/order_process_payment_request.py,sha256=J9_DP7vtyLyvyAMxoUc2s5e4
685
685
  ultracart/model/order_process_payment_response.py,sha256=mp3Jdx6-Rp5DXPhUpja2jKArwsgYCsTpYuKuds7MLKs,12959
686
686
  ultracart/model/order_property.py,sha256=TTwNAPFD0xn200o_d9xJnLVIOw2F_Kgs8veYbx7JD1Q,12365
687
687
  ultracart/model/order_query.py,sha256=ZswAfhXL946t5XlWRK8vNzhxN1qGRsKKeAPFI1Yz2sU,25412
688
- ultracart/model/order_query_batch.py,sha256=a4wi9dX8Oi85SGTkPwSWUv6s1x6tKC2w0i16WYyFvGs,11447
688
+ ultracart/model/order_query_batch.py,sha256=LgS-ewYKfDvu5xxyHDMc7IWc7PrEFKGZjapC9P4mSbM,11795
689
689
  ultracart/model/order_quote.py,sha256=rearxF0qL6u7uhstszLj2iajryy7om5nGc_LiFgtZuI,12012
690
690
  ultracart/model/order_reason.py,sha256=OOSWtof1CiNxPxVo5jliywXnMTkrPdZ8PCK9pH2ty5Q,12225
691
691
  ultracart/model/order_refundable_response.py,sha256=XHIuuXrEQFUmqseOIiW7_CRPaZ120-OLFc1Zs_xSm6M,16408
@@ -797,7 +797,7 @@ ultracart/model/screen_recording_user_agent_device.py,sha256=jenx65Aowngxa8e19Tx
797
797
  ultracart/model/screen_recording_user_agent_os.py,sha256=UBt_VNGMV1KVW8vDLpJ4S-0a7wo7MtqXya3j3gSJ0m8,11798
798
798
  ultracart/model/screen_recording_user_property.py,sha256=iP60maAOy0Q_QZEmph39EVbHpHLFYM0MvC5U7XuShqg,11900
799
799
  ultracart/model/screenshots_response.py,sha256=abF8-ea6kNh1frynQtBn5pJ3Z62eIK4mJ92E4xa6xCs,12862
800
- ultracart/model/self_config.py,sha256=aS82KS60zbEm-glovQsJ2SxlXwymNiYdkAu3NuXO2wA,11601
800
+ ultracart/model/self_config.py,sha256=b8MIQeMT81x8wKBNOcF_SJfRYCx0dR_EtGgNXI2SKjk,12594
801
801
  ultracart/model/simple_value.py,sha256=tzyZHFfPXqxDgERMPBJ9fhECDgbV0apjB4_VqpM8o9M,11738
802
802
  ultracart/model/single_sign_on_authorize_request.py,sha256=sthWXEJBxCL-MVjZg4bzKjwUGR9SKMmjZ_Ll-igKdUU,12238
803
803
  ultracart/model/single_sign_on_authorize_response.py,sha256=AHsjXdEzinhTQ1lEbayhWfj-WDFGbSoUmZU1-GHqrOU,12069
@@ -840,7 +840,7 @@ ultracart/model/transaction_email_response.py,sha256=rY7VXZHanNiH11v-0ypA7dw4OWb
840
840
  ultracart/model/twilio.py,sha256=-KCFJf7ObWgqTziIF_5HQ67vWJVJpWf-r6QXLOdMSc0,13287
841
841
  ultracart/model/twilio_response.py,sha256=tafjuSNKSN2kVKV0fx4KErHCb_ULKN1dcnYO5sajI3Y,12947
842
842
  ultracart/model/twilios_response.py,sha256=ZeDAO102n3tY_yNAK-UwF5n_ca02RueNhZwP_8srjrM,12748
843
- ultracart/model/ultra_cart_config.py,sha256=Tu3gB-GZ8tenS3r46nYnU9-omdnK0ktJHa2Hfpdftaw,11616
843
+ ultracart/model/ultra_cart_config.py,sha256=VX2NtzshWYzFSLXDx5tkAPKoy3ME08rfdr4Tu_b5FmA,12609
844
844
  ultracart/model/upload_coupon_codes_request.py,sha256=cecQxwPtlGx1ROCAM8uwxfeKjbXFbqGLf6nhclcKFQY,12740
845
845
  ultracart/model/upload_coupon_codes_response.py,sha256=0xf7oXuBHUNVbahbw0Lox46stVI3vqzJncQbaizB2HQ,13296
846
846
  ultracart/model/user.py,sha256=VvZOrrGSH3TCuwznCjw50Z8vItB3iDmYyZTqVRhevlY,17784
@@ -882,8 +882,8 @@ ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE
882
882
  ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
883
883
  ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
884
884
  ultracart/models/__init__.py,sha256=JOyD4oTrVKrwdSgBUPAcyMnm_9hmWMw9aPK7u8ppvak,65794
885
- ultracart_rest_sdk-4.0.230.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
886
- ultracart_rest_sdk-4.0.230.dist-info/METADATA,sha256=0ZyDAWK9d1VPQD-meWzJdoZ1azdfhTVCt5YLtqwr0Yc,403
887
- ultracart_rest_sdk-4.0.230.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
888
- ultracart_rest_sdk-4.0.230.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
889
- ultracart_rest_sdk-4.0.230.dist-info/RECORD,,
885
+ ultracart_rest_sdk-4.0.231.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
886
+ ultracart_rest_sdk-4.0.231.dist-info/METADATA,sha256=0VriT3dB0rZTVJANO7crTs0CQanH6kEfqKjX11e2Phk,403
887
+ ultracart_rest_sdk-4.0.231.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
888
+ ultracart_rest_sdk-4.0.231.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
889
+ ultracart_rest_sdk-4.0.231.dist-info/RECORD,,