ultracart_api 4.1.216 → 4.1.218

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: c9d982114341675667b756d95ce82f8b73da11be370ae3be33c299498d979890
4
- data.tar.gz: '018a0ed9d2b4b54698c322ffabf20ae0ba0eb71d5f00ca98e46cbf90d7b2a301'
3
+ metadata.gz: 225b3a66b4962c176ba067201c29121f79950832381cc717c214340000aafb3a
4
+ data.tar.gz: d43f8d8d977bd11ec459d11310ebfa2bdf9b87528be139eb01dc1bb2de82ab1b
5
5
  SHA512:
6
- metadata.gz: 5cbd5537546c75260f4c6717a22f811552d27b7e99ccc18d5d34a38f97140f23a3169dcf66d165fd1c22816d34cc0bc094102e0fd66a60c199d01f79e306f5bd
7
- data.tar.gz: f67506e1c0f8f1ac33c90e2e6d31d7abcc376f8d642814c6e51c7504bdd8b8ec48c97e0346e9ae6f3cc1f55fe7cb4e2468d34042a9c160b3704ce5587311d2f7
6
+ metadata.gz: 994f2227e6c61cc94015703d5403606720a5ca118b240f846267089ecdcb93a2b8bb4aad39585ec184c09611e2f9675414cc798b205bd5c800c9a4eda3c2c07a
7
+ data.tar.gz: ef3e3d00348397e4a86d1c29df56588681e4772346341d73e16d0e534de06edcc19c43aef6fa0fffbe0000fe1fef81888cb80ebcf499fc31fd89435ac797eefa
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.216
10
+ - Package version: 4.1.218
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.216'
19
+ gem 'ultracart_api', '4.1.218'
20
20
  ```
21
21
 
22
22
  install:
@@ -505,6 +505,7 @@ Class | Method | HTTP request | Description
505
505
  *UltracartClient::SfvbApi* | [**delete_sfvb_redirect**](docs/SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule
506
506
  *UltracartClient::SfvbApi* | [**delete_sfvb_redirects**](docs/SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call
507
507
  *UltracartClient::SfvbApi* | [**delete_sfvb_secret_request**](docs/SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request
508
+ *UltracartClient::SfvbApi* | [**delete_sfvb_sequence_step**](docs/SfvbApi.md#delete_sfvb_sequence_step) | **DELETE** /sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid}/steps/{step_uuid} | Remove one step
508
509
  *UltracartClient::SfvbApi* | [**detach_sfvb_blog_post_image**](docs/SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post
509
510
  *UltracartClient::SfvbApi* | [**disable_sfvb_i18n_language**](docs/SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language
510
511
  *UltracartClient::SfvbApi* | [**disable_sfvb_upsell_offer**](docs/SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer
@@ -528,6 +529,7 @@ Class | Method | HTTP request | Description
528
529
  *UltracartClient::SfvbApi* | [**get_sfvb_blog_post**](docs/SfvbApi.md#get_sfvb_blog_post) | **GET** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid} | Read a blog post
529
530
  *UltracartClient::SfvbApi* | [**get_sfvb_campaign**](docs/SfvbApi.md#get_sfvb_campaign) | **GET** /sfvb/storefronts/{storefront_oid}/campaigns/{campaign_uuid} | Get a campaign
530
531
  *UltracartClient::SfvbApi* | [**get_sfvb_cjson_used_elements**](docs/SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container
532
+ *UltracartClient::SfvbApi* | [**get_sfvb_comms_segment**](docs/SfvbApi.md#get_sfvb_comms_segment) | **GET** /sfvb/storefronts/{storefront_oid}/segments/{segment_uuid} | Read one segment, with its rule
531
533
  *UltracartClient::SfvbApi* | [**get_sfvb_comms_sending_domain**](docs/SfvbApi.md#get_sfvb_comms_sending_domain) | **GET** /sfvb/comms/sending_domains/{domain} | Read a sending domain
532
534
  *UltracartClient::SfvbApi* | [**get_sfvb_comms_sending_domains**](docs/SfvbApi.md#get_sfvb_comms_sending_domains) | **GET** /sfvb/comms/sending_domains | List the sending domains
533
535
  *UltracartClient::SfvbApi* | [**get_sfvb_comms_twilio_account**](docs/SfvbApi.md#get_sfvb_comms_twilio_account) | **GET** /sfvb/comms/twilio_account | Read the Twilio account
@@ -588,6 +590,7 @@ Class | Method | HTTP request | Description
588
590
  *UltracartClient::SfvbApi* | [**import_sfvb_redirects**](docs/SfvbApi.md#import_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/import | Apply a reviewed redirect import
589
591
  *UltracartClient::SfvbApi* | [**insert_sfvb_approval**](docs/SfvbApi.md#insert_sfvb_approval) | **POST** /sfvb/approvals | Request a human approval
590
592
  *UltracartClient::SfvbApi* | [**insert_sfvb_blog_post**](docs/SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post
593
+ *UltracartClient::SfvbApi* | [**insert_sfvb_comms_segment**](docs/SfvbApi.md#insert_sfvb_comms_segment) | **POST** /sfvb/storefronts/{storefront_oid}/segments | Create a segment
591
594
  *UltracartClient::SfvbApi* | [**insert_sfvb_comms_sending_domain**](docs/SfvbApi.md#insert_sfvb_comms_sending_domain) | **POST** /sfvb/comms/sending_domains | Add a sending domain
592
595
  *UltracartClient::SfvbApi* | [**insert_sfvb_comms_twilio_account**](docs/SfvbApi.md#insert_sfvb_comms_twilio_account) | **POST** /sfvb/comms/twilio_account | Connect the Twilio account
593
596
  *UltracartClient::SfvbApi* | [**insert_sfvb_page**](docs/SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page
@@ -667,6 +670,7 @@ Class | Method | HTTP request | Description
667
670
  *UltracartClient::SfvbApi* | [**unshare_sfvb_library_entry**](docs/SfvbApi.md#unshare_sfvb_library_entry) | **DELETE** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/shares/{merchant_id} | Stop sharing a library entry with an account
668
671
  *UltracartClient::SfvbApi* | [**update_sfvb_blog_post**](docs/SfvbApi.md#update_sfvb_blog_post) | **PUT** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid} | Change a blog post
669
672
  *UltracartClient::SfvbApi* | [**update_sfvb_campaign**](docs/SfvbApi.md#update_sfvb_campaign) | **PUT** /sfvb/storefronts/{storefront_oid}/campaigns/{campaign_uuid} | Change a campaign
673
+ *UltracartClient::SfvbApi* | [**update_sfvb_comms_segment**](docs/SfvbApi.md#update_sfvb_comms_segment) | **PUT** /sfvb/storefronts/{storefront_oid}/segments/{segment_uuid} | Change a segment's name, rule or folder
670
674
  *UltracartClient::SfvbApi* | [**update_sfvb_comms_sending_domain**](docs/SfvbApi.md#update_sfvb_comms_sending_domain) | **PUT** /sfvb/comms/sending_domains/{domain} | Update a sending domain
671
675
  *UltracartClient::SfvbApi* | [**update_sfvb_comms_twilio_account**](docs/SfvbApi.md#update_sfvb_comms_twilio_account) | **PUT** /sfvb/comms/twilio_account | Update the Twilio account
672
676
  *UltracartClient::SfvbApi* | [**update_sfvb_email**](docs/SfvbApi.md#update_sfvb_email) | **PUT** /sfvb/storefronts/{storefront_oid}/emails/{email_uuid} | Change a flow or campaign email's subject or preview text
@@ -1931,6 +1935,10 @@ Class | Method | HTTP request | Description
1931
1935
  - [UltracartClient::SfvbCommsListsResponse](docs/SfvbCommsListsResponse.md)
1932
1936
  - [UltracartClient::SfvbCommsPostcard](docs/SfvbCommsPostcard.md)
1933
1937
  - [UltracartClient::SfvbCommsSegment](docs/SfvbCommsSegment.md)
1938
+ - [UltracartClient::SfvbCommsSegmentDetail](docs/SfvbCommsSegmentDetail.md)
1939
+ - [UltracartClient::SfvbCommsSegmentResponse](docs/SfvbCommsSegmentResponse.md)
1940
+ - [UltracartClient::SfvbCommsSegmentUsedBy](docs/SfvbCommsSegmentUsedBy.md)
1941
+ - [UltracartClient::SfvbCommsSegmentWriteRequest](docs/SfvbCommsSegmentWriteRequest.md)
1934
1942
  - [UltracartClient::SfvbCommsSegmentsResponse](docs/SfvbCommsSegmentsResponse.md)
1935
1943
  - [UltracartClient::SfvbCommsSendingDomain](docs/SfvbCommsSendingDomain.md)
1936
1944
  - [UltracartClient::SfvbCommsSendingDomainsResponse](docs/SfvbCommsSendingDomainsResponse.md)
@@ -2115,6 +2123,7 @@ Class | Method | HTTP request | Description
2115
2123
  - [UltracartClient::SfvbSequenceStep](docs/SfvbSequenceStep.md)
2116
2124
  - [UltracartClient::SfvbSequenceStepCreateRequest](docs/SfvbSequenceStepCreateRequest.md)
2117
2125
  - [UltracartClient::SfvbSequenceStepCreateResponse](docs/SfvbSequenceStepCreateResponse.md)
2126
+ - [UltracartClient::SfvbSequenceStepDeleteResponse](docs/SfvbSequenceStepDeleteResponse.md)
2118
2127
  - [UltracartClient::SfvbSequenceStepUpdateRequest](docs/SfvbSequenceStepUpdateRequest.md)
2119
2128
  - [UltracartClient::SfvbSequenceStepUpdateResponse](docs/SfvbSequenceStepUpdateResponse.md)
2120
2129
  - [UltracartClient::SfvbServerLog](docs/SfvbServerLog.md)
@@ -2334,6 +2343,8 @@ Not every change is committed to every SDK.
2334
2343
 
2335
2344
  | Version | Date | Comments |
2336
2345
  | --: | :-: | --- |
2346
+ | 4.1.218 | 10/30/2026 | svfb internal testing |
2347
+ | 4.1.217 | 10/29/2026 | sfvb internal testing |
2337
2348
  | 4.1.216 | 10/29/2026 | sfvb internal testing |
2338
2349
  | 4.1.215 | 10/28/2026 | sfvb internal testing |
2339
2350
  | 4.1.214 | 10/28/2026 | sfvb internal testing |
data/docs/SfvbApi.md CHANGED
@@ -33,6 +33,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
33
33
  | [**delete_sfvb_redirect**](SfvbApi.md#delete_sfvb_redirect) | **DELETE** /sfvb/storefronts/{storefront_oid}/redirects/{redirect_id} | Delete a redirect rule |
34
34
  | [**delete_sfvb_redirects**](SfvbApi.md#delete_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/delete | Delete up to 5,000 redirect rules in one call |
35
35
  | [**delete_sfvb_secret_request**](SfvbApi.md#delete_sfvb_secret_request) | **DELETE** /sfvb/secrets/{request_id} | Cancel a pending secret request |
36
+ | [**delete_sfvb_sequence_step**](SfvbApi.md#delete_sfvb_sequence_step) | **DELETE** /sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid}/steps/{step_uuid} | Remove one step |
36
37
  | [**detach_sfvb_blog_post_image**](SfvbApi.md#detach_sfvb_blog_post_image) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid}/images/detach | Detach an image from a blog post |
37
38
  | [**disable_sfvb_i18n_language**](SfvbApi.md#disable_sfvb_i18n_language) | **POST** /sfvb/storefronts/{storefront_oid}/i18n/languages/{code}/disable | Disable a language |
38
39
  | [**disable_sfvb_upsell_offer**](SfvbApi.md#disable_sfvb_upsell_offer) | **POST** /sfvb/storefronts/{storefront_oid}/upsell_offers/{upsell_offer_oid}/disable | Disable an upsell offer |
@@ -56,6 +57,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
56
57
  | [**get_sfvb_blog_post**](SfvbApi.md#get_sfvb_blog_post) | **GET** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid} | Read a blog post |
57
58
  | [**get_sfvb_campaign**](SfvbApi.md#get_sfvb_campaign) | **GET** /sfvb/storefronts/{storefront_oid}/campaigns/{campaign_uuid} | Get a campaign |
58
59
  | [**get_sfvb_cjson_used_elements**](SfvbApi.md#get_sfvb_cjson_used_elements) | **POST** /sfvb/cjson/elements | Element types used by a container |
60
+ | [**get_sfvb_comms_segment**](SfvbApi.md#get_sfvb_comms_segment) | **GET** /sfvb/storefronts/{storefront_oid}/segments/{segment_uuid} | Read one segment, with its rule |
59
61
  | [**get_sfvb_comms_sending_domain**](SfvbApi.md#get_sfvb_comms_sending_domain) | **GET** /sfvb/comms/sending_domains/{domain} | Read a sending domain |
60
62
  | [**get_sfvb_comms_sending_domains**](SfvbApi.md#get_sfvb_comms_sending_domains) | **GET** /sfvb/comms/sending_domains | List the sending domains |
61
63
  | [**get_sfvb_comms_twilio_account**](SfvbApi.md#get_sfvb_comms_twilio_account) | **GET** /sfvb/comms/twilio_account | Read the Twilio account |
@@ -116,6 +118,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
116
118
  | [**import_sfvb_redirects**](SfvbApi.md#import_sfvb_redirects) | **POST** /sfvb/storefronts/{storefront_oid}/redirects/import | Apply a reviewed redirect import |
117
119
  | [**insert_sfvb_approval**](SfvbApi.md#insert_sfvb_approval) | **POST** /sfvb/approvals | Request a human approval |
118
120
  | [**insert_sfvb_blog_post**](SfvbApi.md#insert_sfvb_blog_post) | **POST** /sfvb/storefronts/{storefront_oid}/blog_posts | Create a blog post |
121
+ | [**insert_sfvb_comms_segment**](SfvbApi.md#insert_sfvb_comms_segment) | **POST** /sfvb/storefronts/{storefront_oid}/segments | Create a segment |
119
122
  | [**insert_sfvb_comms_sending_domain**](SfvbApi.md#insert_sfvb_comms_sending_domain) | **POST** /sfvb/comms/sending_domains | Add a sending domain |
120
123
  | [**insert_sfvb_comms_twilio_account**](SfvbApi.md#insert_sfvb_comms_twilio_account) | **POST** /sfvb/comms/twilio_account | Connect the Twilio account |
121
124
  | [**insert_sfvb_page**](SfvbApi.md#insert_sfvb_page) | **POST** /sfvb/storefronts/{storefront_oid}/pages | Create a page |
@@ -195,6 +198,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
195
198
  | [**unshare_sfvb_library_entry**](SfvbApi.md#unshare_sfvb_library_entry) | **DELETE** /sfvb/storefronts/{storefront_oid}/library/{library_oid}/shares/{merchant_id} | Stop sharing a library entry with an account |
196
199
  | [**update_sfvb_blog_post**](SfvbApi.md#update_sfvb_blog_post) | **PUT** /sfvb/storefronts/{storefront_oid}/blog_posts/{blog_post_oid} | Change a blog post |
197
200
  | [**update_sfvb_campaign**](SfvbApi.md#update_sfvb_campaign) | **PUT** /sfvb/storefronts/{storefront_oid}/campaigns/{campaign_uuid} | Change a campaign |
201
+ | [**update_sfvb_comms_segment**](SfvbApi.md#update_sfvb_comms_segment) | **PUT** /sfvb/storefronts/{storefront_oid}/segments/{segment_uuid} | Change a segment's name, rule or folder |
198
202
  | [**update_sfvb_comms_sending_domain**](SfvbApi.md#update_sfvb_comms_sending_domain) | **PUT** /sfvb/comms/sending_domains/{domain} | Update a sending domain |
199
203
  | [**update_sfvb_comms_twilio_account**](SfvbApi.md#update_sfvb_comms_twilio_account) | **PUT** /sfvb/comms/twilio_account | Update the Twilio account |
200
204
  | [**update_sfvb_email**](SfvbApi.md#update_sfvb_email) | **PUT** /sfvb/storefronts/{storefront_oid}/emails/{email_uuid} | Change a flow or campaign email's subject or preview text |
@@ -1793,6 +1797,63 @@ end
1793
1797
  - **Accept**: application/json
1794
1798
 
1795
1799
 
1800
+ ## delete_sfvb_sequence_step
1801
+
1802
+ > <SfvbSequenceStepDeleteResponse> delete_sfvb_sequence_step(storefront_oid, sequence_uuid, step_uuid, if_match, opts)
1803
+
1804
+ Remove one step
1805
+
1806
+ Removes the step from its list and links the step before it to the step after it, in one transaction. An email, experiment or postcard step's email or postcard is archived with it. Refused while any customer is waiting on the step, for the begin, end, continue and merge markers, for a condition, split or inboxgeek step with steps on a side, and for a step whose email a resend step re-sends. Send the step's hash_sha256 as If-Match. A sequence whose campaign or flow is live needs sfvb_publish and an approved sequence_step.delete approval (Approval-Id); a draft or inactive one needs neither. An email or postcard another step still uses is left as it is.
1807
+
1808
+
1809
+ ### Examples
1810
+
1811
+
1812
+ (No example for this operation).
1813
+
1814
+
1815
+ #### Using the delete_sfvb_sequence_step_with_http_info variant
1816
+
1817
+ This returns an Array which contains the response data, status code and headers.
1818
+
1819
+ > <Array(<SfvbSequenceStepDeleteResponse>, Integer, Hash)> delete_sfvb_sequence_step_with_http_info(storefront_oid, sequence_uuid, step_uuid, if_match, opts)
1820
+
1821
+ ```ruby
1822
+ begin
1823
+ # Remove one step
1824
+ data, status_code, headers = api_instance.delete_sfvb_sequence_step_with_http_info(storefront_oid, sequence_uuid, step_uuid, if_match, opts)
1825
+ p status_code # => 2xx
1826
+ p headers # => { ... }
1827
+ p data # => <SfvbSequenceStepDeleteResponse>
1828
+ rescue UltracartClient::ApiError => e
1829
+ puts "Error when calling SfvbApi->delete_sfvb_sequence_step_with_http_info: #{e}"
1830
+ end
1831
+ ```
1832
+
1833
+ ### Parameters
1834
+
1835
+ | Name | Type | Description | Notes |
1836
+ | ---- | ---- | ----------- | ----- |
1837
+ | **storefront_oid** | **Integer** | | |
1838
+ | **sequence_uuid** | **String** | | |
1839
+ | **step_uuid** | **String** | | |
1840
+ | **if_match** | **String** | The step&#39;s hash_sha256 from the last read. Required; 428 when absent, 412 when stale. | |
1841
+ | **approval_id** | **String** | When the sequence is live, the approval_id of an approved sequence_step.delete request for this step. See POST /sfvb/approvals. | [optional] |
1842
+
1843
+ ### Return type
1844
+
1845
+ [**SfvbSequenceStepDeleteResponse**](SfvbSequenceStepDeleteResponse.md)
1846
+
1847
+ ### Authorization
1848
+
1849
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1850
+
1851
+ ### HTTP request headers
1852
+
1853
+ - **Content-Type**: Not defined
1854
+ - **Accept**: application/json
1855
+
1856
+
1796
1857
  ## detach_sfvb_blog_post_image
1797
1858
 
1798
1859
  > <SfvbBlogPostDetail> detach_sfvb_blog_post_image(storefront_oid, blog_post_oid, blog_post_image_request)
@@ -3039,6 +3100,60 @@ end
3039
3100
  - **Accept**: application/json
3040
3101
 
3041
3102
 
3103
+ ## get_sfvb_comms_segment
3104
+
3105
+ > <SfvbCommsSegmentResponse> get_sfvb_comms_segment(storefront_oid, segment_uuid)
3106
+
3107
+ Read one segment, with its rule
3108
+
3109
+ The segment's name, folder, rule, member count at its last rebuild, whether a rebuild is still due, and the campaigns and flows that use it, each with whether it is live. hash_sha256 is the If-Match for an update. Never its members, its Facebook audience, its ranking or its third party sync settings.
3110
+
3111
+
3112
+ ### Examples
3113
+
3114
+
3115
+ (No example for this operation).
3116
+
3117
+
3118
+ #### Using the get_sfvb_comms_segment_with_http_info variant
3119
+
3120
+ This returns an Array which contains the response data, status code and headers.
3121
+
3122
+ > <Array(<SfvbCommsSegmentResponse>, Integer, Hash)> get_sfvb_comms_segment_with_http_info(storefront_oid, segment_uuid)
3123
+
3124
+ ```ruby
3125
+ begin
3126
+ # Read one segment, with its rule
3127
+ data, status_code, headers = api_instance.get_sfvb_comms_segment_with_http_info(storefront_oid, segment_uuid)
3128
+ p status_code # => 2xx
3129
+ p headers # => { ... }
3130
+ p data # => <SfvbCommsSegmentResponse>
3131
+ rescue UltracartClient::ApiError => e
3132
+ puts "Error when calling SfvbApi->get_sfvb_comms_segment_with_http_info: #{e}"
3133
+ end
3134
+ ```
3135
+
3136
+ ### Parameters
3137
+
3138
+ | Name | Type | Description | Notes |
3139
+ | ---- | ---- | ----------- | ----- |
3140
+ | **storefront_oid** | **Integer** | | |
3141
+ | **segment_uuid** | **String** | | |
3142
+
3143
+ ### Return type
3144
+
3145
+ [**SfvbCommsSegmentResponse**](SfvbCommsSegmentResponse.md)
3146
+
3147
+ ### Authorization
3148
+
3149
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3150
+
3151
+ ### HTTP request headers
3152
+
3153
+ - **Content-Type**: Not defined
3154
+ - **Accept**: application/json
3155
+
3156
+
3042
3157
  ## get_sfvb_comms_sending_domain
3043
3158
 
3044
3159
  > <SfvbCommsSendingDomain> get_sfvb_comms_sending_domain(domain)
@@ -6284,6 +6399,60 @@ end
6284
6399
  - **Accept**: application/json
6285
6400
 
6286
6401
 
6402
+ ## insert_sfvb_comms_segment
6403
+
6404
+ > <SfvbCommsSegmentResponse> insert_sfvb_comms_segment(storefront_oid, segment_write_request)
6405
+
6406
+ Create a segment
6407
+
6408
+ A new segment with the name, rule and folder given. The rule needs at least one group, each with at least one function of a rule type the segment rebuild knows, and any list or segment it names must be on this storefront. The segment starts empty and rebuilds in the background; member_count is out of date until rebuild_required is false.
6409
+
6410
+
6411
+ ### Examples
6412
+
6413
+
6414
+ (No example for this operation).
6415
+
6416
+
6417
+ #### Using the insert_sfvb_comms_segment_with_http_info variant
6418
+
6419
+ This returns an Array which contains the response data, status code and headers.
6420
+
6421
+ > <Array(<SfvbCommsSegmentResponse>, Integer, Hash)> insert_sfvb_comms_segment_with_http_info(storefront_oid, segment_write_request)
6422
+
6423
+ ```ruby
6424
+ begin
6425
+ # Create a segment
6426
+ data, status_code, headers = api_instance.insert_sfvb_comms_segment_with_http_info(storefront_oid, segment_write_request)
6427
+ p status_code # => 2xx
6428
+ p headers # => { ... }
6429
+ p data # => <SfvbCommsSegmentResponse>
6430
+ rescue UltracartClient::ApiError => e
6431
+ puts "Error when calling SfvbApi->insert_sfvb_comms_segment_with_http_info: #{e}"
6432
+ end
6433
+ ```
6434
+
6435
+ ### Parameters
6436
+
6437
+ | Name | Type | Description | Notes |
6438
+ | ---- | ---- | ----------- | ----- |
6439
+ | **storefront_oid** | **Integer** | | |
6440
+ | **segment_write_request** | [**SfvbCommsSegmentWriteRequest**](SfvbCommsSegmentWriteRequest.md) | The new segment&#39;s name, rule and folder | |
6441
+
6442
+ ### Return type
6443
+
6444
+ [**SfvbCommsSegmentResponse**](SfvbCommsSegmentResponse.md)
6445
+
6446
+ ### Authorization
6447
+
6448
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
6449
+
6450
+ ### HTTP request headers
6451
+
6452
+ - **Content-Type**: application/json
6453
+ - **Accept**: application/json
6454
+
6455
+
6287
6456
  ## insert_sfvb_comms_sending_domain
6288
6457
 
6289
6458
  > <SfvbCommsSendingDomain> insert_sfvb_comms_sending_domain(sending_domain)
@@ -6557,7 +6726,7 @@ end
6557
6726
 
6558
6727
  Add an email step, with its new email
6559
6728
 
6560
- Creates a new email with the subject and preview text and adds the email step that sends it, together, so a failure leaves neither. It goes right after after_step_uuid, or first on one side of a condition, split or inboxgeek step (branch_step_uuid with side). Send that step's hash_sha256 as If-Match. The email has no body yet, and gets the content review flags the admin gives a new email here. A sequence whose campaign or flow is live needs sfvb_publish.
6729
+ Creates a new email with the subject and preview text and adds the email step that sends it, together, so a failure leaves neither. It goes right after after_step_uuid, or first on one side of a condition, split or inboxgeek step (branch_step_uuid with side). Send that step's hash_sha256 as If-Match. A sequence with no steps yet takes neither place and If-Match *, and gets begin and end steps around the email, as the admin's editor adds them. The email has no body yet, and gets the content review flags the admin gives a new email here. A sequence whose campaign or flow is live needs sfvb_publish.
6561
6730
 
6562
6731
 
6563
6732
  ### Examples
@@ -6590,7 +6759,7 @@ end
6590
6759
  | ---- | ---- | ----------- | ----- |
6591
6760
  | **storefront_oid** | **Integer** | | |
6592
6761
  | **sequence_uuid** | **String** | | |
6593
- | **if_match** | **String** | The hash_sha256 of the step it goes after, or of the branching step. Required; 428 when absent, 412 when stale. | |
6762
+ | **if_match** | **String** | The hash_sha256 of the step it goes after, or of the branching step, or * for the first step of a sequence with no steps. Required; 428 when absent, 412 when stale. | |
6594
6763
  | **sequence_step_create_request** | [**SfvbSequenceStepCreateRequest**](SfvbSequenceStepCreateRequest.md) | Where the step goes, and the new email&#39;s subject and preview text | |
6595
6764
 
6596
6765
  ### Return type
@@ -10643,6 +10812,63 @@ end
10643
10812
  - **Accept**: application/json
10644
10813
 
10645
10814
 
10815
+ ## update_sfvb_comms_segment
10816
+
10817
+ > <SfvbCommsSegmentResponse> update_sfvb_comms_segment(storefront_oid, segment_uuid, if_match, segment_write_request, opts)
10818
+
10819
+ Change a segment's name, rule or folder
10820
+
10821
+ A field left out stays as it is. Send the segment's hash_sha256 as If-Match; the change applies only while the name, rule and folder are still what was read. A changed rule is checked as on a create and starts a rebuild. Changing the rule of a segment a live campaign or flow uses needs sfvb_publish and an approved segment.update approval (Approval-Id); a name or folder change, or a segment nothing live uses, needs neither.
10822
+
10823
+
10824
+ ### Examples
10825
+
10826
+
10827
+ (No example for this operation).
10828
+
10829
+
10830
+ #### Using the update_sfvb_comms_segment_with_http_info variant
10831
+
10832
+ This returns an Array which contains the response data, status code and headers.
10833
+
10834
+ > <Array(<SfvbCommsSegmentResponse>, Integer, Hash)> update_sfvb_comms_segment_with_http_info(storefront_oid, segment_uuid, if_match, segment_write_request, opts)
10835
+
10836
+ ```ruby
10837
+ begin
10838
+ # Change a segment's name, rule or folder
10839
+ data, status_code, headers = api_instance.update_sfvb_comms_segment_with_http_info(storefront_oid, segment_uuid, if_match, segment_write_request, opts)
10840
+ p status_code # => 2xx
10841
+ p headers # => { ... }
10842
+ p data # => <SfvbCommsSegmentResponse>
10843
+ rescue UltracartClient::ApiError => e
10844
+ puts "Error when calling SfvbApi->update_sfvb_comms_segment_with_http_info: #{e}"
10845
+ end
10846
+ ```
10847
+
10848
+ ### Parameters
10849
+
10850
+ | Name | Type | Description | Notes |
10851
+ | ---- | ---- | ----------- | ----- |
10852
+ | **storefront_oid** | **Integer** | | |
10853
+ | **segment_uuid** | **String** | | |
10854
+ | **if_match** | **String** | The segment&#39;s hash_sha256 from the last read. Required; 428 when absent, 412 when stale. | |
10855
+ | **segment_write_request** | [**SfvbCommsSegmentWriteRequest**](SfvbCommsSegmentWriteRequest.md) | The fields to change | |
10856
+ | **approval_id** | **String** | When the rule changes and a live campaign or flow uses the segment, the approval_id of an approved segment.update request for this change. See POST /sfvb/approvals. | [optional] |
10857
+
10858
+ ### Return type
10859
+
10860
+ [**SfvbCommsSegmentResponse**](SfvbCommsSegmentResponse.md)
10861
+
10862
+ ### Authorization
10863
+
10864
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
10865
+
10866
+ ### HTTP request headers
10867
+
10868
+ - **Content-Type**: application/json
10869
+ - **Accept**: application/json
10870
+
10871
+
10646
10872
  ## update_sfvb_comms_sending_domain
10647
10873
 
10648
10874
  > <SfvbCommsSendingDomain> update_sfvb_comms_sending_domain(domain, sending_domain)
@@ -12,6 +12,7 @@
12
12
  | **params** | [**SfvbApprovalParams**](SfvbApprovalParams.md) | | [optional] |
13
13
  | **reason** | **String** | Why the agent wants to do this, in a sentence. Shown to the person as unverified text, capped at 500 characters. | [optional] |
14
14
  | **redirect_rows** | [**Array&lt;SfvbRedirectDeleteRow&gt;**](SfvbRedirectDeleteRow.md) | For redirect.delete_batch, exactly the rows the batch delete will send, up to 5,000, each with its hash_sha256. UltraCart keeps only their hash. | [optional] |
15
+ | **segment_update** | [**SfvbCommsSegmentWriteRequest**](SfvbCommsSegmentWriteRequest.md) | | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = UltracartClient::SfvbApprovalCreateRequest.new(
26
27
  item_pricing: null,
27
28
  params: null,
28
29
  reason: null,
29
- redirect_rows: null
30
+ redirect_rows: null,
31
+ segment_update: null
30
32
  )
31
33
  ```
