ultracart_api 4.1.231 → 4.1.232
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 +45 -2
- data/docs/ItemContentMultimedia.md +2 -0
- data/docs/SfvbApi.md +763 -39
- data/docs/SfvbApprovalCreateRequest.md +6 -0
- data/docs/SfvbCommsBranchStat.md +20 -0
- data/docs/SfvbCommsChange.md +22 -0
- data/docs/SfvbCommsClick.md +20 -0
- data/docs/SfvbCommsClicksResponse.md +26 -0
- data/docs/SfvbCommsDailyStat.md +30 -0
- data/docs/SfvbCommsDashboardResponse.md +24 -0
- data/docs/SfvbCommsDashboardRow.md +28 -0
- data/docs/SfvbCommsPlan.md +66 -0
- data/docs/SfvbCommsPlanResponse.md +20 -0
- data/docs/SfvbCommsProvider.md +28 -0
- data/docs/SfvbCommsProviderImportRequest.md +22 -0
- data/docs/SfvbCommsProviderImportResponse.md +26 -0
- data/docs/SfvbCommsProviderList.md +20 -0
- data/docs/SfvbCommsProvidersResponse.md +22 -0
- data/docs/SfvbCommsSender.md +24 -0
- data/docs/SfvbCommsSenderUpdate.md +22 -0
- data/docs/SfvbCommsSequenceStatsResponse.md +26 -0
- data/docs/SfvbCommsSettings.md +34 -0
- data/docs/SfvbCommsSettingsResponse.md +24 -0
- data/docs/SfvbCommsSettingsUpdateRequest.md +26 -0
- data/docs/SfvbCommsStat.md +54 -0
- data/docs/SfvbCommsStepStat.md +34 -0
- data/docs/SfvbCommsTemplate.md +30 -0
- data/docs/SfvbCommsTemplateResponse.md +24 -0
- data/docs/SfvbCommsTemplatesResponse.md +20 -0
- data/docs/SfvbCommsTestEmailRequest.md +24 -0
- data/docs/SfvbCommsTestPostcardRequest.md +36 -0
- data/docs/SfvbCommsTestSendResponse.md +32 -0
- data/docs/SfvbCommsTestSmsRequest.md +18 -0
- data/lib/ultracart_api/api/sfvb_api.rb +982 -10
- data/lib/ultracart_api/models/item_content_multimedia.rb +11 -1
- data/lib/ultracart_api/models/sfvb_approval_create_request.rb +30 -3
- data/lib/ultracart_api/models/sfvb_comms_branch_stat.rb +229 -0
- data/lib/ultracart_api/models/sfvb_comms_change.rb +240 -0
- data/lib/ultracart_api/models/sfvb_comms_click.rb +230 -0
- data/lib/ultracart_api/models/sfvb_comms_clicks_response.rb +264 -0
- data/lib/ultracart_api/models/sfvb_comms_daily_stat.rb +280 -0
- data/lib/ultracart_api/models/sfvb_comms_dashboard_response.rb +256 -0
- data/lib/ultracart_api/models/sfvb_comms_dashboard_row.rb +269 -0
- data/lib/ultracart_api/models/sfvb_comms_plan.rb +460 -0
- data/lib/ultracart_api/models/sfvb_comms_plan_response.rb +231 -0
- data/lib/ultracart_api/models/sfvb_comms_provider.rb +272 -0
- data/lib/ultracart_api/models/sfvb_comms_provider_import_request.rb +242 -0
- data/lib/ultracart_api/models/sfvb_comms_provider_import_response.rb +264 -0
- data/lib/ultracart_api/models/sfvb_comms_provider_list.rb +230 -0
- data/lib/ultracart_api/models/sfvb_comms_providers_response.rb +244 -0
- data/lib/ultracart_api/models/sfvb_comms_sender.rb +250 -0
- data/lib/ultracart_api/models/sfvb_comms_sender_update.rb +240 -0
- data/lib/ultracart_api/models/sfvb_comms_sequence_stats_response.rb +263 -0
- data/lib/ultracart_api/models/sfvb_comms_settings.rb +297 -0
- data/lib/ultracart_api/models/sfvb_comms_settings_response.rb +253 -0
- data/lib/ultracart_api/models/sfvb_comms_settings_update_request.rb +257 -0
- data/lib/ultracart_api/models/sfvb_comms_stat.rb +402 -0
- data/lib/ultracart_api/models/sfvb_comms_step_stat.rb +301 -0
- data/lib/ultracart_api/models/sfvb_comms_template.rb +280 -0
- data/lib/ultracart_api/models/sfvb_comms_template_response.rb +251 -0
- data/lib/ultracart_api/models/sfvb_comms_templates_response.rb +234 -0
- data/lib/ultracart_api/models/sfvb_comms_test_email_request.rb +252 -0
- data/lib/ultracart_api/models/sfvb_comms_test_postcard_request.rb +312 -0
- data/lib/ultracart_api/models/sfvb_comms_test_send_response.rb +292 -0
- data/lib/ultracart_api/models/sfvb_comms_test_sms_request.rb +220 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +29 -0
- metadata +59 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTemplate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **description** | **String** | The description. | [optional] |
|
|
8
|
+
| **email_template_oid** | **Integer** | The saved template's id, for a storefront or system template. | [optional] |
|
|
9
|
+
| **name** | **String** | The name. | [optional] |
|
|
10
|
+
| **path** | **String** | The theme file, for a base template. | [optional] |
|
|
11
|
+
| **sort_order** | **Integer** | The admin's order. | [optional] |
|
|
12
|
+
| **source** | **String** | storefront (saved on this storefront), system (UltraCart's), or base (a theme file an email renders inside). | [optional] |
|
|
13
|
+
| **trigger_type** | **String** | The flow trigger the template is meant for, or none. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ultracart_api'
|
|
19
|
+
|
|
20
|
+
instance = UltracartClient::SfvbCommsTemplate.new(
|
|
21
|
+
description: null,
|
|
22
|
+
email_template_oid: null,
|
|
23
|
+
name: null,
|
|
24
|
+
path: null,
|
|
25
|
+
sort_order: null,
|
|
26
|
+
source: null,
|
|
27
|
+
trigger_type: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTemplateResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **container_cjson** | **String** | The template's body, as CJSON. | [optional] |
|
|
8
|
+
| **email_template_vm_path** | **String** | The Velocity template it renders inside. Its content isn't shown here. | [optional] |
|
|
9
|
+
| **notes** | **Array<String>** | What isn't shown. | [optional] |
|
|
10
|
+
| **template** | [**SfvbCommsTemplate**](SfvbCommsTemplate.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbCommsTemplateResponse.new(
|
|
18
|
+
container_cjson: null,
|
|
19
|
+
email_template_vm_path: null,
|
|
20
|
+
notes: null,
|
|
21
|
+
template: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTemplatesResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **notes** | **Array<String>** | What each source is. | [optional] |
|
|
8
|
+
| **templates** | [**Array<SfvbCommsTemplate>**](SfvbCommsTemplate.md) | Saved templates first (system, then this storefront's), then base templates. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ultracart_api'
|
|
14
|
+
|
|
15
|
+
instance = UltracartClient::SfvbCommsTemplatesResponse.new(
|
|
16
|
+
notes: null,
|
|
17
|
+
templates: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTestEmailRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **cart_item_ids** | **Array<String>** | Items for a cart flow's email. The cart is built for the test. | [optional] |
|
|
8
|
+
| **email_uuid** | **String** | The email, which this step sends. For an experiment step, one variant's email. | [optional] |
|
|
9
|
+
| **order_id** | **String** | A test order to render an order flow's email with. A real customer's order is refused. | [optional] |
|
|
10
|
+
| **to_email** | **String** | The recipient, which must be the email address of a user on this account. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbCommsTestEmailRequest.new(
|
|
18
|
+
cart_item_ids: null,
|
|
19
|
+
email_uuid: null,
|
|
20
|
+
order_id: null,
|
|
21
|
+
to_email: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTestPostcardRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **address1** | **String** | The street address. | [optional] |
|
|
8
|
+
| **address2** | **String** | The second address line. | [optional] |
|
|
9
|
+
| **cart_item_ids** | **Array<String>** | Items for a cart flow's card. | [optional] |
|
|
10
|
+
| **city** | **String** | The city. | [optional] |
|
|
11
|
+
| **dry_run** | **Boolean** | Check everything, including that postcards are turned on, and show the cost, without mailing or using an approval. | [optional] |
|
|
12
|
+
| **mail_card** | **Boolean** | Must be true. Without it nothing is mailed; use the postcard proof to see the card. | [optional] |
|
|
13
|
+
| **name** | **String** | The recipient's name. | [optional] |
|
|
14
|
+
| **order_id** | **String** | A test order to render an order flow's card with. A real customer's order is refused. | [optional] |
|
|
15
|
+
| **postal_code** | **String** | The postal code. | [optional] |
|
|
16
|
+
| **state** | **String** | The state. | [optional] |
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'ultracart_api'
|
|
22
|
+
|
|
23
|
+
instance = UltracartClient::SfvbCommsTestPostcardRequest.new(
|
|
24
|
+
address1: null,
|
|
25
|
+
address2: null,
|
|
26
|
+
cart_item_ids: null,
|
|
27
|
+
city: null,
|
|
28
|
+
dry_run: null,
|
|
29
|
+
mail_card: null,
|
|
30
|
+
name: null,
|
|
31
|
+
order_id: null,
|
|
32
|
+
postal_code: null,
|
|
33
|
+
state: null
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTestSendResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **body** | **String** | For an SMS, the message as sent. | [optional] |
|
|
8
|
+
| **channel** | **String** | email, sms or postcard. | [optional] |
|
|
9
|
+
| **cost** | **Float** | For a postcard, what this card costs the account. | [optional] |
|
|
10
|
+
| **dry_run** | **Boolean** | True when nothing was sent. | [optional] |
|
|
11
|
+
| **notes** | **Array<String>** | What else happened, such as records created by the test. | [optional] |
|
|
12
|
+
| **recipient** | **String** | Who it went to, as a user on this account (their login), or the postcard's city and state. | [optional] |
|
|
13
|
+
| **sent** | **Boolean** | True when it was sent or mailed. False on a dry run or when it was skipped. | [optional] |
|
|
14
|
+
| **skipped_reason** | **String** | Why it wasn't sent or mailed, when it wasn't. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbCommsTestSendResponse.new(
|
|
22
|
+
body: null,
|
|
23
|
+
channel: null,
|
|
24
|
+
cost: null,
|
|
25
|
+
dry_run: null,
|
|
26
|
+
notes: null,
|
|
27
|
+
recipient: null,
|
|
28
|
+
sent: null,
|
|
29
|
+
skipped_reason: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsTestSmsRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **to_phone** | **String** | The recipient in E.164 form, such as +14045550100. It must be the cell phone of a user on this account. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbCommsTestSmsRequest.new(
|
|
15
|
+
to_phone: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|