ultracart-rest-sdk 4.0.168__py3-none-any.whl → 4.0.170__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/order_api.py +138 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/email_settings.py +12 -0
- ultracart/model/order_payment.py +2 -0
- ultracart/model/order_query.py +3 -0
- ultracart/model/order_validation_request.py +274 -0
- ultracart/model/order_validation_response.py +272 -0
- ultracart/model/report.py +4 -0
- ultracart/model/report_page.py +4 -0
- ultracart/models/__init__.py +2 -0
- {ultracart_rest_sdk-4.0.168.dist-info → ultracart_rest_sdk-4.0.170.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.168.dist-info → ultracart_rest_sdk-4.0.170.dist-info}/RECORD +17 -15
- {ultracart_rest_sdk-4.0.168.dist-info → ultracart_rest_sdk-4.0.170.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.168.dist-info → ultracart_rest_sdk-4.0.170.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.168.dist-info → ultracart_rest_sdk-4.0.170.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
ultracart/api/order_api.py
CHANGED
|
@@ -43,6 +43,8 @@ from ultracart.model.order_replacement import OrderReplacement
|
|
|
43
43
|
from ultracart.model.order_replacement_response import OrderReplacementResponse
|
|
44
44
|
from ultracart.model.order_response import OrderResponse
|
|
45
45
|
from ultracart.model.order_token_response import OrderTokenResponse
|
|
46
|
+
from ultracart.model.order_validation_request import OrderValidationRequest
|
|
47
|
+
from ultracart.model.order_validation_response import OrderValidationResponse
|
|
46
48
|
from ultracart.model.orders_response import OrdersResponse
|
|
47
49
|
|
|
48
50
|
|
|
@@ -1711,6 +1713,59 @@ class OrderApi(object):
|
|
|
1711
1713
|
},
|
|
1712
1714
|
api_client=api_client
|
|
1713
1715
|
)
|
|
1716
|
+
self.validate_order_endpoint = _Endpoint(
|
|
1717
|
+
settings={
|
|
1718
|
+
'response_type': (OrderValidationResponse,),
|
|
1719
|
+
'auth': [
|
|
1720
|
+
'ultraCartOauth',
|
|
1721
|
+
'ultraCartSimpleApiKey'
|
|
1722
|
+
],
|
|
1723
|
+
'endpoint_path': '/order/validate',
|
|
1724
|
+
'operation_id': 'validate_order',
|
|
1725
|
+
'http_method': 'POST',
|
|
1726
|
+
'servers': None,
|
|
1727
|
+
},
|
|
1728
|
+
params_map={
|
|
1729
|
+
'all': [
|
|
1730
|
+
'validation_request',
|
|
1731
|
+
],
|
|
1732
|
+
'required': [
|
|
1733
|
+
'validation_request',
|
|
1734
|
+
],
|
|
1735
|
+
'nullable': [
|
|
1736
|
+
],
|
|
1737
|
+
'enum': [
|
|
1738
|
+
],
|
|
1739
|
+
'validation': [
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
root_map={
|
|
1743
|
+
'validations': {
|
|
1744
|
+
},
|
|
1745
|
+
'allowed_values': {
|
|
1746
|
+
},
|
|
1747
|
+
'openapi_types': {
|
|
1748
|
+
'validation_request':
|
|
1749
|
+
(OrderValidationRequest,),
|
|
1750
|
+
},
|
|
1751
|
+
'attribute_map': {
|
|
1752
|
+
},
|
|
1753
|
+
'location_map': {
|
|
1754
|
+
'validation_request': 'body',
|
|
1755
|
+
},
|
|
1756
|
+
'collection_format_map': {
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
headers_map={
|
|
1760
|
+
'accept': [
|
|
1761
|
+
'application/json'
|
|
1762
|
+
],
|
|
1763
|
+
'content_type': [
|
|
1764
|
+
'application/json'
|
|
1765
|
+
]
|
|
1766
|
+
},
|
|
1767
|
+
api_client=api_client
|
|
1768
|
+
)
|
|
1714
1769
|
|
|
1715
1770
|
def adjust_order_total(
|
|
1716
1771
|
self,
|
|
@@ -3935,3 +3990,86 @@ class OrderApi(object):
|
|
|
3935
3990
|
order
|
|
3936
3991
|
return self.update_order_endpoint.call_with_http_info(**kwargs)
|
|
3937
3992
|
|
|
3993
|
+
def validate_order(
|
|
3994
|
+
self,
|
|
3995
|
+
validation_request,
|
|
3996
|
+
**kwargs
|
|
3997
|
+
):
|
|
3998
|
+
"""Validate # noqa: E501
|
|
3999
|
+
|
|
4000
|
+
Validate the order for errors. Specific checks can be passed to fine tune what is validated. Read and write permissions are required because the validate method may fix obvious address issues automatically which require update permission.This rest call makes use of the built-in translation of rest objects to UltraCart internal objects which also contains a multitude of validation checks that cannot be trapped. Therefore any time this call is made, you should also trap api exceptions and examine their content because it may contain validation issues. So check the response object and trap any exceptions. # noqa: E501
|
|
4001
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4002
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4003
|
+
|
|
4004
|
+
>>> thread = api.validate_order(validation_request, async_req=True)
|
|
4005
|
+
>>> result = thread.get()
|
|
4006
|
+
|
|
4007
|
+
Args:
|
|
4008
|
+
validation_request (OrderValidationRequest): Validation request
|
|
4009
|
+
|
|
4010
|
+
Keyword Args:
|
|
4011
|
+
_return_http_data_only (bool): response data without head status
|
|
4012
|
+
code and headers. Default is True.
|
|
4013
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4014
|
+
will be returned without reading/decoding response data.
|
|
4015
|
+
Default is True.
|
|
4016
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4017
|
+
one number provided, it will be total request timeout. It can also
|
|
4018
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
4019
|
+
Default is None.
|
|
4020
|
+
_check_input_type (bool): specifies if type checking
|
|
4021
|
+
should be done one the data sent to the server.
|
|
4022
|
+
Default is True.
|
|
4023
|
+
_check_return_type (bool): specifies if type checking
|
|
4024
|
+
should be done one the data received from the server.
|
|
4025
|
+
Default is True.
|
|
4026
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
4027
|
+
are serialized names, as specified in the OpenAPI document.
|
|
4028
|
+
False if the variable names in the input data
|
|
4029
|
+
are pythonic names, e.g. snake case (default)
|
|
4030
|
+
_content_type (str/None): force body content-type.
|
|
4031
|
+
Default is None and content-type will be predicted by allowed
|
|
4032
|
+
content-types and body.
|
|
4033
|
+
_host_index (int/None): specifies the index of the server
|
|
4034
|
+
that we want to use.
|
|
4035
|
+
Default is read from the configuration.
|
|
4036
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
4037
|
+
request; this effectively ignores the authentication
|
|
4038
|
+
in the spec for a single request.
|
|
4039
|
+
Default is None
|
|
4040
|
+
async_req (bool): execute request asynchronously
|
|
4041
|
+
|
|
4042
|
+
Returns:
|
|
4043
|
+
OrderValidationResponse
|
|
4044
|
+
If the method is called asynchronously, returns the request
|
|
4045
|
+
thread.
|
|
4046
|
+
"""
|
|
4047
|
+
kwargs['async_req'] = kwargs.get(
|
|
4048
|
+
'async_req', False
|
|
4049
|
+
)
|
|
4050
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4051
|
+
'_return_http_data_only', True
|
|
4052
|
+
)
|
|
4053
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
4054
|
+
'_preload_content', True
|
|
4055
|
+
)
|
|
4056
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
4057
|
+
'_request_timeout', None
|
|
4058
|
+
)
|
|
4059
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
4060
|
+
'_check_input_type', True
|
|
4061
|
+
)
|
|
4062
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
4063
|
+
'_check_return_type', True
|
|
4064
|
+
)
|
|
4065
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4066
|
+
'_spec_property_naming', False
|
|
4067
|
+
)
|
|
4068
|
+
kwargs['_content_type'] = kwargs.get(
|
|
4069
|
+
'_content_type')
|
|
4070
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4071
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4072
|
+
kwargs['validation_request'] = \
|
|
4073
|
+
validation_request
|
|
4074
|
+
return self.validate_order_endpoint.call_with_http_info(**kwargs)
|
|
4075
|
+
|
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.170/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.170".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
|
@@ -82,6 +82,9 @@ class EmailSettings(ModelNormal):
|
|
|
82
82
|
and the value is attribute type.
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
|
+
'emails_per_day': (int,), # noqa: E501
|
|
86
|
+
'emails_per_hour': (int,), # noqa: E501
|
|
87
|
+
'emails_per_month': (int,), # noqa: E501
|
|
85
88
|
'marketing_esp_domain_user': (str,), # noqa: E501
|
|
86
89
|
'marketing_esp_domain_uuid': (str,), # noqa: E501
|
|
87
90
|
'marketing_esp_friendly_name': (str,), # noqa: E501
|
|
@@ -105,6 +108,9 @@ class EmailSettings(ModelNormal):
|
|
|
105
108
|
|
|
106
109
|
|
|
107
110
|
attribute_map = {
|
|
111
|
+
'emails_per_day': 'emails_per_day', # noqa: E501
|
|
112
|
+
'emails_per_hour': 'emails_per_hour', # noqa: E501
|
|
113
|
+
'emails_per_month': 'emails_per_month', # noqa: E501
|
|
108
114
|
'marketing_esp_domain_user': 'marketing_esp_domain_user', # noqa: E501
|
|
109
115
|
'marketing_esp_domain_uuid': 'marketing_esp_domain_uuid', # noqa: E501
|
|
110
116
|
'marketing_esp_friendly_name': 'marketing_esp_friendly_name', # noqa: E501
|
|
@@ -163,6 +169,9 @@ class EmailSettings(ModelNormal):
|
|
|
163
169
|
Animal class but this time we won't travel
|
|
164
170
|
through its discriminator because we passed in
|
|
165
171
|
_visited_composed_classes = (Animal,)
|
|
172
|
+
emails_per_day (int): Emails per day allowed. [optional] # noqa: E501
|
|
173
|
+
emails_per_hour (int): Emails per hour allowed. [optional] # noqa: E501
|
|
174
|
+
emails_per_month (int): Emails per month allowed. [optional] # noqa: E501
|
|
166
175
|
marketing_esp_domain_user (str): [optional] # noqa: E501
|
|
167
176
|
marketing_esp_domain_uuid (str): [optional] # noqa: E501
|
|
168
177
|
marketing_esp_friendly_name (str): [optional] # noqa: E501
|
|
@@ -263,6 +272,9 @@ class EmailSettings(ModelNormal):
|
|
|
263
272
|
Animal class but this time we won't travel
|
|
264
273
|
through its discriminator because we passed in
|
|
265
274
|
_visited_composed_classes = (Animal,)
|
|
275
|
+
emails_per_day (int): Emails per day allowed. [optional] # noqa: E501
|
|
276
|
+
emails_per_hour (int): Emails per hour allowed. [optional] # noqa: E501
|
|
277
|
+
emails_per_month (int): Emails per month allowed. [optional] # noqa: E501
|
|
266
278
|
marketing_esp_domain_user (str): [optional] # noqa: E501
|
|
267
279
|
marketing_esp_domain_uuid (str): [optional] # noqa: E501
|
|
268
280
|
marketing_esp_friendly_name (str): [optional] # noqa: E501
|
ultracart/model/order_payment.py
CHANGED
ultracart/model/order_query.py
CHANGED
|
@@ -0,0 +1,274 @@
|
|
|
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.order import Order
|
|
35
|
+
globals()['Order'] = Order
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class OrderValidationRequest(ModelNormal):
|
|
39
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
40
|
+
Ref: https://openapi-generator.tech
|
|
41
|
+
|
|
42
|
+
Do not edit the class manually.
|
|
43
|
+
|
|
44
|
+
Attributes:
|
|
45
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
46
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
47
|
+
with a capitalized key describing the allowed value and an allowed
|
|
48
|
+
value. These dicts store the allowed enum values.
|
|
49
|
+
attribute_map (dict): The key is attribute name
|
|
50
|
+
and the value is json key in definition.
|
|
51
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
52
|
+
variable value to the discriminator class name.
|
|
53
|
+
validations (dict): The key is the tuple path to the attribute
|
|
54
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
55
|
+
that stores validations for max_length, min_length, max_items,
|
|
56
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
57
|
+
inclusive_minimum, and regex.
|
|
58
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
59
|
+
as additional properties values.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
allowed_values = {
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validations = {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@cached_property
|
|
69
|
+
def additional_properties_type():
|
|
70
|
+
"""
|
|
71
|
+
This must be a method because a model may have properties that are
|
|
72
|
+
of type self, this must run after the class is loaded
|
|
73
|
+
"""
|
|
74
|
+
lazy_import()
|
|
75
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
76
|
+
|
|
77
|
+
_nullable = False
|
|
78
|
+
|
|
79
|
+
@cached_property
|
|
80
|
+
def openapi_types():
|
|
81
|
+
"""
|
|
82
|
+
This must be a method because a model may have properties that are
|
|
83
|
+
of type self, this must run after the class is loaded
|
|
84
|
+
|
|
85
|
+
Returns
|
|
86
|
+
openapi_types (dict): The key is attribute name
|
|
87
|
+
and the value is attribute type.
|
|
88
|
+
"""
|
|
89
|
+
lazy_import()
|
|
90
|
+
return {
|
|
91
|
+
'checks': ([str],), # noqa: E501
|
|
92
|
+
'order': (Order,), # noqa: E501
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@cached_property
|
|
96
|
+
def discriminator():
|
|
97
|
+
return None
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
attribute_map = {
|
|
101
|
+
'checks': 'checks', # noqa: E501
|
|
102
|
+
'order': 'order', # noqa: E501
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
read_only_vars = {
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
_composed_schemas = {}
|
|
109
|
+
|
|
110
|
+
@classmethod
|
|
111
|
+
@convert_js_args_to_python_args
|
|
112
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
113
|
+
"""OrderValidationRequest - a model defined in OpenAPI
|
|
114
|
+
|
|
115
|
+
Keyword Args:
|
|
116
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
117
|
+
will be type checked and a TypeError will be
|
|
118
|
+
raised if the wrong type is input.
|
|
119
|
+
Defaults to True
|
|
120
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
121
|
+
drill down to the model in received_data
|
|
122
|
+
when deserializing a response
|
|
123
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
124
|
+
are serialized names, as specified in the OpenAPI document.
|
|
125
|
+
False if the variable names in the input data
|
|
126
|
+
are pythonic names, e.g. snake case (default)
|
|
127
|
+
_configuration (Configuration): the instance to use when
|
|
128
|
+
deserializing a file_type parameter.
|
|
129
|
+
If passed, type conversion is attempted
|
|
130
|
+
If omitted no type conversion is done.
|
|
131
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
132
|
+
classes that we have traveled through so that
|
|
133
|
+
if we see that class again we will not use its
|
|
134
|
+
discriminator again.
|
|
135
|
+
When traveling through a discriminator, the
|
|
136
|
+
composed schema that is
|
|
137
|
+
is traveled through is added to this set.
|
|
138
|
+
For example if Animal has a discriminator
|
|
139
|
+
petType and we pass in "Dog", and the class Dog
|
|
140
|
+
allOf includes Animal, we move through Animal
|
|
141
|
+
once using the discriminator, and pick Dog.
|
|
142
|
+
Then in Dog, we will make an instance of the
|
|
143
|
+
Animal class but this time we won't travel
|
|
144
|
+
through its discriminator because we passed in
|
|
145
|
+
_visited_composed_classes = (Animal,)
|
|
146
|
+
checks ([str]): Checks to perform. [optional] # noqa: E501
|
|
147
|
+
order (Order): [optional] # noqa: E501
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
151
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
152
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
153
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
154
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
155
|
+
|
|
156
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
157
|
+
|
|
158
|
+
if args:
|
|
159
|
+
for arg in args:
|
|
160
|
+
if isinstance(arg, dict):
|
|
161
|
+
kwargs.update(arg)
|
|
162
|
+
else:
|
|
163
|
+
raise ApiTypeError(
|
|
164
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
165
|
+
args,
|
|
166
|
+
self.__class__.__name__,
|
|
167
|
+
),
|
|
168
|
+
path_to_item=_path_to_item,
|
|
169
|
+
valid_classes=(self.__class__,),
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
self._data_store = {}
|
|
173
|
+
self._check_type = _check_type
|
|
174
|
+
self._spec_property_naming = _spec_property_naming
|
|
175
|
+
self._path_to_item = _path_to_item
|
|
176
|
+
self._configuration = _configuration
|
|
177
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
|
+
|
|
179
|
+
for var_name, var_value in kwargs.items():
|
|
180
|
+
if var_name not in self.attribute_map and \
|
|
181
|
+
self._configuration is not None and \
|
|
182
|
+
self._configuration.discard_unknown_keys and \
|
|
183
|
+
self.additional_properties_type is None:
|
|
184
|
+
# discard variable.
|
|
185
|
+
continue
|
|
186
|
+
setattr(self, var_name, var_value)
|
|
187
|
+
return self
|
|
188
|
+
|
|
189
|
+
required_properties = set([
|
|
190
|
+
'_data_store',
|
|
191
|
+
'_check_type',
|
|
192
|
+
'_spec_property_naming',
|
|
193
|
+
'_path_to_item',
|
|
194
|
+
'_configuration',
|
|
195
|
+
'_visited_composed_classes',
|
|
196
|
+
])
|
|
197
|
+
|
|
198
|
+
@convert_js_args_to_python_args
|
|
199
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
200
|
+
"""OrderValidationRequest - a model defined in OpenAPI
|
|
201
|
+
|
|
202
|
+
Keyword Args:
|
|
203
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
204
|
+
will be type checked and a TypeError will be
|
|
205
|
+
raised if the wrong type is input.
|
|
206
|
+
Defaults to True
|
|
207
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
208
|
+
drill down to the model in received_data
|
|
209
|
+
when deserializing a response
|
|
210
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
211
|
+
are serialized names, as specified in the OpenAPI document.
|
|
212
|
+
False if the variable names in the input data
|
|
213
|
+
are pythonic names, e.g. snake case (default)
|
|
214
|
+
_configuration (Configuration): the instance to use when
|
|
215
|
+
deserializing a file_type parameter.
|
|
216
|
+
If passed, type conversion is attempted
|
|
217
|
+
If omitted no type conversion is done.
|
|
218
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
219
|
+
classes that we have traveled through so that
|
|
220
|
+
if we see that class again we will not use its
|
|
221
|
+
discriminator again.
|
|
222
|
+
When traveling through a discriminator, the
|
|
223
|
+
composed schema that is
|
|
224
|
+
is traveled through is added to this set.
|
|
225
|
+
For example if Animal has a discriminator
|
|
226
|
+
petType and we pass in "Dog", and the class Dog
|
|
227
|
+
allOf includes Animal, we move through Animal
|
|
228
|
+
once using the discriminator, and pick Dog.
|
|
229
|
+
Then in Dog, we will make an instance of the
|
|
230
|
+
Animal class but this time we won't travel
|
|
231
|
+
through its discriminator because we passed in
|
|
232
|
+
_visited_composed_classes = (Animal,)
|
|
233
|
+
checks ([str]): Checks to perform. [optional] # noqa: E501
|
|
234
|
+
order (Order): [optional] # noqa: E501
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
238
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
239
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
240
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
241
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
242
|
+
|
|
243
|
+
if args:
|
|
244
|
+
for arg in args:
|
|
245
|
+
if isinstance(arg, dict):
|
|
246
|
+
kwargs.update(arg)
|
|
247
|
+
else:
|
|
248
|
+
raise ApiTypeError(
|
|
249
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
250
|
+
args,
|
|
251
|
+
self.__class__.__name__,
|
|
252
|
+
),
|
|
253
|
+
path_to_item=_path_to_item,
|
|
254
|
+
valid_classes=(self.__class__,),
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
self._data_store = {}
|
|
258
|
+
self._check_type = _check_type
|
|
259
|
+
self._spec_property_naming = _spec_property_naming
|
|
260
|
+
self._path_to_item = _path_to_item
|
|
261
|
+
self._configuration = _configuration
|
|
262
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
|
+
|
|
264
|
+
for var_name, var_value in kwargs.items():
|
|
265
|
+
if var_name not in self.attribute_map and \
|
|
266
|
+
self._configuration is not None and \
|
|
267
|
+
self._configuration.discard_unknown_keys and \
|
|
268
|
+
self.additional_properties_type is None:
|
|
269
|
+
# discard variable.
|
|
270
|
+
continue
|
|
271
|
+
setattr(self, var_name, var_value)
|
|
272
|
+
if var_name in self.read_only_vars:
|
|
273
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
274
|
+
f"class with read only attributes.")
|
|
@@ -0,0 +1,272 @@
|
|
|
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
|
+
|
|
34
|
+
class OrderValidationResponse(ModelNormal):
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
|
|
40
|
+
Attributes:
|
|
41
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
42
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
43
|
+
with a capitalized key describing the allowed value and an allowed
|
|
44
|
+
value. These dicts store the allowed enum values.
|
|
45
|
+
attribute_map (dict): The key is attribute name
|
|
46
|
+
and the value is json key in definition.
|
|
47
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
48
|
+
variable value to the discriminator class name.
|
|
49
|
+
validations (dict): The key is the tuple path to the attribute
|
|
50
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
51
|
+
that stores validations for max_length, min_length, max_items,
|
|
52
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
53
|
+
inclusive_minimum, and regex.
|
|
54
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
55
|
+
as additional properties values.
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
allowed_values = {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validations = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@cached_property
|
|
65
|
+
def additional_properties_type():
|
|
66
|
+
"""
|
|
67
|
+
This must be a method because a model may have properties that are
|
|
68
|
+
of type self, this must run after the class is loaded
|
|
69
|
+
"""
|
|
70
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
71
|
+
|
|
72
|
+
_nullable = False
|
|
73
|
+
|
|
74
|
+
@cached_property
|
|
75
|
+
def openapi_types():
|
|
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
|
+
Returns
|
|
81
|
+
openapi_types (dict): The key is attribute name
|
|
82
|
+
and the value is attribute type.
|
|
83
|
+
"""
|
|
84
|
+
return {
|
|
85
|
+
'errors': ([str],), # noqa: E501
|
|
86
|
+
'messages': ([str],), # noqa: E501
|
|
87
|
+
'order_was_updated': (bool,), # noqa: E501
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@cached_property
|
|
91
|
+
def discriminator():
|
|
92
|
+
return None
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
attribute_map = {
|
|
96
|
+
'errors': 'errors', # noqa: E501
|
|
97
|
+
'messages': 'messages', # noqa: E501
|
|
98
|
+
'order_was_updated': 'order_was_updated', # noqa: E501
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
read_only_vars = {
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
_composed_schemas = {}
|
|
105
|
+
|
|
106
|
+
@classmethod
|
|
107
|
+
@convert_js_args_to_python_args
|
|
108
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
109
|
+
"""OrderValidationResponse - a model defined in OpenAPI
|
|
110
|
+
|
|
111
|
+
Keyword Args:
|
|
112
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
113
|
+
will be type checked and a TypeError will be
|
|
114
|
+
raised if the wrong type is input.
|
|
115
|
+
Defaults to True
|
|
116
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
117
|
+
drill down to the model in received_data
|
|
118
|
+
when deserializing a response
|
|
119
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
120
|
+
are serialized names, as specified in the OpenAPI document.
|
|
121
|
+
False if the variable names in the input data
|
|
122
|
+
are pythonic names, e.g. snake case (default)
|
|
123
|
+
_configuration (Configuration): the instance to use when
|
|
124
|
+
deserializing a file_type parameter.
|
|
125
|
+
If passed, type conversion is attempted
|
|
126
|
+
If omitted no type conversion is done.
|
|
127
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
128
|
+
classes that we have traveled through so that
|
|
129
|
+
if we see that class again we will not use its
|
|
130
|
+
discriminator again.
|
|
131
|
+
When traveling through a discriminator, the
|
|
132
|
+
composed schema that is
|
|
133
|
+
is traveled through is added to this set.
|
|
134
|
+
For example if Animal has a discriminator
|
|
135
|
+
petType and we pass in "Dog", and the class Dog
|
|
136
|
+
allOf includes Animal, we move through Animal
|
|
137
|
+
once using the discriminator, and pick Dog.
|
|
138
|
+
Then in Dog, we will make an instance of the
|
|
139
|
+
Animal class but this time we won't travel
|
|
140
|
+
through its discriminator because we passed in
|
|
141
|
+
_visited_composed_classes = (Animal,)
|
|
142
|
+
errors ([str]): Errors to display to the merchant if they failed any of the validations checked. [optional] # noqa: E501
|
|
143
|
+
messages ([str]): Informational messages. [optional] # noqa: E501
|
|
144
|
+
order_was_updated (bool): If true, this order was updated during the validation call. This may happen during address standardization fixes.. [optional] # noqa: E501
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
148
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
149
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
150
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
151
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
152
|
+
|
|
153
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
154
|
+
|
|
155
|
+
if args:
|
|
156
|
+
for arg in args:
|
|
157
|
+
if isinstance(arg, dict):
|
|
158
|
+
kwargs.update(arg)
|
|
159
|
+
else:
|
|
160
|
+
raise ApiTypeError(
|
|
161
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
162
|
+
args,
|
|
163
|
+
self.__class__.__name__,
|
|
164
|
+
),
|
|
165
|
+
path_to_item=_path_to_item,
|
|
166
|
+
valid_classes=(self.__class__,),
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
self._data_store = {}
|
|
170
|
+
self._check_type = _check_type
|
|
171
|
+
self._spec_property_naming = _spec_property_naming
|
|
172
|
+
self._path_to_item = _path_to_item
|
|
173
|
+
self._configuration = _configuration
|
|
174
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
175
|
+
|
|
176
|
+
for var_name, var_value in kwargs.items():
|
|
177
|
+
if var_name not in self.attribute_map and \
|
|
178
|
+
self._configuration is not None and \
|
|
179
|
+
self._configuration.discard_unknown_keys and \
|
|
180
|
+
self.additional_properties_type is None:
|
|
181
|
+
# discard variable.
|
|
182
|
+
continue
|
|
183
|
+
setattr(self, var_name, var_value)
|
|
184
|
+
return self
|
|
185
|
+
|
|
186
|
+
required_properties = set([
|
|
187
|
+
'_data_store',
|
|
188
|
+
'_check_type',
|
|
189
|
+
'_spec_property_naming',
|
|
190
|
+
'_path_to_item',
|
|
191
|
+
'_configuration',
|
|
192
|
+
'_visited_composed_classes',
|
|
193
|
+
])
|
|
194
|
+
|
|
195
|
+
@convert_js_args_to_python_args
|
|
196
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
197
|
+
"""OrderValidationResponse - a model defined in OpenAPI
|
|
198
|
+
|
|
199
|
+
Keyword Args:
|
|
200
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
201
|
+
will be type checked and a TypeError will be
|
|
202
|
+
raised if the wrong type is input.
|
|
203
|
+
Defaults to True
|
|
204
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
205
|
+
drill down to the model in received_data
|
|
206
|
+
when deserializing a response
|
|
207
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
208
|
+
are serialized names, as specified in the OpenAPI document.
|
|
209
|
+
False if the variable names in the input data
|
|
210
|
+
are pythonic names, e.g. snake case (default)
|
|
211
|
+
_configuration (Configuration): the instance to use when
|
|
212
|
+
deserializing a file_type parameter.
|
|
213
|
+
If passed, type conversion is attempted
|
|
214
|
+
If omitted no type conversion is done.
|
|
215
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
216
|
+
classes that we have traveled through so that
|
|
217
|
+
if we see that class again we will not use its
|
|
218
|
+
discriminator again.
|
|
219
|
+
When traveling through a discriminator, the
|
|
220
|
+
composed schema that is
|
|
221
|
+
is traveled through is added to this set.
|
|
222
|
+
For example if Animal has a discriminator
|
|
223
|
+
petType and we pass in "Dog", and the class Dog
|
|
224
|
+
allOf includes Animal, we move through Animal
|
|
225
|
+
once using the discriminator, and pick Dog.
|
|
226
|
+
Then in Dog, we will make an instance of the
|
|
227
|
+
Animal class but this time we won't travel
|
|
228
|
+
through its discriminator because we passed in
|
|
229
|
+
_visited_composed_classes = (Animal,)
|
|
230
|
+
errors ([str]): Errors to display to the merchant if they failed any of the validations checked. [optional] # noqa: E501
|
|
231
|
+
messages ([str]): Informational messages. [optional] # noqa: E501
|
|
232
|
+
order_was_updated (bool): If true, this order was updated during the validation call. This may happen during address standardization fixes.. [optional] # noqa: E501
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
236
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
237
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
238
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
239
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
240
|
+
|
|
241
|
+
if args:
|
|
242
|
+
for arg in args:
|
|
243
|
+
if isinstance(arg, dict):
|
|
244
|
+
kwargs.update(arg)
|
|
245
|
+
else:
|
|
246
|
+
raise ApiTypeError(
|
|
247
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
248
|
+
args,
|
|
249
|
+
self.__class__.__name__,
|
|
250
|
+
),
|
|
251
|
+
path_to_item=_path_to_item,
|
|
252
|
+
valid_classes=(self.__class__,),
|
|
253
|
+
)
|
|
254
|
+
|
|
255
|
+
self._data_store = {}
|
|
256
|
+
self._check_type = _check_type
|
|
257
|
+
self._spec_property_naming = _spec_property_naming
|
|
258
|
+
self._path_to_item = _path_to_item
|
|
259
|
+
self._configuration = _configuration
|
|
260
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
261
|
+
|
|
262
|
+
for var_name, var_value in kwargs.items():
|
|
263
|
+
if var_name not in self.attribute_map and \
|
|
264
|
+
self._configuration is not None and \
|
|
265
|
+
self._configuration.discard_unknown_keys and \
|
|
266
|
+
self.additional_properties_type is None:
|
|
267
|
+
# discard variable.
|
|
268
|
+
continue
|
|
269
|
+
setattr(self, var_name, var_value)
|
|
270
|
+
if var_name in self.read_only_vars:
|
|
271
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
272
|
+
f"class with read only attributes.")
|
ultracart/model/report.py
CHANGED
|
@@ -108,6 +108,7 @@ class Report(ModelNormal):
|
|
|
108
108
|
'pages': ([ReportPage],), # noqa: E501
|
|
109
109
|
'report_oid': (int,), # noqa: E501
|
|
110
110
|
'security_level': (str,), # noqa: E501
|
|
111
|
+
'settings': (str,), # noqa: E501
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
@cached_property
|
|
@@ -126,6 +127,7 @@ class Report(ModelNormal):
|
|
|
126
127
|
'pages': 'pages', # noqa: E501
|
|
127
128
|
'report_oid': 'report_oid', # noqa: E501
|
|
128
129
|
'security_level': 'security_level', # noqa: E501
|
|
130
|
+
'settings': 'settings', # noqa: E501
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
read_only_vars = {
|
|
@@ -179,6 +181,7 @@ class Report(ModelNormal):
|
|
|
179
181
|
pages ([ReportPage]): [optional] # noqa: E501
|
|
180
182
|
report_oid (int): Object identifier for this report.. [optional] # noqa: E501
|
|
181
183
|
security_level (str): Security level to execute report under. [optional] # noqa: E501
|
|
184
|
+
settings (str): A JSON representation of the settings for this report. [optional] # noqa: E501
|
|
182
185
|
"""
|
|
183
186
|
|
|
184
187
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -274,6 +277,7 @@ class Report(ModelNormal):
|
|
|
274
277
|
pages ([ReportPage]): [optional] # noqa: E501
|
|
275
278
|
report_oid (int): Object identifier for this report.. [optional] # noqa: E501
|
|
276
279
|
security_level (str): Security level to execute report under. [optional] # noqa: E501
|
|
280
|
+
settings (str): A JSON representation of the settings for this report. [optional] # noqa: E501
|
|
277
281
|
"""
|
|
278
282
|
|
|
279
283
|
_check_type = kwargs.pop('_check_type', True)
|
ultracart/model/report_page.py
CHANGED
|
@@ -92,6 +92,7 @@ class ReportPage(ModelNormal):
|
|
|
92
92
|
return {
|
|
93
93
|
'filters': ([ReportPageFilter],), # noqa: E501
|
|
94
94
|
'height': (float,), # noqa: E501
|
|
95
|
+
'settings': (str,), # noqa: E501
|
|
95
96
|
'title': (str,), # noqa: E501
|
|
96
97
|
'visualizations': ([ReportPageVisualization],), # noqa: E501
|
|
97
98
|
'width': (float,), # noqa: E501
|
|
@@ -105,6 +106,7 @@ class ReportPage(ModelNormal):
|
|
|
105
106
|
attribute_map = {
|
|
106
107
|
'filters': 'filters', # noqa: E501
|
|
107
108
|
'height': 'height', # noqa: E501
|
|
109
|
+
'settings': 'settings', # noqa: E501
|
|
108
110
|
'title': 'title', # noqa: E501
|
|
109
111
|
'visualizations': 'visualizations', # noqa: E501
|
|
110
112
|
'width': 'width', # noqa: E501
|
|
@@ -153,6 +155,7 @@ class ReportPage(ModelNormal):
|
|
|
153
155
|
_visited_composed_classes = (Animal,)
|
|
154
156
|
filters ([ReportPageFilter]): [optional] # noqa: E501
|
|
155
157
|
height (float): Height of the report page in inches. [optional] # noqa: E501
|
|
158
|
+
settings (str): A JSON representation of the settings for this report. [optional] # noqa: E501
|
|
156
159
|
title (str): [optional] # noqa: E501
|
|
157
160
|
visualizations ([ReportPageVisualization]): Visualizations on the report page.. [optional] # noqa: E501
|
|
158
161
|
width (float): Width of the report page in inches. [optional] # noqa: E501
|
|
@@ -243,6 +246,7 @@ class ReportPage(ModelNormal):
|
|
|
243
246
|
_visited_composed_classes = (Animal,)
|
|
244
247
|
filters ([ReportPageFilter]): [optional] # noqa: E501
|
|
245
248
|
height (float): Height of the report page in inches. [optional] # noqa: E501
|
|
249
|
+
settings (str): A JSON representation of the settings for this report. [optional] # noqa: E501
|
|
246
250
|
title (str): [optional] # noqa: E501
|
|
247
251
|
visualizations ([ReportPageVisualization]): Visualizations on the report page.. [optional] # noqa: E501
|
|
248
252
|
width (float): Width of the report page in inches. [optional] # noqa: E501
|
ultracart/models/__init__.py
CHANGED
|
@@ -628,6 +628,8 @@ from ultracart.model.order_tracking_number_detail import OrderTrackingNumberDeta
|
|
|
628
628
|
from ultracart.model.order_tracking_number_details import OrderTrackingNumberDetails
|
|
629
629
|
from ultracart.model.order_transactional_merchant_note import OrderTransactionalMerchantNote
|
|
630
630
|
from ultracart.model.order_utm import OrderUtm
|
|
631
|
+
from ultracart.model.order_validation_request import OrderValidationRequest
|
|
632
|
+
from ultracart.model.order_validation_response import OrderValidationResponse
|
|
631
633
|
from ultracart.model.orders_response import OrdersResponse
|
|
632
634
|
from ultracart.model.permission import Permission
|
|
633
635
|
from ultracart.model.point_of_sale_location import PointOfSaleLocation
|
|
@@ -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=99enHFn5mi5p8bQj7GX2OnFnltfQWvBbSH1XTvU_JE0,699
|
|
2
|
+
ultracart/api_client.py,sha256=XQqi6bJbVcINrOFYw-fW37UTxSJCiZliFHtB9jF0XAQ,39072
|
|
3
|
+
ultracart/configuration.py,sha256=SxvV3v2mzvPj4FcSg2CVSeLY0HafqEfJaak1-VKwJBg,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=rMJeimsg5tkrt8Vrx7kt9KmmUGAE6VD4aBSufryuusc,123787
|
|
21
21
|
ultracart/api/oauth_api.py,sha256=oYx-F4WFF3LgMlHP-4x_gcSwS95-9Lowiwcgr5Rziyw,13636
|
|
22
|
-
ultracart/api/order_api.py,sha256=
|
|
22
|
+
ultracart/api/order_api.py,sha256=bqlgXtH9q-PolXRavbafdekkVSMvkf8OndJz_AK9Zbw,160861
|
|
23
23
|
ultracart/api/sso_api.py,sha256=Ct9oau71nCUKecojo_1kkXRcIqPxhlVZiST2bdjLJJ8,21632
|
|
24
24
|
ultracart/api/storefront_api.py,sha256=wEGGW6HInVQYQ9K8H_KqPbGVp0z5cXX2cvtrXT-IKUg,982262
|
|
25
25
|
ultracart/api/tax_api.py,sha256=aQZaRsIXlFNDPwXYAykApv3KaAGfV-ZHB6QPBbEK-P0,148671
|
|
@@ -409,7 +409,7 @@ ultracart/model/email_segment_response.py,sha256=HFZKg5v9GPxT-qTJir3X4kqf2NfbuJ5
|
|
|
409
409
|
ultracart/model/email_segments_response.py,sha256=_NKHMCbiN2Yvf8nXmK_BHv7LslsrJnKfq6UNx6t1qzY,12814
|
|
410
410
|
ultracart/model/email_sending_domain_response.py,sha256=Y3y23P2isFZfvk74xjigpRiPY7bljbHe5fNk9PRtqL4,12806
|
|
411
411
|
ultracart/model/email_sending_domains_response.py,sha256=joGAn59RH4vQ-c2K84TFB1Y1lbvwqcf_8h-4ewyY9M0,12820
|
|
412
|
-
ultracart/model/email_settings.py,sha256=
|
|
412
|
+
ultracart/model/email_settings.py,sha256=ltahiRx5jh617ltUxZA3RZa2nelZpUZEbb3xmgmOV14,16262
|
|
413
413
|
ultracart/model/email_settings_response.py,sha256=10aZVw1_NF4-1kv9wUf4YoFTzGTZdwopjLOfru5UjiA,12815
|
|
414
414
|
ultracart/model/email_stat.py,sha256=sEnNTmNvboHcGpbIA0sgG2b2QOZBlf8jLKOwUV1cOhQ,22364
|
|
415
415
|
ultracart/model/email_stat_postcard_summary_request.py,sha256=gMgtKHTbHhD0zv9-cLy-qXvsPxcn6UaI_JpLxqA8ft0,11716
|
|
@@ -613,7 +613,7 @@ ultracart/model/order_item_tag.py,sha256=IGO8fQmXZ_MoREh8GiTLKd8T-DVn1KAefiSXXnb
|
|
|
613
613
|
ultracart/model/order_linked_shipment.py,sha256=8J3ed4L48ebAgC61koZJXnipe7YVcTKWoyy8CR4-s_M,13149
|
|
614
614
|
ultracart/model/order_marketing.py,sha256=x4VPy4XOKl7RLjiMnroIeFlWKKHfLEgSezIKNZOqKuo,12596
|
|
615
615
|
ultracart/model/order_packing_slip_response.py,sha256=acLnSb5t-nZ1NQe3A8MSkgA-htWGCafmPi-c2cqzgkE,12719
|
|
616
|
-
ultracart/model/order_payment.py,sha256=
|
|
616
|
+
ultracart/model/order_payment.py,sha256=LpCphX2dKe4_-ZcU9bnl4hiUd0ZGavRSYKhtas_KpiA,19324
|
|
617
617
|
ultracart/model/order_payment_check.py,sha256=a-OAp4zyWwa-iNP5ukFQFc5Xi1xodnzwdvfn7BM2ivs,11468
|
|
618
618
|
ultracart/model/order_payment_credit_card.py,sha256=eh__M764v83trWIKaq2to3L7dIQdAYDjXBoREXIjfcY,15912
|
|
619
619
|
ultracart/model/order_payment_credit_card_dual_vaulted.py,sha256=BLE9zSsUsVjuddLhSJnrHmF6k2GDxtyeIG2y1ATCvck,12428
|
|
@@ -627,7 +627,7 @@ ultracart/model/order_point_of_sale.py,sha256=5PcsqLiP1BR7nePLXEqSF1jIFid0eco2dc
|
|
|
627
627
|
ultracart/model/order_process_payment_request.py,sha256=J9_DP7vtyLyvyAMxoUc2s5e49DrYsAP7hSYBasUc4pU,12147
|
|
628
628
|
ultracart/model/order_process_payment_response.py,sha256=mp3Jdx6-Rp5DXPhUpja2jKArwsgYCsTpYuKuds7MLKs,12959
|
|
629
629
|
ultracart/model/order_property.py,sha256=TTwNAPFD0xn200o_d9xJnLVIOw2F_Kgs8veYbx7JD1Q,12365
|
|
630
|
-
ultracart/model/order_query.py,sha256=
|
|
630
|
+
ultracart/model/order_query.py,sha256=xeIGEqO6ZBxxrz604p605pFghszFK9EBRi6duG6lvWA,24277
|
|
631
631
|
ultracart/model/order_query_batch.py,sha256=a4wi9dX8Oi85SGTkPwSWUv6s1x6tKC2w0i16WYyFvGs,11447
|
|
632
632
|
ultracart/model/order_quote.py,sha256=rearxF0qL6u7uhstszLj2iajryy7om5nGc_LiFgtZuI,12012
|
|
633
633
|
ultracart/model/order_reason.py,sha256=OOSWtof1CiNxPxVo5jliywXnMTkrPdZ8PCK9pH2ty5Q,12225
|
|
@@ -646,6 +646,8 @@ ultracart/model/order_tracking_number_detail.py,sha256=COyjRV94ApPrwheZBIGxquZy7
|
|
|
646
646
|
ultracart/model/order_tracking_number_details.py,sha256=2gibQ2Skhyc0jEwwspXiGsxbbJTMfDGYzPM1L6ryEkM,16062
|
|
647
647
|
ultracart/model/order_transactional_merchant_note.py,sha256=LqxIlPcc8gDDvrcfIOdmoRQQ5my49Ial-knJ5eHHgog,12199
|
|
648
648
|
ultracart/model/order_utm.py,sha256=yH2NgmbBeQSSo6tfzw34bA-QxQLpn4RzgYVFkOuO14M,16965
|
|
649
|
+
ultracart/model/order_validation_request.py,sha256=5HojsjTF-bhOyvc7twg-yAZRJQIdBvOvlDNWPqgpR1c,11797
|
|
650
|
+
ultracart/model/order_validation_response.py,sha256=75YUEcSvOHtq7Kt90K6mr18qRmTSOqFf8fHLyjOKyRM,12326
|
|
649
651
|
ultracart/model/orders_response.py,sha256=tJZs-I7nB_eQ2E6ehT-hyCfzATnLjQk31Tlw5qjCKLM,12749
|
|
650
652
|
ultracart/model/permission.py,sha256=qwqDTeQbWnr0PpNqgLLJalAeIsaiNMSd7lcJaL1srAw,12199
|
|
651
653
|
ultracart/model/point_of_sale_location.py,sha256=AjDGDqv4P14-u1qvixePs1NTsaQ-Bn3u5hkBp61i9zY,14157
|
|
@@ -657,7 +659,7 @@ ultracart/model/pricing_tiers_response.py,sha256=811NZAobIBNgdVZB5Z1-GIKZN85NalC
|
|
|
657
659
|
ultracart/model/publish_library_item_request.py,sha256=1CQbosYqBdfh8VBWdUkpCycfXwAw5VAFCh70Uf9Gyh0,11551
|
|
658
660
|
ultracart/model/register_affiliate_click_request.py,sha256=WvcHVQOLw-YOjqcQB8yg9AkW6Zc4bxU_BzmkSEPrA6w,13148
|
|
659
661
|
ultracart/model/register_affiliate_click_response.py,sha256=lBfzzBOkbQi3X62l6a3PXSPAomQliGxuRJjPSumSCks,12481
|
|
660
|
-
ultracart/model/report.py,sha256=
|
|
662
|
+
ultracart/model/report.py,sha256=3XUXn3Yccr_uqFRkwbHXgMS4UBN4QjXmjyXPDUYNq-0,14411
|
|
661
663
|
ultracart/model/report_auth.py,sha256=pfHkmuhfJZD4mL2IvV1LjFn68rUq7v_VNDfm_Sl94SE,12097
|
|
662
664
|
ultracart/model/report_auth_response.py,sha256=eqJPymE8NruFJZr3fGfI5mW8ATDM13ETkRIueDtzeUs,12800
|
|
663
665
|
ultracart/model/report_data_set.py,sha256=GggojFMNWCTwbhszhjZ1wUcP4xzHFHz-d-dzeuMPvFU,17078
|
|
@@ -676,7 +678,7 @@ ultracart/model/report_dry_run_query_result.py,sha256=Qqe6Vi_MfW-60_ShwQGG5ATqwU
|
|
|
676
678
|
ultracart/model/report_execute_queries_request.py,sha256=rIlBiAaoZKKMzNoYBkP2QNMuYPLuetYuie6vm1Jgy0c,14256
|
|
677
679
|
ultracart/model/report_filter.py,sha256=zLdgV6Yc2XeKu8p1fgw9579qc-WJrzxYyT4uWnQ-Cmc,13448
|
|
678
680
|
ultracart/model/report_filter_connection.py,sha256=-3Lvztka-tC8c8ob5v9f3LxrK0e_HmsQJ4m1EwJBfuc,12001
|
|
679
|
-
ultracart/model/report_page.py,sha256=
|
|
681
|
+
ultracart/model/report_page.py,sha256=5AxWLVV-YFqrA0B-3dXWV4aCLOnPjxKrKei1J7jnm5o,13159
|
|
680
682
|
ultracart/model/report_page_filter.py,sha256=UK0h4kW7yTlmWa3QcWYSBsUQRNCNrbC1Tkreb60e1Ao,12417
|
|
681
683
|
ultracart/model/report_page_visualization.py,sha256=R206w1lCKCcf4AbY0q36AqJ1FZKWM4f99Ga0HIISjpc,14852
|
|
682
684
|
ultracart/model/report_page_visualization_dimension.py,sha256=GzhG4aZki_nvJerNWhxaTJQhprRELRLxOnUHPSkTkrc,13307
|
|
@@ -803,9 +805,9 @@ ultracart/model/webhook_sample_request.py,sha256=Qvt7FJPvECdYKv5MZztkSSmDxPDTSyt
|
|
|
803
805
|
ultracart/model/webhook_sample_request_response.py,sha256=Ni-3WiNhVLt9a7yX_MNdD16NsRehVpJWiTdN_myLRk4,12956
|
|
804
806
|
ultracart/model/webhooks_response.py,sha256=RVGQ76kc7X0XY5iJdLgnwVr5V50uCoYCGaRtc03FKc4,12763
|
|
805
807
|
ultracart/model/weight.py,sha256=LTxs6KqiARegRkcShAviWKILAMAdw9KXwI-QgBtpoM0,11726
|
|
806
|
-
ultracart/models/__init__.py,sha256=
|
|
807
|
-
ultracart_rest_sdk-4.0.
|
|
808
|
-
ultracart_rest_sdk-4.0.
|
|
809
|
-
ultracart_rest_sdk-4.0.
|
|
810
|
-
ultracart_rest_sdk-4.0.
|
|
811
|
-
ultracart_rest_sdk-4.0.
|
|
808
|
+
ultracart/models/__init__.py,sha256=9yCQfKj9ftzM7DYDDaGI03aVF3F2c0K1hZ_mYs0blwY,59279
|
|
809
|
+
ultracart_rest_sdk-4.0.170.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
810
|
+
ultracart_rest_sdk-4.0.170.dist-info/METADATA,sha256=15AF7RxBDUexc4FrHoM_5aIb46xaHF7xvxuVAAhvhvU,403
|
|
811
|
+
ultracart_rest_sdk-4.0.170.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
812
|
+
ultracart_rest_sdk-4.0.170.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
813
|
+
ultracart_rest_sdk-4.0.170.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|