32
34
 
@@ -16,7 +16,10 @@
16
16
  | **request_sha256** | **String** | For experiment.start of a url experiment, the hash of the checked experiment approved, and for item.pricing the hash of the change. Set by the server. The gated call must send the same. | [optional] |
17
17
  | **rows_sha256** | **String** | For redirect.delete_batch and item.attribute_batch, the plan_hash of the exact rows approved. Set by the server. The batch must send rows with this hash. | [optional] |
18
18
  | **rule_count** | **Integer** | For redirect.delete_batch, how many rules the batch would delete when it was requested. Set by the server. | [optional] |
19
+ | **segment_uuid** | **String** | The segment whose rule changes, for segment.update. | [optional] |
20
+ | **sequence_uuid** | **String** | The communication sequence, for sequence_step.delete. | [optional] |
19
21
  | **slot** | **String** | For experiment.start of a page experiment, the page body name. Defaults to body. | [optional] |
22
+ | **step_uuid** | **String** | The step to remove, for sequence_step.delete. | [optional] |
20
23
  | **upsell_kind** | **String** | For upsell.enable, what to switch on. | [optional] |
21
24
  | **upsell_oid** | **Integer** | For upsell.enable, the oid of the offer or path to switch on. | [optional] |
22
25
  | **version** | **Integer** | For file.put_script, the history version a revert restores. Leave it out, and send content instead, for a write. | [optional] |
