ultracart_rest_api_v2_typescript 4.1.174 → 4.1.175
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 +2 -0
- package/README.md +3 -2
- package/dist/apis/SfvbApi.d.ts +30 -1
- package/dist/apis/SfvbApi.js +64 -0
- package/dist/models/SfvbPageRefreshRequest.d.ts +31 -0
- package/dist/models/SfvbPageRefreshRequest.js +50 -0
- package/dist/models/SfvbPageRefreshResponse.d.ts +55 -0
- package/dist/models/SfvbPageRefreshResponse.js +58 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/SfvbApi.ts +76 -0
- package/src/models/SfvbPageRefreshRequest.ts +67 -0
- package/src/models/SfvbPageRefreshResponse.ts +99 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1060,6 +1060,8 @@ src/models/SfvbPageItemsResponse.ts
|
|
|
1060
1060
|
src/models/SfvbPageListResponse.ts
|
|
1061
1061
|
src/models/SfvbPageMultimedia.ts
|
|
1062
1062
|
src/models/SfvbPageMultimediaRequest.ts
|
|
1063
|
+
src/models/SfvbPageRefreshRequest.ts
|
|
1064
|
+
src/models/SfvbPageRefreshResponse.ts
|
|
1063
1065
|
src/models/SfvbPageResponse.ts
|
|
1064
1066
|
src/models/SfvbPageSelectors.ts
|
|
1065
1067
|
src/models/SfvbPageSettingsRequest.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.175
|
|
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.175 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -84,6 +84,7 @@ Not every change is committed to every SDK.
|
|
|
84
84
|
|
|
85
85
|
| Version | Date | Comments |
|
|
86
86
|
| --: | :-: | --- |
|
|
87
|
+
| 4.1.175 | 09/29/2026 | sfvb internal testing |
|
|
87
88
|
| 4.1.174 | 09/25/2026 | sfvb internal testing |
|
|
88
89
|
| 4.1.173 | 09/24/2026 | storefront communications flow re-entry setting |
|
|
89
90
|
| 4.1.172 | 09/24/2026 | storefront communications flow re-entry setting |
|
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 { SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryEntry, SfvbLibraryResponse, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
|
|
13
|
+
import { SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryEntry, SfvbLibraryResponse, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, 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;
|
|
@@ -375,6 +375,10 @@ export interface PutSfvbThemeAttributesRequest {
|
|
|
375
375
|
themeOid: number;
|
|
376
376
|
attributeUpdateRequest: SfvbThemeAttributeUpdateRequest;
|
|
377
377
|
}
|
|
378
|
+
export interface RefreshSfvbPageRequest {
|
|
379
|
+
storefrontOid: number;
|
|
380
|
+
pageRefreshRequest: SfvbPageRefreshRequest;
|
|
381
|
+
}
|
|
378
382
|
export interface RemoveSfvbPageBlogPostsRequest {
|
|
379
383
|
storefrontOid: number;
|
|
380
384
|
path: string;
|
|
@@ -1679,6 +1683,21 @@ export interface SfvbApiInterface {
|
|
|
1679
1683
|
* Change a theme\'s colors, fonts and settings
|
|
1680
1684
|
*/
|
|
1681
1685
|
putSfvbThemeAttributes(requestParameters: PutSfvbThemeAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbThemeAttributesResponse>;
|
|
1686
|
+
/**
|
|
1687
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
1688
|
+
* @summary Drop one page\'s cached copy
|
|
1689
|
+
* @param {number} storefrontOid
|
|
1690
|
+
* @param {SfvbPageRefreshRequest} pageRefreshRequest The page to refresh
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
1693
|
+
* @memberof SfvbApiInterface
|
|
1694
|
+
*/
|
|
1695
|
+
refreshSfvbPageRaw(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbPageRefreshResponse>>;
|
|
1696
|
+
/**
|
|
1697
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
1698
|
+
* Drop one page\'s cached copy
|
|
1699
|
+
*/
|
|
1700
|
+
refreshSfvbPage(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPageRefreshResponse>;
|
|
1682
1701
|
/**
|
|
1683
1702
|
* Removes posts by blog_post_oid, at most 500 at a time. Every oid must be on the page, and one that is not changes nothing. The posts themselves are not touched. Always needs sfvb_publish.
|
|
1684
1703
|
* @summary Take blog posts off a page
|
|
@@ -2705,6 +2724,16 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
|
|
|
2705
2724
|
* Change a theme\'s colors, fonts and settings
|
|
2706
2725
|
*/
|
|
2707
2726
|
putSfvbThemeAttributes(requestParameters: PutSfvbThemeAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbThemeAttributesResponse>;
|
|
2727
|
+
/**
|
|
2728
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
2729
|
+
* Drop one page\'s cached copy
|
|
2730
|
+
*/
|
|
2731
|
+
refreshSfvbPageRaw(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbPageRefreshResponse>>;
|
|
2732
|
+
/**
|
|
2733
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
2734
|
+
* Drop one page\'s cached copy
|
|
2735
|
+
*/
|
|
2736
|
+
refreshSfvbPage(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPageRefreshResponse>;
|
|
2708
2737
|
/**
|
|
2709
2738
|
* Removes posts by blog_post_oid, at most 500 at a time. Every oid must be on the page, and one that is not changes nothing. The posts themselves are not touched. Always needs sfvb_publish.
|
|
2710
2739
|
* Take blog posts off a page
|
package/dist/apis/SfvbApi.js
CHANGED
|
@@ -5121,6 +5121,70 @@ var SfvbApi = /** @class */ (function (_super) {
|
|
|
5121
5121
|
});
|
|
5122
5122
|
});
|
|
5123
5123
|
};
|
|
5124
|
+
/**
|
|
5125
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
5126
|
+
* Drop one page\'s cached copy
|
|
5127
|
+
*/
|
|
5128
|
+
SfvbApi.prototype.refreshSfvbPageRaw = function (requestParameters, initOverrides) {
|
|
5129
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5130
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
5131
|
+
return __generator(this, function (_c) {
|
|
5132
|
+
switch (_c.label) {
|
|
5133
|
+
case 0:
|
|
5134
|
+
if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
|
|
5135
|
+
throw new runtime.RequiredError('storefrontOid', 'Required parameter requestParameters.storefrontOid was null or undefined when calling refreshSfvbPage.');
|
|
5136
|
+
}
|
|
5137
|
+
if (requestParameters.pageRefreshRequest === null || requestParameters.pageRefreshRequest === undefined) {
|
|
5138
|
+
throw new runtime.RequiredError('pageRefreshRequest', 'Required parameter requestParameters.pageRefreshRequest was null or undefined when calling refreshSfvbPage.');
|
|
5139
|
+
}
|
|
5140
|
+
queryParameters = {};
|
|
5141
|
+
headerParameters = {};
|
|
5142
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
5143
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
5144
|
+
// oauth required
|
|
5145
|
+
_a = headerParameters;
|
|
5146
|
+
_b = "Authorization";
|
|
5147
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", [])];
|
|
5148
|
+
case 1:
|
|
5149
|
+
// oauth required
|
|
5150
|
+
_a[_b] = _c.sent();
|
|
5151
|
+
_c.label = 2;
|
|
5152
|
+
case 2:
|
|
5153
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
5154
|
+
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
5155
|
+
}
|
|
5156
|
+
return [4 /*yield*/, this.request({
|
|
5157
|
+
path: "/sfvb/storefronts/{storefront_oid}/pages/refresh".replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(requestParameters.storefrontOid))),
|
|
5158
|
+
method: 'POST',
|
|
5159
|
+
headers: headerParameters,
|
|
5160
|
+
query: queryParameters,
|
|
5161
|
+
body: (0, models_1.SfvbPageRefreshRequestToJSON)(requestParameters.pageRefreshRequest),
|
|
5162
|
+
}, initOverrides)];
|
|
5163
|
+
case 3:
|
|
5164
|
+
response = _c.sent();
|
|
5165
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbPageRefreshResponseFromJSON)(jsonValue); })];
|
|
5166
|
+
}
|
|
5167
|
+
});
|
|
5168
|
+
});
|
|
5169
|
+
};
|
|
5170
|
+
/**
|
|
5171
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
5172
|
+
* Drop one page\'s cached copy
|
|
5173
|
+
*/
|
|
5174
|
+
SfvbApi.prototype.refreshSfvbPage = function (requestParameters, initOverrides) {
|
|
5175
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5176
|
+
var response;
|
|
5177
|
+
return __generator(this, function (_a) {
|
|
5178
|
+
switch (_a.label) {
|
|
5179
|
+
case 0: return [4 /*yield*/, this.refreshSfvbPageRaw(requestParameters, initOverrides)];
|
|
5180
|
+
case 1:
|
|
5181
|
+
response = _a.sent();
|
|
5182
|
+
return [4 /*yield*/, response.value()];
|
|
5183
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
5184
|
+
}
|
|
5185
|
+
});
|
|
5186
|
+
});
|
|
5187
|
+
};
|
|
5124
5188
|
/**
|
|
5125
5189
|
* Removes posts by blog_post_oid, at most 500 at a time. Every oid must be on the page, and one that is not changes nothing. The posts themselves are not touched. Always needs sfvb_publish.
|
|
5126
5190
|
* Take blog posts off a page
|
|
@@ -0,0 +1,31 @@
|
|
|
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 SfvbPageRefreshRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SfvbPageRefreshRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The page to refresh. A path such as /shop/coffee.html, or a full URL on this storefront's host. The query string is ignored, and a path ending in / means its index.html. One page per request.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SfvbPageRefreshRequest
|
|
22
|
+
*/
|
|
23
|
+
url?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SfvbPageRefreshRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSfvbPageRefreshRequest(value: object): boolean;
|
|
29
|
+
export declare function SfvbPageRefreshRequestFromJSON(json: any): SfvbPageRefreshRequest;
|
|
30
|
+
export declare function SfvbPageRefreshRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbPageRefreshRequest;
|
|
31
|
+
export declare function SfvbPageRefreshRequestToJSON(value?: SfvbPageRefreshRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.SfvbPageRefreshRequestToJSON = exports.SfvbPageRefreshRequestFromJSONTyped = exports.SfvbPageRefreshRequestFromJSON = exports.instanceOfSfvbPageRefreshRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SfvbPageRefreshRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSfvbPageRefreshRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSfvbPageRefreshRequest = instanceOfSfvbPageRefreshRequest;
|
|
26
|
+
function SfvbPageRefreshRequestFromJSON(json) {
|
|
27
|
+
return SfvbPageRefreshRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SfvbPageRefreshRequestFromJSON = SfvbPageRefreshRequestFromJSON;
|
|
30
|
+
function SfvbPageRefreshRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SfvbPageRefreshRequestFromJSONTyped = SfvbPageRefreshRequestFromJSONTyped;
|
|
39
|
+
function SfvbPageRefreshRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'url': value.url,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SfvbPageRefreshRequestToJSON = SfvbPageRefreshRequestToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 SfvbPageRefreshResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SfvbPageRefreshResponse {
|
|
18
|
+
/**
|
|
19
|
+
* A plain sentence saying what happened.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SfvbPageRefreshResponse
|
|
22
|
+
*/
|
|
23
|
+
message?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The page path the refresh used, after normalization.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SfvbPageRefreshResponse
|
|
28
|
+
*/
|
|
29
|
+
path?: string;
|
|
30
|
+
/**
|
|
31
|
+
* True when a cached copy was dropped. The next request renders the page fresh.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SfvbPageRefreshResponse
|
|
34
|
+
*/
|
|
35
|
+
refreshed?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* True when the page had a cache entry.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SfvbPageRefreshResponse
|
|
40
|
+
*/
|
|
41
|
+
was_cached?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* True when that entry was being served from cache.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof SfvbPageRefreshResponse
|
|
46
|
+
*/
|
|
47
|
+
was_valid?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SfvbPageRefreshResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSfvbPageRefreshResponse(value: object): boolean;
|
|
53
|
+
export declare function SfvbPageRefreshResponseFromJSON(json: any): SfvbPageRefreshResponse;
|
|
54
|
+
export declare function SfvbPageRefreshResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbPageRefreshResponse;
|
|
55
|
+
export declare function SfvbPageRefreshResponseToJSON(value?: SfvbPageRefreshResponse | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.SfvbPageRefreshResponseToJSON = exports.SfvbPageRefreshResponseFromJSONTyped = exports.SfvbPageRefreshResponseFromJSON = exports.instanceOfSfvbPageRefreshResponse = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SfvbPageRefreshResponse interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSfvbPageRefreshResponse(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSfvbPageRefreshResponse = instanceOfSfvbPageRefreshResponse;
|
|
26
|
+
function SfvbPageRefreshResponseFromJSON(json) {
|
|
27
|
+
return SfvbPageRefreshResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SfvbPageRefreshResponseFromJSON = SfvbPageRefreshResponseFromJSON;
|
|
30
|
+
function SfvbPageRefreshResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': !(0, runtime_1.exists)(json, 'message') ? undefined : json['message'],
|
|
36
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
37
|
+
'refreshed': !(0, runtime_1.exists)(json, 'refreshed') ? undefined : json['refreshed'],
|
|
38
|
+
'was_cached': !(0, runtime_1.exists)(json, 'was_cached') ? undefined : json['was_cached'],
|
|
39
|
+
'was_valid': !(0, runtime_1.exists)(json, 'was_valid') ? undefined : json['was_valid'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.SfvbPageRefreshResponseFromJSONTyped = SfvbPageRefreshResponseFromJSONTyped;
|
|
43
|
+
function SfvbPageRefreshResponseToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'message': value.message,
|
|
52
|
+
'path': value.path,
|
|
53
|
+
'refreshed': value.refreshed,
|
|
54
|
+
'was_cached': value.was_cached,
|
|
55
|
+
'was_valid': value.was_valid,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.SfvbPageRefreshResponseToJSON = SfvbPageRefreshResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1030,6 +1030,8 @@ export * from './SfvbPageItemsResponse';
|
|
|
1030
1030
|
export * from './SfvbPageListResponse';
|
|
1031
1031
|
export * from './SfvbPageMultimedia';
|
|
1032
1032
|
export * from './SfvbPageMultimediaRequest';
|
|
1033
|
+
export * from './SfvbPageRefreshRequest';
|
|
1034
|
+
export * from './SfvbPageRefreshResponse';
|
|
1033
1035
|
export * from './SfvbPageResponse';
|
|
1034
1036
|
export * from './SfvbPageSelectors';
|
|
1035
1037
|
export * from './SfvbPageSettingsRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -1048,6 +1048,8 @@ __exportStar(require("./SfvbPageItemsResponse"), exports);
|
|
|
1048
1048
|
__exportStar(require("./SfvbPageListResponse"), exports);
|
|
1049
1049
|
__exportStar(require("./SfvbPageMultimedia"), exports);
|
|
1050
1050
|
__exportStar(require("./SfvbPageMultimediaRequest"), exports);
|
|
1051
|
+
__exportStar(require("./SfvbPageRefreshRequest"), exports);
|
|
1052
|
+
__exportStar(require("./SfvbPageRefreshResponse"), exports);
|
|
1051
1053
|
__exportStar(require("./SfvbPageResponse"), exports);
|
|
1052
1054
|
__exportStar(require("./SfvbPageSelectors"), exports);
|
|
1053
1055
|
__exportStar(require("./SfvbPageSettingsRequest"), exports);
|
package/package.json
CHANGED
package/src/apis/SfvbApi.ts
CHANGED
|
@@ -159,6 +159,12 @@ import {
|
|
|
159
159
|
SfvbPageMultimediaRequest,
|
|
160
160
|
SfvbPageMultimediaRequestFromJSON,
|
|
161
161
|
SfvbPageMultimediaRequestToJSON,
|
|
162
|
+
SfvbPageRefreshRequest,
|
|
163
|
+
SfvbPageRefreshRequestFromJSON,
|
|
164
|
+
SfvbPageRefreshRequestToJSON,
|
|
165
|
+
SfvbPageRefreshResponse,
|
|
166
|
+
SfvbPageRefreshResponseFromJSON,
|
|
167
|
+
SfvbPageRefreshResponseToJSON,
|
|
162
168
|
SfvbPageResponse,
|
|
163
169
|
SfvbPageResponseFromJSON,
|
|
164
170
|
SfvbPageResponseToJSON,
|
|
@@ -697,6 +703,11 @@ export interface PutSfvbThemeAttributesRequest {
|
|
|
697
703
|
attributeUpdateRequest: SfvbThemeAttributeUpdateRequest;
|
|
698
704
|
}
|
|
699
705
|
|
|
706
|
+
export interface RefreshSfvbPageRequest {
|
|
707
|
+
storefrontOid: number;
|
|
708
|
+
pageRefreshRequest: SfvbPageRefreshRequest;
|
|
709
|
+
}
|
|
710
|
+
|
|
700
711
|
export interface RemoveSfvbPageBlogPostsRequest {
|
|
701
712
|
storefrontOid: number;
|
|
702
713
|
path: string;
|
|
@@ -2171,6 +2182,23 @@ export interface SfvbApiInterface {
|
|
|
2171
2182
|
*/
|
|
2172
2183
|
putSfvbThemeAttributes(requestParameters: PutSfvbThemeAttributesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbThemeAttributesResponse>;
|
|
2173
2184
|
|
|
2185
|
+
/**
|
|
2186
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
2187
|
+
* @summary Drop one page\'s cached copy
|
|
2188
|
+
* @param {number} storefrontOid
|
|
2189
|
+
* @param {SfvbPageRefreshRequest} pageRefreshRequest The page to refresh
|
|
2190
|
+
* @param {*} [options] Override http request option.
|
|
2191
|
+
* @throws {RequiredError}
|
|
2192
|
+
* @memberof SfvbApiInterface
|
|
2193
|
+
*/
|
|
2194
|
+
refreshSfvbPageRaw(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbPageRefreshResponse>>;
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
2198
|
+
* Drop one page\'s cached copy
|
|
2199
|
+
*/
|
|
2200
|
+
refreshSfvbPage(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPageRefreshResponse>;
|
|
2201
|
+
|
|
2174
2202
|
/**
|
|
2175
2203
|
* Removes posts by blog_post_oid, at most 500 at a time. Every oid must be on the page, and one that is not changes nothing. The posts themselves are not touched. Always needs sfvb_publish.
|
|
2176
2204
|
* @summary Take blog posts off a page
|
|
@@ -6311,6 +6339,54 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
|
|
|
6311
6339
|
return await response.value();
|
|
6312
6340
|
}
|
|
6313
6341
|
|
|
6342
|
+
/**
|
|
6343
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
6344
|
+
* Drop one page\'s cached copy
|
|
6345
|
+
*/
|
|
6346
|
+
async refreshSfvbPageRaw(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbPageRefreshResponse>> {
|
|
6347
|
+
if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
|
|
6348
|
+
throw new runtime.RequiredError('storefrontOid','Required parameter requestParameters.storefrontOid was null or undefined when calling refreshSfvbPage.');
|
|
6349
|
+
}
|
|
6350
|
+
|
|
6351
|
+
if (requestParameters.pageRefreshRequest === null || requestParameters.pageRefreshRequest === undefined) {
|
|
6352
|
+
throw new runtime.RequiredError('pageRefreshRequest','Required parameter requestParameters.pageRefreshRequest was null or undefined when calling refreshSfvbPage.');
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
const queryParameters: any = {};
|
|
6356
|
+
|
|
6357
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
6358
|
+
|
|
6359
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6360
|
+
|
|
6361
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
6362
|
+
// oauth required
|
|
6363
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", []);
|
|
6364
|
+
}
|
|
6365
|
+
|
|
6366
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
6367
|
+
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
6368
|
+
}
|
|
6369
|
+
|
|
6370
|
+
const response = await this.request({
|
|
6371
|
+
path: `/sfvb/storefronts/{storefront_oid}/pages/refresh`.replace(`{${"storefront_oid"}}`, encodeURIComponent(String(requestParameters.storefrontOid))),
|
|
6372
|
+
method: 'POST',
|
|
6373
|
+
headers: headerParameters,
|
|
6374
|
+
query: queryParameters,
|
|
6375
|
+
body: SfvbPageRefreshRequestToJSON(requestParameters.pageRefreshRequest),
|
|
6376
|
+
}, initOverrides);
|
|
6377
|
+
|
|
6378
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SfvbPageRefreshResponseFromJSON(jsonValue));
|
|
6379
|
+
}
|
|
6380
|
+
|
|
6381
|
+
/**
|
|
6382
|
+
* The next request renders the page fresh. Use it when a write succeeded, a read shows the new value, and the public page still shows the old one. Writes normally refresh the pages they affect, so a stale page after a write is a bug worth reporting with its URL. One page per request. The response says whether the page had a cached copy and whether anything was dropped.
|
|
6383
|
+
* Drop one page\'s cached copy
|
|
6384
|
+
*/
|
|
6385
|
+
async refreshSfvbPage(requestParameters: RefreshSfvbPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbPageRefreshResponse> {
|
|
6386
|
+
const response = await this.refreshSfvbPageRaw(requestParameters, initOverrides);
|
|
6387
|
+
return await response.value();
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6314
6390
|
/**
|
|
6315
6391
|
* Removes posts by blog_post_oid, at most 500 at a time. Every oid must be on the page, and one that is not changes nothing. The posts themselves are not touched. Always needs sfvb_publish.
|
|
6316
6392
|
* Take blog posts off a page
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UltraCart Rest API V2
|
|
5
|
+
* UltraCart REST API Version 2
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
* Contact: support@ultracart.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SfvbPageRefreshRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SfvbPageRefreshRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The page to refresh. A path such as /shop/coffee.html, or a full URL on this storefront's host. The query string is ignored, and a path ending in / means its index.html. One page per request.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SfvbPageRefreshRequest
|
|
26
|
+
*/
|
|
27
|
+
url?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SfvbPageRefreshRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfSfvbPageRefreshRequest(value: object): boolean {
|
|
36
|
+
let isInstance = true;
|
|
37
|
+
|
|
38
|
+
return isInstance;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function SfvbPageRefreshRequestFromJSON(json: any): SfvbPageRefreshRequest {
|
|
42
|
+
return SfvbPageRefreshRequestFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SfvbPageRefreshRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbPageRefreshRequest {
|
|
46
|
+
if ((json === undefined) || (json === null)) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
|
|
51
|
+
'url': !exists(json, 'url') ? undefined : json['url'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SfvbPageRefreshRequestToJSON(value?: SfvbPageRefreshRequest | null): any {
|
|
56
|
+
if (value === undefined) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (value === null) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'url': value.url,
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UltraCart Rest API V2
|
|
5
|
+
* UltraCart REST API Version 2
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
* Contact: support@ultracart.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SfvbPageRefreshResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface SfvbPageRefreshResponse {
|
|
22
|
+
/**
|
|
23
|
+
* A plain sentence saying what happened.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SfvbPageRefreshResponse
|
|
26
|
+
*/
|
|
27
|
+
message?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The page path the refresh used, after normalization.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SfvbPageRefreshResponse
|
|
32
|
+
*/
|
|
33
|
+
path?: string;
|
|
34
|
+
/**
|
|
35
|
+
* True when a cached copy was dropped. The next request renders the page fresh.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof SfvbPageRefreshResponse
|
|
38
|
+
*/
|
|
39
|
+
refreshed?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* True when the page had a cache entry.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof SfvbPageRefreshResponse
|
|
44
|
+
*/
|
|
45
|
+
was_cached?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* True when that entry was being served from cache.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof SfvbPageRefreshResponse
|
|
50
|
+
*/
|
|
51
|
+
was_valid?: boolean;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SfvbPageRefreshResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfSfvbPageRefreshResponse(value: object): boolean {
|
|
60
|
+
let isInstance = true;
|
|
61
|
+
|
|
62
|
+
return isInstance;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function SfvbPageRefreshResponseFromJSON(json: any): SfvbPageRefreshResponse {
|
|
66
|
+
return SfvbPageRefreshResponseFromJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function SfvbPageRefreshResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbPageRefreshResponse {
|
|
70
|
+
if ((json === undefined) || (json === null)) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
76
|
+
'path': !exists(json, 'path') ? undefined : json['path'],
|
|
77
|
+
'refreshed': !exists(json, 'refreshed') ? undefined : json['refreshed'],
|
|
78
|
+
'was_cached': !exists(json, 'was_cached') ? undefined : json['was_cached'],
|
|
79
|
+
'was_valid': !exists(json, 'was_valid') ? undefined : json['was_valid'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function SfvbPageRefreshResponseToJSON(value?: SfvbPageRefreshResponse | null): any {
|
|
84
|
+
if (value === undefined) {
|
|
85
|
+
return undefined;
|
|
86
|
+
}
|
|
87
|
+
if (value === null) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'message': value.message,
|
|
93
|
+
'path': value.path,
|
|
94
|
+
'refreshed': value.refreshed,
|
|
95
|
+
'was_cached': value.was_cached,
|
|
96
|
+
'was_valid': value.was_valid,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1032,6 +1032,8 @@ export * from './SfvbPageItemsResponse';
|
|
|
1032
1032
|
export * from './SfvbPageListResponse';
|
|
1033
1033
|
export * from './SfvbPageMultimedia';
|
|
1034
1034
|
export * from './SfvbPageMultimediaRequest';
|
|
1035
|
+
export * from './SfvbPageRefreshRequest';
|
|
1036
|
+
export * from './SfvbPageRefreshResponse';
|
|
1035
1037
|
export * from './SfvbPageResponse';
|
|
1036
1038
|
export * from './SfvbPageSelectors';
|
|
1037
1039
|
export * from './SfvbPageSettingsRequest';
|