@teemill/website 0.28.0 → 0.30.0
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/README.md +4 -2
- package/api.ts +190 -55
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +83 -1
- package/dist/api.js +156 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +83 -1
- package/dist/esm/api.js +150 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CollectionsApi.md +13 -450
- package/docs/MenuItem.md +2 -0
- package/docs/SubmenuInner.md +2 -0
- package/docs/SubmenuItem.md +2 -0
- package/docs/UpdateMenuRequestItem.md +2 -0
- package/docs/UpdateMenuRequestItemSubmenuInner.md +2 -0
- package/docs/UpdateMenuRequestSubmenuItem.md +2 -0
- package/docs/UpdateProductCollectionsRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your PodOS Website
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -196,6 +196,7 @@ export interface MenuItem {
|
|
|
196
196
|
'link': string;
|
|
197
197
|
'color': string | null;
|
|
198
198
|
'backgroundColor': string | null;
|
|
199
|
+
'published': boolean;
|
|
199
200
|
'order': number;
|
|
200
201
|
'submenu': Array<SubmenuInner>;
|
|
201
202
|
}
|
|
@@ -560,6 +561,7 @@ export interface SubmenuInner {
|
|
|
560
561
|
'id': string;
|
|
561
562
|
'title': string;
|
|
562
563
|
'link'?: string | null;
|
|
564
|
+
'published': boolean;
|
|
563
565
|
'image': SubmenuInnerImage | null;
|
|
564
566
|
'order': number;
|
|
565
567
|
'items': Array<SubmenuItem>;
|
|
@@ -632,6 +634,7 @@ export interface SubmenuItem {
|
|
|
632
634
|
'link': string;
|
|
633
635
|
'color': string | null;
|
|
634
636
|
'backgroundColor': string | null;
|
|
637
|
+
'published': boolean;
|
|
635
638
|
'order': number;
|
|
636
639
|
}
|
|
637
640
|
export interface TargetSearchPhraseData {
|
|
@@ -727,6 +730,7 @@ export interface UpdateMenuRequestItem {
|
|
|
727
730
|
'link': string;
|
|
728
731
|
'color'?: string | null;
|
|
729
732
|
'backgroundColor'?: string | null;
|
|
733
|
+
'published'?: boolean;
|
|
730
734
|
'order': number;
|
|
731
735
|
'submenu': Array<UpdateMenuRequestItemSubmenuInner>;
|
|
732
736
|
}
|
|
@@ -734,6 +738,7 @@ export interface UpdateMenuRequestItemSubmenuInner {
|
|
|
734
738
|
'id': string | null;
|
|
735
739
|
'title': string;
|
|
736
740
|
'link'?: string | null;
|
|
741
|
+
'published'?: boolean;
|
|
737
742
|
'image'?: UpdateMenuRequestItemSubmenuInnerImage | null;
|
|
738
743
|
'order': number;
|
|
739
744
|
'items': Array<UpdateMenuRequestSubmenuItem>;
|
|
@@ -799,6 +804,7 @@ export interface UpdateMenuRequestSubmenuItem {
|
|
|
799
804
|
'link': string;
|
|
800
805
|
'color'?: string | null;
|
|
801
806
|
'backgroundColor'?: string | null;
|
|
807
|
+
'published'?: boolean;
|
|
802
808
|
'order': number;
|
|
803
809
|
}
|
|
804
810
|
export interface UpdatePageRequest {
|
|
@@ -852,6 +858,12 @@ export interface UpdatePagesRequestPagesInner {
|
|
|
852
858
|
*/
|
|
853
859
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
854
860
|
}
|
|
861
|
+
export interface UpdateProductCollectionsRequest {
|
|
862
|
+
/**
|
|
863
|
+
* An EXCLUSIVE list of collection IDs to attach to a product. If the product is in a collection not listed in this array, it will be removed from that collection.
|
|
864
|
+
*/
|
|
865
|
+
'collections': Array<string>;
|
|
866
|
+
}
|
|
855
867
|
export interface UpdateSearchRedirectRequest {
|
|
856
868
|
'searchTerm'?: string;
|
|
857
869
|
'destinationUrl'?: string;
|
|
@@ -1199,6 +1211,76 @@ export declare class BlogsApi extends BaseAPI {
|
|
|
1199
1211
|
*/
|
|
1200
1212
|
updateBlogs(requestParameters: BlogsApiUpdateBlogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlogsResponse, any, {}>>;
|
|
1201
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* CollectionsApi - axios parameter creator
|
|
1216
|
+
*/
|
|
1217
|
+
export declare const CollectionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @summary Update product collections
|
|
1221
|
+
* @param {string} project What project it is
|
|
1222
|
+
* @param {string} productId Product\'s unique identifier
|
|
1223
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
*/
|
|
1227
|
+
updateProductCollections: (project: string, productId: string, updateProductCollectionsRequest?: UpdateProductCollectionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* CollectionsApi - functional programming interface
|
|
1231
|
+
*/
|
|
1232
|
+
export declare const CollectionsApiFp: (configuration?: Configuration) => {
|
|
1233
|
+
/**
|
|
1234
|
+
*
|
|
1235
|
+
* @summary Update product collections
|
|
1236
|
+
* @param {string} project What project it is
|
|
1237
|
+
* @param {string} productId Product\'s unique identifier
|
|
1238
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
1239
|
+
* @param {*} [options] Override http request option.
|
|
1240
|
+
* @throws {RequiredError}
|
|
1241
|
+
*/
|
|
1242
|
+
updateProductCollections(project: string, productId: string, updateProductCollectionsRequest?: UpdateProductCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* CollectionsApi - factory interface
|
|
1246
|
+
*/
|
|
1247
|
+
export declare const CollectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @summary Update product collections
|
|
1251
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
1252
|
+
* @param {*} [options] Override http request option.
|
|
1253
|
+
* @throws {RequiredError}
|
|
1254
|
+
*/
|
|
1255
|
+
updateProductCollections(requestParameters: CollectionsApiUpdateProductCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1256
|
+
};
|
|
1257
|
+
/**
|
|
1258
|
+
* Request parameters for updateProductCollections operation in CollectionsApi.
|
|
1259
|
+
*/
|
|
1260
|
+
export interface CollectionsApiUpdateProductCollectionsRequest {
|
|
1261
|
+
/**
|
|
1262
|
+
* What project it is
|
|
1263
|
+
*/
|
|
1264
|
+
readonly project: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* Product\'s unique identifier
|
|
1267
|
+
*/
|
|
1268
|
+
readonly productId: string;
|
|
1269
|
+
readonly updateProductCollectionsRequest?: UpdateProductCollectionsRequest;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* CollectionsApi - object-oriented interface
|
|
1273
|
+
*/
|
|
1274
|
+
export declare class CollectionsApi extends BaseAPI {
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @summary Update product collections
|
|
1278
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
1279
|
+
* @param {*} [options] Override http request option.
|
|
1280
|
+
* @throws {RequiredError}
|
|
1281
|
+
*/
|
|
1282
|
+
updateProductCollections(requestParameters: CollectionsApiUpdateProductCollectionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1283
|
+
}
|
|
1202
1284
|
/**
|
|
1203
1285
|
* CrossSellApi - axios parameter creator
|
|
1204
1286
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.30.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -148,6 +148,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
if (project !== undefined) {
|
|
149
149
|
localVarQueryParameter['project'] = project;
|
|
150
150
|
}
|
|
151
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
151
152
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152
153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
154
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -188,6 +189,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
188
189
|
if (project !== undefined) {
|
|
189
190
|
localVarQueryParameter['project'] = project;
|
|
190
191
|
}
|
|
192
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
191
193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
195
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -236,6 +238,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
236
238
|
if (search !== undefined) {
|
|
237
239
|
localVarQueryParameter['search'] = search;
|
|
238
240
|
}
|
|
241
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
239
242
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
240
243
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
244
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -278,6 +281,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
278
281
|
localVarQueryParameter['project'] = project;
|
|
279
282
|
}
|
|
280
283
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
284
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
281
285
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
282
286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
287
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -329,6 +333,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
329
333
|
localVarQueryParameter['search'] = search;
|
|
330
334
|
}
|
|
331
335
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
332
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
333
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
339
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -551,6 +556,116 @@ export class BlogsApi extends BaseAPI {
|
|
|
551
556
|
return BlogsApiFp(this.configuration).updateBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateBlogsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
552
557
|
}
|
|
553
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
* CollectionsApi - axios parameter creator
|
|
561
|
+
*/
|
|
562
|
+
export const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
563
|
+
return {
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @summary Update product collections
|
|
567
|
+
* @param {string} project What project it is
|
|
568
|
+
* @param {string} productId Product\'s unique identifier
|
|
569
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
updateProductCollections: (project_1, productId_1, updateProductCollectionsRequest_1, ...args_1) => __awaiter(this, [project_1, productId_1, updateProductCollectionsRequest_1, ...args_1], void 0, function* (project, productId, updateProductCollectionsRequest, options = {}) {
|
|
574
|
+
// verify required parameter 'project' is not null or undefined
|
|
575
|
+
assertParamExists('updateProductCollections', 'project', project);
|
|
576
|
+
// verify required parameter 'productId' is not null or undefined
|
|
577
|
+
assertParamExists('updateProductCollections', 'productId', productId);
|
|
578
|
+
const localVarPath = `/v1/website/products/{productId}/collections`
|
|
579
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
582
|
+
let baseOptions;
|
|
583
|
+
if (configuration) {
|
|
584
|
+
baseOptions = configuration.baseOptions;
|
|
585
|
+
}
|
|
586
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
587
|
+
const localVarHeaderParameter = {};
|
|
588
|
+
const localVarQueryParameter = {};
|
|
589
|
+
// authentication session-oauth required
|
|
590
|
+
// oauth required
|
|
591
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
592
|
+
// authentication api-key required
|
|
593
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
594
|
+
if (project !== undefined) {
|
|
595
|
+
localVarQueryParameter['project'] = project;
|
|
596
|
+
}
|
|
597
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
598
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
599
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
600
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
601
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
602
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProductCollectionsRequest, localVarRequestOptions, configuration);
|
|
603
|
+
return {
|
|
604
|
+
url: toPathString(localVarUrlObj),
|
|
605
|
+
options: localVarRequestOptions,
|
|
606
|
+
};
|
|
607
|
+
}),
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* CollectionsApi - functional programming interface
|
|
612
|
+
*/
|
|
613
|
+
export const CollectionsApiFp = function (configuration) {
|
|
614
|
+
const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration);
|
|
615
|
+
return {
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @summary Update product collections
|
|
619
|
+
* @param {string} project What project it is
|
|
620
|
+
* @param {string} productId Product\'s unique identifier
|
|
621
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
*/
|
|
625
|
+
updateProductCollections(project, productId, updateProductCollectionsRequest, options) {
|
|
626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
627
|
+
var _a, _b, _c;
|
|
628
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductCollections(project, productId, updateProductCollectionsRequest, options);
|
|
629
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
630
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.updateProductCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
631
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
|
+
});
|
|
633
|
+
},
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* CollectionsApi - factory interface
|
|
638
|
+
*/
|
|
639
|
+
export const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
640
|
+
const localVarFp = CollectionsApiFp(configuration);
|
|
641
|
+
return {
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @summary Update product collections
|
|
645
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
updateProductCollections(requestParameters, options) {
|
|
650
|
+
return localVarFp.updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
651
|
+
},
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* CollectionsApi - object-oriented interface
|
|
656
|
+
*/
|
|
657
|
+
export class CollectionsApi extends BaseAPI {
|
|
658
|
+
/**
|
|
659
|
+
*
|
|
660
|
+
* @summary Update product collections
|
|
661
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
updateProductCollections(requestParameters, options) {
|
|
666
|
+
return CollectionsApiFp(this.configuration).updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
667
|
+
}
|
|
668
|
+
}
|
|
554
669
|
/**
|
|
555
670
|
* CrossSellApi - axios parameter creator
|
|
556
671
|
*/
|
|
@@ -590,6 +705,7 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
590
705
|
localVarQueryParameter['project'] = project;
|
|
591
706
|
}
|
|
592
707
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
708
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
593
709
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
594
710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
595
711
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -631,6 +747,7 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
631
747
|
if (project !== undefined) {
|
|
632
748
|
localVarQueryParameter['project'] = project;
|
|
633
749
|
}
|
|
750
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
634
751
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
635
752
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
636
753
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -770,6 +887,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
770
887
|
if (project !== undefined) {
|
|
771
888
|
localVarQueryParameter['project'] = project;
|
|
772
889
|
}
|
|
890
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
773
891
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
774
892
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
775
893
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -808,6 +926,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
808
926
|
localVarQueryParameter['project'] = project;
|
|
809
927
|
}
|
|
810
928
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
929
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
811
930
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
812
931
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
813
932
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -946,6 +1065,7 @@ export const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
946
1065
|
if (project !== undefined) {
|
|
947
1066
|
localVarQueryParameter['project'] = project;
|
|
948
1067
|
}
|
|
1068
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
949
1069
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
950
1070
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
951
1071
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -984,6 +1104,7 @@ export const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
984
1104
|
localVarQueryParameter['project'] = project;
|
|
985
1105
|
}
|
|
986
1106
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
987
1108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
988
1109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
989
1110
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1122,6 +1243,7 @@ export const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1243
|
if (project !== undefined) {
|
|
1123
1244
|
localVarQueryParameter['project'] = project;
|
|
1124
1245
|
}
|
|
1246
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1125
1247
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1126
1248
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1127
1249
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1160,6 +1282,7 @@ export const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1160
1282
|
localVarQueryParameter['project'] = project;
|
|
1161
1283
|
}
|
|
1162
1284
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1285
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1163
1286
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1164
1287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1165
1288
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1298,6 +1421,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1298
1421
|
if (project !== undefined) {
|
|
1299
1422
|
localVarQueryParameter['project'] = project;
|
|
1300
1423
|
}
|
|
1424
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1301
1425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1302
1426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1303
1427
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1338,6 +1462,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1338
1462
|
if (project !== undefined) {
|
|
1339
1463
|
localVarQueryParameter['project'] = project;
|
|
1340
1464
|
}
|
|
1465
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1341
1466
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1342
1467
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1343
1468
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1386,6 +1511,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1386
1511
|
if (search !== undefined) {
|
|
1387
1512
|
localVarQueryParameter['search'] = search;
|
|
1388
1513
|
}
|
|
1514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1389
1515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1390
1516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1391
1517
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1424,6 +1550,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1424
1550
|
localVarQueryParameter['project'] = project;
|
|
1425
1551
|
}
|
|
1426
1552
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1553
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1427
1554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1428
1555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1429
1556
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1467,6 +1594,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1467
1594
|
localVarQueryParameter['project'] = project;
|
|
1468
1595
|
}
|
|
1469
1596
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1597
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1470
1598
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1471
1599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1472
1600
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1518,6 +1646,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1518
1646
|
localVarQueryParameter['search'] = search;
|
|
1519
1647
|
}
|
|
1520
1648
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1649
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1521
1650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1522
1651
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1523
1652
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1810,6 +1939,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1810
1939
|
if (project !== undefined) {
|
|
1811
1940
|
localVarQueryParameter['project'] = project;
|
|
1812
1941
|
}
|
|
1942
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1813
1943
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1814
1944
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1815
1945
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1846,6 +1976,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1846
1976
|
if (project !== undefined) {
|
|
1847
1977
|
localVarQueryParameter['project'] = project;
|
|
1848
1978
|
}
|
|
1979
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1849
1980
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1850
1981
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1851
1982
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1882,6 +2013,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1882
2013
|
if (project !== undefined) {
|
|
1883
2014
|
localVarQueryParameter['project'] = project;
|
|
1884
2015
|
}
|
|
2016
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1885
2017
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1886
2018
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1887
2019
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1918,6 +2050,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1918
2050
|
if (project !== undefined) {
|
|
1919
2051
|
localVarQueryParameter['project'] = project;
|
|
1920
2052
|
}
|
|
2053
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1921
2054
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1922
2055
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
2056
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1954,6 +2087,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1954
2087
|
if (project !== undefined) {
|
|
1955
2088
|
localVarQueryParameter['project'] = project;
|
|
1956
2089
|
}
|
|
2090
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1957
2091
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1958
2092
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1959
2093
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1990,6 +2124,7 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1990
2124
|
if (project !== undefined) {
|
|
1991
2125
|
localVarQueryParameter['project'] = project;
|
|
1992
2126
|
}
|
|
2127
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1993
2128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1994
2129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1995
2130
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2282,6 +2417,7 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2282
2417
|
end.toISOString() :
|
|
2283
2418
|
end;
|
|
2284
2419
|
}
|
|
2420
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
2285
2421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2286
2422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2287
2423
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2322,6 +2458,7 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2322
2458
|
if (project !== undefined) {
|
|
2323
2459
|
localVarQueryParameter['project'] = project;
|
|
2324
2460
|
}
|
|
2461
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2325
2462
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2326
2463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2327
2464
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2386,6 +2523,7 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2386
2523
|
end.toISOString() :
|
|
2387
2524
|
end;
|
|
2388
2525
|
}
|
|
2526
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2389
2527
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2390
2528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2391
2529
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2428,6 +2566,7 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2428
2566
|
localVarQueryParameter['project'] = project;
|
|
2429
2567
|
}
|
|
2430
2568
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2569
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2431
2570
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2432
2571
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2433
2572
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2660,6 +2799,7 @@ export const RoutesApiAxiosParamCreator = function (configuration) {
|
|
|
2660
2799
|
if (search !== undefined) {
|
|
2661
2800
|
localVarQueryParameter['search'] = search;
|
|
2662
2801
|
}
|
|
2802
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2663
2803
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2664
2804
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2665
2805
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2777,6 +2917,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2777
2917
|
localVarQueryParameter['search'] = search;
|
|
2778
2918
|
}
|
|
2779
2919
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2920
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2780
2921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2781
2922
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2782
2923
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2818,6 +2959,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2818
2959
|
if (project !== undefined) {
|
|
2819
2960
|
localVarQueryParameter['project'] = project;
|
|
2820
2961
|
}
|
|
2962
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2821
2963
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2822
2964
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2823
2965
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2858,6 +3000,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2858
3000
|
if (project !== undefined) {
|
|
2859
3001
|
localVarQueryParameter['project'] = project;
|
|
2860
3002
|
}
|
|
3003
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2861
3004
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2862
3005
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2863
3006
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2906,6 +3049,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2906
3049
|
if (search !== undefined) {
|
|
2907
3050
|
localVarQueryParameter['search'] = search;
|
|
2908
3051
|
}
|
|
3052
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2909
3053
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2910
3054
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2911
3055
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2948,6 +3092,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2948
3092
|
localVarQueryParameter['project'] = project;
|
|
2949
3093
|
}
|
|
2950
3094
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3095
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2951
3096
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2952
3097
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2953
3098
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3206,6 +3351,7 @@ export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3206
3351
|
localVarQueryParameter['project'] = project;
|
|
3207
3352
|
}
|
|
3208
3353
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3354
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3209
3355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3210
3356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3211
3357
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3247,6 +3393,7 @@ export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3247
3393
|
if (project !== undefined) {
|
|
3248
3394
|
localVarQueryParameter['project'] = project;
|
|
3249
3395
|
}
|
|
3396
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3250
3397
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3251
3398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3252
3399
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3283,6 +3430,7 @@ export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3283
3430
|
if (project !== undefined) {
|
|
3284
3431
|
localVarQueryParameter['project'] = project;
|
|
3285
3432
|
}
|
|
3433
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3286
3434
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3287
3435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3288
3436
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3321,6 +3469,7 @@ export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3321
3469
|
localVarQueryParameter['project'] = project;
|
|
3322
3470
|
}
|
|
3323
3471
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3472
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3324
3473
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3325
3474
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3326
3475
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED