ultracart_api 3.10.192 → 3.10.194

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4de3cf40fdb033fe848abb8e7455cf9a8a4d72dbc289c7a23ae7c03044da09c
4
- data.tar.gz: 5692acec6e3aec11b86df823d0b0f28ad4414329a36132ae9c27fc423eb3edd3
3
+ metadata.gz: da0eece3a08a56672c19b5145d329d9f86ca6bb92d2bd34de88685ee4903c4a0
4
+ data.tar.gz: 1f467075da0dd65f0d6f77fbf4a27f5ac3458fee145eb5df8208f9e6f0438441
5
5
  SHA512:
6
- metadata.gz: eb3464401fa736843e17eaaa24f22203bb2d3e68c9f36836fba082b256f9572e39f9ee503821b168cdc01f33655e2e000245e34f3608e8b9b0146939ca2c08a3
7
- data.tar.gz: edbaa67d15e3bdc74b701898e5c5e807274687953e05cfe3796c079123653260c0a09d575f85186d5bfbe9e618e963258efe796632857bd5fd7e8b58202da6d7
6
+ metadata.gz: 1c2a72cdeaa61878876e7441459e61bdc62327ec866e2cca11c9a48f8d383a11c564130f8a3f658ca0bc3593fc9687194e3912966404f34da4b120d430f3266d
7
+ data.tar.gz: 5eeb00b3a7fdd9c144dc5831fd11fa762c3616ee8445290567f7eaa630854e9672d3d6db2607b5699dbbf0924406691353a0082ef856e801071f9ed1a873122b
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.10.192
10
+ - Package version: 3.10.194
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.10.192.gem
27
+ gem install ./ultracart_api-3.10.194.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.192.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.194.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.10.192'
35
+ gem 'ultracart_api', '~> 3.10.194'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -141,6 +141,7 @@ Class | Method | HTTP request | Description
141
141
  *UltracartClient::ConversationApi* | [**delete_pbx_menu**](docs/ConversationApi.md#delete_pbx_menu) | **DELETE** /conversation/pbx/menu/{conversationPbxMenuUuid} | Delete pbx menu
142
142
  *UltracartClient::ConversationApi* | [**delete_pbx_phone_number**](docs/ConversationApi.md#delete_pbx_phone_number) | **DELETE** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid} | Delete pbx phoneNumber
143
143
  *UltracartClient::ConversationApi* | [**delete_pbx_queue**](docs/ConversationApi.md#delete_pbx_queue) | **DELETE** /conversation/pbx/queue/{conversationPbxQueueUuid} | Delete pbx queue
144
+ *UltracartClient::ConversationApi* | [**delete_pbx_queue_voicemail**](docs/ConversationApi.md#delete_pbx_queue_voicemail) | **DELETE** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid} | Delete Queue Voicemail
144
145
  *UltracartClient::ConversationApi* | [**delete_pbx_time_based**](docs/ConversationApi.md#delete_pbx_time_based) | **DELETE** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Delete pbx timeBased
145
146
  *UltracartClient::ConversationApi* | [**delete_pbx_time_range**](docs/ConversationApi.md#delete_pbx_time_range) | **DELETE** /conversation/pbx/time_range/{conversationPbxTimeRangeUuid} | Delete pbx timeRange
146
147
  *UltracartClient::ConversationApi* | [**delete_pbx_voicemail_mailbox**](docs/ConversationApi.md#delete_pbx_voicemail_mailbox) | **DELETE** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Delete pbx voicemailMailbox
@@ -198,6 +199,7 @@ Class | Method | HTTP request | Description
198
199
  *UltracartClient::ConversationApi* | [**join_conversation**](docs/ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
199
200
  *UltracartClient::ConversationApi* | [**leave_conversation**](docs/ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
200
201
  *UltracartClient::ConversationApi* | [**listened_pbx_agent_voicemail**](docs/ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
202
+ *UltracartClient::ConversationApi* | [**listened_pbx_queue_voicemail**](docs/ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened | Listened Queue Voicemail
201
203
  *UltracartClient::ConversationApi* | [**mark_read_conversation**](docs/ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
202
204
  *UltracartClient::ConversationApi* | [**reset_conversation_pbx_queue_statistics**](docs/ConversationApi.md#reset_conversation_pbx_queue_statistics) | **POST** /conversation/pbx/queues/{queue_uuid}/reset_statistics | reset statistics within the queue
203
205
  *UltracartClient::ConversationApi* | [**search_conversation_canned_messages**](docs/ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
@@ -304,6 +306,7 @@ Class | Method | HTTP request | Description
304
306
  *UltracartClient::ItemApi* | [**insert_digital_item**](docs/ItemApi.md#insert_digital_item) | **POST** /item/digital_library | Create a file within the digital library
305
307
  *UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
306
308
  *UltracartClient::ItemApi* | [**insert_review**](docs/ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
309
+ *UltracartClient::ItemApi* | [**insert_update_item_content_attribute**](docs/ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute
307
310
  *UltracartClient::ItemApi* | [**update_digital_item**](docs/ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
308
311
  *UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
309
312
  *UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
@@ -1496,6 +1499,8 @@ Not every change is committed to every SDK.
1496
1499
 
1497
1500
  | Version | Date | Comments |
1498
1501
  | --: | :-: | --- |
1502
+ | 3.10.194 | 04/24/2024 | esp - add fields for external generation on email |
1503
+ | 3.10.193 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
1499
1504
  | 3.10.192 | 04/01/2024 | added merchant_id as read-only top level property of AutoOrder object |
1500
1505
  | 3.10.191 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
1501
1506
  | 3.10.190 | 03/25/2024 | workflowtask - add global_task_number and object_task_number |
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **arbitrary_unit_cost** | **Float** | Arbitrary unit cost that rebills of this item should occur at | [optional]
11
11
  **arbitrary_unit_cost_remaining_orders** | **Integer** | The number of rebills to give the arbitrary unit cost on before reverting to normal pricing. | [optional]
12
12
  **auto_order_item_oid** | **Integer** | Primary key of AutoOrderItem | [optional]
13
+ **calculated_next_shipment_dts** | **String** | 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]
13
14
  **first_order_dts** | **String** | Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet. | [optional]
14
15
  **frequency** | **String** | Frequency of the rebill if not a fixed schedule | [optional]
15
16
  **future_schedules** | [**Array<AutoOrderItemFutureSchedule>**](AutoOrderItemFutureSchedule.md) | The future rebill schedule for this item up to the next ten rebills | [optional]
@@ -7,7 +7,10 @@ Name | Type | Description | Notes
7
7
  **conversation_participant_name** | **String** | | [optional]
8
8
  **jwt** | **String** | | [optional]
9
9
  **merchant_id** | **String** | | [optional]
10
+ **pbx_admin** | **BOOLEAN** | | [optional]
10
11
  **pbx_jwt** | **String** | | [optional]
12
+ **pbx_supervisor** | **BOOLEAN** | | [optional]
13
+ **pbx_user** | **BOOLEAN** | | [optional]
11
14
  **pbx_voice_identity** | **String** | | [optional]
12
15
  **pbx_voice_token** | **String** | | [optional]
13
16
  **pbx_worker_token** | **String** | | [optional]
@@ -13,6 +13,7 @@ Method | HTTP request | Description
13
13
  [**delete_pbx_menu**](ConversationApi.md#delete_pbx_menu) | **DELETE** /conversation/pbx/menu/{conversationPbxMenuUuid} | Delete pbx menu
14
14
  [**delete_pbx_phone_number**](ConversationApi.md#delete_pbx_phone_number) | **DELETE** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid} | Delete pbx phoneNumber
15
15
  [**delete_pbx_queue**](ConversationApi.md#delete_pbx_queue) | **DELETE** /conversation/pbx/queue/{conversationPbxQueueUuid} | Delete pbx queue
16
+ [**delete_pbx_queue_voicemail**](ConversationApi.md#delete_pbx_queue_voicemail) | **DELETE** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid} | Delete Queue Voicemail
16
17
  [**delete_pbx_time_based**](ConversationApi.md#delete_pbx_time_based) | **DELETE** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Delete pbx timeBased
17
18
  [**delete_pbx_time_range**](ConversationApi.md#delete_pbx_time_range) | **DELETE** /conversation/pbx/time_range/{conversationPbxTimeRangeUuid} | Delete pbx timeRange
18
19
  [**delete_pbx_voicemail_mailbox**](ConversationApi.md#delete_pbx_voicemail_mailbox) | **DELETE** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Delete pbx voicemailMailbox
@@ -70,6 +71,7 @@ Method | HTTP request | Description
70
71
  [**join_conversation**](ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
71
72
  [**leave_conversation**](ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
72
73
  [**listened_pbx_agent_voicemail**](ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
74
+ [**listened_pbx_queue_voicemail**](ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened | Listened Queue Voicemail
73
75
  [**mark_read_conversation**](ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
74
76
  [**reset_conversation_pbx_queue_statistics**](ConversationApi.md#reset_conversation_pbx_queue_statistics) | **POST** /conversation/pbx/queues/{queue_uuid}/reset_statistics | reset statistics within the queue
75
77
  [**search_conversation_canned_messages**](ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
@@ -536,6 +538,58 @@ Name | Type | Description | Notes
536
538
 
537
539
 
538
540
 
541
+ # **delete_pbx_queue_voicemail**
542
+ > delete_pbx_queue_voicemail(queue_uuid, recording_sid)
543
+
544
+ Delete Queue Voicemail
545
+
546
+ Delete pbx queue Voicemail
547
+
548
+ ### Example
549
+ ```ruby
550
+ # load the gem
551
+ require 'ultracart_api'
552
+
553
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
554
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
555
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
556
+
557
+
558
+ queue_uuid = 'queue_uuid_example' # String |
559
+
560
+ recording_sid = 'recording_sid_example' # String |
561
+
562
+
563
+ begin
564
+ #Delete Queue Voicemail
565
+ api_instance.delete_pbx_queue_voicemail(queue_uuid, recording_sid)
566
+ rescue UltracartClient::ApiError => e
567
+ puts "Exception when calling ConversationApi->delete_pbx_queue_voicemail: #{e}"
568
+ end
569
+ ```
570
+
571
+ ### Parameters
572
+
573
+ Name | Type | Description | Notes
574
+ ------------- | ------------- | ------------- | -------------
575
+ **queue_uuid** | **String**| |
576
+ **recording_sid** | **String**| |
577
+
578
+ ### Return type
579
+
580
+ nil (empty response body)
581
+
582
+ ### Authorization
583
+
584
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
585
+
586
+ ### HTTP request headers
587
+
588
+ - **Content-Type**: application/json
589
+ - **Accept**: application/json
590
+
591
+
592
+
539
593
  # **delete_pbx_time_based**
540
594
  > ConversationPbxTimeBasedResponse delete_pbx_time_based(conversation_pbx_time_based_uuid)
541
595
 
@@ -3312,6 +3366,58 @@ nil (empty response body)
3312
3366
 
3313
3367
 
3314
3368
 
3369
+ # **listened_pbx_queue_voicemail**
3370
+ > listened_pbx_queue_voicemail(queue_uuid, recording_sid)
3371
+
3372
+ Listened Queue Voicemail
3373
+
3374
+ Listened pbx queue Voicemail
3375
+
3376
+ ### Example
3377
+ ```ruby
3378
+ # load the gem
3379
+ require 'ultracart_api'
3380
+
3381
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3382
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3383
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
3384
+
3385
+
3386
+ queue_uuid = 'queue_uuid_example' # String |
3387
+
3388
+ recording_sid = 'recording_sid_example' # String |
3389
+
3390
+
3391
+ begin
3392
+ #Listened Queue Voicemail
3393
+ api_instance.listened_pbx_queue_voicemail(queue_uuid, recording_sid)
3394
+ rescue UltracartClient::ApiError => e
3395
+ puts "Exception when calling ConversationApi->listened_pbx_queue_voicemail: #{e}"
3396
+ end
3397
+ ```
3398
+
3399
+ ### Parameters
3400
+
3401
+ Name | Type | Description | Notes
3402
+ ------------- | ------------- | ------------- | -------------
3403
+ **queue_uuid** | **String**| |
3404
+ **recording_sid** | **String**| |
3405
+
3406
+ ### Return type
3407
+
3408
+ nil (empty response body)
3409
+
3410
+ ### Authorization
3411
+
3412
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3413
+
3414
+ ### HTTP request headers
3415
+
3416
+ - **Content-Type**: application/json
3417
+ - **Accept**: application/json
3418
+
3419
+
3420
+
3315
3421
  # **mark_read_conversation**
3316
3422
  > mark_read_conversation(conversation_uuid)
3317
3423
 
@@ -23,5 +23,6 @@ Name | Type | Description | Notes
23
23
  **voicemail** | **BOOLEAN** | If true, this queue has a voicemail associated with it | [optional]
24
24
  **wait_critical_seconds** | **Integer** | Wait time in seconds before critical | [optional]
25
25
  **wait_warning_seconds** | **Integer** | Wait time in seconds before warning | [optional]
26
+ **wrap_up_seconds** | **Integer** | Wrap up time in seconds | [optional]
26
27
 
27
28
 
@@ -10,6 +10,14 @@ Name | Type | Description | Notes
10
10
  **email_container_cjson** | **String** | Email container cjson | [optional]
11
11
  **email_container_cjson_last_modified_dts** | **String** | Timestamp the last time the container was modified. | [optional]
12
12
  **email_template_vm_path** | **String** | Email template virtual path | [optional]
13
+ **external_generation** | **BOOLEAN** | | [optional]
14
+ **external_generation_authentication** | **String** | | [optional]
15
+ **external_generation_basic_password** | **String** | | [optional]
16
+ **external_generation_basic_username** | **String** | | [optional]
17
+ **external_generation_header_name** | **String** | | [optional]
18
+ **external_generation_header_value** | **String** | | [optional]
19
+ **external_generation_id** | **String** | | [optional]
20
+ **external_generation_url** | **String** | | [optional]
13
21
  **filter_profile_equation_json** | **String** | Filter profile equation json | [optional]
14
22
  **individually_render** | **BOOLEAN** | Individually render | [optional]
15
23
  **library_item_oid** | **Integer** | If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated. | [optional]
data/docs/ItemApi.md CHANGED
@@ -20,6 +20,7 @@ Method | HTTP request | Description
20
20
  [**insert_digital_item**](ItemApi.md#insert_digital_item) | **POST** /item/digital_library | Create a file within the digital library
21
21
  [**insert_item**](ItemApi.md#insert_item) | **POST** /item/items | Create an item
22
22
  [**insert_review**](ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
23
+ [**insert_update_item_content_attribute**](ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute
23
24
  [**update_digital_item**](ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
24
25
  [**update_item**](ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
25
26
  [**update_items**](ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
@@ -889,6 +890,58 @@ Name | Type | Description | Notes
889
890
 
890
891
 
891
892
 
893
+ # **insert_update_item_content_attribute**
894
+ > insert_update_item_content_attribute(item_attribute, merchant_item_oid)
895
+
896
+ Upsert an item content attribute
897
+
898
+ Update an item content attribute, creating it new if it does not yet exist.
899
+
900
+ ### Example
901
+ ```ruby
902
+ # load the gem
903
+ require 'ultracart_api'
904
+
905
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
906
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
907
+ api_instance = UltracartClient::ItemApi.new_using_api_key(simple_key, false, false)
908
+
909
+
910
+ item_attribute = UltracartClient::ItemContentAttribute.new # ItemContentAttribute | Item content attribute to upsert
911
+
912
+ merchant_item_oid = 56 # Integer | The item oid to modify.
913
+
914
+
915
+ begin
916
+ #Upsert an item content attribute
917
+ api_instance.insert_update_item_content_attribute(item_attribute, merchant_item_oid)
918
+ rescue UltracartClient::ApiError => e
919
+ puts "Exception when calling ItemApi->insert_update_item_content_attribute: #{e}"
920
+ end
921
+ ```
922
+
923
+ ### Parameters
924
+
925
+ Name | Type | Description | Notes
926
+ ------------- | ------------- | ------------- | -------------
927
+ **item_attribute** | [**ItemContentAttribute**](ItemContentAttribute.md)| Item content attribute to upsert |
928
+ **merchant_item_oid** | **Integer**| The item oid to modify. |
929
+
930
+ ### Return type
931
+
932
+ nil (empty response body)
933
+
934
+ ### Authorization
935
+
936
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
937
+
938
+ ### HTTP request headers
939
+
940
+ - **Content-Type**: application/json; charset=UTF-8
941
+ - **Accept**: application/json
942
+
943
+
944
+
892
945
  # **update_digital_item**
893
946
  > ItemDigitalItemResponse update_digital_item(digital_item_oid, digital_item)
894
947
 
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums | [optional]
7
- **adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests | [optional]
6
+ **addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums (deprecated) | [optional]
7
+ **adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests (deprecated) | [optional]
8
8
 
9
9
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
12
12
  **order_level_refund_reason_required** | **BOOLEAN** | True if the order level refund reason is required | [optional]
13
13
  **order_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the order level. | [optional]
14
+ **order_level_reject_reason_required** | **BOOLEAN** | True if the order level reject reason is required | [optional]
14
15
  **order_level_reject_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reject codes available at the order level. | [optional]
15
16
  **refundable** | **BOOLEAN** | Whether the order is refundable or not. Null should be interpreted as false. | [optional]
16
17
  **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
data/docs/WorkflowTask.md CHANGED
@@ -15,14 +15,14 @@ Name | Type | Description | Notes
15
15
  **dependant_workflow_task_uuid** | **String** | Dependant Workflow Task UUID (must be completed before this task can be completed) | [optional]
16
16
  **due_dts** | **String** | Date/time that the workflow task is due | [optional]
17
17
  **expiration_dts** | **String** | Date/time that the workflow task will expire and be closed. This is set by system generated tasks. | [optional]
18
- **global_task_number** | **Integer** | Global task numer | [optional]
18
+ **global_task_number** | **Integer** | Global task number | [optional]
19
19
  **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional]
20
20
  **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional]
21
21
  **merchant_id** | **String** | Merchant ID | [optional]
22
22
  **notes** | [**Array<WorkflowNote>**](WorkflowNote.md) | Notes on the Workflow Task | [optional]
23
23
  **object_email** | **String** | Object is associated with customer email | [optional]
24
24
  **object_id** | **String** | Object ID | [optional]
25
- **object_task_number** | **Integer** | Object specific task numer | [optional]
25
+ **object_task_number** | **Integer** | Object specific task number | [optional]
26
26
  **object_type** | **String** | Object Type | [optional]
27
27
  **object_url** | **String** | Object URL | [optional]
28
28
  **priority** | **String** | Priority | [optional]
@@ -3,8 +3,10 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **assigned_to_group** | **String** | Assigned to group | [optional]
6
7
  **assigned_to_group_id** | **Integer** | Assigned to group ID | [optional]
7
8
  **assigned_to_me** | **BOOLEAN** | Tasks are assigned to me either by direct user id or a group that the user is a member of | [optional]
9
+ **assigned_to_user** | **String** | Assigned to user | [optional]
8
10
  **assigned_to_user_id** | **Integer** | Assigned to user ID | [optional]
9
11
  **created_by** | [**WorkflowUser**](WorkflowUser.md) | | [optional]
10
12
  **created_dts_begin** | **String** | Date/time that the workflow task was created | [optional]
@@ -523,6 +523,66 @@ module UltracartClient
523
523
  end
524
524
  return data, status_code, headers
525
525
  end
526
+ # Delete Queue Voicemail
527
+ # Delete pbx queue Voicemail
528
+ # @param queue_uuid
529
+ # @param recording_sid
530
+ # @param [Hash] opts the optional parameters
531
+ # @return [nil]
532
+ def delete_pbx_queue_voicemail(queue_uuid, recording_sid, opts = {})
533
+ delete_pbx_queue_voicemail_with_http_info(queue_uuid, recording_sid, opts)
534
+ nil
535
+ end
536
+
537
+ # Delete Queue Voicemail
538
+ # Delete pbx queue Voicemail
539
+ # @param queue_uuid
540
+ # @param recording_sid
541
+ # @param [Hash] opts the optional parameters
542
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
543
+ def delete_pbx_queue_voicemail_with_http_info(queue_uuid, recording_sid, opts = {})
544
+ if @api_client.config.debugging
545
+ @api_client.config.logger.debug 'Calling API: ConversationApi.delete_pbx_queue_voicemail ...'
546
+ end
547
+ # verify the required parameter 'queue_uuid' is set
548
+ if @api_client.config.client_side_validation && queue_uuid.nil?
549
+ fail ArgumentError, "Missing the required parameter 'queue_uuid' when calling ConversationApi.delete_pbx_queue_voicemail"
550
+ end
551
+ # verify the required parameter 'recording_sid' is set
552
+ if @api_client.config.client_side_validation && recording_sid.nil?
553
+ fail ArgumentError, "Missing the required parameter 'recording_sid' when calling ConversationApi.delete_pbx_queue_voicemail"
554
+ end
555
+ # resource path
556
+ local_var_path = '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}'.sub('{' + 'queue_uuid' + '}', queue_uuid.to_s).sub('{' + 'recording_sid' + '}', recording_sid.to_s)
557
+
558
+ # query parameters
559
+ query_params = {}
560
+
561
+ # header parameters
562
+ header_params = {}
563
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
564
+ # HTTP header 'Accept' (if needed)
565
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
566
+ # HTTP header 'Content-Type'
567
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
568
+
569
+ # form parameters
570
+ form_params = {}
571
+
572
+ # http body (model)
573
+ post_body = nil
574
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
575
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
576
+ :header_params => header_params,
577
+ :query_params => query_params,
578
+ :form_params => form_params,
579
+ :body => post_body,
580
+ :auth_names => auth_names)
581
+ if @api_client.config.debugging
582
+ @api_client.config.logger.debug "API called: ConversationApi#delete_pbx_queue_voicemail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
583
+ end
584
+ return data, status_code, headers
585
+ end
526
586
  # Delete pbx timeBased
527
587
  # Delete a pbx timeBased
528
588
  # @param conversation_pbx_time_based_uuid
@@ -3566,6 +3626,66 @@ module UltracartClient
3566
3626
  end
3567
3627
  return data, status_code, headers
3568
3628
  end
3629
+ # Listened Queue Voicemail
3630
+ # Listened pbx queue Voicemail
3631
+ # @param queue_uuid
3632
+ # @param recording_sid
3633
+ # @param [Hash] opts the optional parameters
3634
+ # @return [nil]
3635
+ def listened_pbx_queue_voicemail(queue_uuid, recording_sid, opts = {})
3636
+ listened_pbx_queue_voicemail_with_http_info(queue_uuid, recording_sid, opts)
3637
+ nil
3638
+ end
3639
+
3640
+ # Listened Queue Voicemail
3641
+ # Listened pbx queue Voicemail
3642
+ # @param queue_uuid
3643
+ # @param recording_sid
3644
+ # @param [Hash] opts the optional parameters
3645
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3646
+ def listened_pbx_queue_voicemail_with_http_info(queue_uuid, recording_sid, opts = {})
3647
+ if @api_client.config.debugging
3648
+ @api_client.config.logger.debug 'Calling API: ConversationApi.listened_pbx_queue_voicemail ...'
3649
+ end
3650
+ # verify the required parameter 'queue_uuid' is set
3651
+ if @api_client.config.client_side_validation && queue_uuid.nil?
3652
+ fail ArgumentError, "Missing the required parameter 'queue_uuid' when calling ConversationApi.listened_pbx_queue_voicemail"
3653
+ end
3654
+ # verify the required parameter 'recording_sid' is set
3655
+ if @api_client.config.client_side_validation && recording_sid.nil?
3656
+ fail ArgumentError, "Missing the required parameter 'recording_sid' when calling ConversationApi.listened_pbx_queue_voicemail"
3657
+ end
3658
+ # resource path
3659
+ local_var_path = '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened'.sub('{' + 'queue_uuid' + '}', queue_uuid.to_s).sub('{' + 'recording_sid' + '}', recording_sid.to_s)
3660
+
3661
+ # query parameters
3662
+ query_params = {}
3663
+
3664
+ # header parameters
3665
+ header_params = {}
3666
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
3667
+ # HTTP header 'Accept' (if needed)
3668
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3669
+ # HTTP header 'Content-Type'
3670
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3671
+
3672
+ # form parameters
3673
+ form_params = {}
3674
+
3675
+ # http body (model)
3676
+ post_body = nil
3677
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
3678
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3679
+ :header_params => header_params,
3680
+ :query_params => query_params,
3681
+ :form_params => form_params,
3682
+ :body => post_body,
3683
+ :auth_names => auth_names)
3684
+ if @api_client.config.debugging
3685
+ @api_client.config.logger.debug "API called: ConversationApi#listened_pbx_queue_voicemail\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3686
+ end
3687
+ return data, status_code, headers
3688
+ end
3569
3689
  # Mark a conversation as read
3570
3690
  # Mark a conversation as read
3571
3691
  # @param conversation_uuid
@@ -984,6 +984,66 @@ module UltracartClient
984
984
  end
985
985
  return data, status_code, headers
986
986
  end
987
+ # Upsert an item content attribute
988
+ # Update an item content attribute, creating it new if it does not yet exist.
989
+ # @param item_attribute Item content attribute to upsert
990
+ # @param merchant_item_oid The item oid to modify.
991
+ # @param [Hash] opts the optional parameters
992
+ # @return [nil]
993
+ def insert_update_item_content_attribute(item_attribute, merchant_item_oid, opts = {})
994
+ insert_update_item_content_attribute_with_http_info(item_attribute, merchant_item_oid, opts)
995
+ nil
996
+ end
997
+
998
+ # Upsert an item content attribute
999
+ # Update an item content attribute, creating it new if it does not yet exist.
1000
+ # @param item_attribute Item content attribute to upsert
1001
+ # @param merchant_item_oid The item oid to modify.
1002
+ # @param [Hash] opts the optional parameters
1003
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1004
+ def insert_update_item_content_attribute_with_http_info(item_attribute, merchant_item_oid, opts = {})
1005
+ if @api_client.config.debugging
1006
+ @api_client.config.logger.debug 'Calling API: ItemApi.insert_update_item_content_attribute ...'
1007
+ end
1008
+ # verify the required parameter 'item_attribute' is set
1009
+ if @api_client.config.client_side_validation && item_attribute.nil?
1010
+ fail ArgumentError, "Missing the required parameter 'item_attribute' when calling ItemApi.insert_update_item_content_attribute"
1011
+ end
1012
+ # verify the required parameter 'merchant_item_oid' is set
1013
+ if @api_client.config.client_side_validation && merchant_item_oid.nil?
1014
+ fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.insert_update_item_content_attribute"
1015
+ end
1016
+ # resource path
1017
+ local_var_path = '/item/items/{merchant_item_oid}/content/attributes'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
1018
+
1019
+ # query parameters
1020
+ query_params = {}
1021
+
1022
+ # header parameters
1023
+ header_params = {}
1024
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1025
+ # HTTP header 'Accept' (if needed)
1026
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1027
+ # HTTP header 'Content-Type'
1028
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1029
+
1030
+ # form parameters
1031
+ form_params = {}
1032
+
1033
+ # http body (model)
1034
+ post_body = @api_client.object_to_http_body(item_attribute)
1035
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1036
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1037
+ :header_params => header_params,
1038
+ :query_params => query_params,
1039
+ :form_params => form_params,
1040
+ :body => post_body,
1041
+ :auth_names => auth_names)
1042
+ if @api_client.config.debugging
1043
+ @api_client.config.logger.debug "API called: ItemApi#insert_update_item_content_attribute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1044
+ end
1045
+ return data, status_code, headers
1046
+ end
987
1047
  # Updates a file within the digital library
988
1048
  # Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
989
1049
  # @param digital_item_oid The digital item oid to update.
@@ -35,6 +35,9 @@ module UltracartClient
35
35
  # Primary key of AutoOrderItem
36
36
  attr_accessor :auto_order_item_oid
37
37
 
38
+ # Calculated Date/time that this item is scheduled to rebill. Will be null if no more shipments are going to occur on this item
39
+ attr_accessor :calculated_next_shipment_dts
40
+
38
41
  # Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.
39
42
  attr_accessor :first_order_dts
40
43
 
@@ -126,6 +129,7 @@ module UltracartClient
126
129
  :'arbitrary_unit_cost' => :'arbitrary_unit_cost',
127
130
  :'arbitrary_unit_cost_remaining_orders' => :'arbitrary_unit_cost_remaining_orders',
128
131
  :'auto_order_item_oid' => :'auto_order_item_oid',
132
+ :'calculated_next_shipment_dts' => :'calculated_next_shipment_dts',
129
133
  :'first_order_dts' => :'first_order_dts',
130
134
  :'frequency' => :'frequency',
131
135
  :'future_schedules' => :'future_schedules',
@@ -159,6 +163,7 @@ module UltracartClient
159
163
  :'arbitrary_unit_cost' => :'Float',
160
164
  :'arbitrary_unit_cost_remaining_orders' => :'Integer',
161
165
  :'auto_order_item_oid' => :'Integer',
166
+ :'calculated_next_shipment_dts' => :'String',
162
167
  :'first_order_dts' => :'String',
163
168
  :'frequency' => :'String',
164
169
  :'future_schedules' => :'Array<AutoOrderItemFutureSchedule>',
@@ -218,6 +223,10 @@ module UltracartClient
218
223
  self.auto_order_item_oid = attributes[:'auto_order_item_oid']
219
224
  end
220
225
 
226
+ if attributes.has_key?(:'calculated_next_shipment_dts')
227
+ self.calculated_next_shipment_dts = attributes[:'calculated_next_shipment_dts']
228
+ end
229
+
221
230
  if attributes.has_key?(:'first_order_dts')
222
231
  self.first_order_dts = attributes[:'first_order_dts']
223
232
  end
@@ -340,6 +349,7 @@ module UltracartClient
340
349
  arbitrary_unit_cost == o.arbitrary_unit_cost &&
341
350
  arbitrary_unit_cost_remaining_orders == o.arbitrary_unit_cost_remaining_orders &&
342
351
  auto_order_item_oid == o.auto_order_item_oid &&
352
+ calculated_next_shipment_dts == o.calculated_next_shipment_dts &&
343
353
  first_order_dts == o.first_order_dts &&
344
354
  frequency == o.frequency &&
345
355
  future_schedules == o.future_schedules &&
@@ -371,7 +381,7 @@ module UltracartClient
371
381
  # Calculates hash code according to all attributes.
372
382
  # @return [Fixnum] Hash code
373
383
  def hash
374
- [arbitrary_item_id, arbitrary_percentage_discount, arbitrary_quantity, arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_remaining_orders, auto_order_item_oid, first_order_dts, frequency, future_schedules, last_order_dts, life_time_value, next_item_id, next_preshipment_notice_dts, next_shipment_dts, no_order_after_dts, number_of_rebills, options, original_item_id, original_quantity, paused, paypal_payer_id, paypal_recurring_payment_profile_id, preshipment_notice_sent, rebill_value, remaining_repeat_count, simple_schedule].hash
384
+ [arbitrary_item_id, arbitrary_percentage_discount, arbitrary_quantity, arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_remaining_orders, auto_order_item_oid, calculated_next_shipment_dts, first_order_dts, frequency, future_schedules, last_order_dts, life_time_value, next_item_id, next_preshipment_notice_dts, next_shipment_dts, no_order_after_dts, number_of_rebills, options, original_item_id, original_quantity, paused, paypal_payer_id, paypal_recurring_payment_profile_id, preshipment_notice_sent, rebill_value, remaining_repeat_count, simple_schedule].hash
375
385
  end
376
386
 
377
387
  # Builds the object from hash
@@ -22,8 +22,14 @@ module UltracartClient
22
22
 
23
23
  attr_accessor :merchant_id
24
24
 
25
+ attr_accessor :pbx_admin
26
+
25
27
  attr_accessor :pbx_jwt
26
28
 
29
+ attr_accessor :pbx_supervisor
30
+
31
+ attr_accessor :pbx_user
32
+
27
33
  attr_accessor :pbx_voice_identity
28
34
 
29
35
  attr_accessor :pbx_voice_token
@@ -41,7 +47,10 @@ module UltracartClient
41
47
  :'conversation_participant_name' => :'conversation_participant_name',
42
48
  :'jwt' => :'jwt',
43
49
  :'merchant_id' => :'merchant_id',
50
+ :'pbx_admin' => :'pbx_admin',
44
51
  :'pbx_jwt' => :'pbx_jwt',
52
+ :'pbx_supervisor' => :'pbx_supervisor',
53
+ :'pbx_user' => :'pbx_user',
45
54
  :'pbx_voice_identity' => :'pbx_voice_identity',
46
55
  :'pbx_voice_token' => :'pbx_voice_token',
47
56
  :'pbx_worker_token' => :'pbx_worker_token',
@@ -57,7 +66,10 @@ module UltracartClient
57
66
  :'conversation_participant_name' => :'String',
58
67
  :'jwt' => :'String',
59
68
  :'merchant_id' => :'String',
69
+ :'pbx_admin' => :'BOOLEAN',
60
70
  :'pbx_jwt' => :'String',
71
+ :'pbx_supervisor' => :'BOOLEAN',
72
+ :'pbx_user' => :'BOOLEAN',
61
73
  :'pbx_voice_identity' => :'String',
62
74
  :'pbx_voice_token' => :'String',
63
75
  :'pbx_worker_token' => :'String',
@@ -90,10 +102,22 @@ module UltracartClient
90
102
  self.merchant_id = attributes[:'merchant_id']
91
103
  end
92
104
 
105
+ if attributes.has_key?(:'pbx_admin')
106
+ self.pbx_admin = attributes[:'pbx_admin']
107
+ end
108
+
93
109
  if attributes.has_key?(:'pbx_jwt')
94
110
  self.pbx_jwt = attributes[:'pbx_jwt']
95
111
  end
96
112
 
113
+ if attributes.has_key?(:'pbx_supervisor')
114
+ self.pbx_supervisor = attributes[:'pbx_supervisor']
115
+ end
116
+
117
+ if attributes.has_key?(:'pbx_user')
118
+ self.pbx_user = attributes[:'pbx_user']
119
+ end
120
+
97
121
  if attributes.has_key?(:'pbx_voice_identity')
98
122
  self.pbx_voice_identity = attributes[:'pbx_voice_identity']
99
123
  end
@@ -139,7 +163,10 @@ module UltracartClient
139
163
  conversation_participant_name == o.conversation_participant_name &&
140
164
  jwt == o.jwt &&
141
165
  merchant_id == o.merchant_id &&
166
+ pbx_admin == o.pbx_admin &&
142
167
  pbx_jwt == o.pbx_jwt &&
168
+ pbx_supervisor == o.pbx_supervisor &&
169
+ pbx_user == o.pbx_user &&
143
170
  pbx_voice_identity == o.pbx_voice_identity &&
144
171
  pbx_voice_token == o.pbx_voice_token &&
145
172
  pbx_worker_token == o.pbx_worker_token &&
@@ -156,7 +183,7 @@ module UltracartClient
156
183
  # Calculates hash code according to all attributes.
157
184
  # @return [Fixnum] Hash code
158
185
  def hash
159
- [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, pbx_jwt, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, websocket_url].hash
186
+ [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, pbx_admin, pbx_jwt, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, websocket_url].hash
160
187
  end
161
188
 
162
189
  # Builds the object from hash
@@ -73,6 +73,9 @@ module UltracartClient
73
73
  # Wait time in seconds before warning
74
74
  attr_accessor :wait_warning_seconds
75
75
 
76
+ # Wrap up time in seconds
77
+ attr_accessor :wrap_up_seconds
78
+
76
79
  # Attribute mapping from ruby-style variable name to JSON key.
77
80
  def self.attribute_map
78
81
  {
@@ -95,7 +98,8 @@ module UltracartClient
95
98
  :'twilio_workspace_queue_sid' => :'twilio_workspace_queue_sid',
96
99
  :'voicemail' => :'voicemail',
97
100
  :'wait_critical_seconds' => :'wait_critical_seconds',
98
- :'wait_warning_seconds' => :'wait_warning_seconds'
101
+ :'wait_warning_seconds' => :'wait_warning_seconds',
102
+ :'wrap_up_seconds' => :'wrap_up_seconds'
99
103
  }
100
104
  end
101
105
 
@@ -121,7 +125,8 @@ module UltracartClient
121
125
  :'twilio_workspace_queue_sid' => :'String',
122
126
  :'voicemail' => :'BOOLEAN',
123
127
  :'wait_critical_seconds' => :'Integer',
124
- :'wait_warning_seconds' => :'Integer'
128
+ :'wait_warning_seconds' => :'Integer',
129
+ :'wrap_up_seconds' => :'Integer'
125
130
  }
126
131
  end
127
132
 
@@ -212,6 +217,10 @@ module UltracartClient
212
217
  if attributes.has_key?(:'wait_warning_seconds')
213
218
  self.wait_warning_seconds = attributes[:'wait_warning_seconds']
214
219
  end
220
+
221
+ if attributes.has_key?(:'wrap_up_seconds')
222
+ self.wrap_up_seconds = attributes[:'wrap_up_seconds']
223
+ end
215
224
  end
216
225
 
217
226
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -401,7 +410,8 @@ module UltracartClient
401
410
  twilio_workspace_queue_sid == o.twilio_workspace_queue_sid &&
402
411
  voicemail == o.voicemail &&
403
412
  wait_critical_seconds == o.wait_critical_seconds &&
404
- wait_warning_seconds == o.wait_warning_seconds
413
+ wait_warning_seconds == o.wait_warning_seconds &&
414
+ wrap_up_seconds == o.wrap_up_seconds
405
415
  end
406
416
 
407
417
  # @see the `==` method
@@ -413,7 +423,7 @@ module UltracartClient
413
423
  # Calculates hash code according to all attributes.
414
424
  # @return [Fixnum] Hash code
415
425
  def hash
416
- [announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds].hash
426
+ [announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds, wrap_up_seconds].hash
417
427
  end
418
428
 
419
429
  # Builds the object from hash
@@ -35,6 +35,22 @@ module UltracartClient
35
35
  # Email template virtual path
36
36
  attr_accessor :email_template_vm_path
37
37
 
38
+ attr_accessor :external_generation
39
+
40
+ attr_accessor :external_generation_authentication
41
+
42
+ attr_accessor :external_generation_basic_password
43
+
44
+ attr_accessor :external_generation_basic_username
45
+
46
+ attr_accessor :external_generation_header_name
47
+
48
+ attr_accessor :external_generation_header_value
49
+
50
+ attr_accessor :external_generation_id
51
+
52
+ attr_accessor :external_generation_url
53
+
38
54
  # Filter profile equation json
39
55
  attr_accessor :filter_profile_equation_json
40
56
 
@@ -102,6 +118,14 @@ module UltracartClient
102
118
  :'email_container_cjson' => :'email_container_cjson',
103
119
  :'email_container_cjson_last_modified_dts' => :'email_container_cjson_last_modified_dts',
104
120
  :'email_template_vm_path' => :'email_template_vm_path',
121
+ :'external_generation' => :'external_generation',
122
+ :'external_generation_authentication' => :'external_generation_authentication',
123
+ :'external_generation_basic_password' => :'external_generation_basic_password',
124
+ :'external_generation_basic_username' => :'external_generation_basic_username',
125
+ :'external_generation_header_name' => :'external_generation_header_name',
126
+ :'external_generation_header_value' => :'external_generation_header_value',
127
+ :'external_generation_id' => :'external_generation_id',
128
+ :'external_generation_url' => :'external_generation_url',
105
129
  :'filter_profile_equation_json' => :'filter_profile_equation_json',
106
130
  :'individually_render' => :'individually_render',
107
131
  :'library_item_oid' => :'library_item_oid',
@@ -134,6 +158,14 @@ module UltracartClient
134
158
  :'email_container_cjson' => :'String',
135
159
  :'email_container_cjson_last_modified_dts' => :'String',
136
160
  :'email_template_vm_path' => :'String',
161
+ :'external_generation' => :'BOOLEAN',
162
+ :'external_generation_authentication' => :'String',
163
+ :'external_generation_basic_password' => :'String',
164
+ :'external_generation_basic_username' => :'String',
165
+ :'external_generation_header_name' => :'String',
166
+ :'external_generation_header_value' => :'String',
167
+ :'external_generation_id' => :'String',
168
+ :'external_generation_url' => :'String',
137
169
  :'filter_profile_equation_json' => :'String',
138
170
  :'individually_render' => :'BOOLEAN',
139
171
  :'library_item_oid' => :'Integer',
@@ -192,6 +224,38 @@ module UltracartClient
192
224
  self.email_template_vm_path = attributes[:'email_template_vm_path']
193
225
  end
194
226
 
227
+ if attributes.has_key?(:'external_generation')
228
+ self.external_generation = attributes[:'external_generation']
229
+ end
230
+
231
+ if attributes.has_key?(:'external_generation_authentication')
232
+ self.external_generation_authentication = attributes[:'external_generation_authentication']
233
+ end
234
+
235
+ if attributes.has_key?(:'external_generation_basic_password')
236
+ self.external_generation_basic_password = attributes[:'external_generation_basic_password']
237
+ end
238
+
239
+ if attributes.has_key?(:'external_generation_basic_username')
240
+ self.external_generation_basic_username = attributes[:'external_generation_basic_username']
241
+ end
242
+
243
+ if attributes.has_key?(:'external_generation_header_name')
244
+ self.external_generation_header_name = attributes[:'external_generation_header_name']
245
+ end
246
+
247
+ if attributes.has_key?(:'external_generation_header_value')
248
+ self.external_generation_header_value = attributes[:'external_generation_header_value']
249
+ end
250
+
251
+ if attributes.has_key?(:'external_generation_id')
252
+ self.external_generation_id = attributes[:'external_generation_id']
253
+ end
254
+
255
+ if attributes.has_key?(:'external_generation_url')
256
+ self.external_generation_url = attributes[:'external_generation_url']
257
+ end
258
+
195
259
  if attributes.has_key?(:'filter_profile_equation_json')
196
260
  self.filter_profile_equation_json = attributes[:'filter_profile_equation_json']
197
261
  end
@@ -294,6 +358,14 @@ module UltracartClient
294
358
  email_container_cjson == o.email_container_cjson &&
295
359
  email_container_cjson_last_modified_dts == o.email_container_cjson_last_modified_dts &&
296
360
  email_template_vm_path == o.email_template_vm_path &&
361
+ external_generation == o.external_generation &&
362
+ external_generation_authentication == o.external_generation_authentication &&
363
+ external_generation_basic_password == o.external_generation_basic_password &&
364
+ external_generation_basic_username == o.external_generation_basic_username &&
365
+ external_generation_header_name == o.external_generation_header_name &&
366
+ external_generation_header_value == o.external_generation_header_value &&
367
+ external_generation_id == o.external_generation_id &&
368
+ external_generation_url == o.external_generation_url &&
297
369
  filter_profile_equation_json == o.filter_profile_equation_json &&
298
370
  individually_render == o.individually_render &&
299
371
  library_item_oid == o.library_item_oid &&
@@ -324,7 +396,7 @@ module UltracartClient
324
396
  # Calculates hash code according to all attributes.
325
397
  # @return [Fixnum] Hash code
326
398
  def hash
327
- [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
399
+ [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, external_generation, external_generation_authentication, external_generation_basic_password, external_generation_basic_username, external_generation_header_name, external_generation_header_value, external_generation_id, external_generation_url, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
328
400
  end
329
401
 
330
402
  # Builds the object from hash
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ItemChargeback
17
- # Addendums
17
+ # Addendums (deprecated)
18
18
  attr_accessor :addendums
19
19
 
20
- # Adjustment requests
20
+ # Adjustment requests (deprecated)
21
21
  attr_accessor :adjustment_requests
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -36,6 +36,9 @@ module UltracartClient
36
36
  # Reason codes available at the order level.
37
37
  attr_accessor :order_level_refund_reasons
38
38
 
39
+ # True if the order level reject reason is required
40
+ attr_accessor :order_level_reject_reason_required
41
+
39
42
  # Reject codes available at the order level.
40
43
  attr_accessor :order_level_reject_reasons
41
44
 
@@ -58,6 +61,7 @@ module UltracartClient
58
61
  :'metadata' => :'metadata',
59
62
  :'order_level_refund_reason_required' => :'order_level_refund_reason_required',
60
63
  :'order_level_refund_reasons' => :'order_level_refund_reasons',
64
+ :'order_level_reject_reason_required' => :'order_level_reject_reason_required',
61
65
  :'order_level_reject_reasons' => :'order_level_reject_reasons',
62
66
  :'refundable' => :'refundable',
63
67
  :'success' => :'success',
@@ -76,6 +80,7 @@ module UltracartClient
76
80
  :'metadata' => :'ResponseMetadata',
77
81
  :'order_level_refund_reason_required' => :'BOOLEAN',
78
82
  :'order_level_refund_reasons' => :'Array<OrderReason>',
83
+ :'order_level_reject_reason_required' => :'BOOLEAN',
79
84
  :'order_level_reject_reasons' => :'Array<OrderReason>',
80
85
  :'refundable' => :'BOOLEAN',
81
86
  :'success' => :'BOOLEAN',
@@ -129,6 +134,10 @@ module UltracartClient
129
134
  end
130
135
  end
131
136
 
137
+ if attributes.has_key?(:'order_level_reject_reason_required')
138
+ self.order_level_reject_reason_required = attributes[:'order_level_reject_reason_required']
139
+ end
140
+
132
141
  if attributes.has_key?(:'order_level_reject_reasons')
133
142
  if (value = attributes[:'order_level_reject_reasons']).is_a?(Array)
134
143
  self.order_level_reject_reasons = value
@@ -174,6 +183,7 @@ module UltracartClient
174
183
  metadata == o.metadata &&
175
184
  order_level_refund_reason_required == o.order_level_refund_reason_required &&
176
185
  order_level_refund_reasons == o.order_level_refund_reasons &&
186
+ order_level_reject_reason_required == o.order_level_reject_reason_required &&
177
187
  order_level_reject_reasons == o.order_level_reject_reasons &&
178
188
  refundable == o.refundable &&
179
189
  success == o.success &&
@@ -189,7 +199,7 @@ module UltracartClient
189
199
  # Calculates hash code according to all attributes.
190
200
  # @return [Fixnum] Hash code
191
201
  def hash
192
- [error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, manual_because_multiple_charges, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reasons, refundable, success, warning].hash
202
+ [error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, manual_because_multiple_charges, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reason_required, order_level_reject_reasons, refundable, success, warning].hash
193
203
  end
194
204
 
195
205
  # Builds the object from hash
@@ -49,7 +49,7 @@ module UltracartClient
49
49
  # Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
50
50
  attr_accessor :expiration_dts
51
51
 
52
- # Global task numer
52
+ # Global task number
53
53
  attr_accessor :global_task_number
54
54
 
55
55
  # Array of history records for the task
@@ -70,7 +70,7 @@ module UltracartClient
70
70
  # Object ID
71
71
  attr_accessor :object_id
72
72
 
73
- # Object specific task numer
73
+ # Object specific task number
74
74
  attr_accessor :object_task_number
75
75
 
76
76
  # Object Type
@@ -14,12 +14,18 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class WorkflowTasksRequest
17
+ # Assigned to group
18
+ attr_accessor :assigned_to_group
19
+
17
20
  # Assigned to group ID
18
21
  attr_accessor :assigned_to_group_id
19
22
 
20
23
  # Tasks are assigned to me either by direct user id or a group that the user is a member of
21
24
  attr_accessor :assigned_to_me
22
25
 
26
+ # Assigned to user
27
+ attr_accessor :assigned_to_user
28
+
23
29
  # Assigned to user ID
24
30
  attr_accessor :assigned_to_user_id
25
31
 
@@ -92,8 +98,10 @@ module UltracartClient
92
98
  # Attribute mapping from ruby-style variable name to JSON key.
93
99
  def self.attribute_map
94
100
  {
101
+ :'assigned_to_group' => :'assigned_to_group',
95
102
  :'assigned_to_group_id' => :'assigned_to_group_id',
96
103
  :'assigned_to_me' => :'assigned_to_me',
104
+ :'assigned_to_user' => :'assigned_to_user',
97
105
  :'assigned_to_user_id' => :'assigned_to_user_id',
98
106
  :'created_by' => :'created_by',
99
107
  :'created_dts_begin' => :'created_dts_begin',
@@ -116,8 +124,10 @@ module UltracartClient
116
124
  # Attribute type mapping.
117
125
  def self.swagger_types
118
126
  {
127
+ :'assigned_to_group' => :'String',
119
128
  :'assigned_to_group_id' => :'Integer',
120
129
  :'assigned_to_me' => :'BOOLEAN',
130
+ :'assigned_to_user' => :'String',
121
131
  :'assigned_to_user_id' => :'Integer',
122
132
  :'created_by' => :'WorkflowUser',
123
133
  :'created_dts_begin' => :'String',
@@ -145,6 +155,10 @@ module UltracartClient
145
155
  # convert string to symbol for hash key
146
156
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
147
157
 
158
+ if attributes.has_key?(:'assigned_to_group')
159
+ self.assigned_to_group = attributes[:'assigned_to_group']
160
+ end
161
+
148
162
  if attributes.has_key?(:'assigned_to_group_id')
149
163
  self.assigned_to_group_id = attributes[:'assigned_to_group_id']
150
164
  end
@@ -153,6 +167,10 @@ module UltracartClient
153
167
  self.assigned_to_me = attributes[:'assigned_to_me']
154
168
  end
155
169
 
170
+ if attributes.has_key?(:'assigned_to_user')
171
+ self.assigned_to_user = attributes[:'assigned_to_user']
172
+ end
173
+
156
174
  if attributes.has_key?(:'assigned_to_user_id')
157
175
  self.assigned_to_user_id = attributes[:'assigned_to_user_id']
158
176
  end
@@ -274,8 +292,10 @@ module UltracartClient
274
292
  def ==(o)
275
293
  return true if self.equal?(o)
276
294
  self.class == o.class &&
295
+ assigned_to_group == o.assigned_to_group &&
277
296
  assigned_to_group_id == o.assigned_to_group_id &&
278
297
  assigned_to_me == o.assigned_to_me &&
298
+ assigned_to_user == o.assigned_to_user &&
279
299
  assigned_to_user_id == o.assigned_to_user_id &&
280
300
  created_by == o.created_by &&
281
301
  created_dts_begin == o.created_dts_begin &&
@@ -303,7 +323,7 @@ module UltracartClient
303
323
  # Calculates hash code according to all attributes.
304
324
  # @return [Fixnum] Hash code
305
325
  def hash
306
- [assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
326
+ [assigned_to_group, assigned_to_group_id, assigned_to_me, assigned_to_user, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
307
327
  end
308
328
 
309
329
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.192'
14
+ VERSION = '3.10.194'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.192
4
+ version: 3.10.194
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-01 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus