@teemill/website 0.33.1 → 0.34.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/.openapi-generator/FILES +2 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +6 -5
- package/api.ts +116 -55
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +108 -55
- package/dist/api.js +57 -39
- 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 +108 -55
- package/dist/esm/api.js +55 -37
- 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/BlogsApi.md +4 -4
- package/docs/KeyphraseOpportunitiesApi.md +10 -10
- package/docs/KeyphraseOpportunitiesResponseMeta.md +4 -2
- package/docs/KeyphraseOpportunitiesResponseMetaFilters.md +25 -0
- package/docs/KeyphraseOpportunity.md +4 -0
- package/docs/KeyphraseOpportunityContent.md +25 -0
- package/docs/PagesApi.md +4 -4
- package/docs/ReviewsApi.md +2 -2
- package/docs/RoutesApi.md +2 -2
- package/docs/SearchApi.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.34.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -50,6 +50,24 @@ export const AttributeThumbnailTypeEnum = {
|
|
|
50
50
|
Color: 'color',
|
|
51
51
|
Image: 'image',
|
|
52
52
|
};
|
|
53
|
+
export const KeyphraseOpportunitiesResponseMetaFiltersAssignedEnum = {
|
|
54
|
+
True: 'true',
|
|
55
|
+
False: 'false',
|
|
56
|
+
};
|
|
57
|
+
export const KeyphraseOpportunitiesResponseMetaFiltersPublishedEnum = {
|
|
58
|
+
True: 'true',
|
|
59
|
+
False: 'false',
|
|
60
|
+
};
|
|
61
|
+
export const KeyphraseOpportunitiesResponseMetaFiltersOptimisedEnum = {
|
|
62
|
+
True: 'true',
|
|
63
|
+
False: 'false',
|
|
64
|
+
};
|
|
65
|
+
export const KeyphraseOpportunityContentTypeEnum = {
|
|
66
|
+
Product: 'product',
|
|
67
|
+
Collection: 'collection',
|
|
68
|
+
Blog: 'blog',
|
|
69
|
+
Page: 'page',
|
|
70
|
+
};
|
|
53
71
|
export const PaymentAccountMethodEnum = {
|
|
54
72
|
Stripe: 'stripe',
|
|
55
73
|
Paypal: 'paypal',
|
|
@@ -205,7 +223,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
205
223
|
* @param {string} project What project it is
|
|
206
224
|
* @param {number} [pageToken] Page reference token
|
|
207
225
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
208
|
-
* @param {string} [search] Search term to filter results
|
|
226
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
209
227
|
* @param {*} [options] Override http request option.
|
|
210
228
|
* @throws {RequiredError}
|
|
211
229
|
*/
|
|
@@ -298,7 +316,7 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
298
316
|
* @param {string} project What project it is
|
|
299
317
|
* @param {number} [pageToken] Page reference token
|
|
300
318
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
301
|
-
* @param {string} [search] Search term to filter results
|
|
319
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
302
320
|
* @param {UpdateBlogsRequest} [updateBlogsRequest] Update blogs in bulk.
|
|
303
321
|
* @param {*} [options] Override http request option.
|
|
304
322
|
* @throws {RequiredError}
|
|
@@ -391,7 +409,7 @@ export const BlogsApiFp = function (configuration) {
|
|
|
391
409
|
* @param {string} project What project it is
|
|
392
410
|
* @param {number} [pageToken] Page reference token
|
|
393
411
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
394
|
-
* @param {string} [search] Search term to filter results
|
|
412
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
395
413
|
* @param {*} [options] Override http request option.
|
|
396
414
|
* @throws {RequiredError}
|
|
397
415
|
*/
|
|
@@ -428,7 +446,7 @@ export const BlogsApiFp = function (configuration) {
|
|
|
428
446
|
* @param {string} project What project it is
|
|
429
447
|
* @param {number} [pageToken] Page reference token
|
|
430
448
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
431
|
-
* @param {string} [search] Search term to filter results
|
|
449
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
432
450
|
* @param {UpdateBlogsRequest} [updateBlogsRequest] Update blogs in bulk.
|
|
433
451
|
* @param {*} [options] Override http request option.
|
|
434
452
|
* @throws {RequiredError}
|
|
@@ -1229,10 +1247,10 @@ export class FooterApi extends BaseAPI {
|
|
|
1229
1247
|
export const KeyphraseOpportunitiesApiAxiosParamCreator = function (configuration) {
|
|
1230
1248
|
return {
|
|
1231
1249
|
/**
|
|
1232
|
-
* Remove a
|
|
1233
|
-
* @summary Delete
|
|
1250
|
+
* Remove a keyphrase opportunity from the store.
|
|
1251
|
+
* @summary Delete keyphrase opportunity
|
|
1234
1252
|
* @param {string} project What project it is
|
|
1235
|
-
* @param {string} keyphraseOpportunityId
|
|
1253
|
+
* @param {string} keyphraseOpportunityId Keyphrase opportunity\'s unique identifier
|
|
1236
1254
|
* @param {*} [options] Override http request option.
|
|
1237
1255
|
* @throws {RequiredError}
|
|
1238
1256
|
*/
|
|
@@ -1270,12 +1288,12 @@ export const KeyphraseOpportunitiesApiAxiosParamCreator = function (configuratio
|
|
|
1270
1288
|
};
|
|
1271
1289
|
}),
|
|
1272
1290
|
/**
|
|
1273
|
-
* List
|
|
1274
|
-
* @summary List
|
|
1291
|
+
* List keyphrases saved as opportunities for a store. Use search tags to filter by assignment, publication, and optimisation status.
|
|
1292
|
+
* @summary List keyphrase opportunities
|
|
1275
1293
|
* @param {string} project What project it is
|
|
1276
1294
|
* @param {number} [pageToken] Page reference token
|
|
1277
1295
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1278
|
-
* @param {string} [search] Search term to filter results
|
|
1296
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1279
1297
|
* @param {*} [options] Override http request option.
|
|
1280
1298
|
* @throws {RequiredError}
|
|
1281
1299
|
*/
|
|
@@ -1327,10 +1345,10 @@ export const KeyphraseOpportunitiesApiFp = function (configuration) {
|
|
|
1327
1345
|
const localVarAxiosParamCreator = KeyphraseOpportunitiesApiAxiosParamCreator(configuration);
|
|
1328
1346
|
return {
|
|
1329
1347
|
/**
|
|
1330
|
-
* Remove a
|
|
1331
|
-
* @summary Delete
|
|
1348
|
+
* Remove a keyphrase opportunity from the store.
|
|
1349
|
+
* @summary Delete keyphrase opportunity
|
|
1332
1350
|
* @param {string} project What project it is
|
|
1333
|
-
* @param {string} keyphraseOpportunityId
|
|
1351
|
+
* @param {string} keyphraseOpportunityId Keyphrase opportunity\'s unique identifier
|
|
1334
1352
|
* @param {*} [options] Override http request option.
|
|
1335
1353
|
* @throws {RequiredError}
|
|
1336
1354
|
*/
|
|
@@ -1344,12 +1362,12 @@ export const KeyphraseOpportunitiesApiFp = function (configuration) {
|
|
|
1344
1362
|
});
|
|
1345
1363
|
},
|
|
1346
1364
|
/**
|
|
1347
|
-
* List
|
|
1348
|
-
* @summary List
|
|
1365
|
+
* List keyphrases saved as opportunities for a store. Use search tags to filter by assignment, publication, and optimisation status.
|
|
1366
|
+
* @summary List keyphrase opportunities
|
|
1349
1367
|
* @param {string} project What project it is
|
|
1350
1368
|
* @param {number} [pageToken] Page reference token
|
|
1351
1369
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1352
|
-
* @param {string} [search] Search term to filter results
|
|
1370
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1353
1371
|
* @param {*} [options] Override http request option.
|
|
1354
1372
|
* @throws {RequiredError}
|
|
1355
1373
|
*/
|
|
@@ -1371,8 +1389,8 @@ export const KeyphraseOpportunitiesApiFactory = function (configuration, basePat
|
|
|
1371
1389
|
const localVarFp = KeyphraseOpportunitiesApiFp(configuration);
|
|
1372
1390
|
return {
|
|
1373
1391
|
/**
|
|
1374
|
-
* Remove a
|
|
1375
|
-
* @summary Delete
|
|
1392
|
+
* Remove a keyphrase opportunity from the store.
|
|
1393
|
+
* @summary Delete keyphrase opportunity
|
|
1376
1394
|
* @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
|
|
1377
1395
|
* @param {*} [options] Override http request option.
|
|
1378
1396
|
* @throws {RequiredError}
|
|
@@ -1381,8 +1399,8 @@ export const KeyphraseOpportunitiesApiFactory = function (configuration, basePat
|
|
|
1381
1399
|
return localVarFp.deleteKeyphraseOpportunity(requestParameters.project, requestParameters.keyphraseOpportunityId, options).then((request) => request(axios, basePath));
|
|
1382
1400
|
},
|
|
1383
1401
|
/**
|
|
1384
|
-
* List
|
|
1385
|
-
* @summary List
|
|
1402
|
+
* List keyphrases saved as opportunities for a store. Use search tags to filter by assignment, publication, and optimisation status.
|
|
1403
|
+
* @summary List keyphrase opportunities
|
|
1386
1404
|
* @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
|
|
1387
1405
|
* @param {*} [options] Override http request option.
|
|
1388
1406
|
* @throws {RequiredError}
|
|
@@ -1397,8 +1415,8 @@ export const KeyphraseOpportunitiesApiFactory = function (configuration, basePat
|
|
|
1397
1415
|
*/
|
|
1398
1416
|
export class KeyphraseOpportunitiesApi extends BaseAPI {
|
|
1399
1417
|
/**
|
|
1400
|
-
* Remove a
|
|
1401
|
-
* @summary Delete
|
|
1418
|
+
* Remove a keyphrase opportunity from the store.
|
|
1419
|
+
* @summary Delete keyphrase opportunity
|
|
1402
1420
|
* @param {KeyphraseOpportunitiesApiDeleteKeyphraseOpportunityRequest} requestParameters Request parameters.
|
|
1403
1421
|
* @param {*} [options] Override http request option.
|
|
1404
1422
|
* @throws {RequiredError}
|
|
@@ -1407,8 +1425,8 @@ export class KeyphraseOpportunitiesApi extends BaseAPI {
|
|
|
1407
1425
|
return KeyphraseOpportunitiesApiFp(this.configuration).deleteKeyphraseOpportunity(requestParameters.project, requestParameters.keyphraseOpportunityId, options).then((request) => request(this.axios, this.basePath));
|
|
1408
1426
|
}
|
|
1409
1427
|
/**
|
|
1410
|
-
* List
|
|
1411
|
-
* @summary List
|
|
1428
|
+
* List keyphrases saved as opportunities for a store. Use search tags to filter by assignment, publication, and optimisation status.
|
|
1429
|
+
* @summary List keyphrase opportunities
|
|
1412
1430
|
* @param {KeyphraseOpportunitiesApiListKeyphraseOpportunitiesRequest} requestParameters Request parameters.
|
|
1413
1431
|
* @param {*} [options] Override http request option.
|
|
1414
1432
|
* @throws {RequiredError}
|
|
@@ -1684,7 +1702,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1684
1702
|
* @param {string} project What project it is
|
|
1685
1703
|
* @param {number} [pageToken] Page reference token
|
|
1686
1704
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1687
|
-
* @param {string} [search] Search term to filter results
|
|
1705
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1688
1706
|
* @param {*} [options] Override http request option.
|
|
1689
1707
|
* @throws {RequiredError}
|
|
1690
1708
|
*/
|
|
@@ -1817,7 +1835,7 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
1817
1835
|
* @param {string} project What project it is
|
|
1818
1836
|
* @param {number} [pageToken] Page reference token
|
|
1819
1837
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1820
|
-
* @param {string} [search] Search term to filter results
|
|
1838
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1821
1839
|
* @param {UpdatePagesRequest} [updatePagesRequest] Update pages in bulk.
|
|
1822
1840
|
* @param {*} [options] Override http request option.
|
|
1823
1841
|
* @throws {RequiredError}
|
|
@@ -1910,7 +1928,7 @@ export const PagesApiFp = function (configuration) {
|
|
|
1910
1928
|
* @param {string} project What project it is
|
|
1911
1929
|
* @param {number} [pageToken] Page reference token
|
|
1912
1930
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1913
|
-
* @param {string} [search] Search term to filter results
|
|
1931
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1914
1932
|
* @param {*} [options] Override http request option.
|
|
1915
1933
|
* @throws {RequiredError}
|
|
1916
1934
|
*/
|
|
@@ -1964,7 +1982,7 @@ export const PagesApiFp = function (configuration) {
|
|
|
1964
1982
|
* @param {string} project What project it is
|
|
1965
1983
|
* @param {number} [pageToken] Page reference token
|
|
1966
1984
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1967
|
-
* @param {string} [search] Search term to filter results
|
|
1985
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
1968
1986
|
* @param {UpdatePagesRequest} [updatePagesRequest] Update pages in bulk.
|
|
1969
1987
|
* @param {*} [options] Override http request option.
|
|
1970
1988
|
* @throws {RequiredError}
|
|
@@ -2868,7 +2886,7 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2868
2886
|
* @param {string} project What project it is
|
|
2869
2887
|
* @param {number} [pageToken] Page reference token
|
|
2870
2888
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2871
|
-
* @param {string} [search] Search term to filter results
|
|
2889
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
2872
2890
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2873
2891
|
* @param {string} [start] Start of date range to filter by
|
|
2874
2892
|
* @param {string} [end] End of date range to filter by
|
|
@@ -3020,7 +3038,7 @@ export const ReviewsApiFp = function (configuration) {
|
|
|
3020
3038
|
* @param {string} project What project it is
|
|
3021
3039
|
* @param {number} [pageToken] Page reference token
|
|
3022
3040
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3023
|
-
* @param {string} [search] Search term to filter results
|
|
3041
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3024
3042
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
3025
3043
|
* @param {string} [start] Start of date range to filter by
|
|
3026
3044
|
* @param {string} [end] End of date range to filter by
|
|
@@ -3160,7 +3178,7 @@ export const RoutesApiAxiosParamCreator = function (configuration) {
|
|
|
3160
3178
|
* @param {string} project What project it is
|
|
3161
3179
|
* @param {number} [pageToken] Page reference token
|
|
3162
3180
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3163
|
-
* @param {string} [search] Search term to filter results
|
|
3181
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3164
3182
|
* @param {*} [options] Override http request option.
|
|
3165
3183
|
* @throws {RequiredError}
|
|
3166
3184
|
*/
|
|
@@ -3217,7 +3235,7 @@ export const RoutesApiFp = function (configuration) {
|
|
|
3217
3235
|
* @param {string} project What project it is
|
|
3218
3236
|
* @param {number} [pageToken] Page reference token
|
|
3219
3237
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3220
|
-
* @param {string} [search] Search term to filter results
|
|
3238
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3221
3239
|
* @param {*} [options] Override http request option.
|
|
3222
3240
|
* @throws {RequiredError}
|
|
3223
3241
|
*/
|
|
@@ -3276,7 +3294,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
3276
3294
|
* @param {string} project What project it is
|
|
3277
3295
|
* @param {number} [pageToken] Page reference token
|
|
3278
3296
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3279
|
-
* @param {string} [search] Search term to filter results
|
|
3297
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3280
3298
|
* @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
|
|
3281
3299
|
* @param {*} [options] Override http request option.
|
|
3282
3300
|
* @throws {RequiredError}
|
|
@@ -3410,7 +3428,7 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
3410
3428
|
* @param {string} project What project it is
|
|
3411
3429
|
* @param {number} [pageToken] Page reference token
|
|
3412
3430
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3413
|
-
* @param {string} [search] Search term to filter results
|
|
3431
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3414
3432
|
* @param {*} [options] Override http request option.
|
|
3415
3433
|
* @throws {RequiredError}
|
|
3416
3434
|
*/
|
|
@@ -3511,7 +3529,7 @@ export const SearchApiFp = function (configuration) {
|
|
|
3511
3529
|
* @param {string} project What project it is
|
|
3512
3530
|
* @param {number} [pageToken] Page reference token
|
|
3513
3531
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3514
|
-
* @param {string} [search] Search term to filter results
|
|
3532
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3515
3533
|
* @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
|
|
3516
3534
|
* @param {*} [options] Override http request option.
|
|
3517
3535
|
* @throws {RequiredError}
|
|
@@ -3565,7 +3583,7 @@ export const SearchApiFp = function (configuration) {
|
|
|
3565
3583
|
* @param {string} project What project it is
|
|
3566
3584
|
* @param {number} [pageToken] Page reference token
|
|
3567
3585
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3568
|
-
* @param {string} [search] Search term to filter results
|
|
3586
|
+
* @param {string} [search] Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas.
|
|
3569
3587
|
* @param {*} [options] Override http request option.
|
|
3570
3588
|
* @throws {RequiredError}
|
|
3571
3589
|
*/
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/BlogsApi.md
CHANGED
|
@@ -142,7 +142,7 @@ const apiInstance = new BlogsApi(configuration);
|
|
|
142
142
|
let project: string; //What project it is (default to undefined)
|
|
143
143
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
144
144
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
145
|
-
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
145
|
+
let search: string; //Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. (optional) (default to undefined)
|
|
146
146
|
|
|
147
147
|
const { status, data } = await apiInstance.listBlogs(
|
|
148
148
|
project,
|
|
@@ -159,7 +159,7 @@ const { status, data } = await apiInstance.listBlogs(
|
|
|
159
159
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
160
160
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
161
161
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
162
|
-
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
162
|
+
| **search** | [**string**] | Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. | (optional) defaults to undefined|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
### Return type
|
|
@@ -267,7 +267,7 @@ const apiInstance = new BlogsApi(configuration);
|
|
|
267
267
|
let project: string; //What project it is (default to undefined)
|
|
268
268
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
269
269
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
270
|
-
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
270
|
+
let search: string; //Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. (optional) (default to undefined)
|
|
271
271
|
let updateBlogsRequest: UpdateBlogsRequest; //Update blogs in bulk. (optional)
|
|
272
272
|
|
|
273
273
|
const { status, data } = await apiInstance.updateBlogs(
|
|
@@ -287,7 +287,7 @@ const { status, data } = await apiInstance.updateBlogs(
|
|
|
287
287
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
288
288
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
289
289
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
290
|
-
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
290
|
+
| **search** | [**string**] | Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. | (optional) defaults to undefined|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
### Return type
|
|
@@ -4,13 +4,13 @@ All URIs are relative to *https://api.localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteKeyphraseOpportunity**](#deletekeyphraseopportunity) | **DELETE** /v1/website/keyphrase-opportunities/{keyphraseOpportunityId} | Delete
|
|
8
|
-
|[**listKeyphraseOpportunities**](#listkeyphraseopportunities) | **GET** /v1/website/keyphrase-opportunities | List
|
|
7
|
+
|[**deleteKeyphraseOpportunity**](#deletekeyphraseopportunity) | **DELETE** /v1/website/keyphrase-opportunities/{keyphraseOpportunityId} | Delete keyphrase opportunity|
|
|
8
|
+
|[**listKeyphraseOpportunities**](#listkeyphraseopportunities) | **GET** /v1/website/keyphrase-opportunities | List keyphrase opportunities|
|
|
9
9
|
|
|
10
10
|
# **deleteKeyphraseOpportunity**
|
|
11
11
|
> deleteKeyphraseOpportunity()
|
|
12
12
|
|
|
13
|
-
Remove a
|
|
13
|
+
Remove a keyphrase opportunity from the store.
|
|
14
14
|
|
|
15
15
|
### Example
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ const configuration = new Configuration();
|
|
|
24
24
|
const apiInstance = new KeyphraseOpportunitiesApi(configuration);
|
|
25
25
|
|
|
26
26
|
let project: string; //What project it is (default to undefined)
|
|
27
|
-
let keyphraseOpportunityId: string; //
|
|
27
|
+
let keyphraseOpportunityId: string; //Keyphrase opportunity\'s unique identifier (default to undefined)
|
|
28
28
|
|
|
29
29
|
const { status, data } = await apiInstance.deleteKeyphraseOpportunity(
|
|
30
30
|
project,
|
|
@@ -37,7 +37,7 @@ const { status, data } = await apiInstance.deleteKeyphraseOpportunity(
|
|
|
37
37
|
|Name | Type | Description | Notes|
|
|
38
38
|
|------------- | ------------- | ------------- | -------------|
|
|
39
39
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
40
|
-
| **keyphraseOpportunityId** | [**string**] |
|
|
40
|
+
| **keyphraseOpportunityId** | [**string**] | Keyphrase opportunity\'s unique identifier | defaults to undefined|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
### Return type
|
|
@@ -57,7 +57,7 @@ void (empty response body)
|
|
|
57
57
|
### HTTP response details
|
|
58
58
|
| Status code | Description | Response headers |
|
|
59
59
|
|-------------|-------------|------------------|
|
|
60
|
-
|**204** |
|
|
60
|
+
|**204** | Keyphrase opportunity deleted | - |
|
|
61
61
|
|**401** | Not authorised to access this resource | - |
|
|
62
62
|
|**403** | Refuse to authorize | - |
|
|
63
63
|
|**404** | Resource not found | - |
|
|
@@ -68,7 +68,7 @@ void (empty response body)
|
|
|
68
68
|
# **listKeyphraseOpportunities**
|
|
69
69
|
> KeyphraseOpportunitiesResponse listKeyphraseOpportunities()
|
|
70
70
|
|
|
71
|
-
List
|
|
71
|
+
List keyphrases saved as opportunities for a store. Use search tags to filter by assignment, publication, and optimisation status.
|
|
72
72
|
|
|
73
73
|
### Example
|
|
74
74
|
|
|
@@ -84,7 +84,7 @@ const apiInstance = new KeyphraseOpportunitiesApi(configuration);
|
|
|
84
84
|
let project: string; //What project it is (default to undefined)
|
|
85
85
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
86
86
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
87
|
-
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
87
|
+
let search: string; //Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. (optional) (default to undefined)
|
|
88
88
|
|
|
89
89
|
const { status, data } = await apiInstance.listKeyphraseOpportunities(
|
|
90
90
|
project,
|
|
@@ -101,7 +101,7 @@ const { status, data } = await apiInstance.listKeyphraseOpportunities(
|
|
|
101
101
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
102
102
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
103
103
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
104
|
-
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
104
|
+
| **search** | [**string**] | Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. | (optional) defaults to undefined|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
### Return type
|
|
@@ -121,7 +121,7 @@ const { status, data } = await apiInstance.listKeyphraseOpportunities(
|
|
|
121
121
|
### HTTP response details
|
|
122
122
|
| Status code | Description | Response headers |
|
|
123
123
|
|-------------|-------------|------------------|
|
|
124
|
-
|**200** | A list of
|
|
124
|
+
|**200** | A list of keyphrase opportunities saved for the store. | - |
|
|
125
125
|
|**401** | Not authorised to access this resource | - |
|
|
126
126
|
|**403** | Refuse to authorize | - |
|
|
127
127
|
|**500** | Unknown server error | - |
|
|
@@ -6,8 +6,9 @@ Object containing metadata about the keyphrase opportunities list.
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**totalPhrases** | **number** | Total number of
|
|
10
|
-
**totalMonthlyVolume** | **number** | Combined monthly volume of
|
|
9
|
+
**totalPhrases** | **number** | Total number of keyphrase opportunities matching the active phrase search and list filters. | [default to undefined]
|
|
10
|
+
**totalMonthlyVolume** | **number** | Combined monthly search volume of keyphrase opportunities matching the active phrase search and list filters. | [default to undefined]
|
|
11
|
+
**filters** | [**KeyphraseOpportunitiesResponseMetaFilters**](KeyphraseOpportunitiesResponseMetaFilters.md) | | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -17,6 +18,7 @@ import { KeyphraseOpportunitiesResponseMeta } from '@teemill/website';
|
|
|
17
18
|
const instance: KeyphraseOpportunitiesResponseMeta = {
|
|
18
19
|
totalPhrases,
|
|
19
20
|
totalMonthlyVolume,
|
|
21
|
+
filters,
|
|
20
22
|
};
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# KeyphraseOpportunitiesResponseMetaFilters
|
|
2
|
+
|
|
3
|
+
Filters that can be applied to the keyphrase opportunities list.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**assigned** | **Array<string>** | Filter by whether the keyphrase is assigned to content. | [default to undefined]
|
|
10
|
+
**published** | **Array<string>** | Filter by whether the keyphrase is attached to published content. | [default to undefined]
|
|
11
|
+
**optimised** | **Array<string>** | Filter by whether the keyphrase is attached to optimised content. | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { KeyphraseOpportunitiesResponseMetaFilters } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: KeyphraseOpportunitiesResponseMetaFilters = {
|
|
19
|
+
assigned,
|
|
20
|
+
published,
|
|
21
|
+
optimised,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**phrase** | **string** | The keyphrase that has been identified as an opportunity | [default to undefined]
|
|
10
10
|
**monthlyVolume** | **number** | Monthly search volume for the keyphrase | [default to undefined]
|
|
11
|
+
**merchIssues** | **Array<string>** | Merchandising issues for this keyphrase opportunity. | [default to undefined]
|
|
12
|
+
**content** | [**KeyphraseOpportunityContent**](KeyphraseOpportunityContent.md) | | [default to undefined]
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ const instance: KeyphraseOpportunity = {
|
|
|
18
20
|
id,
|
|
19
21
|
phrase,
|
|
20
22
|
monthlyVolume,
|
|
23
|
+
merchIssues,
|
|
24
|
+
content,
|
|
21
25
|
};
|
|
22
26
|
```
|
|
23
27
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# KeyphraseOpportunityContent
|
|
2
|
+
|
|
3
|
+
Content the keyphrase is assigned to.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**type** | **string** | The type of content the keyphrase is assigned to. | [default to undefined]
|
|
10
|
+
**id** | **string** | | [default to undefined]
|
|
11
|
+
**name** | **string** | The name of the attached content | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { KeyphraseOpportunityContent } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: KeyphraseOpportunityContent = {
|
|
19
|
+
type,
|
|
20
|
+
id,
|
|
21
|
+
name,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/PagesApi.md
CHANGED
|
@@ -143,7 +143,7 @@ const apiInstance = new PagesApi(configuration);
|
|
|
143
143
|
let project: string; //What project it is (default to undefined)
|
|
144
144
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
145
145
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
146
|
-
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
146
|
+
let search: string; //Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. (optional) (default to undefined)
|
|
147
147
|
|
|
148
148
|
const { status, data } = await apiInstance.listPages(
|
|
149
149
|
project,
|
|
@@ -160,7 +160,7 @@ const { status, data } = await apiInstance.listPages(
|
|
|
160
160
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
161
161
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
162
162
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
163
|
-
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
163
|
+
| **search** | [**string**] | Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. | (optional) defaults to undefined|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
### Return type
|
|
@@ -328,7 +328,7 @@ const apiInstance = new PagesApi(configuration);
|
|
|
328
328
|
let project: string; //What project it is (default to undefined)
|
|
329
329
|
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
330
330
|
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
331
|
-
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
331
|
+
let search: string; //Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. (optional) (default to undefined)
|
|
332
332
|
let updatePagesRequest: UpdatePagesRequest; //Update pages in bulk. (optional)
|
|
333
333
|
|
|
334
334
|
const { status, data } = await apiInstance.updatePages(
|
|
@@ -348,7 +348,7 @@ const { status, data } = await apiInstance.updatePages(
|
|
|
348
348
|
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
349
349
|
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
350
350
|
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
351
|
-
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
351
|
+
| **search** | [**string**] | Search term to filter results. Free text matches keyphrase text. Structured filters use key:value tags — e.g. assigned:false published:true,false optimised:false organic shirts. Multiple filters can be combined with spaces and commas. | (optional) defaults to undefined|
|
|
352
352
|
|
|
353
353
|
|
|
354
354
|
### Return type
|