@teemill/website 0.31.5 → 0.33.1

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.33.1
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.33.1
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.33.1
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.33.1
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.33.1
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.33.1
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.33.1
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.33.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -180,6 +180,38 @@ export interface Image {
180
180
  'createdAt'?: string;
181
181
  'updatedAt'?: string;
182
182
  }
183
+ export interface KeyphraseOpportunitiesResponse {
184
+ 'keyphraseOpportunities': Array<KeyphraseOpportunity>;
185
+ 'meta': KeyphraseOpportunitiesResponseMeta;
186
+ /**
187
+ * The token referencing the next page number
188
+ */
189
+ 'nextPageToken': number | null;
190
+ }
191
+ /**
192
+ * Object containing metadata about the keyphrase opportunities list.
193
+ */
194
+ export interface KeyphraseOpportunitiesResponseMeta {
195
+ /**
196
+ * Total number of unique keyphrases stored against the project.
197
+ */
198
+ 'totalPhrases': number;
199
+ /**
200
+ * Combined monthly volume of all keyphrases stored against the project.
201
+ */
202
+ 'totalMonthlyVolume': number;
203
+ }
204
+ export interface KeyphraseOpportunity {
205
+ 'id': string;
206
+ /**
207
+ * The keyphrase that has been identified as an opportunity
208
+ */
209
+ 'phrase': string;
210
+ /**
211
+ * Monthly search volume for the keyphrase
212
+ */
213
+ 'monthlyVolume': number | null;
214
+ }
183
215
  export interface ListDomains200Response {
184
216
  'domains': Array<Domain>;
185
217
  /**
@@ -1680,6 +1712,132 @@ export declare class FooterApi extends BaseAPI {
1680
1712
  */
1681
1713
  updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer, any, {}>>;
1682
1714
  }
1715
+ /**
1716
+ * KeyphraseOpportunitiesApi - axios parameter creator
1717
+ */
1718
+ export declare const KeyphraseOpportunitiesApiAxiosParamCreator: (configuration?: Configuration) => {
1719
+ /**
1720
+ * Remove a key phrase opportunity from the store.
1721
+ * @summary Delete key phrase opportunity
1722
+ * @param {string} project What project it is
1723
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\&#39;s unique identifier
1724
+ * @param {*} [options] Override http request option.
1725
+ * @throws {RequiredError}
1726
+ */
1727
+ deleteKeyphraseOpportunity: (project: string, keyphraseOpportunityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1728
+ /**
1729
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1730
+ * @summary List key phrase opportunities
1731
+ * @param {string} project What project it is
1732
+ * @param {number} [pageToken] Page reference token
1733
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1734
+ * @param {string} [search] Search term to filter results
1735
+ * @param {*} [options] Override http request option.
1736
+ * @throws {RequiredError}
1737
+ */
1738
+ listKeyphraseOpportunities: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1739
+ };
1740
+ /**
1741
+ * KeyphraseOpportunitiesApi - functional programming interface
1742
+ */
1743
+ export declare const KeyphraseOpportunitiesApiFp: (configuration?: Configuration) => {
1744
+ /**
1745
+ * Remove a key phrase opportunity from the store.
1746
+ * @summary Delete key phrase opportunity
1747
+ * @param {string} project What project it is
1748
+ * @param {string} keyphraseOpportunityId Key phrase opportunity\&#39;s unique identifier
1749
+ * @param {*} [options] Override http request option.
1750
+ * @throws {RequiredError}
1751
+ */
1752
+ deleteKeyphraseOpportunity(project: string, keyphraseOpportunityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1753
+ /**
1754
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1755
+ * @summary List key phrase opportunities
1756
+ * @param {string} project What project it is
1757
+ * @param {number} [pageToken] Page reference token
1758
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1759
+ * @param {string} [search] Search term to filter results
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ listKeyphraseOpportunities(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyphraseOpportunitiesResponse>>;
1764
+ };
1765
+ /**
1766
+ * KeyphraseOpportunitiesApi - factory interface
1767
+ */
1768
+ export declare const KeyphraseOpportunitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1769
+ /**
1770
+ * Remove a key phrase opportunity from the store.
1771
+ * @summary Delete key phrase opportunity
1772
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1773
+ * @param {*} [options] Override http request option.
1774
+ * @throws {RequiredError}
1775
+ */
1776
+ deleteKeyphraseOpportunity(requestParameters: KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1777
+ /**
1778
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1779
+ * @summary List key phrase opportunities
1780
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1781
+ * @param {*} [options] Override http request option.
1782
+ * @throws {RequiredError}
1783
+ */
1784
+ listKeyphraseOpportunities(requestParameters: KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<KeyphraseOpportunitiesResponse>;
1785
+ };
1786
+ /**
1787
+ * Request parameters for deleteKeyphraseOpportunity operation in KeyphraseOpportunitiesApi.
1788
+ */
1789
+ export interface KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest {
1790
+ /**
1791
+ * What project it is
1792
+ */
1793
+ readonly project: string;
1794
+ /**
1795
+ * Key phrase opportunity\&#39;s unique identifier
1796
+ */
1797
+ readonly keyphraseOpportunityId: string;
1798
+ }
1799
+ /**
1800
+ * Request parameters for listKeyphraseOpportunities operation in KeyphraseOpportunitiesApi.
1801
+ */
1802
+ export interface KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest {
1803
+ /**
1804
+ * What project it is
1805
+ */
1806
+ readonly project: string;
1807
+ /**
1808
+ * Page reference token
1809
+ */
1810
+ readonly pageToken?: number;
1811
+ /**
1812
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1813
+ */
1814
+ readonly pageSize?: number;
1815
+ /**
1816
+ * Search term to filter results
1817
+ */
1818
+ readonly search?: string;
1819
+ }
1820
+ /**
1821
+ * KeyphraseOpportunitiesApi - object-oriented interface
1822
+ */
1823
+ export declare class KeyphraseOpportunitiesApi extends BaseAPI {
1824
+ /**
1825
+ * Remove a key phrase opportunity from the store.
1826
+ * @summary Delete key phrase opportunity
1827
+ * @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
1828
+ * @param {*} [options] Override http request option.
1829
+ * @throws {RequiredError}
1830
+ */
1831
+ deleteKeyphraseOpportunity(requestParameters: KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1832
+ /**
1833
+ * List the key phrases saved as opportunities for a store that are not attached to content.
1834
+ * @summary List key phrase opportunities
1835
+ * @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
1836
+ * @param {*} [options] Override http request option.
1837
+ * @throws {RequiredError}
1838
+ */
1839
+ listKeyphraseOpportunities(requestParameters: KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyphraseOpportunitiesResponse, any, {}>>;
1840
+ }
1683
1841
  /**
1684
1842
  * MenuApi - axios parameter creator
1685
1843
  */