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
ultracart/__init__.py
CHANGED
ultracart/api/storefront_api.py
CHANGED
|
@@ -103,8 +103,11 @@ from ultracart.model.email_sending_domain_response import EmailSendingDomainResp
|
|
|
103
103
|
from ultracart.model.email_sending_domains_response import EmailSendingDomainsResponse
|
|
104
104
|
from ultracart.model.email_settings import EmailSettings
|
|
105
105
|
from ultracart.model.email_settings_response import EmailSettingsResponse
|
|
106
|
+
from ultracart.model.email_sms_orders_response import EmailSmsOrdersResponse
|
|
106
107
|
from ultracart.model.email_stat_postcard_summary_request import EmailStatPostcardSummaryRequest
|
|
107
108
|
from ultracart.model.email_stat_postcard_summary_response import EmailStatPostcardSummaryResponse
|
|
109
|
+
from ultracart.model.email_stat_sms_summary_request import EmailStatSmsSummaryRequest
|
|
110
|
+
from ultracart.model.email_stat_sms_summary_response import EmailStatSmsSummaryResponse
|
|
108
111
|
from ultracart.model.email_stat_summary_request import EmailStatSummaryRequest
|
|
109
112
|
from ultracart.model.email_stat_summary_response import EmailStatSummaryResponse
|
|
110
113
|
from ultracart.model.email_step_stat_request import EmailStepStatRequest
|
|
@@ -2689,6 +2692,72 @@ class StorefrontApi(object):
|
|
|
2689
2692
|
},
|
|
2690
2693
|
api_client=api_client
|
|
2691
2694
|
)
|
|
2695
|
+
self.get_email_commseq_sms_stats_endpoint = _Endpoint(
|
|
2696
|
+
settings={
|
|
2697
|
+
'response_type': (EmailStatSmsSummaryResponse,),
|
|
2698
|
+
'auth': [
|
|
2699
|
+
'ultraCartBrowserApiKey',
|
|
2700
|
+
'ultraCartOauth',
|
|
2701
|
+
'ultraCartSimpleApiKey'
|
|
2702
|
+
],
|
|
2703
|
+
'endpoint_path': '/storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/smsStats',
|
|
2704
|
+
'operation_id': 'get_email_commseq_sms_stats',
|
|
2705
|
+
'http_method': 'POST',
|
|
2706
|
+
'servers': None,
|
|
2707
|
+
},
|
|
2708
|
+
params_map={
|
|
2709
|
+
'all': [
|
|
2710
|
+
'storefront_oid',
|
|
2711
|
+
'commseq_uuid',
|
|
2712
|
+
'stats_request',
|
|
2713
|
+
],
|
|
2714
|
+
'required': [
|
|
2715
|
+
'storefront_oid',
|
|
2716
|
+
'commseq_uuid',
|
|
2717
|
+
'stats_request',
|
|
2718
|
+
],
|
|
2719
|
+
'nullable': [
|
|
2720
|
+
],
|
|
2721
|
+
'enum': [
|
|
2722
|
+
],
|
|
2723
|
+
'validation': [
|
|
2724
|
+
]
|
|
2725
|
+
},
|
|
2726
|
+
root_map={
|
|
2727
|
+
'validations': {
|
|
2728
|
+
},
|
|
2729
|
+
'allowed_values': {
|
|
2730
|
+
},
|
|
2731
|
+
'openapi_types': {
|
|
2732
|
+
'storefront_oid':
|
|
2733
|
+
(int,),
|
|
2734
|
+
'commseq_uuid':
|
|
2735
|
+
(str,),
|
|
2736
|
+
'stats_request':
|
|
2737
|
+
(EmailStatSmsSummaryRequest,),
|
|
2738
|
+
},
|
|
2739
|
+
'attribute_map': {
|
|
2740
|
+
'storefront_oid': 'storefront_oid',
|
|
2741
|
+
'commseq_uuid': 'commseq_uuid',
|
|
2742
|
+
},
|
|
2743
|
+
'location_map': {
|
|
2744
|
+
'storefront_oid': 'path',
|
|
2745
|
+
'commseq_uuid': 'path',
|
|
2746
|
+
'stats_request': 'body',
|
|
2747
|
+
},
|
|
2748
|
+
'collection_format_map': {
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
headers_map={
|
|
2752
|
+
'accept': [
|
|
2753
|
+
'application/json'
|
|
2754
|
+
],
|
|
2755
|
+
'content_type': [
|
|
2756
|
+
'application/json'
|
|
2757
|
+
]
|
|
2758
|
+
},
|
|
2759
|
+
api_client=api_client
|
|
2760
|
+
)
|
|
2692
2761
|
self.get_email_commseq_stat_overall_endpoint = _Endpoint(
|
|
2693
2762
|
settings={
|
|
2694
2763
|
'response_type': (EmailCommseqStatResponse,),
|
|
@@ -5105,6 +5174,76 @@ class StorefrontApi(object):
|
|
|
5105
5174
|
},
|
|
5106
5175
|
api_client=api_client
|
|
5107
5176
|
)
|
|
5177
|
+
self.get_email_sms_orders_endpoint = _Endpoint(
|
|
5178
|
+
settings={
|
|
5179
|
+
'response_type': (EmailSmsOrdersResponse,),
|
|
5180
|
+
'auth': [
|
|
5181
|
+
'ultraCartBrowserApiKey',
|
|
5182
|
+
'ultraCartOauth',
|
|
5183
|
+
'ultraCartSimpleApiKey'
|
|
5184
|
+
],
|
|
5185
|
+
'endpoint_path': '/storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/steps/{commseq_step_uuid}/sms/orders',
|
|
5186
|
+
'operation_id': 'get_email_sms_orders',
|
|
5187
|
+
'http_method': 'GET',
|
|
5188
|
+
'servers': None,
|
|
5189
|
+
},
|
|
5190
|
+
params_map={
|
|
5191
|
+
'all': [
|
|
5192
|
+
'storefront_oid',
|
|
5193
|
+
'commseq_uuid',
|
|
5194
|
+
'commseq_step_uuid',
|
|
5195
|
+
'days',
|
|
5196
|
+
],
|
|
5197
|
+
'required': [
|
|
5198
|
+
'storefront_oid',
|
|
5199
|
+
'commseq_uuid',
|
|
5200
|
+
'commseq_step_uuid',
|
|
5201
|
+
],
|
|
5202
|
+
'nullable': [
|
|
5203
|
+
],
|
|
5204
|
+
'enum': [
|
|
5205
|
+
],
|
|
5206
|
+
'validation': [
|
|
5207
|
+
]
|
|
5208
|
+
},
|
|
5209
|
+
root_map={
|
|
5210
|
+
'validations': {
|
|
5211
|
+
},
|
|
5212
|
+
'allowed_values': {
|
|
5213
|
+
},
|
|
5214
|
+
'openapi_types': {
|
|
5215
|
+
'storefront_oid':
|
|
5216
|
+
(int,),
|
|
5217
|
+
'commseq_uuid':
|
|
5218
|
+
(str,),
|
|
5219
|
+
'commseq_step_uuid':
|
|
5220
|
+
(str,),
|
|
5221
|
+
'days':
|
|
5222
|
+
(int,),
|
|
5223
|
+
},
|
|
5224
|
+
'attribute_map': {
|
|
5225
|
+
'storefront_oid': 'storefront_oid',
|
|
5226
|
+
'commseq_uuid': 'commseq_uuid',
|
|
5227
|
+
'commseq_step_uuid': 'commseq_step_uuid',
|
|
5228
|
+
'days': 'days',
|
|
5229
|
+
},
|
|
5230
|
+
'location_map': {
|
|
5231
|
+
'storefront_oid': 'path',
|
|
5232
|
+
'commseq_uuid': 'path',
|
|
5233
|
+
'commseq_step_uuid': 'path',
|
|
5234
|
+
'days': 'query',
|
|
5235
|
+
},
|
|
5236
|
+
'collection_format_map': {
|
|
5237
|
+
}
|
|
5238
|
+
},
|
|
5239
|
+
headers_map={
|
|
5240
|
+
'accept': [
|
|
5241
|
+
'application/json'
|
|
5242
|
+
],
|
|
5243
|
+
'content_type': [],
|
|
5244
|
+
},
|
|
5245
|
+
api_client=api_client
|
|
5246
|
+
)
|
|
5108
5247
|
self.get_email_template_endpoint = _Endpoint(
|
|
5109
5248
|
settings={
|
|
5110
5249
|
'response_type': (EmailTemplate,),
|
|
@@ -14141,6 +14280,96 @@ class StorefrontApi(object):
|
|
|
14141
14280
|
commseq_postcard_uuid
|
|
14142
14281
|
return self.get_email_commseq_postcard_tracking_endpoint.call_with_http_info(**kwargs)
|
|
14143
14282
|
|
|
14283
|
+
def get_email_commseq_sms_stats(
|
|
14284
|
+
self,
|
|
14285
|
+
storefront_oid,
|
|
14286
|
+
commseq_uuid,
|
|
14287
|
+
stats_request,
|
|
14288
|
+
**kwargs
|
|
14289
|
+
):
|
|
14290
|
+
"""Get email communication sequence sms stats # noqa: E501
|
|
14291
|
+
|
|
14292
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
14293
|
+
asynchronous HTTP request, please pass async_req=True
|
|
14294
|
+
|
|
14295
|
+
>>> thread = api.get_email_commseq_sms_stats(storefront_oid, commseq_uuid, stats_request, async_req=True)
|
|
14296
|
+
>>> result = thread.get()
|
|
14297
|
+
|
|
14298
|
+
Args:
|
|
14299
|
+
storefront_oid (int):
|
|
14300
|
+
commseq_uuid (str):
|
|
14301
|
+
stats_request (EmailStatSmsSummaryRequest): StatsRequest
|
|
14302
|
+
|
|
14303
|
+
Keyword Args:
|
|
14304
|
+
_return_http_data_only (bool): response data without head status
|
|
14305
|
+
code and headers. Default is True.
|
|
14306
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
14307
|
+
will be returned without reading/decoding response data.
|
|
14308
|
+
Default is True.
|
|
14309
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
14310
|
+
one number provided, it will be total request timeout. It can also
|
|
14311
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
14312
|
+
Default is None.
|
|
14313
|
+
_check_input_type (bool): specifies if type checking
|
|
14314
|
+
should be done one the data sent to the server.
|
|
14315
|
+
Default is True.
|
|
14316
|
+
_check_return_type (bool): specifies if type checking
|
|
14317
|
+
should be done one the data received from the server.
|
|
14318
|
+
Default is True.
|
|
14319
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
14320
|
+
are serialized names, as specified in the OpenAPI document.
|
|
14321
|
+
False if the variable names in the input data
|
|
14322
|
+
are pythonic names, e.g. snake case (default)
|
|
14323
|
+
_content_type (str/None): force body content-type.
|
|
14324
|
+
Default is None and content-type will be predicted by allowed
|
|
14325
|
+
content-types and body.
|
|
14326
|
+
_host_index (int/None): specifies the index of the server
|
|
14327
|
+
that we want to use.
|
|
14328
|
+
Default is read from the configuration.
|
|
14329
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
14330
|
+
request; this effectively ignores the authentication
|
|
14331
|
+
in the spec for a single request.
|
|
14332
|
+
Default is None
|
|
14333
|
+
async_req (bool): execute request asynchronously
|
|
14334
|
+
|
|
14335
|
+
Returns:
|
|
14336
|
+
EmailStatSmsSummaryResponse
|
|
14337
|
+
If the method is called asynchronously, returns the request
|
|
14338
|
+
thread.
|
|
14339
|
+
"""
|
|
14340
|
+
kwargs['async_req'] = kwargs.get(
|
|
14341
|
+
'async_req', False
|
|
14342
|
+
)
|
|
14343
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
14344
|
+
'_return_http_data_only', True
|
|
14345
|
+
)
|
|
14346
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
14347
|
+
'_preload_content', True
|
|
14348
|
+
)
|
|
14349
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
14350
|
+
'_request_timeout', None
|
|
14351
|
+
)
|
|
14352
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
14353
|
+
'_check_input_type', True
|
|
14354
|
+
)
|
|
14355
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
14356
|
+
'_check_return_type', True
|
|
14357
|
+
)
|
|
14358
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
14359
|
+
'_spec_property_naming', False
|
|
14360
|
+
)
|
|
14361
|
+
kwargs['_content_type'] = kwargs.get(
|
|
14362
|
+
'_content_type')
|
|
14363
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
14364
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
14365
|
+
kwargs['storefront_oid'] = \
|
|
14366
|
+
storefront_oid
|
|
14367
|
+
kwargs['commseq_uuid'] = \
|
|
14368
|
+
commseq_uuid
|
|
14369
|
+
kwargs['stats_request'] = \
|
|
14370
|
+
stats_request
|
|
14371
|
+
return self.get_email_commseq_sms_stats_endpoint.call_with_http_info(**kwargs)
|
|
14372
|
+
|
|
14144
14373
|
def get_email_commseq_stat_overall(
|
|
14145
14374
|
self,
|
|
14146
14375
|
storefront_oid,
|
|
@@ -17636,6 +17865,97 @@ class StorefrontApi(object):
|
|
|
17636
17865
|
storefront_oid
|
|
17637
17866
|
return self.get_email_settings_endpoint.call_with_http_info(**kwargs)
|
|
17638
17867
|
|
|
17868
|
+
def get_email_sms_orders(
|
|
17869
|
+
self,
|
|
17870
|
+
storefront_oid,
|
|
17871
|
+
commseq_uuid,
|
|
17872
|
+
commseq_step_uuid,
|
|
17873
|
+
**kwargs
|
|
17874
|
+
):
|
|
17875
|
+
"""Get email sms orders # noqa: E501
|
|
17876
|
+
|
|
17877
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
17878
|
+
asynchronous HTTP request, please pass async_req=True
|
|
17879
|
+
|
|
17880
|
+
>>> thread = api.get_email_sms_orders(storefront_oid, commseq_uuid, commseq_step_uuid, async_req=True)
|
|
17881
|
+
>>> result = thread.get()
|
|
17882
|
+
|
|
17883
|
+
Args:
|
|
17884
|
+
storefront_oid (int):
|
|
17885
|
+
commseq_uuid (str):
|
|
17886
|
+
commseq_step_uuid (str):
|
|
17887
|
+
|
|
17888
|
+
Keyword Args:
|
|
17889
|
+
days (int): [optional]
|
|
17890
|
+
_return_http_data_only (bool): response data without head status
|
|
17891
|
+
code and headers. Default is True.
|
|
17892
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
17893
|
+
will be returned without reading/decoding response data.
|
|
17894
|
+
Default is True.
|
|
17895
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
17896
|
+
one number provided, it will be total request timeout. It can also
|
|
17897
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
17898
|
+
Default is None.
|
|
17899
|
+
_check_input_type (bool): specifies if type checking
|
|
17900
|
+
should be done one the data sent to the server.
|
|
17901
|
+
Default is True.
|
|
17902
|
+
_check_return_type (bool): specifies if type checking
|
|
17903
|
+
should be done one the data received from the server.
|
|
17904
|
+
Default is True.
|
|
17905
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
17906
|
+
are serialized names, as specified in the OpenAPI document.
|
|
17907
|
+
False if the variable names in the input data
|
|
17908
|
+
are pythonic names, e.g. snake case (default)
|
|
17909
|
+
_content_type (str/None): force body content-type.
|
|
17910
|
+
Default is None and content-type will be predicted by allowed
|
|
17911
|
+
content-types and body.
|
|
17912
|
+
_host_index (int/None): specifies the index of the server
|
|
17913
|
+
that we want to use.
|
|
17914
|
+
Default is read from the configuration.
|
|
17915
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
17916
|
+
request; this effectively ignores the authentication
|
|
17917
|
+
in the spec for a single request.
|
|
17918
|
+
Default is None
|
|
17919
|
+
async_req (bool): execute request asynchronously
|
|
17920
|
+
|
|
17921
|
+
Returns:
|
|
17922
|
+
EmailSmsOrdersResponse
|
|
17923
|
+
If the method is called asynchronously, returns the request
|
|
17924
|
+
thread.
|
|
17925
|
+
"""
|
|
17926
|
+
kwargs['async_req'] = kwargs.get(
|
|
17927
|
+
'async_req', False
|
|
17928
|
+
)
|
|
17929
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
17930
|
+
'_return_http_data_only', True
|
|
17931
|
+
)
|
|
17932
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
17933
|
+
'_preload_content', True
|
|
17934
|
+
)
|
|
17935
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
17936
|
+
'_request_timeout', None
|
|
17937
|
+
)
|
|
17938
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
17939
|
+
'_check_input_type', True
|
|
17940
|
+
)
|
|
17941
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
17942
|
+
'_check_return_type', True
|
|
17943
|
+
)
|
|
17944
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
17945
|
+
'_spec_property_naming', False
|
|
17946
|
+
)
|
|
17947
|
+
kwargs['_content_type'] = kwargs.get(
|
|
17948
|
+
'_content_type')
|
|
17949
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
17950
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
17951
|
+
kwargs['storefront_oid'] = \
|
|
17952
|
+
storefront_oid
|
|
17953
|
+
kwargs['commseq_uuid'] = \
|
|
17954
|
+
commseq_uuid
|
|
17955
|
+
kwargs['commseq_step_uuid'] = \
|
|
17956
|
+
commseq_step_uuid
|
|
17957
|
+
return self.get_email_sms_orders_endpoint.call_with_http_info(**kwargs)
|
|
17958
|
+
|
|
17639
17959
|
def get_email_template(
|
|
17640
17960
|
self,
|
|
17641
17961
|
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.201/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.201".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
|
@@ -92,6 +92,10 @@ class ConversationAgentAuth(ModelNormal):
|
|
|
92
92
|
'conversation_participant_name': (str,), # noqa: E501
|
|
93
93
|
'jwt': (str,), # noqa: E501
|
|
94
94
|
'merchant_id': (str,), # noqa: E501
|
|
95
|
+
'pbx_jwt': (str,), # noqa: E501
|
|
96
|
+
'pbx_voice_identity': (str,), # noqa: E501
|
|
97
|
+
'pbx_voice_token': (str,), # noqa: E501
|
|
98
|
+
'pbx_worker_token': (str,), # noqa: E501
|
|
95
99
|
'twilio_accounts': ([ConversationTwilioAccount],), # noqa: E501
|
|
96
100
|
'websocket_url': (str,), # noqa: E501
|
|
97
101
|
}
|
|
@@ -106,6 +110,10 @@ class ConversationAgentAuth(ModelNormal):
|
|
|
106
110
|
'conversation_participant_name': 'conversation_participant_name', # noqa: E501
|
|
107
111
|
'jwt': 'jwt', # noqa: E501
|
|
108
112
|
'merchant_id': 'merchant_id', # noqa: E501
|
|
113
|
+
'pbx_jwt': 'pbx_jwt', # noqa: E501
|
|
114
|
+
'pbx_voice_identity': 'pbx_voice_identity', # noqa: E501
|
|
115
|
+
'pbx_voice_token': 'pbx_voice_token', # noqa: E501
|
|
116
|
+
'pbx_worker_token': 'pbx_worker_token', # noqa: E501
|
|
109
117
|
'twilio_accounts': 'twilio_accounts', # noqa: E501
|
|
110
118
|
'websocket_url': 'websocket_url', # noqa: E501
|
|
111
119
|
}
|
|
@@ -155,6 +163,10 @@ class ConversationAgentAuth(ModelNormal):
|
|
|
155
163
|
conversation_participant_name (str): [optional] # noqa: E501
|
|
156
164
|
jwt (str): [optional] # noqa: E501
|
|
157
165
|
merchant_id (str): [optional] # noqa: E501
|
|
166
|
+
pbx_jwt (str): [optional] # noqa: E501
|
|
167
|
+
pbx_voice_identity (str): [optional] # noqa: E501
|
|
168
|
+
pbx_voice_token (str): [optional] # noqa: E501
|
|
169
|
+
pbx_worker_token (str): [optional] # noqa: E501
|
|
158
170
|
twilio_accounts ([ConversationTwilioAccount]): [optional] # noqa: E501
|
|
159
171
|
websocket_url (str): [optional] # noqa: E501
|
|
160
172
|
"""
|
|
@@ -246,6 +258,10 @@ class ConversationAgentAuth(ModelNormal):
|
|
|
246
258
|
conversation_participant_name (str): [optional] # noqa: E501
|
|
247
259
|
jwt (str): [optional] # noqa: E501
|
|
248
260
|
merchant_id (str): [optional] # noqa: E501
|
|
261
|
+
pbx_jwt (str): [optional] # noqa: E501
|
|
262
|
+
pbx_voice_identity (str): [optional] # noqa: E501
|
|
263
|
+
pbx_voice_token (str): [optional] # noqa: E501
|
|
264
|
+
pbx_worker_token (str): [optional] # noqa: E501
|
|
249
265
|
twilio_accounts ([ConversationTwilioAccount]): [optional] # noqa: E501
|
|
250
266
|
websocket_url (str): [optional] # noqa: E501
|
|
251
267
|
"""
|
|
@@ -87,6 +87,7 @@ class CouponAmountOffItems(ModelNormal):
|
|
|
87
87
|
return {
|
|
88
88
|
'currency_code': (str,), # noqa: E501
|
|
89
89
|
'discount_amount': (float,), # noqa: E501
|
|
90
|
+
'item_tags': ([str],), # noqa: E501
|
|
90
91
|
'items': ([str],), # noqa: E501
|
|
91
92
|
'limit': (int,), # noqa: E501
|
|
92
93
|
}
|
|
@@ -99,6 +100,7 @@ class CouponAmountOffItems(ModelNormal):
|
|
|
99
100
|
attribute_map = {
|
|
100
101
|
'currency_code': 'currency_code', # noqa: E501
|
|
101
102
|
'discount_amount': 'discount_amount', # noqa: E501
|
|
103
|
+
'item_tags': 'item_tags', # noqa: E501
|
|
102
104
|
'items': 'items', # noqa: E501
|
|
103
105
|
'limit': 'limit', # noqa: E501
|
|
104
106
|
}
|
|
@@ -146,6 +148,7 @@ class CouponAmountOffItems(ModelNormal):
|
|
|
146
148
|
_visited_composed_classes = (Animal,)
|
|
147
149
|
currency_code (str): The ISO-4217 three letter currency code the customer is viewing prices in. [optional] # noqa: E501
|
|
148
150
|
discount_amount (float): The amount of shipping discount. [optional] # noqa: E501
|
|
151
|
+
item_tags ([str]): An optional list of item tags which will receive a discount.. [optional] # noqa: E501
|
|
149
152
|
items ([str]): A list of items which are eligible for the discount amount.. [optional] # noqa: E501
|
|
150
153
|
limit (int): The limit of items which are eligible for the discount amount.. [optional] # noqa: E501
|
|
151
154
|
"""
|
|
@@ -235,6 +238,7 @@ class CouponAmountOffItems(ModelNormal):
|
|
|
235
238
|
_visited_composed_classes = (Animal,)
|
|
236
239
|
currency_code (str): The ISO-4217 three letter currency code the customer is viewing prices in. [optional] # noqa: E501
|
|
237
240
|
discount_amount (float): The amount of shipping discount. [optional] # noqa: E501
|
|
241
|
+
item_tags ([str]): An optional list of item tags which will receive a discount.. [optional] # noqa: E501
|
|
238
242
|
items ([str]): A list of items which are eligible for the discount amount.. [optional] # noqa: E501
|
|
239
243
|
limit (int): The limit of items which are eligible for the discount amount.. [optional] # noqa: E501
|
|
240
244
|
"""
|
|
@@ -82,6 +82,7 @@ class CouponBuyOneGetOneLimit(ModelNormal):
|
|
|
82
82
|
and the value is attribute type.
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
|
+
'item_tags': ([str],), # noqa: E501
|
|
85
86
|
'items': ([str],), # noqa: E501
|
|
86
87
|
'limit': (int,), # noqa: E501
|
|
87
88
|
}
|
|
@@ -92,6 +93,7 @@ class CouponBuyOneGetOneLimit(ModelNormal):
|
|
|
92
93
|
|
|
93
94
|
|
|
94
95
|
attribute_map = {
|
|
96
|
+
'item_tags': 'item_tags', # noqa: E501
|
|
95
97
|
'items': 'items', # noqa: E501
|
|
96
98
|
'limit': 'limit', # noqa: E501
|
|
97
99
|
}
|
|
@@ -137,6 +139,7 @@ class CouponBuyOneGetOneLimit(ModelNormal):
|
|
|
137
139
|
Animal class but this time we won't travel
|
|
138
140
|
through its discriminator because we passed in
|
|
139
141
|
_visited_composed_classes = (Animal,)
|
|
142
|
+
item_tags ([str]): An optional list of item tags which will receive a discount.. [optional] # noqa: E501
|
|
140
143
|
items ([str]): An optional list of items of which one must be purchased to receive free quantity of the same item.. [optional] # noqa: E501
|
|
141
144
|
limit (int): The limit of free items that may be received when purchasing multiple items. [optional] # noqa: E501
|
|
142
145
|
"""
|
|
@@ -224,6 +227,7 @@ class CouponBuyOneGetOneLimit(ModelNormal):
|
|
|
224
227
|
Animal class but this time we won't travel
|
|
225
228
|
through its discriminator because we passed in
|
|
226
229
|
_visited_composed_classes = (Animal,)
|
|
230
|
+
item_tags ([str]): An optional list of item tags which will receive a discount.. [optional] # noqa: E501
|
|
227
231
|
items ([str]): An optional list of items of which one must be purchased to receive free quantity of the same item.. [optional] # noqa: E501
|
|
228
232
|
limit (int): The limit of free items that may be received when purchasing multiple items. [optional] # noqa: E501
|
|
229
233
|
"""
|
|
@@ -87,9 +87,11 @@ class CouponDiscountItemWithItemPurchase(ModelNormal):
|
|
|
87
87
|
return {
|
|
88
88
|
'currency_code': (str,), # noqa: E501
|
|
89
89
|
'discount_item': (str,), # noqa: E501
|
|
90
|
+
'discount_item_tags': ([str],), # noqa: E501
|
|
90
91
|
'discount_price': (float,), # noqa: E501
|
|
91
92
|
'limit': (int,), # noqa: E501
|
|
92
93
|
'required_purchase_item': (str,), # noqa: E501
|
|
94
|
+
'required_purchase_items_tags': ([str],), # noqa: E501
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
@cached_property
|
|
@@ -100,9 +102,11 @@ class CouponDiscountItemWithItemPurchase(ModelNormal):
|
|
|
100
102
|
attribute_map = {
|
|
101
103
|
'currency_code': 'currency_code', # noqa: E501
|
|
102
104
|
'discount_item': 'discount_item', # noqa: E501
|
|
105
|
+
'discount_item_tags': 'discount_item_tags', # noqa: E501
|
|
103
106
|
'discount_price': 'discount_price', # noqa: E501
|
|
104
107
|
'limit': 'limit', # noqa: E501
|
|
105
108
|
'required_purchase_item': 'required_purchase_item', # noqa: E501
|
|
109
|
+
'required_purchase_items_tags': 'required_purchase_items_tags', # noqa: E501
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
read_only_vars = {
|
|
@@ -148,9 +152,11 @@ class CouponDiscountItemWithItemPurchase(ModelNormal):
|
|
|
148
152
|
_visited_composed_classes = (Animal,)
|
|
149
153
|
currency_code (str): The ISO-4217 three letter currency code the customer is viewing prices in. [optional] # noqa: E501
|
|
150
154
|
discount_item (str): The item that will be sold at the discount_price when required_purchase_item is purchased.. [optional] # noqa: E501
|
|
155
|
+
discount_item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
151
156
|
discount_price (float): The price (unit cost) of the discounted item. [optional] # noqa: E501
|
|
152
157
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
153
158
|
required_purchase_item (str): The item that must be purchased for the discount to be applied to the discount item.. [optional] # noqa: E501
|
|
159
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
154
160
|
"""
|
|
155
161
|
|
|
156
162
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -238,9 +244,11 @@ class CouponDiscountItemWithItemPurchase(ModelNormal):
|
|
|
238
244
|
_visited_composed_classes = (Animal,)
|
|
239
245
|
currency_code (str): The ISO-4217 three letter currency code the customer is viewing prices in. [optional] # noqa: E501
|
|
240
246
|
discount_item (str): The item that will be sold at the discount_price when required_purchase_item is purchased.. [optional] # noqa: E501
|
|
247
|
+
discount_item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
241
248
|
discount_price (float): The price (unit cost) of the discounted item. [optional] # noqa: E501
|
|
242
249
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
243
250
|
required_purchase_item (str): The item that must be purchased for the discount to be applied to the discount item.. [optional] # noqa: E501
|
|
251
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
244
252
|
"""
|
|
245
253
|
|
|
246
254
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -82,10 +82,12 @@ class CouponFreeItemWithItemPurchase(ModelNormal):
|
|
|
82
82
|
and the value is attribute type.
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
|
+
'item_tags': ([str],), # noqa: E501
|
|
85
86
|
'items': ([str],), # noqa: E501
|
|
86
87
|
'limit': (int,), # noqa: E501
|
|
87
88
|
'match_required_purchase_item_to_free_item': (bool,), # noqa: E501
|
|
88
89
|
'required_purchase_items': ([str],), # noqa: E501
|
|
90
|
+
'required_purchase_items_tags': ([str],), # noqa: E501
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
@cached_property
|
|
@@ -94,10 +96,12 @@ class CouponFreeItemWithItemPurchase(ModelNormal):
|
|
|
94
96
|
|
|
95
97
|
|
|
96
98
|
attribute_map = {
|
|
99
|
+
'item_tags': 'item_tags', # noqa: E501
|
|
97
100
|
'items': 'items', # noqa: E501
|
|
98
101
|
'limit': 'limit', # noqa: E501
|
|
99
102
|
'match_required_purchase_item_to_free_item': 'match_required_purchase_item_to_free_item', # noqa: E501
|
|
100
103
|
'required_purchase_items': 'required_purchase_items', # noqa: E501
|
|
104
|
+
'required_purchase_items_tags': 'required_purchase_items_tags', # noqa: E501
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
read_only_vars = {
|
|
@@ -141,10 +145,12 @@ class CouponFreeItemWithItemPurchase(ModelNormal):
|
|
|
141
145
|
Animal class but this time we won't travel
|
|
142
146
|
through its discriminator because we passed in
|
|
143
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
+
item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
144
149
|
items ([str]): A list of free items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
145
150
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
146
151
|
match_required_purchase_item_to_free_item (bool): If true then the free item is matched 1:1 with the free item in the list.. [optional] # noqa: E501
|
|
147
152
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
153
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
148
154
|
"""
|
|
149
155
|
|
|
150
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -230,10 +236,12 @@ class CouponFreeItemWithItemPurchase(ModelNormal):
|
|
|
230
236
|
Animal class but this time we won't travel
|
|
231
237
|
through its discriminator because we passed in
|
|
232
238
|
_visited_composed_classes = (Animal,)
|
|
239
|
+
item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
233
240
|
items ([str]): A list of free items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
234
241
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
235
242
|
match_required_purchase_item_to_free_item (bool): If true then the free item is matched 1:1 with the free item in the list.. [optional] # noqa: E501
|
|
236
243
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
244
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
237
245
|
"""
|
|
238
246
|
|
|
239
247
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -83,9 +83,11 @@ class CouponPercentOffItemsWithItemsPurchase(ModelNormal):
|
|
|
83
83
|
"""
|
|
84
84
|
return {
|
|
85
85
|
'discount_percent': (float,), # noqa: E501
|
|
86
|
+
'item_tags': ([str],), # noqa: E501
|
|
86
87
|
'items': ([str],), # noqa: E501
|
|
87
88
|
'limit': (int,), # noqa: E501
|
|
88
89
|
'required_purchase_items': ([str],), # noqa: E501
|
|
90
|
+
'required_purchase_items_tags': ([str],), # noqa: E501
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
@cached_property
|
|
@@ -95,9 +97,11 @@ class CouponPercentOffItemsWithItemsPurchase(ModelNormal):
|
|
|
95
97
|
|
|
96
98
|
attribute_map = {
|
|
97
99
|
'discount_percent': 'discount_percent', # noqa: E501
|
|
100
|
+
'item_tags': 'item_tags', # noqa: E501
|
|
98
101
|
'items': 'items', # noqa: E501
|
|
99
102
|
'limit': 'limit', # noqa: E501
|
|
100
103
|
'required_purchase_items': 'required_purchase_items', # noqa: E501
|
|
104
|
+
'required_purchase_items_tags': 'required_purchase_items_tags', # noqa: E501
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
read_only_vars = {
|
|
@@ -142,9 +146,11 @@ class CouponPercentOffItemsWithItemsPurchase(ModelNormal):
|
|
|
142
146
|
through its discriminator because we passed in
|
|
143
147
|
_visited_composed_classes = (Animal,)
|
|
144
148
|
discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
|
|
149
|
+
item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
145
150
|
items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
146
151
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
147
152
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
153
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
148
154
|
"""
|
|
149
155
|
|
|
150
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,9 +237,11 @@ class CouponPercentOffItemsWithItemsPurchase(ModelNormal):
|
|
|
231
237
|
through its discriminator because we passed in
|
|
232
238
|
_visited_composed_classes = (Animal,)
|
|
233
239
|
discount_percent (float): The percentage of subtotal discount. [optional] # noqa: E501
|
|
240
|
+
item_tags ([str]): An optional list of item tags which will receive a discount of one of the required purchased items is purchased.. [optional] # noqa: E501
|
|
234
241
|
items ([str]): A list of items which will receive a discount if one of the required purchase items is purchased.. [optional] # noqa: E501
|
|
235
242
|
limit (int): The (optional) maximum quantity of discounted items.. [optional] # noqa: E501
|
|
236
243
|
required_purchase_items ([str]): Required items (at least one from the list) that must be purchased for coupon to be valid. [optional] # noqa: E501
|
|
244
|
+
required_purchase_items_tags ([str]): An optional list of item tags which are required to be purchased.. [optional] # noqa: E501
|
|
237
245
|
"""
|
|
238
246
|
|
|
239
247
|
_check_type = kwargs.pop('_check_type', True)
|