@teemill/platform 0.30.5 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.30.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
25
+ exports.TermsApi = exports.TermsApiFactory = exports.TermsApiFp = exports.TermsApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PlatformApi = exports.PlatformApiFactory = exports.PlatformApiFp = exports.PlatformApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.ListOrdersDateFilterTypeEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.EnquiriesApi = exports.EnquiriesApiFactory = exports.EnquiriesApiFp = exports.EnquiriesApiAxiosParamCreator = exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = exports.ListCustomersGenderEnum = exports.ListCustomersSortByEnum = exports.ExportCustomersGenderEnum = exports.ExportCustomersSortByEnum = exports.CustomersApi = exports.CustomersApiFactory = exports.CustomersApiFp = exports.CustomersApiAxiosParamCreator = exports.PaymentAttemptStatusEnum = exports.PaymentAttemptPaymentProviderEnum = exports.PaymentAccountMethodEnum = exports.OrderStatus = exports.EnquiryStatusEnum = exports.CustomsInformationPreRegistrationTypeEnum = exports.AmendmentLogAmendmentTypeEnum = exports.AmendOrderRequestAmendmentsInnerActionEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -33,6 +33,10 @@ exports.AmendOrderRequestAmendmentsInnerActionEnum = {
33
33
  Refund: 'refund',
34
34
  Exchange: 'exchange'
35
35
  };
36
+ exports.AmendmentLogAmendmentTypeEnum = {
37
+ Refund: 'refund',
38
+ Exchange: 'exchange'
39
+ };
36
40
  exports.CustomsInformationPreRegistrationTypeEnum = {
37
41
  Ioss: 'IOSS'
38
42
  };
@@ -547,6 +551,206 @@ exports.ListCustomersGenderEnum = {
547
551
  Male: 'male',
548
552
  Female: 'female'
549
553
  };
