@teemill/website 0.31.5 → 0.32.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/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.31.5
8
+ * The version of the OpenAPI document: 0.32.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.ProductsApiAxiosParamCreator = 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 = exports.ReviewsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = void 0;
25
+ exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.KeyphraseOpportunitiesApi = exports.KeyphraseOpportunitiesApiFactory = exports.KeyphraseOpportunitiesApiFp = exports.KeyphraseOpportunitiesApiAxiosParamCreator = 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 = exports.ReviewsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = void 0;
27
27
  const axios_1 = require("axios");
28
28
  // Some imports not used depending on template conditions
29
29
  // @ts-ignore
@@ -1247,6 +1247,204 @@ class FooterApi extends base_1.BaseAPI {
1247
1247
  }
1248
1248
  }
1249
1249
  exports.FooterApi = FooterApi;
1250
+ /**
1251
+ * KeyphraseOpportunitiesApi - axios parameter creator
1252
+ */
1253
+ const KeyphraseOpportunitiesApiAxiosParamCreator = function (configuration) {
1254
+ return {
1255
+ /**
1256
+ * Remove a key phrase opportunity from the store.
1257
+ * @summary Delete key phrase opportunity
1258
+ * @param {string} project What project it is
1259
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\'s unique identifier
1260
+ * @param {*} [options] Override http request option.
1261
+ * @throws {RequiredError}
1262
+ */
1263
+ deleteKeyphraseOpportunity: (project_1, keyphraseOpportunityId_1, ...args_1) => __awaiter(this, [project_1, keyphraseOpportunityId_1, ...args_1], void 0, function* (project, keyphraseOpportunityId, options = {}) {
1264
+ // verify required parameter 'project' is not null or undefined
1265
+ (0, common_1.assertParamExists)('deleteKeyphraseOpportunity', 'project', project);
1266
+ // verify required parameter 'keyphraseOpportunityId' is not null or undefined
1267
+ (0, common_1.assertParamExists)('deleteKeyphraseOpportunity', 'keyphraseOpportunityId', keyphraseOpportunityId);
1268
+ const localVarPath = `/v1/website/keyphrase-opportunities/{keyphraseOpportunityId}`
1269
+ .replace('{keyphraseOpportunityId}', encodeURIComponent(String(keyphraseOpportunityId)));
1270
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1271
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1272
+ let baseOptions;
1273
+ if (configuration) {
1274
+ baseOptions = configuration.baseOptions;
1275
+ }
1276
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1277
+ const localVarHeaderParameter = {};
1278
+ const localVarQueryParameter = {};
1279
+ // authentication session-oauth required
1280
+ // oauth required
1281
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1282
+ // authentication api-key required
1283
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1284
+ if (project !== undefined) {
1285
+ localVarQueryParameter['project'] = project;
1286
+ }
1287
+ localVarHeaderParameter['Accept'] = 'application/json';
1288
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1290
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1291
+ return {
1292
+ url: (0, common_1.toPathString)(localVarUrlObj),
1293
+ options: localVarRequestOptions,
1294
+ };
1295
+ }),
1296
+ /**
1297
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1298
+ * @summary List key phrase opportunities
1299
+ * @param {string} project What project it is
1300
+ * @param {number} [pageToken] Page reference token
1301
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1302
+ * @param {string} [search] Search term to filter results
1303
+ * @param {*} [options] Override http request option.
1304
+ * @throws {RequiredError}
1305
+ */
1306
+ listKeyphraseOpportunities: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
1307
+ // verify required parameter 'project' is not null or undefined
1308
+ (0, common_1.assertParamExists)('listKeyphraseOpportunities', 'project', project);
1309
+ const localVarPath = `/v1/website/keyphrase-opportunities`;
1310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1311
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1312
+ let baseOptions;
1313
+ if (configuration) {
1314
+ baseOptions = configuration.baseOptions;
1315
+ }
1316
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1317
+ const localVarHeaderParameter = {};
1318
+ const localVarQueryParameter = {};
1319
+ // authentication session-oauth required
1320
+ // oauth required
1321
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1322
+ // authentication api-key required
1323
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1324
+ if (project !== undefined) {
1325
+ localVarQueryParameter['project'] = project;
1326
+ }
1327
+ if (pageToken !== undefined) {
1328
+ localVarQueryParameter['pageToken'] = pageToken;
1329
+ }
1330
+ if (pageSize !== undefined) {
1331
+ localVarQueryParameter['pageSize'] = pageSize;
1332
+ }
1333
+ if (search !== undefined) {
1334
+ localVarQueryParameter['search'] = search;
1335
+ }
1336
+ localVarHeaderParameter['Accept'] = 'application/json';
1337
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1339
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1340
+ return {
1341
+ url: (0, common_1.toPathString)(localVarUrlObj),
1342
+ options: localVarRequestOptions,
1343
+ };
1344
+ }),
1345
+ };
1346
+ };
1347
+ exports.KeyphraseOpportunitiesApiAxiosParamCreator = KeyphraseOpportunitiesApiAxiosParamCreator;
1348
+ /**
1349
+ * KeyphraseOpportunitiesApi - functional programming interface
1350
+ */
1351
+ const KeyphraseOpportunitiesApiFp = function (configuration) {
1352
+ const localVarAxiosParamCreator = (0, exports.KeyphraseOpportunitiesApiAxiosParamCreator)(configuration);
1353
+ return {
1354
+ /**
1355
+ * Remove a key phrase opportunity from the store.
1356
+ * @summary Delete key phrase opportunity
1357
+ * @param {string} project What project it is
1358
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\'s unique identifier
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ deleteKeyphraseOpportunity(project, keyphraseOpportunityId, options) {
1363
+ return __awaiter(this, void 0, void 0, function* () {
1364
+ var _a, _b, _c;
1365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteKeyphraseOpportunity(project, keyphraseOpportunityId, options);
1366
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1367
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['KeyphraseOpportunitiesApi.deleteKeyphraseOpportunity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1368
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1369
+ });
1370
+ },
1371
+ /**
1372
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1373
+ * @summary List key phrase opportunities
1374
+ * @param {string} project What project it is
1375
+ * @param {number} [pageToken] Page reference token
1376
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1377
+ * @param {string} [search] Search term to filter results
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ listKeyphraseOpportunities(project, pageToken, pageSize, search, options) {
1382
+ return __awaiter(this, void 0, void 0, function* () {
1383
+ var _a, _b, _c;
1384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listKeyphraseOpportunities(project, pageToken, pageSize, search, options);
1385
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1386
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['KeyphraseOpportunitiesApi.listKeyphraseOpportunities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1387
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1388
+ });
1389
+ },
1390
+ };
1391
+ };
1392
+ exports.KeyphraseOpportunitiesApiFp = KeyphraseOpportunitiesApiFp;
1393
+ /**
1394
+ * KeyphraseOpportunitiesApi - factory interface
1395
+ */
1396
+ const KeyphraseOpportunitiesApiFactory = function (configuration, basePath, axios) {
1397
+ const localVarFp = (0, exports.KeyphraseOpportunitiesApiFp)(configuration);
1398
+ return {
1399
+ /**
1400
+ * Remove a key phrase opportunity from the store.
1401
+ * @summary Delete key phrase opportunity
1402
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1403
+ * @param {*} [options] Override http request option.
1404
+ * @throws {RequiredError}
1405
+ */
1406
+ deleteKeyphraseOpportunity(requestParameters, options) {
1407
+ return localVarFp.deleteKeyphraseOpportunity(requestParameters.project, requestParameters.keyphraseOpportunityId, options).then((request) => request(axios, basePath));
1408
+ },
1409
+ /**
1410
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1411
+ * @summary List key phrase opportunities
1412
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1413
+ * @param {*} [options] Override http request option.
1414
+ * @throws {RequiredError}
1415
+ */
1416
+ listKeyphraseOpportunities(requestParameters, options) {
1417
+ return localVarFp.listKeyphraseOpportunities(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
1418
+ },
1419
+ };
1420
+ };
1421
+ exports.KeyphraseOpportunitiesApiFactory = KeyphraseOpportunitiesApiFactory;
1422
+ /**
1423
+ * KeyphraseOpportunitiesApi - object-oriented interface
1424
+ */
1425
+ class KeyphraseOpportunitiesApi extends base_1.BaseAPI {
1426
+ /**
1427
+ * Remove a key phrase opportunity from the store.
1428
+ * @summary Delete key phrase opportunity
1429
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1430
+ * @param {*} [options] Override http request option.
1431
+ * @throws {RequiredError}
1432
+ */
1433
+ deleteKeyphraseOpportunity(requestParameters, options) {
1434
+ return (0, exports.KeyphraseOpportunitiesApiFp)(this.configuration).deleteKeyphraseOpportunity(requestParameters.project, requestParameters.keyphraseOpportunityId, options).then((request) => request(this.axios, this.basePath));
1435
+ }
1436
+ /**
1437
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1438
+ * @summary List key phrase opportunities
1439
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1440
+ * @param {*} [options] Override http request option.
1441
+ * @throws {RequiredError}
1442
+ */
1443
+ listKeyphraseOpportunities(requestParameters, options) {
1444
+ return (0, exports.KeyphraseOpportunitiesApiFp)(this.configuration).listKeyphraseOpportunities(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
1445
+ }
1446
+ }
1447
+ exports.KeyphraseOpportunitiesApi = KeyphraseOpportunitiesApi;
1250
1448
  /**
1251
1449
  * MenuApi - axios parameter creator
1252
1450
  */
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.31.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.31.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.31.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,6 +48,11 @@ export declare const setOAuthToObject: (object: any, name: string, scopes: strin
48
48
  * @export
49
49
  */
50
50
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
53
+ * @export
54
+ */
55
+ export declare const replaceWithSerializableTypeIfNeeded: (_key: string, value: unknown) => unknown;
51
56
  /**
52
57
  *
53
58
  * @export
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.31.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
25
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
26
26
  const base_1 = require("./base");
27
27
  /**
28
28
  *
@@ -99,7 +99,7 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
99
99
  if (parameter == null)
100
100
  return;
101
101
  if (typeof parameter === "object") {
102
- if (Array.isArray(parameter)) {
102
+ if (Array.isArray(parameter) || parameter instanceof Set) {
103
103
  parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key !== '' ? `${key}[]` : key));
104
104
  }
105
105
  else {
@@ -125,6 +125,17 @@ const setSearchParams = function (url, ...objects) {
125
125
  url.search = searchParams.toString();
126
126
  };
127
127
  exports.setSearchParams = setSearchParams;
128
+ /**
129
+ * JSON.stringify replacer used by generated API code (e.g. serializes Set as Array).
130
+ * @export
131
+ */
132
+ const replaceWithSerializableTypeIfNeeded = function (_key, value) {
133
+ if (value instanceof Set) {
134
+ return Array.from(value);
135
+ }
136
+ return value;
137
+ };
138
+ exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
128
139
  /**
129
140
  *
130
141
  * @export
@@ -135,7 +146,7 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
135
146
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
136
147
  : nonString;
137
148
  return needsSerialization
138
- ? JSON.stringify(value !== undefined ? value : {})
149
+ ? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
139
150
  : (value || "");
140
151
  };
141
152
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
@@ -2,7 +2,7 @@
2
2
  * Website
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.31.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Website
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.31.5
7
+ * The version of the OpenAPI document: 0.32.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.31.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -180,6 +180,18 @@ export interface Image {
180
180
  'createdAt'?: string;
181
181
  'updatedAt'?: string;
182
182
  }
183
+ export interface KeyphraseOpportunitiesResponse {
184
+ 'keyphraseOpportunities': Array<KeyphraseOpportunity>;
185
+ /**
186
+ * The token referencing the next page number
187
+ */
188
+ 'nextPageToken': number | null;
189
+ }
190
+ export interface KeyphraseOpportunity {
191
+ 'id': string;
192
+ 'phrase': string;
193
+ 'monthlyVolume': number | null;
194
+ }
183
195
  export interface ListDomains200Response {
184
196
  'domains': Array<Domain>;
185
197
  /**
@@ -1680,6 +1692,132 @@ export declare class FooterApi extends BaseAPI {
1680
1692
  */
1681
1693
  updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any, {}>>;
1682
1694
  }
1695
+ /**
1696
+ * KeyphraseOpportunitiesApi - axios parameter creator
1697
+ */
1698
+ export declare const KeyphraseOpportunitiesApiAxiosParamCreator: (configuration?: Configuration) => {
1699
+ /**
1700
+ * Remove a key phrase opportunity from the store.
1701
+ * @summary Delete key phrase opportunity
1702
+ * @param {string} project What project it is
1703
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\&#39;s unique identifier
1704
+ * @param {*} [options] Override http request option.
1705
+ * @throws {RequiredError}
1706
+ */
1707
+ deleteKeyphraseOpportunity: (project: string, keyphraseOpportunityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1708
+ /**
1709
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1710
+ * @summary List key phrase opportunities
1711
+ * @param {string} project What project it is
1712
+ * @param {number} [pageToken] Page reference token
1713
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1714
+ * @param {string} [search] Search term to filter results
1715
+ * @param {*} [options] Override http request option.
1716
+ * @throws {RequiredError}
1717
+ */
1718
+ listKeyphraseOpportunities: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1719
+ };
1720
+ /**
1721
+ * KeyphraseOpportunitiesApi - functional programming interface
1722
+ */
1723
+ export declare const KeyphraseOpportunitiesApiFp: (configuration?: Configuration) => {
1724
+ /**
1725
+ * Remove a key phrase opportunity from the store.
1726
+ * @summary Delete key phrase opportunity
1727
+ * @param {string} project What project it is
1728
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\&#39;s unique identifier
1729
+ * @param {*} [options] Override http request option.
1730
+ * @throws {RequiredError}
1731
+ */
1732
+ deleteKeyphraseOpportunity(project: string, keyphraseOpportunityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1733
+ /**
1734
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1735
+ * @summary List key phrase opportunities
1736
+ * @param {string} project What project it is
1737
+ * @param {number} [pageToken] Page reference token
1738
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1739
+ * @param {string} [search] Search term to filter results
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ */
1743
+ listKeyphraseOpportunities(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyphraseOpportunitiesResponse>>;
1744
+ };
1745
+ /**
1746
+ * KeyphraseOpportunitiesApi - factory interface
1747
+ */
1748
+ export declare const KeyphraseOpportunitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1749
+ /**
1750
+ * Remove a key phrase opportunity from the store.
1751
+ * @summary Delete key phrase opportunity
1752
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1753
+ * @param {*} [options] Override http request option.
1754
+ * @throws {RequiredError}
1755
+ */
1756
+ deleteKeyphraseOpportunity(requestParameters: KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1757
+ /**
1758
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1759
+ * @summary List key phrase opportunities
1760
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1761
+ * @param {*} [options] Override http request option.
1762
+ * @throws {RequiredError}
1763
+ */
1764
+ listKeyphraseOpportunities(requestParameters: KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<KeyphraseOpportunitiesResponse>;
1765
+ };
1766
+ /**
1767
+ * Request parameters for deleteKeyphraseOpportunity operation in KeyphraseOpportunitiesApi.
1768
+ */
1769
+ export interface KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest {
1770
+ /**
1771
+ * What project it is
1772
+ */
1773
+ readonly project: string;
1774
+ /**
1775
+ * Key phrase opportunity\&#39;s unique identifier
1776
+ */
1777
+ readonly keyphraseOpportunityId: string;
1778
+ }
1779
+ /**
1780
+ * Request parameters for listKeyphraseOpportunities operation in KeyphraseOpportunitiesApi.
1781
+ */
1782
+ export interface KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest {
1783
+ /**
1784
+ * What project it is
1785
+ */
1786
+ readonly project: string;
1787
+ /**
1788
+ * Page reference token
1789
+ */
1790
+ readonly pageToken?: number;
1791
+ /**
1792
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1793
+ */
1794
+ readonly pageSize?: number;
1795
+ /**
1796
+ * Search term to filter results
1797
+ */
1798
+ readonly search?: string;
1799
+ }
1800
+ /**
1801
+ * KeyphraseOpportunitiesApi - object-oriented interface
1802
+ */
1803
+ export declare class KeyphraseOpportunitiesApi extends BaseAPI {
1804
+ /**
1805
+ * Remove a key phrase opportunity from the store.
1806
+ * @summary Delete key phrase opportunity
1807
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1808
+ * @param {*} [options] Override http request option.
1809
+ * @throws {RequiredError}
1810
+ */
1811
+ deleteKeyphraseOpportunity(requestParameters: KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1812
+ /**
1813
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1814
+ * @summary List key phrase opportunities
1815
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ listKeyphraseOpportunities(requestParameters: KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyphraseOpportunitiesResponse, any, {}>>;
1820
+ }
1683
1821
  /**
1684
1822
  * MenuApi - axios parameter creator
1685
1823
  */