@teemill/website 0.20.0 → 0.22.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.
Files changed (116) hide show
  1. package/README.md +151 -2
  2. package/api.ts +203 -6
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +125 -3
  7. package/dist/api.js +107 -6
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +125 -3
  15. package/dist/esm/api.js +107 -6
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/ApiError.md +22 -0
  27. package/docs/Application.md +28 -0
  28. package/docs/ApplicationMockup.md +22 -0
  29. package/docs/AttachCrossSellProductsRequest.md +20 -0
  30. package/docs/Attribute.md +26 -0
  31. package/docs/AttributeThumbnail.md +23 -0
  32. package/docs/AuthorizeStripe200Response.md +20 -0
  33. package/docs/Blog.md +34 -0
  34. package/docs/BlogsApi.md +317 -0
  35. package/docs/BlogsResponse.md +22 -0
  36. package/docs/Brand.md +20 -0
  37. package/docs/Collection.md +36 -0
  38. package/docs/CollectionsApi.md +378 -0
  39. package/docs/CollectionsResponse.md +22 -0
  40. package/docs/CreateSearchRedirectRequest.md +22 -0
  41. package/docs/CrossSellApi.md +128 -0
  42. package/docs/DefaultApi.md +123 -0
  43. package/docs/ExportPages202Response.md +20 -0
  44. package/docs/Footer.md +20 -0
  45. package/docs/FooterApi.md +123 -0
  46. package/docs/FooterItem.md +26 -0
  47. package/docs/Image.md +35 -0
  48. package/docs/ListRoutesResponse.md +22 -0
  49. package/docs/Menu.md +20 -0
  50. package/docs/MenuApi.md +122 -0
  51. package/docs/MenuItem.md +32 -0
  52. package/docs/MetaField.md +23 -0
  53. package/docs/MetaImage.md +23 -0
  54. package/docs/ModerateReviewRequest.md +20 -0
  55. package/docs/OptimisationHistoryItem.md +22 -0
  56. package/docs/Page.md +38 -0
  57. package/docs/PagesApi.md +378 -0
  58. package/docs/PagesResponse.md +22 -0
  59. package/docs/PaymentAccount.md +24 -0
  60. package/docs/PaymentApi.md +178 -0
  61. package/docs/Price.md +23 -0
  62. package/docs/Product.md +66 -0
  63. package/docs/ProductAdditionalFilesInner.md +22 -0
  64. package/docs/ProductApplicationSetsInner.md +24 -0
  65. package/docs/ProductWarehouseProduct.md +22 -0
  66. package/docs/Review.md +38 -0
  67. package/docs/ReviewAuthor.md +22 -0
  68. package/docs/ReviewImagesInner.md +22 -0
  69. package/docs/ReviewProduct.md +23 -0
  70. package/docs/ReviewReply.md +26 -0
  71. package/docs/ReviewReplyAuthor.md +20 -0
  72. package/docs/ReviewsApi.md +263 -0
  73. package/docs/ReviewsResponse.md +22 -0
  74. package/docs/Route.md +28 -0
  75. package/docs/RoutesApi.md +70 -0
  76. package/docs/SearchApi.md +319 -0
  77. package/docs/SearchRedirect.md +26 -0
  78. package/docs/SearchRedirectsResponse.md +22 -0
  79. package/docs/SeoMetadata.md +23 -0
  80. package/docs/SeoOptimiseCollectionsRequest.md +22 -0
  81. package/docs/SeoOptimisePages202Response.md +20 -0
  82. package/docs/SeoOptimisePagesRequest.md +22 -0
  83. package/docs/Stock.md +20 -0
  84. package/docs/SubmenuInner.md +32 -0
  85. package/docs/SubmenuInnerImage.md +36 -0
  86. package/docs/SubmenuInnerImageButton.md +30 -0
  87. package/docs/SubmenuInnerImageText.md +24 -0
  88. package/docs/SubmenuItem.md +30 -0
  89. package/docs/TargetSearchPhraseData.md +22 -0
  90. package/docs/UpdateBlogRequest.md +30 -0
  91. package/docs/UpdateBlogsRequest.md +20 -0
  92. package/docs/UpdateBlogsRequestBlogsInner.md +32 -0
  93. package/docs/UpdateBlogsRequestBlogsInnerSeoMetadata.md +22 -0
  94. package/docs/UpdateBrandRequest.md +20 -0
  95. package/docs/UpdateCollectionRequest.md +32 -0
  96. package/docs/UpdateCollectionsRequest.md +20 -0
  97. package/docs/UpdateCollectionsRequestCollectionsInner.md +34 -0
  98. package/docs/UpdateCollectionsRequestCollectionsInnerSeoMetadata.md +22 -0
  99. package/docs/UpdateFooterRequest.md +20 -0
  100. package/docs/UpdateFooterRequestItemsInner.md +24 -0
  101. package/docs/UpdateMenuRequest.md +20 -0
  102. package/docs/UpdateMenuRequestItem.md +32 -0
  103. package/docs/UpdateMenuRequestItemSubmenuInner.md +32 -0
  104. package/docs/UpdateMenuRequestItemSubmenuInnerImage.md +36 -0
  105. package/docs/UpdateMenuRequestItemSubmenuInnerImageButton.md +30 -0
  106. package/docs/UpdateMenuRequestItemSubmenuInnerImageText.md +24 -0
  107. package/docs/UpdateMenuRequestSubmenuItem.md +30 -0
  108. package/docs/UpdatePageRequest.md +28 -0
  109. package/docs/UpdatePagesRequest.md +20 -0
  110. package/docs/UpdatePagesRequestPagesInner.md +30 -0
  111. package/docs/UpdateSearchRedirectRequest.md +22 -0
  112. package/docs/Variant.md +52 -0
  113. package/docs/VariantProduct.md +22 -0
  114. package/docs/Video.md +31 -0
  115. package/index.ts +1 -1
  116. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.20.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -676,6 +676,13 @@ export interface Page {
676
676
  * @memberof Page
677
677
  */
678
678
  'slug'?: string;
679
+ /**
680
+ *
681
+ * @type {boolean}
682
+ * @memberof Page
683
+ * @deprecated
684
+ */
685
+ 'published'?: boolean;
679
686
  /**
680
687
  *
681
688
  * @type {TargetSearchPhraseData}
@@ -1007,6 +1014,12 @@ export interface Review {
1007
1014
  * @memberof Review
1008
1015
  */
1009
1016
  'text': string;
1017
+ /**
1018
+ *
1019
+ * @type {ReviewProduct}
1020
+ * @memberof Review
1021
+ */
1022
+ 'product'?: ReviewProduct;
1010
1023
  /**
1011
1024
  *
1012
1025
  * @type {ReviewAuthor}
@@ -1088,6 +1101,25 @@ export interface ReviewImagesInner {
1088
1101
  */
1089
1102
  'alt'?: string;
1090
1103
  }