554
+ /**
555
+ * DashboardApi - axios parameter creator
556
+ * @export
557
+ */
558
+ const DashboardApiAxiosParamCreator = function (configuration) {
559
+ return {
560
+ /**
561
+ *
562
+ * @summary Get the platform\'s dashboard
563
+ * @param {string} project Project unique identifier
564
+ * @param {string} platformId The platform identifier
565
+ * @param {*} [options] Override http request option.
566
+ * @throws {RequiredError}
567
+ */
568
+ getDashboard: (project_1, platformId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, ...args_1], void 0, function* (project, platformId, options = {}) {
569
+ // verify required parameter 'project' is not null or undefined
570
+ (0, common_1.assertParamExists)('getDashboard', 'project', project);
571
+ // verify required parameter 'platformId' is not null or undefined
572
+ (0, common_1.assertParamExists)('getDashboard', 'platformId', platformId);
573
+ const localVarPath = `/v1/platform/{platformId}/dashboard`
574
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
575
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
576
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
577
+ let baseOptions;
578
+ if (configuration) {
579
+ baseOptions = configuration.baseOptions;
580
+ }
581
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
582
+ const localVarHeaderParameter = {};
583
+ const localVarQueryParameter = {};
584
+ // authentication session-oauth required
585
+ // oauth required
586
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
587
+ // authentication api-key required
588
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
589
+ if (project !== undefined) {
590
+ localVarQueryParameter['project'] = project;
591
+ }
592
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
593
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
594
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
595
+ return {
596
+ url: (0, common_1.toPathString)(localVarUrlObj),
597
+ options: localVarRequestOptions,
598
+ };
599
+ }),
600
+ /**
601
+ *
602
+ * @summary Save the platform\'s dashboard
603
+ * @param {string} project Project unique identifier
604
+ * @param {string} platformId The platform identifier
605
+ * @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
606
+ * @param {*} [options] Override http request option.
607
+ * @throws {RequiredError}
608
+ */
609
+ saveDashboard: (project_1, platformId_1, saveDashboardRequest_1, ...args_1) => __awaiter(this, [project_1, platformId_1, saveDashboardRequest_1, ...args_1], void 0, function* (project, platformId, saveDashboardRequest, options = {}) {
610
+ // verify required parameter 'project' is not null or undefined
611
+ (0, common_1.assertParamExists)('saveDashboard', 'project', project);
612
+ // verify required parameter 'platformId' is not null or undefined
613
+ (0, common_1.assertParamExists)('saveDashboard', 'platformId', platformId);
614
+ // verify required parameter 'saveDashboardRequest' is not null or undefined
615
+ (0, common_1.assertParamExists)('saveDashboard', 'saveDashboardRequest', saveDashboardRequest);
616
+ const localVarPath = `/v1/platform/{platformId}/dashboard`
617
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
619
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
620
+ let baseOptions;
621
+ if (configuration) {
622
+ baseOptions = configuration.baseOptions;
623
+ }
624
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
625
+ const localVarHeaderParameter = {};
626
+ const localVarQueryParameter = {};
627
+ // authentication session-oauth required
628
+ // oauth required
629
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
630
+ // authentication api-key required
631
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
632
+ if (project !== undefined) {
633
+ localVarQueryParameter['project'] = project;
634
+ }
635
+ localVarHeaderParameter['Content-Type'] = 'application/json';
636
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
637
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
638
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
639
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveDashboardRequest, localVarRequestOptions, configuration);
640
+ return {
641
+ url: (0, common_1.toPathString)(localVarUrlObj),
642
+ options: localVarRequestOptions,
643
+ };
644
+ }),
645
+ };
646
+ };
647
+ exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
648
+ /**
649
+ * DashboardApi - functional programming interface
650
+ * @export
651
+ */
652
+ const DashboardApiFp = function (configuration) {
653
+ const localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
654
+ return {
655
+ /**
656
+ *
657
+ * @summary Get the platform\'s dashboard
658
+ * @param {string} project Project unique identifier
659
+ * @param {string} platformId The platform identifier
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ */
663
+ getDashboard(project, platformId, options) {
664
+ return __awaiter(this, void 0, void 0, function* () {
665
+ var _a, _b, _c;
666
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDashboard(project, platformId, options);
667
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
668
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.getDashboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
669
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
670
+ });
671
+ },
672
+ /**
673
+ *
674
+ * @summary Save the platform\'s dashboard
675
+ * @param {string} project Project unique identifier
676
+ * @param {string} platformId The platform identifier
677
+ * @param {SaveDashboardRequest} saveDashboardRequest Save dashboard
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ saveDashboard(project, platformId, saveDashboardRequest, options) {
682
+ return __awaiter(this, void 0, void 0, function* () {
683
+ var _a, _b, _c;
684
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.saveDashboard(project, platformId, saveDashboardRequest, options);
685
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
686
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.saveDashboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
687
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
688
+ });
689
+ },
690
+ };
691
+ };
692
+ exports.DashboardApiFp = DashboardApiFp;
693
+ /**
694
+ * DashboardApi - factory interface
695
+ * @export
696
+ */
697
+ const DashboardApiFactory = function (configuration, basePath, axios) {
698
+ const localVarFp = (0, exports.DashboardApiFp)(configuration);
699
+ return {
700
+ /**
701
+ *
702
+ * @summary Get the platform\'s dashboard
703
+ * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
704
+ * @param {*} [options] Override http request option.
705
+ * @throws {RequiredError}
706
+ */
707
+ getDashboard(requestParameters, options) {
708
+ return localVarFp.getDashboard(requestParameters.project, requestParameters.platformId, options).then((request) => request(axios, basePath));
709
+ },
710
+ /**
711
+ *
712
+ * @summary Save the platform\'s dashboard
713
+ * @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ */
717
+ saveDashboard(requestParameters, options) {
718
+ return localVarFp.saveDashboard(requestParameters.project, requestParameters.platformId, requestParameters.saveDashboardRequest, options).then((request) => request(axios, basePath));
719
+ },
720
+ };
721
+ };
722
+ exports.DashboardApiFactory = DashboardApiFactory;
723
+ /**
724
+ * DashboardApi - object-oriented interface
725
+ * @export
726
+ * @class DashboardApi
727
+ * @extends {BaseAPI}
728
+ */
729
+ class DashboardApi extends base_1.BaseAPI {
730
+ /**
731
+ *
732
+ * @summary Get the platform\'s dashboard
733
+ * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ * @memberof DashboardApi
737
+ */
738
+ getDashboard(requestParameters, options) {
739
+ return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.project, requestParameters.platformId, options).then((request) => request(this.axios, this.basePath));
740
+ }
741
+ /**
742
+ *
743
+ * @summary Save the platform\'s dashboard
744
+ * @param {DashboardApiSaveDashboardRequest} requestParameters Request parameters.
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ * @memberof DashboardApi
748
+ */
749
+ saveDashboard(requestParameters, options) {
750
+ return (0, exports.DashboardApiFp)(this.configuration).saveDashboard(requestParameters.project, requestParameters.platformId, requestParameters.saveDashboardRequest, options).then((request) => request(this.axios, this.basePath));
751
+ }
752
+ }
753
+ exports.DashboardApi = DashboardApi;
550
754
  /**
551
755
  * EnquiriesApi - axios parameter creator
552
756
  * @export
@@ -3144,6 +3348,79 @@ exports.PlatformApi = PlatformApi;
3144
3348
  */
3145
3349
  const ReviewsApiAxiosParamCreator = function (configuration) {
3146
3350
  return {
3351
+ /**
3352
+ *
3353
+ * @summary Create a review
3354
+ * @param {string} project Project unique identifier
3355
+ * @param {string} platformId The platform identifier
3356
+ * @param {CreateReviewRequest} createReviewRequest
3357
+ * @param {number} [pageToken] Page reference token
3358
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3359
+ * @param {string} [search] Search term to filter results
3360
+ * @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.
3361
+ * @param {string} [start] Start of date range to filter by
3362
+ * @param {string} [end] End of date range to filter by
3363
+ * @param {*} [options] Override http request option.
3364
+ * @throws {RequiredError}
3365
+ */
3366
+ createReview: (project_1, platformId_1, createReviewRequest_1, pageToken_1, pageSize_1, search_1, sortBy_1, start_1, end_1, ...args_1) => __awaiter(this, [project_1, platformId_1, createReviewRequest_1, pageToken_1, pageSize_1, search_1, sortBy_1, start_1, end_1, ...args_1], void 0, function* (project, platformId, createReviewRequest, pageToken, pageSize, search, sortBy, start, end, options = {}) {
3367
+ // verify required parameter 'project' is not null or undefined
3368
+ (0, common_1.assertParamExists)('createReview', 'project', project);
3369
+ // verify required parameter 'platformId' is not null or undefined
3370
+ (0, common_1.assertParamExists)('createReview', 'platformId', platformId);
3371
+ // verify required parameter 'createReviewRequest' is not null or undefined
3372
+ (0, common_1.assertParamExists)('createReview', 'createReviewRequest', createReviewRequest);
3373
+ const localVarPath = `/v1/platform/{platformId}/reviews`
3374
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
3375
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3376
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3377
+ let baseOptions;
3378
+ if (configuration) {
3379
+ baseOptions = configuration.baseOptions;
3380
+ }
3381
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3382
+ const localVarHeaderParameter = {};
3383
+ const localVarQueryParameter = {};
3384
+ // authentication session-oauth required
3385
+ // oauth required
3386
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
3387
+ // authentication api-key required
3388
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
3389
+ if (project !== undefined) {
3390
+ localVarQueryParameter['project'] = project;
3391
+ }
3392
+ if (pageToken !== undefined) {
3393
+ localVarQueryParameter['pageToken'] = pageToken;
3394
+ }
3395
+ if (pageSize !== undefined) {
3396
+ localVarQueryParameter['pageSize'] = pageSize;
3397
+ }
3398
+ if (search !== undefined) {
3399
+ localVarQueryParameter['search'] = search;
3400
+ }
3401
+ if (sortBy) {
3402
+ localVarQueryParameter['sortBy'] = sortBy;
3403
+ }
3404
+ if (start !== undefined) {
3405
+ localVarQueryParameter['start'] = (start instanceof Date) ?
3406
+ start.toISOString() :
3407
+ start;
3408
+ }
3409
+ if (end !== undefined) {
3410
+ localVarQueryParameter['end'] = (end instanceof Date) ?
3411
+ end.toISOString() :
3412
+ end;
3413
+ }
3414
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3415
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3416
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3417
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3418
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createReviewRequest, localVarRequestOptions, configuration);
3419
+ return {
3420
+ url: (0, common_1.toPathString)(localVarUrlObj),
3421
+ options: localVarRequestOptions,
3422
+ };
3423
+ }),
3147
3424
  /**
3148
3425
  * Export reviews as a CSV file.
3149
3426
  * @summary Export reviews
@@ -3367,6 +3644,30 @@ exports.ReviewsApiAxiosParamCreator = ReviewsApiAxiosParamCreator;
3367
3644
  const ReviewsApiFp = function (configuration) {
3368
3645
  const localVarAxiosParamCreator = (0, exports.ReviewsApiAxiosParamCreator)(configuration);
3369
3646
  return {
3647
+ /**
3648
+ *
3649
+ * @summary Create a review
3650
+ * @param {string} project Project unique identifier
3651
+ * @param {string} platformId The platform identifier
3652
+ * @param {CreateReviewRequest} createReviewRequest
3653
+ * @param {number} [pageToken] Page reference token
3654
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3655
+ * @param {string} [search] Search term to filter results
3656
+ * @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.
3657
+ * @param {string} [start] Start of date range to filter by
3658
+ * @param {string} [end] End of date range to filter by
3659
+ * @param {*} [options] Override http request option.
3660
+ * @throws {RequiredError}
3661
+ */
3662
+ createReview(project, platformId, createReviewRequest, pageToken, pageSize, search, sortBy, start, end, options) {
3663
+ return __awaiter(this, void 0, void 0, function* () {
3664
+ var _a, _b, _c;
3665
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createReview(project, platformId, createReviewRequest, pageToken, pageSize, search, sortBy, start, end, options);
3666
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3667
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReviewsApi.createReview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3668
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3669
+ });
3670
+ },
3370
3671
  /**
3371
3672
  * Export reviews as a CSV file.
3372
3673
  * @summary Export reviews
@@ -3456,6 +3757,16 @@ exports.ReviewsApiFp = ReviewsApiFp;
3456
3757
  const ReviewsApiFactory = function (configuration, basePath, axios) {
3457
3758
  const localVarFp = (0, exports.ReviewsApiFp)(configuration);
3458
3759
  return {
3760
+ /**
3761
+ *
3762
+ * @summary Create a review
3763
+ * @param {ReviewsApiCreateReviewRequest} requestParameters Request parameters.
3764
+ * @param {*} [options] Override http request option.
3765
+ * @throws {RequiredError}
3766
+ */
3767
+ createReview(requestParameters, options) {
3768
+ return localVarFp.createReview(requestParameters.project, requestParameters.platformId, requestParameters.createReviewRequest, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
3769
+ },
3459
3770
  /**
3460
3771
  * Export reviews as a CSV file.
3461
3772
  * @summary Export reviews
@@ -3506,6 +3817,17 @@ exports.ReviewsApiFactory = ReviewsApiFactory;
3506
3817
  * @extends {BaseAPI}
3507
3818
  */
3508
3819
  class ReviewsApi extends base_1.BaseAPI {
3820
+ /**
3821
+ *
3822
+ * @summary Create a review
3823
+ * @param {ReviewsApiCreateReviewRequest} requestParameters Request parameters.
3824
+ * @param {*} [options] Override http request option.
3825
+ * @throws {RequiredError}
3826
+ * @memberof ReviewsApi
3827
+ */
3828
+ createReview(requestParameters, options) {
3829
+ return (0, exports.ReviewsApiFp)(this.configuration).createReview(requestParameters.project, requestParameters.platformId, requestParameters.createReviewRequest, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
3830
+ }
3509
3831
  /**
3510
3832
  * Export reviews as a CSV file.
3511
3833
  * @summary Export reviews
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.30.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.30.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.30.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.30.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.30.5
5
+ * The version of the OpenAPI document: 0.32.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Platform API
6
6
  * Manage Your podOS platform
7
7
  *
8
- * The version of the OpenAPI document: 0.30.5
8
+ * The version of the OpenAPI document: 0.32.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).