@infisale-client/api 1.2.76 → 1.2.78

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/api.js CHANGED
@@ -4153,6 +4153,38 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4153
4153
  options: localVarRequestOptions,
4154
4154
  };
4155
4155
  },
4156
+ /**
4157
+ *
4158
+ * @param {string} id
4159
+ * @param {ReviewStatusEnum} [status]
4160
+ * @param {*} [options] Override http request option.
4161
+ * @throws {RequiredError}
4162
+ */
4163
+ getCompanyReviewCount: async (id, status, options = {}) => {
4164
+ // verify required parameter 'id' is not null or undefined
4165
+ (0, common_1.assertParamExists)('getCompanyReviewCount', 'id', id);
4166
+ const localVarPath = `/api/companies/{id}/review-count`
4167
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4168
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4169
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4170
+ let baseOptions;
4171
+ if (configuration) {
4172
+ baseOptions = configuration.baseOptions;
4173
+ }
4174
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
4175
+ const localVarHeaderParameter = {};
4176
+ const localVarQueryParameter = {};
4177
+ if (status !== undefined) {
4178
+ localVarQueryParameter['status'] = status;
4179
+ }
4180
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4181
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4182
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4183
+ return {
4184
+ url: (0, common_1.toPathString)(localVarUrlObj),
4185
+ options: localVarRequestOptions,
4186
+ };
4187
+ },
4156
4188
  /**
4157
4189
  *
4158
4190
  * @param {string} id
@@ -4716,6 +4748,19 @@ const CompanyApiFp = function (configuration) {
4716
4748
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyProductReviews']?.[localVarOperationServerIndex]?.url;
4717
4749
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4718
4750
  },
4751
+ /**
4752
+ *
4753
+ * @param {string} id
4754
+ * @param {ReviewStatusEnum} [status]
4755
+ * @param {*} [options] Override http request option.
4756
+ * @throws {RequiredError}
4757
+ */
4758
+ async getCompanyReviewCount(id, status, options) {
4759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyReviewCount(id, status, options);
4760
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4761
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyReviewCount']?.[localVarOperationServerIndex]?.url;
4762
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4763
+ },
4719
4764
  /**
4720
4765
  *
4721
4766
  * @param {string} id
@@ -4995,6 +5040,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
4995
5040
  getCompanyProductReviews(requestParameters, options) {
4996
5041
  return localVarFp.getCompanyProductReviews(requestParameters.id, requestParameters.status, options).then((request) => request(axios, basePath));
4997
5042
  },
5043
+ /**
5044
+ *
5045
+ * @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
5046
+ * @param {*} [options] Override http request option.
5047
+ * @throws {RequiredError}
5048
+ */
5049
+ getCompanyReviewCount(requestParameters, options) {
5050
+ return localVarFp.getCompanyReviewCount(requestParameters.id, requestParameters.status, options).then((request) => request(axios, basePath));
5051
+ },
4998
5052
  /**
4999
5053
  *
5000
5054
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -5244,6 +5298,16 @@ class CompanyApi extends base_1.BaseAPI {
5244
5298
  getCompanyProductReviews(requestParameters, options) {
5245
5299
  return (0, exports.CompanyApiFp)(this.configuration).getCompanyProductReviews(requestParameters.id, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
5246
5300
  }
5301
+ /**
5302
+ *
5303
+ * @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
5304
+ * @param {*} [options] Override http request option.
5305
+ * @throws {RequiredError}
5306
+ * @memberof CompanyApi
5307
+ */
5308
+ getCompanyReviewCount(requestParameters, options) {
5309
+ return (0, exports.CompanyApiFp)(this.configuration).getCompanyReviewCount(requestParameters.id, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
5310
+ }
5247
5311
  /**
5248
5312
  *
5249
5313
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -7252,6 +7316,38 @@ const OrderApiAxiosParamCreator = function (configuration) {
7252
7316
  options: localVarRequestOptions,
7253
7317
  };
7254
7318
  },
7319
+ /**
7320
+ *
7321
+ * @param {string} id
7322
+ * @param {string} productId
7323
+ * @param {*} [options] Override http request option.
7324
+ * @throws {RequiredError}
7325
+ */
7326
+ getOrderProductReview: async (id, productId, options = {}) => {
7327
+ // verify required parameter 'id' is not null or undefined
7328
+ (0, common_1.assertParamExists)('getOrderProductReview', 'id', id);
7329
+ // verify required parameter 'productId' is not null or undefined
7330
+ (0, common_1.assertParamExists)('getOrderProductReview', 'productId', productId);
7331
+ const localVarPath = `/api/orders/{id}/product/{productId}/review`
7332
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
7333
+ .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
7334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7335
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7336
+ let baseOptions;
7337
+ if (configuration) {
7338
+ baseOptions = configuration.baseOptions;
7339
+ }
7340
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
7341
+ const localVarHeaderParameter = {};
7342
+ const localVarQueryParameter = {};
7343
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7344
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7345
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
7346
+ return {
7347
+ url: (0, common_1.toPathString)(localVarUrlObj),
7348
+ options: localVarRequestOptions,
7349
+ };
7350
+ },
7255
7351
  /**
7256
7352
  *
7257
7353
  * @param {string} company
@@ -7554,6 +7650,19 @@ const OrderApiFp = function (configuration) {
7554
7650
  const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
7555
7651
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7556
7652
  },
7653
+ /**
7654
+ *
7655
+ * @param {string} id
7656
+ * @param {string} productId
7657
+ * @param {*} [options] Override http request option.
7658
+ * @throws {RequiredError}
7659
+ */
7660
+ async getOrderProductReview(id, productId, options) {
7661
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderProductReview(id, productId, options);
7662
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7663
+ const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderProductReview']?.[localVarOperationServerIndex]?.url;
7664
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7665
+ },
7557
7666
  /**
7558
7667
  *
7559
7668
  * @param {string} company
@@ -7693,6 +7802,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
7693
7802
  getOrderById(requestParameters, options) {
7694
7803
  return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
7695
7804
  },
7805
+ /**
7806
+ *
7807
+ * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
7808
+ * @param {*} [options] Override http request option.
7809
+ * @throws {RequiredError}
7810
+ */
7811
+ getOrderProductReview(requestParameters, options) {
7812
+ return localVarFp.getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(axios, basePath));
7813
+ },
7696
7814
  /**
7697
7815
  *
7698
7816
  * @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
@@ -7808,6 +7926,16 @@ class OrderApi extends base_1.BaseAPI {
7808
7926
  getOrderById(requestParameters, options) {
7809
7927
  return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7810
7928
  }
7929
+ /**
7930
+ *
7931
+ * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
7932
+ * @param {*} [options] Override http request option.
7933
+ * @throws {RequiredError}
7934
+ * @memberof OrderApi
7935
+ */
7936
+ getOrderProductReview(requestParameters, options) {
7937
+ return (0, exports.OrderApiFp)(this.configuration).getOrderProductReview(requestParameters.id, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
7938
+ }
7811
7939
  /**
7812
7940
  *
7813
7941
  * @param {OrderApiGetOrdersRequest} requestParameters Request parameters.
@@ -9196,13 +9324,13 @@ const ProductApiAxiosParamCreator = function (configuration) {
9196
9324
  },
9197
9325
  /**
9198
9326
  *
9327
+ * @param {OrderEnum} [order]
9199
9328
  * @param {number} [page]
9200
9329
  * @param {number} [itemsPerPage]
9201
9330
  * @param {string} [search]
9202
9331
  * @param {string} [startDate]
9203
9332
  * @param {string} [endDate]
9204
9333
  * @param {GetProductsDateFieldEnum} [dateField]
9205
- * @param {OrderEnum} [order]
9206
9334
  * @param {string} [companyId]
9207
9335
  * @param {string} [domain]
9208
9336
  * @param {Array<string>} [collections]
@@ -9217,7 +9345,7 @@ const ProductApiAxiosParamCreator = function (configuration) {
9217
9345
  * @param {*} [options] Override http request option.
9218
9346
  * @throws {RequiredError}
9219
9347
  */
9220
- getProducts: async (page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options = {}) => {
9348
+ getProducts: async (order, page, itemsPerPage, search, startDate, endDate, dateField, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options = {}) => {
9221
9349
  const localVarPath = `/api/products`;
9222
9350
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9223
9351
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -9228,6 +9356,9 @@ const ProductApiAxiosParamCreator = function (configuration) {
9228
9356
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
9229
9357
  const localVarHeaderParameter = {};
9230
9358
  const localVarQueryParameter = {};
9359
+ if (order !== undefined) {
9360
+ localVarQueryParameter['order'] = order;
9361
+ }
9231
9362
  if (page !== undefined) {
9232
9363
  localVarQueryParameter['page'] = page;
9233
9364
  }
@@ -9250,9 +9381,6 @@ const ProductApiAxiosParamCreator = function (configuration) {
9250
9381
  if (dateField !== undefined) {
9251
9382
  localVarQueryParameter['dateField'] = dateField;
9252
9383
  }
9253
- if (order !== undefined) {
9254
- localVarQueryParameter['order'] = order;
9255
- }
9256
9384
  if (companyId !== undefined) {
9257
9385
  localVarQueryParameter['companyId'] = companyId;
9258
9386
  }
@@ -9430,13 +9558,13 @@ const ProductApiFp = function (configuration) {
9430
9558
  },
9431
9559
  /**
9432
9560
  *
9561
+ * @param {OrderEnum} [order]
9433
9562
  * @param {number} [page]
9434
9563
  * @param {number} [itemsPerPage]
9435
9564
  * @param {string} [search]
9436
9565
  * @param {string} [startDate]
9437
9566
  * @param {string} [endDate]
9438
9567
  * @param {GetProductsDateFieldEnum} [dateField]
9439
- * @param {OrderEnum} [order]
9440
9568
  * @param {string} [companyId]
9441
9569
  * @param {string} [domain]
9442
9570
  * @param {Array<string>} [collections]
@@ -9451,8 +9579,8 @@ const ProductApiFp = function (configuration) {
9451
9579
  * @param {*} [options] Override http request option.
9452
9580
  * @throws {RequiredError}
9453
9581
  */
9454
- async getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options) {
9455
- const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(page, itemsPerPage, search, startDate, endDate, dateField, order, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options);
9582
+ async getProducts(order, page, itemsPerPage, search, startDate, endDate, dateField, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options) {
9583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProducts(order, page, itemsPerPage, search, startDate, endDate, dateField, companyId, domain, collections, category, brand, inStock, priceGte, priceLte, autoComplete, sort, status, options);
9456
9584
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9457
9585
  const localVarOperationServerBasePath = base_1.operationServerMap['ProductApi.getProducts']?.[localVarOperationServerIndex]?.url;
9458
9586
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9550,7 +9678,7 @@ const ProductApiFactory = function (configuration, basePath, axios) {
9550
9678
  * @throws {RequiredError}
9551
9679
  */
9552
9680
  getProducts(requestParameters = {}, options) {
9553
- return localVarFp.getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.autoComplete, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
9681
+ return localVarFp.getProducts(requestParameters.order, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.autoComplete, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
9554
9682
  },
9555
9683
  /**
9556
9684
  *
@@ -9649,7 +9777,7 @@ class ProductApi extends base_1.BaseAPI {
9649
9777
  * @memberof ProductApi
9650
9778
  */
9651
9779
  getProducts(requestParameters = {}, options) {
9652
- return (0, exports.ProductApiFp)(this.configuration).getProducts(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.autoComplete, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
9780
+ return (0, exports.ProductApiFp)(this.configuration).getProducts(requestParameters.order, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.companyId, requestParameters.domain, requestParameters.collections, requestParameters.category, requestParameters.brand, requestParameters.inStock, requestParameters.priceGte, requestParameters.priceLte, requestParameters.autoComplete, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
9653
9781
  }
9654
9782
  /**
9655
9783
  *
@@ -10689,6 +10817,62 @@ const UserApiAxiosParamCreator = function (configuration) {
10689
10817
  options: localVarRequestOptions,
10690
10818
  };
10691
10819
  },
10820
+ /**
10821
+ *
10822
+ * @param {ReviewStatusEnum} [status]
10823
+ * @param {*} [options] Override http request option.
10824
+ * @throws {RequiredError}
10825
+ */
10826
+ getMyProductReviewCount: async (status, options = {}) => {
10827
+ const localVarPath = `/api/users/my/review-count`;
10828
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10829
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10830
+ let baseOptions;
10831
+ if (configuration) {
10832
+ baseOptions = configuration.baseOptions;
10833
+ }
10834
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10835
+ const localVarHeaderParameter = {};
10836
+ const localVarQueryParameter = {};
10837
+ if (status !== undefined) {
10838
+ localVarQueryParameter['status'] = status;
10839
+ }
10840
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10841
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10842
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10843
+ return {
10844
+ url: (0, common_1.toPathString)(localVarUrlObj),
10845
+ options: localVarRequestOptions,
10846
+ };
10847
+ },
10848
+ /**
10849
+ *
10850
+ * @param {ReviewStatusEnum} [status]
10851
+ * @param {*} [options] Override http request option.
10852
+ * @throws {RequiredError}
10853
+ */
10854
+ getMyProductReviews: async (status, options = {}) => {
10855
+ const localVarPath = `/api/users/my/reviews`;
10856
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10857
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10858
+ let baseOptions;
10859
+ if (configuration) {
10860
+ baseOptions = configuration.baseOptions;
10861
+ }
10862
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10863
+ const localVarHeaderParameter = {};
10864
+ const localVarQueryParameter = {};
10865
+ if (status !== undefined) {
10866
+ localVarQueryParameter['status'] = status;
10867
+ }
10868
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10869
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10870
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10871
+ return {
10872
+ url: (0, common_1.toPathString)(localVarUrlObj),
10873
+ options: localVarRequestOptions,
10874
+ };
10875
+ },
10692
10876
  /**
10693
10877
  *
10694
10878
  * @param {string} id
@@ -10976,6 +11160,30 @@ const UserApiFp = function (configuration) {
10976
11160
  const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyAddresses']?.[localVarOperationServerIndex]?.url;
10977
11161
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10978
11162
  },
11163
+ /**
11164
+ *
11165
+ * @param {ReviewStatusEnum} [status]
11166
+ * @param {*} [options] Override http request option.
11167
+ * @throws {RequiredError}
11168
+ */
11169
+ async getMyProductReviewCount(status, options) {
11170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviewCount(status, options);
11171
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11172
+ const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyProductReviewCount']?.[localVarOperationServerIndex]?.url;
11173
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11174
+ },
11175
+ /**
11176
+ *
11177
+ * @param {ReviewStatusEnum} [status]
11178
+ * @param {*} [options] Override http request option.
11179
+ * @throws {RequiredError}
11180
+ */
11181
+ async getMyProductReviews(status, options) {
11182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMyProductReviews(status, options);
11183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11184
+ const localVarOperationServerBasePath = base_1.operationServerMap['UserApi.getMyProductReviews']?.[localVarOperationServerIndex]?.url;
11185
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11186
+ },
10979
11187
  /**
10980
11188
  *
10981
11189
  * @param {string} id
@@ -11106,6 +11314,24 @@ const UserApiFactory = function (configuration, basePath, axios) {
11106
11314
  getMyAddresses(options) {
11107
11315
  return localVarFp.getMyAddresses(options).then((request) => request(axios, basePath));
11108
11316
  },
11317
+ /**
11318
+ *
11319
+ * @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
11320
+ * @param {*} [options] Override http request option.
11321
+ * @throws {RequiredError}
11322
+ */
11323
+ getMyProductReviewCount(requestParameters = {}, options) {
11324
+ return localVarFp.getMyProductReviewCount(requestParameters.status, options).then((request) => request(axios, basePath));
11325
+ },
11326
+ /**
11327
+ *
11328
+ * @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
11329
+ * @param {*} [options] Override http request option.
11330
+ * @throws {RequiredError}
11331
+ */
11332
+ getMyProductReviews(requestParameters = {}, options) {
11333
+ return localVarFp.getMyProductReviews(requestParameters.status, options).then((request) => request(axios, basePath));
11334
+ },
11109
11335
  /**
11110
11336
  *
11111
11337
  * @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
@@ -11207,6 +11433,26 @@ class UserApi extends base_1.BaseAPI {
11207
11433
  getMyAddresses(options) {
11208
11434
  return (0, exports.UserApiFp)(this.configuration).getMyAddresses(options).then((request) => request(this.axios, this.basePath));
11209
11435
  }
11436
+ /**
11437
+ *
11438
+ * @param {UserApiGetMyProductReviewCountRequest} requestParameters Request parameters.
11439
+ * @param {*} [options] Override http request option.
11440
+ * @throws {RequiredError}
11441
+ * @memberof UserApi
11442
+ */
11443
+ getMyProductReviewCount(requestParameters = {}, options) {
11444
+ return (0, exports.UserApiFp)(this.configuration).getMyProductReviewCount(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
11445
+ }
11446
+ /**
11447
+ *
11448
+ * @param {UserApiGetMyProductReviewsRequest} requestParameters Request parameters.
11449
+ * @param {*} [options] Override http request option.
11450
+ * @throws {RequiredError}
11451
+ * @memberof UserApi
11452
+ */
11453
+ getMyProductReviews(requestParameters = {}, options) {
11454
+ return (0, exports.UserApiFp)(this.configuration).getMyProductReviews(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
11455
+ }
11210
11456
  /**
11211
11457
  *
11212
11458
  * @param {UserApiGetUserByIdRequest} requestParameters Request parameters.