@teemill/website 0.19.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +151 -2
- package/api.ts +924 -145
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +485 -3
- package/dist/api.js +485 -8
- 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 +485 -3
- package/dist/esm/api.js +475 -6
- 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/ApiError.md +22 -0
- package/docs/Application.md +28 -0
- package/docs/ApplicationMockup.md +22 -0
- package/docs/AttachCrossSellProductsRequest.md +20 -0
- package/docs/Attribute.md +26 -0
- package/docs/AttributeThumbnail.md +23 -0
- package/docs/AuthorizeStripe200Response.md +20 -0
- package/docs/Blog.md +34 -0
- package/docs/BlogsApi.md +317 -0
- package/docs/BlogsResponse.md +22 -0
- package/docs/Brand.md +20 -0
- package/docs/Collection.md +36 -0
- package/docs/CollectionsApi.md +378 -0
- package/docs/CollectionsResponse.md +22 -0
- package/docs/CreateSearchRedirectRequest.md +22 -0
- package/docs/CrossSellApi.md +128 -0
- package/docs/DefaultApi.md +123 -0
- package/docs/ExportPages202Response.md +20 -0
- package/docs/Footer.md +20 -0
- package/docs/FooterApi.md +123 -0
- package/docs/FooterItem.md +26 -0
- package/docs/Image.md +35 -0
- package/docs/ListRoutesResponse.md +22 -0
- package/docs/Menu.md +20 -0
- package/docs/MenuApi.md +122 -0
- package/docs/MenuItem.md +32 -0
- package/docs/MetaField.md +23 -0
- package/docs/MetaImage.md +23 -0
- package/docs/ModerateReviewRequest.md +20 -0
- package/docs/OptimisationHistoryItem.md +22 -0
- package/docs/Page.md +36 -0
- package/docs/PagesApi.md +378 -0
- package/docs/PagesResponse.md +22 -0
- package/docs/PaymentAccount.md +24 -0
- package/docs/PaymentApi.md +178 -0
- package/docs/Price.md +23 -0
- package/docs/Product.md +66 -0
- package/docs/ProductAdditionalFilesInner.md +22 -0
- package/docs/ProductApplicationSetsInner.md +24 -0
- package/docs/ProductWarehouseProduct.md +22 -0
- package/docs/Review.md +38 -0
- package/docs/ReviewAuthor.md +22 -0
- package/docs/ReviewImagesInner.md +22 -0
- package/docs/ReviewProduct.md +23 -0
- package/docs/ReviewReply.md +26 -0
- package/docs/ReviewReplyAuthor.md +20 -0
- package/docs/ReviewsApi.md +263 -0
- package/docs/ReviewsResponse.md +22 -0
- package/docs/Route.md +28 -0
- package/docs/RoutesApi.md +70 -0
- package/docs/SearchApi.md +319 -0
- package/docs/SearchRedirect.md +26 -0
- package/docs/SearchRedirectsResponse.md +22 -0
- package/docs/SeoMetadata.md +23 -0
- package/docs/SeoOptimiseCollectionsRequest.md +22 -0
- package/docs/SeoOptimisePages202Response.md +20 -0
- package/docs/SeoOptimisePagesRequest.md +22 -0
- package/docs/Stock.md +20 -0
- package/docs/SubmenuInner.md +32 -0
- package/docs/SubmenuInnerImage.md +36 -0
- package/docs/SubmenuInnerImageButton.md +30 -0
- package/docs/SubmenuInnerImageText.md +24 -0
- package/docs/SubmenuItem.md +30 -0
- package/docs/TargetSearchPhraseData.md +22 -0
- package/docs/UpdateBlogRequest.md +30 -0
- package/docs/UpdateBlogsRequest.md +20 -0
- package/docs/UpdateBlogsRequestBlogsInner.md +32 -0
- package/docs/UpdateBlogsRequestBlogsInnerSeoMetadata.md +22 -0
- package/docs/UpdateBrandRequest.md +20 -0
- package/docs/UpdateCollectionRequest.md +32 -0
- package/docs/UpdateCollectionsRequest.md +20 -0
- package/docs/UpdateCollectionsRequestCollectionsInner.md +34 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerSeoMetadata.md +22 -0
- package/docs/UpdateFooterRequest.md +20 -0
- package/docs/UpdateFooterRequestItemsInner.md +24 -0
- package/docs/UpdateMenuRequest.md +20 -0
- package/docs/UpdateMenuRequestItem.md +32 -0
- package/docs/UpdateMenuRequestItemSubmenuInner.md +32 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImage.md +36 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImageButton.md +30 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImageText.md +24 -0
- package/docs/UpdateMenuRequestSubmenuItem.md +30 -0
- package/docs/UpdatePageRequest.md +28 -0
- package/docs/UpdatePagesRequest.md +20 -0
- package/docs/UpdatePagesRequestPagesInner.md +30 -0
- package/docs/UpdateSearchRedirectRequest.md +22 -0
- package/docs/Variant.md +52 -0
- package/docs/VariantProduct.md +22 -0
- package/docs/Video.md +31 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your PodOS Website
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.21.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.SearchApi = exports.SearchApiFactory = void 0;
|
|
25
|
+
exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.FooterApi = exports.FooterApiFactory = exports.FooterApiFp = exports.FooterApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.BlogsApi = exports.BlogsApiFactory = exports.BlogsApiFp = exports.BlogsApiAxiosParamCreator = exports.UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = exports.UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = exports.UpdateMenuRequestItemSubmenuInnerModeEnum = exports.SubmenuInnerImageTextShadowEnum = exports.SubmenuInnerImageTextAlignmentEnum = exports.SubmenuInnerImageButtonWidthEnum = exports.SubmenuInnerImageButtonBorderRadiusEnum = exports.SubmenuInnerImageBorderRadiusEnum = exports.SubmenuInnerModeEnum = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
|
+
exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = exports.RoutesApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -1293,6 +1293,382 @@ class CrossSellApi extends base_1.BaseAPI {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
exports.CrossSellApi = CrossSellApi;
|
|
1296
|
+
/**
|
|
1297
|
+
* DefaultApi - axios parameter creator
|
|
1298
|
+
* @export
|
|
1299
|
+
*/
|
|
1300
|
+
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
1301
|
+
return {
|
|
1302
|
+
/**
|
|
1303
|
+
* Get the brand for the project
|
|
1304
|
+
* @summary Get brand
|
|
1305
|
+
* @param {string} project What project it is
|
|
1306
|
+
* @param {*} [options] Override http request option.
|
|
1307
|
+
* @throws {RequiredError}
|
|
1308
|
+
*/
|
|
1309
|
+
getBrand: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1310
|
+
// verify required parameter 'project' is not null or undefined
|
|
1311
|
+
(0, common_1.assertParamExists)('getBrand', 'project', project);
|
|
1312
|
+
const localVarPath = `/v1/website/brand`;
|
|
1313
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1314
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1315
|
+
let baseOptions;
|
|
1316
|
+
if (configuration) {
|
|
1317
|
+
baseOptions = configuration.baseOptions;
|
|
1318
|
+
}
|
|
1319
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1320
|
+
const localVarHeaderParameter = {};
|
|
1321
|
+
const localVarQueryParameter = {};
|
|
1322
|
+
// authentication session-oauth required
|
|
1323
|
+
// oauth required
|
|
1324
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1325
|
+
// authentication api-key required
|
|
1326
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1327
|
+
if (project !== undefined) {
|
|
1328
|
+
localVarQueryParameter['project'] = project;
|
|
1329
|
+
}
|
|
1330
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1331
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1332
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1333
|
+
return {
|
|
1334
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1335
|
+
options: localVarRequestOptions,
|
|
1336
|
+
};
|
|
1337
|
+
}),
|
|
1338
|
+
/**
|
|
1339
|
+
* Update the brand for the project
|
|
1340
|
+
* @summary Update brand
|
|
1341
|
+
* @param {string} project What project it is
|
|
1342
|
+
* @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
updateBrand: (project_1, updateBrandRequest_1, ...args_1) => __awaiter(this, [project_1, updateBrandRequest_1, ...args_1], void 0, function* (project, updateBrandRequest, options = {}) {
|
|
1347
|
+
// verify required parameter 'project' is not null or undefined
|
|
1348
|
+
(0, common_1.assertParamExists)('updateBrand', 'project', project);
|
|
1349
|
+
const localVarPath = `/v1/website/brand`;
|
|
1350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1351
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1352
|
+
let baseOptions;
|
|
1353
|
+
if (configuration) {
|
|
1354
|
+
baseOptions = configuration.baseOptions;
|
|
1355
|
+
}
|
|
1356
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1357
|
+
const localVarHeaderParameter = {};
|
|
1358
|
+
const localVarQueryParameter = {};
|
|
1359
|
+
// authentication session-oauth required
|
|
1360
|
+
// oauth required
|
|
1361
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1362
|
+
// authentication api-key required
|
|
1363
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1364
|
+
if (project !== undefined) {
|
|
1365
|
+
localVarQueryParameter['project'] = project;
|
|
1366
|
+
}
|
|
1367
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1370
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1371
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBrandRequest, localVarRequestOptions, configuration);
|
|
1372
|
+
return {
|
|
1373
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1374
|
+
options: localVarRequestOptions,
|
|
1375
|
+
};
|
|
1376
|
+
}),
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1380
|
+
/**
|
|
1381
|
+
* DefaultApi - functional programming interface
|
|
1382
|
+
* @export
|
|
1383
|
+
*/
|
|
1384
|
+
const DefaultApiFp = function (configuration) {
|
|
1385
|
+
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
1386
|
+
return {
|
|
1387
|
+
/**
|
|
1388
|
+
* Get the brand for the project
|
|
1389
|
+
* @summary Get brand
|
|
1390
|
+
* @param {string} project What project it is
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
getBrand(project, options) {
|
|
1395
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1396
|
+
var _a, _b, _c;
|
|
1397
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBrand(project, options);
|
|
1398
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1399
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getBrand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1400
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1401
|
+
});
|
|
1402
|
+
},
|
|
1403
|
+
/**
|
|
1404
|
+
* Update the brand for the project
|
|
1405
|
+
* @summary Update brand
|
|
1406
|
+
* @param {string} project What project it is
|
|
1407
|
+
* @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
|
|
1408
|
+
* @param {*} [options] Override http request option.
|
|
1409
|
+
* @throws {RequiredError}
|
|
1410
|
+
*/
|
|
1411
|
+
updateBrand(project, updateBrandRequest, options) {
|
|
1412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1413
|
+
var _a, _b, _c;
|
|
1414
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBrand(project, updateBrandRequest, options);
|
|
1415
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1416
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.updateBrand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1417
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1418
|
+
});
|
|
1419
|
+
},
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
1423
|
+
/**
|
|
1424
|
+
* DefaultApi - factory interface
|
|
1425
|
+
* @export
|
|
1426
|
+
*/
|
|
1427
|
+
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1428
|
+
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
1429
|
+
return {
|
|
1430
|
+
/**
|
|
1431
|
+
* Get the brand for the project
|
|
1432
|
+
* @summary Get brand
|
|
1433
|
+
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1434
|
+
* @param {*} [options] Override http request option.
|
|
1435
|
+
* @throws {RequiredError}
|
|
1436
|
+
*/
|
|
1437
|
+
getBrand(requestParameters, options) {
|
|
1438
|
+
return localVarFp.getBrand(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1439
|
+
},
|
|
1440
|
+
/**
|
|
1441
|
+
* Update the brand for the project
|
|
1442
|
+
* @summary Update brand
|
|
1443
|
+
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1444
|
+
* @param {*} [options] Override http request option.
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
*/
|
|
1447
|
+
updateBrand(requestParameters, options) {
|
|
1448
|
+
return localVarFp.updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(axios, basePath));
|
|
1449
|
+
},
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
1453
|
+
/**
|
|
1454
|
+
* DefaultApi - object-oriented interface
|
|
1455
|
+
* @export
|
|
1456
|
+
* @class DefaultApi
|
|
1457
|
+
* @extends {BaseAPI}
|
|
1458
|
+
*/
|
|
1459
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
1460
|
+
/**
|
|
1461
|
+
* Get the brand for the project
|
|
1462
|
+
* @summary Get brand
|
|
1463
|
+
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1464
|
+
* @param {*} [options] Override http request option.
|
|
1465
|
+
* @throws {RequiredError}
|
|
1466
|
+
* @memberof DefaultApi
|
|
1467
|
+
*/
|
|
1468
|
+
getBrand(requestParameters, options) {
|
|
1469
|
+
return (0, exports.DefaultApiFp)(this.configuration).getBrand(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* Update the brand for the project
|
|
1473
|
+
* @summary Update brand
|
|
1474
|
+
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1475
|
+
* @param {*} [options] Override http request option.
|
|
1476
|
+
* @throws {RequiredError}
|
|
1477
|
+
* @memberof DefaultApi
|
|
1478
|
+
*/
|
|
1479
|
+
updateBrand(requestParameters, options) {
|
|
1480
|
+
return (0, exports.DefaultApiFp)(this.configuration).updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
exports.DefaultApi = DefaultApi;
|
|
1484
|
+
/**
|
|
1485
|
+
* FooterApi - axios parameter creator
|
|
1486
|
+
* @export
|
|
1487
|
+
*/
|
|
1488
|
+
const FooterApiAxiosParamCreator = function (configuration) {
|
|
1489
|
+
return {
|
|
1490
|
+
/**
|
|
1491
|
+
* Get the footer for the project
|
|
1492
|
+
* @summary Get footer
|
|
1493
|
+
* @param {string} project What project it is
|
|
1494
|
+
* @param {*} [options] Override http request option.
|
|
1495
|
+
* @throws {RequiredError}
|
|
1496
|
+
*/
|
|
1497
|
+
getFooter: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1498
|
+
// verify required parameter 'project' is not null or undefined
|
|
1499
|
+
(0, common_1.assertParamExists)('getFooter', 'project', project);
|
|
1500
|
+
const localVarPath = `/v1/website/footer`;
|
|
1501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1503
|
+
let baseOptions;
|
|
1504
|
+
if (configuration) {
|
|
1505
|
+
baseOptions = configuration.baseOptions;
|
|
1506
|
+
}
|
|
1507
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1508
|
+
const localVarHeaderParameter = {};
|
|
1509
|
+
const localVarQueryParameter = {};
|
|
1510
|
+
// authentication session-oauth required
|
|
1511
|
+
// oauth required
|
|
1512
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1513
|
+
// authentication api-key required
|
|
1514
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1515
|
+
if (project !== undefined) {
|
|
1516
|
+
localVarQueryParameter['project'] = project;
|
|
1517
|
+
}
|
|
1518
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1520
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1521
|
+
return {
|
|
1522
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1523
|
+
options: localVarRequestOptions,
|
|
1524
|
+
};
|
|
1525
|
+
}),
|
|
1526
|
+
/**
|
|
1527
|
+
* Update a footer
|
|
1528
|
+
* @summary Update footer
|
|
1529
|
+
* @param {string} project What project it is
|
|
1530
|
+
* @param {UpdateFooterRequest} [updateFooterRequest] Update footer
|
|
1531
|
+
* @param {*} [options] Override http request option.
|
|
1532
|
+
* @throws {RequiredError}
|
|
1533
|
+
*/
|
|
1534
|
+
updateFooter: (project_1, updateFooterRequest_1, ...args_1) => __awaiter(this, [project_1, updateFooterRequest_1, ...args_1], void 0, function* (project, updateFooterRequest, options = {}) {
|
|
1535
|
+
// verify required parameter 'project' is not null or undefined
|
|
1536
|
+
(0, common_1.assertParamExists)('updateFooter', 'project', project);
|
|
1537
|
+
const localVarPath = `/v1/website/footer`;
|
|
1538
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1539
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1540
|
+
let baseOptions;
|
|
1541
|
+
if (configuration) {
|
|
1542
|
+
baseOptions = configuration.baseOptions;
|
|
1543
|
+
}
|
|
1544
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1545
|
+
const localVarHeaderParameter = {};
|
|
1546
|
+
const localVarQueryParameter = {};
|
|
1547
|
+
// authentication session-oauth required
|
|
1548
|
+
// oauth required
|
|
1549
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1550
|
+
// authentication api-key required
|
|
1551
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1552
|
+
if (project !== undefined) {
|
|
1553
|
+
localVarQueryParameter['project'] = project;
|
|
1554
|
+
}
|
|
1555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1556
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1558
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1559
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateFooterRequest, localVarRequestOptions, configuration);
|
|
1560
|
+
return {
|
|
1561
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1562
|
+
options: localVarRequestOptions,
|
|
1563
|
+
};
|
|
1564
|
+
}),
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
exports.FooterApiAxiosParamCreator = FooterApiAxiosParamCreator;
|
|
1568
|
+
/**
|
|
1569
|
+
* FooterApi - functional programming interface
|
|
1570
|
+
* @export
|
|
1571
|
+
*/
|
|
1572
|
+
const FooterApiFp = function (configuration) {
|
|
1573
|
+
const localVarAxiosParamCreator = (0, exports.FooterApiAxiosParamCreator)(configuration);
|
|
1574
|
+
return {
|
|
1575
|
+
/**
|
|
1576
|
+
* Get the footer for the project
|
|
1577
|
+
* @summary Get footer
|
|
1578
|
+
* @param {string} project What project it is
|
|
1579
|
+
* @param {*} [options] Override http request option.
|
|
1580
|
+
* @throws {RequiredError}
|
|
1581
|
+
*/
|
|
1582
|
+
getFooter(project, options) {
|
|
1583
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1584
|
+
var _a, _b, _c;
|
|
1585
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFooter(project, options);
|
|
1586
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1587
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FooterApi.getFooter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1588
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1589
|
+
});
|
|
1590
|
+
},
|
|
1591
|
+
/**
|
|
1592
|
+
* Update a footer
|
|
1593
|
+
* @summary Update footer
|
|
1594
|
+
* @param {string} project What project it is
|
|
1595
|
+
* @param {UpdateFooterRequest} [updateFooterRequest] Update footer
|
|
1596
|
+
* @param {*} [options] Override http request option.
|
|
1597
|
+
* @throws {RequiredError}
|
|
1598
|
+
*/
|
|
1599
|
+
updateFooter(project, updateFooterRequest, options) {
|
|
1600
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1601
|
+
var _a, _b, _c;
|
|
1602
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateFooter(project, updateFooterRequest, options);
|
|
1603
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1604
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FooterApi.updateFooter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1605
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1606
|
+
});
|
|
1607
|
+
},
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
exports.FooterApiFp = FooterApiFp;
|
|
1611
|
+
/**
|
|
1612
|
+
* FooterApi - factory interface
|
|
1613
|
+
* @export
|
|
1614
|
+
*/
|
|
1615
|
+
const FooterApiFactory = function (configuration, basePath, axios) {
|
|
1616
|
+
const localVarFp = (0, exports.FooterApiFp)(configuration);
|
|
1617
|
+
return {
|
|
1618
|
+
/**
|
|
1619
|
+
* Get the footer for the project
|
|
1620
|
+
* @summary Get footer
|
|
1621
|
+
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1622
|
+
* @param {*} [options] Override http request option.
|
|
1623
|
+
* @throws {RequiredError}
|
|
1624
|
+
*/
|
|
1625
|
+
getFooter(requestParameters, options) {
|
|
1626
|
+
return localVarFp.getFooter(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1627
|
+
},
|
|
1628
|
+
/**
|
|
1629
|
+
* Update a footer
|
|
1630
|
+
* @summary Update footer
|
|
1631
|
+
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1632
|
+
* @param {*} [options] Override http request option.
|
|
1633
|
+
* @throws {RequiredError}
|
|
1634
|
+
*/
|
|
1635
|
+
updateFooter(requestParameters, options) {
|
|
1636
|
+
return localVarFp.updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(axios, basePath));
|
|
1637
|
+
},
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
exports.FooterApiFactory = FooterApiFactory;
|
|
1641
|
+
/**
|
|
1642
|
+
* FooterApi - object-oriented interface
|
|
1643
|
+
* @export
|
|
1644
|
+
* @class FooterApi
|
|
1645
|
+
* @extends {BaseAPI}
|
|
1646
|
+
*/
|
|
1647
|
+
class FooterApi extends base_1.BaseAPI {
|
|
1648
|
+
/**
|
|
1649
|
+
* Get the footer for the project
|
|
1650
|
+
* @summary Get footer
|
|
1651
|
+
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1652
|
+
* @param {*} [options] Override http request option.
|
|
1653
|
+
* @throws {RequiredError}
|
|
1654
|
+
* @memberof FooterApi
|
|
1655
|
+
*/
|
|
1656
|
+
getFooter(requestParameters, options) {
|
|
1657
|
+
return (0, exports.FooterApiFp)(this.configuration).getFooter(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* Update a footer
|
|
1661
|
+
* @summary Update footer
|
|
1662
|
+
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1663
|
+
* @param {*} [options] Override http request option.
|
|
1664
|
+
* @throws {RequiredError}
|
|
1665
|
+
* @memberof FooterApi
|
|
1666
|
+
*/
|
|
1667
|
+
updateFooter(requestParameters, options) {
|
|
1668
|
+
return (0, exports.FooterApiFp)(this.configuration).updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
exports.FooterApi = FooterApi;
|
|
1296
1672
|
/**
|
|
1297
1673
|
* MenuApi - axios parameter creator
|
|
1298
1674
|
* @export
|
|
@@ -2272,6 +2648,54 @@ exports.PaymentApi = PaymentApi;
|
|
|
2272
2648
|
*/
|
|
2273
2649
|
const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
2274
2650
|
return {
|
|
2651
|
+
/**
|
|
2652
|
+
* Export reviews as a CSV file.
|
|
2653
|
+
* @summary Export reviews
|
|
2654
|
+
* @param {string} project What project it is
|
|
2655
|
+
* @param {string} [start] Start of date range to filter by
|
|
2656
|
+
* @param {string} [end] End of date range to filter by
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
*/
|
|
2660
|
+
exportReviews: (project_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, start_1, end_1, ...args_1], void 0, function* (project, start, end, options = {}) {
|
|
2661
|
+
// verify required parameter 'project' is not null or undefined
|
|
2662
|
+
(0, common_1.assertParamExists)('exportReviews', 'project', project);
|
|
2663
|
+
const localVarPath = `/v1/website/reviews/export`;
|
|
2664
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2665
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2666
|
+
let baseOptions;
|
|
2667
|
+
if (configuration) {
|
|
2668
|
+
baseOptions = configuration.baseOptions;
|
|
2669
|
+
}
|
|
2670
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2671
|
+
const localVarHeaderParameter = {};
|
|
2672
|
+
const localVarQueryParameter = {};
|
|
2673
|
+
// authentication session-oauth required
|
|
2674
|
+
// oauth required
|
|
2675
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
2676
|
+
// authentication api-key required
|
|
2677
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2678
|
+
if (project !== undefined) {
|
|
2679
|
+
localVarQueryParameter['project'] = project;
|
|
2680
|
+
}
|
|
2681
|
+
if (start !== undefined) {
|
|
2682
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
2683
|
+
start.toISOString() :
|
|
2684
|
+
start;
|
|
2685
|
+
}
|
|
2686
|
+
if (end !== undefined) {
|
|
2687
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
2688
|
+
end.toISOString() :
|
|
2689
|
+
end;
|
|
2690
|
+
}
|
|
2691
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2693
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2694
|
+
return {
|
|
2695
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2696
|
+
options: localVarRequestOptions,
|
|
2697
|
+
};
|
|
2698
|
+
}),
|
|
2275
2699
|
/**
|
|
2276
2700
|
*
|
|
2277
2701
|
* @summary Get review
|
|
@@ -2320,10 +2744,12 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2320
2744
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2321
2745
|
* @param {string} [search] Search term to filter results
|
|
2322
2746
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2747
|
+
* @param {string} [start] Start of date range to filter by
|
|
2748
|
+
* @param {string} [end] End of date range to filter by
|
|
2323
2749
|
* @param {*} [options] Override http request option.
|
|
2324
2750
|
* @throws {RequiredError}
|
|
2325
2751
|
*/
|
|
2326
|
-
listReviews: (project_1, pageToken_1, pageSize_1, search_1, sortBy_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, sortBy_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, sortBy, options = {}) {
|
|
2752
|
+
listReviews: (project_1, pageToken_1, pageSize_1, search_1, sortBy_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, sortBy_1, start_1, end_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, sortBy, start, end, options = {}) {
|
|
2327
2753
|
// verify required parameter 'project' is not null or undefined
|
|
2328
2754
|
(0, common_1.assertParamExists)('listReviews', 'project', project);
|
|
2329
2755
|
const localVarPath = `/v1/website/reviews`;
|
|
@@ -2356,6 +2782,16 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
2356
2782
|
if (sortBy) {
|
|
2357
2783
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
2358
2784
|
}
|
|
2785
|
+
if (start !== undefined) {
|
|
2786
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
2787
|
+
start.toISOString() :
|
|
2788
|
+
start;
|
|
2789
|
+
}
|
|
2790
|
+
if (end !== undefined) {
|
|
2791
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
2792
|
+
end.toISOString() :
|
|
2793
|
+
end;
|
|
2794
|
+
}
|
|
2359
2795
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2360
2796
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2361
2797
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2417,6 +2853,24 @@ exports.ReviewsApiAxiosParamCreator = ReviewsApiAxiosParamCreator;
|
|
|
2417
2853
|
const ReviewsApiFp = function (configuration) {
|
|
2418
2854
|
const localVarAxiosParamCreator = (0, exports.ReviewsApiAxiosParamCreator)(configuration);
|
|
2419
2855
|
return {
|
|
2856
|
+
/**
|
|
2857
|
+
* Export reviews as a CSV file.
|
|
2858
|
+
* @summary Export reviews
|
|
2859
|
+
* @param {string} project What project it is
|
|
2860
|
+
* @param {string} [start] Start of date range to filter by
|
|
2861
|
+
* @param {string} [end] End of date range to filter by
|
|
2862
|
+
* @param {*} [options] Override http request option.
|
|
2863
|
+
* @throws {RequiredError}
|
|
2864
|
+
*/
|
|
2865
|
+
exportReviews(project, start, end, options) {
|
|
2866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2867
|
+
var _a, _b, _c;
|
|
2868
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportReviews(project, start, end, options);
|
|
2869
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2870
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReviewsApi.exportReviews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2871
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2872
|
+
});
|
|
2873
|
+
},
|
|
2420
2874
|
/**
|
|
2421
2875
|
*
|
|
2422
2876
|
* @summary Get review
|
|
@@ -2442,13 +2896,15 @@ const ReviewsApiFp = function (configuration) {
|
|
|
2442
2896
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2443
2897
|
* @param {string} [search] Search term to filter results
|
|
2444
2898
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2899
|
+
* @param {string} [start] Start of date range to filter by
|
|
2900
|
+
* @param {string} [end] End of date range to filter by
|
|
2445
2901
|
* @param {*} [options] Override http request option.
|
|
2446
2902
|
* @throws {RequiredError}
|
|
2447
2903
|
*/
|
|
2448
|
-
listReviews(project, pageToken, pageSize, search, sortBy, options) {
|
|
2904
|
+
listReviews(project, pageToken, pageSize, search, sortBy, start, end, options) {
|
|
2449
2905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2450
2906
|
var _a, _b, _c;
|
|
2451
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listReviews(project, pageToken, pageSize, search, sortBy, options);
|
|
2907
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listReviews(project, pageToken, pageSize, search, sortBy, start, end, options);
|
|
2452
2908
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2453
2909
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReviewsApi.listReviews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2454
2910
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2482,6 +2938,16 @@ exports.ReviewsApiFp = ReviewsApiFp;
|
|
|
2482
2938
|
const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
2483
2939
|
const localVarFp = (0, exports.ReviewsApiFp)(configuration);
|
|
2484
2940
|
return {
|
|
2941
|
+
/**
|
|
2942
|
+
* Export reviews as a CSV file.
|
|
2943
|
+
* @summary Export reviews
|
|
2944
|
+
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
2945
|
+
* @param {*} [options] Override http request option.
|
|
2946
|
+
* @throws {RequiredError}
|
|
2947
|
+
*/
|
|
2948
|
+
exportReviews(requestParameters, options) {
|
|
2949
|
+
return localVarFp.exportReviews(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
2950
|
+
},
|
|
2485
2951
|
/**
|
|
2486
2952
|
*
|
|
2487
2953
|
* @summary Get review
|
|
@@ -2500,7 +2966,7 @@ const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
2500
2966
|
* @throws {RequiredError}
|
|
2501
2967
|
*/
|
|
2502
2968
|
listReviews(requestParameters, options) {
|
|
2503
|
-
return localVarFp.listReviews(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, options).then((request) => request(axios, basePath));
|
|
2969
|
+
return localVarFp.listReviews(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
2504
2970
|
},
|
|
2505
2971
|
/**
|
|
2506
2972
|
*
|
|
@@ -2522,6 +2988,17 @@ exports.ReviewsApiFactory = ReviewsApiFactory;
|
|
|
2522
2988
|
* @extends {BaseAPI}
|
|
2523
2989
|
*/
|
|
2524
2990
|
class ReviewsApi extends base_1.BaseAPI {
|
|
2991
|
+
/**
|
|
2992
|
+
* Export reviews as a CSV file.
|
|
2993
|
+
* @summary Export reviews
|
|
2994
|
+
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
* @memberof ReviewsApi
|
|
2998
|
+
*/
|
|
2999
|
+
exportReviews(requestParameters, options) {
|
|
3000
|
+
return (0, exports.ReviewsApiFp)(this.configuration).exportReviews(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
3001
|
+
}
|
|
2525
3002
|
/**
|
|
2526
3003
|
*
|
|
2527
3004
|
* @summary Get review
|
|
@@ -2542,7 +3019,7 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
2542
3019
|
* @memberof ReviewsApi
|
|
2543
3020
|
*/
|
|
2544
3021
|
listReviews(requestParameters, options) {
|
|
2545
|
-
return (0, exports.ReviewsApiFp)(this.configuration).listReviews(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
3022
|
+
return (0, exports.ReviewsApiFp)(this.configuration).listReviews(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
2546
3023
|
}
|
|
2547
3024
|
/**
|
|
2548
3025
|
*
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED