@infisale-client/api 1.2.21 → 1.2.24

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.mjs CHANGED
@@ -469,6 +469,66 @@ export const FontSizeEnum = {
469
469
  _4XL: 'text-4xl',
470
470
  _6XL: 'text-6xl'
471
471
  };
472
+ export const IBrandCollectionQueryParamsDateFieldEnum = {
473
+ CREATED_AT: 'createdAt',
474
+ UPDATED_AT: 'updatedAt'
475
+ };
476
+ export const ICategoryCollectionQueryParamsDateFieldEnum = {
477
+ CREATED_AT: 'createdAt',
478
+ UPDATED_AT: 'updatedAt'
479
+ };
480
+ export const ICollectionCollectionsQueryParamsDateFieldEnum = {
481
+ CREATED_AT: 'createdAt',
482
+ UPDATED_AT: 'updatedAt'
483
+ };
484
+ export const ICompanyCollectionQueryParamsDateFieldEnum = {
485
+ CREATED_AT: 'createdAt',
486
+ UPDATED_AT: 'updatedAt'
487
+ };
488
+ export const ICompanyUsersCollectionQueryParamsDateFieldEnum = {
489
+ CREATED_AT: 'createdAt',
490
+ UPDATED_AT: 'updatedAt'
491
+ };
492
+ export const IContactFormCollectionQueryParamsDateFieldEnum = {
493
+ CREATED_AT: 'createdAt',
494
+ UPDATED_AT: 'updatedAt'
495
+ };
496
+ export const IFileCollectionQueryParamsDateFieldEnum = {
497
+ CREATED_AT: 'createdAt',
498
+ UPDATED_AT: 'updatedAt'
499
+ };
500
+ export const IMyOrderCollectionQueryParamsDateFieldEnum = {
501
+ CREATED_AT: 'createdAt',
502
+ UPDATED_AT: 'updatedAt'
503
+ };
504
+ export const INotificationCollectionQueryParamsDateFieldEnum = {
505
+ CREATED_AT: 'createdAt',
506
+ UPDATED_AT: 'updatedAt'
507
+ };
508
+ export const IOperationCollectionQueryParamsDateFieldEnum = {
509
+ CREATED_AT: 'createdAt',
510
+ UPDATED_AT: 'updatedAt'
511
+ };
512
+ export const IOrderCollectionQueryParamsDateFieldEnum = {
513
+ CREATED_AT: 'createdAt',
514
+ UPDATED_AT: 'updatedAt'
515
+ };
516
+ export const IPageCollectionQueryParamsDateFieldEnum = {
517
+ CREATED_AT: 'createdAt',
518
+ UPDATED_AT: 'updatedAt'
519
+ };
520
+ export const IPlanCollectionQueryParamsDateFieldEnum = {
521
+ CREATED_AT: 'createdAt',
522
+ UPDATED_AT: 'updatedAt'
523
+ };
524
+ export const IProductCollectionQueryParamsDateFieldEnum = {
525
+ CREATED_AT: 'createdAt',
526
+ UPDATED_AT: 'updatedAt'
527
+ };
528
+ export const IUserCollectionQueryParamsDateFieldEnum = {
529
+ CREATED_AT: 'createdAt',
530
+ UPDATED_AT: 'updatedAt'
531
+ };
472
532
  /**
473
533
  *
474
534
  * @export
@@ -549,6 +609,15 @@ export const PageTypeEnum = {
549
609
  CHECKOUT: 'checkout',
550
610
  NOT_FOUND: 'not-found'
551
611
  };
612
+ /**
613
+ *
614
+ * @export
615
+ * @enum {string}
616
+ */
617
+ export const PaymentGatewayEnum = {
618
+ IYZICO: 'iyzico',
619
+ PAYTR: 'paytr'
620
+ };
552
621
  /**
553
622
  *
554
623
  * @export
@@ -1945,7 +2014,7 @@ export const BrandApiAxiosParamCreator = function (configuration) {
1945
2014
  * @param {string} [search]
1946
2015
  * @param {string} [startDate]
1947
2016
  * @param {string} [endDate]
1948
- * @param {string} [dateField]
2017
+ * @param {GetBrandsDateFieldEnum} [dateField]
1949
2018
  * @param {OrderEnum} [order]
1950
2019
  * @param {string} [sort]
1951
2020
  * @param {string} [companyId]
@@ -2107,7 +2176,7 @@ export const BrandApiFp = function (configuration) {
2107
2176
  * @param {string} [search]
2108
2177
  * @param {string} [startDate]
2109
2178
  * @param {string} [endDate]
2110
- * @param {string} [dateField]
2179
+ * @param {GetBrandsDateFieldEnum} [dateField]
2111
2180
  * @param {OrderEnum} [order]
2112
2181
  * @param {string} [sort]
2113
2182
  * @param {string} [companyId]
@@ -2268,6 +2337,13 @@ export class BrandApi extends BaseAPI {
2268
2337
  return BrandApiFp(this.configuration).updateBrand(requestParameters.id, requestParameters.iBrandPatchRequest, options).then((request) => request(this.axios, this.basePath));
2269
2338
  }
2270
2339
  }
2340
+ /**
2341
+ * @export
2342
+ */
2343
+ export const GetBrandsDateFieldEnum = {
2344
+ CREATED_AT: 'createdAt',
2345
+ UPDATED_AT: 'updatedAt'
2346
+ };
2271
2347
  /**
2272
2348
  * CategoryApi - axios parameter creator
2273
2349
  * @export
@@ -2368,7 +2444,7 @@ export const CategoryApiAxiosParamCreator = function (configuration) {
2368
2444
  * @param {string} [search]
2369
2445
  * @param {string} [startDate]
2370
2446
  * @param {string} [endDate]
2371
- * @param {string} [dateField]
2447
+ * @param {GetCategoriesDateFieldEnum} [dateField]
2372
2448
  * @param {OrderEnum} [order]
2373
2449
  * @param {string} [sort]
2374
2450
  * @param {string} [companyId]
@@ -2576,7 +2652,7 @@ export const CategoryApiFp = function (configuration) {
2576
2652
  * @param {string} [search]
2577
2653
  * @param {string} [startDate]
2578
2654
  * @param {string} [endDate]
2579
- * @param {string} [dateField]
2655
+ * @param {GetCategoriesDateFieldEnum} [dateField]
2580
2656
  * @param {OrderEnum} [order]
2581
2657
  * @param {string} [sort]
2582
2658
  * @param {string} [companyId]
@@ -2780,6 +2856,13 @@ export class CategoryApi extends BaseAPI {
2780
2856
  return CategoryApiFp(this.configuration).updateCategory(requestParameters.id, requestParameters.iCategoryPatchRequest, options).then((request) => request(this.axios, this.basePath));
2781
2857
  }
2782
2858
  }
2859
+ /**
2860
+ * @export
2861
+ */
2862
+ export const GetCategoriesDateFieldEnum = {
2863
+ CREATED_AT: 'createdAt',
2864
+ UPDATED_AT: 'updatedAt'
2865
+ };
2783
2866
  /**
2784
2867
  * CollectionApi - axios parameter creator
2785
2868
  * @export
@@ -2951,7 +3034,7 @@ export const CollectionApiAxiosParamCreator = function (configuration) {
2951
3034
  * @param {string} [search]
2952
3035
  * @param {string} [startDate]
2953
3036
  * @param {string} [endDate]
2954
- * @param {string} [dateField]
3037
+ * @param {GetCollectionsDateFieldEnum} [dateField]
2955
3038
  * @param {OrderEnum} [order]
2956
3039
  * @param {string} [sort]
2957
3040
  * @param {ContentStatusEnum} [status]
@@ -3160,7 +3243,7 @@ export const CollectionApiFp = function (configuration) {
3160
3243
  * @param {string} [search]
3161
3244
  * @param {string} [startDate]
3162
3245
  * @param {string} [endDate]
3163
- * @param {string} [dateField]
3246
+ * @param {GetCollectionsDateFieldEnum} [dateField]
3164
3247
  * @param {OrderEnum} [order]
3165
3248
  * @param {string} [sort]
3166
3249
  * @param {ContentStatusEnum} [status]
@@ -3370,6 +3453,13 @@ export class CollectionApi extends BaseAPI {
3370
3453
  return CollectionApiFp(this.configuration).updateCollection(requestParameters.id, requestParameters.iCollectionPatchRequest, options).then((request) => request(this.axios, this.basePath));
3371
3454
  }
3372
3455
  }
3456
+ /**
3457
+ * @export
3458
+ */
3459
+ export const GetCollectionsDateFieldEnum = {
3460
+ CREATED_AT: 'createdAt',
3461
+ UPDATED_AT: 'updatedAt'
3462
+ };
3373
3463
  /**
3374
3464
  * CompanyApi - axios parameter creator
3375
3465
  * @export
@@ -3598,7 +3688,7 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
3598
3688
  * @param {string} [search]
3599
3689
  * @param {string} [startDate]
3600
3690
  * @param {string} [endDate]
3601
- * @param {string} [dateField]
3691
+ * @param {GetCompaniesDateFieldEnum} [dateField]
3602
3692
  * @param {OrderEnum} [order]
3603
3693
  * @param {string} [sort]
3604
3694
  * @param {string} [owner]
@@ -3731,7 +3821,7 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
3731
3821
  * @param {string} [search]
3732
3822
  * @param {string} [startDate]
3733
3823
  * @param {string} [endDate]
3734
- * @param {string} [dateField]
3824
+ * @param {GetCompanyCustomersDateFieldEnum} [dateField]
3735
3825
  * @param {OrderEnum} [order]
3736
3826
  * @param {string} [sort]
3737
3827
  * @param {CompanyUserStatusEnum} [status]
@@ -3791,6 +3881,34 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
3791
3881
  options: localVarRequestOptions,
3792
3882
  };
3793
3883
  },
3884
+ /**
3885
+ *
3886
+ * @param {string} id
3887
+ * @param {*} [options] Override http request option.
3888
+ * @throws {RequiredError}
3889
+ */
3890
+ getCompanyPaymentGateways: async (id, options = {}) => {
3891
+ // verify required parameter 'id' is not null or undefined
3892
+ assertParamExists('getCompanyPaymentGateways', 'id', id);
3893
+ const localVarPath = `/api/companies/{id}/payment-gateways`
3894
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3895
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3896
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3897
+ let baseOptions;
3898
+ if (configuration) {
3899
+ baseOptions = configuration.baseOptions;
3900
+ }
3901
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3902
+ const localVarHeaderParameter = {};
3903
+ const localVarQueryParameter = {};
3904
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3905
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3906
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3907
+ return {
3908
+ url: toPathString(localVarUrlObj),
3909
+ options: localVarRequestOptions,
3910
+ };
3911
+ },
3794
3912
  /**
3795
3913
  *
3796
3914
  * @param {string} id
@@ -4016,6 +4134,39 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
4016
4134
  options: localVarRequestOptions,
4017
4135
  };
4018
4136
  },
4137
+ /**
4138
+ *
4139
+ * @param {string} id
4140
+ * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
4141
+ * @param {*} [options] Override http request option.
4142
+ * @throws {RequiredError}
4143
+ */
4144
+ updateCompanyPaymentGateways: async (id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
4145
+ // verify required parameter 'id' is not null or undefined
4146
+ assertParamExists('updateCompanyPaymentGateways', 'id', id);
4147
+ // verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
4148
+ assertParamExists('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
4149
+ const localVarPath = `/api/companies/{id}/payment-gateways`
4150
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4153
+ let baseOptions;
4154
+ if (configuration) {
4155
+ baseOptions = configuration.baseOptions;
4156
+ }
4157
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
4158
+ const localVarHeaderParameter = {};
4159
+ const localVarQueryParameter = {};
4160
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4163
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4164
+ localVarRequestOptions.data = serializeDataIfNeeded(iCompanyUpdatePaymentGatewaysRequest, localVarRequestOptions, configuration);
4165
+ return {
4166
+ url: toPathString(localVarUrlObj),
4167
+ options: localVarRequestOptions,
4168
+ };
4169
+ },
4019
4170
  /**
4020
4171
  *
4021
4172
  * @param {string} id
@@ -4189,7 +4340,7 @@ export const CompanyApiFp = function (configuration) {
4189
4340
  * @param {string} [search]
4190
4341
  * @param {string} [startDate]
4191
4342
  * @param {string} [endDate]
4192
- * @param {string} [dateField]
4343
+ * @param {GetCompaniesDateFieldEnum} [dateField]
4193
4344
  * @param {OrderEnum} [order]
4194
4345
  * @param {string} [sort]
4195
4346
  * @param {string} [owner]
@@ -4237,7 +4388,7 @@ export const CompanyApiFp = function (configuration) {
4237
4388
  * @param {string} [search]
4238
4389
  * @param {string} [startDate]
4239
4390
  * @param {string} [endDate]
4240
- * @param {string} [dateField]
4391
+ * @param {GetCompanyCustomersDateFieldEnum} [dateField]
4241
4392
  * @param {OrderEnum} [order]
4242
4393
  * @param {string} [sort]
4243
4394
  * @param {CompanyUserStatusEnum} [status]
@@ -4250,6 +4401,18 @@ export const CompanyApiFp = function (configuration) {
4250
4401
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyCustomers']?.[localVarOperationServerIndex]?.url;
4251
4402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4252
4403
  },
4404
+ /**
4405
+ *
4406
+ * @param {string} id
4407
+ * @param {*} [options] Override http request option.
4408
+ * @throws {RequiredError}
4409
+ */
4410
+ async getCompanyPaymentGateways(id, options) {
4411
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPaymentGateways(id, options);
4412
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4413
+ const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
4414
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4415
+ },
4253
4416
  /**
4254
4417
  *
4255
4418
  * @param {string} id
@@ -4340,6 +4503,19 @@ export const CompanyApiFp = function (configuration) {
4340
4503
  const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyNavigations']?.[localVarOperationServerIndex]?.url;
4341
4504
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4342
4505
  },
4506
+ /**
4507
+ *
4508
+ * @param {string} id
4509
+ * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
4510
+ * @param {*} [options] Override http request option.
4511
+ * @throws {RequiredError}
4512
+ */
4513
+ async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
4514
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options);
4515
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4516
+ const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
4517
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4518
+ },
4343
4519
  /**
4344
4520
  *
4345
4521
  * @param {string} id
@@ -4475,6 +4651,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
4475
4651
  getCompanyCustomers(requestParameters, options) {
4476
4652
  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));
4477
4653
  },
4654
+ /**
4655
+ *
4656
+ * @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4657
+ * @param {*} [options] Override http request option.
4658
+ * @throws {RequiredError}
4659
+ */
4660
+ getCompanyPaymentGateways(requestParameters, options) {
4661
+ return localVarFp.getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
4662
+ },
4478
4663
  /**
4479
4664
  *
4480
4665
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -4538,6 +4723,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
4538
4723
  updateCompanyNavigations(requestParameters, options) {
4539
4724
  return localVarFp.updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(axios, basePath));
4540
4725
  },
4726
+ /**
4727
+ *
4728
+ * @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4729
+ * @param {*} [options] Override http request option.
4730
+ * @throws {RequiredError}
4731
+ */
4732
+ updateCompanyPaymentGateways(requestParameters, options) {
4733
+ return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
4734
+ },
4541
4735
  /**
4542
4736
  *
4543
4737
  * @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
@@ -4675,6 +4869,16 @@ export class CompanyApi extends BaseAPI {
4675
4869
  getCompanyCustomers(requestParameters, options) {
4676
4870
  return 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));
4677
4871
  }
4872
+ /**
4873
+ *
4874
+ * @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4875
+ * @param {*} [options] Override http request option.
4876
+ * @throws {RequiredError}
4877
+ * @memberof CompanyApi
4878
+ */
4879
+ getCompanyPaymentGateways(requestParameters, options) {
4880
+ return CompanyApiFp(this.configuration).getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4881
+ }
4678
4882
  /**
4679
4883
  *
4680
4884
  * @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
@@ -4745,6 +4949,16 @@ export class CompanyApi extends BaseAPI {
4745
4949
  updateCompanyNavigations(requestParameters, options) {
4746
4950
  return CompanyApiFp(this.configuration).updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(this.axios, this.basePath));
4747
4951
  }
4952
+ /**
4953
+ *
4954
+ * @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
4955
+ * @param {*} [options] Override http request option.
4956
+ * @throws {RequiredError}
4957
+ * @memberof CompanyApi
4958
+ */
4959
+ updateCompanyPaymentGateways(requestParameters, options) {
4960
+ return CompanyApiFp(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
4961
+ }
4748
4962
  /**
4749
4963
  *
4750
4964
  * @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
@@ -4766,6 +4980,20 @@ export class CompanyApi extends BaseAPI {
4766
4980
  return CompanyApiFp(this.configuration).updateUserInCompany(requestParameters.id, requestParameters.userId, requestParameters.iCompanyUpdateUserRequest, options).then((request) => request(this.axios, this.basePath));
4767
4981
  }
4768
4982
  }
4983
+ /**
4984
+ * @export
4985
+ */
4986
+ export const GetCompaniesDateFieldEnum = {
4987
+ CREATED_AT: 'createdAt',
4988
+ UPDATED_AT: 'updatedAt'
4989
+ };
4990
+ /**
4991
+ * @export
4992
+ */
4993
+ export const GetCompanyCustomersDateFieldEnum = {
4994
+ CREATED_AT: 'createdAt',
4995
+ UPDATED_AT: 'updatedAt'
4996
+ };
4769
4997
  /**
4770
4998
  * ContactFormApi - axios parameter creator
4771
4999
  * @export
@@ -4865,7 +5093,7 @@ export const ContactFormApiAxiosParamCreator = function (configuration) {
4865
5093
  * @param {string} [search]
4866
5094
  * @param {string} [startDate]
4867
5095
  * @param {string} [endDate]
4868
- * @param {string} [dateField]
5096
+ * @param {GetContactFormsDateFieldEnum} [dateField]
4869
5097
  * @param {OrderEnum} [order]
4870
5098
  * @param {string} [sort]
4871
5099
  * @param {*} [options] Override http request option.
@@ -4976,7 +5204,7 @@ export const ContactFormApiFp = function (configuration) {
4976
5204
  * @param {string} [search]
4977
5205
  * @param {string} [startDate]
4978
5206
  * @param {string} [endDate]
4979
- * @param {string} [dateField]
5207
+ * @param {GetContactFormsDateFieldEnum} [dateField]
4980
5208
  * @param {OrderEnum} [order]
4981
5209
  * @param {string} [sort]
4982
5210
  * @param {*} [options] Override http request option.
@@ -5083,6 +5311,13 @@ export class ContactFormApi extends BaseAPI {
5083
5311
  return ContactFormApiFp(this.configuration).getContactForms(requestParameters.companyId, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, options).then((request) => request(this.axios, this.basePath));
5084
5312
  }
5085
5313
  }
5314
+ /**
5315
+ * @export
5316
+ */
5317
+ export const GetContactFormsDateFieldEnum = {
5318
+ CREATED_AT: 'createdAt',
5319
+ UPDATED_AT: 'updatedAt'
5320
+ };
5086
5321
  /**
5087
5322
  * FileApi - axios parameter creator
5088
5323
  * @export
@@ -5153,7 +5388,7 @@ export const FileApiAxiosParamCreator = function (configuration) {
5153
5388
  * @param {string} [search]
5154
5389
  * @param {string} [startDate]
5155
5390
  * @param {string} [endDate]
5156
- * @param {string} [dateField]
5391
+ * @param {GetFilesDateFieldEnum} [dateField]
5157
5392
  * @param {OrderEnum} [order]
5158
5393
  * @param {string} [sort]
5159
5394
  * @param {Array<FileKeywordEnum>} [keywords]
@@ -5342,7 +5577,7 @@ export const FileApiFp = function (configuration) {
5342
5577
  * @param {string} [search]
5343
5578
  * @param {string} [startDate]
5344
5579
  * @param {string} [endDate]
5345
- * @param {string} [dateField]
5580
+ * @param {GetFilesDateFieldEnum} [dateField]
5346
5581
  * @param {OrderEnum} [order]
5347
5582
  * @param {string} [sort]
5348
5583
  * @param {Array<FileKeywordEnum>} [keywords]
@@ -5498,6 +5733,13 @@ export class FileApi extends BaseAPI {
5498
5733
  return FileApiFp(this.configuration).uploadFile(requestParameters.keyword, requestParameters.file, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
5499
5734
  }
5500
5735
  }
5736
+ /**
5737
+ * @export
5738
+ */
5739
+ export const GetFilesDateFieldEnum = {
5740
+ CREATED_AT: 'createdAt',
5741
+ UPDATED_AT: 'updatedAt'
5742
+ };
5501
5743
  /**
5502
5744
  * NotificationApi - axios parameter creator
5503
5745
  * @export
@@ -5567,7 +5809,7 @@ export const NotificationApiAxiosParamCreator = function (configuration) {
5567
5809
  * @param {string} [search]
5568
5810
  * @param {string} [startDate]
5569
5811
  * @param {string} [endDate]
5570
- * @param {string} [dateField]
5812
+ * @param {GetNotificationsDateFieldEnum} [dateField]
5571
5813
  * @param {OrderEnum} [order]
5572
5814
  * @param {string} [sort]
5573
5815
  * @param {string} [user]
@@ -5724,7 +5966,7 @@ export const NotificationApiFp = function (configuration) {
5724
5966
  * @param {string} [search]
5725
5967
  * @param {string} [startDate]
5726
5968
  * @param {string} [endDate]
5727
- * @param {string} [dateField]
5969
+ * @param {GetNotificationsDateFieldEnum} [dateField]
5728
5970
  * @param {OrderEnum} [order]
5729
5971
  * @param {string} [sort]
5730
5972
  * @param {string} [user]
@@ -5874,6 +6116,13 @@ export class NotificationApi extends BaseAPI {
5874
6116
  return NotificationApiFp(this.configuration).markNotificationAsRead(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5875
6117
  }
5876
6118
  }
6119
+ /**
6120
+ * @export
6121
+ */
6122
+ export const GetNotificationsDateFieldEnum = {
6123
+ CREATED_AT: 'createdAt',
6124
+ UPDATED_AT: 'updatedAt'
6125
+ };
5877
6126
  /**
5878
6127
  * OperationApi - axios parameter creator
5879
6128
  * @export
@@ -5972,7 +6221,7 @@ export const OperationApiAxiosParamCreator = function (configuration) {
5972
6221
  * @param {string} [search]
5973
6222
  * @param {string} [startDate]
5974
6223
  * @param {string} [endDate]
5975
- * @param {string} [dateField]
6224
+ * @param {GetOperationsDateFieldEnum} [dateField]
5976
6225
  * @param {OrderEnum} [order]
5977
6226
  * @param {string} [sort]
5978
6227
  * @param {string} [user]
@@ -6150,7 +6399,7 @@ export const OperationApiFp = function (configuration) {
6150
6399
  * @param {string} [search]
6151
6400
  * @param {string} [startDate]
6152
6401
  * @param {string} [endDate]
6153
- * @param {string} [dateField]
6402
+ * @param {GetOperationsDateFieldEnum} [dateField]
6154
6403
  * @param {OrderEnum} [order]
6155
6404
  * @param {string} [sort]
6156
6405
  * @param {string} [user]
@@ -6323,6 +6572,13 @@ export class OperationApi extends BaseAPI {
6323
6572
  return OperationApiFp(this.configuration).updateOperation(requestParameters.id, requestParameters.iOperationPatchRequest, options).then((request) => request(this.axios, this.basePath));
6324
6573
  }
6325
6574
  }
6575
+ /**
6576
+ * @export
6577
+ */
6578
+ export const GetOperationsDateFieldEnum = {
6579
+ CREATED_AT: 'createdAt',
6580
+ UPDATED_AT: 'updatedAt'
6581
+ };
6326
6582
  /**
6327
6583
  * OrderApi - axios parameter creator
6328
6584
  * @export
@@ -6360,11 +6616,19 @@ export const OrderApiAxiosParamCreator = function (configuration) {
6360
6616
  },
6361
6617
  /**
6362
6618
  *
6619
+ * @param {number} [page]
6620
+ * @param {number} [itemsPerPage]
6621
+ * @param {string} [search]
6622
+ * @param {string} [startDate]
6623
+ * @param {string} [endDate]
6624
+ * @param {GetMyOrdersDateFieldEnum} [dateField]
6625
+ * @param {OrderEnum} [order]
6626
+ * @param {string} [sort]
6363
6627
  * @param {OrderStatusEnum} [status]
6364
6628
  * @param {*} [options] Override http request option.
6365
6629
  * @throws {RequiredError}
6366
6630
  */
6367
- getMyOrders: async (status, options = {}) => {
6631
+ getMyOrders: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
6368
6632
  const localVarPath = `/api/orders/my`;
6369
6633
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6370
6634
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6375,6 +6639,34 @@ export const OrderApiAxiosParamCreator = function (configuration) {
6375
6639
  const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
6376
6640
  const localVarHeaderParameter = {};
6377
6641
  const localVarQueryParameter = {};
6642
+ if (page !== undefined) {
6643
+ localVarQueryParameter['page'] = page;
6644
+ }
6645
+ if (itemsPerPage !== undefined) {
6646
+ localVarQueryParameter['itemsPerPage'] = itemsPerPage;
6647
+ }
6648
+ if (search !== undefined) {
6649
+ localVarQueryParameter['search'] = search;
6650
+ }
6651
+ if (startDate !== undefined) {
6652
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
6653
+ startDate.toISOString() :
6654
+ startDate;
6655
+ }
6656
+ if (endDate !== undefined) {
6657
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
6658
+ endDate.toISOString() :
6659
+ endDate;
6660
+ }
6661
+ if (dateField !== undefined) {
6662
+ localVarQueryParameter['dateField'] = dateField;
6663
+ }
6664
+ if (order !== undefined) {
6665
+ localVarQueryParameter['order'] = order;
6666
+ }
6667
+ if (sort !== undefined) {
6668
+ localVarQueryParameter['sort'] = sort;
6669
+ }
6378
6670
  if (status !== undefined) {
6379
6671
  localVarQueryParameter['status'] = status;
6380
6672
  }
@@ -6422,7 +6714,7 @@ export const OrderApiAxiosParamCreator = function (configuration) {
6422
6714
  * @param {string} [search]
6423
6715
  * @param {string} [startDate]
6424
6716
  * @param {string} [endDate]
6425
- * @param {string} [dateField]
6717
+ * @param {GetOrdersDateFieldEnum} [dateField]
6426
6718
  * @param {OrderEnum} [order]
6427
6719
  * @param {string} [sort]
6428
6720
  * @param {string} [user]
@@ -6511,12 +6803,20 @@ export const OrderApiFp = function (configuration) {
6511
6803
  },
6512
6804
  /**
6513
6805
  *
6806
+ * @param {number} [page]
6807
+ * @param {number} [itemsPerPage]
6808
+ * @param {string} [search]
6809
+ * @param {string} [startDate]
6810
+ * @param {string} [endDate]
6811
+ * @param {GetMyOrdersDateFieldEnum} [dateField]
6812
+ * @param {OrderEnum} [order]
6813
+ * @param {string} [sort]
6514
6814
  * @param {OrderStatusEnum} [status]
6515
6815
  * @param {*} [options] Override http request option.
6516
6816
  * @throws {RequiredError}
6517
6817
  */
6518
- async getMyOrders(status, options) {
6519
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(status, options);
6818
+ async getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
6819
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
6520
6820
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6521
6821
  const localVarOperationServerBasePath = operationServerMap['OrderApi.getMyOrders']?.[localVarOperationServerIndex]?.url;
6522
6822
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6541,7 +6841,7 @@ export const OrderApiFp = function (configuration) {
6541
6841
  * @param {string} [search]
6542
6842
  * @param {string} [startDate]
6543
6843
  * @param {string} [endDate]
6544
- * @param {string} [dateField]
6844
+ * @param {GetOrdersDateFieldEnum} [dateField]
6545
6845
  * @param {OrderEnum} [order]
6546
6846
  * @param {string} [sort]
6547
6847
  * @param {string} [user]
@@ -6580,7 +6880,7 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
6580
6880
  * @throws {RequiredError}
6581
6881
  */
6582
6882
  getMyOrders(requestParameters = {}, options) {
6583
- return localVarFp.getMyOrders(requestParameters.status, options).then((request) => request(axios, basePath));
6883
+ 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));
6584
6884
  },
6585
6885
  /**
6586
6886
  *
@@ -6627,7 +6927,7 @@ export class OrderApi extends BaseAPI {
6627
6927
  * @memberof OrderApi
6628
6928
  */
6629
6929
  getMyOrders(requestParameters = {}, options) {
6630
- return OrderApiFp(this.configuration).getMyOrders(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6930
+ return 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));
6631
6931
  }
6632
6932
  /**
6633
6933
  *
@@ -6650,6 +6950,20 @@ export class OrderApi extends BaseAPI {
6650
6950
  return OrderApiFp(this.configuration).getOrders(requestParameters.company, requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.user, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
6651
6951
  }
6652
6952
  }
6953
+ /**
6954
+ * @export
6955
+ */
6956
+ export const GetMyOrdersDateFieldEnum = {
6957
+ CREATED_AT: 'createdAt',
6958
+ UPDATED_AT: 'updatedAt'
6959
+ };
6960
+ /**
6961
+ * @export
6962
+ */
6963
+ export const GetOrdersDateFieldEnum = {
6964
+ CREATED_AT: 'createdAt',
6965
+ UPDATED_AT: 'updatedAt'
6966
+ };
6653
6967
  /**
6654
6968
  * PageApi - axios parameter creator
6655
6969
  * @export
@@ -6868,7 +7182,7 @@ export const PageApiAxiosParamCreator = function (configuration) {
6868
7182
  * @param {string} [search]
6869
7183
  * @param {string} [startDate]
6870
7184
  * @param {string} [endDate]
6871
- * @param {string} [dateField]
7185
+ * @param {GetPagesDateFieldEnum} [dateField]
6872
7186
  * @param {OrderEnum} [order]
6873
7187
  * @param {string} [sort]
6874
7188
  * @param {string} [companyId]
@@ -7097,7 +7411,7 @@ export const PageApiFp = function (configuration) {
7097
7411
  * @param {string} [search]
7098
7412
  * @param {string} [startDate]
7099
7413
  * @param {string} [endDate]
7100
- * @param {string} [dateField]
7414
+ * @param {GetPagesDateFieldEnum} [dateField]
7101
7415
  * @param {OrderEnum} [order]
7102
7416
  * @param {string} [sort]
7103
7417
  * @param {string} [companyId]
@@ -7328,6 +7642,13 @@ export class PageApi extends BaseAPI {
7328
7642
  return PageApiFp(this.configuration).updatePage(requestParameters.id, requestParameters.iPagePatchRequest, options).then((request) => request(this.axios, this.basePath));
7329
7643
  }
7330
7644
  }
7645
+ /**
7646
+ * @export
7647
+ */
7648
+ export const GetPagesDateFieldEnum = {
7649
+ CREATED_AT: 'createdAt',
7650
+ UPDATED_AT: 'updatedAt'
7651
+ };
7331
7652
  /**
7332
7653
  * PlanApi - axios parameter creator
7333
7654
  * @export
@@ -7426,7 +7747,7 @@ export const PlanApiAxiosParamCreator = function (configuration) {
7426
7747
  * @param {string} [search]
7427
7748
  * @param {string} [startDate]
7428
7749
  * @param {string} [endDate]
7429
- * @param {string} [dateField]
7750
+ * @param {GetPlansDateFieldEnum} [dateField]
7430
7751
  * @param {OrderEnum} [order]
7431
7752
  * @param {string} [sort]
7432
7753
  * @param {PlanStatusEnum} [status]
@@ -7572,7 +7893,7 @@ export const PlanApiFp = function (configuration) {
7572
7893
  * @param {string} [search]
7573
7894
  * @param {string} [startDate]
7574
7895
  * @param {string} [endDate]
7575
- * @param {string} [dateField]
7896
+ * @param {GetPlansDateFieldEnum} [dateField]
7576
7897
  * @param {OrderEnum} [order]
7577
7898
  * @param {string} [sort]
7578
7899
  * @param {PlanStatusEnum} [status]
@@ -7713,6 +8034,13 @@ export class PlanApi extends BaseAPI {
7713
8034
  return PlanApiFp(this.configuration).updatePlan(requestParameters.id, requestParameters.iPlanPatchRequest, options).then((request) => request(this.axios, this.basePath));
7714
8035
  }
7715
8036
  }
8037
+ /**
8038
+ * @export
8039
+ */
8040
+ export const GetPlansDateFieldEnum = {
8041
+ CREATED_AT: 'createdAt',
8042
+ UPDATED_AT: 'updatedAt'
8043
+ };
7716
8044
  /**
7717
8045
  * ProductApi - axios parameter creator
7718
8046
  * @export
@@ -7919,7 +8247,7 @@ export const ProductApiAxiosParamCreator = function (configuration) {
7919
8247
  * @param {string} [search]
7920
8248
  * @param {string} [startDate]
7921
8249
  * @param {string} [endDate]
7922
- * @param {string} [dateField]
8250
+ * @param {GetProductsDateFieldEnum} [dateField]
7923
8251
  * @param {OrderEnum} [order]
7924
8252
  * @param {string} [sort]
7925
8253
  * @param {string} [companyId]
@@ -8160,7 +8488,7 @@ export const ProductApiFp = function (configuration) {
8160
8488
  * @param {string} [search]
8161
8489
  * @param {string} [startDate]
8162
8490
  * @param {string} [endDate]
8163
- * @param {string} [dateField]
8491
+ * @param {GetProductsDateFieldEnum} [dateField]
8164
8492
  * @param {OrderEnum} [order]
8165
8493
  * @param {string} [sort]
8166
8494
  * @param {string} [companyId]
@@ -8395,6 +8723,13 @@ export class ProductApi extends BaseAPI {
8395
8723
  return ProductApiFp(this.configuration).updateProduct(requestParameters.id, requestParameters.iProductPatchRequest, options).then((request) => request(this.axios, this.basePath));
8396
8724
  }
8397
8725
  }
8726
+ /**
8727
+ * @export
8728
+ */
8729
+ export const GetProductsDateFieldEnum = {
8730
+ CREATED_AT: 'createdAt',
8731
+ UPDATED_AT: 'updatedAt'
8732
+ };
8398
8733
  /**
8399
8734
  * SitemapApi - axios parameter creator
8400
8735
  * @export
@@ -9405,7 +9740,7 @@ export const UserApiAxiosParamCreator = function (configuration) {
9405
9740
  * @param {string} [search]
9406
9741
  * @param {string} [startDate]
9407
9742
  * @param {string} [endDate]
9408
- * @param {string} [dateField]
9743
+ * @param {GetUsersDateFieldEnum} [dateField]
9409
9744
  * @param {OrderEnum} [order]
9410
9745
  * @param {string} [sort]
9411
9746
  * @param {UserStatusEnum} [status]
@@ -9653,7 +9988,7 @@ export const UserApiFp = function (configuration) {
9653
9988
  * @param {string} [search]
9654
9989
  * @param {string} [startDate]
9655
9990
  * @param {string} [endDate]
9656
- * @param {string} [dateField]
9991
+ * @param {GetUsersDateFieldEnum} [dateField]
9657
9992
  * @param {OrderEnum} [order]
9658
9993
  * @param {string} [sort]
9659
9994
  * @param {UserStatusEnum} [status]
@@ -9919,3 +10254,10 @@ export class UserApi extends BaseAPI {
9919
10254
  return UserApiFp(this.configuration).verifyUser(requestParameters.iVerifyUserRequest, options).then((request) => request(this.axios, this.basePath));
9920
10255
  }
9921
10256
  }
10257
+ /**
10258
+ * @export
10259
+ */
10260
+ export const GetUsersDateFieldEnum = {
10261
+ CREATED_AT: 'createdAt',
10262
+ UPDATED_AT: 'updatedAt'
10263
+ };