ultracart-rest-sdk 4.0.229__py3-none-any.whl → 4.0.230__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 +1 -1
- ultracart/api/storefront_api.py +145 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/twilio.py +0 -16
- {ultracart_rest_sdk-4.0.229.dist-info → ultracart_rest_sdk-4.0.230.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.229.dist-info → ultracart_rest_sdk-4.0.230.dist-info}/RECORD +10 -10
- {ultracart_rest_sdk-4.0.229.dist-info → ultracart_rest_sdk-4.0.230.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.229.dist-info → ultracart_rest_sdk-4.0.230.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.229.dist-info → ultracart_rest_sdk-4.0.230.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
ultracart/api/storefront_api.py
CHANGED
|
@@ -9098,6 +9098,65 @@ class StorefrontApi(object):
|
|
|
9098
9098
|
},
|
|
9099
9099
|
api_client=api_client
|
|
9100
9100
|
)
|
|
9101
|
+
self.sunset_email_segment_endpoint = _Endpoint(
|
|
9102
|
+
settings={
|
|
9103
|
+
'response_type': None,
|
|
9104
|
+
'auth': [
|
|
9105
|
+
'ultraCartBrowserApiKey',
|
|
9106
|
+
'ultraCartOauth',
|
|
9107
|
+
'ultraCartSimpleApiKey'
|
|
9108
|
+
],
|
|
9109
|
+
'endpoint_path': '/storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset',
|
|
9110
|
+
'operation_id': 'sunset_email_segment',
|
|
9111
|
+
'http_method': 'PUT',
|
|
9112
|
+
'servers': None,
|
|
9113
|
+
},
|
|
9114
|
+
params_map={
|
|
9115
|
+
'all': [
|
|
9116
|
+
'storefront_oid',
|
|
9117
|
+
'email_segment_uuid',
|
|
9118
|
+
],
|
|
9119
|
+
'required': [
|
|
9120
|
+
'storefront_oid',
|
|
9121
|
+
'email_segment_uuid',
|
|
9122
|
+
],
|
|
9123
|
+
'nullable': [
|
|
9124
|
+
],
|
|
9125
|
+
'enum': [
|
|
9126
|
+
],
|
|
9127
|
+
'validation': [
|
|
9128
|
+
]
|
|
9129
|
+
},
|
|
9130
|
+
root_map={
|
|
9131
|
+
'validations': {
|
|
9132
|
+
},
|
|
9133
|
+
'allowed_values': {
|
|
9134
|
+
},
|
|
9135
|
+
'openapi_types': {
|
|
9136
|
+
'storefront_oid':
|
|
9137
|
+
(int,),
|
|
9138
|
+
'email_segment_uuid':
|
|
9139
|
+
(str,),
|
|
9140
|
+
},
|
|
9141
|
+
'attribute_map': {
|
|
9142
|
+
'storefront_oid': 'storefront_oid',
|
|
9143
|
+
'email_segment_uuid': 'email_segment_uuid',
|
|
9144
|
+
},
|
|
9145
|
+
'location_map': {
|
|
9146
|
+
'storefront_oid': 'path',
|
|
9147
|
+
'email_segment_uuid': 'path',
|
|
9148
|
+
},
|
|
9149
|
+
'collection_format_map': {
|
|
9150
|
+
}
|
|
9151
|
+
},
|
|
9152
|
+
headers_map={
|
|
9153
|
+
'accept': [
|
|
9154
|
+
'application/json'
|
|
9155
|
+
],
|
|
9156
|
+
'content_type': [],
|
|
9157
|
+
},
|
|
9158
|
+
api_client=api_client
|
|
9159
|
+
)
|
|
9101
9160
|
self.unfavorite_screen_recording_endpoint = _Endpoint(
|
|
9102
9161
|
settings={
|
|
9103
9162
|
'response_type': None,
|
|
@@ -23544,6 +23603,92 @@ class StorefrontApi(object):
|
|
|
23544
23603
|
customers
|
|
23545
23604
|
return self.subscribe_to_email_list_endpoint.call_with_http_info(**kwargs)
|
|
23546
23605
|
|
|
23606
|
+
def sunset_email_segment(
|
|
23607
|
+
self,
|
|
23608
|
+
storefront_oid,
|
|
23609
|
+
email_segment_uuid,
|
|
23610
|
+
**kwargs
|
|
23611
|
+
):
|
|
23612
|
+
"""Sunset email segment # noqa: E501
|
|
23613
|
+
|
|
23614
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
23615
|
+
asynchronous HTTP request, please pass async_req=True
|
|
23616
|
+
|
|
23617
|
+
>>> thread = api.sunset_email_segment(storefront_oid, email_segment_uuid, async_req=True)
|
|
23618
|
+
>>> result = thread.get()
|
|
23619
|
+
|
|
23620
|
+
Args:
|
|
23621
|
+
storefront_oid (int):
|
|
23622
|
+
email_segment_uuid (str):
|
|
23623
|
+
|
|
23624
|
+
Keyword Args:
|
|
23625
|
+
_return_http_data_only (bool): response data without head status
|
|
23626
|
+
code and headers. Default is True.
|
|
23627
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
23628
|
+
will be returned without reading/decoding response data.
|
|
23629
|
+
Default is True.
|
|
23630
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
23631
|
+
one number provided, it will be total request timeout. It can also
|
|
23632
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
23633
|
+
Default is None.
|
|
23634
|
+
_check_input_type (bool): specifies if type checking
|
|
23635
|
+
should be done one the data sent to the server.
|
|
23636
|
+
Default is True.
|
|
23637
|
+
_check_return_type (bool): specifies if type checking
|
|
23638
|
+
should be done one the data received from the server.
|
|
23639
|
+
Default is True.
|
|
23640
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
23641
|
+
are serialized names, as specified in the OpenAPI document.
|
|
23642
|
+
False if the variable names in the input data
|
|
23643
|
+
are pythonic names, e.g. snake case (default)
|
|
23644
|
+
_content_type (str/None): force body content-type.
|
|
23645
|
+
Default is None and content-type will be predicted by allowed
|
|
23646
|
+
content-types and body.
|
|
23647
|
+
_host_index (int/None): specifies the index of the server
|
|
23648
|
+
that we want to use.
|
|
23649
|
+
Default is read from the configuration.
|
|
23650
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
23651
|
+
request; this effectively ignores the authentication
|
|
23652
|
+
in the spec for a single request.
|
|
23653
|
+
Default is None
|
|
23654
|
+
async_req (bool): execute request asynchronously
|
|
23655
|
+
|
|
23656
|
+
Returns:
|
|
23657
|
+
None
|
|
23658
|
+
If the method is called asynchronously, returns the request
|
|
23659
|
+
thread.
|
|
23660
|
+
"""
|
|
23661
|
+
kwargs['async_req'] = kwargs.get(
|
|
23662
|
+
'async_req', False
|
|
23663
|
+
)
|
|
23664
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
23665
|
+
'_return_http_data_only', True
|
|
23666
|
+
)
|
|
23667
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
23668
|
+
'_preload_content', True
|
|
23669
|
+
)
|
|
23670
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
23671
|
+
'_request_timeout', None
|
|
23672
|
+
)
|
|
23673
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
23674
|
+
'_check_input_type', True
|
|
23675
|
+
)
|
|
23676
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
23677
|
+
'_check_return_type', True
|
|
23678
|
+
)
|
|
23679
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
23680
|
+
'_spec_property_naming', False
|
|
23681
|
+
)
|
|
23682
|
+
kwargs['_content_type'] = kwargs.get(
|
|
23683
|
+
'_content_type')
|
|
23684
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
23685
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
23686
|
+
kwargs['storefront_oid'] = \
|
|
23687
|
+
storefront_oid
|
|
23688
|
+
kwargs['email_segment_uuid'] = \
|
|
23689
|
+
email_segment_uuid
|
|
23690
|
+
return self.sunset_email_segment_endpoint.call_with_http_info(**kwargs)
|
|
23691
|
+
|
|
23547
23692
|
def unfavorite_screen_recording(
|
|
23548
23693
|
self,
|
|
23549
23694
|
storefront_oid,
|
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.
|
|
80
|
+
self.user_agent = 'OpenAPI-Generator/4.0.230/python'
|
|
81
81
|
|
|
82
82
|
def __enter__(self):
|
|
83
83
|
return self
|
ultracart/configuration.py
CHANGED
|
@@ -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.
|
|
425
|
+
"SDK Package Version: 4.0.230".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
ultracart/model/twilio.py
CHANGED
|
@@ -85,15 +85,11 @@ class Twilio(ModelNormal):
|
|
|
85
85
|
'account_sid': (str,), # noqa: E501
|
|
86
86
|
'api_key_id': (str,), # noqa: E501
|
|
87
87
|
'api_key_name': (str,), # noqa: E501
|
|
88
|
-
'api_key_secret': (str,), # noqa: E501
|
|
89
88
|
'auth_token': (str,), # noqa: E501
|
|
90
89
|
'esp_twilio_uuid': (str,), # noqa: E501
|
|
91
90
|
'inbound_twiml_app_sid': (str,), # noqa: E501
|
|
92
91
|
'outbound_twiml_app_sid': (str,), # noqa: E501
|
|
93
92
|
'phone_numbers': ([str],), # noqa: E501
|
|
94
|
-
'private_key_pem': (str,), # noqa: E501
|
|
95
|
-
'public_key_pem': (str,), # noqa: E501
|
|
96
|
-
'public_key_sid': (str,), # noqa: E501
|
|
97
93
|
'twilio_workspace_sid': (str,), # noqa: E501
|
|
98
94
|
}
|
|
99
95
|
|
|
@@ -106,15 +102,11 @@ class Twilio(ModelNormal):
|
|
|
106
102
|
'account_sid': 'account_sid', # noqa: E501
|
|
107
103
|
'api_key_id': 'api_key_id', # noqa: E501
|
|
108
104
|
'api_key_name': 'api_key_name', # noqa: E501
|
|
109
|
-
'api_key_secret': 'api_key_secret', # noqa: E501
|
|
110
105
|
'auth_token': 'auth_token', # noqa: E501
|
|
111
106
|
'esp_twilio_uuid': 'esp_twilio_uuid', # noqa: E501
|
|
112
107
|
'inbound_twiml_app_sid': 'inbound_twiml_app_sid', # noqa: E501
|
|
113
108
|
'outbound_twiml_app_sid': 'outbound_twiml_app_sid', # noqa: E501
|
|
114
109
|
'phone_numbers': 'phone_numbers', # noqa: E501
|
|
115
|
-
'private_key_pem': 'private_key_pem', # noqa: E501
|
|
116
|
-
'public_key_pem': 'public_key_pem', # noqa: E501
|
|
117
|
-
'public_key_sid': 'public_key_sid', # noqa: E501
|
|
118
110
|
'twilio_workspace_sid': 'twilio_workspace_sid', # noqa: E501
|
|
119
111
|
}
|
|
120
112
|
|
|
@@ -162,15 +154,11 @@ class Twilio(ModelNormal):
|
|
|
162
154
|
account_sid (str): [optional] # noqa: E501
|
|
163
155
|
api_key_id (str): [optional] # noqa: E501
|
|
164
156
|
api_key_name (str): [optional] # noqa: E501
|
|
165
|
-
api_key_secret (str): [optional] # noqa: E501
|
|
166
157
|
auth_token (str): [optional] # noqa: E501
|
|
167
158
|
esp_twilio_uuid (str): [optional] # noqa: E501
|
|
168
159
|
inbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
169
160
|
outbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
170
161
|
phone_numbers ([str]): [optional] # noqa: E501
|
|
171
|
-
private_key_pem (str): [optional] # noqa: E501
|
|
172
|
-
public_key_pem (str): [optional] # noqa: E501
|
|
173
|
-
public_key_sid (str): [optional] # noqa: E501
|
|
174
162
|
twilio_workspace_sid (str): [optional] # noqa: E501
|
|
175
163
|
"""
|
|
176
164
|
|
|
@@ -260,15 +248,11 @@ class Twilio(ModelNormal):
|
|
|
260
248
|
account_sid (str): [optional] # noqa: E501
|
|
261
249
|
api_key_id (str): [optional] # noqa: E501
|
|
262
250
|
api_key_name (str): [optional] # noqa: E501
|
|
263
|
-
api_key_secret (str): [optional] # noqa: E501
|
|
264
251
|
auth_token (str): [optional] # noqa: E501
|
|
265
252
|
esp_twilio_uuid (str): [optional] # noqa: E501
|
|
266
253
|
inbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
267
254
|
outbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
268
255
|
phone_numbers ([str]): [optional] # noqa: E501
|
|
269
|
-
private_key_pem (str): [optional] # noqa: E501
|
|
270
|
-
public_key_pem (str): [optional] # noqa: E501
|
|
271
|
-
public_key_sid (str): [optional] # noqa: E501
|
|
272
256
|
twilio_workspace_sid (str): [optional] # noqa: E501
|
|
273
257
|
"""
|
|
274
258
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ultracart/__init__.py,sha256=
|
|
2
|
-
ultracart/api_client.py,sha256=
|
|
3
|
-
ultracart/configuration.py,sha256=
|
|
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
|
|
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
|
|
@@ -21,7 +21,7 @@ ultracart/api/item_api.py,sha256=sMc9DIza1CedC845dfljhYz_Bdyh6A9pumu5b5nVxZU,134
|
|
|
21
21
|
ultracart/api/oauth_api.py,sha256=oYx-F4WFF3LgMlHP-4x_gcSwS95-9Lowiwcgr5Rziyw,13636
|
|
22
22
|
ultracart/api/order_api.py,sha256=Mc1Mru5z7-BrN0fhnQs3xEjxwICrFkk4dIIuGraKy44,161058
|
|
23
23
|
ultracart/api/sso_api.py,sha256=Ct9oau71nCUKecojo_1kkXRcIqPxhlVZiST2bdjLJJ8,21632
|
|
24
|
-
ultracart/api/storefront_api.py,sha256=
|
|
24
|
+
ultracart/api/storefront_api.py,sha256=SqFwwCpH_IMwhOgAwE7fbDhXkas8zf0QQ_2NWYq0mgU,1011549
|
|
25
25
|
ultracart/api/tax_api.py,sha256=aQZaRsIXlFNDPwXYAykApv3KaAGfV-ZHB6QPBbEK-P0,148671
|
|
26
26
|
ultracart/api/user_api.py,sha256=LrzuXSpBa5V_rS8iRDRRhFYnUZN9fR2Y54FRnJ_fpiI,56627
|
|
27
27
|
ultracart/api/webhook_api.py,sha256=cAk7ABZxsKE7dD1YRxdwLkj7M-GlQf1LiiKz7MBcqiU,46761
|
|
@@ -837,7 +837,7 @@ ultracart/model/transaction_email.py,sha256=oM2vsycRzvd5uJaHneuMX61LruSXZu1wPRAu
|
|
|
837
837
|
ultracart/model/transaction_email_list_response.py,sha256=9qxvbfNLtZM1A17-8CxF47DqkBna5NNKYjYV2j_XhZY,12719
|
|
838
838
|
ultracart/model/transaction_email_option.py,sha256=HzJGTc2IqvJ5ROkXBo0_A77cFy-NM2ojkFR6LPtHEPQ,13055
|
|
839
839
|
ultracart/model/transaction_email_response.py,sha256=rY7VXZHanNiH11v-0ypA7dw4OWb9ru-npGz8c5N0_4c,12830
|
|
840
|
-
ultracart/model/twilio.py,sha256
|
|
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
843
|
ultracart/model/ultra_cart_config.py,sha256=Tu3gB-GZ8tenS3r46nYnU9-omdnK0ktJHa2Hfpdftaw,11616
|
|
@@ -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.
|
|
886
|
-
ultracart_rest_sdk-4.0.
|
|
887
|
-
ultracart_rest_sdk-4.0.
|
|
888
|
-
ultracart_rest_sdk-4.0.
|
|
889
|
-
ultracart_rest_sdk-4.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|