1104
+ /**
1105
+ * The product that the review is for
1106
+ * @export
1107
+ * @interface ReviewProduct
1108
+ */
1109
+ export interface ReviewProduct {
1110
+ /**
1111
+ * Unique object identifier
1112
+ * @type {string}
1113
+ * @memberof ReviewProduct
1114
+ */
1115
+ 'id'?: string;
1116
+ /**
1117
+ * The title of the product
1118
+ * @type {string}
1119
+ * @memberof ReviewProduct
1120
+ */
1121
+ 'title'?: string;
1122
+ }
1091
1123
  /**
1092
1124
  *
1093
1125
  * @export
@@ -1269,6 +1301,12 @@ export interface SeoOptimiseCollectionsRequest {
1269
1301
  * @memberof SeoOptimiseCollectionsRequest
1270
1302
  */
1271
1303
  'ids'?: Array<string>;
1304
+ /**
1305
+ * If provided, only the specified fields will be updated.
1306
+ * @type {Array<string>}
1307
+ * @memberof SeoOptimiseCollectionsRequest
1308
+ */
1309
+ 'fields'?: Array<string>;
1272
1310
  }
1273
1311
  /**
1274
1312
  *
@@ -1295,6 +1333,12 @@ export interface SeoOptimisePagesRequest {
1295
1333
  * @memberof SeoOptimisePagesRequest
1296
1334
  */
1297
1335
  'ids'?: Array<string>;
1336
+ /**
1337
+ * If provided, only the specified fields will be updated.
1338
+ * @type {Array<string>}
1339
+ * @memberof SeoOptimisePagesRequest
1340
+ */
1341
+ 'fields'?: Array<string>;
1298
1342
  }
1299
1343
  /**
1300
1344
  *
@@ -4298,6 +4342,16 @@ export declare class PaymentApi extends BaseAPI {
4298
4342
  * @export
4299
4343
  */
