ultracart_api 4.1.210 → 4.1.212
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 +4 -4
- data/README.md +8 -2
- data/docs/ConversationAgentAuth.md +2 -0
- data/docs/ConversationPbxAgent.md +2 -0
- data/docs/SfvbApi.md +56 -0
- data/docs/SfvbSequence.md +34 -0
- data/docs/SfvbSequenceBranch.md +20 -0
- data/docs/SfvbSequenceStep.md +50 -0
- data/lib/ultracart_api/api/sfvb_api.rb +73 -0
- data/lib/ultracart_api/models/conversation_agent_auth.rb +45 -1
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +23 -1
- data/lib/ultracart_api/models/sfvb_sequence.rb +304 -0
- data/lib/ultracart_api/models/sfvb_sequence_branch.rb +232 -0
- data/lib/ultracart_api/models/sfvb_sequence_step.rb +388 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +3 -0
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: daa7439a4c2c9d9b5c10024beb9d848a7b728c9ff5d057a22923f9381802cf38
|
|
4
|
+
data.tar.gz: 5acd544d65144e915ecf68e29428ec9fd3ba8012fecbe54a992afa54b8fae08c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9137149162a374efa7ab54e06cd729eae0046b7d82d08248d3e8fbfbb368098e57469ae74ce9a2cf3428e19acdddefe24c902a827c78abda8f0f89f0cb37ec91
|
|
7
|
+
data.tar.gz: 05c4be8139c905ef860a89b6c19ff9b3ed2557eef3975b3298a4720f538b37cda040b24861a92f5f3e9aea5270814ee6323f698b961c58af95f10119da73bae8
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.212
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.212'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -572,6 +572,7 @@ Class | Method | HTTP request | Description
|
|
|
572
572
|
*UltracartClient::SfvbApi* | [**get_sfvb_secret_kinds**](docs/SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects
|
|
573
573
|
*UltracartClient::SfvbApi* | [**get_sfvb_secret_request**](docs/SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request
|
|
574
574
|
*UltracartClient::SfvbApi* | [**get_sfvb_secret_requests**](docs/SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests
|
|
575
|
+
*UltracartClient::SfvbApi* | [**get_sfvb_sequence**](docs/SfvbApi.md#get_sfvb_sequence) | **GET** /sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid} | Get a campaign's or flow's steps as a tree
|
|
575
576
|
*UltracartClient::SfvbApi* | [**get_sfvb_server_log**](docs/SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log
|
|
576
577
|
*UltracartClient::SfvbApi* | [**get_sfvb_site_attributes**](docs/SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes
|
|
577
578
|
*UltracartClient::SfvbApi* | [**get_sfvb_test_orders**](docs/SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders
|
|
@@ -2106,6 +2107,9 @@ Class | Method | HTTP request | Description
|
|
|
2106
2107
|
- [UltracartClient::SfvbSecretRequestCreate](docs/SfvbSecretRequestCreate.md)
|
|
2107
2108
|
- [UltracartClient::SfvbSecretRequestsResponse](docs/SfvbSecretRequestsResponse.md)
|
|
2108
2109
|
- [UltracartClient::SfvbSecretSink](docs/SfvbSecretSink.md)
|
|
2110
|
+
- [UltracartClient::SfvbSequence](docs/SfvbSequence.md)
|
|
2111
|
+
- [UltracartClient::SfvbSequenceBranch](docs/SfvbSequenceBranch.md)
|
|
2112
|
+
- [UltracartClient::SfvbSequenceStep](docs/SfvbSequenceStep.md)
|
|
2109
2113
|
- [UltracartClient::SfvbServerLog](docs/SfvbServerLog.md)
|
|
2110
2114
|
- [UltracartClient::SfvbServerLogDetail](docs/SfvbServerLogDetail.md)
|
|
2111
2115
|
- [UltracartClient::SfvbServerLogEntry](docs/SfvbServerLogEntry.md)
|
|
@@ -2323,6 +2327,8 @@ Not every change is committed to every SDK.
|
|
|
2323
2327
|
|
|
2324
2328
|
| Version | Date | Comments |
|
|
2325
2329
|
| --: | :-: | --- |
|
|
2330
|
+
| 4.1.212 | 10/27/2026 | conversation - pbx agent startup activity |
|
|
2331
|
+
| 4.1.211 | 10/27/2026 | sfvb internal testing |
|
|
2326
2332
|
| 4.1.210 | 10/27/2026 | sfvb internal testing |
|
|
2327
2333
|
| 4.1.209 | 10/27/2026 | sfvb internal testing |
|
|
2328
2334
|
| 4.1.208 | 10/26/2026 | sfvb internal testing |
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
| **parent_merchant_id** | **String** | The parent merchant ID for PBX. For non-linked merchants, equals merchant_id. | [optional] |
|
|
18
18
|
| **pbx_admin** | **Boolean** | | [optional] |
|
|
19
19
|
| **pbx_jwt** | **String** | | [optional] |
|
|
20
|
+
| **pbx_startup_activity** | **String** | Status the agent starts in when the CRM loads | [optional] |
|
|
20
21
|
| **pbx_supervisor** | **Boolean** | | [optional] |
|
|
21
22
|
| **pbx_user** | **Boolean** | | [optional] |
|
|
22
23
|
| **pbx_voice_identity** | **String** | | [optional] |
|
|
@@ -46,6 +47,7 @@ instance = UltracartClient::ConversationAgentAuth.new(
|
|
|
46
47
|
parent_merchant_id: null,
|
|
47
48
|
pbx_admin: null,
|
|
48
49
|
pbx_jwt: null,
|
|
50
|
+
pbx_startup_activity: null,
|
|
49
51
|
pbx_supervisor: null,
|
|
50
52
|
pbx_user: null,
|
|
51
53
|
pbx_voice_identity: null,
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
| **preferred_hardware_phone_uuid** | **String** | The hardware phone that will be dialed on an incoming call if routing preference is hardware_phone | [optional] |
|
|
20
20
|
| **record_outgoing_automatically** | **Boolean** | True if outgoing calls should be automatically recorded | [optional] |
|
|
21
21
|
| **shared_conversation_pbx_voicemail_mailbox_uuid** | **String** | Shared Conversation Pbx Voicemail Mailbox UUID | [optional] |
|
|
22
|
+
| **startup_activity** | **String** | Status the agent starts in when the CRM loads. Missing means available. | [optional] |
|
|
22
23
|
| **twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional] |
|
|
23
24
|
| **unavailable_play_audio_uuid** | **String** | Unavailable play audio UUID | [optional] |
|
|
24
25
|
| **unavailable_say** | **String** | Unavailable say | [optional] |
|
|
@@ -49,6 +50,7 @@ instance = UltracartClient::ConversationPbxAgent.new(
|
|
|
49
50
|
preferred_hardware_phone_uuid: null,
|
|
50
51
|
record_outgoing_automatically: null,
|
|
51
52
|
shared_conversation_pbx_voicemail_mailbox_uuid: null,
|
|
53
|
+
startup_activity: null,
|
|
52
54
|
twilio_taskrouter_worker_id: null,
|
|
53
55
|
unavailable_play_audio_uuid: null,
|
|
54
56
|
unavailable_say: null,
|
data/docs/SfvbApi.md
CHANGED
|
@@ -100,6 +100,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
100
100
|
| [**get_sfvb_secret_kinds**](SfvbApi.md#get_sfvb_secret_kinds) | **GET** /sfvb/secrets/kinds | List the secrets this server collects |
|
|
101
101
|
| [**get_sfvb_secret_request**](SfvbApi.md#get_sfvb_secret_request) | **GET** /sfvb/secrets/{request_id} | Read one secret request |
|
|
102
102
|
| [**get_sfvb_secret_requests**](SfvbApi.md#get_sfvb_secret_requests) | **GET** /sfvb/secrets | List this sign-in's secret requests |
|
|
103
|
+
| [**get_sfvb_sequence**](SfvbApi.md#get_sfvb_sequence) | **GET** /sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid} | Get a campaign's or flow's steps as a tree |
|
|
103
104
|
| [**get_sfvb_server_log**](SfvbApi.md#get_sfvb_server_log) | **GET** /sfvb/storefronts/{storefront_oid}/logs/{log_id} | Get one storefront render log |
|
|
104
105
|
| [**get_sfvb_site_attributes**](SfvbApi.md#get_sfvb_site_attributes) | **GET** /sfvb/storefronts/{storefront_oid}/attributes | Read a storefront's site attributes |
|
|
105
106
|
| [**get_sfvb_test_orders**](SfvbApi.md#get_sfvb_test_orders) | **GET** /sfvb/storefronts/{storefront_oid}/test_orders | List recent test orders |
|
|
@@ -5415,6 +5416,61 @@ This endpoint does not need any parameter.
|
|
|
5415
5416
|
- **Accept**: application/json
|
|
5416
5417
|
|
|
5417
5418
|
|
|
5419
|
+
## get_sfvb_sequence
|
|
5420
|
+
|
|
5421
|
+
> <SfvbSequence> get_sfvb_sequence(storefront_oid, sequence_uuid, opts)
|
|
5422
|
+
|
|
5423
|
+
Get a campaign's or flow's steps as a tree
|
|
5424
|
+
|
|
5425
|
+
The communication sequence named by a campaign's or flow's communication_sequence_uuid, with its steps from the start in order. Only condition, split and InboxGeek steps branch, and each holds its two sides in branches. Each step has its type, the admin's label, its settings (a webhook's header and parameter values masked), its audience filter, and the emails, postcard, lists or items it names. waiting adds how many customers are waiting on each step now. Read only.
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
### Examples
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
(No example for this operation).
|
|
5432
|
+
|
|
5433
|
+
|
|
5434
|
+
#### Using the get_sfvb_sequence_with_http_info variant
|
|
5435
|
+
|
|
5436
|
+
This returns an Array which contains the response data, status code and headers.
|
|
5437
|
+
|
|
5438
|
+
> <Array(<SfvbSequence>, Integer, Hash)> get_sfvb_sequence_with_http_info(storefront_oid, sequence_uuid, opts)
|
|
5439
|
+
|
|
5440
|
+
```ruby
|
|
5441
|
+
begin
|
|
5442
|
+
# Get a campaign's or flow's steps as a tree
|
|
5443
|
+
data, status_code, headers = api_instance.get_sfvb_sequence_with_http_info(storefront_oid, sequence_uuid, opts)
|
|
5444
|
+
p status_code # => 2xx
|
|
5445
|
+
p headers # => { ... }
|
|
5446
|
+
p data # => <SfvbSequence>
|
|
5447
|
+
rescue UltracartClient::ApiError => e
|
|
5448
|
+
puts "Error when calling SfvbApi->get_sfvb_sequence_with_http_info: #{e}"
|
|
5449
|
+
end
|
|
5450
|
+
```
|
|
5451
|
+
|
|
5452
|
+
### Parameters
|
|
5453
|
+
|
|
5454
|
+
| Name | Type | Description | Notes |
|
|
5455
|
+
| ---- | ---- | ----------- | ----- |
|
|
5456
|
+
| **storefront_oid** | **Integer** | | |
|
|
5457
|
+
| **sequence_uuid** | **String** | | |
|
|
5458
|
+
| **waiting** | **Boolean** | Include how many customers are waiting on each step | [optional] |
|
|
5459
|
+
|
|
5460
|
+
### Return type
|
|
5461
|
+
|
|
5462
|
+
[**SfvbSequence**](SfvbSequence.md)
|
|
5463
|
+
|
|
5464
|
+
### Authorization
|
|
5465
|
+
|
|
5466
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
5467
|
+
|
|
5468
|
+
### HTTP request headers
|
|
5469
|
+
|
|
5470
|
+
- **Content-Type**: Not defined
|
|
5471
|
+
- **Accept**: application/json
|
|
5472
|
+
|
|
5473
|
+
|
|
5418
5474
|
## get_sfvb_server_log
|
|
5419
5475
|
|
|
5420
5476
|
> <SfvbServerLogDetail> get_sfvb_server_log(storefront_oid, log_id, opts)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# UltracartClient::SfvbSequence
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **communication_sequence_uuid** | **String** | The sequence uuid. | [optional] |
|
|
8
|
+
| **live** | **Boolean** | True when its emails and postcards reach customers now. | [optional] |
|
|
9
|
+
| **notes** | **Array<String>** | Anything the read could not do, such as waiting counts that were unavailable. | [optional] |
|
|
10
|
+
| **owner_name** | **String** | The campaign or flow name. | [optional] |
|
|
11
|
+
| **owner_status** | **String** | The campaign or flow status. | [optional] |
|
|
12
|
+
| **owner_type** | **String** | campaign or flow. | [optional] |
|
|
13
|
+
| **owner_uuid** | **String** | The campaign or flow uuid. | [optional] |
|
|
14
|
+
| **steps** | [**Array<SfvbSequenceStep>**](SfvbSequenceStep.md) | The steps from the start, in order. A branching step holds its sides in branches. | [optional] |
|
|
15
|
+
| **waiting_included** | **Boolean** | True when number_waiting was filled in. | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'ultracart_api'
|
|
21
|
+
|
|
22
|
+
instance = UltracartClient::SfvbSequence.new(
|
|
23
|
+
communication_sequence_uuid: null,
|
|
24
|
+
live: null,
|
|
25
|
+
notes: null,
|
|
26
|
+
owner_name: null,
|
|
27
|
+
owner_status: null,
|
|
28
|
+
owner_type: null,
|
|
29
|
+
owner_uuid: null,
|
|
30
|
+
steps: null,
|
|
31
|
+
waiting_included: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbSequenceBranch
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **label** | **String** | yes or no for a condition, left or right for a split or an InboxGeek step. | [optional] |
|
|
8
|
+
| **steps** | [**Array<SfvbSequenceStep>**](SfvbSequenceStep.md) | The steps on this side, in order. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbSequenceBranch.new(
|
|
16
|
+
label: null,
|
|
17
|
+
steps: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# UltracartClient::SfvbSequenceStep
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **branches** | [**Array<SfvbSequenceBranch>**](SfvbSequenceBranch.md) | Its two sides, for a condition, split or InboxGeek step. Absent for every other type. | [optional] |
|
|
8
|
+
| **config_error** | **Boolean** | True when the step's settings could not be read. | [optional] |
|
|
9
|
+
| **config_json** | **String** | The step's settings as the admin stores them. A webhook's header and parameter values are masked. | [optional] |
|
|
10
|
+
| **config_merchant_notes** | **String** | A note stored inside the step's settings, when there is one. | [optional] |
|
|
11
|
+
| **disabled** | **Boolean** | True when the step is switched off in its settings. | [optional] |
|
|
12
|
+
| **email_uuids** | **Array<String>** | The emails it sends. One for an email step, one per variant for an experiment. | [optional] |
|
|
13
|
+
| **filter_profile_equation_json** | **String** | The step's audience filter as stored, when it has one. | [optional] |
|
|
14
|
+
| **item_ids** | **Array<String>** | The items it names, for a cart or rate limiter step. | [optional] |
|
|
15
|
+
| **label** | **String** | The type as the admin names it, such as Time Delay. The type itself for one it doesn't know. | [optional] |
|
|
16
|
+
| **list_uuids** | **Array<String>** | The lists it subscribes or unsubscribes, for a list step. | [optional] |
|
|
17
|
+
| **merchant_notes** | **String** | The note stored on the step. | [optional] |
|
|
18
|
+
| **name** | **String** | The step's own display name from its settings, when it has one. | [optional] |
|
|
19
|
+
| **number_waiting** | **Integer** | How many customers are waiting on this step now. Only when waiting counts were asked for. | [optional] |
|
|
20
|
+
| **postcard_uuid** | **String** | The postcard it sends, for a postcard step. | [optional] |
|
|
21
|
+
| **step_uuid** | **String** | The step uuid. | [optional] |
|
|
22
|
+
| **type** | **String** | The step type, such as email, wait, condition or webhook. | [optional] |
|
|
23
|
+
| **unreachable** | **Boolean** | True for a step no branch leads to. Listed at the end so nothing is hidden. | [optional] |
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```ruby
|
|
28
|
+
require 'ultracart_api'
|
|
29
|
+
|
|
30
|
+
instance = UltracartClient::SfvbSequenceStep.new(
|
|
31
|
+
branches: null,
|
|
32
|
+
config_error: null,
|
|
33
|
+
config_json: null,
|
|
34
|
+
config_merchant_notes: null,
|
|
35
|
+
disabled: null,
|
|
36
|
+
email_uuids: null,
|
|
37
|
+
filter_profile_equation_json: null,
|
|
38
|
+
item_ids: null,
|
|
39
|
+
label: null,
|
|
40
|
+
list_uuids: null,
|
|
41
|
+
merchant_notes: null,
|
|
42
|
+
name: null,
|
|
43
|
+
number_waiting: null,
|
|
44
|
+
postcard_uuid: null,
|
|
45
|
+
step_uuid: null,
|
|
46
|
+
type: null,
|
|
47
|
+
unreachable: null
|
|
48
|
+
)
|
|
49
|
+
```
|
|
50
|
+
|
|
@@ -6886,6 +6886,79 @@ module UltracartClient
|
|
|
6886
6886
|
return data, status_code, headers
|
|
6887
6887
|
end
|
|
6888
6888
|
|
|
6889
|
+
# Get a campaign's or flow's steps as a tree
|
|
6890
|
+
# The communication sequence named by a campaign's or flow's communication_sequence_uuid, with its steps from the start in order. Only condition, split and InboxGeek steps branch, and each holds its two sides in branches. Each step has its type, the admin's label, its settings (a webhook's header and parameter values masked), its audience filter, and the emails, postcard, lists or items it names. waiting adds how many customers are waiting on each step now. Read only.
|
|
6891
|
+
# @param storefront_oid [Integer]
|
|
6892
|
+
# @param sequence_uuid [String]
|
|
6893
|
+
# @param [Hash] opts the optional parameters
|
|
6894
|
+
# @option opts [Boolean] :waiting Include how many customers are waiting on each step
|
|
6895
|
+
# @return [SfvbSequence]
|
|
6896
|
+
def get_sfvb_sequence(storefront_oid, sequence_uuid, opts = {})
|
|
6897
|
+
data, _status_code, _headers = get_sfvb_sequence_with_http_info(storefront_oid, sequence_uuid, opts)
|
|
6898
|
+
data
|
|
6899
|
+
end
|
|
6900
|
+
|
|
6901
|
+
# Get a campaign's or flow's steps as a tree
|
|
6902
|
+
# The communication sequence named by a campaign's or flow's communication_sequence_uuid, with its steps from the start in order. Only condition, split and InboxGeek steps branch, and each holds its two sides in branches. Each step has its type, the admin's label, its settings (a webhook's header and parameter values masked), its audience filter, and the emails, postcard, lists or items it names. waiting adds how many customers are waiting on each step now. Read only.
|
|
6903
|
+
# @param storefront_oid [Integer]
|
|
6904
|
+
# @param sequence_uuid [String]
|
|
6905
|
+
# @param [Hash] opts the optional parameters
|
|
6906
|
+
# @option opts [Boolean] :waiting Include how many customers are waiting on each step
|
|
6907
|
+
# @return [Array<(SfvbSequence, Integer, Hash)>] SfvbSequence data, response status code and response headers
|
|
6908
|
+
def get_sfvb_sequence_with_http_info(storefront_oid, sequence_uuid, opts = {})
|
|
6909
|
+
if @api_client.config.debugging
|
|
6910
|
+
@api_client.config.logger.debug 'Calling API: SfvbApi.get_sfvb_sequence ...'
|
|
6911
|
+
end
|
|
6912
|
+
# verify the required parameter 'storefront_oid' is set
|
|
6913
|
+
if @api_client.config.client_side_validation && storefront_oid.nil?
|
|
6914
|
+
fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling SfvbApi.get_sfvb_sequence"
|
|
6915
|
+
end
|
|
6916
|
+
# verify the required parameter 'sequence_uuid' is set
|
|
6917
|
+
if @api_client.config.client_side_validation && sequence_uuid.nil?
|
|
6918
|
+
fail ArgumentError, "Missing the required parameter 'sequence_uuid' when calling SfvbApi.get_sfvb_sequence"
|
|
6919
|
+
end
|
|
6920
|
+
# resource path
|
|
6921
|
+
local_var_path = '/sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid}'.sub('{' + 'storefront_oid' + '}', CGI.escape(storefront_oid.to_s)).sub('{' + 'sequence_uuid' + '}', CGI.escape(sequence_uuid.to_s))
|
|
6922
|
+
|
|
6923
|
+
# query parameters
|
|
6924
|
+
query_params = opts[:query_params] || {}
|
|
6925
|
+
query_params[:'waiting'] = opts[:'waiting'] if !opts[:'waiting'].nil?
|
|
6926
|
+
|
|
6927
|
+
# header parameters
|
|
6928
|
+
header_params = opts[:header_params] || {}
|
|
6929
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
6930
|
+
# HTTP header 'Accept' (if needed)
|
|
6931
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
6932
|
+
|
|
6933
|
+
# form parameters
|
|
6934
|
+
form_params = opts[:form_params] || {}
|
|
6935
|
+
|
|
6936
|
+
# http body (model)
|
|
6937
|
+
post_body = opts[:debug_body]
|
|
6938
|
+
|
|
6939
|
+
# return_type
|
|
6940
|
+
return_type = opts[:debug_return_type] || 'SfvbSequence'
|
|
6941
|
+
|
|
6942
|
+
# auth_names
|
|
6943
|
+
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
6944
|
+
|
|
6945
|
+
new_options = opts.merge(
|
|
6946
|
+
:operation => :"SfvbApi.get_sfvb_sequence",
|
|
6947
|
+
:header_params => header_params,
|
|
6948
|
+
:query_params => query_params,
|
|
6949
|
+
:form_params => form_params,
|
|
6950
|
+
:body => post_body,
|
|
6951
|
+
:auth_names => auth_names,
|
|
6952
|
+
:return_type => return_type
|
|
6953
|
+
)
|
|
6954
|
+
|
|
6955
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
6956
|
+
if @api_client.config.debugging
|
|
6957
|
+
@api_client.config.logger.debug "API called: SfvbApi#get_sfvb_sequence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6958
|
+
end
|
|
6959
|
+
return data, status_code, headers
|
|
6960
|
+
end
|
|
6961
|
+
|
|
6889
6962
|
# Get one storefront render log
|
|
6890
6963
|
# One render's server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
|
|
6891
6964
|
# @param storefront_oid [Integer]
|
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
|
45
45
|
|
|
46
46
|
attr_accessor :pbx_jwt
|
|
47
47
|
|
|
48
|
+
# Status the agent starts in when the CRM loads
|
|
49
|
+
attr_accessor :pbx_startup_activity
|
|
50
|
+
|
|
48
51
|
attr_accessor :pbx_supervisor
|
|
49
52
|
|
|
50
53
|
attr_accessor :pbx_user
|
|
@@ -64,6 +67,28 @@ module UltracartClient
|
|
|
64
67
|
|
|
65
68
|
attr_accessor :websocket_url
|
|
66
69
|
|
|
70
|
+
class EnumAttributeValidator
|
|
71
|
+
attr_reader :datatype
|
|
72
|
+
attr_reader :allowable_values
|
|
73
|
+
|
|
74
|
+
def initialize(datatype, allowable_values)
|
|
75
|
+
@allowable_values = allowable_values.map do |value|
|
|
76
|
+
case datatype.to_s
|
|
77
|
+
when /Integer/i
|
|
78
|
+
value.to_i
|
|
79
|
+
when /Float/i
|
|
80
|
+
value.to_f
|
|
81
|
+
else
|
|
82
|
+
value
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def valid?(value)
|
|
88
|
+
!value || allowable_values.include?(value)
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
67
92
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
68
93
|
def self.attribute_map
|
|
69
94
|
{
|
|
@@ -80,6 +105,7 @@ module UltracartClient
|
|
|
80
105
|
:'parent_merchant_id' => :'parent_merchant_id',
|
|
81
106
|
:'pbx_admin' => :'pbx_admin',
|
|
82
107
|
:'pbx_jwt' => :'pbx_jwt',
|
|
108
|
+
:'pbx_startup_activity' => :'pbx_startup_activity',
|
|
83
109
|
:'pbx_supervisor' => :'pbx_supervisor',
|
|
84
110
|
:'pbx_user' => :'pbx_user',
|
|
85
111
|
:'pbx_voice_identity' => :'pbx_voice_identity',
|
|
@@ -113,6 +139,7 @@ module UltracartClient
|
|
|
113
139
|
:'parent_merchant_id' => :'String',
|
|
114
140
|
:'pbx_admin' => :'Boolean',
|
|
115
141
|
:'pbx_jwt' => :'String',
|
|
142
|
+
:'pbx_startup_activity' => :'String',
|
|
116
143
|
:'pbx_supervisor' => :'Boolean',
|
|
117
144
|
:'pbx_user' => :'Boolean',
|
|
118
145
|
:'pbx_voice_identity' => :'String',
|
|
@@ -202,6 +229,10 @@ module UltracartClient
|
|
|
202
229
|
self.pbx_jwt = attributes[:'pbx_jwt']
|
|
203
230
|
end
|
|
204
231
|
|
|
232
|
+
if attributes.key?(:'pbx_startup_activity')
|
|
233
|
+
self.pbx_startup_activity = attributes[:'pbx_startup_activity']
|
|
234
|
+
end
|
|
235
|
+
|
|
205
236
|
if attributes.key?(:'pbx_supervisor')
|
|
206
237
|
self.pbx_supervisor = attributes[:'pbx_supervisor']
|
|
207
238
|
end
|
|
@@ -251,9 +282,21 @@ module UltracartClient
|
|
|
251
282
|
# Check to see if the all the properties in the model are valid
|
|
252
283
|
# @return true if the model is valid
|
|
253
284
|
def valid?
|
|
285
|
+
pbx_startup_activity_validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
286
|
+
return false unless pbx_startup_activity_validator.valid?(@pbx_startup_activity)
|
|
254
287
|
true
|
|
255
288
|
end
|
|
256
289
|
|
|
290
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
291
|
+
# @param [Object] pbx_startup_activity Object to be assigned
|
|
292
|
+
def pbx_startup_activity=(pbx_startup_activity)
|
|
293
|
+
validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
294
|
+
unless validator.valid?(pbx_startup_activity)
|
|
295
|
+
fail ArgumentError, "invalid value for \"pbx_startup_activity\", must be one of #{validator.allowable_values}."
|
|
296
|
+
end
|
|
297
|
+
@pbx_startup_activity = pbx_startup_activity
|
|
298
|
+
end
|
|
299
|
+
|
|
257
300
|
# Checks equality by comparing each attribute.
|
|
258
301
|
# @param [Object] Object to be compared
|
|
259
302
|
def ==(o)
|
|
@@ -272,6 +315,7 @@ module UltracartClient
|
|
|
272
315
|
parent_merchant_id == o.parent_merchant_id &&
|
|
273
316
|
pbx_admin == o.pbx_admin &&
|
|
274
317
|
pbx_jwt == o.pbx_jwt &&
|
|
318
|
+
pbx_startup_activity == o.pbx_startup_activity &&
|
|
275
319
|
pbx_supervisor == o.pbx_supervisor &&
|
|
276
320
|
pbx_user == o.pbx_user &&
|
|
277
321
|
pbx_voice_identity == o.pbx_voice_identity &&
|
|
@@ -292,7 +336,7 @@ module UltracartClient
|
|
|
292
336
|
# Calculates hash code according to all attributes.
|
|
293
337
|
# @return [Integer] Hash code
|
|
294
338
|
def hash
|
|
295
|
-
[chat_admin, chat_user, conversation_participant_arn, conversation_participant_name, customer_profile, default_phone_number, group_ids, jwt, merchant_id, merchants, parent_merchant_id, pbx_admin, pbx_jwt, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, pbx_worker_token_v2, twilio_accounts, user_id, websocket_url].hash
|
|
339
|
+
[chat_admin, chat_user, conversation_participant_arn, conversation_participant_name, customer_profile, default_phone_number, group_ids, jwt, merchant_id, merchants, parent_merchant_id, pbx_admin, pbx_jwt, pbx_startup_activity, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, pbx_worker_token_v2, twilio_accounts, user_id, websocket_url].hash
|
|
296
340
|
end
|
|
297
341
|
|
|
298
342
|
# Builds the object from hash
|
|
@@ -60,6 +60,9 @@ module UltracartClient
|
|
|
60
60
|
# Shared Conversation Pbx Voicemail Mailbox UUID
|
|
61
61
|
attr_accessor :shared_conversation_pbx_voicemail_mailbox_uuid
|
|
62
62
|
|
|
63
|
+
# Status the agent starts in when the CRM loads. Missing means available.
|
|
64
|
+
attr_accessor :startup_activity
|
|
65
|
+
|
|
63
66
|
# Twilio taskrouter worker Id
|
|
64
67
|
attr_accessor :twilio_taskrouter_worker_id
|
|
65
68
|
|
|
@@ -124,6 +127,7 @@ module UltracartClient
|
|
|
124
127
|
:'preferred_hardware_phone_uuid' => :'preferred_hardware_phone_uuid',
|
|
125
128
|
:'record_outgoing_automatically' => :'record_outgoing_automatically',
|
|
126
129
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'shared_conversation_pbx_voicemail_mailbox_uuid',
|
|
130
|
+
:'startup_activity' => :'startup_activity',
|
|
127
131
|
:'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
|
|
128
132
|
:'unavailable_play_audio_uuid' => :'unavailable_play_audio_uuid',
|
|
129
133
|
:'unavailable_say' => :'unavailable_say',
|
|
@@ -158,6 +162,7 @@ module UltracartClient
|
|
|
158
162
|
:'preferred_hardware_phone_uuid' => :'String',
|
|
159
163
|
:'record_outgoing_automatically' => :'Boolean',
|
|
160
164
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
165
|
+
:'startup_activity' => :'String',
|
|
161
166
|
:'twilio_taskrouter_worker_id' => :'String',
|
|
162
167
|
:'unavailable_play_audio_uuid' => :'String',
|
|
163
168
|
:'unavailable_say' => :'String',
|
|
@@ -252,6 +257,10 @@ module UltracartClient
|
|
|
252
257
|
self.shared_conversation_pbx_voicemail_mailbox_uuid = attributes[:'shared_conversation_pbx_voicemail_mailbox_uuid']
|
|
253
258
|
end
|
|
254
259
|
|
|
260
|
+
if attributes.key?(:'startup_activity')
|
|
261
|
+
self.startup_activity = attributes[:'startup_activity']
|
|
262
|
+
end
|
|
263
|
+
|
|
255
264
|
if attributes.key?(:'twilio_taskrouter_worker_id')
|
|
256
265
|
self.twilio_taskrouter_worker_id = attributes[:'twilio_taskrouter_worker_id']
|
|
257
266
|
end
|
|
@@ -333,6 +342,8 @@ module UltracartClient
|
|
|
333
342
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
334
343
|
return false if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
335
344
|
return false if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
345
|
+
startup_activity_validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
346
|
+
return false unless startup_activity_validator.valid?(@startup_activity)
|
|
336
347
|
return false if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
|
|
337
348
|
return false if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
|
|
338
349
|
unavailable_say_voice_validator = EnumAttributeValidator.new('String', ["man", "woman"])
|
|
@@ -392,6 +403,16 @@ module UltracartClient
|
|
|
392
403
|
@shared_conversation_pbx_voicemail_mailbox_uuid = shared_conversation_pbx_voicemail_mailbox_uuid
|
|
393
404
|
end
|
|
394
405
|
|
|
406
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
407
|
+
# @param [Object] startup_activity Object to be assigned
|
|
408
|
+
def startup_activity=(startup_activity)
|
|
409
|
+
validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
410
|
+
unless validator.valid?(startup_activity)
|
|
411
|
+
fail ArgumentError, "invalid value for \"startup_activity\", must be one of #{validator.allowable_values}."
|
|
412
|
+
end
|
|
413
|
+
@startup_activity = startup_activity
|
|
414
|
+
end
|
|
415
|
+
|
|
395
416
|
# Custom attribute writer method with validation
|
|
396
417
|
# @param [Object] twilio_taskrouter_worker_id Value to be assigned
|
|
397
418
|
def twilio_taskrouter_worker_id=(twilio_taskrouter_worker_id)
|
|
@@ -452,6 +473,7 @@ module UltracartClient
|
|
|
452
473
|
preferred_hardware_phone_uuid == o.preferred_hardware_phone_uuid &&
|
|
453
474
|
record_outgoing_automatically == o.record_outgoing_automatically &&
|
|
454
475
|
shared_conversation_pbx_voicemail_mailbox_uuid == o.shared_conversation_pbx_voicemail_mailbox_uuid &&
|
|
476
|
+
startup_activity == o.startup_activity &&
|
|
455
477
|
twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
|
|
456
478
|
unavailable_play_audio_uuid == o.unavailable_play_audio_uuid &&
|
|
457
479
|
unavailable_say == o.unavailable_say &&
|
|
@@ -471,7 +493,7 @@ module UltracartClient
|
|
|
471
493
|
# Calculates hash code according to all attributes.
|
|
472
494
|
# @return [Integer] Hash code
|
|
473
495
|
def hash
|
|
474
|
-
[ai, call_routing_preference, cellphone, conversation_pbx_agent_uuid, cos_uuid, default_phone_number_uuid, extension, full_name, hardware_phone_uuids, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, preferred_hardware_phone_uuid, record_outgoing_automatically, shared_conversation_pbx_voicemail_mailbox_uuid, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail, zoho_desk_outbound_department_id, zoho_desk_outbound_ticket_enabled].hash
|
|
496
|
+
[ai, call_routing_preference, cellphone, conversation_pbx_agent_uuid, cos_uuid, default_phone_number_uuid, extension, full_name, hardware_phone_uuids, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, preferred_hardware_phone_uuid, record_outgoing_automatically, shared_conversation_pbx_voicemail_mailbox_uuid, startup_activity, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail, zoho_desk_outbound_department_id, zoho_desk_outbound_ticket_enabled].hash
|
|
475
497
|
end
|
|
476
498
|
|
|
477
499
|
# Builds the object from hash
|