ultracart-rest-sdk 4.0.199__py3-none-any.whl → 4.0.201__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 +320 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/conversation_agent_auth.py +16 -0
- ultracart/model/coupon_amount_off_items.py +4 -0
- ultracart/model/coupon_buy_one_get_one_limit.py +4 -0
- ultracart/model/coupon_discount_item_with_item_purchase.py +8 -0
- ultracart/model/coupon_free_item_with_item_purchase.py +8 -0
- ultracart/model/coupon_percent_off_items_with_items_purchase.py +8 -0
- ultracart/model/email_sms_order.py +282 -0
- ultracart/model/email_sms_orders_response.py +292 -0
- ultracart/model/email_sms_stat.py +380 -0
- ultracart/model/email_stat_sms_summary_request.py +268 -0
- ultracart/model/email_stat_sms_summary_response.py +292 -0
- ultracart/model/pricing_tier.py +4 -0
- ultracart/model/twilio.py +36 -0
- ultracart/models/__init__.py +5 -0
- {ultracart_rest_sdk-4.0.199.dist-info → ultracart_rest_sdk-4.0.201.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.199.dist-info → ultracart_rest_sdk-4.0.201.dist-info}/RECORD +23 -18
- {ultracart_rest_sdk-4.0.199.dist-info → ultracart_rest_sdk-4.0.201.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.199.dist-info → ultracart_rest_sdk-4.0.201.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.199.dist-info → ultracart_rest_sdk-4.0.201.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
"""
|
|
2
|
+
UltraCart Rest API V2
|
|
3
|
+
|
|
4
|
+
UltraCart REST API Version 2 # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
|
7
|
+
Contact: support@ultracart.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import re # noqa: F401
|
|
13
|
+
import sys # noqa: F401
|
|
14
|
+
|
|
15
|
+
from ultracart.model_utils import ( # noqa: F401
|
|
16
|
+
ApiTypeError,
|
|
17
|
+
ModelComposed,
|
|
18
|
+
ModelNormal,
|
|
19
|
+
ModelSimple,
|
|
20
|
+
cached_property,
|
|
21
|
+
change_keys_js_to_python,
|
|
22
|
+
convert_js_args_to_python_args,
|
|
23
|
+
date,
|
|
24
|
+
datetime,
|
|
25
|
+
file_type,
|
|
26
|
+
none_type,
|
|
27
|
+
validate_get_composed_info,
|
|
28
|
+
OpenApiModel
|
|
29
|
+
)
|
|
30
|
+
from ultracart.exceptions import ApiAttributeError
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def lazy_import():
|
|
34
|
+
from ultracart.model.email_sms_stat import EmailSmsStat
|
|
35
|
+
from ultracart.model.error import Error
|
|
36
|
+
from ultracart.model.response_metadata import ResponseMetadata
|
|
37
|
+
from ultracart.model.warning import Warning
|
|
38
|
+
globals()['EmailSmsStat'] = EmailSmsStat
|
|
39
|
+
globals()['Error'] = Error
|
|
40
|
+
globals()['ResponseMetadata'] = ResponseMetadata
|
|
41
|
+
globals()['Warning'] = Warning
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class EmailStatSmsSummaryResponse(ModelNormal):
|
|
45
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
46
|
+
Ref: https://openapi-generator.tech
|
|
47
|
+
|
|
48
|
+
Do not edit the class manually.
|
|
49
|
+
|
|
50
|
+
Attributes:
|
|
51
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
52
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
53
|
+
with a capitalized key describing the allowed value and an allowed
|
|
54
|
+
value. These dicts store the allowed enum values.
|
|
55
|
+
attribute_map (dict): The key is attribute name
|
|
56
|
+
and the value is json key in definition.
|
|
57
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
58
|
+
variable value to the discriminator class name.
|
|
59
|
+
validations (dict): The key is the tuple path to the attribute
|
|
60
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
61
|
+
that stores validations for max_length, min_length, max_items,
|
|
62
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
63
|
+
inclusive_minimum, and regex.
|
|
64
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
65
|
+
as additional properties values.
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
allowed_values = {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
validations = {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@cached_property
|
|
75
|
+
def additional_properties_type():
|
|
76
|
+
"""
|
|
77
|
+
This must be a method because a model may have properties that are
|
|
78
|
+
of type self, this must run after the class is loaded
|
|
79
|
+
"""
|
|
80
|
+
lazy_import()
|
|
81
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
82
|
+
|
|
83
|
+
_nullable = False
|
|
84
|
+
|
|
85
|
+
@cached_property
|
|
86
|
+
def openapi_types():
|
|
87
|
+
"""
|
|
88
|
+
This must be a method because a model may have properties that are
|
|
89
|
+
of type self, this must run after the class is loaded
|
|
90
|
+
|
|
91
|
+
Returns
|
|
92
|
+
openapi_types (dict): The key is attribute name
|
|
93
|
+
and the value is attribute type.
|
|
94
|
+
"""
|
|
95
|
+
lazy_import()
|
|
96
|
+
return {
|
|
97
|
+
'error': (Error,), # noqa: E501
|
|
98
|
+
'metadata': (ResponseMetadata,), # noqa: E501
|
|
99
|
+
'stats': ([EmailSmsStat],), # noqa: E501
|
|
100
|
+
'success': (bool,), # noqa: E501
|
|
101
|
+
'warning': (Warning,), # noqa: E501
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@cached_property
|
|
105
|
+
def discriminator():
|
|
106
|
+
return None
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
attribute_map = {
|
|
110
|
+
'error': 'error', # noqa: E501
|
|
111
|
+
'metadata': 'metadata', # noqa: E501
|
|
112
|
+
'stats': 'stats', # noqa: E501
|
|
113
|
+
'success': 'success', # noqa: E501
|
|
114
|
+
'warning': 'warning', # noqa: E501
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
read_only_vars = {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
_composed_schemas = {}
|
|
121
|
+
|
|
122
|
+
@classmethod
|
|
123
|
+
@convert_js_args_to_python_args
|
|
124
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
125
|
+
"""EmailStatSmsSummaryResponse - a model defined in OpenAPI
|
|
126
|
+
|
|
127
|
+
Keyword Args:
|
|
128
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
129
|
+
will be type checked and a TypeError will be
|
|
130
|
+
raised if the wrong type is input.
|
|
131
|
+
Defaults to True
|
|
132
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
133
|
+
drill down to the model in received_data
|
|
134
|
+
when deserializing a response
|
|
135
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
136
|
+
are serialized names, as specified in the OpenAPI document.
|
|
137
|
+
False if the variable names in the input data
|
|
138
|
+
are pythonic names, e.g. snake case (default)
|
|
139
|
+
_configuration (Configuration): the instance to use when
|
|
140
|
+
deserializing a file_type parameter.
|
|
141
|
+
If passed, type conversion is attempted
|
|
142
|
+
If omitted no type conversion is done.
|
|
143
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
144
|
+
classes that we have traveled through so that
|
|
145
|
+
if we see that class again we will not use its
|
|
146
|
+
discriminator again.
|
|
147
|
+
When traveling through a discriminator, the
|
|
148
|
+
composed schema that is
|
|
149
|
+
is traveled through is added to this set.
|
|
150
|
+
For example if Animal has a discriminator
|
|
151
|
+
petType and we pass in "Dog", and the class Dog
|
|
152
|
+
allOf includes Animal, we move through Animal
|
|
153
|
+
once using the discriminator, and pick Dog.
|
|
154
|
+
Then in Dog, we will make an instance of the
|
|
155
|
+
Animal class but this time we won't travel
|
|
156
|
+
through its discriminator because we passed in
|
|
157
|
+
_visited_composed_classes = (Animal,)
|
|
158
|
+
error (Error): [optional] # noqa: E501
|
|
159
|
+
metadata (ResponseMetadata): [optional] # noqa: E501
|
|
160
|
+
stats ([EmailSmsStat]): [optional] # noqa: E501
|
|
161
|
+
success (bool): Indicates if API call was successful. [optional] # noqa: E501
|
|
162
|
+
warning (Warning): [optional] # noqa: E501
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
166
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
167
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
168
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
169
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
170
|
+
|
|
171
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
172
|
+
|
|
173
|
+
if args:
|
|
174
|
+
for arg in args:
|
|
175
|
+
if isinstance(arg, dict):
|
|
176
|
+
kwargs.update(arg)
|
|
177
|
+
else:
|
|
178
|
+
raise ApiTypeError(
|
|
179
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
180
|
+
args,
|
|
181
|
+
self.__class__.__name__,
|
|
182
|
+
),
|
|
183
|
+
path_to_item=_path_to_item,
|
|
184
|
+
valid_classes=(self.__class__,),
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
self._data_store = {}
|
|
188
|
+
self._check_type = _check_type
|
|
189
|
+
self._spec_property_naming = _spec_property_naming
|
|
190
|
+
self._path_to_item = _path_to_item
|
|
191
|
+
self._configuration = _configuration
|
|
192
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
193
|
+
|
|
194
|
+
for var_name, var_value in kwargs.items():
|
|
195
|
+
if var_name not in self.attribute_map and \
|
|
196
|
+
self._configuration is not None and \
|
|
197
|
+
self._configuration.discard_unknown_keys and \
|
|
198
|
+
self.additional_properties_type is None:
|
|
199
|
+
# discard variable.
|
|
200
|
+
continue
|
|
201
|
+
setattr(self, var_name, var_value)
|
|
202
|
+
return self
|
|
203
|
+
|
|
204
|
+
required_properties = set([
|
|
205
|
+
'_data_store',
|
|
206
|
+
'_check_type',
|
|
207
|
+
'_spec_property_naming',
|
|
208
|
+
'_path_to_item',
|
|
209
|
+
'_configuration',
|
|
210
|
+
'_visited_composed_classes',
|
|
211
|
+
])
|
|
212
|
+
|
|
213
|
+
@convert_js_args_to_python_args
|
|
214
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
215
|
+
"""EmailStatSmsSummaryResponse - a model defined in OpenAPI
|
|
216
|
+
|
|
217
|
+
Keyword Args:
|
|
218
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
219
|
+
will be type checked and a TypeError will be
|
|
220
|
+
raised if the wrong type is input.
|
|
221
|
+
Defaults to True
|
|
222
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
223
|
+
drill down to the model in received_data
|
|
224
|
+
when deserializing a response
|
|
225
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
226
|
+
are serialized names, as specified in the OpenAPI document.
|
|
227
|
+
False if the variable names in the input data
|
|
228
|
+
are pythonic names, e.g. snake case (default)
|
|
229
|
+
_configuration (Configuration): the instance to use when
|
|
230
|
+
deserializing a file_type parameter.
|
|
231
|
+
If passed, type conversion is attempted
|
|
232
|
+
If omitted no type conversion is done.
|
|
233
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
234
|
+
classes that we have traveled through so that
|
|
235
|
+
if we see that class again we will not use its
|
|
236
|
+
discriminator again.
|
|
237
|
+
When traveling through a discriminator, the
|
|
238
|
+
composed schema that is
|
|
239
|
+
is traveled through is added to this set.
|
|
240
|
+
For example if Animal has a discriminator
|
|
241
|
+
petType and we pass in "Dog", and the class Dog
|
|
242
|
+
allOf includes Animal, we move through Animal
|
|
243
|
+
once using the discriminator, and pick Dog.
|
|
244
|
+
Then in Dog, we will make an instance of the
|
|
245
|
+
Animal class but this time we won't travel
|
|
246
|
+
through its discriminator because we passed in
|
|
247
|
+
_visited_composed_classes = (Animal,)
|
|
248
|
+
error (Error): [optional] # noqa: E501
|
|
249
|
+
metadata (ResponseMetadata): [optional] # noqa: E501
|
|
250
|
+
stats ([EmailSmsStat]): [optional] # noqa: E501
|
|
251
|
+
success (bool): Indicates if API call was successful. [optional] # noqa: E501
|
|
252
|
+
warning (Warning): [optional] # noqa: E501
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
256
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
257
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
258
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
259
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
260
|
+
|
|
261
|
+
if args:
|
|
262
|
+
for arg in args:
|
|
263
|
+
if isinstance(arg, dict):
|
|
264
|
+
kwargs.update(arg)
|
|
265
|
+
else:
|
|
266
|
+
raise ApiTypeError(
|
|
267
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
268
|
+
args,
|
|
269
|
+
self.__class__.__name__,
|
|
270
|
+
),
|
|
271
|
+
path_to_item=_path_to_item,
|
|
272
|
+
valid_classes=(self.__class__,),
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
self._data_store = {}
|
|
276
|
+
self._check_type = _check_type
|
|
277
|
+
self._spec_property_naming = _spec_property_naming
|
|
278
|
+
self._path_to_item = _path_to_item
|
|
279
|
+
self._configuration = _configuration
|
|
280
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
281
|
+
|
|
282
|
+
for var_name, var_value in kwargs.items():
|
|
283
|
+
if var_name not in self.attribute_map and \
|
|
284
|
+
self._configuration is not None and \
|
|
285
|
+
self._configuration.discard_unknown_keys and \
|
|
286
|
+
self.additional_properties_type is None:
|
|
287
|
+
# discard variable.
|
|
288
|
+
continue
|
|
289
|
+
setattr(self, var_name, var_value)
|
|
290
|
+
if var_name in self.read_only_vars:
|
|
291
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
292
|
+
f"class with read only attributes.")
|
ultracart/model/pricing_tier.py
CHANGED
|
@@ -98,6 +98,7 @@ class PricingTier(ModelNormal):
|
|
|
98
98
|
'approval_notification': (PricingTierNotification,), # noqa: E501
|
|
99
99
|
'auto_approve_cod': (bool,), # noqa: E501
|
|
100
100
|
'auto_approve_purchase_order': (bool,), # noqa: E501
|
|
101
|
+
'currency_code': (str,), # noqa: E501
|
|
101
102
|
'default_on_wholesale_signup': (bool,), # noqa: E501
|
|
102
103
|
'default_percentage_discount': (float,), # noqa: E501
|
|
103
104
|
'default_shipping_method_oid': (int,), # noqa: E501
|
|
@@ -139,6 +140,7 @@ class PricingTier(ModelNormal):
|
|
|
139
140
|
'approval_notification': 'approval_notification', # noqa: E501
|
|
140
141
|
'auto_approve_cod': 'auto_approve_cod', # noqa: E501
|
|
141
142
|
'auto_approve_purchase_order': 'auto_approve_purchase_order', # noqa: E501
|
|
143
|
+
'currency_code': 'currency_code', # noqa: E501
|
|
142
144
|
'default_on_wholesale_signup': 'default_on_wholesale_signup', # noqa: E501
|
|
143
145
|
'default_percentage_discount': 'default_percentage_discount', # noqa: E501
|
|
144
146
|
'default_shipping_method_oid': 'default_shipping_method_oid', # noqa: E501
|
|
@@ -215,6 +217,7 @@ class PricingTier(ModelNormal):
|
|
|
215
217
|
approval_notification (PricingTierNotification): [optional] # noqa: E501
|
|
216
218
|
auto_approve_cod (bool): Auto approve COD. [optional] # noqa: E501
|
|
217
219
|
auto_approve_purchase_order (bool): Auto approve purchase order. [optional] # noqa: E501
|
|
220
|
+
currency_code (str): Any currency code specified on this pricing tier will force a shopping cart into that currency. [optional] # noqa: E501
|
|
218
221
|
default_on_wholesale_signup (bool): Default on wholesale signup. [optional] # noqa: E501
|
|
219
222
|
default_percentage_discount (float): Default percentage discount. [optional] # noqa: E501
|
|
220
223
|
default_shipping_method_oid (int): Default shipping method oid. [optional] # noqa: E501
|
|
@@ -333,6 +336,7 @@ class PricingTier(ModelNormal):
|
|
|
333
336
|
approval_notification (PricingTierNotification): [optional] # noqa: E501
|
|
334
337
|
auto_approve_cod (bool): Auto approve COD. [optional] # noqa: E501
|
|
335
338
|
auto_approve_purchase_order (bool): Auto approve purchase order. [optional] # noqa: E501
|
|
339
|
+
currency_code (str): Any currency code specified on this pricing tier will force a shopping cart into that currency. [optional] # noqa: E501
|
|
336
340
|
default_on_wholesale_signup (bool): Default on wholesale signup. [optional] # noqa: E501
|
|
337
341
|
default_percentage_discount (float): Default percentage discount. [optional] # noqa: E501
|
|
338
342
|
default_shipping_method_oid (int): Default shipping method oid. [optional] # noqa: E501
|
ultracart/model/twilio.py
CHANGED
|
@@ -83,9 +83,18 @@ class Twilio(ModelNormal):
|
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
85
|
'account_sid': (str,), # noqa: E501
|
|
86
|
+
'api_key_id': (str,), # noqa: E501
|
|
87
|
+
'api_key_name': (str,), # noqa: E501
|
|
88
|
+
'api_key_secret': (str,), # noqa: E501
|
|
86
89
|
'auth_token': (str,), # noqa: E501
|
|
87
90
|
'esp_twilio_uuid': (str,), # noqa: E501
|
|
91
|
+
'inbound_twiml_app_sid': (str,), # noqa: E501
|
|
92
|
+
'outbound_twiml_app_sid': (str,), # noqa: E501
|
|
88
93
|
'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
|
+
'twilio_workspace_sid': (str,), # noqa: E501
|
|
89
98
|
}
|
|
90
99
|
|
|
91
100
|
@cached_property
|
|
@@ -95,9 +104,18 @@ class Twilio(ModelNormal):
|
|
|
95
104
|
|
|
96
105
|
attribute_map = {
|
|
97
106
|
'account_sid': 'account_sid', # noqa: E501
|
|
107
|
+
'api_key_id': 'api_key_id', # noqa: E501
|
|
108
|
+
'api_key_name': 'api_key_name', # noqa: E501
|
|
109
|
+
'api_key_secret': 'api_key_secret', # noqa: E501
|
|
98
110
|
'auth_token': 'auth_token', # noqa: E501
|
|
99
111
|
'esp_twilio_uuid': 'esp_twilio_uuid', # noqa: E501
|
|
112
|
+
'inbound_twiml_app_sid': 'inbound_twiml_app_sid', # noqa: E501
|
|
113
|
+
'outbound_twiml_app_sid': 'outbound_twiml_app_sid', # noqa: E501
|
|
100
114
|
'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
|
+
'twilio_workspace_sid': 'twilio_workspace_sid', # noqa: E501
|
|
101
119
|
}
|
|
102
120
|
|
|
103
121
|
read_only_vars = {
|
|
@@ -142,9 +160,18 @@ class Twilio(ModelNormal):
|
|
|
142
160
|
through its discriminator because we passed in
|
|
143
161
|
_visited_composed_classes = (Animal,)
|
|
144
162
|
account_sid (str): [optional] # noqa: E501
|
|
163
|
+
api_key_id (str): [optional] # noqa: E501
|
|
164
|
+
api_key_name (str): [optional] # noqa: E501
|
|
165
|
+
api_key_secret (str): [optional] # noqa: E501
|
|
145
166
|
auth_token (str): [optional] # noqa: E501
|
|
146
167
|
esp_twilio_uuid (str): [optional] # noqa: E501
|
|
168
|
+
inbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
169
|
+
outbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
147
170
|
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
|
+
twilio_workspace_sid (str): [optional] # noqa: E501
|
|
148
175
|
"""
|
|
149
176
|
|
|
150
177
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,9 +258,18 @@ class Twilio(ModelNormal):
|
|
|
231
258
|
through its discriminator because we passed in
|
|
232
259
|
_visited_composed_classes = (Animal,)
|
|
233
260
|
account_sid (str): [optional] # noqa: E501
|
|
261
|
+
api_key_id (str): [optional] # noqa: E501
|
|
262
|
+
api_key_name (str): [optional] # noqa: E501
|
|
263
|
+
api_key_secret (str): [optional] # noqa: E501
|
|
234
264
|
auth_token (str): [optional] # noqa: E501
|
|
235
265
|
esp_twilio_uuid (str): [optional] # noqa: E501
|
|
266
|
+
inbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
267
|
+
outbound_twiml_app_sid (str): [optional] # noqa: E501
|
|
236
268
|
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
|
+
twilio_workspace_sid (str): [optional] # noqa: E501
|
|
237
273
|
"""
|
|
238
274
|
|
|
239
275
|
_check_type = kwargs.pop('_check_type', True)
|
ultracart/models/__init__.py
CHANGED
|
@@ -399,9 +399,14 @@ from ultracart.model.email_sending_domain_response import EmailSendingDomainResp
|
|
|
399
399
|
from ultracart.model.email_sending_domains_response import EmailSendingDomainsResponse
|
|
400
400
|
from ultracart.model.email_settings import EmailSettings
|
|
401
401
|
from ultracart.model.email_settings_response import EmailSettingsResponse
|
|
402
|
+
from ultracart.model.email_sms_order import EmailSmsOrder
|
|
403
|
+
from ultracart.model.email_sms_orders_response import EmailSmsOrdersResponse
|
|
404
|
+
from ultracart.model.email_sms_stat import EmailSmsStat
|
|
402
405
|
from ultracart.model.email_stat import EmailStat
|
|
403
406
|
from ultracart.model.email_stat_postcard_summary_request import EmailStatPostcardSummaryRequest
|
|
404
407
|
from ultracart.model.email_stat_postcard_summary_response import EmailStatPostcardSummaryResponse
|
|
408
|
+
from ultracart.model.email_stat_sms_summary_request import EmailStatSmsSummaryRequest
|
|
409
|
+
from ultracart.model.email_stat_sms_summary_response import EmailStatSmsSummaryResponse
|
|
405
410
|
from ultracart.model.email_stat_summary_request import EmailStatSummaryRequest
|
|
406
411
|
from ultracart.model.email_stat_summary_response import EmailStatSummaryResponse
|
|
407
412
|
from ultracart.model.email_step_stat import EmailStepStat
|
|
@@ -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=Ew2QSSooIRilsdeTc8fhoRSb-rV4STqBtDMf8sOX0cw,699
|
|
2
|
+
ultracart/api_client.py,sha256=H-oGDZdqYwpy8y8eHxODQqDgEs5Uw_pKAZ-xgyRW-eI,39072
|
|
3
|
+
ultracart/configuration.py,sha256=BPknEw3IfAoLnjS8WsbZf23AHFc5wMUa4ptAT5Ol7OU,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=rMJeimsg5tkrt8Vrx7kt9KmmUGAE6VD4aBSufryuusc,123
|
|
|
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=WymB8Zoi_YYgIj5F4PJrKuoOb7s6sV2QXDZ55m3Ep68,994705
|
|
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
|
|
@@ -156,7 +156,7 @@ ultracart/model/checkout_setup_browser_key_response.py,sha256=HHkfgHDcOps7jAp8RB
|
|
|
156
156
|
ultracart/model/checkout_state_province_response.py,sha256=QD6yupUWG_6ocSN83krfw7-eaN0YzxtLvatnUuci10Y,11698
|
|
157
157
|
ultracart/model/city_state_zip.py,sha256=goGnlh4nzcsV1p8iNeFm4y6LP2TrtHIVjBPrHCDNBas,12129
|
|
158
158
|
ultracart/model/conversation.py,sha256=GzwEq5ZCV02WfWPE7zyJvbZz-MX1KIdBxij-zelOfYc,17213
|
|
159
|
-
ultracart/model/conversation_agent_auth.py,sha256=
|
|
159
|
+
ultracart/model/conversation_agent_auth.py,sha256=1qSr7oYyNXDnpmiZCpAR36IptbTOfXWACzR8KEnMRwU,13882
|
|
160
160
|
ultracart/model/conversation_agent_auth_response.py,sha256=boVaC_JNOUGPlmxX2E-QdQWFLAJMS8GC4OWMRYaCjNM,12906
|
|
161
161
|
ultracart/model/conversation_agent_profile.py,sha256=vqIOHdbPLr3tgNMwe_Ufx_disp3Q_80aOStSZSXwAEQ,13813
|
|
162
162
|
ultracart/model/conversation_agent_profile_response.py,sha256=vlWWfOZOgHoUuA74xY23jQ9bk4yBZkBbhFWAKiv1mq0,12951
|
|
@@ -217,7 +217,7 @@ ultracart/model/conversations_response.py,sha256=UH-neW92zsNopnNPqes4H_DK50DAAJ4
|
|
|
217
217
|
ultracart/model/countries_response.py,sha256=q-ruWG0-GztnLRlBXLu0dB6Oj61KSykc1IkJxQEsn1A,11590
|
|
218
218
|
ultracart/model/country.py,sha256=nUmb2z_K5cMXTrYo6q89uOwG8E-wVzCD8xdmuEQUK-M,11743
|
|
219
219
|
ultracart/model/coupon.py,sha256=4dNOGHdsbDwZZtJxSXMxJL3gbV-Joej1Kb9zfuRixk4,46360
|
|
220
|
-
ultracart/model/coupon_amount_off_items.py,sha256=
|
|
220
|
+
ultracart/model/coupon_amount_off_items.py,sha256=TY1Yet8vytZn4lVC5LoVMp_S6PDuXIhi9em9il8vIPg,12934
|
|
221
221
|
ultracart/model/coupon_amount_off_shipping.py,sha256=NDofPRXoRAHASYjRZ4clem11EQkEheDi7cR-uB1ejdo,12360
|
|
222
222
|
ultracart/model/coupon_amount_off_shipping_with_items_purchase.py,sha256=_rVtYs1oxbt5Uudmn-nIZx4GRTiHSCy0CKkzsE8Vni0,12756
|
|
223
223
|
ultracart/model/coupon_amount_off_subtotal.py,sha256=OC3C8OhZRR2YbOxl0uOv9bFstGA4kwx-Vssb447y024,11988
|
|
@@ -230,16 +230,16 @@ ultracart/model/coupon_amount_shipping_with_subtotal.py,sha256=OEWjjI0z0UHTi9MaL
|
|
|
230
230
|
ultracart/model/coupon_auto_apply_condition.py,sha256=2g1QprPTT8X55lqacTSVIhc0J00bI4NVxmYiwMnS6zs,12434
|
|
231
231
|
ultracart/model/coupon_auto_apply_conditions.py,sha256=Yke-ihoRy_KhRoynj7MOImXoXZdYnErugcEmYOaJ3xM,13244
|
|
232
232
|
ultracart/model/coupon_automatically_apply_coupon_codes.py,sha256=GMX_buGZKwFMVO_8_WIeXd4_RJwok3JKZP9eQbtps_Q,11634
|
|
233
|
-
ultracart/model/coupon_buy_one_get_one_limit.py,sha256=
|
|
233
|
+
ultracart/model/coupon_buy_one_get_one_limit.py,sha256=8_IdWLAIU_PwforyjKfjrcHWkSy3-9FaPMpEwmSW14Q,12301
|
|
234
234
|
ultracart/model/coupon_codes_request.py,sha256=gd9XLBgg4HAImlF2V8C1IPHiSihYnsqHwfLknzKwf34,13238
|
|
235
235
|
ultracart/model/coupon_codes_response.py,sha256=k98fxfJqEDKRM-OAmuOxbeEA030LhuOHTHNvbr6QvBE,12987
|
|
236
236
|
ultracart/model/coupon_deletes_request.py,sha256=3_KGQJlJnWc4Z99Faq2YSGTYbUyuE1uDCKLX4JcPrQ0,11728
|
|
237
|
-
ultracart/model/coupon_discount_item_with_item_purchase.py,sha256=
|
|
237
|
+
ultracart/model/coupon_discount_item_with_item_purchase.py,sha256=Fn7lExYBpJ4vxc2wwnWA6djQgL1ZzKHb2Mtpjevx8QA,14100
|
|
238
238
|
ultracart/model/coupon_discount_items.py,sha256=xnkO_MyWawCrX_Q9yOr4AemepfIOjH2h4MbMpcIzsx8,12597
|
|
239
239
|
ultracart/model/coupon_editor_values.py,sha256=jV2OeOSCLYWBlxqIWelmoTft4tL-ystJiHHVKy62S7s,14605
|
|
240
240
|
ultracart/model/coupon_exists_response.py,sha256=iMMrWeeSswOpjp7JRiLXPpFTpwepXmrrBgbTHkLNIAk,12922
|
|
241
241
|
ultracart/model/coupon_free_item_and_shipping_with_subtotal.py,sha256=kdg4-X9WuPy7lcaw9ntRwlarWDGKwWO_qNhYn_g99kw,13078
|
|
242
|
-
ultracart/model/coupon_free_item_with_item_purchase.py,sha256=
|
|
242
|
+
ultracart/model/coupon_free_item_with_item_purchase.py,sha256=ZyDbVcs2T90JKP22u7wTQsaEn1wtutP3WATot0U_i8Y,13801
|
|
243
243
|
ultracart/model/coupon_free_item_with_item_purchase_and_free_shipping.py,sha256=x3RxMrsgaG0ylSpOPyFLL1nyh4WCKfxz7cTks-cng8o,13107
|
|
244
244
|
ultracart/model/coupon_free_item_with_subtotal.py,sha256=7Aitk9FOlgZdUF3RN81LLQ27l2vLtEiuUAH1Q4lFVuU,12707
|
|
245
245
|
ultracart/model/coupon_free_items_with_item_purchase.py,sha256=EDjSitEtJ9TzStRIFLLLJPOyGJApcTeAwHQIb6RBt8o,13219
|
|
@@ -259,7 +259,7 @@ ultracart/model/coupon_percent_more_loyalty_points.py,sha256=ifdxmojWZflkTOGEEz0
|
|
|
259
259
|
ultracart/model/coupon_percent_off_item_with_items_quantity_purchase.py,sha256=7mdPXUI9FNISj1JPBgrxm9Te0wc-72ofCADMCCO4lh8,13207
|
|
260
260
|
ultracart/model/coupon_percent_off_items.py,sha256=TC4vAyXrUNtWoFrrtC_MLa9giSmF3K9Lt_fzgVLAKIU,13413
|
|
261
261
|
ultracart/model/coupon_percent_off_items_and_free_shipping.py,sha256=YdxAEF3SNuneW1Lj2nf2Xf0fEKSpKgG6t9uD2ua2KsU,13167
|
|
262
|
-
ultracart/model/coupon_percent_off_items_with_items_purchase.py,sha256=
|
|
262
|
+
ultracart/model/coupon_percent_off_items_with_items_purchase.py,sha256=eb7kZVvcAlD99NkFYHQT8AiCMq8LTPoP-Me42xu6MWY,13617
|
|
263
263
|
ultracart/model/coupon_percent_off_msrp_items.py,sha256=T7scqhWXfFB1onxbjPMc_vn0md9T2Xn5GukntZa3OCQ,13219
|
|
264
264
|
ultracart/model/coupon_percent_off_retail_price_items.py,sha256=IAtfRS4OifVpaiQYzg-RbM71EfPGbzRJZXpKz1GLhZE,12633
|
|
265
265
|
ultracart/model/coupon_percent_off_shipping.py,sha256=ecRkmRgnFelHCXOagz51rykjVKY5E9ZwoE8tOy-Fwdk,11933
|
|
@@ -418,9 +418,14 @@ ultracart/model/email_sending_domain_response.py,sha256=Y3y23P2isFZfvk74xjigpRiP
|
|
|
418
418
|
ultracart/model/email_sending_domains_response.py,sha256=joGAn59RH4vQ-c2K84TFB1Y1lbvwqcf_8h-4ewyY9M0,12820
|
|
419
419
|
ultracart/model/email_settings.py,sha256=7dVBZkkhQSYOP6c4HkQB3tadaf4_XeelqAT1JaETZJI,16599
|
|
420
420
|
ultracart/model/email_settings_response.py,sha256=10aZVw1_NF4-1kv9wUf4YoFTzGTZdwopjLOfru5UjiA,12815
|
|
421
|
+
ultracart/model/email_sms_order.py,sha256=rDYQDbDeb87_oHDwaJggmW--2mFoGrd0GpmuFymFuBc,12199
|
|
422
|
+
ultracart/model/email_sms_orders_response.py,sha256=opsk8B7GIqIuMYNSyNXxup1SxKVzaLSNyqbhFUFOiAQ,12815
|
|
423
|
+
ultracart/model/email_sms_stat.py,sha256=SM0XKL0LgVUizS9LsOSWUqnAoQa9e_TIon5Hi4-5C54,19796
|
|
421
424
|
ultracart/model/email_stat.py,sha256=sEnNTmNvboHcGpbIA0sgG2b2QOZBlf8jLKOwUV1cOhQ,22364
|
|
422
425
|
ultracart/model/email_stat_postcard_summary_request.py,sha256=gMgtKHTbHhD0zv9-cLy-qXvsPxcn6UaI_JpLxqA8ft0,11716
|
|
423
426
|
ultracart/model/email_stat_postcard_summary_response.py,sha256=7RGCbUcKuM6lxzvAEMLwGXFixg39Pj1LYUG44zkTYSw,12868
|
|
427
|
+
ultracart/model/email_stat_sms_summary_request.py,sha256=C35ltbxw57QPiBGa_KmcCMoQNp72Guvm7Ak27TCwS0E,11681
|
|
428
|
+
ultracart/model/email_stat_sms_summary_response.py,sha256=A3KpxqK7nPA293ExdQHxOEsVV04fdlUzEQ-T2mdrk9A,12818
|
|
424
429
|
ultracart/model/email_stat_summary_request.py,sha256=bKBjaTIBijL5fXE8To3SCKXWyfufIkY_rgSgKUgWPNg,11931
|
|
425
430
|
ultracart/model/email_stat_summary_response.py,sha256=tB8NkzB_A9t_zNpUCqz8MVWBgwiW2u10o_9sSn5Tyqw,12787
|
|
426
431
|
ultracart/model/email_step_stat.py,sha256=0vLcZ7HO6hwDharMthtvQ-TzLwcWuuVYr4eEElxrLbk,21286
|
|
@@ -661,7 +666,7 @@ ultracart/model/permission.py,sha256=qwqDTeQbWnr0PpNqgLLJalAeIsaiNMSd7lcJaL1srAw
|
|
|
661
666
|
ultracart/model/point_of_sale_location.py,sha256=AjDGDqv4P14-u1qvixePs1NTsaQ-Bn3u5hkBp61i9zY,14157
|
|
662
667
|
ultracart/model/point_of_sale_reader.py,sha256=jzPeLsgyDKBT2scyAZWGrHG-gIK4e6ZQwoZMR-peTKA,14338
|
|
663
668
|
ultracart/model/point_of_sale_register.py,sha256=eKAWoqyQSYNSmXVou2e3NWmX7GQHLHJ3nPNsfIKLYKw,12515
|
|
664
|
-
ultracart/model/pricing_tier.py,sha256=
|
|
669
|
+
ultracart/model/pricing_tier.py,sha256=d3dGZegcMxsGYf18zFlaJ9WQlhRUPrcLzlxDPIbF3ck,22038
|
|
665
670
|
ultracart/model/pricing_tier_notification.py,sha256=u3T91ruDTYg7Kiqi2jm6-goMbGGtCSb7CDG5lTSLOew,12053
|
|
666
671
|
ultracart/model/pricing_tiers_response.py,sha256=811NZAobIBNgdVZB5Z1-GIKZN85NalCSwO7GdZt2xFc,12858
|
|
667
672
|
ultracart/model/publish_library_item_request.py,sha256=1CQbosYqBdfh8VBWdUkpCycfXwAw5VAFCh70Uf9Gyh0,11551
|
|
@@ -788,7 +793,7 @@ ultracart/model/transaction_email.py,sha256=oM2vsycRzvd5uJaHneuMX61LruSXZu1wPRAu
|
|
|
788
793
|
ultracart/model/transaction_email_list_response.py,sha256=9qxvbfNLtZM1A17-8CxF47DqkBna5NNKYjYV2j_XhZY,12719
|
|
789
794
|
ultracart/model/transaction_email_option.py,sha256=HzJGTc2IqvJ5ROkXBo0_A77cFy-NM2ojkFR6LPtHEPQ,13055
|
|
790
795
|
ultracart/model/transaction_email_response.py,sha256=rY7VXZHanNiH11v-0ypA7dw4OWb9ru-npGz8c5N0_4c,12830
|
|
791
|
-
ultracart/model/twilio.py,sha256=
|
|
796
|
+
ultracart/model/twilio.py,sha256=GQlvoDoNGMWqBDg7cV0wzJL-dx2wCS5flSC0OcaUYlQ,14204
|
|
792
797
|
ultracart/model/twilio_response.py,sha256=tafjuSNKSN2kVKV0fx4KErHCb_ULKN1dcnYO5sajI3Y,12947
|
|
793
798
|
ultracart/model/twilios_response.py,sha256=ZeDAO102n3tY_yNAK-UwF5n_ca02RueNhZwP_8srjrM,12748
|
|
794
799
|
ultracart/model/ultra_cart_config.py,sha256=Tu3gB-GZ8tenS3r46nYnU9-omdnK0ktJHa2Hfpdftaw,11616
|
|
@@ -828,9 +833,9 @@ ultracart/model/workflow_tasks_response.py,sha256=KmHe72xKnZiS9CemBr5hluY5EsU9_x
|
|
|
828
833
|
ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE41k,11903
|
|
829
834
|
ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
|
|
830
835
|
ultracart/model/workflow_users_response.py,sha256=uVrMVVk_hsX94W_exep-rKCwvv772Ocdw19UO1YL27g,12813
|
|
831
|
-
ultracart/models/__init__.py,sha256=
|
|
832
|
-
ultracart_rest_sdk-4.0.
|
|
833
|
-
ultracart_rest_sdk-4.0.
|
|
834
|
-
ultracart_rest_sdk-4.0.
|
|
835
|
-
ultracart_rest_sdk-4.0.
|
|
836
|
-
ultracart_rest_sdk-4.0.
|
|
836
|
+
ultracart/models/__init__.py,sha256=9G0ffsNr1Nsskt9XNOmAnQkdeCIf6-CdjV9QwlvHbxo,61360
|
|
837
|
+
ultracart_rest_sdk-4.0.201.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
838
|
+
ultracart_rest_sdk-4.0.201.dist-info/METADATA,sha256=kYNlJ52Ph2wCSdJuq3GNMVNeffaq1By5uhikWA4MiUw,403
|
|
839
|
+
ultracart_rest_sdk-4.0.201.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
840
|
+
ultracart_rest_sdk-4.0.201.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
841
|
+
ultracart_rest_sdk-4.0.201.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|