ultracart_api 4.0.45.rc → 4.0.48.rc

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: d3170e8927d8e030dbc1dba868ca03222e18145e16f5d2889a1a9bb0da90a24b
4
- data.tar.gz: e87e3ffa36d18c3173c3081d6e9b87a4e9b8b94d57e89fe38d7f5487cd75eada
3
+ metadata.gz: 0624caccc11ea70dee0391435631912d28584b61e5ceabccb3bacd3c51c80e95
4
+ data.tar.gz: 667e77fd135a7b513df023ba4446a51d6978de89e2298aa5777add6e6529705f
5
5
  SHA512:
6
- metadata.gz: e899c1803a077222dfbb1748f16d530c49b97dd6c9d1c906455832b240061878ef2a42f13a3a17977d66de542d539ac1c47520101f4b7925ef919e77536db631
7
- data.tar.gz: f8fc9bde07d1a32f600f578883b60353df2aa9cbb4d6e8df97041aeaa601a5d310ea6eaf8ada99349b91068283a90a398259a5e4af7b2f34a4ea3dff46b48d1d
6
+ metadata.gz: 2d4f11ee1d8df637a993f2911620c4252d6eea21e2e8af10c274bb6fd1e494a4bb43964bd027708b9b19e8a53cbe19d788d1a7a8cd8a73ec221d16f13b45b3f3
7
+ data.tar.gz: bc79bbabe755b6b36bac358bd051ac59c7c308e4755d2e0e291e50fd34f7beb2d89752e668850dca1c09842110175ac548821211e419fd62818f9e767023a412
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.45.rc
10
+ - Package version: 4.0.48.rc
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.45.rc.gem
27
+ gem install ./ultracart_api-4.0.48.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.45.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.48.rc.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.45.rc'
36
+ gem 'ultracart_api', '~> 4.0.48.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -370,6 +370,7 @@ Class | Method | HTTP request | Description
370
370
  *UltracartClient::StorefrontApi* | [**send_email_test**](docs/StorefrontApi.md#send_email_test) | **POST** /storefront/{storefront_oid}/email/emails/{commseq_email_uuid}/test | Send email test
371
371
  *UltracartClient::StorefrontApi* | [**send_postcard_test**](docs/StorefrontApi.md#send_postcard_test) | **POST** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/test | Send postcard test
372
372
  *UltracartClient::StorefrontApi* | [**send_webhook_test**](docs/StorefrontApi.md#send_webhook_test) | **POST** /storefront/{storefront_oid}/email/webhooks/test | Send webhook test
373
+ *UltracartClient::StorefrontApi* | [**sequence_test**](docs/StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test
373
374
  *UltracartClient::StorefrontApi* | [**start_email_campaign**](docs/StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign
374
375
  *UltracartClient::StorefrontApi* | [**subscribe_to_email_list**](docs/StorefrontApi.md#subscribe_to_email_list) | **POST** /storefront/{storefront_oid}/email/lists/{email_list_uuid}/subscribe | Subscribe customers to email list
375
376
  *UltracartClient::StorefrontApi* | [**unfavorite_screen_recording**](docs/StorefrontApi.md#unfavorite_screen_recording) | **DELETE** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid}/favorite | Remove favorite flag on screen recording
@@ -568,6 +569,7 @@ Class | Method | HTTP request | Description
568
569
  - [UltracartClient::ConversationAgentAuth](docs/ConversationAgentAuth.md)
569
570
  - [UltracartClient::ConversationAgentAuthResponse](docs/ConversationAgentAuthResponse.md)
570
571
  - [UltracartClient::ConversationEventQueuePosition](docs/ConversationEventQueuePosition.md)
572
+ - [UltracartClient::ConversationEventRRWeb](docs/ConversationEventRRWeb.md)
571
573
  - [UltracartClient::ConversationMessage](docs/ConversationMessage.md)
572
574
  - [UltracartClient::ConversationMessageTransportStatus](docs/ConversationMessageTransportStatus.md)
573
575
  - [UltracartClient::ConversationMultimediaUploadUrl](docs/ConversationMultimediaUploadUrl.md)
@@ -577,6 +579,7 @@ Class | Method | HTTP request | Description
577
579
  - [UltracartClient::ConversationStartRequest](docs/ConversationStartRequest.md)
578
580
  - [UltracartClient::ConversationStartResponse](docs/ConversationStartResponse.md)
579
581
  - [UltracartClient::ConversationSummary](docs/ConversationSummary.md)
582
+ - [UltracartClient::ConversationTwilioAccount](docs/ConversationTwilioAccount.md)
580
583
  - [UltracartClient::ConversationWebchatQueueStatus](docs/ConversationWebchatQueueStatus.md)
581
584
  - [UltracartClient::ConversationWebchatQueueStatusAgent](docs/ConversationWebchatQueueStatusAgent.md)
582
585
  - [UltracartClient::ConversationWebchatQueueStatusQueueEntry](docs/ConversationWebchatQueueStatusQueueEntry.md)
@@ -705,6 +708,8 @@ Class | Method | HTTP request | Description
705
708
  - [UltracartClient::EmailCommseqPostcardsRequest](docs/EmailCommseqPostcardsRequest.md)
706
709
  - [UltracartClient::EmailCommseqPostcardsResponse](docs/EmailCommseqPostcardsResponse.md)
707
710
  - [UltracartClient::EmailCommseqResponse](docs/EmailCommseqResponse.md)
711
+ - [UltracartClient::EmailCommseqSequenceTestRequest](docs/EmailCommseqSequenceTestRequest.md)
712
+ - [UltracartClient::EmailCommseqSequenceTestResponse](docs/EmailCommseqSequenceTestResponse.md)
708
713
  - [UltracartClient::EmailCommseqStat](docs/EmailCommseqStat.md)
709
714
  - [UltracartClient::EmailCommseqStatResponse](docs/EmailCommseqStatResponse.md)
710
715
  - [UltracartClient::EmailCommseqStep](docs/EmailCommseqStep.md)
@@ -1174,6 +1179,9 @@ Not every change is committed to every SDK.
1174
1179
 
1175
1180
  | Version | Date | Comments |
1176
1181
  | --: | :-: | --- |
1182
+ | 4.0.48-RC | 08/02/2022 | storefront communication sequence test method |
1183
+ | 4.0.47-RC | 08/01/2022 | conversation event refinement |
1184
+ | 4.0.46-RC | 07/29/2022 | conversation development |
1177
1185
  | 4.0.45-RC | 07/28/2022 | conversation bug fixes |
1178
1186
  | 4.0.44-RC | 07/28/2022 | conversation message upload keys property |
1179
1187
  | 4.0.43-RC | 07/26/2022 | conversations - queue statistics |
@@ -8,7 +8,7 @@
8
8
  | **conversation_participant_name** | **String** | | [optional] |
9
9
  | **jwt** | **String** | | [optional] |
10
10
  | **merchant_id** | **String** | | [optional] |
11
- | **twilio_phone_numbers** | **Array<String>** | | [optional] |
11
+ | **twilio_accounts** | [**Array<ConversationTwilioAccount>**](ConversationTwilioAccount.md) | | [optional] |
12
12
  | **websocket_url** | **String** | | [optional] |
13
13
 
14
14
  ## Example
@@ -21,7 +21,7 @@ instance = UltracartClient::ConversationAgentAuth.new(
21
21
  conversation_participant_name: null,
22
22
  jwt: null,
23
23
  merchant_id: null,
24
- twilio_phone_numbers: null,
24
+ twilio_accounts: null,
25
25
  websocket_url: null
26
26
  )
27
27
  ```
@@ -0,0 +1,30 @@
1
+ # UltracartClient::ConversationEventRRWeb
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | **String** | | [optional] |
8
+ | **data_part** | **Integer** | | [optional] |
9
+ | **data_sha256** | **String** | | [optional] |
10
+ | **data_total_parts** | **Integer** | | [optional] |
11
+ | **data_total_sha256** | **String** | | [optional] |
12
+ | **event_index** | **Integer** | | [optional] |
13
+ | **type** | **String** | Type of event | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ultracart_api'
19
+
20
+ instance = UltracartClient::ConversationEventRRWeb.new(
21
+ data: null,
22
+ data_part: null,
23
+ data_sha256: null,
24
+ data_total_parts: null,
25
+ data_total_sha256: null,
26
+ event_index: null,
27
+ type: null
28
+ )
29
+ ```
30
+
@@ -7,9 +7,11 @@
7
7
  | **author_conversation_participant_arn** | **String** | | [optional] |
8
8
  | **author_conversation_participant_name** | **String** | | [optional] |
9
9
  | **body** | **String** | | [optional] |
10
+ | **client_message_id** | **String** | | [optional] |
10
11
  | **media_urls** | **Array<String>** | | [optional] |
11
12
  | **message_dts** | **String** | Message date/time | [optional] |
12
13
  | **transport_statuses** | [**Array<ConversationMessageTransportStatus>**](ConversationMessageTransportStatus.md) | | [optional] |
14
+ | **type** | **String** | Message type | [optional] |
13
15
  | **upload_keys** | **Array<String>** | | [optional] |
14
16
 
15
17
  ## Example
@@ -21,9 +23,11 @@ instance = UltracartClient::ConversationMessage.new(
21
23
  author_conversation_participant_arn: null,
22
24
  author_conversation_participant_name: null,
23
25
  body: null,
26
+ client_message_id: null,
24
27
  media_urls: null,
25
28
  message_dts: null,
26
29
  transport_statuses: null,
30
+ type: null,
27
31
  upload_keys: null
28
32
  )
29
33
  ```
@@ -13,7 +13,9 @@
13
13
  | **last_message_dts** | **String** | Last message date/time | [optional] |
14
14
  | **merchant_id** | **String** | | [optional] |
15
15
  | **message_count** | **Integer** | | [optional] |
16
+ | **start_dts** | **String** | Start of the conversation date/time | [optional] |
16
17
  | **unread_messages** | **Boolean** | | [optional] |
18
+ | **visible** | **Boolean** | | [optional] |
17
19
 
18
20
  ## Example
19
21
 
@@ -30,7 +32,9 @@ instance = UltracartClient::ConversationSummary.new(
30
32
  last_message_dts: null,
31
33
  merchant_id: null,
32
34
  message_count: null,
33
- unread_messages: null
35
+ start_dts: null,
36
+ unread_messages: null,
37
+ visible: null
34
38
  )
35
39
  ```
36
40
 
@@ -0,0 +1,20 @@
1
+ # UltracartClient::ConversationTwilioAccount
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **merchant_id** | **String** | | [optional] |
8
+ | **twilio_phone_numbers** | **Array<String>** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::ConversationTwilioAccount.new(
16
+ merchant_id: null,
17
+ twilio_phone_numbers: null
18
+ )
19
+ ```
20
+
@@ -10,6 +10,7 @@
10
10
  | **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
11
11
  | **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
12
12
  | **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional] |
13
+ | **event_rrweb** | [**ConversationEventRRWeb**](ConversationEventRRWeb.md) | | [optional] |
13
14
  | **event_type** | **String** | Type of event | [optional] |
14
15
  | **event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
15
16
  | **message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
@@ -27,6 +28,7 @@ instance = UltracartClient::ConversationWebsocketMessage.new(
27
28
  event_new_message: null,
28
29
  event_queue_position: null,
29
30
  event_queue_status_update: null,
31
+ event_rrweb: null,
30
32
  event_type: null,
31
33
  event_updated_message: null,
32
34
  message: null,
@@ -0,0 +1,32 @@
1
+ # UltracartClient::EmailCommseqSequenceTestRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cart_id** | **String** | | [optional] |
8
+ | **cart_item_ids** | **Array<String>** | | [optional] |
9
+ | **esp_commseq_uuid** | **String** | | [optional] |
10
+ | **name** | **String** | | [optional] |
11
+ | **order_id** | **String** | | [optional] |
12
+ | **please_review** | **Boolean** | | [optional] |
13
+ | **send_to_email** | **String** | | [optional] |
14
+ | **send_to_logged_in_user** | **Boolean** | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'ultracart_api'
20
+
21
+ instance = UltracartClient::EmailCommseqSequenceTestRequest.new(
22
+ cart_id: null,
23
+ cart_item_ids: null,
24
+ esp_commseq_uuid: null,
25
+ name: null,
26
+ order_id: null,
27
+ please_review: null,
28
+ send_to_email: null,
29
+ send_to_logged_in_user: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::EmailCommseqSequenceTestResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
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
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::EmailCommseqSequenceTestResponse.new(
18
+ error: null,
19
+ metadata: null,
20
+ success: null,
21
+ warning: null
22
+ )
23
+ ```
24
+
@@ -140,6 +140,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
140
140
  | [**send_email_test**](StorefrontApi.md#send_email_test) | **POST** /storefront/{storefront_oid}/email/emails/{commseq_email_uuid}/test | Send email test |
141
141
  | [**send_postcard_test**](StorefrontApi.md#send_postcard_test) | **POST** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/test | Send postcard test |
142
142
  | [**send_webhook_test**](StorefrontApi.md#send_webhook_test) | **POST** /storefront/{storefront_oid}/email/webhooks/test | Send webhook test |
143
+ | [**sequence_test**](StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test |
143
144
  | [**start_email_campaign**](StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign |
144
145
  | [**subscribe_to_email_list**](StorefrontApi.md#subscribe_to_email_list) | **POST** /storefront/{storefront_oid}/email/lists/{email_list_uuid}/subscribe | Subscribe customers to email list |
145
146
  | [**unfavorite_screen_recording**](StorefrontApi.md#unfavorite_screen_recording) | **DELETE** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid}/favorite | Remove favorite flag on screen recording |
@@ -9911,6 +9912,79 @@ end
9911
9912
  - **Accept**: application/json
9912
9913
 
9913
9914
 
9915
+ ## sequence_test
9916
+
9917
+ > <EmailCommseqSequenceTestResponse> sequence_test(storefront_oid, commseq_uuid, email_commseq_sequence_test_request)
9918
+
9919
+ Sequence test
9920
+
9921
+ ### Examples
9922
+
9923
+ ```ruby
9924
+ require 'time'
9925
+ require 'ultracart_api'
9926
+ require 'json'
9927
+ require 'yaml'
9928
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
9929
+
9930
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
9931
+ # As such, this might not be the best way to use this object.
9932
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
9933
+
9934
+ api = UltracartClient::StorefrontApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
9935
+ storefront_oid = 56 # Integer |
9936
+ commseq_uuid = 'commseq_uuid_example' # String |
9937
+ email_commseq_sequence_test_request = UltracartClient::EmailCommseqSequenceTestRequest.new # EmailCommseqSequenceTestRequest | Commseq test request
9938
+
9939
+ begin
9940
+ # Sequence test
9941
+ result = api_instance.sequence_test(storefront_oid, commseq_uuid, email_commseq_sequence_test_request)
9942
+ p result
9943
+ rescue UltracartClient::ApiError => e
9944
+ puts "Error when calling StorefrontApi->sequence_test: #{e}"
9945
+ end
9946
+ ```
9947
+
9948
+ #### Using the sequence_test_with_http_info variant
9949
+
9950
+ This returns an Array which contains the response data, status code and headers.
9951
+
9952
+ > <Array(<EmailCommseqSequenceTestResponse>, Integer, Hash)> sequence_test_with_http_info(storefront_oid, commseq_uuid, email_commseq_sequence_test_request)
9953
+
9954
+ ```ruby
9955
+ begin
9956
+ # Sequence test
9957
+ data, status_code, headers = api_instance.sequence_test_with_http_info(storefront_oid, commseq_uuid, email_commseq_sequence_test_request)
9958
+ p status_code # => 2xx
9959
+ p headers # => { ... }
9960
+ p data # => <EmailCommseqSequenceTestResponse>
9961
+ rescue UltracartClient::ApiError => e
9962
+ puts "Error when calling StorefrontApi->sequence_test_with_http_info: #{e}"
9963
+ end
9964
+ ```
9965
+
9966
+ ### Parameters
9967
+
9968
+ | Name | Type | Description | Notes |
9969
+ | ---- | ---- | ----------- | ----- |
9970
+ | **storefront_oid** | **Integer** | | |
9971
+ | **commseq_uuid** | **String** | | |
9972
+ | **email_commseq_sequence_test_request** | [**EmailCommseqSequenceTestRequest**](EmailCommseqSequenceTestRequest.md) | Commseq test request | |
9973
+
9974
+ ### Return type
9975
+
9976
+ [**EmailCommseqSequenceTestResponse**](EmailCommseqSequenceTestResponse.md)
9977
+
9978
+ ### Authorization
9979
+
9980
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
9981
+
9982
+ ### HTTP request headers
9983
+
9984
+ - **Content-Type**: application/json
9985
+ - **Accept**: application/json
9986
+
9987
+
9914
9988
  ## start_email_campaign
9915
9989
 
9916
9990
  > <BaseResponse> start_email_campaign(storefront_oid, email_campaign_uuid)
@@ -9412,6 +9412,85 @@ module UltracartClient
9412
9412
  return data, status_code, headers
9413
9413
  end
9414
9414
 
9415
+ # Sequence test
9416
+ # @param storefront_oid [Integer]
9417
+ # @param commseq_uuid [String]
9418
+ # @param email_commseq_sequence_test_request [EmailCommseqSequenceTestRequest] Commseq test request
9419
+ # @param [Hash] opts the optional parameters
9420
+ # @return [EmailCommseqSequenceTestResponse]
9421
+ def sequence_test(storefront_oid, commseq_uuid, email_commseq_sequence_test_request, opts = {})
9422
+ data, _status_code, _headers = sequence_test_with_http_info(storefront_oid, commseq_uuid, email_commseq_sequence_test_request, opts)
9423
+ data
9424
+ end
9425
+
9426
+ # Sequence test
9427
+ # @param storefront_oid [Integer]
9428
+ # @param commseq_uuid [String]
9429
+ # @param email_commseq_sequence_test_request [EmailCommseqSequenceTestRequest] Commseq test request
9430
+ # @param [Hash] opts the optional parameters
9431
+ # @return [Array<(EmailCommseqSequenceTestResponse, Integer, Hash)>] EmailCommseqSequenceTestResponse data, response status code and response headers
9432
+ def sequence_test_with_http_info(storefront_oid, commseq_uuid, email_commseq_sequence_test_request, opts = {})
9433
+ if @api_client.config.debugging
9434
+ @api_client.config.logger.debug 'Calling API: StorefrontApi.sequence_test ...'
9435
+ end
9436
+ # verify the required parameter 'storefront_oid' is set
9437
+ if @api_client.config.client_side_validation && storefront_oid.nil?
9438
+ fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.sequence_test"
9439
+ end
9440
+ # verify the required parameter 'commseq_uuid' is set
9441
+ if @api_client.config.client_side_validation && commseq_uuid.nil?
9442
+ fail ArgumentError, "Missing the required parameter 'commseq_uuid' when calling StorefrontApi.sequence_test"
9443
+ end
9444
+ # verify the required parameter 'email_commseq_sequence_test_request' is set
9445
+ if @api_client.config.client_side_validation && email_commseq_sequence_test_request.nil?
9446
+ fail ArgumentError, "Missing the required parameter 'email_commseq_sequence_test_request' when calling StorefrontApi.sequence_test"
9447
+ end
9448
+ # resource path
9449
+ local_var_path = '/storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test'.sub('{' + 'storefront_oid' + '}', CGI.escape(storefront_oid.to_s)).sub('{' + 'commseq_uuid' + '}', CGI.escape(commseq_uuid.to_s))
9450
+
9451
+ # query parameters
9452
+ query_params = opts[:query_params] || {}
9453
+
9454
+ # header parameters
9455
+ header_params = opts[:header_params] || {}
9456
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
9457
+ # HTTP header 'Accept' (if needed)
9458
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9459
+ # HTTP header 'Content-Type'
9460
+ content_type = @api_client.select_header_content_type(['application/json'])
9461
+ if !content_type.nil?
9462
+ header_params['Content-Type'] = content_type
9463
+ end
9464
+
9465
+ # form parameters
9466
+ form_params = opts[:form_params] || {}
9467
+
9468
+ # http body (model)
9469
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(email_commseq_sequence_test_request)
9470
+
9471
+ # return_type
9472
+ return_type = opts[:debug_return_type] || 'EmailCommseqSequenceTestResponse'
9473
+
9474
+ # auth_names
9475
+ auth_names = opts[:debug_auth_names] || ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
9476
+
9477
+ new_options = opts.merge(
9478
+ :operation => :"StorefrontApi.sequence_test",
9479
+ :header_params => header_params,
9480
+ :query_params => query_params,
9481
+ :form_params => form_params,
9482
+ :body => post_body,
9483
+ :auth_names => auth_names,
9484
+ :return_type => return_type
9485
+ )
9486
+
9487
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
9488
+ if @api_client.config.debugging
9489
+ @api_client.config.logger.debug "API called: StorefrontApi#sequence_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9490
+ end
9491
+ return data, status_code, headers
9492
+ end
9493
+
9415
9494
  # Start email campaign
9416
9495
  # @param storefront_oid [Integer]
9417
9496
  # @param email_campaign_uuid [String]
@@ -23,7 +23,7 @@ module UltracartClient
23
23
 
24
24
  attr_accessor :merchant_id
25
25
 
26
- attr_accessor :twilio_phone_numbers
26
+ attr_accessor :twilio_accounts
27
27
 
28
28
  attr_accessor :websocket_url
29
29
 
@@ -34,7 +34,7 @@ module UltracartClient
34
34
  :'conversation_participant_name' => :'conversation_participant_name',
35
35
  :'jwt' => :'jwt',
36
36
  :'merchant_id' => :'merchant_id',
37
- :'twilio_phone_numbers' => :'twilio_phone_numbers',
37
+ :'twilio_accounts' => :'twilio_accounts',
38
38
  :'websocket_url' => :'websocket_url'
39
39
  }
40
40
  end
@@ -51,7 +51,7 @@ module UltracartClient
51
51
  :'conversation_participant_name' => :'String',
52
52
  :'jwt' => :'String',
53
53
  :'merchant_id' => :'String',
54
- :'twilio_phone_numbers' => :'Array<String>',
54
+ :'twilio_accounts' => :'Array<ConversationTwilioAccount>',
55
55
  :'websocket_url' => :'String'
56
56
  }
57
57
  end
@@ -93,9 +93,9 @@ module UltracartClient
93
93
  self.merchant_id = attributes[:'merchant_id']
94
94
  end
95
95
 
96
- if attributes.key?(:'twilio_phone_numbers')
97
- if (value = attributes[:'twilio_phone_numbers']).is_a?(Array)
98
- self.twilio_phone_numbers = value
96
+ if attributes.key?(:'twilio_accounts')
97
+ if (value = attributes[:'twilio_accounts']).is_a?(Array)
98
+ self.twilio_accounts = value
99
99
  end
100
100
  end
101
101
 
@@ -126,7 +126,7 @@ module UltracartClient
126
126
  conversation_participant_name == o.conversation_participant_name &&
127
127
  jwt == o.jwt &&
128
128
  merchant_id == o.merchant_id &&
129
- twilio_phone_numbers == o.twilio_phone_numbers &&
129
+ twilio_accounts == o.twilio_accounts &&
130
130
  websocket_url == o.websocket_url
131
131
  end
132
132
 
@@ -139,7 +139,7 @@ module UltracartClient
139
139
  # Calculates hash code according to all attributes.
140
140
  # @return [Integer] Hash code
141
141
  def hash
142
- [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, twilio_phone_numbers, websocket_url].hash
142
+ [conversation_participant_arn, conversation_participant_name, jwt, merchant_id, twilio_accounts, websocket_url].hash
143
143
  end
144
144
 
145
145
  # Builds the object from hash