@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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/website@0.
|
|
1
|
+
## @teemill/website@0.30.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/website@0.
|
|
39
|
+
npm install @teemill/website@0.30.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -56,6 +56,7 @@ Class | Method | HTTP request | Description
|
|
|
56
56
|
*BlogsApi* | [**listBlogs**](docs/BlogsApi.md#listblogs) | **GET** /v1/website/blogs | List website blog posts
|
|
57
57
|
*BlogsApi* | [**updateBlog**](docs/BlogsApi.md#updateblog) | **PATCH** /v1/website/blogs/{blogId} | Update website blog post
|
|
58
58
|
*BlogsApi* | [**updateBlogs**](docs/BlogsApi.md#updateblogs) | **PATCH** /v1/website/blogs | Update website blog posts
|
|
59
|
+
*CollectionsApi* | [**updateProductCollections**](docs/CollectionsApi.md#updateproductcollections) | **PATCH** /v1/website/products/{productId}/collections | Update product collections
|
|
59
60
|
*CrossSellApi* | [**attachCrossSellProducts**](docs/CrossSellApi.md#attachcrosssellproducts) | **PUT** /v1/website/products/{productId}/cross-sell/products | Attach cross-sell products
|
|
60
61
|
*CrossSellApi* | [**getCrossSellProducts**](docs/CrossSellApi.md#getcrosssellproducts) | **GET** /v1/website/products/{productId}/cross-sell/products | Get cross-sell products linked to a product
|
|
61
62
|
*DefaultApi* | [**getBrand**](docs/DefaultApi.md#getbrand) | **GET** /v1/website/brand | Get brand
|
|
@@ -166,6 +167,7 @@ Class | Method | HTTP request | Description
|
|
|
166
167
|
- [UpdatePageRequest](docs/UpdatePageRequest.md)
|
|
167
168
|
- [UpdatePagesRequest](docs/UpdatePagesRequest.md)
|
|
168
169
|
- [UpdatePagesRequestPagesInner](docs/UpdatePagesRequestPagesInner.md)
|
|
170
|
+
- [UpdateProductCollectionsRequest](docs/UpdateProductCollectionsRequest.md)
|
|
169
171
|
- [UpdateSearchRedirectRequest](docs/UpdateSearchRedirectRequest.md)
|
|
170
172
|
- [Variant](docs/Variant.md)
|
|
171
173
|
- [VariantProduct](docs/VariantProduct.md)
|
package/api.ts
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).
|
|
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
18
18
|
import globalAxios from 'axios';
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
@@ -213,6 +213,7 @@ export interface MenuItem {
|
|
|
213
213
|
'link': string;
|
|
214
214
|
'color': string | null;
|
|
215
215
|
'backgroundColor': string | null;
|
|
216
|
+
'published': boolean;
|
|
216
217
|
'order': number;
|
|
217
218
|
'submenu': Array<SubmenuInner>;
|
|
218
219
|
}
|
|
@@ -584,6 +585,7 @@ export interface SubmenuInner {
|
|
|
584
585
|
'id': string;
|
|
585
586
|
'title': string;
|
|
586
587
|
'link'?: string | null;
|
|
588
|
+
'published': boolean;
|
|
587
589
|
'image': SubmenuInnerImage | null;
|
|
588
590
|
'order': number;
|
|
589
591
|
'items': Array<SubmenuItem>;
|
|
@@ -670,6 +672,7 @@ export interface SubmenuItem {
|
|
|
670
672
|
'link': string;
|
|
671
673
|
'color': string | null;
|
|
672
674
|
'backgroundColor': string | null;
|
|
675
|
+
'published': boolean;
|
|
673
676
|
'order': number;
|
|
674
677
|
}
|
|
675
678
|
export interface TargetSearchPhraseData {
|
|
@@ -765,6 +768,7 @@ export interface UpdateMenuRequestItem {
|
|
|
765
768
|
'link': string;
|
|
766
769
|
'color'?: string | null;
|
|
767
770
|
'backgroundColor'?: string | null;
|
|
771
|
+
'published'?: boolean;
|
|
768
772
|
'order': number;
|
|
769
773
|
'submenu': Array<UpdateMenuRequestItemSubmenuInner>;
|
|
770
774
|
}
|
|
@@ -772,6 +776,7 @@ export interface UpdateMenuRequestItemSubmenuInner {
|
|
|
772
776
|
'id': string | null;
|
|
773
777
|
'title': string;
|
|
774
778
|
'link'?: string | null;
|
|
779
|
+
'published'?: boolean;
|
|
775
780
|
'image'?: UpdateMenuRequestItemSubmenuInnerImage | null;
|
|
776
781
|
'order': number;
|
|
777
782
|
'items': Array<UpdateMenuRequestSubmenuItem>;
|
|
@@ -848,6 +853,7 @@ export interface UpdateMenuRequestSubmenuItem {
|
|
|
848
853
|
'link': string;
|
|
849
854
|
'color'?: string | null;
|
|
850
855
|
'backgroundColor'?: string | null;
|
|
856
|
+
'published'?: boolean;
|
|
851
857
|
'order': number;
|
|
852
858
|
}
|
|
853
859
|
export interface UpdatePageRequest {
|
|
@@ -901,6 +907,12 @@ export interface UpdatePagesRequestPagesInner {
|
|
|
901
907
|
*/
|
|
902
908
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
903
909
|
}
|
|
910
|
+
export interface UpdateProductCollectionsRequest {
|
|
911
|
+
/**
|
|
912
|
+
* 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.
|
|
913
|
+
*/
|
|
914
|
+
'collections': Array<string>;
|
|
915
|
+
}
|
|
904
916
|
export interface UpdateSearchRedirectRequest {
|
|
905
917
|
'searchTerm'?: string;
|
|
906
918
|
'destinationUrl'?: string;
|
|
@@ -1005,8 +1017,8 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1005
1017
|
localVarQueryParameter['project'] = project;
|
|
1006
1018
|
}
|
|
1007
1019
|
|
|
1020
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1008
1021
|
|
|
1009
|
-
|
|
1010
1022
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1011
1023
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1012
1024
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1053,8 +1065,8 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1053
1065
|
localVarQueryParameter['project'] = project;
|
|
1054
1066
|
}
|
|
1055
1067
|
|
|
1068
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1056
1069
|
|
|
1057
|
-
|
|
1058
1070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1059
1071
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1060
1072
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1112,8 +1124,8 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1112
1124
|
localVarQueryParameter['search'] = search;
|
|
1113
1125
|
}
|
|
1114
1126
|
|
|
1127
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1115
1128
|
|
|
1116
|
-
|
|
1117
1129
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1118
1130
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1119
1131
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1161,9 +1173,8 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1161
1173
|
localVarQueryParameter['project'] = project;
|
|
1162
1174
|
}
|
|
1163
1175
|
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
1176
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1177
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1167
1178
|
|
|
1168
1179
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1169
1180
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1224,9 +1235,8 @@ export const BlogsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1224
1235
|
localVarQueryParameter['search'] = search;
|
|
1225
1236
|
}
|
|
1226
1237
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
1238
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1239
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1230
1240
|
|
|
1231
1241
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1232
1242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1543,6 +1553,143 @@ export class BlogsApi extends BaseAPI {
|
|
|
1543
1553
|
|
|
1544
1554
|
|
|
1545
1555
|
|
|
1556
|
+
/**
|
|
1557
|
+
* CollectionsApi - axios parameter creator
|
|
1558
|
+
*/
|
|
1559
|
+
export const CollectionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1560
|
+
return {
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @summary Update product collections
|
|
1564
|
+
* @param {string} project What project it is
|
|
1565
|
+
* @param {string} productId Product\'s unique identifier
|
|
1566
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
1567
|
+
* @param {*} [options] Override http request option.
|
|
1568
|
+
* @throws {RequiredError}
|
|
1569
|
+
*/
|
|
1570
|
+
updateProductCollections: async (project: string, productId: string, updateProductCollectionsRequest?: UpdateProductCollectionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1571
|
+
// verify required parameter 'project' is not null or undefined
|
|
1572
|
+
assertParamExists('updateProductCollections', 'project', project)
|
|
1573
|
+
// verify required parameter 'productId' is not null or undefined
|
|
1574
|
+
assertParamExists('updateProductCollections', 'productId', productId)
|
|
1575
|
+
const localVarPath = `/v1/website/products/{productId}/collections`
|
|
1576
|
+
.replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
|
|
1577
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1578
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1579
|
+
let baseOptions;
|
|
1580
|
+
if (configuration) {
|
|
1581
|
+
baseOptions = configuration.baseOptions;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1585
|
+
const localVarHeaderParameter = {} as any;
|
|
1586
|
+
const localVarQueryParameter = {} as any;
|
|
1587
|
+
|
|
1588
|
+
// authentication session-oauth required
|
|
1589
|
+
// oauth required
|
|
1590
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1591
|
+
|
|
1592
|
+
// authentication api-key required
|
|
1593
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1594
|
+
|
|
1595
|
+
if (project !== undefined) {
|
|
1596
|
+
localVarQueryParameter['project'] = project;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1600
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1601
|
+
|
|
1602
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1604
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1605
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateProductCollectionsRequest, localVarRequestOptions, configuration)
|
|
1606
|
+
|
|
1607
|
+
return {
|
|
1608
|
+
url: toPathString(localVarUrlObj),
|
|
1609
|
+
options: localVarRequestOptions,
|
|
1610
|
+
};
|
|
1611
|
+
},
|
|
1612
|
+
}
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* CollectionsApi - functional programming interface
|
|
1617
|
+
*/
|
|
1618
|
+
export const CollectionsApiFp = function(configuration?: Configuration) {
|
|
1619
|
+
const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration)
|
|
1620
|
+
return {
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @summary Update product collections
|
|
1624
|
+
* @param {string} project What project it is
|
|
1625
|
+
* @param {string} productId Product\'s unique identifier
|
|
1626
|
+
* @param {UpdateProductCollectionsRequest} [updateProductCollectionsRequest]
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
*/
|
|
1630
|
+
async updateProductCollections(project: string, productId: string, updateProductCollectionsRequest?: UpdateProductCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductCollections(project, productId, updateProductCollectionsRequest, options);
|
|
1632
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1633
|
+
const localVarOperationServerBasePath = operationServerMap['CollectionsApi.updateProductCollections']?.[localVarOperationServerIndex]?.url;
|
|
1634
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1635
|
+
},
|
|
1636
|
+
}
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* CollectionsApi - factory interface
|
|
1641
|
+
*/
|
|
1642
|
+
export const CollectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1643
|
+
const localVarFp = CollectionsApiFp(configuration)
|
|
1644
|
+
return {
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @summary Update product collections
|
|
1648
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
1649
|
+
* @param {*} [options] Override http request option.
|
|
1650
|
+
* @throws {RequiredError}
|
|
1651
|
+
*/
|
|
1652
|
+
updateProductCollections(requestParameters: CollectionsApiUpdateProductCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1653
|
+
return localVarFp.updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
1654
|
+
},
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Request parameters for updateProductCollections operation in CollectionsApi.
|
|
1660
|
+
*/
|
|
1661
|
+
export interface CollectionsApiUpdateProductCollectionsRequest {
|
|
1662
|
+
/**
|
|
1663
|
+
* What project it is
|
|
1664
|
+
*/
|
|
1665
|
+
readonly project: string
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Product\'s unique identifier
|
|
1669
|
+
*/
|
|
1670
|
+
readonly productId: string
|
|
1671
|
+
|
|
1672
|
+
readonly updateProductCollectionsRequest?: UpdateProductCollectionsRequest
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* CollectionsApi - object-oriented interface
|
|
1677
|
+
*/
|
|
1678
|
+
export class CollectionsApi extends BaseAPI {
|
|
1679
|
+
/**
|
|
1680
|
+
*
|
|
1681
|
+
* @summary Update product collections
|
|
1682
|
+
* @param {CollectionsApiUpdateProductCollectionsRequest} requestParameters Request parameters.
|
|
1683
|
+
* @param {*} [options] Override http request option.
|
|
1684
|
+
* @throws {RequiredError}
|
|
1685
|
+
*/
|
|
1686
|
+
public updateProductCollections(requestParameters: CollectionsApiUpdateProductCollectionsRequest, options?: RawAxiosRequestConfig) {
|
|
1687
|
+
return CollectionsApiFp(this.configuration).updateProductCollections(requestParameters.project, requestParameters.productId, requestParameters.updateProductCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
|
|
1546
1693
|
/**
|
|
1547
1694
|
* CrossSellApi - axios parameter creator
|
|
1548
1695
|
*/
|
|
@@ -1586,9 +1733,8 @@ export const CrossSellApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1586
1733
|
localVarQueryParameter['project'] = project;
|
|
1587
1734
|
}
|
|
1588
1735
|
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
1736
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1737
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1592
1738
|
|
|
1593
1739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1594
1740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1637,8 +1783,8 @@ export const CrossSellApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1637
1783
|
localVarQueryParameter['project'] = project;
|
|
1638
1784
|
}
|
|
1639
1785
|
|
|
1786
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1640
1787
|
|
|
1641
|
-
|
|
1642
1788
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1643
1789
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1644
1790
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1817,8 +1963,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1817
1963
|
localVarQueryParameter['project'] = project;
|
|
1818
1964
|
}
|
|
1819
1965
|
|
|
1966
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1820
1967
|
|
|
1821
|
-
|
|
1822
1968
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1823
1969
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1824
1970
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1862,9 +2008,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1862
2008
|
localVarQueryParameter['project'] = project;
|
|
1863
2009
|
}
|
|
1864
2010
|
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
2011
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2012
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1868
2013
|
|
|
1869
2014
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1870
2015
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2036,8 +2181,8 @@ export const FooterApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2036
2181
|
localVarQueryParameter['project'] = project;
|
|
2037
2182
|
}
|
|
2038
2183
|
|
|
2184
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2039
2185
|
|
|
2040
|
-
|
|
2041
2186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2042
2187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2043
2188
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2081,9 +2226,8 @@ export const FooterApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2081
2226
|
localVarQueryParameter['project'] = project;
|
|
2082
2227
|
}
|
|
2083
2228
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
2229
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2230
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2087
2231
|
|
|
2088
2232
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2089
2233
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2255,8 +2399,8 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2255
2399
|
localVarQueryParameter['project'] = project;
|
|
2256
2400
|
}
|
|
2257
2401
|
|
|
2402
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2258
2403
|
|
|
2259
|
-
|
|
2260
2404
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2261
2405
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2262
2406
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2300,9 +2444,8 @@ export const MenuApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2300
2444
|
localVarQueryParameter['project'] = project;
|
|
2301
2445
|
}
|
|
2302
2446
|
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
2447
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2448
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2306
2449
|
|
|
2307
2450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2308
2451
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2474,8 +2617,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2474
2617
|
localVarQueryParameter['project'] = project;
|
|
2475
2618
|
}
|
|
2476
2619
|
|
|
2620
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
2477
2621
|
|
|
2478
|
-
|
|
2479
2622
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2480
2623
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2481
2624
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2522,8 +2665,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2522
2665
|
localVarQueryParameter['project'] = project;
|
|
2523
2666
|
}
|
|
2524
2667
|
|
|
2668
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2525
2669
|
|
|
2526
|
-
|
|
2527
2670
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2528
2671
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2529
2672
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2581,8 +2724,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2581
2724
|
localVarQueryParameter['search'] = search;
|
|
2582
2725
|
}
|
|
2583
2726
|
|
|
2727
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2584
2728
|
|
|
2585
|
-
|
|
2586
2729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2587
2730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2588
2731
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2626,9 +2769,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2626
2769
|
localVarQueryParameter['project'] = project;
|
|
2627
2770
|
}
|
|
2628
2771
|
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
2772
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2773
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2632
2774
|
|
|
2633
2775
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2634
2776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2678,9 +2820,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2678
2820
|
localVarQueryParameter['project'] = project;
|
|
2679
2821
|
}
|
|
2680
2822
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
2823
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2824
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2684
2825
|
|
|
2685
2826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2686
2827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2741,9 +2882,8 @@ export const PagesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2741
2882
|
localVarQueryParameter['search'] = search;
|
|
2742
2883
|
}
|
|
2743
2884
|
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
2885
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2886
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2747
2887
|
|
|
2748
2888
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2749
2889
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3148,8 +3288,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3148
3288
|
localVarQueryParameter['project'] = project;
|
|
3149
3289
|
}
|
|
3150
3290
|
|
|
3291
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3151
3292
|
|
|
3152
|
-
|
|
3153
3293
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3154
3294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3155
3295
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3192,8 +3332,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3192
3332
|
localVarQueryParameter['project'] = project;
|
|
3193
3333
|
}
|
|
3194
3334
|
|
|
3335
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3195
3336
|
|
|
3196
|
-
|
|
3197
3337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3198
3338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3199
3339
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3236,8 +3376,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3236
3376
|
localVarQueryParameter['project'] = project;
|
|
3237
3377
|
}
|
|
3238
3378
|
|
|
3379
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3239
3380
|
|
|
3240
|
-
|
|
3241
3381
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3242
3382
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3243
3383
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3280,8 +3420,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3280
3420
|
localVarQueryParameter['project'] = project;
|
|
3281
3421
|
}
|
|
3282
3422
|
|
|
3423
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3283
3424
|
|
|
3284
|
-
|
|
3285
3425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3286
3426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3287
3427
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3324,8 +3464,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3324
3464
|
localVarQueryParameter['project'] = project;
|
|
3325
3465
|
}
|
|
3326
3466
|
|
|
3467
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3327
3468
|
|
|
3328
|
-
|
|
3329
3469
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3330
3470
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3331
3471
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3368,8 +3508,8 @@ export const PaymentApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3368
3508
|
localVarQueryParameter['project'] = project;
|
|
3369
3509
|
}
|
|
3370
3510
|
|
|
3511
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3371
3512
|
|
|
3372
|
-
|
|
3373
3513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3374
3514
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3375
3515
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3723,8 +3863,8 @@ export const ReviewsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3723
3863
|
end;
|
|
3724
3864
|
}
|
|
3725
3865
|
|
|
3866
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
3726
3867
|
|
|
3727
|
-
|
|
3728
3868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3729
3869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3730
3870
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3771,8 +3911,8 @@ export const ReviewsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3771
3911
|
localVarQueryParameter['project'] = project;
|
|
3772
3912
|
}
|
|
3773
3913
|
|
|
3914
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3774
3915
|
|
|
3775
|
-
|
|
3776
3916
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3777
3917
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3778
3918
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3849,8 +3989,8 @@ export const ReviewsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3849
3989
|
end;
|
|
3850
3990
|
}
|
|
3851
3991
|
|
|
3992
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3852
3993
|
|
|
3853
|
-
|
|
3854
3994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3855
3995
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3856
3996
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3898,9 +4038,8 @@ export const ReviewsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3898
4038
|
localVarQueryParameter['project'] = project;
|
|
3899
4039
|
}
|
|
3900
4040
|
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
4041
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4042
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3904
4043
|
|
|
3905
4044
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3906
4045
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4232,8 +4371,8 @@ export const RoutesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4232
4371
|
localVarQueryParameter['search'] = search;
|
|
4233
4372
|
}
|
|
4234
4373
|
|
|
4374
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4235
4375
|
|
|
4236
|
-
|
|
4237
4376
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4238
4377
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4239
4378
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4387,9 +4526,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4387
4526
|
localVarQueryParameter['search'] = search;
|
|
4388
4527
|
}
|
|
4389
4528
|
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
4529
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4530
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4393
4531
|
|
|
4394
4532
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4395
4533
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4438,8 +4576,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4438
4576
|
localVarQueryParameter['project'] = project;
|
|
4439
4577
|
}
|
|
4440
4578
|
|
|
4579
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4441
4580
|
|
|
4442
|
-
|
|
4443
4581
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4444
4582
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4445
4583
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4486,8 +4624,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4486
4624
|
localVarQueryParameter['project'] = project;
|
|
4487
4625
|
}
|
|
4488
4626
|
|
|
4627
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4489
4628
|
|
|
4490
|
-
|
|
4491
4629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4492
4630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4493
4631
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4545,8 +4683,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4545
4683
|
localVarQueryParameter['search'] = search;
|
|
4546
4684
|
}
|
|
4547
4685
|
|
|
4686
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4548
4687
|
|
|
4549
|
-
|
|
4550
4688
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4551
4689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4552
4690
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4594,9 +4732,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4594
4732
|
localVarQueryParameter['project'] = project;
|
|
4595
4733
|
}
|
|
4596
4734
|
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
4735
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4736
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4600
4737
|
|
|
4601
4738
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4602
4739
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4961,9 +5098,8 @@ export const WebsiteApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4961
5098
|
localVarQueryParameter['project'] = project;
|
|
4962
5099
|
}
|
|
4963
5100
|
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
5101
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5102
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4967
5103
|
|
|
4968
5104
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4969
5105
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5012,8 +5148,8 @@ export const WebsiteApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5012
5148
|
localVarQueryParameter['project'] = project;
|
|
5013
5149
|
}
|
|
5014
5150
|
|
|
5151
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5015
5152
|
|
|
5016
|
-
|
|
5017
5153
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5018
5154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5019
5155
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5056,8 +5192,8 @@ export const WebsiteApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5056
5192
|
localVarQueryParameter['project'] = project;
|
|
5057
5193
|
}
|
|
5058
5194
|
|
|
5195
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5059
5196
|
|
|
5060
|
-
|
|
5061
5197
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5062
5198
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5063
5199
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5101,9 +5237,8 @@ export const WebsiteApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5101
5237
|
localVarQueryParameter['project'] = project;
|
|
5102
5238
|
}
|
|
5103
5239
|
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
5240
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5241
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5107
5242
|
|
|
5108
5243
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5109
5244
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED