@infisale-client/api 1.2.21 → 1.2.23

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
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.BrandApiFp = exports.BrandApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.ThemeTypeEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
- exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.BrandApi = exports.BrandApiFactory = void 0;
21
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = void 0;
19
+ exports.TimezoneEnum = exports.ThemeTypeEnum = exports.TemplateTypeEnum = exports.SitemapTypeEnum = exports.ProductDetailImageZoomTypeEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanCurrencyEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.PageTypeEnum = exports.OrderStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.FontSizeEnum = exports.FileTypeEnum = exports.FileStatusEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ComponentTypeEnum = exports.ComponentProductTypeEnum = exports.ComponentProductOrderEnum = exports.ComponentProductListTypeEnum = exports.ComponentContentTypeEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = void 0;
20
+ exports.GetNotificationsDateFieldEnum = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.GetFilesDateFieldEnum = exports.FileApi = exports.FileApiFactory = exports.FileApiFp = exports.FileApiAxiosParamCreator = exports.GetContactFormsDateFieldEnum = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.GetCompanyCustomersDateFieldEnum = exports.GetCompaniesDateFieldEnum = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.GetCategoriesDateFieldEnum = exports.CategoryApi = exports.CategoryApiFactory = exports.CategoryApiFp = exports.CategoryApiAxiosParamCreator = exports.GetBrandsDateFieldEnum = exports.BrandApi = exports.BrandApiFactory = exports.BrandApiFp = exports.BrandApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = void 0;
21
+ exports.GetUsersDateFieldEnum = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.ThemeApi = exports.ThemeApiFactory = exports.ThemeApiFp = exports.ThemeApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPlansDateFieldEnum = exports.PlanApi = exports.PlanApiFactory = exports.PlanApiFp = exports.PlanApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.GetOperationsDateFieldEnum = exports.OperationApi = exports.OperationApiFactory = exports.OperationApiFp = exports.OperationApiAxiosParamCreator = void 0;
22
22
  const axios_1 = __importDefault(require("axios"));
23
23
  // Some imports not used depending on template conditions
24
24
  // @ts-ignore
@@ -480,6 +480,66 @@ exports.FontSizeEnum = {
480
480
  _4XL: 'text-4xl',
481
481
  _6XL: 'text-6xl'
482
482
  };
483
+ exports.IBrandCollectionQueryParamsDateFieldEnum = {
484
+ CREATED_AT: 'createdAt',
485
+ UPDATED_AT: 'updatedAt'
486
+ };
487
+ exports.ICategoryCollectionQueryParamsDateFieldEnum = {
488
+ CREATED_AT: 'createdAt',
489
+ UPDATED_AT: 'updatedAt'
490
+ };
491
+ exports.ICollectionCollectionsQueryParamsDateFieldEnum = {
492
+ CREATED_AT: 'createdAt',
493
+ UPDATED_AT: 'updatedAt'
494
+ };
495
+ exports.ICompanyCollectionQueryParamsDateFieldEnum = {
496
+ CREATED_AT: 'createdAt',
497
+ UPDATED_AT: 'updatedAt'
498
+ };
499
+ exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = {
500
+ CREATED_AT: 'createdAt',
501
+ UPDATED_AT: 'updatedAt'
502
+ };
503
+ exports.IContactFormCollectionQueryParamsDateFieldEnum = {
504
+ CREATED_AT: 'createdAt',
505
+ UPDATED_AT: 'updatedAt'
506
+ };
507
+ exports.IFileCollectionQueryParamsDateFieldEnum = {
508
+ CREATED_AT: 'createdAt',
509
+ UPDATED_AT: 'updatedAt'
510
+ };
511
+ exports.IMyOrderCollectionQueryParamsDateFieldEnum = {
512
+ CREATED_AT: 'createdAt',
513
+ UPDATED_AT: 'updatedAt'
514
+ };
515
+ exports.INotificationCollectionQueryParamsDateFieldEnum = {
516
+ CREATED_AT: 'createdAt',
517
+ UPDATED_AT: 'updatedAt'
518
+ };
519
+ exports.IOperationCollectionQueryParamsDateFieldEnum = {
520
+ CREATED_AT: 'createdAt',
521
+ UPDATED_AT: 'updatedAt'
522
+ };
523
+ exports.IOrderCollectionQueryParamsDateFieldEnum = {
524
+ CREATED_AT: 'createdAt',
525
+ UPDATED_AT: 'updatedAt'
526
+ };
527
+ exports.IPageCollectionQueryParamsDateFieldEnum = {
528
+ CREATED_AT: 'createdAt',
529
+ UPDATED_AT: 'updatedAt'
530
+ };
531
+ exports.IPlanCollectionQueryParamsDateFieldEnum = {
532
+ CREATED_AT: 'createdAt',
533
+ UPDATED_AT: 'updatedAt'
534
+ };
535
+ exports.IProductCollectionQueryParamsDateFieldEnum = {
536
+ CREATED_AT: 'createdAt',
537
+ UPDATED_AT: 'updatedAt'
538
+ };
539
+ exports.IUserCollectionQueryParamsDateFieldEnum = {
540
+ CREATED_AT: 'createdAt',
541
+ UPDATED_AT: 'updatedAt'
542
+ };
483
543
  /**
484
544
  *
485
545
  * @export
@@ -560,6 +620,14 @@ exports.PageTypeEnum = {
560
620
  CHECKOUT: 'checkout',
561
621
  NOT_FOUND: 'not-found'
562
622
  };
623
+ /**
624
+ *
625
+ * @export
626
+ * @enum {string}
627
+ */
628
+ exports.PaymentGatewayEnum = {
629
+ IYZICO: 'iyzico'
630
+ };
563
631
  /**
564
632
  *
565
633
  * @export
@@ -1968,7 +2036,7 @@ const BrandApiAxiosParamCreator = function (configuration) {
1968
2036
  * @param {string} [search]
1969
2037
  * @param {string} [startDate]
1970
2038
  * @param {string} [endDate]
1971
- * @param {string} [dateField]
2039
+ * @param {GetBrandsDateFieldEnum} [dateField]
1972
2040
  * @param {OrderEnum} [order]
1973
2041
  * @param {string} [sort]
1974
2042
  * @param {string} [companyId]
@@ -2131,7 +2199,7 @@ const BrandApiFp = function (configuration) {
2131
2199
  * @param {string} [search]
2132
2200
  * @param {string} [startDate]
2133
2201
  * @param {string} [endDate]
2134
- * @param {string} [dateField]
2202
+ * @param {GetBrandsDateFieldEnum} [dateField]
2135
2203
  * @param {OrderEnum} [order]
2136
2204
  * @param {string} [sort]
2137
2205
  * @param {string} [companyId]
@@ -2295,6 +2363,13 @@ class BrandApi extends base_1.BaseAPI {
2295
2363
  }
2296
2364
  }
2297
2365
  exports.BrandApi = BrandApi;
2366
+ /**
2367
+ * @export
2368
+ */
2369
+ exports.GetBrandsDateFieldEnum = {
2370
+ CREATED_AT: 'createdAt',
2371
+ UPDATED_AT: 'updatedAt'
2372
+ };
2298
2373
  /**
2299
2374
  * CategoryApi - axios parameter creator
2300
2375
  * @export
@@ -2395,7 +2470,7 @@ const CategoryApiAxiosParamCreator = function (configuration) {
2395
2470
  * @param {string} [search]
2396
2471
  * @param {string} [startDate]
2397
2472
  * @param {string} [endDate]
2398
- * @param {string} [dateField]
2473
+ * @param {GetCategoriesDateFieldEnum} [dateField]
2399
2474
  * @param {OrderEnum} [order]
2400
2475
  * @param {string} [sort]
2401
2476
  * @param {string} [companyId]
@@ -2604,7 +2679,7 @@ const CategoryApiFp = function (configuration) {
2604
2679
  * @param {string} [search]
2605
2680
  * @param {string} [startDate]
2606
2681
  * @param {string} [endDate]
2607
- * @param {string} [dateField]
2682
+ * @param {GetCategoriesDateFieldEnum} [dateField]
2608
2683
  * @param {OrderEnum} [order]
2609
2684
  * @param {string} [sort]
2610
2685
  * @param {string} [companyId]
@@ -2811,6 +2886,13 @@ class CategoryApi extends base_1.BaseAPI {
2811
2886
  }
2812
2887
  }
2813
2888
  exports.CategoryApi = CategoryApi;
2889
+ /**
2890
+ * @export
2891
+ */
2892
+ exports.GetCategoriesDateFieldEnum = {
2893
+ CREATED_AT: 'createdAt',
2894
+ UPDATED_AT: 'updatedAt'
2895
+ };
2814
2896
  /**
2815
2897
  * CollectionApi - axios parameter creator
2816
2898
  * @export
@@ -2982,7 +3064,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
2982
3064
  * @param {string} [search]
2983
3065
  * @param {string} [startDate]
2984
3066
  * @param {string} [endDate]
2985
- * @param {string} [dateField]
3067
+ * @param {GetCollectionsDateFieldEnum} [dateField]
2986
3068
  * @param {OrderEnum} [order]
2987
3069
  * @param {string} [sort]
2988
3070
  * @param {ContentStatusEnum} [status]
@@ -3192,7 +3274,7 @@ const CollectionApiFp = function (configuration) {
3192
3274
  * @param {string} [search]
3193
3275
  * @param {string} [startDate]
3194
3276
  * @param {string} [endDate]
3195
- * @param {string} [dateField]
3277
+ * @param {GetCollectionsDateFieldEnum} [dateField]
3196
3278
  * @param {OrderEnum} [order]
3197
3279
  * @param {string} [sort]
3198
3280
  * @param {ContentStatusEnum} [status]
@@ -3405,6 +3487,13 @@ class CollectionApi extends base_1.BaseAPI {
3405
3487
  }
3406
3488
  }
3407
3489
  exports.CollectionApi = CollectionApi;
3490
+ /**
3491
+ * @export
3492
+ */
3493
+ exports.GetCollectionsDateFieldEnum = {
3494
+ CREATED_AT: 'createdAt',
3495
+ UPDATED_AT: 'updatedAt'
3496
+ };
3408
3497
  /**
3409
3498
  * CompanyApi - axios parameter creator
3410
3499
  * @export
@@ -3633,7 +3722,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
3633
3722
  * @param {string} [search]
3634
3723
  * @param {string} [startDate]
3635
3724
  * @param {string} [endDate]
3636
- * @param {string} [dateField]
3725
+ * @param {GetCompaniesDateFieldEnum} [dateField]
3637
3726
  * @param {OrderEnum} [order]
3638
3727
  * @param {string} [sort]
3639
3728
  * @param {string} [owner]
@@ -3766,7 +3855,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
3766
3855
  * @param {string} [search]
3767
3856
  * @param {string} [startDate]
3768
3857
  * @param {string} [endDate]
3769
- * @param {string} [dateField]
3858
+ * @param {GetCompanyCustomersDateFieldEnum} [dateField]
3770
3859
  * @param {OrderEnum} [order]
3771
3860
  * @param {string} [sort]
3772
3861
  * @param {CompanyUserStatusEnum} [status]
@@ -3826,6 +3915,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
3826
3915
  options: localVarRequestOptions,
3827
3916
  };
3828
3917
  },
3918
+ /**
3919
+ *
3920
+ * @param {string} id
3921
+ * @param {*} [options] Override http request option.
3922
+ * @throws {RequiredError}
3923
+ */
3924
+ getCompanyPaymentGateways: async (id, options = {}) => {
3925
+ // verify required parameter 'id' is not null or undefined
3926
+ (0, common_1.assertParamExists)('getCompanyPaymentGateways', 'id', id);
3927
+ const localVarPath = `/api/companies/{id}/payment-gateways`
3928
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3929
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3930
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3931
+ let baseOptions;
3932
+ if (configuration) {
3933
+ baseOptions = configuration.baseOptions;
3934
+ }
3935
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3936
+ const localVarHeaderParameter = {};
3937
+ const localVarQueryParameter = {};
3938
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3939
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3940
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3941
+ return {
3942
+ url: (0, common_1.toPathString)(localVarUrlObj),
3943
+ options: localVarRequestOptions,
3944
+ };
3945
+ },
3829
3946
  /**
3830
3947
  *
3831
3948
  * @param {string} id
@@ -4051,6 +4168,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4051
4168
  options: localVarRequestOptions,
4052
4169
  };
4053
4170
  },
4171
+ /**
4172
+ *
4173
+ * @param {string} id
4174
+ * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
4175
+ * @param {*} [options] Override http request option.
4176
+ * @throws {RequiredError}
4177
+ */
4178
+ updateCompanyPaymentGateways: async (id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
4179
+ // verify required parameter 'id' is not null or undefined
4180
+ (0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'id', id);
4181
+ // verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
4182
+ (0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
4183
+ const localVarPath = `/api/companies/{id}/payment-gateways`
4184
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4186
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4187
+ let baseOptions;
4188
+ if (configuration) {
4189
+ baseOptions = configuration.baseOptions;
4190
+ }
4191
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
4192
+ const localVarHeaderParameter = {};
4193
+ const localVarQueryParameter = {};
4194
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4195
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4196
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4197
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4198
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyUpdatePaymentGatewaysRequest, localVarRequestOptions, configuration);
4199
+ return {
4200
+ url: (0, common_1.toPathString)(localVarUrlObj),
4201
+ options: localVarRequestOptions,
4202
+ };
4203
+ },
4054
4204
  /**
4055
4205
  *
4056
4206
  * @param {string} id
@@ -4225,7 +4375,7 @@ const CompanyApiFp = function (configuration) {
4225
4375
  * @param {string} [search]
4226
4376
  * @param {string} [startDate]
4227
4377
  * @param {string} [endDate]
4228
- * @param {string} [dateField]
4378
+ * @param {GetCompaniesDateFieldEnum} [dateField]
4229
4379
  * @param {OrderEnum} [order]
4230
4380
  * @param {string} [sort]
4231
4381
  * @param {string} [owner]
@@ -4273,7 +4423,7 @@ const CompanyApiFp = function (configuration) {
4273
4423
  * @param {string} [search]
4274
4424
  * @param {string} [startDate]
4275
4425
  * @param {string} [endDate]
4276
- * @param {string} [dateField]
4426
+ * @param {GetCompanyCustomersDateFieldEnum} [dateField]
4277
4427
  * @param {OrderEnum} [order]
4278
4428
  * @param {string} [sort]
4279
4429
  * @param {CompanyUserStatusEnum} [status]
@@ -4286,6 +4436,18 @@ const CompanyApiFp = function (configuration) {
4286
4436
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyCustomers']?.[localVarOperationServerIndex]?.url;
4287
4437
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4288
4438
  },
4439
+ /**
4440
+ *
4441
+ * @param {string} id
4442
+ * @param {*} [options] Override http request option.
4443
+ * @throws {RequiredError}
4444
+ */
4445
+ async getCompanyPaymentGateways(id, options) {
4446
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPaymentGateways(id, options);
4447
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4448
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
4449
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4450
+ },
4289
4451
  /**
4290
4452
  *
4291
4453
  * @param {string} id
@@ -4376,6 +4538,19 @@ const CompanyApiFp = function (configuration) {
4376
4538
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyNavigations']?.[localVarOperationServerIndex]?.url;
4377
4539
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4378
4540
  },
4541
+ /**
4542
+ *
4543
+ * @param {string} id
4544
+ * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
4545
+ * @param {*} [options] Override http request option.
4546
+ * @throws {RequiredError}
4547
+ */
4548
+ async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
4549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options);
4550
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4551
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
4552
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4553
+ },
4379
4554
  /**
4380
4555
  *
4381
4556
  * @param {string} id
@@ -4512,6 +4687,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
4512
4687
  getCompanyCustomers(requestParameters, options) {
4513
4688
  return localVarFp.getCompanyCustomers(requestParameters.id, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
4514
4689
  },
4690
+ /**
4691
+ *
4692
+ * @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4693
+ * @param {*} [options] Override http request option.
4694
+ * @throws {RequiredError}
4695
+ */
4696
+ getCompanyPaymentGateways(requestParameters, options) {
4697
+ return localVarFp.getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
4698
+ },
4515
4699
  /**
4516
4700
  *
4517
4701
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -4575,6 +4759,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
4575
4759
  updateCompanyNavigations(requestParameters, options) {
4576
4760
  return localVarFp.updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(axios, basePath));
4577
4761
  },
4762
+ /**
4763
+ *
4764
+ * @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4765
+ * @param {*} [options] Override http request option.
4766
+ * @throws {RequiredError}
4767
+ */
4768
+ updateCompanyPaymentGateways(requestParameters, options) {
4769
+ return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
4770
+ },
4578
4771
  /**
4579
4772
  *
4580
4773
  * @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
@@ -4713,6 +4906,16 @@ class CompanyApi extends base_1.BaseAPI {
4713
4906
  getCompanyCustomers(requestParameters, options) {
4714
4907
  return (0, exports.CompanyApiFp)(this.configuration).getCompanyCustomers(requestParameters.id, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
4715
4908
  }
4909
+ /**
4910
+ *
4911
+ * @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4912
+ * @param {*} [options] Override http request option.
4913
+ * @throws {RequiredError}
4914
+ * @memberof CompanyApi
4915
+ */
4916
+ getCompanyPaymentGateways(requestParameters, options) {
4917
+ return (0, exports.CompanyApiFp)(this.configuration).getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4918
+ }
4716
4919
  /**
4717
4920
  *
4718
4921
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -4783,6 +4986,16 @@ class CompanyApi extends base_1.BaseAPI {
4783
4986
  updateCompanyNavigations(requestParameters, options) {
4784
4987
  return (0, exports.CompanyApiFp)(this.configuration).updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(this.axios, this.basePath));
4785
4988
  }
4989
+ /**
4990
+ *
4991
+ * @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4992
+ * @param {*} [options] Override http request option.
4993
+ * @throws {RequiredError}
4994
+ * @memberof CompanyApi
4995
+ */
4996
+ updateCompanyPaymentGateways(requestParameters, options) {
4997
+ return (0, exports.CompanyApiFp)(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
4998
+ }
4786
4999
  /**
4787
5000
  *
4788
5001
  * @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
@@ -4805,6 +5018,20 @@ class CompanyApi extends base_1.BaseAPI {
4805
5018
  }
4806
5019
  }
4807
5020
  exports.CompanyApi = CompanyApi;
5021
+ /**
5022
+ * @export
5023
+ */
5024
+ exports.GetCompaniesDateFieldEnum = {
5025
+ CREATED_AT: 'createdAt',
5026
+ UPDATED_AT: 'updatedAt'
5027
+ };
5028
+ /**
5029
+ * @export
5030
+ */
5031
+ exports.GetCompanyCustomersDateFieldEnum = {
5032
+ CREATED_AT: 'createdAt',
5033
+ UPDATED_AT: 'updatedAt'
5034
+ };
4808
5035
  /**
4809
5036
  * ContactFormApi - axios parameter creator
4810
5037
  * @export
@@ -4904,7 +5131,7 @@ const ContactFormApiAxiosParamCreator = function (configuration) {
4904
5131
  * @param {string} [search]
4905
5132
  * @param {string} [startDate]
4906
5133
  * @param {string} [endDate]
4907
- * @param {string} [dateField]
5134
+ * @param {GetContactFormsDateFieldEnum} [dateField]
4908
5135
  * @param {OrderEnum} [order]
4909
5136
  * @param {string} [sort]
4910
5137
  * @param {*} [options] Override http request option.
@@ -5016,7 +5243,7 @@ const ContactFormApiFp = function (configuration) {
5016
5243
  * @param {string} [search]
5017
5244
  * @param {string} [startDate]
5018
5245
  * @param {string} [endDate]
5019
- * @param {string} [dateField]
5246
+ * @param {GetContactFormsDateFieldEnum} [dateField]
5020
5247
  * @param {OrderEnum} [order]
5021
5248
  * @param {string} [sort]
5022
5249
  * @param {*} [options] Override http request option.
@@ -5126,6 +5353,13 @@ class ContactFormApi extends base_1.BaseAPI {
5126
5353
  }
5127
5354
  }
5128
5355
  exports.ContactFormApi = ContactFormApi;
5356
+ /**
5357
+ * @export
5358
+ */
5359
+ exports.GetContactFormsDateFieldEnum = {
5360
+ CREATED_AT: 'createdAt',
5361
+ UPDATED_AT: 'updatedAt'
5362
+ };
5129
5363
  /**
5130
5364
  * FileApi - axios parameter creator
5131
5365
  * @export
@@ -5196,7 +5430,7 @@ const FileApiAxiosParamCreator = function (configuration) {
5196
5430
  * @param {string} [search]
5197
5431
  * @param {string} [startDate]
5198
5432
  * @param {string} [endDate]
5199
- * @param {string} [dateField]
5433
+ * @param {GetFilesDateFieldEnum} [dateField]
5200
5434
  * @param {OrderEnum} [order]
5201
5435
  * @param {string} [sort]
5202
5436
  * @param {Array<FileKeywordEnum>} [keywords]
@@ -5386,7 +5620,7 @@ const FileApiFp = function (configuration) {
5386
5620
  * @param {string} [search]
5387
5621
  * @param {string} [startDate]
5388
5622
  * @param {string} [endDate]
5389
- * @param {string} [dateField]
5623
+ * @param {GetFilesDateFieldEnum} [dateField]
5390
5624
  * @param {OrderEnum} [order]
5391
5625
  * @param {string} [sort]
5392
5626
  * @param {Array<FileKeywordEnum>} [keywords]
@@ -5545,6 +5779,13 @@ class FileApi extends base_1.BaseAPI {
5545
5779
  }
5546
5780
  }
5547
5781
  exports.FileApi = FileApi;
5782
+ /**
5783
+ * @export
5784
+ */
5785
+ exports.GetFilesDateFieldEnum = {
5786
+ CREATED_AT: 'createdAt',
5787
+ UPDATED_AT: 'updatedAt'
5788
+ };
5548
5789
  /**
5549
5790
  * NotificationApi - axios parameter creator
5550
5791
  * @export
@@ -5614,7 +5855,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
5614
5855
  * @param {string} [search]
5615
5856
  * @param {string} [startDate]
5616
5857
  * @param {string} [endDate]
5617
- * @param {string} [dateField]
5858
+ * @param {GetNotificationsDateFieldEnum} [dateField]
5618
5859
  * @param {OrderEnum} [order]
5619
5860
  * @param {string} [sort]
5620
5861
  * @param {string} [user]
@@ -5772,7 +6013,7 @@ const NotificationApiFp = function (configuration) {
5772
6013
  * @param {string} [search]
5773
6014
  * @param {string} [startDate]
5774
6015
  * @param {string} [endDate]
5775
- * @param {string} [dateField]
6016
+ * @param {GetNotificationsDateFieldEnum} [dateField]
5776
6017
  * @param {OrderEnum} [order]
5777
6018
  * @param {string} [sort]
5778
6019
  * @param {string} [user]
@@ -5925,6 +6166,13 @@ class NotificationApi extends base_1.BaseAPI {
5925
6166
  }
5926
6167
  }
5927
6168
  exports.NotificationApi = NotificationApi;
6169
+ /**
6170
+ * @export
6171
+ */
6172
+ exports.GetNotificationsDateFieldEnum = {
6173
+ CREATED_AT: 'createdAt',
6174
+ UPDATED_AT: 'updatedAt'
6175
+ };
5928
6176
  /**
5929
6177
  * OperationApi - axios parameter creator
5930
6178
  * @export
@@ -6023,7 +6271,7 @@ const OperationApiAxiosParamCreator = function (configuration) {
6023
6271
  * @param {string} [search]
6024
6272
  * @param {string} [startDate]
6025
6273
  * @param {string} [endDate]
6026
- * @param {string} [dateField]
6274
+ * @param {GetOperationsDateFieldEnum} [dateField]
6027
6275
  * @param {OrderEnum} [order]
6028
6276
  * @param {string} [sort]
6029
6277
  * @param {string} [user]
@@ -6202,7 +6450,7 @@ const OperationApiFp = function (configuration) {
6202
6450
  * @param {string} [search]
6203
6451
  * @param {string} [startDate]
6204
6452
  * @param {string} [endDate]
6205
- * @param {string} [dateField]
6453
+ * @param {GetOperationsDateFieldEnum} [dateField]
6206
6454
  * @param {OrderEnum} [order]
6207
6455
  * @param {string} [sort]
6208
6456
  * @param {string} [user]
@@ -6378,6 +6626,13 @@ class OperationApi extends base_1.BaseAPI {
6378
6626
  }
6379
6627
  }
6380
6628
  exports.OperationApi = OperationApi;
6629
+ /**
6630
+ * @export
6631
+ */
6632
+ exports.GetOperationsDateFieldEnum = {
6633
+ CREATED_AT: 'createdAt',
6634
+ UPDATED_AT: 'updatedAt'
6635
+ };
6381
6636
  /**
6382
6637
  * OrderApi - axios parameter creator
6383
6638
  * @export
@@ -6415,11 +6670,19 @@ const OrderApiAxiosParamCreator = function (configuration) {
6415
6670
  },
6416
6671
  /**
6417
6672
  *
6673
+ * @param {number} [page]
6674
+ * @param {number} [itemsPerPage]
6675
+ * @param {string} [search]
6676
+ * @param {string} [startDate]
6677
+ * @param {string} [endDate]
6678
+ * @param {GetMyOrdersDateFieldEnum} [dateField]
6679
+ * @param {OrderEnum} [order]
6680
+ * @param {string} [sort]
6418
6681
  * @param {OrderStatusEnum} [status]
6419
6682
  * @param {*} [options] Override http request option.
6420
6683
  * @throws {RequiredError}
6421
6684
  */
6422
- getMyOrders: async (status, options = {}) => {
6685
+ getMyOrders: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
6423
6686
  const localVarPath = `/api/orders/my`;
6424
6687
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6425
6688
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -6430,6 +6693,34 @@ const OrderApiAxiosParamCreator = function (configuration) {
6430
6693
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6431
6694
  const localVarHeaderParameter = {};
6432
6695
  const localVarQueryParameter = {};
6696
+ if (page !== undefined) {
6697
+ localVarQueryParameter['page'] = page;
6698
+ }
6699
+ if (itemsPerPage !== undefined) {
6700
+ localVarQueryParameter['itemsPerPage'] = itemsPerPage;
6701
+ }
6702
+ if (search !== undefined) {
6703
+ localVarQueryParameter['search'] = search;
6704
+ }
6705
+ if (startDate !== undefined) {
6706
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
6707
+ startDate.toISOString() :
6708
+ startDate;
6709
+ }
6710
+ if (endDate !== undefined) {
6711
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
6712
+ endDate.toISOString() :
6713
+ endDate;
6714
+ }
6715
+ if (dateField !== undefined) {
6716
+ localVarQueryParameter['dateField'] = dateField;
6717
+ }
6718
+ if (order !== undefined) {
6719
+ localVarQueryParameter['order'] = order;
6720
+ }
6721
+ if (sort !== undefined) {
6722
+ localVarQueryParameter['sort'] = sort;
6723
+ }
6433
6724
  if (status !== undefined) {
6434
6725
  localVarQueryParameter['status'] = status;
6435
6726
  }
@@ -6477,7 +6768,7 @@ const OrderApiAxiosParamCreator = function (configuration) {
6477
6768
  * @param {string} [search]
6478
6769
  * @param {string} [startDate]
6479
6770
  * @param {string} [endDate]
6480
- * @param {string} [dateField]
6771
+ * @param {GetOrdersDateFieldEnum} [dateField]
6481
6772
  * @param {OrderEnum} [order]
6482
6773
  * @param {string} [sort]
6483
6774
  * @param {string} [user]
@@ -6567,12 +6858,20 @@ const OrderApiFp = function (configuration) {
6567
6858
  },
6568
6859
  /**
6569
6860
  *
6861
+ * @param {number} [page]
6862
+ * @param {number} [itemsPerPage]
6863
+ * @param {string} [search]
6864
+ * @param {string} [startDate]
6865
+ * @param {string} [endDate]
6866
+ * @param {GetMyOrdersDateFieldEnum} [dateField]
6867
+ * @param {OrderEnum} [order]
6868
+ * @param {string} [sort]
6570
6869
  * @param {OrderStatusEnum} [status]
6571
6870
  * @param {*} [options] Override http request option.
6572
6871
  * @throws {RequiredError}
6573
6872
  */
6574
- async getMyOrders(status, options) {
6575
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(status, options);
6873
+ async getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
6874
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
6576
6875
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6577
6876
  const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getMyOrders']?.[localVarOperationServerIndex]?.url;
6578
6877
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6597,7 +6896,7 @@ const OrderApiFp = function (configuration) {
6597
6896
  * @param {string} [search]
6598
6897
  * @param {string} [startDate]
6599
6898
  * @param {string} [endDate]
6600
- * @param {string} [dateField]
6899
+ * @param {GetOrdersDateFieldEnum} [dateField]
6601
6900
  * @param {OrderEnum} [order]
6602
6901
  * @param {string} [sort]
6603
6902
  * @param {string} [user]
@@ -6637,7 +6936,7 @@ const OrderApiFactory = function (configuration, basePath, axios) {
6637
6936
  * @throws {RequiredError}
6638
6937
  */
6639
6938
  getMyOrders(requestParameters = {}, options) {
6640
- return localVarFp.getMyOrders(requestParameters.status, options).then((request) => request(axios, basePath));
6939
+ return localVarFp.getMyOrders(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(axios, basePath));
6641
6940
  },
6642
6941
  /**
6643
6942
  *
@@ -6685,7 +6984,7 @@ class OrderApi extends base_1.BaseAPI {
6685
6984
  * @memberof OrderApi
6686
6985
  */
6687
6986
  getMyOrders(requestParameters = {}, options) {
6688
- return (0, exports.OrderApiFp)(this.configuration).getMyOrders(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6987
+ return (0, exports.OrderApiFp)(this.configuration).getMyOrders(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6689
6988
  }
6690
6989
  /**
6691
6990
  *
@@ -6709,6 +7008,20 @@ class OrderApi extends base_1.BaseAPI {
6709
7008
  }
6710
7009
  }
6711
7010
  exports.OrderApi = OrderApi;
7011
+ /**
7012
+ * @export
7013
+ */
7014
+ exports.GetMyOrdersDateFieldEnum = {
7015
+ CREATED_AT: 'createdAt',
7016
+ UPDATED_AT: 'updatedAt'
7017
+ };
7018
+ /**
7019
+ * @export
7020
+ */
7021
+ exports.GetOrdersDateFieldEnum = {
7022
+ CREATED_AT: 'createdAt',
7023
+ UPDATED_AT: 'updatedAt'
7024
+ };
6712
7025
  /**
6713
7026
  * PageApi - axios parameter creator
6714
7027
  * @export
@@ -6927,7 +7240,7 @@ const PageApiAxiosParamCreator = function (configuration) {
6927
7240
  * @param {string} [search]
6928
7241
  * @param {string} [startDate]
6929
7242
  * @param {string} [endDate]
6930
- * @param {string} [dateField]
7243
+ * @param {GetPagesDateFieldEnum} [dateField]
6931
7244
  * @param {OrderEnum} [order]
6932
7245
  * @param {string} [sort]
6933
7246
  * @param {string} [companyId]
@@ -7157,7 +7470,7 @@ const PageApiFp = function (configuration) {
7157
7470
  * @param {string} [search]
7158
7471
  * @param {string} [startDate]
7159
7472
  * @param {string} [endDate]
7160
- * @param {string} [dateField]
7473
+ * @param {GetPagesDateFieldEnum} [dateField]
7161
7474
  * @param {OrderEnum} [order]
7162
7475
  * @param {string} [sort]
7163
7476
  * @param {string} [companyId]
@@ -7391,6 +7704,13 @@ class PageApi extends base_1.BaseAPI {
7391
7704
  }
7392
7705
  }
7393
7706
  exports.PageApi = PageApi;
7707
+ /**
7708
+ * @export
7709
+ */
7710
+ exports.GetPagesDateFieldEnum = {
7711
+ CREATED_AT: 'createdAt',
7712
+ UPDATED_AT: 'updatedAt'
7713
+ };
7394
7714
  /**
7395
7715
  * PlanApi - axios parameter creator
7396
7716
  * @export
@@ -7489,7 +7809,7 @@ const PlanApiAxiosParamCreator = function (configuration) {
7489
7809
  * @param {string} [search]
7490
7810
  * @param {string} [startDate]
7491
7811
  * @param {string} [endDate]
7492
- * @param {string} [dateField]
7812
+ * @param {GetPlansDateFieldEnum} [dateField]
7493
7813
  * @param {OrderEnum} [order]
7494
7814
  * @param {string} [sort]
7495
7815
  * @param {PlanStatusEnum} [status]
@@ -7636,7 +7956,7 @@ const PlanApiFp = function (configuration) {
7636
7956
  * @param {string} [search]
7637
7957
  * @param {string} [startDate]
7638
7958
  * @param {string} [endDate]
7639
- * @param {string} [dateField]
7959
+ * @param {GetPlansDateFieldEnum} [dateField]
7640
7960
  * @param {OrderEnum} [order]
7641
7961
  * @param {string} [sort]
7642
7962
  * @param {PlanStatusEnum} [status]
@@ -7780,6 +8100,13 @@ class PlanApi extends base_1.BaseAPI {
7780
8100
  }
7781
8101
  }
7782
8102
  exports.PlanApi = PlanApi;
8103
+ /**
8104
+ * @export
8105
+ */
8106
+ exports.GetPlansDateFieldEnum = {
8107
+ CREATED_AT: 'createdAt',
8108
+ UPDATED_AT: 'updatedAt'
8109
+ };
7783
8110
  /**
7784
8111
  * ProductApi - axios parameter creator
7785
8112
  * @export
@@ -7986,7 +8313,7 @@ const ProductApiAxiosParamCreator = function (configuration) {
7986
8313
  * @param {string} [search]
7987
8314
  * @param {string} [startDate]
7988
8315
  * @param {string} [endDate]
7989
- * @param {string} [dateField]
8316
+ * @param {GetProductsDateFieldEnum} [dateField]
7990
8317
  * @param {OrderEnum} [order]
7991
8318
  * @param {string} [sort]
7992
8319
  * @param {string} [companyId]
@@ -8228,7 +8555,7 @@ const ProductApiFp = function (configuration) {
8228
8555
  * @param {string} [search]
8229
8556
  * @param {string} [startDate]
8230
8557
  * @param {string} [endDate]
8231
- * @param {string} [dateField]
8558
+ * @param {GetProductsDateFieldEnum} [dateField]
8232
8559
  * @param {OrderEnum} [order]
8233
8560
  * @param {string} [sort]
8234
8561
  * @param {string} [companyId]
@@ -8466,6 +8793,13 @@ class ProductApi extends base_1.BaseAPI {
8466
8793
  }
8467
8794
  }
8468
8795
  exports.ProductApi = ProductApi;
8796
+ /**
8797
+ * @export
8798
+ */
8799
+ exports.GetProductsDateFieldEnum = {
8800
+ CREATED_AT: 'createdAt',
8801
+ UPDATED_AT: 'updatedAt'
8802
+ };
8469
8803
  /**
8470
8804
  * SitemapApi - axios parameter creator
8471
8805
  * @export
@@ -9488,7 +9822,7 @@ const UserApiAxiosParamCreator = function (configuration) {
9488
9822
  * @param {string} [search]
9489
9823
  * @param {string} [startDate]
9490
9824
  * @param {string} [endDate]
9491
- * @param {string} [dateField]
9825
+ * @param {GetUsersDateFieldEnum} [dateField]
9492
9826
  * @param {OrderEnum} [order]
9493
9827
  * @param {string} [sort]
9494
9828
  * @param {UserStatusEnum} [status]
@@ -9737,7 +10071,7 @@ const UserApiFp = function (configuration) {
9737
10071
  * @param {string} [search]
9738
10072
  * @param {string} [startDate]
9739
10073
  * @param {string} [endDate]
9740
- * @param {string} [dateField]
10074
+ * @param {GetUsersDateFieldEnum} [dateField]
9741
10075
  * @param {OrderEnum} [order]
9742
10076
  * @param {string} [sort]
9743
10077
  * @param {UserStatusEnum} [status]
@@ -10006,3 +10340,10 @@ class UserApi extends base_1.BaseAPI {
10006
10340
  }
10007
10341
  }
10008
10342
  exports.UserApi = UserApi;
10343
+ /**
10344
+ * @export
10345
+ */
10346
+ exports.GetUsersDateFieldEnum = {
10347
+ CREATED_AT: 'createdAt',
10348
+ UPDATED_AT: 'updatedAt'
10349
+ };