4300
4344
  export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration) => {
4345
+ /**
4346
+ * Export reviews as a CSV file.
4347
+ * @summary Export reviews
4348
+ * @param {string} project What project it is
4349
+ * @param {string} [start] Start of date range to filter by
4350
+ * @param {string} [end] End of date range to filter by
4351
+ * @param {*} [options] Override http request option.
4352
+ * @throws {RequiredError}
4353
+ */
4354
+ exportReviews: (project: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4301
4355
  /**
4302
4356
  *
4303
4357
  * @summary Get review
@@ -4315,10 +4369,12 @@ export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration
4315
4369
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4316
4370
  * @param {string} [search] Search term to filter results
4317
4371
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
4372
+ * @param {string} [start] Start of date range to filter by
4373
+ * @param {string} [end] End of date range to filter by
4318
4374
  * @param {*} [options] Override http request option.
4319
4375
  * @throws {RequiredError}
4320
4376
  */
4321
- listReviews: (project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4377
+ listReviews: (project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4322
4378
  /**
4323
4379
  *
4324
4380
  * @summary Moderate review
@@ -4335,6 +4391,16 @@ export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration
4335
4391
  * @export
4336
4392
  */
4337
4393
  export declare const ReviewsApiFp: (configuration?: Configuration) => {
4394
+ /**
4395
+ * Export reviews as a CSV file.
4396
+ * @summary Export reviews
4397
+ * @param {string} project What project it is
4398
+ * @param {string} [start] Start of date range to filter by
4399
+ * @param {string} [end] End of date range to filter by
4400
+ * @param {*} [options] Override http request option.
4401
+ * @throws {RequiredError}
4402
+ */
4403
+ exportReviews(project: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
4338
4404
  /**
4339
4405
  *
4340
4406
  * @summary Get review
@@ -4352,10 +4418,12 @@ export declare const ReviewsApiFp: (configuration?: Configuration) => {
4352
4418
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
4353
4419
  * @param {string} [search] Search term to filter results
4354
4420
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
4421
+ * @param {string} [start] Start of date range to filter by
4422
+ * @param {string} [end] End of date range to filter by
4355
4423
  * @param {*} [options] Override http request option.
4356
4424
  * @throws {RequiredError}
4357
4425
  */
4358
- listReviews(project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
4426
+ listReviews(project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
4359
4427
  /**
4360
4428
  *
4361
4429
  * @summary Moderate review
@@ -4372,6 +4440,14 @@ export declare const ReviewsApiFp: (configuration?: Configuration) => {
4372
4440
  * @export
4373
4441
  */
4374
4442
  export declare const ReviewsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4443
+ /**
4444
+ * Export reviews as a CSV file.
4445
+ * @summary Export reviews
4446
+ * @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
4447
+ * @param {*} [options] Override http request option.
4448
+ * @throws {RequiredError}
4449
+ */
4450
+ exportReviews(requestParameters: ReviewsApiExportReviewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
4375
4451
  /**
4376
4452
  *
4377
4453
  * @summary Get review
@@ -4397,6 +4473,31 @@ export declare const ReviewsApiFactory: (configuration?: Configuration, basePath
4397
4473
  */
4398
4474
  moderateReview(requestParameters: ReviewsApiModerateReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<Review>;
4399
4475
  };
4476
+ /**
4477
+ * Request parameters for exportReviews operation in ReviewsApi.
4478
+ * @export
4479
+ * @interface ReviewsApiExportReviewsRequest
4480
+ */
4481
+ export interface ReviewsApiExportReviewsRequest {
4482
+ /**
4483
+ * What project it is
4484
+ * @type {string}
4485
+ * @memberof ReviewsApiExportReviews
4486
+ */
4487
+ readonly project: string;
4488
+ /**
4489
+ * Start of date range to filter by
4490
+ * @type {string}
4491
+ * @memberof ReviewsApiExportReviews
4492
+ */
4493
+ readonly start?: string;
4494
+ /**
4495
+ * End of date range to filter by
4496
+ * @type {string}
4497
+ * @memberof ReviewsApiExportReviews
4498
+ */
4499
+ readonly end?: string;
4500
+ }
4400
4501
  /**
4401
4502
  * Request parameters for getReview operation in ReviewsApi.
4402
4503
  * @export
@@ -4452,6 +4553,18 @@ export interface ReviewsApiListReviewsRequest {
4452
4553
  * @memberof ReviewsApiListReviews
4453
4554
  */
4454
4555
  readonly sortBy?: Array<string>;
4556
+ /**
4557
+ * Start of date range to filter by
4558
+ * @type {string}
4559
+ * @memberof ReviewsApiListReviews
4560
+ */
4561
+ readonly start?: string;
4562
+ /**
4563
+ * End of date range to filter by
4564
+ * @type {string}
4565
+ * @memberof ReviewsApiListReviews
4566
+ */
4567
+ readonly end?: string;
4455
4568
  }
4456
4569
  /**
4457
4570
  * Request parameters for moderateReview operation in ReviewsApi.
@@ -4485,6 +4598,15 @@ export interface ReviewsApiModerateReviewRequest {
4485
4598
  * @extends {BaseAPI}
4486
4599
  */
4487
4600
  export declare class ReviewsApi extends BaseAPI {
4601
+ /**
4602
+ * Export reviews as a CSV file.
4603
+ * @summary Export reviews
4604
+ * @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
4605
+ * @param {*} [options] Override http request option.
4606
+ * @throws {RequiredError}
4607
+ * @memberof ReviewsApi
4608
+ */
4609
+ exportReviews(requestParameters: ReviewsApiExportReviewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
4488
4610
  /**
4489
4611
  *
4490
4612
  * @summary Get review
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.20.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2648,6 +2648,54 @@ exports.PaymentApi = PaymentApi;
2648
2648
  */
2649
2649
  const ReviewsApiAxiosParamCreator = function (configuration) {
2650
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
+ }),
2651
2699
  /**
2652
2700
  *
2653
2701
  * @summary Get review
@@ -2696,10 +2744,12 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
2696
2744
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2697
2745
  * @param {string} [search] Search term to filter results
2698
2746
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; 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
2699
2749
  * @param {*} [options] Override http request option.
2700
2750
  * @throws {RequiredError}
2701
2751
  */
2702
- 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 = {}) {
2703
2753
  // verify required parameter 'project' is not null or undefined
2704
2754
  (0, common_1.assertParamExists)('listReviews', 'project', project);
2705
2755
  const localVarPath = `/v1/website/reviews`;
@@ -2732,6 +2782,16 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
2732
2782
  if (sortBy) {
2733
2783
  localVarQueryParameter['sortBy'] = sortBy;
2734
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
+ }
2735
2795
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2736
2796
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2737
2797
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2793,6 +2853,24 @@ exports.ReviewsApiAxiosParamCreator = ReviewsApiAxiosParamCreator;
2793
2853
  const ReviewsApiFp = function (configuration) {
2794
2854
  const localVarAxiosParamCreator = (0, exports.ReviewsApiAxiosParamCreator)(configuration);
2795
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
+ },
2796
2874
  /**
2797
2875
  *
2798
2876
  * @summary Get review
@@ -2818,13 +2896,15 @@ const ReviewsApiFp = function (configuration) {
2818
2896
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2819
2897
  * @param {string} [search] Search term to filter results
2820
2898
  * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; 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
2821
2901
  * @param {*} [options] Override http request option.
2822
2902
  * @throws {RequiredError}
2823
2903
  */
2824
- listReviews(project, pageToken, pageSize, search, sortBy, options) {
2904
+ listReviews(project, pageToken, pageSize, search, sortBy, start, end, options) {
2825
2905
  return __awaiter(this, void 0, void 0, function* () {
2826
2906
  var _a, _b, _c;
2827
- 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);
2828
2908
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2829
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;
2830
2910
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2858,6 +2938,16 @@ exports.ReviewsApiFp = ReviewsApiFp;
2858
2938
  const ReviewsApiFactory = function (configuration, basePath, axios) {
2859
2939
  const localVarFp = (0, exports.ReviewsApiFp)(configuration);
2860
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
+ },
2861
2951
  /**
2862
2952
  *
2863
2953
  * @summary Get review
@@ -2876,7 +2966,7 @@ const ReviewsApiFactory = function (configuration, basePath, axios) {
2876
2966
  * @throws {RequiredError}
2877
2967
  */
2878
2968
  listReviews(requestParameters, options) {
2879
- 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));
2880
2970
  },
2881
2971
  /**
2882
2972
  *
@@ -2898,6 +2988,17 @@ exports.ReviewsApiFactory = ReviewsApiFactory;
2898
2988
  * @extends {BaseAPI}
2899
2989
  */
2900
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
+ }
2901
3002
  /**
2902
3003
  *
2903
3004
  * @summary Get review
@@ -2918,7 +3019,7 @@ class ReviewsApi extends base_1.BaseAPI {
2918
3019
  * @memberof ReviewsApi
2919
3020
  */
2920
3021
  listReviews(requestParameters, options) {
2921
- 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));
2922
3023
  }
2923
3024
  /**
2924
3025
  *
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.20.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.20.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.20.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.20.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.20.0
5
+ * The version of the OpenAPI document: 0.22.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Website API
6
6
  * Manage your PodOS Website
7
7
  *
8
- * The version of the OpenAPI document: 0.20.0
8
+ * The version of the OpenAPI document: 0.22.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).