@@ -41,7 +44,10 @@ instance = UltracartClient::SfvbApprovalParams.new(
41
44
  request_sha256: null,
42
45
  rows_sha256: null,
43
46
  rule_count: null,
47
+ segment_uuid: null,
48
+ sequence_uuid: null,
44
49
  slot: null,
50
+ step_uuid: null,
45
51
  upsell_kind: null,
46
52
  upsell_oid: null,
47
53
  version: null,
@@ -0,0 +1,38 @@
1
+ # UltracartClient::SfvbCommsSegmentDetail
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **created_dts** | **String** | When it was created (ISO 8601, UTC). | [optional] |
8
+ | **filter_profile_equation_json** | **String** | The rule, as JSON text in the admin editor&#39;s shape. Every entry in groups must hold, and inside a group one function is enough. | [optional] |
9
+ | **folder_uuid** | **String** | The list and segment folder it is filed in, or absent. | [optional] |
10
+ | **hash_sha256** | **String** | Send as If-Match on an update. Covers the name, the rule and the folder. | [optional] |
11
+ | **member_count** | **Integer** | How many customers it held at its last rebuild. Out of date while rebuild_required is true. | [optional] |
12
+ | **name** | **String** | The segment name. | [optional] |
13
+ | **rebuild_nightly** | **Boolean** | True when the rule has a date range, so the segment is also rebuilt every night. | [optional] |
14
+ | **rebuild_percentage** | **Float** | How far the current rebuild has got, when one is running. | [optional] |
15
+ | **rebuild_required** | **Boolean** | True when the rule changed and the segment has not finished rebuilding. | [optional] |
16
+ | **segment_uuid** | **String** | The segment uuid. | [optional] |
17
+ | **used_by** | [**Array&lt;SfvbCommsSegmentUsedBy&gt;**](SfvbCommsSegmentUsedBy.md) | The campaigns that send to it and the flows it starts. | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'ultracart_api'
23
+
24
+ instance = UltracartClient::SfvbCommsSegmentDetail.new(
25
+ created_dts: null,
26
+ filter_profile_equation_json: null,
27
+ folder_uuid: null,
28
+ hash_sha256: null,
29
+ member_count: null,
30
+ name: null,
31
+ rebuild_nightly: null,
32
+ rebuild_percentage: null,
33
+ rebuild_required: null,
34
+ segment_uuid: null,
35
+ used_by: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::SfvbCommsSegmentResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **notes** | **Array&lt;String&gt;** | What happens next, such as the rebuild a changed rule starts. | [optional] |
8
+ | **segment** | [**SfvbCommsSegmentDetail**](SfvbCommsSegmentDetail.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::SfvbCommsSegmentResponse.new(
16
+ notes: null,
17
+ segment: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::SfvbCommsSegmentUsedBy
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **live** | **Boolean** | True when the campaign or flow reaches customers now, so a change to the rule changes who gets its mail. | [optional] |
8
+ | **name** | **String** | The campaign or flow name. | [optional] |
9
+ | **type** | **String** | campaign or flow. | [optional] |
10
+ | **uuid** | **String** | The campaign or flow uuid. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::SfvbCommsSegmentUsedBy.new(
18
+ live: null,
19
+ name: null,
20
+ type: null,
21
+ uuid: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::SfvbCommsSegmentWriteRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **filter_profile_equation_json** | **String** | The rule, as JSON text in the admin editor&#39;s shape. Required on a create. At least one group, each with at least one function, each of a rule type the segment rebuild knows. | [optional] |
8
+ | **folder_uuid** | **String** | A list and segment folder on this storefront. An empty string takes the segment out of its folder. | [optional] |
9
+ | **name** | **String** | The segment name. Required on a create. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::SfvbCommsSegmentWriteRequest.new(
17
+ filter_profile_equation_json: null,
18
+ folder_uuid: null,
19
+ name: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::SfvbSequenceStepDeleteResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **archived_email_uuids** | **Array&lt;String&gt;** | The emails the step sent, now archived. | [optional] |
8
+ | **archived_postcard_uuids** | **Array&lt;String&gt;** | The postcard the step sent, now archived. | [optional] |
9
+ | **notes** | **Array&lt;String&gt;** | What was removed and archived, in words. | [optional] |
10
+ | **removed_step_uuids** | **Array&lt;String&gt;** | The step removed, then any end, continue or merge markers that were on its sides. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::SfvbSequenceStepDeleteResponse.new(
18
+ archived_email_uuids: null,
19
+ archived_postcard_uuids: null,
20
+ notes: null,
21
+ removed_step_uuids: null
22
+ )
23
+ ```
24
+