@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/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/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your PodOS Website
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.30.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.WebsiteApi = exports.WebsiteApiFactory = exports.WebsiteApiFp = exports.WebsiteApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = void 0;
|
|
25
|
+
exports.ReviewsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.FooterApi = exports.FooterApiFactory = exports.FooterApiFp = exports.FooterApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.BlogsApi = exports.BlogsApiFactory = exports.BlogsApiFp = exports.BlogsApiAxiosParamCreator = exports.UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = exports.UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = exports.UpdateMenuRequestItemSubmenuInnerModeEnum = exports.SubmenuInnerImageTextShadowEnum = exports.SubmenuInnerImageTextAlignmentEnum = exports.SubmenuInnerImageButtonWidthEnum = exports.SubmenuInnerImageButtonBorderRadiusEnum = exports.SubmenuInnerImageBorderRadiusEnum = exports.SubmenuInnerModeEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
|
+
exports.WebsiteApi = exports.WebsiteApiFactory = exports.WebsiteApiFp = exports.WebsiteApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = exports.RoutesApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -152,6 +152,7 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
152
152
|
if (project !== undefined) {
|
|
153
153
|
localVarQueryParameter['project'] = project;
|
|
154
154
|
}
|
|
155
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
155
156
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
156
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
158
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -192,6 +193,7 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
192
193
|
if (project !== undefined) {
|
|
193
194
|
localVarQueryParameter['project'] = project;
|
|
194
195
|
}
|
|
196
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
197
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
198
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
199
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -240,6 +242,7 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
240
242
|
if (search !== undefined) {
|
|
241
243
|
localVarQueryParameter['search'] = search;
|
|
242
244
|
}
|
|
245
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
243
246
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
247
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
248
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -282,6 +285,7 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
282
285
|
localVarQueryParameter['project'] = project;
|
|
283
286
|
}
|
|
284
287
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
288
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
285
289
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
286
290
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
291
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -333,6 +337,7 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
333
337
|
localVarQueryParameter['search'] = search;
|
|
334
338
|
}
|
|
335
339
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
340
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
336
341
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
337
342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
343
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -559,6 +564,120 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
559
564
|
}
|
|
560
565
|
}
|
|
561
566
|
exports.BlogsApi = BlogsApi;
|
|
567
|
+
/**
|
|
568
|
+
* CollectionsApi - axios parameter creator
|
|
569
|
+
*/
|
|
570
|
+
const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
571
|
+
return {
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @summary Update product collections
|
|
575
|
+
* @param {string} project What project it is
|
|
576
|
+
* @param {string} productId Product\'s unique identifier
|
|
577
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
578
|
+
* @param {*} [options] Override http request option.
|
|
579
|
+
* @throws {RequiredError}
|
|
580
|
+
*/
|
|
581
|
+
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 = {}) {
|
|
582
|
+
// verify required parameter 'project' is not null or undefined
|
|
583
|
+
(0, common_1.assertParamExists)('updateProductCollections', 'project', project);
|
|
584
|
+
// verify required parameter 'productId' is not null or undefined
|
|
585
|
+
(0, common_1.assertParamExists)('updateProductCollections', 'productId', productId);
|
|
586
|
+
const localVarPath = `/v1/website/products/{productId}/collections`
|
|
587
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
588
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
589
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
590
|
+
let baseOptions;
|
|
591
|
+
if (configuration) {
|
|
592
|
+
baseOptions = configuration.baseOptions;
|
|
593
|
+
}
|
|
594
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
595
|
+
const localVarHeaderParameter = {};
|
|
596
|
+
const localVarQueryParameter = {};
|
|
597
|
+
// authentication session-oauth required
|
|
598
|
+
// oauth required
|
|
599
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
600
|
+
// authentication api-key required
|
|
601
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
602
|
+
if (project !== undefined) {
|
|
603
|
+
localVarQueryParameter['project'] = project;
|
|
604
|
+
}
|
|
605
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
606
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
607
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
608
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
609
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
610
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateProductCollectionsRequest, localVarRequestOptions, configuration);
|
|
611
|
+
return {
|
|
612
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
613
|
+
options: localVarRequestOptions,
|
|
614
|
+
};
|
|
615
|
+
}),
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
exports.CollectionsApiAxiosParamCreator = CollectionsApiAxiosParamCreator;
|
|
619
|
+
/**
|
|
620
|
+
* CollectionsApi - functional programming interface
|
|
621
|
+
*/
|
|
622
|
+
const CollectionsApiFp = function (configuration) {
|
|
623
|
+
const localVarAxiosParamCreator = (0, exports.CollectionsApiAxiosParamCreator)(configuration);
|
|
624
|
+
return {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @summary Update product collections
|
|
628
|
+
* @param {string} project What project it is
|
|
629
|
+
* @param {string} productId Product\'s unique identifier
|
|
630
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
*/
|
|
634
|
+
updateProductCollections(project, productId, updateProductCollectionsRequest, options) {
|
|
635
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
636
|
+
var _a, _b, _c;
|
|
637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProductCollections(project, productId, updateProductCollectionsRequest, options);
|
|
638
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
639
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.updateProductCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
640
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
641
|
+
});
|
|
642
|
+
},
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
exports.CollectionsApiFp = CollectionsApiFp;
|
|
646
|
+
/**
|
|
647
|
+
* CollectionsApi - factory interface
|
|
648
|
+
*/
|
|
649
|
+
const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
650
|
+
const localVarFp = (0, exports.CollectionsApiFp)(configuration);
|
|
651
|
+
return {
|
|
652
|
+
/**
|
|
653
|
+
*
|
|
654
|
+
* @summary Update product collections
|
|
655
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
*/
|
|
659
|
+
updateProductCollections(requestParameters, options) {
|
|
660
|
+
return localVarFp.updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
661
|
+
},
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
exports.CollectionsApiFactory = CollectionsApiFactory;
|
|
665
|
+
/**
|
|
666
|
+
* CollectionsApi - object-oriented interface
|
|
667
|
+
*/
|
|
668
|
+
class CollectionsApi extends base_1.BaseAPI {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @summary Update product collections
|
|
672
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
updateProductCollections(requestParameters, options) {
|
|
677
|
+
return (0, exports.CollectionsApiFp)(this.configuration).updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
exports.CollectionsApi = CollectionsApi;
|
|
562
681
|
/**
|
|
563
682
|
* CrossSellApi - axios parameter creator
|
|
564
683
|
*/
|
|
@@ -598,6 +717,7 @@ const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
598
717
|
localVarQueryParameter['project'] = project;
|
|
599
718
|
}
|
|
600
719
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
720
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
601
721
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
602
722
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
603
723
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -639,6 +759,7 @@ const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
639
759
|
if (project !== undefined) {
|
|
640
760
|
localVarQueryParameter['project'] = project;
|
|
641
761
|
}
|
|
762
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
642
763
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
643
764
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
644
765
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -782,6 +903,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
782
903
|
if (project !== undefined) {
|
|
783
904
|
localVarQueryParameter['project'] = project;
|
|
784
905
|
}
|
|
906
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
785
907
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
786
908
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
787
909
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -820,6 +942,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
820
942
|
localVarQueryParameter['project'] = project;
|
|
821
943
|
}
|
|
822
944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
945
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
823
946
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
824
947
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
825
948
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -962,6 +1085,7 @@ const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
962
1085
|
if (project !== undefined) {
|
|
963
1086
|
localVarQueryParameter['project'] = project;
|
|
964
1087
|
}
|
|
1088
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
965
1089
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
966
1090
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
967
1091
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1000,6 +1124,7 @@ const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
1000
1124
|
localVarQueryParameter['project'] = project;
|
|
1001
1125
|
}
|
|
1002
1126
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1127
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1003
1128
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1004
1129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1005
1130
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1142,6 +1267,7 @@ const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1142
1267
|
if (project !== undefined) {
|
|
1143
1268
|
localVarQueryParameter['project'] = project;
|
|
1144
1269
|
}
|
|
1270
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1145
1271
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1146
1272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1147
1273
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1180,6 +1306,7 @@ const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1180
1306
|
localVarQueryParameter['project'] = project;
|
|
1181
1307
|
}
|
|
1182
1308
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1309
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1183
1310
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1184
1311
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1185
1312
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1322,6 +1449,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1322
1449
|
if (project !== undefined) {
|
|
1323
1450
|
localVarQueryParameter['project'] = project;
|
|
1324
1451
|
}
|
|
1452
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1325
1453
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1326
1454
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1327
1455
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1362,6 +1490,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1362
1490
|
if (project !== undefined) {
|
|
1363
1491
|
localVarQueryParameter['project'] = project;
|
|
1364
1492
|
}
|
|
1493
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1365
1494
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1366
1495
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1367
1496
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1410,6 +1539,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1410
1539
|
if (search !== undefined) {
|
|
1411
1540
|
localVarQueryParameter['search'] = search;
|
|
1412
1541
|
}
|
|
1542
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1413
1543
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1414
1544
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1415
1545
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1448,6 +1578,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1448
1578
|
localVarQueryParameter['project'] = project;
|
|
1449
1579
|
}
|
|
1450
1580
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1581
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1451
1582
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1452
1583
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1453
1584
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1491,6 +1622,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1491
1622
|
localVarQueryParameter['project'] = project;
|
|
1492
1623
|
}
|
|
1493
1624
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1625
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1494
1626
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1495
1627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1496
1628
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1542,6 +1674,7 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1542
1674
|
localVarQueryParameter['search'] = search;
|
|
1543
1675
|
}
|
|
1544
1676
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1677
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1545
1678
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1546
1679
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1547
1680
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1838,6 +1971,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1838
1971
|
if (project !== undefined) {
|
|
1839
1972
|
localVarQueryParameter['project'] = project;
|
|
1840
1973
|
}
|
|
1974
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1841
1975
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1842
1976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1843
1977
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1874,6 +2008,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1874
2008
|
if (project !== undefined) {
|
|
1875
2009
|
localVarQueryParameter['project'] = project;
|
|
1876
2010
|
}
|
|
2011
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1877
2012
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1878
2013
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1879
2014
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1910,6 +2045,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1910
2045
|
if (project !== undefined) {
|
|
1911
2046
|
localVarQueryParameter['project'] = project;
|
|
1912
2047
|
}
|
|
2048
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1913
2049
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1914
2050
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1915
2051
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1946,6 +2082,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1946
2082
|
if (project !== undefined) {
|
|
1947
2083
|
localVarQueryParameter['project'] = project;
|
|
1948
2084
|
}
|
|
2085
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1949
2086
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1950
2087
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1951
2088
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1982,6 +2119,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
1982
2119
|
if (project !== undefined) {
|
|
1983
2120
|
localVarQueryParameter['project'] = project;
|
|
1984
2121
|
}
|
|
2122
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1985
2123
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1986
2124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1987
2125
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2018,6 +2156,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2018
2156
|
if (project !== undefined) {
|
|
2019
2157
|
localVarQueryParameter['project'] = project;
|
|
2020
2158
|
}
|
|
2159
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2021
2160
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2022
2161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2023
2162
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2314,6 +2453,7 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2314
2453
|
end.toISOString() :
|
|
2315
2454
|
end;
|
|
2316
2455
|
}
|
|
2456
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
2317
2457
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2318
2458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2319
2459
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2354,6 +2494,7 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2354
2494
|
if (project !== undefined) {
|
|
2355
2495
|
localVarQueryParameter['project'] = project;
|
|
2356
2496
|
}
|
|
2497
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2357
2498
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2358
2499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2359
2500
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2418,6 +2559,7 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2418
2559
|
end.toISOString() :
|
|
2419
2560
|
end;
|
|
2420
2561
|
}
|
|
2562
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2421
2563
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2422
2564
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2423
2565
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2460,6 +2602,7 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2460
2602
|
localVarQueryParameter['project'] = project;
|
|
2461
2603
|
}
|
|
2462
2604
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2605
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2463
2606
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2464
2607
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2465
2608
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2696,6 +2839,7 @@ const RoutesApiAxiosParamCreator = function (configuration) {
|
|
|
2696
2839
|
if (search !== undefined) {
|
|
2697
2840
|
localVarQueryParameter['search'] = search;
|
|
2698
2841
|
}
|
|
2842
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2699
2843
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2700
2844
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2701
2845
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2817,6 +2961,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2817
2961
|
localVarQueryParameter['search'] = search;
|
|
2818
2962
|
}
|
|
2819
2963
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2964
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2820
2965
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2821
2966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2822
2967
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2858,6 +3003,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2858
3003
|
if (project !== undefined) {
|
|
2859
3004
|
localVarQueryParameter['project'] = project;
|
|
2860
3005
|
}
|
|
3006
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2861
3007
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2862
3008
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2863
3009
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2898,6 +3044,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2898
3044
|
if (project !== undefined) {
|
|
2899
3045
|
localVarQueryParameter['project'] = project;
|
|
2900
3046
|
}
|
|
3047
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2901
3048
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2902
3049
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2903
3050
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2946,6 +3093,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2946
3093
|
if (search !== undefined) {
|
|
2947
3094
|
localVarQueryParameter['search'] = search;
|
|
2948
3095
|
}
|
|
3096
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2949
3097
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2950
3098
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2951
3099
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2988,6 +3136,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
2988
3136
|
localVarQueryParameter['project'] = project;
|
|
2989
3137
|
}
|
|
2990
3138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3139
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2991
3140
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2992
3141
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2993
3142
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3250,6 +3399,7 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3250
3399
|
localVarQueryParameter['project'] = project;
|
|
3251
3400
|
}
|
|
3252
3401
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3402
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3253
3403
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3254
3404
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3255
3405
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3291,6 +3441,7 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3291
3441
|
if (project !== undefined) {
|
|
3292
3442
|
localVarQueryParameter['project'] = project;
|
|
3293
3443
|
}
|
|
3444
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3294
3445
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3295
3446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3296
3447
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3327,6 +3478,7 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3327
3478
|
if (project !== undefined) {
|
|
3328
3479
|
localVarQueryParameter['project'] = project;
|
|
3329
3480
|
}
|
|
3481
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3330
3482
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3331
3483
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3332
3484
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3365,6 +3517,7 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
3365
3517
|
localVarQueryParameter['project'] = project;
|
|
3366
3518
|
}
|
|
3367
3519
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3520
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3368
3521
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3369
3522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3370
3523
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED