ultracart-rest-sdk 4.0.209__py3-none-any.whl → 4.0.210__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/conversation_api.py +290 -0
- ultracart/api/item_api.py +147 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/auto_order_item.py +4 -0
- ultracart/model/workflow_task.py +4 -4
- ultracart/model/workflow_tasks_request.py +8 -0
- {ultracart_rest_sdk-4.0.209.dist-info → ultracart_rest_sdk-4.0.210.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.209.dist-info → ultracart_rest_sdk-4.0.210.dist-info}/RECORD +13 -13
- {ultracart_rest_sdk-4.0.209.dist-info → ultracart_rest_sdk-4.0.210.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.209.dist-info → ultracart_rest_sdk-4.0.210.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.209.dist-info → ultracart_rest_sdk-4.0.210.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
|
@@ -573,6 +573,64 @@ class ConversationApi(object):
|
|
|
573
573
|
},
|
|
574
574
|
api_client=api_client
|
|
575
575
|
)
|
|
576
|
+
self.delete_pbx_queue_voicemail_endpoint = _Endpoint(
|
|
577
|
+
settings={
|
|
578
|
+
'response_type': None,
|
|
579
|
+
'auth': [
|
|
580
|
+
'ultraCartOauth',
|
|
581
|
+
'ultraCartSimpleApiKey'
|
|
582
|
+
],
|
|
583
|
+
'endpoint_path': '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}',
|
|
584
|
+
'operation_id': 'delete_pbx_queue_voicemail',
|
|
585
|
+
'http_method': 'DELETE',
|
|
586
|
+
'servers': None,
|
|
587
|
+
},
|
|
588
|
+
params_map={
|
|
589
|
+
'all': [
|
|
590
|
+
'queue_uuid',
|
|
591
|
+
'recording_sid',
|
|
592
|
+
],
|
|
593
|
+
'required': [
|
|
594
|
+
'queue_uuid',
|
|
595
|
+
'recording_sid',
|
|
596
|
+
],
|
|
597
|
+
'nullable': [
|
|
598
|
+
],
|
|
599
|
+
'enum': [
|
|
600
|
+
],
|
|
601
|
+
'validation': [
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
root_map={
|
|
605
|
+
'validations': {
|
|
606
|
+
},
|
|
607
|
+
'allowed_values': {
|
|
608
|
+
},
|
|
609
|
+
'openapi_types': {
|
|
610
|
+
'queue_uuid':
|
|
611
|
+
(str,),
|
|
612
|
+
'recording_sid':
|
|
613
|
+
(str,),
|
|
614
|
+
},
|
|
615
|
+
'attribute_map': {
|
|
616
|
+
'queue_uuid': 'queue_uuid',
|
|
617
|
+
'recording_sid': 'recording_sid',
|
|
618
|
+
},
|
|
619
|
+
'location_map': {
|
|
620
|
+
'queue_uuid': 'path',
|
|
621
|
+
'recording_sid': 'path',
|
|
622
|
+
},
|
|
623
|
+
'collection_format_map': {
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
headers_map={
|
|
627
|
+
'accept': [
|
|
628
|
+
'application/json'
|
|
629
|
+
],
|
|
630
|
+
'content_type': [],
|
|
631
|
+
},
|
|
632
|
+
api_client=api_client
|
|
633
|
+
)
|
|
576
634
|
self.delete_pbx_time_based_endpoint = _Endpoint(
|
|
577
635
|
settings={
|
|
578
636
|
'response_type': (ConversationPbxTimeBasedResponse,),
|
|
@@ -3459,6 +3517,64 @@ class ConversationApi(object):
|
|
|
3459
3517
|
},
|
|
3460
3518
|
api_client=api_client
|
|
3461
3519
|
)
|
|
3520
|
+
self.listened_pbx_queue_voicemail_endpoint = _Endpoint(
|
|
3521
|
+
settings={
|
|
3522
|
+
'response_type': None,
|
|
3523
|
+
'auth': [
|
|
3524
|
+
'ultraCartOauth',
|
|
3525
|
+
'ultraCartSimpleApiKey'
|
|
3526
|
+
],
|
|
3527
|
+
'endpoint_path': '/conversation/pbx/{queue_uuid}/voicemails/voicemails/{recording_sid}/listened',
|
|
3528
|
+
'operation_id': 'listened_pbx_queue_voicemail',
|
|
3529
|
+
'http_method': 'GET',
|
|
3530
|
+
'servers': None,
|
|
3531
|
+
},
|
|
3532
|
+
params_map={
|
|
3533
|
+
'all': [
|
|
3534
|
+
'queue_uuid',
|
|
3535
|
+
'recording_sid',
|
|
3536
|
+
],
|
|
3537
|
+
'required': [
|
|
3538
|
+
'queue_uuid',
|
|
3539
|
+
'recording_sid',
|
|
3540
|
+
],
|
|
3541
|
+
'nullable': [
|
|
3542
|
+
],
|
|
3543
|
+
'enum': [
|
|
3544
|
+
],
|
|
3545
|
+
'validation': [
|
|
3546
|
+
]
|
|
3547
|
+
},
|
|
3548
|
+
root_map={
|
|
3549
|
+
'validations': {
|
|
3550
|
+
},
|
|
3551
|
+
'allowed_values': {
|
|
3552
|
+
},
|
|
3553
|
+
'openapi_types': {
|
|
3554
|
+
'queue_uuid':
|
|
3555
|
+
(str,),
|
|
3556
|
+
'recording_sid':
|
|
3557
|
+
(str,),
|
|
3558
|
+
},
|
|
3559
|
+
'attribute_map': {
|
|
3560
|
+
'queue_uuid': 'queue_uuid',
|
|
3561
|
+
'recording_sid': 'recording_sid',
|
|
3562
|
+
},
|
|
3563
|
+
'location_map': {
|
|
3564
|
+
'queue_uuid': 'path',
|
|
3565
|
+
'recording_sid': 'path',
|
|
3566
|
+
},
|
|
3567
|
+
'collection_format_map': {
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3570
|
+
headers_map={
|
|
3571
|
+
'accept': [
|
|
3572
|
+
'application/json'
|
|
3573
|
+
],
|
|
3574
|
+
'content_type': [],
|
|
3575
|
+
},
|
|
3576
|
+
api_client=api_client
|
|
3577
|
+
)
|
|
3462
3578
|
self.mark_read_conversation_endpoint = _Endpoint(
|
|
3463
3579
|
settings={
|
|
3464
3580
|
'response_type': None,
|
|
@@ -5230,6 +5346,93 @@ class ConversationApi(object):
|
|
|
5230
5346
|
conversation_pbx_queue_uuid
|
|
5231
5347
|
return self.delete_pbx_queue_endpoint.call_with_http_info(**kwargs)
|
|
5232
5348
|
|
|
5349
|
+
def delete_pbx_queue_voicemail(
|
|
5350
|
+
self,
|
|
5351
|
+
queue_uuid,
|
|
5352
|
+
recording_sid,
|
|
5353
|
+
**kwargs
|
|
5354
|
+
):
|
|
5355
|
+
"""Delete Queue Voicemail # noqa: E501
|
|
5356
|
+
|
|
5357
|
+
Delete pbx queue Voicemail # noqa: E501
|
|
5358
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5359
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5360
|
+
|
|
5361
|
+
>>> thread = api.delete_pbx_queue_voicemail(queue_uuid, recording_sid, async_req=True)
|
|
5362
|
+
>>> result = thread.get()
|
|
5363
|
+
|
|
5364
|
+
Args:
|
|
5365
|
+
queue_uuid (str):
|
|
5366
|
+
recording_sid (str):
|
|
5367
|
+
|
|
5368
|
+
Keyword Args:
|
|
5369
|
+
_return_http_data_only (bool): response data without head status
|
|
5370
|
+
code and headers. Default is True.
|
|
5371
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5372
|
+
will be returned without reading/decoding response data.
|
|
5373
|
+
Default is True.
|
|
5374
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5375
|
+
one number provided, it will be total request timeout. It can also
|
|
5376
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
5377
|
+
Default is None.
|
|
5378
|
+
_check_input_type (bool): specifies if type checking
|
|
5379
|
+
should be done one the data sent to the server.
|
|
5380
|
+
Default is True.
|
|
5381
|
+
_check_return_type (bool): specifies if type checking
|
|
5382
|
+
should be done one the data received from the server.
|
|
5383
|
+
Default is True.
|
|
5384
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
5385
|
+
are serialized names, as specified in the OpenAPI document.
|
|
5386
|
+
False if the variable names in the input data
|
|
5387
|
+
are pythonic names, e.g. snake case (default)
|
|
5388
|
+
_content_type (str/None): force body content-type.
|
|
5389
|
+
Default is None and content-type will be predicted by allowed
|
|
5390
|
+
content-types and body.
|
|
5391
|
+
_host_index (int/None): specifies the index of the server
|
|
5392
|
+
that we want to use.
|
|
5393
|
+
Default is read from the configuration.
|
|
5394
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
5395
|
+
request; this effectively ignores the authentication
|
|
5396
|
+
in the spec for a single request.
|
|
5397
|
+
Default is None
|
|
5398
|
+
async_req (bool): execute request asynchronously
|
|
5399
|
+
|
|
5400
|
+
Returns:
|
|
5401
|
+
None
|
|
5402
|
+
If the method is called asynchronously, returns the request
|
|
5403
|
+
thread.
|
|
5404
|
+
"""
|
|
5405
|
+
kwargs['async_req'] = kwargs.get(
|
|
5406
|
+
'async_req', False
|
|
5407
|
+
)
|
|
5408
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5409
|
+
'_return_http_data_only', True
|
|
5410
|
+
)
|
|
5411
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
5412
|
+
'_preload_content', True
|
|
5413
|
+
)
|
|
5414
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
5415
|
+
'_request_timeout', None
|
|
5416
|
+
)
|
|
5417
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
5418
|
+
'_check_input_type', True
|
|
5419
|
+
)
|
|
5420
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
5421
|
+
'_check_return_type', True
|
|
5422
|
+
)
|
|
5423
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5424
|
+
'_spec_property_naming', False
|
|
5425
|
+
)
|
|
5426
|
+
kwargs['_content_type'] = kwargs.get(
|
|
5427
|
+
'_content_type')
|
|
5428
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5429
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5430
|
+
kwargs['queue_uuid'] = \
|
|
5431
|
+
queue_uuid
|
|
5432
|
+
kwargs['recording_sid'] = \
|
|
5433
|
+
recording_sid
|
|
5434
|
+
return self.delete_pbx_queue_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
5435
|
+
|
|
5233
5436
|
def delete_pbx_time_based(
|
|
5234
5437
|
self,
|
|
5235
5438
|
conversation_pbx_time_based_uuid,
|
|
@@ -9876,6 +10079,93 @@ class ConversationApi(object):
|
|
|
9876
10079
|
recording_sid
|
|
9877
10080
|
return self.listened_pbx_agent_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
9878
10081
|
|
|
10082
|
+
def listened_pbx_queue_voicemail(
|
|
10083
|
+
self,
|
|
10084
|
+
queue_uuid,
|
|
10085
|
+
recording_sid,
|
|
10086
|
+
**kwargs
|
|
10087
|
+
):
|
|
10088
|
+
"""Listened Queue Voicemail # noqa: E501
|
|
10089
|
+
|
|
10090
|
+
Listened pbx queue Voicemail # noqa: E501
|
|
10091
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
10092
|
+
asynchronous HTTP request, please pass async_req=True
|
|
10093
|
+
|
|
10094
|
+
>>> thread = api.listened_pbx_queue_voicemail(queue_uuid, recording_sid, async_req=True)
|
|
10095
|
+
>>> result = thread.get()
|
|
10096
|
+
|
|
10097
|
+
Args:
|
|
10098
|
+
queue_uuid (str):
|
|
10099
|
+
recording_sid (str):
|
|
10100
|
+
|
|
10101
|
+
Keyword Args:
|
|
10102
|
+
_return_http_data_only (bool): response data without head status
|
|
10103
|
+
code and headers. Default is True.
|
|
10104
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
10105
|
+
will be returned without reading/decoding response data.
|
|
10106
|
+
Default is True.
|
|
10107
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
10108
|
+
one number provided, it will be total request timeout. It can also
|
|
10109
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
10110
|
+
Default is None.
|
|
10111
|
+
_check_input_type (bool): specifies if type checking
|
|
10112
|
+
should be done one the data sent to the server.
|
|
10113
|
+
Default is True.
|
|
10114
|
+
_check_return_type (bool): specifies if type checking
|
|
10115
|
+
should be done one the data received from the server.
|
|
10116
|
+
Default is True.
|
|
10117
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
10118
|
+
are serialized names, as specified in the OpenAPI document.
|
|
10119
|
+
False if the variable names in the input data
|
|
10120
|
+
are pythonic names, e.g. snake case (default)
|
|
10121
|
+
_content_type (str/None): force body content-type.
|
|
10122
|
+
Default is None and content-type will be predicted by allowed
|
|
10123
|
+
content-types and body.
|
|
10124
|
+
_host_index (int/None): specifies the index of the server
|
|
10125
|
+
that we want to use.
|
|
10126
|
+
Default is read from the configuration.
|
|
10127
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
10128
|
+
request; this effectively ignores the authentication
|
|
10129
|
+
in the spec for a single request.
|
|
10130
|
+
Default is None
|
|
10131
|
+
async_req (bool): execute request asynchronously
|
|
10132
|
+
|
|
10133
|
+
Returns:
|
|
10134
|
+
None
|
|
10135
|
+
If the method is called asynchronously, returns the request
|
|
10136
|
+
thread.
|
|
10137
|
+
"""
|
|
10138
|
+
kwargs['async_req'] = kwargs.get(
|
|
10139
|
+
'async_req', False
|
|
10140
|
+
)
|
|
10141
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
10142
|
+
'_return_http_data_only', True
|
|
10143
|
+
)
|
|
10144
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
10145
|
+
'_preload_content', True
|
|
10146
|
+
)
|
|
10147
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
10148
|
+
'_request_timeout', None
|
|
10149
|
+
)
|
|
10150
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
10151
|
+
'_check_input_type', True
|
|
10152
|
+
)
|
|
10153
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
10154
|
+
'_check_return_type', True
|
|
10155
|
+
)
|
|
10156
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
10157
|
+
'_spec_property_naming', False
|
|
10158
|
+
)
|
|
10159
|
+
kwargs['_content_type'] = kwargs.get(
|
|
10160
|
+
'_content_type')
|
|
10161
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
10162
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
10163
|
+
kwargs['queue_uuid'] = \
|
|
10164
|
+
queue_uuid
|
|
10165
|
+
kwargs['recording_sid'] = \
|
|
10166
|
+
recording_sid
|
|
10167
|
+
return self.listened_pbx_queue_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
10168
|
+
|
|
9879
10169
|
def mark_read_conversation(
|
|
9880
10170
|
self,
|
|
9881
10171
|
conversation_uuid,
|
ultracart/api/item_api.py
CHANGED
|
@@ -24,6 +24,7 @@ from ultracart.model_utils import ( # noqa: F401
|
|
|
24
24
|
)
|
|
25
25
|
from ultracart.model.error_response import ErrorResponse
|
|
26
26
|
from ultracart.model.item import Item
|
|
27
|
+
from ultracart.model.item_content_attribute import ItemContentAttribute
|
|
27
28
|
from ultracart.model.item_digital_item import ItemDigitalItem
|
|
28
29
|
from ultracart.model.item_digital_item_response import ItemDigitalItemResponse
|
|
29
30
|
from ultracart.model.item_digital_items_response import ItemDigitalItemsResponse
|
|
@@ -1019,6 +1020,65 @@ class ItemApi(object):
|
|
|
1019
1020
|
},
|
|
1020
1021
|
api_client=api_client
|
|
1021
1022
|
)
|
|
1023
|
+
self.insert_update_item_content_attribute_endpoint = _Endpoint(
|
|
1024
|
+
settings={
|
|
1025
|
+
'response_type': None,
|
|
1026
|
+
'auth': [
|
|
1027
|
+
'ultraCartOauth',
|
|
1028
|
+
'ultraCartSimpleApiKey'
|
|
1029
|
+
],
|
|
1030
|
+
'endpoint_path': '/item/items/{merchant_item_oid}/content/attributes',
|
|
1031
|
+
'operation_id': 'insert_update_item_content_attribute',
|
|
1032
|
+
'http_method': 'POST',
|
|
1033
|
+
'servers': None,
|
|
1034
|
+
},
|
|
1035
|
+
params_map={
|
|
1036
|
+
'all': [
|
|
1037
|
+
'merchant_item_oid',
|
|
1038
|
+
'item_attribute',
|
|
1039
|
+
],
|
|
1040
|
+
'required': [
|
|
1041
|
+
'merchant_item_oid',
|
|
1042
|
+
'item_attribute',
|
|
1043
|
+
],
|
|
1044
|
+
'nullable': [
|
|
1045
|
+
],
|
|
1046
|
+
'enum': [
|
|
1047
|
+
],
|
|
1048
|
+
'validation': [
|
|
1049
|
+
]
|
|
1050
|
+
},
|
|
1051
|
+
root_map={
|
|
1052
|
+
'validations': {
|
|
1053
|
+
},
|
|
1054
|
+
'allowed_values': {
|
|
1055
|
+
},
|
|
1056
|
+
'openapi_types': {
|
|
1057
|
+
'merchant_item_oid':
|
|
1058
|
+
(int,),
|
|
1059
|
+
'item_attribute':
|
|
1060
|
+
(ItemContentAttribute,),
|
|
1061
|
+
},
|
|
1062
|
+
'attribute_map': {
|
|
1063
|
+
'merchant_item_oid': 'merchant_item_oid',
|
|
1064
|
+
},
|
|
1065
|
+
'location_map': {
|
|
1066
|
+
'merchant_item_oid': 'path',
|
|
1067
|
+
'item_attribute': 'body',
|
|
1068
|
+
},
|
|
1069
|
+
'collection_format_map': {
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
headers_map={
|
|
1073
|
+
'accept': [
|
|
1074
|
+
'application/json'
|
|
1075
|
+
],
|
|
1076
|
+
'content_type': [
|
|
1077
|
+
'application/json; charset=UTF-8'
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1080
|
+
api_client=api_client
|
|
1081
|
+
)
|
|
1022
1082
|
self.update_digital_item_endpoint = _Endpoint(
|
|
1023
1083
|
settings={
|
|
1024
1084
|
'response_type': (ItemDigitalItemResponse,),
|
|
@@ -2682,6 +2742,93 @@ class ItemApi(object):
|
|
|
2682
2742
|
review
|
|
2683
2743
|
return self.insert_review_endpoint.call_with_http_info(**kwargs)
|
|
2684
2744
|
|
|
2745
|
+
def insert_update_item_content_attribute(
|
|
2746
|
+
self,
|
|
2747
|
+
merchant_item_oid,
|
|
2748
|
+
item_attribute,
|
|
2749
|
+
**kwargs
|
|
2750
|
+
):
|
|
2751
|
+
"""Upsert an item content attribute # noqa: E501
|
|
2752
|
+
|
|
2753
|
+
Update an item content attribute, creating it new if it does not yet exist. # noqa: E501
|
|
2754
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2755
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2756
|
+
|
|
2757
|
+
>>> thread = api.insert_update_item_content_attribute(merchant_item_oid, item_attribute, async_req=True)
|
|
2758
|
+
>>> result = thread.get()
|
|
2759
|
+
|
|
2760
|
+
Args:
|
|
2761
|
+
merchant_item_oid (int): The item oid to modify.
|
|
2762
|
+
item_attribute (ItemContentAttribute): Item content attribute to upsert
|
|
2763
|
+
|
|
2764
|
+
Keyword Args:
|
|
2765
|
+
_return_http_data_only (bool): response data without head status
|
|
2766
|
+
code and headers. Default is True.
|
|
2767
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
2768
|
+
will be returned without reading/decoding response data.
|
|
2769
|
+
Default is True.
|
|
2770
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
2771
|
+
one number provided, it will be total request timeout. It can also
|
|
2772
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
2773
|
+
Default is None.
|
|
2774
|
+
_check_input_type (bool): specifies if type checking
|
|
2775
|
+
should be done one the data sent to the server.
|
|
2776
|
+
Default is True.
|
|
2777
|
+
_check_return_type (bool): specifies if type checking
|
|
2778
|
+
should be done one the data received from the server.
|
|
2779
|
+
Default is True.
|
|
2780
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
2781
|
+
are serialized names, as specified in the OpenAPI document.
|
|
2782
|
+
False if the variable names in the input data
|
|
2783
|
+
are pythonic names, e.g. snake case (default)
|
|
2784
|
+
_content_type (str/None): force body content-type.
|
|
2785
|
+
Default is None and content-type will be predicted by allowed
|
|
2786
|
+
content-types and body.
|
|
2787
|
+
_host_index (int/None): specifies the index of the server
|
|
2788
|
+
that we want to use.
|
|
2789
|
+
Default is read from the configuration.
|
|
2790
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
2791
|
+
request; this effectively ignores the authentication
|
|
2792
|
+
in the spec for a single request.
|
|
2793
|
+
Default is None
|
|
2794
|
+
async_req (bool): execute request asynchronously
|
|
2795
|
+
|
|
2796
|
+
Returns:
|
|
2797
|
+
None
|
|
2798
|
+
If the method is called asynchronously, returns the request
|
|
2799
|
+
thread.
|
|
2800
|
+
"""
|
|
2801
|
+
kwargs['async_req'] = kwargs.get(
|
|
2802
|
+
'async_req', False
|
|
2803
|
+
)
|
|
2804
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
2805
|
+
'_return_http_data_only', True
|
|
2806
|
+
)
|
|
2807
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
2808
|
+
'_preload_content', True
|
|
2809
|
+
)
|
|
2810
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
2811
|
+
'_request_timeout', None
|
|
2812
|
+
)
|
|
2813
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
2814
|
+
'_check_input_type', True
|
|
2815
|
+
)
|
|
2816
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
2817
|
+
'_check_return_type', True
|
|
2818
|
+
)
|
|
2819
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
2820
|
+
'_spec_property_naming', False
|
|
2821
|
+
)
|
|
2822
|
+
kwargs['_content_type'] = kwargs.get(
|
|
2823
|
+
'_content_type')
|
|
2824
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2825
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2826
|
+
kwargs['merchant_item_oid'] = \
|
|
2827
|
+
merchant_item_oid
|
|
2828
|
+
kwargs['item_attribute'] = \
|
|
2829
|
+
item_attribute
|
|
2830
|
+
return self.insert_update_item_content_attribute_endpoint.call_with_http_info(**kwargs)
|
|
2831
|
+
|
|
2685
2832
|
def update_digital_item(
|
|
2686
2833
|
self,
|
|
2687
2834
|
digital_item_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.210/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.210".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
|
@@ -117,6 +117,7 @@ class AutoOrderItem(ModelNormal):
|
|
|
117
117
|
'arbitrary_unit_cost': (float,), # noqa: E501
|
|
118
118
|
'arbitrary_unit_cost_remaining_orders': (int,), # noqa: E501
|
|
119
119
|
'auto_order_item_oid': (int,), # noqa: E501
|
|
120
|
+
'calculated_next_shipment_dts': (str,), # noqa: E501
|
|
120
121
|
'first_order_dts': (str,), # noqa: E501
|
|
121
122
|
'frequency': (str,), # noqa: E501
|
|
122
123
|
'future_schedules': ([AutoOrderItemFutureSchedule],), # noqa: E501
|
|
@@ -152,6 +153,7 @@ class AutoOrderItem(ModelNormal):
|
|
|
152
153
|
'arbitrary_unit_cost': 'arbitrary_unit_cost', # noqa: E501
|
|
153
154
|
'arbitrary_unit_cost_remaining_orders': 'arbitrary_unit_cost_remaining_orders', # noqa: E501
|
|
154
155
|
'auto_order_item_oid': 'auto_order_item_oid', # noqa: E501
|
|
156
|
+
'calculated_next_shipment_dts': 'calculated_next_shipment_dts', # noqa: E501
|
|
155
157
|
'first_order_dts': 'first_order_dts', # noqa: E501
|
|
156
158
|
'frequency': 'frequency', # noqa: E501
|
|
157
159
|
'future_schedules': 'future_schedules', # noqa: E501
|
|
@@ -222,6 +224,7 @@ class AutoOrderItem(ModelNormal):
|
|
|
222
224
|
arbitrary_unit_cost (float): Arbitrary unit cost that rebills of this item should occur at. [optional] # noqa: E501
|
|
223
225
|
arbitrary_unit_cost_remaining_orders (int): The number of rebills to give the arbitrary unit cost on before reverting to normal pricing.. [optional] # noqa: E501
|
|
224
226
|
auto_order_item_oid (int): Primary key of AutoOrderItem. [optional] # noqa: E501
|
|
227
|
+
calculated_next_shipment_dts (str): Calculated Date/time that this item is scheduled to rebill. Will be null if no more shipments are going to occur on this item. [optional] # noqa: E501
|
|
225
228
|
first_order_dts (str): Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.. [optional] # noqa: E501
|
|
226
229
|
frequency (str): Frequency of the rebill if not a fixed schedule. [optional] # noqa: E501
|
|
227
230
|
future_schedules ([AutoOrderItemFutureSchedule]): The future rebill schedule for this item up to the next ten rebills. [optional] # noqa: E501
|
|
@@ -334,6 +337,7 @@ class AutoOrderItem(ModelNormal):
|
|
|
334
337
|
arbitrary_unit_cost (float): Arbitrary unit cost that rebills of this item should occur at. [optional] # noqa: E501
|
|
335
338
|
arbitrary_unit_cost_remaining_orders (int): The number of rebills to give the arbitrary unit cost on before reverting to normal pricing.. [optional] # noqa: E501
|
|
336
339
|
auto_order_item_oid (int): Primary key of AutoOrderItem. [optional] # noqa: E501
|
|
340
|
+
calculated_next_shipment_dts (str): Calculated Date/time that this item is scheduled to rebill. Will be null if no more shipments are going to occur on this item. [optional] # noqa: E501
|
|
337
341
|
first_order_dts (str): Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.. [optional] # noqa: E501
|
|
338
342
|
frequency (str): Frequency of the rebill if not a fixed schedule. [optional] # noqa: E501
|
|
339
343
|
future_schedules ([AutoOrderItemFutureSchedule]): The future rebill schedule for this item up to the next ten rebills. [optional] # noqa: E501
|
ultracart/model/workflow_task.py
CHANGED
|
@@ -253,14 +253,14 @@ class WorkflowTask(ModelNormal):
|
|
|
253
253
|
dependant_workflow_task_uuid (str): Dependant Workflow Task UUID (must be completed before this task can be completed). [optional] # noqa: E501
|
|
254
254
|
due_dts (str): Date/time that the workflow task is due. [optional] # noqa: E501
|
|
255
255
|
expiration_dts (str): Date/time that the workflow task will expire and be closed. This is set by system generated tasks.. [optional] # noqa: E501
|
|
256
|
-
global_task_number (int): Global task
|
|
256
|
+
global_task_number (int): Global task number. [optional] # noqa: E501
|
|
257
257
|
histories ([WorkflowTaskHistory]): Array of history records for the task. [optional] # noqa: E501
|
|
258
258
|
last_update_dts (str): Date/time that the workflow task was last updated. [optional] # noqa: E501
|
|
259
259
|
merchant_id (str): Merchant ID. [optional] # noqa: E501
|
|
260
260
|
notes ([WorkflowNote]): Notes on the Workflow Task. [optional] # noqa: E501
|
|
261
261
|
object_email (str): Object is associated with customer email. [optional] # noqa: E501
|
|
262
262
|
object_id (str): Object ID. [optional] # noqa: E501
|
|
263
|
-
object_task_number (int): Object specific task
|
|
263
|
+
object_task_number (int): Object specific task number. [optional] # noqa: E501
|
|
264
264
|
object_type (str): Object Type. [optional] # noqa: E501
|
|
265
265
|
object_url (str): Object URL. [optional] # noqa: E501
|
|
266
266
|
priority (str): Priority. [optional] # noqa: E501
|
|
@@ -370,14 +370,14 @@ class WorkflowTask(ModelNormal):
|
|
|
370
370
|
dependant_workflow_task_uuid (str): Dependant Workflow Task UUID (must be completed before this task can be completed). [optional] # noqa: E501
|
|
371
371
|
due_dts (str): Date/time that the workflow task is due. [optional] # noqa: E501
|
|
372
372
|
expiration_dts (str): Date/time that the workflow task will expire and be closed. This is set by system generated tasks.. [optional] # noqa: E501
|
|
373
|
-
global_task_number (int): Global task
|
|
373
|
+
global_task_number (int): Global task number. [optional] # noqa: E501
|
|
374
374
|
histories ([WorkflowTaskHistory]): Array of history records for the task. [optional] # noqa: E501
|
|
375
375
|
last_update_dts (str): Date/time that the workflow task was last updated. [optional] # noqa: E501
|
|
376
376
|
merchant_id (str): Merchant ID. [optional] # noqa: E501
|
|
377
377
|
notes ([WorkflowNote]): Notes on the Workflow Task. [optional] # noqa: E501
|
|
378
378
|
object_email (str): Object is associated with customer email. [optional] # noqa: E501
|
|
379
379
|
object_id (str): Object ID. [optional] # noqa: E501
|
|
380
|
-
object_task_number (int): Object specific task
|
|
380
|
+
object_task_number (int): Object specific task number. [optional] # noqa: E501
|
|
381
381
|
object_type (str): Object Type. [optional] # noqa: E501
|
|
382
382
|
object_url (str): Object URL. [optional] # noqa: E501
|
|
383
383
|
priority (str): Priority. [optional] # noqa: E501
|
|
@@ -106,8 +106,10 @@ class WorkflowTasksRequest(ModelNormal):
|
|
|
106
106
|
"""
|
|
107
107
|
lazy_import()
|
|
108
108
|
return {
|
|
109
|
+
'assigned_to_group': (str,), # noqa: E501
|
|
109
110
|
'assigned_to_group_id': (int,), # noqa: E501
|
|
110
111
|
'assigned_to_me': (bool,), # noqa: E501
|
|
112
|
+
'assigned_to_user': (str,), # noqa: E501
|
|
111
113
|
'assigned_to_user_id': (int,), # noqa: E501
|
|
112
114
|
'created_by': (WorkflowUser,), # noqa: E501
|
|
113
115
|
'created_dts_begin': (str,), # noqa: E501
|
|
@@ -132,8 +134,10 @@ class WorkflowTasksRequest(ModelNormal):
|
|
|
132
134
|
|
|
133
135
|
|
|
134
136
|
attribute_map = {
|
|
137
|
+
'assigned_to_group': 'assigned_to_group', # noqa: E501
|
|
135
138
|
'assigned_to_group_id': 'assigned_to_group_id', # noqa: E501
|
|
136
139
|
'assigned_to_me': 'assigned_to_me', # noqa: E501
|
|
140
|
+
'assigned_to_user': 'assigned_to_user', # noqa: E501
|
|
137
141
|
'assigned_to_user_id': 'assigned_to_user_id', # noqa: E501
|
|
138
142
|
'created_by': 'created_by', # noqa: E501
|
|
139
143
|
'created_dts_begin': 'created_dts_begin', # noqa: E501
|
|
@@ -193,8 +197,10 @@ class WorkflowTasksRequest(ModelNormal):
|
|
|
193
197
|
Animal class but this time we won't travel
|
|
194
198
|
through its discriminator because we passed in
|
|
195
199
|
_visited_composed_classes = (Animal,)
|
|
200
|
+
assigned_to_group (str): Assigned to group. [optional] # noqa: E501
|
|
196
201
|
assigned_to_group_id (int): Assigned to group ID. [optional] # noqa: E501
|
|
197
202
|
assigned_to_me (bool): Tasks are assigned to me either by direct user id or a group that the user is a member of. [optional] # noqa: E501
|
|
203
|
+
assigned_to_user (str): Assigned to user. [optional] # noqa: E501
|
|
198
204
|
assigned_to_user_id (int): Assigned to user ID. [optional] # noqa: E501
|
|
199
205
|
created_by (WorkflowUser): [optional] # noqa: E501
|
|
200
206
|
created_dts_begin (str): Date/time that the workflow task was created. [optional] # noqa: E501
|
|
@@ -296,8 +302,10 @@ class WorkflowTasksRequest(ModelNormal):
|
|
|
296
302
|
Animal class but this time we won't travel
|
|
297
303
|
through its discriminator because we passed in
|
|
298
304
|
_visited_composed_classes = (Animal,)
|
|
305
|
+
assigned_to_group (str): Assigned to group. [optional] # noqa: E501
|
|
299
306
|
assigned_to_group_id (int): Assigned to group ID. [optional] # noqa: E501
|
|
300
307
|
assigned_to_me (bool): Tasks are assigned to me either by direct user id or a group that the user is a member of. [optional] # noqa: E501
|
|
308
|
+
assigned_to_user (str): Assigned to user. [optional] # noqa: E501
|
|
301
309
|
assigned_to_user_id (int): Assigned to user ID. [optional] # noqa: E501
|
|
302
310
|
created_by (WorkflowUser): [optional] # noqa: E501
|
|
303
311
|
created_dts_begin (str): Date/time that the workflow task was created. [optional] # noqa: E501
|
|
@@ -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=HXDoknIvfkcN3ohklFcEbGAKamxVz0yBRJTFLO3fQC4,699
|
|
2
|
+
ultracart/api_client.py,sha256=Mbw1iv_CeZYpBVqJQnPNx9K9KAyMUQne0C_CWyN47_8,39072
|
|
3
|
+
ultracart/configuration.py,sha256=0bORbhgDhHqgh8JKYYuHk3Tn966JwBhmYRZBN0_SQEY,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
|
|
@@ -10,14 +10,14 @@ ultracart/api/auto_order_api.py,sha256=9AEzkGADZhNlCy5wVSylV5DGXlSG-_UPlY_EgPDUB
|
|
|
10
10
|
ultracart/api/channel_partner_api.py,sha256=aPduqNAS8wcwqS9hC0bnZktMFCBd90S6lz9265-v3JU,63965
|
|
11
11
|
ultracart/api/chargeback_api.py,sha256=bC5LfbV1DuVMZhfCvkkog33VACDVk7W74JvlaXy5Nuc,32295
|
|
12
12
|
ultracart/api/checkout_api.py,sha256=KLZAsTMiY55AHDhubbNZYipBPGwihQbEsLDjIDzkLkQ,105889
|
|
13
|
-
ultracart/api/conversation_api.py,sha256=
|
|
13
|
+
ultracart/api/conversation_api.py,sha256=rUcHskKKusye_jQJhY5G-WmUYYTHibhdjYoHQNeTi9E,458095
|
|
14
14
|
ultracart/api/coupon_api.py,sha256=voBpCzDhuBog_0WKSj9J-2zKSI8LyJINjUneeLAwlHg,109039
|
|
15
15
|
ultracart/api/customer_api.py,sha256=I9skXHJZw9asr5LnRnE3vbVNMadjLm_2bDrNhr-mnfg,146498
|
|
16
16
|
ultracart/api/datawarehouse_api.py,sha256=4UdypzYNcDwgHeyWqK1x6WARC62u9CmbfVTGhryOq5I,52975
|
|
17
17
|
ultracart/api/fulfillment_api.py,sha256=2MN_iugqFk4gwz-ZhrOgB9iIQHnzQ5qNcv9pweOvXro,35183
|
|
18
18
|
ultracart/api/gift_certificate_api.py,sha256=2TkzQhqCMcPf8Ro14eRycy0LtPxfC7n67GSMRrMcNuc,46858
|
|
19
19
|
ultracart/api/integration_log_api.py,sha256=t8spQtDERkGKISq7JtDNkA1MsQXp8qV8lSuXIhy0lEc,30164
|
|
20
|
-
ultracart/api/item_api.py,sha256=
|
|
20
|
+
ultracart/api/item_api.py,sha256=RSJzispf9uhcHsYQDI4SM20Yx9Kpze7292XxkXcNpq8,129632
|
|
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
|
|
@@ -53,7 +53,7 @@ ultracart/model/apply_library_item_response.py,sha256=cmBteAFEixzDwZZ-uyMl34WWjo
|
|
|
53
53
|
ultracart/model/auto_order.py,sha256=-ea3eNukm733m06u5zEqf-qJK5lYYxZXuJ4SUrhmNco,20408
|
|
54
54
|
ultracart/model/auto_order_addon_item.py,sha256=bj3m5w0E5dnlV079lNqpABG4UPuRS5jDV3Fe0V12ASs,12875
|
|
55
55
|
ultracart/model/auto_order_addon_item_option.py,sha256=YbtpPdYXTssJ-PaNTVVOYOihcpm-2xcSkM-Uk0nP-lU,11765
|
|
56
|
-
ultracart/model/auto_order_item.py,sha256=
|
|
56
|
+
ultracart/model/auto_order_item.py,sha256=Z7Ih0hBmH-KgBckW8465WBOjO10mXGb0cbV4EXFj_-U,23392
|
|
57
57
|
ultracart/model/auto_order_item_future_schedule.py,sha256=cTIdLcoPGu7HQUi5zpuVOoH4dfNcv0q0HZEj5YajxyI,12406
|
|
58
58
|
ultracart/model/auto_order_item_option.py,sha256=flZvz7ZbfSz24gdw0w8YaaDlukBmaXfMRb1q9DApoTc,11750
|
|
59
59
|
ultracart/model/auto_order_item_simple_schedule.py,sha256=tADQNRISVPi9H1g-SYMKFqGpInWk75_hdTRUOEBWn48,12861
|
|
@@ -862,19 +862,19 @@ ultracart/model/workflow_attachment_upload_url_response.py,sha256=lVlpKYdNWYSxw9
|
|
|
862
862
|
ultracart/model/workflow_group.py,sha256=3H0Khtx2XmuJynp6Ipg5rlRtejyPwJ9TPwoMyjC4Pgg,11633
|
|
863
863
|
ultracart/model/workflow_groups_response.py,sha256=06v9MFcDNngHD04e_OVb1rNybXGHiv8XArl-VhHVKi0,12830
|
|
864
864
|
ultracart/model/workflow_note.py,sha256=MTJjEApWKi7_FBvG_dlAz_8_q-aewWRo9VemRu2gDIM,13079
|
|
865
|
-
ultracart/model/workflow_task.py,sha256=
|
|
865
|
+
ultracart/model/workflow_task.py,sha256=Xl1WyffGvJ158Qa62FZOwd0Z50Xl2LYC5IVoJfYCNYw,22400
|
|
866
866
|
ultracart/model/workflow_task_history.py,sha256=ACsmMSwt1Z_DAvGsq6K20D8Aer2Xvvrps6Z0ys74H_Q,12502
|
|
867
867
|
ultracart/model/workflow_task_open_count_response.py,sha256=y3m0w8m_ZW9BfT908UXOIB-4jjCFC86NYdCPsNMFkow,12745
|
|
868
868
|
ultracart/model/workflow_task_response.py,sha256=A9Tq_Q-2NDgTExf6XeBKeCkSnrgiLooOkFH48pie5Kw,12785
|
|
869
869
|
ultracart/model/workflow_task_tags_response.py,sha256=6qAFnT0neZTvEh7X7srobMYG8HjDekxymdXUUkVclHU,12684
|
|
870
|
-
ultracart/model/workflow_tasks_request.py,sha256=
|
|
870
|
+
ultracart/model/workflow_tasks_request.py,sha256=tw8tJxoqgFdtgCJYLWoRJA3nj70kegDxCgBBGXNq3M0,18072
|
|
871
871
|
ultracart/model/workflow_tasks_response.py,sha256=KmHe72xKnZiS9CemBr5hluY5EsU9_x_gbkHSsSLyxo4,13199
|
|
872
872
|
ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE41k,11903
|
|
873
873
|
ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
|
|
874
874
|
ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
|
|
875
875
|
ultracart/models/__init__.py,sha256=4sfhSouSKN26BXjipfDio_WoTfaH5TaiDegT8YuWlR8,64997
|
|
876
|
-
ultracart_rest_sdk-4.0.
|
|
877
|
-
ultracart_rest_sdk-4.0.
|
|
878
|
-
ultracart_rest_sdk-4.0.
|
|
879
|
-
ultracart_rest_sdk-4.0.
|
|
880
|
-
ultracart_rest_sdk-4.0.
|
|
876
|
+
ultracart_rest_sdk-4.0.210.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
877
|
+
ultracart_rest_sdk-4.0.210.dist-info/METADATA,sha256=4sK2XRswSV65Mf1l9ubbyWeq4HIXoGELNKU5QAXu_RA,403
|
|
878
|
+
ultracart_rest_sdk-4.0.210.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
879
|
+
ultracart_rest_sdk-4.0.210.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
880
|
+
ultracart_rest_sdk-4.0.210.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|