ultracart_api 3.10.185 → 3.10.187

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: e0bfed278660ff0931d314508f6b6fa073c94e8d6ce6f7697f2ed69e8020b3f4
4
- data.tar.gz: 87f30fcdc5f037605e997e810f27ec6eb96d9b38ea133d94b4e9a76c3f9b7c17
3
+ metadata.gz: e17cdf0aa137f414487fec5c4da52010db9191af8fe8bde623fb046dab7201ca
4
+ data.tar.gz: 4c006506465353652a478aba76972ddb75014be2a4f8d732e4ec7bd84284cc0a
5
5
  SHA512:
6
- metadata.gz: 49fe0ad10fdba32f328dc65af38162dc9b1443fc5e0cc550436e812f6658875d66fae3395dd629221c367aec77e28da5246f36471b5bb3bd5e85dd6ea99ab40b
7
- data.tar.gz: 3e0ecb14a96afbef1d0fb3c98d23fe27f00632c6deb555708c0eb809abebbfa1caacef4f7438882474fec79aa7ca7109f1e0a9068a9dad186d16e251602309a9
6
+ metadata.gz: '00488bd9b47fec1d11db5447f1c28d9aa7ca2aac01dc983cfcae5e2f8588d165d8e9d245bab308408979037c3984a2e904d3f89afe4b54955f275b2137fcbf4b'
7
+ data.tar.gz: 81127e64bdff43f2852c9bed27461702e1bd4683e26edb651469028057860a666399098b8ea21900ce10552c9a61df1a486f7c2116c6df599c153a329275ef80
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.185
10
+ - Package version: 3.10.187
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.185.gem
27
+ gem install ./ultracart_api-3.10.187.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.185.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.187.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.185'
35
+ gem 'ultracart_api', '~> 3.10.187'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -193,6 +193,7 @@ Class | Method | HTTP request | Description
193
193
  *UltracartClient::ConversationApi* | [**join_conversation**](docs/ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
194
194
  *UltracartClient::ConversationApi* | [**leave_conversation**](docs/ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
195
195
  *UltracartClient::ConversationApi* | [**mark_read_conversation**](docs/ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
196
+ *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
196
197
  *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
197
198
  *UltracartClient::ConversationApi* | [**sms_unsubscribe_conversation**](docs/ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
198
199
  *UltracartClient::ConversationApi* | [**start_conversation**](docs/ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
@@ -556,6 +557,7 @@ Class | Method | HTTP request | Description
556
557
  *UltracartClient::WebhookApi* | [**insert_webhook**](docs/WebhookApi.md#insert_webhook) | **POST** /webhook/webhooks | Add a webhook
557
558
  *UltracartClient::WebhookApi* | [**resend_event**](docs/WebhookApi.md#resend_event) | **POST** /webhook/webhooks/{webhookOid}/reflow/{eventName} | Resend events to the webhook endpoint.
558
559
  *UltracartClient::WebhookApi* | [**update_webhook**](docs/WebhookApi.md#update_webhook) | **PUT** /webhook/webhooks/{webhookOid} | Update a webhook
560
+ *UltracartClient::WorkflowApi* | [**get_workflow_agent_websocket_authorization**](docs/WorkflowApi.md#get_workflow_agent_websocket_authorization) | **PUT** /workflow/agent/auth | Get agent websocket authorization
559
561
  *UltracartClient::WorkflowApi* | [**get_workflow_assignment_groups**](docs/WorkflowApi.md#get_workflow_assignment_groups) | **GET** /workflow/assignment_groups | Retrieve a list of groups that workflow tasks can be assigned to
560
562
  *UltracartClient::WorkflowApi* | [**get_workflow_assignment_users**](docs/WorkflowApi.md#get_workflow_assignment_users) | **GET** /workflow/assignment_users | Retrieve a list of users that workflow tasks can be assigned to
561
563
  *UltracartClient::WorkflowApi* | [**get_workflow_me**](docs/WorkflowApi.md#get_workflow_me) | **GET** /workflow/me | Retrieve a user object for myself
@@ -1393,6 +1395,8 @@ Class | Method | HTTP request | Description
1393
1395
  - [UltracartClient::WebhookSampleRequestResponse](docs/WebhookSampleRequestResponse.md)
1394
1396
  - [UltracartClient::WebhooksResponse](docs/WebhooksResponse.md)
1395
1397
  - [UltracartClient::Weight](docs/Weight.md)
1398
+ - [UltracartClient::WorkflowAgentAuth](docs/WorkflowAgentAuth.md)
1399
+ - [UltracartClient::WorkflowAgentAuthResponse](docs/WorkflowAgentAuthResponse.md)
1396
1400
  - [UltracartClient::WorkflowAttachment](docs/WorkflowAttachment.md)
1397
1401
  - [UltracartClient::WorkflowAttachmentUploadUrl](docs/WorkflowAttachmentUploadUrl.md)
1398
1402
  - [UltracartClient::WorkflowAttachmentUploadUrlResponse](docs/WorkflowAttachmentUploadUrlResponse.md)
@@ -1480,6 +1484,8 @@ Not every change is committed to every SDK.
1480
1484
 
1481
1485
  | Version | Date | Comments |
1482
1486
  | --: | :-: | --- |
1487
+ | 3.10.187 | 03/19/2024 | workflow task - addl status values, expiration_dts, and system task type |
1488
+ | 3.10.186 | 03/15/2024 | workflow - getWorkflowAgentWebsocketAuthorization method added |
1483
1489
  | 3.10.185 | 03/08/2024 | added getWorkflowTaskTags method |
1484
1490
  | 3.10.184 | 02/27/2024 | esp - sms statistic layer |
1485
1491
  | 3.10.183 | 02/20/2024 | Add tag support to CouponAmountOffItems, CouponBuyOneGetOneLimit, CouponDiscountItemWithItemPurchase, CouponFreeItemWithItemPurchase, CouponPercentOffItemsWithItemsPurchase |
@@ -65,6 +65,7 @@ Method | HTTP request | Description
65
65
  [**join_conversation**](ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
66
66
  [**leave_conversation**](ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
67
67
  [**mark_read_conversation**](ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
68
+ [**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
68
69
  [**search_conversation_canned_messages**](ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
69
70
  [**sms_unsubscribe_conversation**](ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
70
71
  [**start_conversation**](ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
@@ -3058,6 +3059,55 @@ nil (empty response body)
3058
3059
 
3059
3060
 
3060
3061
 
3062
+ # **reset_conversation_pbx_queue_statistics**
3063
+ > reset_conversation_pbx_queue_statistics(queue_uuid)
3064
+
3065
+ reset statistics within the queue
3066
+
3067
+ reset statistics within the queue
3068
+
3069
+ ### Example
3070
+ ```ruby
3071
+ # load the gem
3072
+ require 'ultracart_api'
3073
+
3074
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3075
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3076
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
3077
+
3078
+
3079
+ queue_uuid = 'queue_uuid_example' # String |
3080
+
3081
+
3082
+ begin
3083
+ #reset statistics within the queue
3084
+ api_instance.reset_conversation_pbx_queue_statistics(queue_uuid)
3085
+ rescue UltracartClient::ApiError => e
3086
+ puts "Exception when calling ConversationApi->reset_conversation_pbx_queue_statistics: #{e}"
3087
+ end
3088
+ ```
3089
+
3090
+ ### Parameters
3091
+
3092
+ Name | Type | Description | Notes
3093
+ ------------- | ------------- | ------------- | -------------
3094
+ **queue_uuid** | **String**| |
3095
+
3096
+ ### Return type
3097
+
3098
+ nil (empty response body)
3099
+
3100
+ ### Authorization
3101
+
3102
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3103
+
3104
+ ### HTTP request headers
3105
+
3106
+ - **Content-Type**: application/json
3107
+ - **Accept**: application/json
3108
+
3109
+
3110
+
3061
3111
  # **search_conversation_canned_messages**
3062
3112
  > ConversationCannedMessagesResponse search_conversation_canned_messages(search_request)
3063
3113
 
@@ -21,5 +21,7 @@ Name | Type | Description | Notes
21
21
  **twilio_taskrouter_workflow_sid** | **String** | Twilio taskrouter workflow sid | [optional]
22
22
  **twilio_workspace_queue_sid** | **String** | Twilio workspace queue sid | [optional]
23
23
  **voicemail** | **BOOLEAN** | If true, this queue has a voicemail associated with it | [optional]
24
+ **wait_critical_seconds** | **Integer** | Wait time in seconds before critical | [optional]
25
+ **wait_warning_seconds** | **Integer** | Wait time in seconds before warning | [optional]
24
26
 
25
27
 
@@ -0,0 +1,10 @@
1
+ # UltracartClient::WorkflowAgentAuth
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **jwt** | **String** | | [optional]
7
+ **merchant_id** | **String** | | [optional]
8
+ **websocket_url** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,12 @@
1
+ # UltracartClient::WorkflowAgentAuthResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **agent_auth** | [**WorkflowAgentAuth**](WorkflowAgentAuth.md) | | [optional]
7
+ **error** | [**Error**](Error.md) | | [optional]
8
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
9
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
10
+ **warning** | [**Warning**](Warning.md) | | [optional]
11
+
12
+
data/docs/WorkflowApi.md CHANGED
@@ -4,6 +4,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**get_workflow_agent_websocket_authorization**](WorkflowApi.md#get_workflow_agent_websocket_authorization) | **PUT** /workflow/agent/auth | Get agent websocket authorization
7
8
  [**get_workflow_assignment_groups**](WorkflowApi.md#get_workflow_assignment_groups) | **GET** /workflow/assignment_groups | Retrieve a list of groups that workflow tasks can be assigned to
8
9
  [**get_workflow_assignment_users**](WorkflowApi.md#get_workflow_assignment_users) | **GET** /workflow/assignment_users | Retrieve a list of users that workflow tasks can be assigned to
9
10
  [**get_workflow_me**](WorkflowApi.md#get_workflow_me) | **GET** /workflow/me | Retrieve a user object for myself
@@ -16,6 +17,51 @@ Method | HTTP request | Description
16
17
  [**update_workflow_task**](WorkflowApi.md#update_workflow_task) | **PUT** /workflow/tasks/{task_uuid} | Update a workflow task
17
18
 
18
19
 
20
+ # **get_workflow_agent_websocket_authorization**
21
+ > WorkflowAgentAuthResponse get_workflow_agent_websocket_authorization
22
+
23
+ Get agent websocket authorization
24
+
25
+ Retrieve a JWT to authorize an agent to make a websocket connection.
26
+
27
+ ### Example
28
+ ```ruby
29
+ # load the gem
30
+ require 'ultracart_api'
31
+
32
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
33
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
34
+ api_instance = UltracartClient::WorkflowApi.new_using_api_key(simple_key, false, false)
35
+
36
+
37
+
38
+ begin
39
+ #Get agent websocket authorization
40
+ result = api_instance.get_workflow_agent_websocket_authorization
41
+ p result
42
+ rescue UltracartClient::ApiError => e
43
+ puts "Exception when calling WorkflowApi->get_workflow_agent_websocket_authorization: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+ This endpoint does not need any parameter.
49
+
50
+ ### Return type
51
+
52
+ [**WorkflowAgentAuthResponse**](WorkflowAgentAuthResponse.md)
53
+
54
+ ### Authorization
55
+
56
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: application/json
61
+ - **Accept**: application/json
62
+
63
+
64
+
19
65
  # **get_workflow_assignment_groups**
20
66
  > WorkflowGroupsResponse get_workflow_assignment_groups(opts)
21
67
 
data/docs/WorkflowTask.md CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **delay_until_dts** | **String** | Date/time that the workflow task should delay until | [optional]
14
14
  **dependant_workflow_task_uuid** | **String** | Dependant Workflow Task UUID (must be completed before this task can be completed) | [optional]
15
15
  **due_dts** | **String** | Date/time that the workflow task is due | [optional]
16
+ **expiration_dts** | **String** | Date/time that the workflow task will expire and be closed. This is set by system generated tasks. | [optional]
16
17
  **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional]
17
18
  **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional]
18
19
  **merchant_id** | **String** | Merchant ID | [optional]
@@ -25,6 +26,7 @@ Name | Type | Description | Notes
25
26
  **properties** | [**Array<Property>**](Property.md) | Properties | [optional]
26
27
  **related_workflow_task_uuid** | **String** | Related Workflow Task UUID | [optional]
27
28
  **status** | **String** | Status of the workflow task | [optional]
29
+ **system_task_type** | **String** | Constant for the type of system generated task | [optional]
28
30
  **tags** | **Array<String>** | Tags | [optional]
29
31
  **task_context** | **String** | User friendly string of the task context | [optional]
30
32
  **task_details** | **String** | Task Details | [optional]
@@ -3292,6 +3292,60 @@ module UltracartClient
3292
3292
  end
3293
3293
  return data, status_code, headers
3294
3294
  end
3295
+ # reset statistics within the queue
3296
+ # reset statistics within the queue
3297
+ # @param queue_uuid
3298
+ # @param [Hash] opts the optional parameters
3299
+ # @return [nil]
3300
+ def reset_conversation_pbx_queue_statistics(queue_uuid, opts = {})
3301
+ reset_conversation_pbx_queue_statistics_with_http_info(queue_uuid, opts)
3302
+ nil
3303
+ end
3304
+
3305
+ # reset statistics within the queue
3306
+ # reset statistics within the queue
3307
+ # @param queue_uuid
3308
+ # @param [Hash] opts the optional parameters
3309
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3310
+ def reset_conversation_pbx_queue_statistics_with_http_info(queue_uuid, opts = {})
3311
+ if @api_client.config.debugging
3312
+ @api_client.config.logger.debug 'Calling API: ConversationApi.reset_conversation_pbx_queue_statistics ...'
3313
+ end
3314
+ # verify the required parameter 'queue_uuid' is set
3315
+ if @api_client.config.client_side_validation && queue_uuid.nil?
3316
+ fail ArgumentError, "Missing the required parameter 'queue_uuid' when calling ConversationApi.reset_conversation_pbx_queue_statistics"
3317
+ end
3318
+ # resource path
3319
+ local_var_path = '/conversation/pbx/queues/{queue_uuid}/reset_statistics'.sub('{' + 'queue_uuid' + '}', queue_uuid.to_s)
3320
+
3321
+ # query parameters
3322
+ query_params = {}
3323
+
3324
+ # header parameters
3325
+ header_params = {}
3326
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
3327
+ # HTTP header 'Accept' (if needed)
3328
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3329
+ # HTTP header 'Content-Type'
3330
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3331
+
3332
+ # form parameters
3333
+ form_params = {}
3334
+
3335
+ # http body (model)
3336
+ post_body = nil
3337
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
3338
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3339
+ :header_params => header_params,
3340
+ :query_params => query_params,
3341
+ :form_params => form_params,
3342
+ :body => post_body,
3343
+ :auth_names => auth_names)
3344
+ if @api_client.config.debugging
3345
+ @api_client.config.logger.debug "API called: ConversationApi#reset_conversation_pbx_queue_statistics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3346
+ end
3347
+ return data, status_code, headers
3348
+ end
3295
3349
  # Search for canned messages by short_code
3296
3350
  # Search for canned messages by short_code
3297
3351
  # @param search_request Search request
@@ -32,6 +32,55 @@ module UltracartClient
32
32
  UltracartClient::WorkflowApi.new(api_client)
33
33
  end
34
34
 
35
+ # Get agent websocket authorization
36
+ # Retrieve a JWT to authorize an agent to make a websocket connection.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [WorkflowAgentAuthResponse]
39
+ def get_workflow_agent_websocket_authorization(opts = {})
40
+ data, _status_code, _headers = get_workflow_agent_websocket_authorization_with_http_info(opts)
41
+ data
42
+ end
43
+
44
+ # Get agent websocket authorization
45
+ # Retrieve a JWT to authorize an agent to make a websocket connection.
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<(WorkflowAgentAuthResponse, Fixnum, Hash)>] WorkflowAgentAuthResponse data, response status code and response headers
48
+ def get_workflow_agent_websocket_authorization_with_http_info(opts = {})
49
+ if @api_client.config.debugging
50
+ @api_client.config.logger.debug 'Calling API: WorkflowApi.get_workflow_agent_websocket_authorization ...'
51
+ end
52
+ # resource path
53
+ local_var_path = '/workflow/agent/auth'
54
+
55
+ # query parameters
56
+ query_params = {}
57
+
58
+ # header parameters
59
+ header_params = {}
60
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
61
+ # HTTP header 'Accept' (if needed)
62
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
63
+ # HTTP header 'Content-Type'
64
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
65
+
66
+ # form parameters
67
+ form_params = {}
68
+
69
+ # http body (model)
70
+ post_body = nil
71
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
72
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
73
+ :header_params => header_params,
74
+ :query_params => query_params,
75
+ :form_params => form_params,
76
+ :body => post_body,
77
+ :auth_names => auth_names,
78
+ :return_type => 'WorkflowAgentAuthResponse')
79
+ if @api_client.config.debugging
80
+ @api_client.config.logger.debug "API called: WorkflowApi#get_workflow_agent_websocket_authorization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ end
82
+ return data, status_code, headers
83
+ end
35
84
  # Retrieve a list of groups that workflow tasks can be assigned to
36
85
  # Retrieve a list of groups that workflow tasks can be assigned to
37
86
  # @param [Hash] opts the optional parameters
@@ -67,6 +67,12 @@ module UltracartClient
67
67
  # If true, this queue has a voicemail associated with it
68
68
  attr_accessor :voicemail
69
69
 
70
+ # Wait time in seconds before critical
71
+ attr_accessor :wait_critical_seconds
72
+
73
+ # Wait time in seconds before warning
74
+ attr_accessor :wait_warning_seconds
75
+
70
76
  # Attribute mapping from ruby-style variable name to JSON key.
71
77
  def self.attribute_map
72
78
  {
@@ -87,7 +93,9 @@ module UltracartClient
87
93
  :'say_voice' => :'say_voice',
88
94
  :'twilio_taskrouter_workflow_sid' => :'twilio_taskrouter_workflow_sid',
89
95
  :'twilio_workspace_queue_sid' => :'twilio_workspace_queue_sid',
90
- :'voicemail' => :'voicemail'
96
+ :'voicemail' => :'voicemail',
97
+ :'wait_critical_seconds' => :'wait_critical_seconds',
98
+ :'wait_warning_seconds' => :'wait_warning_seconds'
91
99
  }
92
100
  end
93
101
 
@@ -111,7 +119,9 @@ module UltracartClient
111
119
  :'say_voice' => :'String',
112
120
  :'twilio_taskrouter_workflow_sid' => :'String',
113
121
  :'twilio_workspace_queue_sid' => :'String',
114
- :'voicemail' => :'BOOLEAN'
122
+ :'voicemail' => :'BOOLEAN',
123
+ :'wait_critical_seconds' => :'Integer',
124
+ :'wait_warning_seconds' => :'Integer'
115
125
  }
116
126
  end
117
127
 
@@ -194,6 +204,14 @@ module UltracartClient
194
204
  if attributes.has_key?(:'voicemail')
195
205
  self.voicemail = attributes[:'voicemail']
196
206
  end
207
+
208
+ if attributes.has_key?(:'wait_critical_seconds')
209
+ self.wait_critical_seconds = attributes[:'wait_critical_seconds']
210
+ end
211
+
212
+ if attributes.has_key?(:'wait_warning_seconds')
213
+ self.wait_warning_seconds = attributes[:'wait_warning_seconds']
214
+ end
197
215
  end
198
216
 
199
217
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -381,7 +399,9 @@ module UltracartClient
381
399
  say_voice == o.say_voice &&
382
400
  twilio_taskrouter_workflow_sid == o.twilio_taskrouter_workflow_sid &&
383
401
  twilio_workspace_queue_sid == o.twilio_workspace_queue_sid &&
384
- voicemail == o.voicemail
402
+ voicemail == o.voicemail &&
403
+ wait_critical_seconds == o.wait_critical_seconds &&
404
+ wait_warning_seconds == o.wait_warning_seconds
385
405
  end
386
406
 
387
407
  # @see the `==` method
@@ -393,7 +413,7 @@ module UltracartClient
393
413
  # Calculates hash code according to all attributes.
394
414
  # @return [Fixnum] Hash code
395
415
  def hash
396
- [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].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
397
417
  end
398
418
 
399
419
  # Builds the object from hash
@@ -0,0 +1,202 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class WorkflowAgentAuth
17
+ attr_accessor :jwt
18
+
19
+ attr_accessor :merchant_id
20
+
21
+ attr_accessor :websocket_url
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'jwt' => :'jwt',
27
+ :'merchant_id' => :'merchant_id',
28
+ :'websocket_url' => :'websocket_url'
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.swagger_types
34
+ {
35
+ :'jwt' => :'String',
36
+ :'merchant_id' => :'String',
37
+ :'websocket_url' => :'String'
38
+ }
39
+ end
40
+
41
+ # Initializes the object
42
+ # @param [Hash] attributes Model attributes in the form of hash
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
+
49
+ if attributes.has_key?(:'jwt')
50
+ self.jwt = attributes[:'jwt']
51
+ end
52
+
53
+ if attributes.has_key?(:'merchant_id')
54
+ self.merchant_id = attributes[:'merchant_id']
55
+ end
56
+
57
+ if attributes.has_key?(:'websocket_url')
58
+ self.websocket_url = attributes[:'websocket_url']
59
+ end
60
+ end
61
+
62
+ # Show invalid properties with the reasons. Usually used together with valid?
63
+ # @return Array for valid properties with the reasons
64
+ def list_invalid_properties
65
+ invalid_properties = Array.new
66
+ invalid_properties
67
+ end
68
+
69
+ # Check to see if the all the properties in the model are valid
70
+ # @return true if the model is valid
71
+ def valid?
72
+ true
73
+ end
74
+
75
+ # Checks equality by comparing each attribute.
76
+ # @param [Object] Object to be compared
77
+ def ==(o)
78
+ return true if self.equal?(o)
79
+ self.class == o.class &&
80
+ jwt == o.jwt &&
81
+ merchant_id == o.merchant_id &&
82
+ websocket_url == o.websocket_url
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(o)
88
+ self == o
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Fixnum] Hash code
93
+ def hash
94
+ [jwt, merchant_id, websocket_url].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def build_from_hash(attributes)
101
+ return nil unless attributes.is_a?(Hash)
102
+ self.class.swagger_types.each_pair do |key, type|
103
+ if type =~ /\AArray<(.*)>/i
104
+ # check to ensure the input is an array given that the attribute
105
+ # is documented as an array but the input is not
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
108
+ end
109
+ elsif !attributes[self.class.attribute_map[key]].nil?
110
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
111
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
112
+ end
113
+
114
+ self
115
+ end
116
+
117
+ # Deserializes the data based on type
118
+ # @param string type Data type
119
+ # @param string value Value to be deserialized
120
+ # @return [Object] Deserialized data
121
+ def _deserialize(type, value)
122
+ case type.to_sym
123
+ when :DateTime
124
+ DateTime.parse(value)
125
+ when :Date
126
+ Date.parse(value)
127
+ when :String
128
+ value.to_s
129
+ when :Integer
130
+ value.to_i
131
+ when :Float
132
+ value.to_f
133
+ when :BOOLEAN
134
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
135
+ true
136
+ else
137
+ false
138
+ end
139
+ when :Object
140
+ # generic object (usually a Hash), return directly
141
+ value
142
+ when /\AArray<(?<inner_type>.+)>\z/
143
+ inner_type = Regexp.last_match[:inner_type]
144
+ value.map { |v| _deserialize(inner_type, v) }
145
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
146
+ k_type = Regexp.last_match[:k_type]
147
+ v_type = Regexp.last_match[:v_type]
148
+ {}.tap do |hash|
149
+ value.each do |k, v|
150
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
151
+ end
152
+ end
153
+ else # model
154
+ temp_model = UltracartClient.const_get(type).new
155
+ temp_model.build_from_hash(value)
156
+ end
157
+ end
158
+
159
+ # Returns the string representation of the object
160
+ # @return [String] String presentation of the object
161
+ def to_s
162
+ to_hash.to_s
163
+ end
164
+
165
+ # to_body is an alias to to_hash (backward compatibility)
166
+ # @return [Hash] Returns the object in the form of hash
167
+ def to_body
168
+ to_hash
169
+ end
170
+
171
+ # Returns the object in the form of hash
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_hash
174
+ hash = {}
175
+ self.class.attribute_map.each_pair do |attr, param|
176
+ value = self.send(attr)
177
+ next if value.nil?
178
+ hash[param] = _to_hash(value)
179
+ end
180
+ hash
181
+ end
182
+
183
+ # Outputs non-array value in the form of hash
184
+ # For object, use to_hash. Otherwise, just return the value
185
+ # @param [Object] value Any valid value
186
+ # @return [Hash] Returns the value in the form of hash
187
+ def _to_hash(value)
188
+ if value.is_a?(Array)
189
+ value.compact.map { |v| _to_hash(v) }
190
+ elsif value.is_a?(Hash)
191
+ {}.tap do |hash|
192
+ value.each { |k, v| hash[k] = _to_hash(v) }
193
+ end
194
+ elsif value.respond_to? :to_hash
195
+ value.to_hash
196
+ else
197
+ value
198
+ end
199
+ end
200
+
201
+ end
202
+ end
@@ -0,0 +1,221 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class WorkflowAgentAuthResponse
17
+ attr_accessor :agent_auth
18
+
19
+ attr_accessor :error
20
+
21
+ attr_accessor :metadata
22
+
23
+ # Indicates if API call was successful
24
+ attr_accessor :success
25
+
26
+ attr_accessor :warning
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'agent_auth' => :'agent_auth',
32
+ :'error' => :'error',
33
+ :'metadata' => :'metadata',
34
+ :'success' => :'success',
35
+ :'warning' => :'warning'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'agent_auth' => :'WorkflowAgentAuth',
43
+ :'error' => :'Error',
44
+ :'metadata' => :'ResponseMetadata',
45
+ :'success' => :'BOOLEAN',
46
+ :'warning' => :'Warning'
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'agent_auth')
59
+ self.agent_auth = attributes[:'agent_auth']
60
+ end
61
+
62
+ if attributes.has_key?(:'error')
63
+ self.error = attributes[:'error']
64
+ end
65
+
66
+ if attributes.has_key?(:'metadata')
67
+ self.metadata = attributes[:'metadata']
68
+ end
69
+
70
+ if attributes.has_key?(:'success')
71
+ self.success = attributes[:'success']
72
+ end
73
+
74
+ if attributes.has_key?(:'warning')
75
+ self.warning = attributes[:'warning']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ true
90
+ end
91
+
92
+ # Checks equality by comparing each attribute.
93
+ # @param [Object] Object to be compared
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ agent_auth == o.agent_auth &&
98
+ error == o.error &&
99
+ metadata == o.metadata &&
100
+ success == o.success &&
101
+ warning == o.warning
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Fixnum] Hash code
112
+ def hash
113
+ [agent_auth, error, metadata, success, warning].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ self.class.swagger_types.each_pair do |key, type|
122
+ if type =~ /\AArray<(.*)>/i
123
+ # check to ensure the input is an array given that the attribute
124
+ # is documented as an array but the input is not
125
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
126
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
130
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
131
+ end
132
+
133
+ self
134
+ end
135
+
136
+ # Deserializes the data based on type
137
+ # @param string type Data type
138
+ # @param string value Value to be deserialized
139
+ # @return [Object] Deserialized data
140
+ def _deserialize(type, value)
141
+ case type.to_sym
142
+ when :DateTime
143
+ DateTime.parse(value)
144
+ when :Date
145
+ Date.parse(value)
146
+ when :String
147
+ value.to_s
148
+ when :Integer
149
+ value.to_i
150
+ when :Float
151
+ value.to_f
152
+ when :BOOLEAN
153
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
154
+ true
155
+ else
156
+ false
157
+ end
158
+ when :Object
159
+ # generic object (usually a Hash), return directly
160
+ value
161
+ when /\AArray<(?<inner_type>.+)>\z/
162
+ inner_type = Regexp.last_match[:inner_type]
163
+ value.map { |v| _deserialize(inner_type, v) }
164
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
165
+ k_type = Regexp.last_match[:k_type]
166
+ v_type = Regexp.last_match[:v_type]
167
+ {}.tap do |hash|
168
+ value.each do |k, v|
169
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
170
+ end
171
+ end
172
+ else # model
173
+ temp_model = UltracartClient.const_get(type).new
174
+ temp_model.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ next if value.nil?
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+ end
@@ -43,6 +43,9 @@ module UltracartClient
43
43
  # Date/time that the workflow task is due
44
44
  attr_accessor :due_dts
45
45
 
46
+ # Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
47
+ attr_accessor :expiration_dts
48
+
46
49
  # Array of history records for the task
47
50
  attr_accessor :histories
48
51
 
@@ -79,6 +82,9 @@ module UltracartClient
79
82
  # Status of the workflow task
80
83
  attr_accessor :status
81
84
 
85
+ # Constant for the type of system generated task
86
+ attr_accessor :system_task_type
87
+
82
88
  # Tags
83
89
  attr_accessor :tags
84
90
 
@@ -129,6 +135,7 @@ module UltracartClient
129
135
  :'delay_until_dts' => :'delay_until_dts',
130
136
  :'dependant_workflow_task_uuid' => :'dependant_workflow_task_uuid',
131
137
  :'due_dts' => :'due_dts',
138
+ :'expiration_dts' => :'expiration_dts',
132
139
  :'histories' => :'histories',
133
140
  :'last_update_dts' => :'last_update_dts',
134
141
  :'merchant_id' => :'merchant_id',
@@ -141,6 +148,7 @@ module UltracartClient
141
148
  :'properties' => :'properties',
142
149
  :'related_workflow_task_uuid' => :'related_workflow_task_uuid',
143
150
  :'status' => :'status',
151
+ :'system_task_type' => :'system_task_type',
144
152
  :'tags' => :'tags',
145
153
  :'task_context' => :'task_context',
146
154
  :'task_details' => :'task_details',
@@ -162,6 +170,7 @@ module UltracartClient
162
170
  :'delay_until_dts' => :'String',
163
171
  :'dependant_workflow_task_uuid' => :'String',
164
172
  :'due_dts' => :'String',
173
+ :'expiration_dts' => :'String',
165
174
  :'histories' => :'Array<WorkflowTaskHistory>',
166
175
  :'last_update_dts' => :'String',
167
176
  :'merchant_id' => :'String',
@@ -174,6 +183,7 @@ module UltracartClient
174
183
  :'properties' => :'Array<Property>',
175
184
  :'related_workflow_task_uuid' => :'String',
176
185
  :'status' => :'String',
186
+ :'system_task_type' => :'String',
177
187
  :'tags' => :'Array<String>',
178
188
  :'task_context' => :'String',
179
189
  :'task_details' => :'String',
@@ -232,6 +242,10 @@ module UltracartClient
232
242
  self.due_dts = attributes[:'due_dts']
233
243
  end
234
244
 
245
+ if attributes.has_key?(:'expiration_dts')
246
+ self.expiration_dts = attributes[:'expiration_dts']
247
+ end
248
+
235
249
  if attributes.has_key?(:'histories')
236
250
  if (value = attributes[:'histories']).is_a?(Array)
237
251
  self.histories = value
@@ -286,6 +300,10 @@ module UltracartClient
286
300
  self.status = attributes[:'status']
287
301
  end
288
302
 
303
+ if attributes.has_key?(:'system_task_type')
304
+ self.system_task_type = attributes[:'system_task_type']
305
+ end
306
+
289
307
  if attributes.has_key?(:'tags')
290
308
  if (value = attributes[:'tags']).is_a?(Array)
291
309
  self.tags = value
@@ -323,8 +341,10 @@ module UltracartClient
323
341
  return false unless object_type_validator.valid?(@object_type)
324
342
  priority_validator = EnumAttributeValidator.new('String', ['1 - low', '2 - medium', '3 - high', '4 - critical'])
325
343
  return false unless priority_validator.valid?(@priority)
326
- status_validator = EnumAttributeValidator.new('String', ['open', 'closed', 'delayed', 'awaiting customer feedback'])
344
+ status_validator = EnumAttributeValidator.new('String', ['open', 'closed', 'delayed', 'awaiting customer feedback', 'closed - system', 'closed - customer', 'closed - expiration'])
327
345
  return false unless status_validator.valid?(@status)
346
+ system_task_type_validator = EnumAttributeValidator.new('String', ['order_accounts_receivable', 'order_fraud_review', 'auto_order_card_update_issue', 'auto_order_canceled_payment', 'item_low_stock', 'item_out_of_stock'])
347
+ return false unless system_task_type_validator.valid?(@system_task_type)
328
348
  true
329
349
  end
330
350
 
@@ -351,13 +371,23 @@ module UltracartClient
351
371
  # Custom attribute writer method checking allowed values (enum).
352
372
  # @param [Object] status Object to be assigned
353
373
  def status=(status)
354
- validator = EnumAttributeValidator.new('String', ['open', 'closed', 'delayed', 'awaiting customer feedback'])
374
+ validator = EnumAttributeValidator.new('String', ['open', 'closed', 'delayed', 'awaiting customer feedback', 'closed - system', 'closed - customer', 'closed - expiration'])
355
375
  unless validator.valid?(status)
356
376
  fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
357
377
  end
358
378
  @status = status
359
379
  end
360
380
 
381
+ # Custom attribute writer method checking allowed values (enum).
382
+ # @param [Object] system_task_type Object to be assigned
383
+ def system_task_type=(system_task_type)
384
+ validator = EnumAttributeValidator.new('String', ['order_accounts_receivable', 'order_fraud_review', 'auto_order_card_update_issue', 'auto_order_canceled_payment', 'item_low_stock', 'item_out_of_stock'])
385
+ unless validator.valid?(system_task_type)
386
+ fail ArgumentError, 'invalid value for "system_task_type", must be one of #{validator.allowable_values}.'
387
+ end
388
+ @system_task_type = system_task_type
389
+ end
390
+
361
391
  # Checks equality by comparing each attribute.
362
392
  # @param [Object] Object to be compared
363
393
  def ==(o)
@@ -373,6 +403,7 @@ module UltracartClient
373
403
  delay_until_dts == o.delay_until_dts &&
374
404
  dependant_workflow_task_uuid == o.dependant_workflow_task_uuid &&
375
405
  due_dts == o.due_dts &&
406
+ expiration_dts == o.expiration_dts &&
376
407
  histories == o.histories &&
377
408
  last_update_dts == o.last_update_dts &&
378
409
  merchant_id == o.merchant_id &&
@@ -385,6 +416,7 @@ module UltracartClient
385
416
  properties == o.properties &&
386
417
  related_workflow_task_uuid == o.related_workflow_task_uuid &&
387
418
  status == o.status &&
419
+ system_task_type == o.system_task_type &&
388
420
  tags == o.tags &&
389
421
  task_context == o.task_context &&
390
422
  task_details == o.task_details &&
@@ -401,7 +433,7 @@ module UltracartClient
401
433
  # Calculates hash code according to all attributes.
402
434
  # @return [Fixnum] Hash code
403
435
  def hash
404
- [assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, dependant_workflow_task_uuid, due_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, properties, related_workflow_task_uuid, status, tags, task_context, task_details, task_name, workflow_task_uuid].hash
436
+ [assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, dependant_workflow_task_uuid, due_dts, expiration_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, properties, related_workflow_task_uuid, status, system_task_type, tags, task_context, task_details, task_name, workflow_task_uuid].hash
405
437
  end
406
438
 
407
439
  # 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.185'
14
+ VERSION = '3.10.187'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -840,6 +840,8 @@ require 'ultracart_api/models/webhook_sample_request'
840
840
  require 'ultracart_api/models/webhook_sample_request_response'
841
841
  require 'ultracart_api/models/webhooks_response'
842
842
  require 'ultracart_api/models/weight'
843
+ require 'ultracart_api/models/workflow_agent_auth'
844
+ require 'ultracart_api/models/workflow_agent_auth_response'
843
845
  require 'ultracart_api/models/workflow_attachment'
844
846
  require 'ultracart_api/models/workflow_attachment_upload_url'
845
847
  require 'ultracart_api/models/workflow_attachment_upload_url_response'
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.185
4
+ version: 3.10.187
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -1064,6 +1064,8 @@ files:
1064
1064
  - docs/WebhookSampleRequestResponse.md
1065
1065
  - docs/WebhooksResponse.md
1066
1066
  - docs/Weight.md
1067
+ - docs/WorkflowAgentAuth.md
1068
+ - docs/WorkflowAgentAuthResponse.md
1067
1069
  - docs/WorkflowApi.md
1068
1070
  - docs/WorkflowAttachment.md
1069
1071
  - docs/WorkflowAttachmentUploadUrl.md
@@ -1929,6 +1931,8 @@ files:
1929
1931
  - lib/ultracart_api/models/webhook_sample_request_response.rb
1930
1932
  - lib/ultracart_api/models/webhooks_response.rb
1931
1933
  - lib/ultracart_api/models/weight.rb
1934
+ - lib/ultracart_api/models/workflow_agent_auth.rb
1935
+ - lib/ultracart_api/models/workflow_agent_auth_response.rb
1932
1936
  - lib/ultracart_api/models/workflow_attachment.rb
1933
1937
  - lib/ultracart_api/models/workflow_attachment_upload_url.rb
1934
1938
  - lib/ultracart_api/models/workflow_attachment_upload_url_response.rb