ultracart_rest_api_v2_typescript 4.1.226 → 4.1.228
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 +7 -0
- package/README.md +4 -2
- package/dist/apis/SfvbApi.d.ts +65 -1
- package/dist/apis/SfvbApi.js +133 -0
- package/dist/models/SfvbBlogPostDetail.d.ts +6 -0
- package/dist/models/SfvbBlogPostDetail.js +2 -0
- package/dist/models/SfvbBlogPostRequest.d.ts +6 -0
- package/dist/models/SfvbBlogPostRequest.js +2 -0
- package/dist/models/SfvbRobotsTxt.d.ts +43 -0
- package/dist/models/SfvbRobotsTxt.js +54 -0
- package/dist/models/SfvbSitemap.d.ts +62 -0
- package/dist/models/SfvbSitemap.js +61 -0
- package/dist/models/SfvbSitemapFile.d.ts +49 -0
- package/dist/models/SfvbSitemapFile.js +56 -0
- package/dist/models/SfvbSitemapsResponse.d.ts +63 -0
- package/dist/models/SfvbSitemapsResponse.js +62 -0
- package/dist/models/SfvbStepCounts.d.ts +79 -0
- package/dist/models/SfvbStepCounts.js +66 -0
- package/dist/models/SfvbStepDispatchLog.d.ts +43 -0
- package/dist/models/SfvbStepDispatchLog.js +54 -0
- package/dist/models/SfvbStepDispatchLogsResponse.d.ts +75 -0
- package/dist/models/SfvbStepDispatchLogsResponse.js +66 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/SfvbApi.ts +158 -0
- package/src/models/SfvbBlogPostDetail.ts +8 -0
- package/src/models/SfvbBlogPostRequest.ts +8 -0
- package/src/models/SfvbRobotsTxt.ts +83 -0
- package/src/models/SfvbSitemap.ts +114 -0
- package/src/models/SfvbSitemapFile.ts +91 -0
- package/src/models/SfvbSitemapsResponse.ts +120 -0
- package/src/models/SfvbStepCounts.ts +131 -0
- package/src/models/SfvbStepDispatchLog.ts +83 -0
- package/src/models/SfvbStepDispatchLogsResponse.ts +136 -0
- package/src/models/index.ts +7 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1201,6 +1201,7 @@ src/models/SfvbRedirectResponse.ts
|
|
|
1201
1201
|
src/models/SfvbRedirectsResponse.ts
|
|
1202
1202
|
src/models/SfvbRenderRequest.ts
|
|
1203
1203
|
src/models/SfvbRenderResponse.ts
|
|
1204
|
+
src/models/SfvbRobotsTxt.ts
|
|
1204
1205
|
src/models/SfvbSecretHandle.ts
|
|
1205
1206
|
src/models/SfvbSecretKind.ts
|
|
1206
1207
|
src/models/SfvbSecretKindsResponse.ts
|
|
@@ -1226,9 +1227,15 @@ src/models/SfvbSiteAttribute.ts
|
|
|
1226
1227
|
src/models/SfvbSiteAttributeUpdate.ts
|
|
1227
1228
|
src/models/SfvbSiteAttributeUpdateRequest.ts
|
|
1228
1229
|
src/models/SfvbSiteAttributesResponse.ts
|
|
1230
|
+
src/models/SfvbSitemap.ts
|
|
1231
|
+
src/models/SfvbSitemapFile.ts
|
|
1232
|
+
src/models/SfvbSitemapsResponse.ts
|
|
1229
1233
|
src/models/SfvbSmartAttribution.ts
|
|
1230
1234
|
src/models/SfvbSmartAttributionPlatform.ts
|
|
1231
1235
|
src/models/SfvbSmartAttributionRequest.ts
|
|
1236
|
+
src/models/SfvbStepCounts.ts
|
|
1237
|
+
src/models/SfvbStepDispatchLog.ts
|
|
1238
|
+
src/models/SfvbStepDispatchLogsResponse.ts
|
|
1232
1239
|
src/models/SfvbStorefront.ts
|
|
1233
1240
|
src/models/SfvbStorefrontsResponse.ts
|
|
1234
1241
|
src/models/SfvbTemplate.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.228
|
|
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.228 --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.228 | 11/04/2026 | sfvb internal testing |
|
|
88
|
+
| 4.1.227 | 11/04/2026 | sfvb internal testing |
|
|
87
89
|
| 4.1.226 | 11/04/2026 | sfvb internal testing |
|
|
88
90
|
| 4.1.225 | 11/03/2026 | sfvb internal testing |
|
|
89
91
|
| 4.1.224 | 11/03/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 { SfvbAffiliateNetwork, SfvbAffiliateNetworkRequest, SfvbAffiliateNetworksResponse, SfvbApproval, SfvbApprovalCreateRequest, SfvbApprovalsResponse, SfvbArchiveRequest, SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCampaign, SfvbCampaignWriteRequest, SfvbCampaignsResponse, SfvbCodeLibraryEmailsResponse, 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, SfvbPostcardProofRequest, SfvbPostcardProofResponse, 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, SfvbSequenceStepMoveRequest, SfvbSequenceStepMoveResponse, SfvbSequenceStepUpdateRequest, SfvbSequenceStepUpdateResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbSmartAttribution, SfvbSmartAttributionRequest, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTestOrdersResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbTrackingAdvancedRequest, SfvbTrackingHtml, SfvbTrackingHtmlRequest, SfvbTrackingHtmlResponse, SfvbTrackingPrivacyRequest, SfvbTrackingProvider, SfvbTrackingProviderRequest, SfvbTrackingProvidersResponse, SfvbTrackingSettingsResponse, SfvbTransactionalEmailsResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbUtmShortcode, SfvbUtmShortcodeRequest, SfvbUtmShortcodesResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
|
|
13
|
+
import { SfvbAffiliateNetwork, SfvbAffiliateNetworkRequest, SfvbAffiliateNetworksResponse, SfvbApproval, SfvbApprovalCreateRequest, SfvbApprovalsResponse, SfvbArchiveRequest, SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCampaign, SfvbCampaignWriteRequest, SfvbCampaignsResponse, SfvbCodeLibraryEmailsResponse, 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, SfvbPostcardProofRequest, SfvbPostcardProofResponse, 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, SfvbSequenceStepMoveRequest, SfvbSequenceStepMoveResponse, SfvbSequenceStepUpdateRequest, SfvbSequenceStepUpdateResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbSitemapsResponse, SfvbSmartAttribution, SfvbSmartAttributionRequest, SfvbStepDispatchLogsResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTestOrdersResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbTrackingAdvancedRequest, SfvbTrackingHtml, SfvbTrackingHtmlRequest, SfvbTrackingHtmlResponse, SfvbTrackingPrivacyRequest, SfvbTrackingProvider, SfvbTrackingProviderRequest, SfvbTrackingProvidersResponse, SfvbTrackingSettingsResponse, SfvbTransactionalEmailsResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbUtmShortcode, SfvbUtmShortcodeRequest, SfvbUtmShortcodesResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
|
|
14
14
|
export interface AddSfvbPageBlogPostsRequest {
|
|
15
15
|
storefrontOid: number;
|
|
16
16
|
path: string;
|
|
@@ -462,6 +462,14 @@ export interface GetSfvbSequenceRequest {
|
|
|
462
462
|
sequenceUuid: string;
|
|
463
463
|
waiting?: boolean;
|
|
464
464
|
}
|
|
465
|
+
export interface GetSfvbSequenceStepDispatchLogsRequest {
|
|
466
|
+
storefrontOid: number;
|
|
467
|
+
sequenceUuid: string;
|
|
468
|
+
stepUuid: string;
|
|
469
|
+
since?: string;
|
|
470
|
+
limit?: number;
|
|
471
|
+
offset?: number;
|
|
472
|
+
}
|
|
465
473
|
export interface GetSfvbServerLogRequest {
|
|
466
474
|
storefrontOid: number;
|
|
467
475
|
logId: string;
|
|
@@ -470,6 +478,9 @@ export interface GetSfvbServerLogRequest {
|
|
|
470
478
|
export interface GetSfvbSiteAttributesRequest {
|
|
471
479
|
storefrontOid: number;
|
|
472
480
|
}
|
|
481
|
+
export interface GetSfvbSitemapsRequest {
|
|
482
|
+
storefrontOid: number;
|
|
483
|
+
}
|
|
473
484
|
export interface GetSfvbSmartAttributionRequest {
|
|
474
485
|
storefrontOid: number;
|
|
475
486
|
}
|
|
@@ -2750,6 +2761,25 @@ export interface SfvbApiInterface {
|
|
|
2750
2761
|
* Get a campaign\'s or flow\'s steps as a tree
|
|
2751
2762
|
*/
|
|
2752
2763
|
getSfvbSequence(requestParameters: GetSfvbSequenceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequence>;
|
|
2764
|
+
/**
|
|
2765
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
2766
|
+
* @summary Read a flow or campaign step\'s dispatch log and counts
|
|
2767
|
+
* @param {number} storefrontOid
|
|
2768
|
+
* @param {string} sequenceUuid
|
|
2769
|
+
* @param {string} stepUuid
|
|
2770
|
+
* @param {string} [since]
|
|
2771
|
+
* @param {number} [limit]
|
|
2772
|
+
* @param {number} [offset]
|
|
2773
|
+
* @param {*} [options] Override http request option.
|
|
2774
|
+
* @throws {RequiredError}
|
|
2775
|
+
* @memberof SfvbApiInterface
|
|
2776
|
+
*/
|
|
2777
|
+
getSfvbSequenceStepDispatchLogsRaw(requestParameters: GetSfvbSequenceStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbStepDispatchLogsResponse>>;
|
|
2778
|
+
/**
|
|
2779
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
2780
|
+
* Read a flow or campaign step\'s dispatch log and counts
|
|
2781
|
+
*/
|
|
2782
|
+
getSfvbSequenceStepDispatchLogs(requestParameters: GetSfvbSequenceStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbStepDispatchLogsResponse>;
|
|
2753
2783
|
/**
|
|
2754
2784
|
* One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
|
|
2755
2785
|
* @summary Get one storefront render log
|
|
@@ -2780,6 +2810,20 @@ export interface SfvbApiInterface {
|
|
|
2780
2810
|
* Read a storefront\'s site attributes
|
|
2781
2811
|
*/
|
|
2782
2812
|
getSfvbSiteAttributes(requestParameters: GetSfvbSiteAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSiteAttributesResponse>;
|
|
2813
|
+
/**
|
|
2814
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
2815
|
+
* @summary Read a storefront\'s sitemaps and robots.txt
|
|
2816
|
+
* @param {number} storefrontOid
|
|
2817
|
+
* @param {*} [options] Override http request option.
|
|
2818
|
+
* @throws {RequiredError}
|
|
2819
|
+
* @memberof SfvbApiInterface
|
|
2820
|
+
*/
|
|
2821
|
+
getSfvbSitemapsRaw(requestParameters: GetSfvbSitemapsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSitemapsResponse>>;
|
|
2822
|
+
/**
|
|
2823
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
2824
|
+
* Read a storefront\'s sitemaps and robots.txt
|
|
2825
|
+
*/
|
|
2826
|
+
getSfvbSitemaps(requestParameters: GetSfvbSitemapsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSitemapsResponse>;
|
|
2783
2827
|
/**
|
|
2784
2828
|
* The mode, model, global credit split, lookback and platforms, the platforms detected from the tracking integrations that are not configured yet, and the hash_sha256 a change or delete sends back as If-Match. When configured is false the values are the defaults an enable would save.
|
|
2785
2829
|
* @summary Read a storefront\'s Smart Attribution configuration
|
|
@@ -5904,6 +5948,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
5904
5948
|
* Get a campaign\'s or flow\'s steps as a tree
|
|
5905
5949
|
*/
|
|
5906
5950
|
getSfvbSequence(requestParameters: GetSfvbSequenceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSequence>;
|
|
5951
|
+
/**
|
|
5952
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
5953
|
+
* Read a flow or campaign step\'s dispatch log and counts
|
|
5954
|
+
*/
|
|
5955
|
+
getSfvbSequenceStepDispatchLogsRaw(requestParameters: GetSfvbSequenceStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbStepDispatchLogsResponse>>;
|
|
5956
|
+
/**
|
|
5957
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
5958
|
+
* Read a flow or campaign step\'s dispatch log and counts
|
|
5959
|
+
*/
|
|
5960
|
+
getSfvbSequenceStepDispatchLogs(requestParameters: GetSfvbSequenceStepDispatchLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbStepDispatchLogsResponse>;
|
|
5907
5961
|
/**
|
|
5908
5962
|
* One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
|
|
5909
5963
|
* Get one storefront render log
|
|
@@ -5924,6 +5978,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
5924
5978
|
* Read a storefront\'s site attributes
|
|
5925
5979
|
*/
|
|
5926
5980
|
getSfvbSiteAttributes(requestParameters: GetSfvbSiteAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSiteAttributesResponse>;
|
|
5981
|
+
/**
|
|
5982
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
5983
|
+
* Read a storefront\'s sitemaps and robots.txt
|
|
5984
|
+
*/
|
|
5985
|
+
getSfvbSitemapsRaw(requestParameters: GetSfvbSitemapsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbSitemapsResponse>>;
|
|
5986
|
+
/**
|
|
5987
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
5988
|
+
* Read a storefront\'s sitemaps and robots.txt
|
|
5989
|
+
*/
|
|
5990
|
+
getSfvbSitemaps(requestParameters: GetSfvbSitemapsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbSitemapsResponse>;
|
|
5927
5991
|
/**
|
|
5928
5992
|
* The mode, model, global credit split, lookback and platforms, the platforms detected from the tracking integrations that are not configured yet, and the hash_sha256 a change or delete sends back as If-Match. When configured is false the values are the defaults an enable would save.
|
|
5929
5993
|
* Read a storefront\'s Smart Attribution configuration
|
package/dist/apis/SfvbApi.js
CHANGED
|
@@ -6835,6 +6835,80 @@ var SfvbApi = /** @class */ (function (_super) {
|
|
|
6835
6835
|
});
|
|
6836
6836
|
});
|
|
6837
6837
|
};
|
|
6838
|
+
/**
|
|
6839
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
6840
|
+
* Read a flow or campaign step\'s dispatch log and counts
|
|
6841
|
+
*/
|
|
6842
|
+
SfvbApi.prototype.getSfvbSequenceStepDispatchLogsRaw = function (requestParameters, initOverrides) {
|
|
6843
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6844
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
6845
|
+
return __generator(this, function (_c) {
|
|
6846
|
+
switch (_c.label) {
|
|
6847
|
+
case 0:
|
|
6848
|
+
if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
|
|
6849
|
+
throw new runtime.RequiredError('storefrontOid', 'Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbSequenceStepDispatchLogs.');
|
|
6850
|
+
}
|
|
6851
|
+
if (requestParameters.sequenceUuid === null || requestParameters.sequenceUuid === undefined) {
|
|
6852
|
+
throw new runtime.RequiredError('sequenceUuid', 'Required parameter requestParameters.sequenceUuid was null or undefined when calling getSfvbSequenceStepDispatchLogs.');
|
|
6853
|
+
}
|
|
6854
|
+
if (requestParameters.stepUuid === null || requestParameters.stepUuid === undefined) {
|
|
6855
|
+
throw new runtime.RequiredError('stepUuid', 'Required parameter requestParameters.stepUuid was null or undefined when calling getSfvbSequenceStepDispatchLogs.');
|
|
6856
|
+
}
|
|
6857
|
+
queryParameters = {};
|
|
6858
|
+
if (requestParameters.since !== undefined) {
|
|
6859
|
+
queryParameters['since'] = requestParameters.since;
|
|
6860
|
+
}
|
|
6861
|
+
if (requestParameters.limit !== undefined) {
|
|
6862
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
6863
|
+
}
|
|
6864
|
+
if (requestParameters.offset !== undefined) {
|
|
6865
|
+
queryParameters['offset'] = requestParameters.offset;
|
|
6866
|
+
}
|
|
6867
|
+
headerParameters = {};
|
|
6868
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
6869
|
+
// oauth required
|
|
6870
|
+
_a = headerParameters;
|
|
6871
|
+
_b = "Authorization";
|
|
6872
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", [])];
|
|
6873
|
+
case 1:
|
|
6874
|
+
// oauth required
|
|
6875
|
+
_a[_b] = _c.sent();
|
|
6876
|
+
_c.label = 2;
|
|
6877
|
+
case 2:
|
|
6878
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
6879
|
+
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
6880
|
+
}
|
|
6881
|
+
return [4 /*yield*/, this.request({
|
|
6882
|
+
path: "/sfvb/storefronts/{storefront_oid}/sequences/{sequence_uuid}/steps/{step_uuid}/dispatch_logs".replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(requestParameters.storefrontOid))).replace("{".concat("sequence_uuid", "}"), encodeURIComponent(String(requestParameters.sequenceUuid))).replace("{".concat("step_uuid", "}"), encodeURIComponent(String(requestParameters.stepUuid))),
|
|
6883
|
+
method: 'GET',
|
|
6884
|
+
headers: headerParameters,
|
|
6885
|
+
query: queryParameters,
|
|
6886
|
+
}, initOverrides)];
|
|
6887
|
+
case 3:
|
|
6888
|
+
response = _c.sent();
|
|
6889
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbStepDispatchLogsResponseFromJSON)(jsonValue); })];
|
|
6890
|
+
}
|
|
6891
|
+
});
|
|
6892
|
+
});
|
|
6893
|
+
};
|
|
6894
|
+
/**
|
|
6895
|
+
* Why customers were sent, skipped or ended at this step, newest first, as the admin\'s Dispatch Logs screen shows it, with the step\'s counts. An email step\'s counts are its email\'s; any other step\'s are its own over 90 days. Email addresses and phone numbers in the text are masked. since is 15m, 2h or 7d, or an ISO-8601 time, default 7d; entries are kept 90 days. limit is 1 to 200, default 50; send next_offset as offset for the next page. Read only.
|
|
6896
|
+
* Read a flow or campaign step\'s dispatch log and counts
|
|
6897
|
+
*/
|
|
6898
|
+
SfvbApi.prototype.getSfvbSequenceStepDispatchLogs = function (requestParameters, initOverrides) {
|
|
6899
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6900
|
+
var response;
|
|
6901
|
+
return __generator(this, function (_a) {
|
|
6902
|
+
switch (_a.label) {
|
|
6903
|
+
case 0: return [4 /*yield*/, this.getSfvbSequenceStepDispatchLogsRaw(requestParameters, initOverrides)];
|
|
6904
|
+
case 1:
|
|
6905
|
+
response = _a.sent();
|
|
6906
|
+
return [4 /*yield*/, response.value()];
|
|
6907
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
6908
|
+
}
|
|
6909
|
+
});
|
|
6910
|
+
});
|
|
6911
|
+
};
|
|
6838
6912
|
/**
|
|
6839
6913
|
* One render\'s server log with its lines, each with a level, a category such as VELOCITY or FLOW, and the message. log_id comes from the list, or from the X-UltraCart-Storefront-Log-Id header a page sends inside an SFVB preview session. min_level is debug, info, warn or error, default debug.
|
|
6840
6914
|
* Get one storefront render log
|
|
@@ -6959,6 +7033,65 @@ var SfvbApi = /** @class */ (function (_super) {
|
|
|
6959
7033
|
});
|
|
6960
7034
|
});
|
|
6961
7035
|
};
|
|
7036
|
+
/**
|
|
7037
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
7038
|
+
* Read a storefront\'s sitemaps and robots.txt
|
|
7039
|
+
*/
|
|
7040
|
+
SfvbApi.prototype.getSfvbSitemapsRaw = function (requestParameters, initOverrides) {
|
|
7041
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7042
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
7043
|
+
return __generator(this, function (_c) {
|
|
7044
|
+
switch (_c.label) {
|
|
7045
|
+
case 0:
|
|
7046
|
+
if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
|
|
7047
|
+
throw new runtime.RequiredError('storefrontOid', 'Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbSitemaps.');
|
|
7048
|
+
}
|
|
7049
|
+
queryParameters = {};
|
|
7050
|
+
headerParameters = {};
|
|
7051
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
7052
|
+
// oauth required
|
|
7053
|
+
_a = headerParameters;
|
|
7054
|
+
_b = "Authorization";
|
|
7055
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", [])];
|
|
7056
|
+
case 1:
|
|
7057
|
+
// oauth required
|
|
7058
|
+
_a[_b] = _c.sent();
|
|
7059
|
+
_c.label = 2;
|
|
7060
|
+
case 2:
|
|
7061
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
7062
|
+
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
7063
|
+
}
|
|
7064
|
+
return [4 /*yield*/, this.request({
|
|
7065
|
+
path: "/sfvb/storefronts/{storefront_oid}/sitemaps".replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(requestParameters.storefrontOid))),
|
|
7066
|
+
method: 'GET',
|
|
7067
|
+
headers: headerParameters,
|
|
7068
|
+
query: queryParameters,
|
|
7069
|
+
}, initOverrides)];
|
|
7070
|
+
case 3:
|
|
7071
|
+
response = _c.sent();
|
|
7072
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbSitemapsResponseFromJSON)(jsonValue); })];
|
|
7073
|
+
}
|
|
7074
|
+
});
|
|
7075
|
+
});
|
|
7076
|
+
};
|
|
7077
|
+
/**
|
|
7078
|
+
* The sitemaps the admin SEO Sitemaps screen lists, with their child files and build times, the Sitemap lines robots.txt serves, and whether Prevent Indexing is on. Read only. The files are rebuilt nightly, so a page change shows in them after the next build.
|
|
7079
|
+
* Read a storefront\'s sitemaps and robots.txt
|
|
7080
|
+
*/
|
|
7081
|
+
SfvbApi.prototype.getSfvbSitemaps = function (requestParameters, initOverrides) {
|
|
7082
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7083
|
+
var response;
|
|
7084
|
+
return __generator(this, function (_a) {
|
|
7085
|
+
switch (_a.label) {
|
|
7086
|
+
case 0: return [4 /*yield*/, this.getSfvbSitemapsRaw(requestParameters, initOverrides)];
|
|
7087
|
+
case 1:
|
|
7088
|
+
response = _a.sent();
|
|
7089
|
+
return [4 /*yield*/, response.value()];
|
|
7090
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
7091
|
+
}
|
|
7092
|
+
});
|
|
7093
|
+
});
|
|
7094
|
+
};
|
|
6962
7095
|
/**
|
|
6963
7096
|
* The mode, model, global credit split, lookback and platforms, the platforms detected from the tracking integrations that are not configured yet, and the hash_sha256 a change or delete sends back as If-Match. When configured is false the values are the defaults an enable would save.
|
|
6964
7097
|
* Read a storefront\'s Smart Attribution configuration
|
|
@@ -46,6 +46,12 @@ export interface SfvbBlogPostDetail {
|
|
|
46
46
|
* @memberof SfvbBlogPostDetail
|
|
47
47
|
*/
|
|
48
48
|
created_dts?: string;
|
|
49
|
+
/**
|
|
50
|
+
* True when this is the result of a dry run and nothing was saved. The post is shown as it is stored.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof SfvbBlogPostDetail
|
|
53
|
+
*/
|
|
54
|
+
dry_run?: boolean;
|
|
49
55
|
/**
|
|
50
56
|
* The post excerpt as HTML, exactly as stored.
|
|
51
57
|
* @type {string}
|
|
@@ -38,6 +38,7 @@ function SfvbBlogPostDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'blog_post_oid': !(0, runtime_1.exists)(json, 'blog_post_oid') ? undefined : json['blog_post_oid'],
|
|
39
39
|
'body': !(0, runtime_1.exists)(json, 'body') ? undefined : json['body'],
|
|
40
40
|
'created_dts': !(0, runtime_1.exists)(json, 'created_dts') ? undefined : json['created_dts'],
|
|
41
|
+
'dry_run': !(0, runtime_1.exists)(json, 'dry_run') ? undefined : json['dry_run'],
|
|
41
42
|
'excerpt': !(0, runtime_1.exists)(json, 'excerpt') ? undefined : json['excerpt'],
|
|
42
43
|
'images': !(0, runtime_1.exists)(json, 'images') ? undefined : (json['images'].map(SfvbBlogPostImage_1.SfvbBlogPostImageFromJSON)),
|
|
43
44
|
'last_modified_dts': !(0, runtime_1.exists)(json, 'last_modified_dts') ? undefined : json['last_modified_dts'],
|
|
@@ -67,6 +68,7 @@ function SfvbBlogPostDetailToJSON(value) {
|
|
|
67
68
|
'blog_post_oid': value.blog_post_oid,
|
|
68
69
|
'body': value.body,
|
|
69
70
|
'created_dts': value.created_dts,
|
|
71
|
+
'dry_run': value.dry_run,
|
|
70
72
|
'excerpt': value.excerpt,
|
|
71
73
|
'images': value.images === undefined ? undefined : (value.images.map(SfvbBlogPostImage_1.SfvbBlogPostImageToJSON)),
|
|
72
74
|
'last_modified_dts': value.last_modified_dts,
|
|
@@ -33,6 +33,12 @@ export interface SfvbBlogPostRequest {
|
|
|
33
33
|
* @memberof SfvbBlogPostRequest
|
|
34
34
|
*/
|
|
35
35
|
body?: string;
|
|
36
|
+
/**
|
|
37
|
+
* On an update, true to run every check the write would run and save nothing. A refusal comes back exactly as it would on the real write.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SfvbBlogPostRequest
|
|
40
|
+
*/
|
|
41
|
+
dry_run?: boolean;
|
|
36
42
|
/**
|
|
37
43
|
* The post excerpt as HTML, up to 256 KB. Held to the same rule as body.
|
|
38
44
|
* @type {string}
|
|
@@ -43,6 +43,7 @@ function SfvbBlogPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'allow_comments': !(0, runtime_1.exists)(json, 'allow_comments') ? undefined : json['allow_comments'],
|
|
44
44
|
'author': !(0, runtime_1.exists)(json, 'author') ? undefined : json['author'],
|
|
45
45
|
'body': !(0, runtime_1.exists)(json, 'body') ? undefined : json['body'],
|
|
46
|
+
'dry_run': !(0, runtime_1.exists)(json, 'dry_run') ? undefined : json['dry_run'],
|
|
46
47
|
'excerpt': !(0, runtime_1.exists)(json, 'excerpt') ? undefined : json['excerpt'],
|
|
47
48
|
'publication_dts': !(0, runtime_1.exists)(json, 'publication_dts') ? undefined : json['publication_dts'],
|
|
48
49
|
'seo_description': !(0, runtime_1.exists)(json, 'seo_description') ? undefined : json['seo_description'],
|
|
@@ -66,6 +67,7 @@ function SfvbBlogPostRequestToJSON(value) {
|
|
|
66
67
|
'allow_comments': value.allow_comments,
|
|
67
68
|
'author': value.author,
|
|
68
69
|
'body': value.body,
|
|
70
|
+
'dry_run': value.dry_run,
|
|
69
71
|
'excerpt': value.excerpt,
|
|
70
72
|
'publication_dts': value.publication_dts,
|
|
71
73
|
'seo_description': value.seo_description,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SfvbRobotsTxt
|
|
16
|
+
*/
|
|
17
|
+
export interface SfvbRobotsTxt {
|
|
18
|
+
/**
|
|
19
|
+
* True when the merchant has their own /robots.txt file, which is served after UltraCart's entries.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SfvbRobotsTxt
|
|
22
|
+
*/
|
|
23
|
+
custom_file?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The Sitemap lines it serves, UltraCart's own first, then any in the merchant's own robots.txt file.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SfvbRobotsTxt
|
|
28
|
+
*/
|
|
29
|
+
sitemap_lines?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The robots.txt URL on the storefront's host.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SfvbRobotsTxt
|
|
34
|
+
*/
|
|
35
|
+
url?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SfvbRobotsTxt interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSfvbRobotsTxt(value: object): boolean;
|
|
41
|
+
export declare function SfvbRobotsTxtFromJSON(json: any): SfvbRobotsTxt;
|
|
42
|
+
export declare function SfvbRobotsTxtFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbRobotsTxt;
|
|
43
|
+
export declare function SfvbRobotsTxtToJSON(value?: SfvbRobotsTxt | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SfvbRobotsTxtToJSON = exports.SfvbRobotsTxtFromJSONTyped = exports.SfvbRobotsTxtFromJSON = exports.instanceOfSfvbRobotsTxt = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SfvbRobotsTxt interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSfvbRobotsTxt(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSfvbRobotsTxt = instanceOfSfvbRobotsTxt;
|
|
26
|
+
function SfvbRobotsTxtFromJSON(json) {
|
|
27
|
+
return SfvbRobotsTxtFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SfvbRobotsTxtFromJSON = SfvbRobotsTxtFromJSON;
|
|
30
|
+
function SfvbRobotsTxtFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'custom_file': !(0, runtime_1.exists)(json, 'custom_file') ? undefined : json['custom_file'],
|
|
36
|
+
'sitemap_lines': !(0, runtime_1.exists)(json, 'sitemap_lines') ? undefined : json['sitemap_lines'],
|
|
37
|
+
'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.SfvbRobotsTxtFromJSONTyped = SfvbRobotsTxtFromJSONTyped;
|
|
41
|
+
function SfvbRobotsTxtToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'custom_file': value.custom_file,
|
|
50
|
+
'sitemap_lines': value.sitemap_lines,
|
|
51
|
+
'url': value.url,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.SfvbRobotsTxtToJSON = SfvbRobotsTxtToJSON;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SfvbSitemapFile } from './SfvbSitemapFile';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SfvbSitemap
|
|
17
|
+
*/
|
|
18
|
+
export interface SfvbSitemap {
|
|
19
|
+
/**
|
|
20
|
+
* For an index, the child files it lists, in order.
|
|
21
|
+
* @type {Array<SfvbSitemapFile>}
|
|
22
|
+
* @memberof SfvbSitemap
|
|
23
|
+
*/
|
|
24
|
+
child_files?: Array<SfvbSitemapFile>;
|
|
25
|
+
/**
|
|
26
|
+
* sitemaps.org (the index to register with Google Search Console and Bing), google-0.84 (the older Google schema) or urllist (a plain URL list).
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SfvbSitemap
|
|
29
|
+
*/
|
|
30
|
+
format?: string;
|
|
31
|
+
/**
|
|
32
|
+
* When the nightly build last wrote the sitemap, as ISO 8601.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SfvbSitemap
|
|
35
|
+
*/
|
|
36
|
+
last_built?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The sitemap's path on the storefront.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SfvbSitemap
|
|
41
|
+
*/
|
|
42
|
+
path?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The file's size in bytes.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof SfvbSitemap
|
|
47
|
+
*/
|
|
48
|
+
size_bytes?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The sitemap's https URL, the one to register.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SfvbSitemap
|
|
53
|
+
*/
|
|
54
|
+
url?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SfvbSitemap interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfSfvbSitemap(value: object): boolean;
|
|
60
|
+
export declare function SfvbSitemapFromJSON(json: any): SfvbSitemap;
|
|
61
|
+
export declare function SfvbSitemapFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbSitemap;
|
|
62
|
+
export declare function SfvbSitemapToJSON(value?: SfvbSitemap | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SfvbSitemapToJSON = exports.SfvbSitemapFromJSONTyped = exports.SfvbSitemapFromJSON = exports.instanceOfSfvbSitemap = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var SfvbSitemapFile_1 = require("./SfvbSitemapFile");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the SfvbSitemap interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfSfvbSitemap(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSfvbSitemap = instanceOfSfvbSitemap;
|
|
27
|
+
function SfvbSitemapFromJSON(json) {
|
|
28
|
+
return SfvbSitemapFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.SfvbSitemapFromJSON = SfvbSitemapFromJSON;
|
|
31
|
+
function SfvbSitemapFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'child_files': !(0, runtime_1.exists)(json, 'child_files') ? undefined : (json['child_files'].map(SfvbSitemapFile_1.SfvbSitemapFileFromJSON)),
|
|
37
|
+
'format': !(0, runtime_1.exists)(json, 'format') ? undefined : json['format'],
|
|
38
|
+
'last_built': !(0, runtime_1.exists)(json, 'last_built') ? undefined : json['last_built'],
|
|
39
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
40
|
+
'size_bytes': !(0, runtime_1.exists)(json, 'size_bytes') ? undefined : json['size_bytes'],
|
|
41
|
+
'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.SfvbSitemapFromJSONTyped = SfvbSitemapFromJSONTyped;
|
|
45
|
+
function SfvbSitemapToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'child_files': value.child_files === undefined ? undefined : (value.child_files.map(SfvbSitemapFile_1.SfvbSitemapFileToJSON)),
|
|
54
|
+
'format': value.format,
|
|
55
|
+
'last_built': value.last_built,
|
|
56
|
+
'path': value.path,
|
|
57
|
+
'size_bytes': value.size_bytes,
|
|
58
|
+
'url': value.url,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.SfvbSitemapToJSON = SfvbSitemapToJSON;
|