ultracart_rest_api_v2_typescript 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.
- package/.openapi-generator/FILES +5 -0
- package/README.md +4 -2
- package/dist/apis/SfvbApi.d.ts +134 -6
- package/dist/apis/SfvbApi.js +278 -2
- package/dist/models/SfvbApprovalCreateRequest.d.ts +11 -0
- package/dist/models/SfvbApprovalCreateRequest.js +8 -1
- package/dist/models/SfvbApprovalParams.d.ts +18 -0
- package/dist/models/SfvbApprovalParams.js +6 -0
- package/dist/models/SfvbCommsSegmentDetail.d.ts +92 -0
- package/dist/models/SfvbCommsSegmentDetail.js +71 -0
- package/dist/models/SfvbCommsSegmentResponse.d.ts +38 -0
- package/dist/models/SfvbCommsSegmentResponse.js +53 -0
- package/dist/models/SfvbCommsSegmentUsedBy.d.ts +57 -0
- package/dist/models/SfvbCommsSegmentUsedBy.js +63 -0
- package/dist/models/SfvbCommsSegmentWriteRequest.d.ts +43 -0
- package/dist/models/SfvbCommsSegmentWriteRequest.js +54 -0
- package/dist/models/SfvbSequenceStepDeleteResponse.d.ts +49 -0
- package/dist/models/SfvbSequenceStepDeleteResponse.js +56 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/SfvbApi.ts +332 -5
- package/src/models/SfvbApprovalCreateRequest.ts +19 -1
- package/src/models/SfvbApprovalParams.ts +24 -0
- package/src/models/SfvbCommsSegmentDetail.ts +154 -0
- package/src/models/SfvbCommsSegmentResponse.ts +82 -0
- package/src/models/SfvbCommsSegmentUsedBy.ts +101 -0
- package/src/models/SfvbCommsSegmentWriteRequest.ts +83 -0
- package/src/models/SfvbSequenceStepDeleteResponse.ts +91 -0
- package/src/models/index.ts +5 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1018,6 +1018,10 @@ src/models/SfvbCommsList.ts
|
|
|
1018
1018
|
src/models/SfvbCommsListsResponse.ts
|
|
1019
1019
|
src/models/SfvbCommsPostcard.ts
|
|
1020
1020
|
src/models/SfvbCommsSegment.ts
|
|
1021
|
+
src/models/SfvbCommsSegmentDetail.ts
|
|
1022
|
+
src/models/SfvbCommsSegmentResponse.ts
|
|
1023
|
+
src/models/SfvbCommsSegmentUsedBy.ts
|
|
1024
|
+
src/models/SfvbCommsSegmentWriteRequest.ts
|
|
1021
1025
|
src/models/SfvbCommsSegmentsResponse.ts
|
|
1022
1026
|
src/models/SfvbCommsSendingDomain.ts
|
|
1023
1027
|
src/models/SfvbCommsSendingDomainsResponse.ts
|
|
@@ -1202,6 +1206,7 @@ src/models/SfvbSequenceBranch.ts
|
|
|
1202
1206
|
src/models/SfvbSequenceStep.ts
|
|
1203
1207
|
src/models/SfvbSequenceStepCreateRequest.ts
|
|
1204
1208
|
src/models/SfvbSequenceStepCreateResponse.ts
|
|
1209
|
+
src/models/SfvbSequenceStepDeleteResponse.ts
|
|
1205
1210
|
src/models/SfvbSequenceStepUpdateRequest.ts
|
|
1206
1211
|
src/models/SfvbSequenceStepUpdateResponse.ts
|
|
1207
1212
|
src/models/SfvbServerLog.ts
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# UltraCart Typescript SDK
|
|
2
|
-
## ultracart_rest_api_v2_typescript@4.1.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.218
|
|
3
3
|
|
|
4
4
|
Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
|
|
5
5
|
|
|
6
6
|
Installation
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
npm install ultracart_rest_api_v2_typescript@4.1.
|
|
9
|
+
npm install ultracart_rest_api_v2_typescript@4.1.218 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -84,6 +84,8 @@ Not every change is committed to every SDK.
|
|
|
84
84
|
|
|
85
85
|
| Version | Date | Comments |
|
|
86
86
|
| --: | :-: | --- |
|
|
87
|
+
| 4.1.218 | 10/30/2026 | svfb internal testing |
|
|
88
|
+
| 4.1.217 | 10/29/2026 | sfvb internal testing |
|
|
87
89
|
| 4.1.216 | 10/29/2026 | sfvb internal testing |
|
|
88
90
|
| 4.1.215 | 10/28/2026 | sfvb internal testing |
|
|
89
91
|
| 4.1.214 | 10/28/2026 | sfvb internal testing |
|
package/dist/apis/SfvbApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { SfvbApproval, SfvbApprovalCreateRequest, SfvbApprovalsResponse, SfvbArchiveRequest, SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCampaign, SfvbCampaignWriteRequest, SfvbCampaignsResponse, SfvbCommsListsResponse, SfvbCommsSegmentsResponse, SfvbCommsSendingDomain, SfvbCommsSendingDomainsResponse, SfvbCommsTwilioAccount, SfvbCommsTwilioAccountResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbEmail, SfvbEmailRenderRequest, SfvbEmailRenderResponse, SfvbEmailReviewRequest, SfvbEmailUpdateRequest, SfvbEventsAuthRequest, SfvbEventsAuthResponse, SfvbEventsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbFlow, SfvbFlowStatusRequest, SfvbFlowWriteRequest, SfvbFlowsResponse, SfvbI18nGlossary, SfvbI18nGlossaryRequest, SfvbI18nLanguageEnableRequest, SfvbI18nLanguagesResponse, SfvbI18nMachineTranslationsResponse, SfvbI18nMessage, SfvbI18nMessageWriteRequest, SfvbI18nMessagesResponse, SfvbI18nResetResponse, SfvbItemAttributeBatchRequest, SfvbItemAttributeBatchResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaDescriptionRequest, SfvbItemMultimediaRequest, SfvbItemPricing, SfvbItemPricingRequest, SfvbItemRelated, SfvbItemRelatedRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryDeleteResult, SfvbLibraryEntry, SfvbLibraryEntryRequest, SfvbLibraryHistoryResponse, SfvbLibraryInstallReceipt, SfvbLibraryInstallRequest, SfvbLibraryInstallsResponse, SfvbLibraryPublishRequest, SfvbLibraryResponse, SfvbLibraryScreenshotRequest, SfvbLibraryShareRequest, SfvbLibraryShareTargetsResponse, SfvbLibraryTaxonomyCatalog, SfvbLibraryUnshareResult, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbNotFoundEntry, SfvbNotFoundEntryResponse, SfvbNotFoundPage, SfvbNotFoundResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRecordingEventsResponse, SfvbRecordingResponse, SfvbRecordingSettingsRequest, SfvbRecordingSettingsResponse, SfvbRedirect, SfvbRedirectCheckResponse, SfvbRedirectDeleteRequest, SfvbRedirectDeleteResponse, SfvbRedirectImportRequest, SfvbRedirectImportResponse, SfvbRedirectRequest, SfvbRedirectResolveResponse, SfvbRedirectResponse, SfvbRedirectsResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbSecretKindsResponse, SfvbSecretRequest, SfvbSecretRequestCreate, SfvbSecretRequestsResponse, SfvbSequence, SfvbSequenceStepCreateRequest, SfvbSequenceStepCreateResponse, SfvbSequenceStepUpdateRequest, SfvbSequenceStepUpdateResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTestOrdersResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbTransactionalEmailsResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
|
|
13
|
+
import { SfvbApproval, SfvbApprovalCreateRequest, SfvbApprovalsResponse, SfvbArchiveRequest, SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCampaign, SfvbCampaignWriteRequest, SfvbCampaignsResponse, SfvbCommsListsResponse, SfvbCommsSegmentResponse, SfvbCommsSegmentWriteRequest, SfvbCommsSegmentsResponse, SfvbCommsSendingDomain, SfvbCommsSendingDomainsResponse, SfvbCommsTwilioAccount, SfvbCommsTwilioAccountResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbEmail, SfvbEmailRenderRequest, SfvbEmailRenderResponse, SfvbEmailReviewRequest, SfvbEmailUpdateRequest, SfvbEventsAuthRequest, SfvbEventsAuthResponse, SfvbEventsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbFlow, SfvbFlowStatusRequest, SfvbFlowWriteRequest, SfvbFlowsResponse, SfvbI18nGlossary, SfvbI18nGlossaryRequest, SfvbI18nLanguageEnableRequest, SfvbI18nLanguagesResponse, SfvbI18nMachineTranslationsResponse, SfvbI18nMessage, SfvbI18nMessageWriteRequest, SfvbI18nMessagesResponse, SfvbI18nResetResponse, SfvbItemAttributeBatchRequest, SfvbItemAttributeBatchResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaDescriptionRequest, SfvbItemMultimediaRequest, SfvbItemPricing, SfvbItemPricingRequest, SfvbItemRelated, SfvbItemRelatedRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryDeleteResult, SfvbLibraryEntry, SfvbLibraryEntryRequest, SfvbLibraryHistoryResponse, SfvbLibraryInstallReceipt, SfvbLibraryInstallRequest, SfvbLibraryInstallsResponse, SfvbLibraryPublishRequest, SfvbLibraryResponse, SfvbLibraryScreenshotRequest, SfvbLibraryShareRequest, SfvbLibraryShareTargetsResponse, SfvbLibraryTaxonomyCatalog, SfvbLibraryUnshareResult, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbNotFoundEntry, SfvbNotFoundEntryResponse, SfvbNotFoundPage, SfvbNotFoundResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRecordingEventsResponse, SfvbRecordingResponse, SfvbRecordingSettingsRequest, SfvbRecordingSettingsResponse, SfvbRedirect, SfvbRedirectCheckResponse, SfvbRedirectDeleteRequest, SfvbRedirectDeleteResponse, SfvbRedirectImportRequest, SfvbRedirectImportResponse, SfvbRedirectRequest, SfvbRedirectResolveResponse, SfvbRedirectResponse, SfvbRedirectsResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbSecretKindsResponse, SfvbSecretRequest, SfvbSecretRequestCreate, SfvbSecretRequestsResponse, SfvbSequence, SfvbSequenceStepCreateRequest, SfvbSequenceStepCreateResponse, SfvbSequenceStepDeleteResponse, SfvbSequenceStepUpdateRequest, SfvbSequenceStepUpdateResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTestOrdersResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbTransactionalEmailsResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
|
|
14
14
|
export interface AddSfvbPageBlogPostsRequest {
|
|
15
15
|
storefrontOid: number;
|
|
16
16
|
path: string;
|
|
@@ -143,6 +143,13 @@ export interface DeleteSfvbRedirectsRequest {
|
|
|
143
143
|
export interface DeleteSfvbSecretRequestRequest {
|
|
144
144
|
requestId: string;
|
|
145
145
|
}
|
|
146
|
+
export interface DeleteSfvbSequenceStepRequest {
|
|
147
|
+
storefrontOid: number;
|
|
148
|
+
sequenceUuid: string;
|
|
149
|
+
stepUuid: string;
|
|
150
|
+
ifMatch: string;
|
|
151
|
+
approvalId?: string;
|
|
152
|
+
}
|
|
146
153
|
export interface DetachSfvbBlogPostImageRequest {
|
|
147
154
|
storefrontOid: number;
|
|
148
155
|
blogPostOid: number;
|
|
@@ -240,6 +247,10 @@ export interface GetSfvbCampaignRequest {
|
|
|
240
247
|
export interface GetSfvbCjsonUsedElementsRequest {
|
|
241
248
|
compileRequest: SfvbCompileRequest;
|
|
242
249
|
}
|
|
250
|
+
export interface GetSfvbCommsSegmentRequest {
|
|
251
|
+
storefrontOid: number;
|
|
252
|
+
segmentUuid: string;
|
|
253
|
+
}
|
|
243
254
|
export interface GetSfvbCommsSendingDomainRequest {
|
|
244
255
|
domain: string;
|
|
245
256
|
}
|
|
@@ -481,6 +492,10 @@ export interface InsertSfvbBlogPostRequest {
|
|
|
481
492
|
storefrontOid: number;
|
|
482
493
|
blogPostRequest: SfvbBlogPostRequest;
|
|
483
494
|
}
|
|
495
|
+
export interface InsertSfvbCommsSegmentRequest {
|
|
496
|
+
storefrontOid: number;
|
|
497
|
+
segmentWriteRequest: SfvbCommsSegmentWriteRequest;
|
|
498
|
+
}
|
|
484
499
|
export interface InsertSfvbCommsSendingDomainRequest {
|
|
485
500
|
sendingDomain: SfvbCommsSendingDomain;
|
|
486
501
|
}
|
|
@@ -890,6 +905,13 @@ export interface UpdateSfvbCampaignRequest {
|
|
|
890
905
|
ifMatch: string;
|
|
891
906
|
campaignWriteRequest: SfvbCampaignWriteRequest;
|
|
892
907
|
}
|
|
908
|
+
export interface UpdateSfvbCommsSegmentRequest {
|
|
909
|
+
storefrontOid: number;
|
|
910
|
+
segmentUuid: string;
|
|
911
|
+
ifMatch: string;
|
|
912
|
+
segmentWriteRequest: SfvbCommsSegmentWriteRequest;
|
|
913
|
+
approvalId?: string;
|
|
914
|
+
}
|
|
893
915
|
export interface UpdateSfvbCommsSendingDomainRequest {
|
|
894
916
|
domain: string;
|
|
895
917
|
sendingDomain: SfvbCommsSendingDomain;
|
|
@@ -1422,6 +1444,24 @@ export interface SfvbApiInterface {
|
|
|
1422
1444
|
* Cancel a pending secret request
|
|
1423
1445
|
*/
|
|
1424
1446
|
deleteSfvbSecretRequest(requestParameters: DeleteSfvbSecretRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSecretRequest>;
|
|
1447
|
+
/**
|
|
1448
|
+
* 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.
|
|
1449
|
+
* @summary Remove one step
|
|
1450
|
+
* @param {number} storefrontOid
|
|
1451
|
+
* @param {string} sequenceUuid
|
|
1452
|
+
* @param {string} stepUuid
|
|
1453
|
+
* @param {string} ifMatch The step\'s hash_sha256 from the last read. Required; 428 when absent, 412 when stale.
|
|
1454
|
+
* @param {string} [approvalId] When the sequence is live, the approval_id of an approved sequence_step.delete request for this step. See POST /sfvb/approvals.
|
|
1455
|
+
* @param {*} [options] Override http request option.
|
|
1456
|
+
* @throws {RequiredError}
|
|
1457
|
+
* @memberof SfvbApiInterface
|
|
1458
|
+
*/
|
|
1459
|
+
deleteSfvbSequenceStepRaw(requestParameters: DeleteSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSequenceStepDeleteResponse>>;
|
|
1460
|
+
/**
|
|
1461
|
+
* 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.
|
|
1462
|
+
* Remove one step
|
|
1463
|
+
*/
|
|
1464
|
+
deleteSfvbSequenceStep(requestParameters: DeleteSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequenceStepDeleteResponse>;
|
|
1425
1465
|
/**
|
|
1426
1466
|
* Name exactly one of default_image, code or blog_post_multimedia_oid. Removes the image from the post and deletes its stored copy. Take it out of the body too, or the body keeps a broken image. A post that is not a draft needs sfvb_publish.
|
|
1427
1467
|
* @summary Detach an image from a blog post
|
|
@@ -1773,6 +1813,21 @@ export interface SfvbApiInterface {
|
|
|
1773
1813
|
* Element types used by a container
|
|
1774
1814
|
*/
|
|
1775
1815
|
getSfvbCjsonUsedElements(requestParameters: GetSfvbCjsonUsedElementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementsResponse>;
|
|
1816
|
+
/**
|
|
1817
|
+
* 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.
|
|
1818
|
+
* @summary Read one segment, with its rule
|
|
1819
|
+
* @param {number} storefrontOid
|
|
1820
|
+
* @param {string} segmentUuid
|
|
1821
|
+
* @param {*} [options] Override http request option.
|
|
1822
|
+
* @throws {RequiredError}
|
|
1823
|
+
* @memberof SfvbApiInterface
|
|
1824
|
+
*/
|
|
1825
|
+
getSfvbCommsSegmentRaw(requestParameters: GetSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
1826
|
+
/**
|
|
1827
|
+
* 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.
|
|
1828
|
+
* Read one segment, with its rule
|
|
1829
|
+
*/
|
|
1830
|
+
getSfvbCommsSegment(requestParameters: GetSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
1776
1831
|
/**
|
|
1777
1832
|
* One sending domain as stored. To check an amazon domain\'s DNS again, use the status call.
|
|
1778
1833
|
* @summary Read a sending domain
|
|
@@ -2685,6 +2740,21 @@ export interface SfvbApiInterface {
|
|
|
2685
2740
|
* Create a blog post
|
|
2686
2741
|
*/
|
|
2687
2742
|
insertSfvbBlogPost(requestParameters: InsertSfvbBlogPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbBlogPostDetail>;
|
|
2743
|
+
/**
|
|
2744
|
+
* 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.
|
|
2745
|
+
* @summary Create a segment
|
|
2746
|
+
* @param {number} storefrontOid
|
|
2747
|
+
* @param {SfvbCommsSegmentWriteRequest} segmentWriteRequest The new segment\'s name, rule and folder
|
|
2748
|
+
* @param {*} [options] Override http request option.
|
|
2749
|
+
* @throws {RequiredError}
|
|
2750
|
+
* @memberof SfvbApiInterface
|
|
2751
|
+
*/
|
|
2752
|
+
insertSfvbCommsSegmentRaw(requestParameters: InsertSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
2753
|
+
/**
|
|
2754
|
+
* 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.
|
|
2755
|
+
* Create a segment
|
|
2756
|
+
*/
|
|
2757
|
+
insertSfvbCommsSegment(requestParameters: InsertSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
2688
2758
|
/**
|
|
2689
2759
|
* Adds a domain to send email from. An amazon domain starts verification with Amazon SES and returns the DNS records to publish; the person signed in also gets them by email. A mailgun domain needs mailgun_api_key as a secret handle made for the domain (POST secrets, sink mailgun.domain.api_key), never the key itself. UltraCart sets up its webhooks on the Mailgun domain with the key; if Mailgun refuses, nothing is saved and the handle is given back unused.
|
|
2690
2760
|
* @summary Add a sending domain
|
|
@@ -2758,11 +2828,11 @@ export interface SfvbApiInterface {
|
|
|
2758
2828
|
*/
|
|
2759
2829
|
insertSfvbSecretRequest(requestParameters: InsertSfvbSecretRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSecretRequest>;
|
|
2760
2830
|
/**
|
|
2761
|
-
* 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.
|
|
2831
|
+
* 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.
|
|
2762
2832
|
* @summary Add an email step, with its new email
|
|
2763
2833
|
* @param {number} storefrontOid
|
|
2764
2834
|
* @param {string} sequenceUuid
|
|
2765
|
-
* @param {string} ifMatch The hash_sha256 of the step it goes after, or of the branching step. Required; 428 when absent, 412 when stale.
|
|
2835
|
+
* @param {string} ifMatch 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.
|
|
2766
2836
|
* @param {SfvbSequenceStepCreateRequest} sequenceStepCreateRequest Where the step goes, and the new email\'s subject and preview text
|
|
2767
2837
|
* @param {*} [options] Override http request option.
|
|
2768
2838
|
* @throws {RequiredError}
|
|
@@ -2770,7 +2840,7 @@ export interface SfvbApiInterface {
|
|
|
2770
2840
|
*/
|
|
2771
2841
|
insertSfvbSequenceStepRaw(requestParameters: InsertSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSequenceStepCreateResponse>>;
|
|
2772
2842
|
/**
|
|
2773
|
-
* 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.
|
|
2843
|
+
* 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.
|
|
2774
2844
|
* Add an email step, with its new email
|
|
2775
2845
|
*/
|
|
2776
2846
|
insertSfvbSequenceStep(requestParameters: InsertSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequenceStepCreateResponse>;
|
|
@@ -3966,6 +4036,24 @@ export interface SfvbApiInterface {
|
|
|
3966
4036
|
* Change a campaign
|
|
3967
4037
|
*/
|
|
3968
4038
|
updateSfvbCampaign(requestParameters: UpdateSfvbCampaignRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCampaign>;
|
|
4039
|
+
/**
|
|
4040
|
+
* 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.
|
|
4041
|
+
* @summary Change a segment\'s name, rule or folder
|
|
4042
|
+
* @param {number} storefrontOid
|
|
4043
|
+
* @param {string} segmentUuid
|
|
4044
|
+
* @param {string} ifMatch The segment\'s hash_sha256 from the last read. Required; 428 when absent, 412 when stale.
|
|
4045
|
+
* @param {SfvbCommsSegmentWriteRequest} segmentWriteRequest The fields to change
|
|
4046
|
+
* @param {string} [approvalId] 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.
|
|
4047
|
+
* @param {*} [options] Override http request option.
|
|
4048
|
+
* @throws {RequiredError}
|
|
4049
|
+
* @memberof SfvbApiInterface
|
|
4050
|
+
*/
|
|
4051
|
+
updateSfvbCommsSegmentRaw(requestParameters: UpdateSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
4052
|
+
/**
|
|
4053
|
+
* 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.
|
|
4054
|
+
* Change a segment\'s name, rule or folder
|
|
4055
|
+
*/
|
|
4056
|
+
updateSfvbCommsSegment(requestParameters: UpdateSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
3969
4057
|
/**
|
|
3970
4058
|
* Only a mailgun domain\'s mailgun_api_key can change. Send it as a secret handle made for the domain to replace it, or as the mask it was read with to keep it. A new key sets up UltraCart\'s webhooks again with it; if Mailgun refuses, nothing is saved and the handle is given back unused.
|
|
3971
4059
|
* @summary Update a sending domain
|
|
@@ -4489,6 +4577,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
4489
4577
|
* Cancel a pending secret request
|
|
4490
4578
|
*/
|
|
4491
4579
|
deleteSfvbSecretRequest(requestParameters: DeleteSfvbSecretRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSecretRequest>;
|
|
4580
|
+
/**
|
|
4581
|
+
* 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.
|
|
4582
|
+
* Remove one step
|
|
4583
|
+
*/
|
|
4584
|
+
deleteSfvbSequenceStepRaw(requestParameters: DeleteSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSequenceStepDeleteResponse>>;
|
|
4585
|
+
/**
|
|
4586
|
+
* 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.
|
|
4587
|
+
* Remove one step
|
|
4588
|
+
*/
|
|
4589
|
+
deleteSfvbSequenceStep(requestParameters: DeleteSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequenceStepDeleteResponse>;
|
|
4492
4590
|
/**
|
|
4493
4591
|
* Name exactly one of default_image, code or blog_post_multimedia_oid. Removes the image from the post and deletes its stored copy. Take it out of the body too, or the body keeps a broken image. A post that is not a draft needs sfvb_publish.
|
|
4494
4592
|
* Detach an image from a blog post
|
|
@@ -4717,6 +4815,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
4717
4815
|
* Element types used by a container
|
|
4718
4816
|
*/
|
|
4719
4817
|
getSfvbCjsonUsedElements(requestParameters: GetSfvbCjsonUsedElementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbElementsResponse>;
|
|
4818
|
+
/**
|
|
4819
|
+
* 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.
|
|
4820
|
+
* Read one segment, with its rule
|
|
4821
|
+
*/
|
|
4822
|
+
getSfvbCommsSegmentRaw(requestParameters: GetSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
4823
|
+
/**
|
|
4824
|
+
* 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.
|
|
4825
|
+
* Read one segment, with its rule
|
|
4826
|
+
*/
|
|
4827
|
+
getSfvbCommsSegment(requestParameters: GetSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
4720
4828
|
/**
|
|
4721
4829
|
* One sending domain as stored. To check an amazon domain\'s DNS again, use the status call.
|
|
4722
4830
|
* Read a sending domain
|
|
@@ -5315,6 +5423,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
5315
5423
|
* Create a blog post
|
|
5316
5424
|
*/
|
|
5317
5425
|
insertSfvbBlogPost(requestParameters: InsertSfvbBlogPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbBlogPostDetail>;
|
|
5426
|
+
/**
|
|
5427
|
+
* 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.
|
|
5428
|
+
* Create a segment
|
|
5429
|
+
*/
|
|
5430
|
+
insertSfvbCommsSegmentRaw(requestParameters: InsertSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
5431
|
+
/**
|
|
5432
|
+
* 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.
|
|
5433
|
+
* Create a segment
|
|
5434
|
+
*/
|
|
5435
|
+
insertSfvbCommsSegment(requestParameters: InsertSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
5318
5436
|
/**
|
|
5319
5437
|
* Adds a domain to send email from. An amazon domain starts verification with Amazon SES and returns the DNS records to publish; the person signed in also gets them by email. A mailgun domain needs mailgun_api_key as a secret handle made for the domain (POST secrets, sink mailgun.domain.api_key), never the key itself. UltraCart sets up its webhooks on the Mailgun domain with the key; if Mailgun refuses, nothing is saved and the handle is given back unused.
|
|
5320
5438
|
* Add a sending domain
|
|
@@ -5366,12 +5484,12 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
5366
5484
|
*/
|
|
5367
5485
|
insertSfvbSecretRequest(requestParameters: InsertSfvbSecretRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSecretRequest>;
|
|
5368
5486
|
/**
|
|
5369
|
-
* 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.
|
|
5487
|
+
* 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.
|
|
5370
5488
|
* Add an email step, with its new email
|
|
5371
5489
|
*/
|
|
5372
5490
|
insertSfvbSequenceStepRaw(requestParameters: InsertSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSequenceStepCreateResponse>>;
|
|
5373
5491
|
/**
|
|
5374
|
-
* 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.
|
|
5492
|
+
* 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.
|
|
5375
5493
|
* Add an email step, with its new email
|
|
5376
5494
|
*/
|
|
5377
5495
|
insertSfvbSequenceStep(requestParameters: InsertSfvbSequenceStepRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequenceStepCreateResponse>;
|
|
@@ -6103,6 +6221,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
6103
6221
|
* Change a campaign
|
|
6104
6222
|
*/
|
|
6105
6223
|
updateSfvbCampaign(requestParameters: UpdateSfvbCampaignRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCampaign>;
|
|
6224
|
+
/**
|
|
6225
|
+
* 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.
|
|
6226
|
+
* Change a segment\'s name, rule or folder
|
|
6227
|
+
*/
|
|
6228
|
+
updateSfvbCommsSegmentRaw(requestParameters: UpdateSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbCommsSegmentResponse>>;
|
|
6229
|
+
/**
|
|
6230
|
+
* 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.
|
|
6231
|
+
* Change a segment\'s name, rule or folder
|
|
6232
|
+
*/
|
|
6233
|
+
updateSfvbCommsSegment(requestParameters: UpdateSfvbCommsSegmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbCommsSegmentResponse>;
|
|
6106
6234
|
/**
|
|
6107
6235
|
* Only a mailgun domain\'s mailgun_api_key can change. Send it as a secret handle made for the domain to replace it, or as the mask it was read with to keep it. A new key sets up UltraCart\'s webhooks again with it; if Mailgun refuses, nothing is saved and the handle is given back unused.
|
|
6108
6236
|
* Update a sending domain
|