ultracart_api 3.10.192 → 3.10.193

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4de3cf40fdb033fe848abb8e7455cf9a8a4d72dbc289c7a23ae7c03044da09c
4
- data.tar.gz: 5692acec6e3aec11b86df823d0b0f28ad4414329a36132ae9c27fc423eb3edd3
3
+ metadata.gz: 55941bc46b67a46d7df5bee22e345c8bbadd7b595d3c2710fa0808760fbc180c
4
+ data.tar.gz: a46044f44d9df9daaa3cc228ba4d0b782935baee6a06f1ba52e1ff993774271a
5
5
  SHA512:
6
- metadata.gz: eb3464401fa736843e17eaaa24f22203bb2d3e68c9f36836fba082b256f9572e39f9ee503821b168cdc01f33655e2e000245e34f3608e8b9b0146939ca2c08a3
7
- data.tar.gz: edbaa67d15e3bdc74b701898e5c5e807274687953e05cfe3796c079123653260c0a09d575f85186d5bfbe9e618e963258efe796632857bd5fd7e8b58202da6d7
6
+ metadata.gz: 2c1f64049f617c604437b8be7454bc42ac5fa9aa52f17eee49c3879edb3ae88a8f8408902cbb3329d4654e98a443e3d8f54c12b1a7f814e93db7cfe05e77a674
7
+ data.tar.gz: c2df03ac5a0dfdca71f01e4404027561edb2ddcdb71c4f58f8f3870344efb6176c240a8b8db283f720105902921d25695996e748585bcbba43d40d7d7eb480ae
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.193
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.193.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.193.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.193'
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/{queue_uuid}/voicemails/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,7 @@ Not every change is committed to every SDK.
1496
1499
 
1497
1500
  | Version | Date | Comments |
1498
1501
  | --: | :-: | --- |
1502
+ | 3.10.193 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
1499
1503
  | 3.10.192 | 04/01/2024 | added merchant_id as read-only top level property of AutoOrder object |
1500
1504
  | 3.10.191 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
1501
1505
  | 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]
@@ -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/{queue_uuid}/voicemails/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
 
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
 
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/{queue_uuid}/voicemails/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
@@ -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.193'
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.193
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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus