ultracart_api 4.1.232 → 4.1.233
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 +29 -2
- data/docs/SfvbApi.md +799 -25
- data/docs/SfvbApprovalCreateRequest.md +2 -0
- data/docs/SfvbCampaign.md +4 -0
- data/docs/SfvbCampaignWriteRequest.md +2 -0
- data/docs/SfvbCommsLookupOwner.md +26 -0
- data/docs/SfvbCommsLookupResponse.md +34 -0
- data/docs/SfvbCommsRulerValidateRequest.md +18 -0
- data/docs/SfvbCommsRulerValidateResponse.md +22 -0
- data/docs/SfvbCommsSequenceFolder.md +28 -0
- data/docs/SfvbCommsSequenceFolderResponse.md +22 -0
- data/docs/SfvbCommsSequenceFoldersResponse.md +18 -0
- data/docs/SfvbCommsStat.md +1 -1
- data/docs/SfvbCommsTemplateResponse.md +8 -2
- data/docs/SfvbCommsUnreferencedEmail.md +30 -0
- data/docs/SfvbCommsUnreferencedPostcard.md +24 -0
- data/docs/SfvbCommsUnreferencedResponse.md +32 -0
- data/docs/SfvbEmail.md +8 -0
- data/docs/SfvbFlow.md +4 -0
- data/docs/SfvbFlowBackfillRequest.md +24 -0
- data/docs/SfvbFlowBackfillResponse.md +38 -0
- data/docs/SfvbFlowWriteRequest.md +2 -0
- data/docs/SfvbStepCounts.md +1 -1
- data/lib/ultracart_api/api/sfvb_api.rb +1098 -62
- data/lib/ultracart_api/models/sfvb_approval_create_request.rb +12 -3
- data/lib/ultracart_api/models/sfvb_campaign.rb +21 -1
- data/lib/ultracart_api/models/sfvb_campaign_write_request.rb +11 -1
- data/lib/ultracart_api/models/sfvb_comms_lookup_owner.rb +260 -0
- data/lib/ultracart_api/models/sfvb_comms_lookup_response.rb +301 -0
- data/lib/ultracart_api/models/sfvb_comms_ruler_validate_request.rb +220 -0
- data/lib/ultracart_api/models/sfvb_comms_ruler_validate_response.rb +242 -0
- data/lib/ultracart_api/models/sfvb_comms_sequence_folder.rb +270 -0
- data/lib/ultracart_api/models/sfvb_comms_sequence_folder_response.rb +243 -0
- data/lib/ultracart_api/models/sfvb_comms_sequence_folders_response.rb +222 -0
- data/lib/ultracart_api/models/sfvb_comms_stat.rb +1 -1
- data/lib/ultracart_api/models/sfvb_comms_template_response.rb +35 -5
- data/lib/ultracart_api/models/sfvb_comms_unreferenced_email.rb +280 -0
- data/lib/ultracart_api/models/sfvb_comms_unreferenced_postcard.rb +250 -0
- data/lib/ultracart_api/models/sfvb_comms_unreferenced_response.rb +296 -0
- data/lib/ultracart_api/models/sfvb_email.rb +41 -1
- data/lib/ultracart_api/models/sfvb_flow.rb +21 -1
- data/lib/ultracart_api/models/sfvb_flow_backfill_request.rb +250 -0
- data/lib/ultracart_api/models/sfvb_flow_backfill_response.rb +322 -0
- data/lib/ultracart_api/models/sfvb_flow_write_request.rb +11 -1
- data/lib/ultracart_api/models/sfvb_step_counts.rb +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +12 -0
- metadata +26 -2
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **comms_settings** | [**SfvbCommsSettingsUpdateRequest**](SfvbCommsSettingsUpdateRequest.md) | | [optional] |
|
|
11
11
|
| **content** | **String** | For a file.put_script write, the exact script to be written, at most 256 KB. For tracking_html.put, the exact HTML the write will send, at most 256 KB. UltraCart reviews it and keeps only its hash, so send the same bytes again on the write. Leave it out for a revert, which names params.version. | [optional] |
|
|
12
12
|
| **experiment_start** | [**SfvbExperimentStartRequest**](SfvbExperimentStartRequest.md) | | [optional] |
|
|
13
|
+
| **flow_backfill** | [**SfvbFlowBackfillRequest**](SfvbFlowBackfillRequest.md) | | [optional] |
|
|
13
14
|
| **item_attribute_rows** | [**Array<SfvbItemAttributeBatchRow>**](SfvbItemAttributeBatchRow.md) | For item.attribute_batch, exactly the rows the batch will send - the dry run's change rows, each with merchant_item_oid and current_sha256. UltraCart keeps only their hash. | [optional] |
|
|
14
15
|
| **item_pricing** | [**SfvbItemPricingRequest**](SfvbItemPricingRequest.md) | | [optional] |
|
|
15
16
|
| **params** | [**SfvbApprovalParams**](SfvbApprovalParams.md) | | [optional] |
|
|
@@ -34,6 +35,7 @@ instance = UltracartClient::SfvbApprovalCreateRequest.new(
|
|
|
34
35
|
comms_settings: null,
|
|
35
36
|
content: null,
|
|
36
37
|
experiment_start: null,
|
|
38
|
+
flow_backfill: null,
|
|
37
39
|
item_attribute_rows: null,
|
|
38
40
|
item_pricing: null,
|
|
39
41
|
params: null,
|
data/docs/SfvbCampaign.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
| **emails** | [**Array<SfvbCommsEmail>**](SfvbCommsEmail.md) | Its emails, in step order. | [optional] |
|
|
12
12
|
| **end_once_customer_purchases** | **Boolean** | True when a customer leaves the campaign once they buy from one of its emails. | [optional] |
|
|
13
13
|
| **end_once_customer_purchases_anywhere** | **Boolean** | True when a customer leaves the campaign once they buy from any source. | [optional] |
|
|
14
|
+
| **folder_name** | **String** | That folder's name. | [optional] |
|
|
15
|
+
| **folder_uuid** | **String** | The campaign folder it is filed in, or none. | [optional] |
|
|
14
16
|
| **hash_sha256** | **String** | Send this as If-Match when changing or archiving the campaign. | [optional] |
|
|
15
17
|
| **live** | **Boolean** | True when the emails and postcards reach customers now, so a change to one shows at once. False only in a status that sends nothing. | [optional] |
|
|
16
18
|
| **memberships** | [**Array<SfvbCampaignMembership>**](SfvbCampaignMembership.md) | The lists and segments it sends to or leaves out. | [optional] |
|
|
@@ -38,6 +40,8 @@ instance = UltracartClient::SfvbCampaign.new(
|
|
|
38
40
|
emails: null,
|
|
39
41
|
end_once_customer_purchases: null,
|
|
40
42
|
end_once_customer_purchases_anywhere: null,
|
|
43
|
+
folder_name: null,
|
|
44
|
+
folder_uuid: null,
|
|
41
45
|
hash_sha256: null,
|
|
42
46
|
live: null,
|
|
43
47
|
memberships: null,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **end_once_customer_purchases** | **Boolean** | True to end the campaign for a customer once they buy from one of its emails. | [optional] |
|
|
8
8
|
| **end_once_customer_purchases_anywhere** | **Boolean** | True to end the campaign for a customer once they buy from any source. | [optional] |
|
|
9
|
+
| **folder_uuid** | **String** | File it in this campaign folder. An empty value takes it out of its folder. | [optional] |
|
|
9
10
|
| **memberships** | [**Array<SfvbCampaignMembership>**](SfvbCampaignMembership.md) | The lists and segments it sends to or leaves out. Replaces the whole set. An empty array clears it. | [optional] |
|
|
10
11
|
| **name** | **String** | The campaign name, 1 to 250 characters. Required to create. | [optional] |
|
|
11
12
|
| **scheduled_dts** | **String** | When to send once started (ISO 8601). An empty string clears the schedule. | [optional] |
|
|
@@ -21,6 +22,7 @@ require 'ultracart_api'
|
|
|
21
22
|
instance = UltracartClient::SfvbCampaignWriteRequest.new(
|
|
22
23
|
end_once_customer_purchases: null,
|
|
23
24
|
end_once_customer_purchases_anywhere: null,
|
|
25
|
+
folder_uuid: null,
|
|
24
26
|
memberships: null,
|
|
25
27
|
name: null,
|
|
26
28
|
scheduled_dts: null,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsLookupOwner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **live** | **Boolean** | True when it is sending now, by the same rule the sequence read uses. | [optional] |
|
|
8
|
+
| **name** | **String** | Its name. | [optional] |
|
|
9
|
+
| **status** | **String** | Its status as stored. | [optional] |
|
|
10
|
+
| **type** | **String** | campaign or flow. | [optional] |
|
|
11
|
+
| **uuid** | **String** | The campaign or flow uuid. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ultracart_api'
|
|
17
|
+
|
|
18
|
+
instance = UltracartClient::SfvbCommsLookupOwner.new(
|
|
19
|
+
live: null,
|
|
20
|
+
name: null,
|
|
21
|
+
status: null,
|
|
22
|
+
type: null,
|
|
23
|
+
uuid: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsLookupResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **communication_sequence_uuid** | **String** | The sequence it belongs to, when there is one. | [optional] |
|
|
8
|
+
| **kind** | **String** | campaign, flow, sequence, step, email, postcard, list or segment. | [optional] |
|
|
9
|
+
| **name** | **String** | The campaign, flow, list or segment name, or the email subject. | [optional] |
|
|
10
|
+
| **_next** | **String** | The CLI command that reads it. | [optional] |
|
|
11
|
+
| **notes** | **Array<String>** | What the answer means, in sentences. | [optional] |
|
|
12
|
+
| **owner** | [**SfvbCommsLookupOwner**](SfvbCommsLookupOwner.md) | | [optional] |
|
|
13
|
+
| **step_uuid** | **String** | The step that sends it, for an email or postcard a step names, or the step itself. | [optional] |
|
|
14
|
+
| **storefront_oid** | **Integer** | The storefront it lives on, for the --storefront option. | [optional] |
|
|
15
|
+
| **uuid** | **String** | The uuid looked up. | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'ultracart_api'
|
|
21
|
+
|
|
22
|
+
instance = UltracartClient::SfvbCommsLookupResponse.new(
|
|
23
|
+
communication_sequence_uuid: null,
|
|
24
|
+
kind: null,
|
|
25
|
+
name: null,
|
|
26
|
+
_next: null,
|
|
27
|
+
notes: null,
|
|
28
|
+
owner: null,
|
|
29
|
+
step_uuid: null,
|
|
30
|
+
storefront_oid: null,
|
|
31
|
+
uuid: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsRulerValidateRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **ruler** | **String** | The Event Ruler pattern, as JSON text, the same text the rule's bigquery_ruler holds. At most 16384 characters. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbCommsRulerValidateRequest.new(
|
|
15
|
+
ruler: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsRulerValidateResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **error_message** | **String** | Why it doesn't compile. Only when valid is false. | [optional] |
|
|
8
|
+
| **notes** | **Array<String>** | How the pattern is used. | [optional] |
|
|
9
|
+
| **valid** | **Boolean** | True when the pattern compiles, so an Is in BigQuery segment rule will accept it. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbCommsRulerValidateResponse.new(
|
|
17
|
+
error_message: null,
|
|
18
|
+
notes: null,
|
|
19
|
+
valid: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsSequenceFolder
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **folder_uuid** | **String** | The folder. | [optional] |
|
|
8
|
+
| **hash_sha256** | **String** | Send it as If-Match to rename or delete the folder. | [optional] |
|
|
9
|
+
| **item_count** | **Integer** | How many campaigns or flows are filed in it, archived ones left out. | [optional] |
|
|
10
|
+
| **kind** | **String** | campaign or flow, what the folder files. | [optional] |
|
|
11
|
+
| **name** | **String** | Its name. | [optional] |
|
|
12
|
+
| **system_generated** | **Boolean** | True when the admin made it itself. It can't be renamed or deleted here. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ultracart_api'
|
|
18
|
+
|
|
19
|
+
instance = UltracartClient::SfvbCommsSequenceFolder.new(
|
|
20
|
+
folder_uuid: null,
|
|
21
|
+
hash_sha256: null,
|
|
22
|
+
item_count: null,
|
|
23
|
+
kind: null,
|
|
24
|
+
name: null,
|
|
25
|
+
system_generated: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsSequenceFolderResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **folder** | [**SfvbCommsSequenceFolder**](SfvbCommsSequenceFolder.md) | | [optional] |
|
|
8
|
+
| **items** | [**Array<SfvbCommsFolderItem>**](SfvbCommsFolderItem.md) | The campaigns or flows filed in it, or after a delete the ones moved to no folder. | [optional] |
|
|
9
|
+
| **notes** | **Array<String>** | What happened, in sentences. | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'ultracart_api'
|
|
15
|
+
|
|
16
|
+
instance = UltracartClient::SfvbCommsSequenceFolderResponse.new(
|
|
17
|
+
folder: null,
|
|
18
|
+
items: null,
|
|
19
|
+
notes: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsSequenceFoldersResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **folders** | [**Array<SfvbCommsSequenceFolder>**](SfvbCommsSequenceFolder.md) | The folders, by name. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'ultracart_api'
|
|
13
|
+
|
|
14
|
+
instance = UltracartClient::SfvbCommsSequenceFoldersResponse.new(
|
|
15
|
+
folders: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/SfvbCommsStat.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **bounced** | **Integer** | Permanent bounces. | [optional] |
|
|
8
|
-
| **channel** | **String** | email, sms, postcard, branch or sequence. | [optional] |
|
|
8
|
+
| **channel** | **String** | email, sms, postcard, branch or sequence, or step for a step type that records no counts of its own, with every count named in not_measured. | [optional] |
|
|
9
9
|
| **clicked** | **Integer** | Clicks (for a postcard, scans of its QR code). | [optional] |
|
|
10
10
|
| **conversions** | **Integer** | Conversions. | [optional] |
|
|
11
11
|
| **customers** | **Integer** | Customers who reached it (a branch side), or started (a whole sequence). | [optional] |
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **container_cjson** | **String** | The template's body, as CJSON. | [optional] |
|
|
8
|
-
| **email_template_vm_path** | **String** | The Velocity template it renders inside.
|
|
8
|
+
| **email_template_vm_path** | **String** | The Velocity template it renders inside, as stored. It is looked up in the storefront's active theme. | [optional] |
|
|
9
9
|
| **notes** | **Array<String>** | What isn't shown. | [optional] |
|
|
10
10
|
| **template** | [**SfvbCommsTemplate**](SfvbCommsTemplate.md) | | [optional] |
|
|
11
|
+
| **template_exists** | **Boolean** | True when the file at template_path exists. | [optional] |
|
|
12
|
+
| **template_note** | **String** | Why there is no template file, or null when there is one. | [optional] |
|
|
13
|
+
| **template_path** | **String** | The theme file that template is, as a render finds it. Read it with the files endpoints, whose read also reports valid and velocity_errors. Null when it couldn't be worked out, with template_note saying why. | [optional] |
|
|
11
14
|
|
|
12
15
|
## Example
|
|
13
16
|
|
|
@@ -18,7 +21,10 @@ instance = UltracartClient::SfvbCommsTemplateResponse.new(
|
|
|
18
21
|
container_cjson: null,
|
|
19
22
|
email_template_vm_path: null,
|
|
20
23
|
notes: null,
|
|
21
|
-
template: null
|
|
24
|
+
template: null,
|
|
25
|
+
template_exists: null,
|
|
26
|
+
template_note: null,
|
|
27
|
+
template_path: null
|
|
22
28
|
)
|
|
23
29
|
```
|
|
24
30
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsUnreferencedEmail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **container_last_modified_dts** | **String** | When its body last changed. | [optional] |
|
|
8
|
+
| **email_uuid** | **String** | The email. | [optional] |
|
|
9
|
+
| **pending_review** | **Boolean** | True while a review is pending. | [optional] |
|
|
10
|
+
| **rejected** | **Boolean** | True when its last review was rejected. | [optional] |
|
|
11
|
+
| **requires_review** | **Boolean** | True when it needs a review before it can send. | [optional] |
|
|
12
|
+
| **subject** | **String** | Its subject. | [optional] |
|
|
13
|
+
| **version** | **Integer** | Its stored version. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'ultracart_api'
|
|
19
|
+
|
|
20
|
+
instance = UltracartClient::SfvbCommsUnreferencedEmail.new(
|
|
21
|
+
container_last_modified_dts: null,
|
|
22
|
+
email_uuid: null,
|
|
23
|
+
pending_review: null,
|
|
24
|
+
rejected: null,
|
|
25
|
+
requires_review: null,
|
|
26
|
+
subject: null,
|
|
27
|
+
version: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsUnreferencedPostcard
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **back_container_uuid** | **String** | Its back container. | [optional] |
|
|
8
|
+
| **container_last_modified_dts** | **String** | When a side last changed. | [optional] |
|
|
9
|
+
| **front_container_uuid** | **String** | Its front container. | [optional] |
|
|
10
|
+
| **postcard_uuid** | **String** | The postcard. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbCommsUnreferencedPostcard.new(
|
|
18
|
+
back_container_uuid: null,
|
|
19
|
+
container_last_modified_dts: null,
|
|
20
|
+
front_container_uuid: null,
|
|
21
|
+
postcard_uuid: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# UltracartClient::SfvbCommsUnreferencedResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **email_count** | **Integer** | How many emails no step names. | [optional] |
|
|
8
|
+
| **emails** | [**Array<SfvbCommsUnreferencedEmail>**](SfvbCommsUnreferencedEmail.md) | Emails no step names, most recently changed first. | [optional] |
|
|
9
|
+
| **emails_checked** | **Integer** | How many emails the storefront has. | [optional] |
|
|
10
|
+
| **notes** | **Array<String>** | What the report means, in sentences. | [optional] |
|
|
11
|
+
| **postcard_count** | **Integer** | How many postcards no step names. | [optional] |
|
|
12
|
+
| **postcards** | [**Array<SfvbCommsUnreferencedPostcard>**](SfvbCommsUnreferencedPostcard.md) | Postcards no step names, most recently changed first. | [optional] |
|
|
13
|
+
| **postcards_checked** | **Integer** | How many postcards the storefront has. | [optional] |
|
|
14
|
+
| **sequences_checked** | **Integer** | How many sequences were read for the steps that name them. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'ultracart_api'
|
|
20
|
+
|
|
21
|
+
instance = UltracartClient::SfvbCommsUnreferencedResponse.new(
|
|
22
|
+
email_count: null,
|
|
23
|
+
emails: null,
|
|
24
|
+
emails_checked: null,
|
|
25
|
+
notes: null,
|
|
26
|
+
postcard_count: null,
|
|
27
|
+
postcards: null,
|
|
28
|
+
postcards_checked: null,
|
|
29
|
+
sequences_checked: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/SfvbEmail.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **container_last_modified_dts** | **String** | When the email container was last changed (ISO 8601, UTC). | [optional] |
|
|
8
|
+
| **email_template_vm_path** | **String** | The Velocity template the email body renders inside, as stored, such as templates/template_email.vm. It is looked up in the storefront's active theme. | [optional] |
|
|
8
9
|
| **email_uuid** | **String** | The email uuid. The same uuid the email container (owner type email) and the email render take. | [optional] |
|
|
9
10
|
| **hash_sha256** | **String** | Hash of the subject and preview text. Send it as If-Match when updating. A change to the email body does not change it. | [optional] |
|
|
10
11
|
| **live** | **Boolean** | True when the email is in a flow or campaign that is sending, so a change reaches customers and needs sfvb_publish. An email in neither is reported live. | [optional] |
|
|
@@ -15,6 +16,9 @@
|
|
|
15
16
|
| **requires_review** | **Boolean** | True when a change to this email must be reviewed before it sends. | [optional] |
|
|
16
17
|
| **subject** | **String** | The subject line. Merge tokens such as firstName are filled in at send. | [optional] |
|
|
17
18
|
| **suspended_for_spam** | **Boolean** | True when UltraCart suspended the email for spam. Edits are refused until the merchant resolves it with UltraCart support. | [optional] |
|
|
19
|
+
| **template_exists** | **Boolean** | True when the file at template_path exists. False means the email can't render. | [optional] |
|
|
20
|
+
| **template_note** | **String** | Why there is no template file, or null when there is one. | [optional] |
|
|
21
|
+
| **template_path** | **String** | The theme file that template is, as the render finds it. Read it with the files endpoints, whose read also reports valid and velocity_errors. Null when it couldn't be worked out, with template_note saying why. | [optional] |
|
|
18
22
|
| **transactional** | **Boolean** | True for a transactional email, which skips the marketing footer rules. | [optional] |
|
|
19
23
|
| **version** | **Integer** | The email version. Every save adds one. | [optional] |
|
|
20
24
|
|
|
@@ -25,6 +29,7 @@ require 'ultracart_api'
|
|
|
25
29
|
|
|
26
30
|
instance = UltracartClient::SfvbEmail.new(
|
|
27
31
|
container_last_modified_dts: null,
|
|
32
|
+
email_template_vm_path: null,
|
|
28
33
|
email_uuid: null,
|
|
29
34
|
hash_sha256: null,
|
|
30
35
|
live: null,
|
|
@@ -35,6 +40,9 @@ instance = UltracartClient::SfvbEmail.new(
|
|
|
35
40
|
requires_review: null,
|
|
36
41
|
subject: null,
|
|
37
42
|
suspended_for_spam: null,
|
|
43
|
+
template_exists: null,
|
|
44
|
+
template_note: null,
|
|
45
|
+
template_path: null,
|
|
38
46
|
transactional: null,
|
|
39
47
|
version: null
|
|
40
48
|
)
|
data/docs/SfvbFlow.md
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
| **end_once_customer_purchases** | **Boolean** | True when a customer leaves the flow once they buy from one of its emails. | [optional] |
|
|
13
13
|
| **end_once_customer_purchases_anywhere** | **Boolean** | True when a customer leaves the flow once they buy from any source. | [optional] |
|
|
14
14
|
| **flow_uuid** | **String** | The flow uuid. | [optional] |
|
|
15
|
+
| **folder_name** | **String** | That folder's name. | [optional] |
|
|
16
|
+
| **folder_uuid** | **String** | The flow folder it is filed in, or none. | [optional] |
|
|
15
17
|
| **hash_sha256** | **String** | Send this as If-Match when changing, archiving or turning the flow on or off. | [optional] |
|
|
16
18
|
| **live** | **Boolean** | True when the emails and postcards reach customers now, so a change to one shows at once. False only in a status that sends nothing. | [optional] |
|
|
17
19
|
| **name** | **String** | The flow name. | [optional] |
|
|
@@ -43,6 +45,8 @@ instance = UltracartClient::SfvbFlow.new(
|
|
|
43
45
|
end_once_customer_purchases: null,
|
|
44
46
|
end_once_customer_purchases_anywhere: null,
|
|
45
47
|
flow_uuid: null,
|
|
48
|
+
folder_name: null,
|
|
49
|
+
folder_uuid: null,
|
|
46
50
|
hash_sha256: null,
|
|
47
51
|
live: null,
|
|
48
52
|
name: null,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UltracartClient::SfvbFlowBackfillRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dry_run** | **Boolean** | Count who would be enrolled and enroll nobody. | [optional] |
|
|
8
|
+
| **flow_uuid** | **String** | The flow. Used by a flow.backfill approval request. The backfill call takes it from the path. | [optional] |
|
|
9
|
+
| **order_days_old** | **Integer** | For an order trigger, how many days of orders to enroll, 1 to 90 (default 5). | [optional] |
|
|
10
|
+
| **relative_to_event** | **Boolean** | For an order trigger, shorten the flow's first wait by each order's age. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ultracart_api'
|
|
16
|
+
|
|
17
|
+
instance = UltracartClient::SfvbFlowBackfillRequest.new(
|
|
18
|
+
dry_run: null,
|
|
19
|
+
flow_uuid: null,
|
|
20
|
+
order_days_old: null,
|
|
21
|
+
relative_to_event: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# UltracartClient::SfvbFlowBackfillResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **capped** | **Boolean** | True when the plan's customer limit stopped the count. | [optional] |
|
|
8
|
+
| **customers** | **Integer** | How many different customers those are. | [optional] |
|
|
9
|
+
| **dry_run** | **Boolean** | True when nothing was enrolled. | [optional] |
|
|
10
|
+
| **enrollments** | **Integer** | How many enrollments the backfill makes (a purchased product trigger makes one per item). | [optional] |
|
|
11
|
+
| **flow_uuid** | **String** | The flow. | [optional] |
|
|
12
|
+
| **notes** | **Array<String>** | What happens next, in sentences. | [optional] |
|
|
13
|
+
| **order_days_old** | **Integer** | The days of orders, for an order trigger. | [optional] |
|
|
14
|
+
| **relative_to_event** | **Boolean** | Whether the first wait is shortened by each order's age. | [optional] |
|
|
15
|
+
| **segment_rebuild_required** | **Boolean** | True when the segment needs a rebuild, so the count is from its last one. | [optional] |
|
|
16
|
+
| **started** | **Boolean** | True when the backfill started in the background. The signed-in user is emailed when it ends. | [optional] |
|
|
17
|
+
| **trigger_type** | **String** | The flow's trigger. | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'ultracart_api'
|
|
23
|
+
|
|
24
|
+
instance = UltracartClient::SfvbFlowBackfillResponse.new(
|
|
25
|
+
capped: null,
|
|
26
|
+
customers: null,
|
|
27
|
+
dry_run: null,
|
|
28
|
+
enrollments: null,
|
|
29
|
+
flow_uuid: null,
|
|
30
|
+
notes: null,
|
|
31
|
+
order_days_old: null,
|
|
32
|
+
relative_to_event: null,
|
|
33
|
+
segment_rebuild_required: null,
|
|
34
|
+
started: null,
|
|
35
|
+
trigger_type: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **allow_multiple_concurrent_enrollments** | **Boolean** | True when a customer may be in this flow more than once at a time. | [optional] |
|
|
8
8
|
| **end_once_customer_purchases** | **Boolean** | True to end the flow for a customer once they buy from one of its emails. | [optional] |
|
|
9
9
|
| **end_once_customer_purchases_anywhere** | **Boolean** | True to end the flow for a customer once they buy from any source. | [optional] |
|
|
10
|
+
| **folder_uuid** | **String** | File it in this flow folder. An empty value takes it out of its folder. | [optional] |
|
|
10
11
|
| **name** | **String** | The flow name, 1 to 250 characters. Required to create. | [optional] |
|
|
11
12
|
| **reentry_delay_days** | **Integer** | Days before a customer may enter again, 1 to 1095. Only with after_days. | [optional] |
|
|
12
13
|
| **reentry_policy** | **String** | Whether a customer may enter again, anytime, after_days or never. | [optional] |
|
|
@@ -25,6 +26,7 @@ instance = UltracartClient::SfvbFlowWriteRequest.new(
|
|
|
25
26
|
allow_multiple_concurrent_enrollments: null,
|
|
26
27
|
end_once_customer_purchases: null,
|
|
27
28
|
end_once_customer_purchases_anywhere: null,
|
|
29
|
+
folder_uuid: null,
|
|
28
30
|
name: null,
|
|
29
31
|
reentry_delay_days: null,
|
|
30
32
|
reentry_policy: null,
|
data/docs/SfvbStepCounts.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **opened** | **Integer** | Emails opened. | [optional] |
|
|
11
11
|
| **sent** | **Integer** | Messages sent. | [optional] |
|
|
12
12
|
| **skipped** | **Integer** | Customers who reached the step and were not sent anything. The dispatch log says why. | [optional] |
|
|
13
|
-
| **source** | **String** | email (the step's email, all time), sequence (the begin step, customers who started the sequence, all time) or step (
|
|
13
|
+
| **source** | **String** | email (the step's email, all time), sequence (the begin step, customers who started the sequence, all time), resend (a Resend Email step, what it resent, the last 90 days), experiment (an experiment step, its variants together, the last 90 days), sms or postcard (the step's own sends, the last 90 days), step (the end step or a condition, split or InboxGeek step, the last 90 days) or not_recorded (a step type the send path keeps no counts for, such as a wait; no counts are given). | [optional] |
|
|
14
14
|
| **spam** | **Integer** | Spam complaints. | [optional] |
|
|
15
15
|
| **unsubscribed** | **Integer** | Unsubscribes from these messages. | [optional] |
|
|
16
16
|
|