@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.d.ts +983 -273
- package/dist/api/api.js +378 -36
- package/dist/api/api.mjs +375 -33
- package/package.json +2 -2
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.
|
|
20
|
-
exports.
|
|
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,15 @@ 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
|
+
PAYTR: 'paytr'
|
|
631
|
+
};
|
|
563
632
|
/**
|
|
564
633
|
*
|
|
565
634
|
* @export
|
|
@@ -1968,7 +2037,7 @@ const BrandApiAxiosParamCreator = function (configuration) {
|
|
|
1968
2037
|
* @param {string} [search]
|
|
1969
2038
|
* @param {string} [startDate]
|
|
1970
2039
|
* @param {string} [endDate]
|
|
1971
|
-
* @param {
|
|
2040
|
+
* @param {GetBrandsDateFieldEnum} [dateField]
|
|
1972
2041
|
* @param {OrderEnum} [order]
|
|
1973
2042
|
* @param {string} [sort]
|
|
1974
2043
|
* @param {string} [companyId]
|
|
@@ -2131,7 +2200,7 @@ const BrandApiFp = function (configuration) {
|
|
|
2131
2200
|
* @param {string} [search]
|
|
2132
2201
|
* @param {string} [startDate]
|
|
2133
2202
|
* @param {string} [endDate]
|
|
2134
|
-
* @param {
|
|
2203
|
+
* @param {GetBrandsDateFieldEnum} [dateField]
|
|
2135
2204
|
* @param {OrderEnum} [order]
|
|
2136
2205
|
* @param {string} [sort]
|
|
2137
2206
|
* @param {string} [companyId]
|
|
@@ -2295,6 +2364,13 @@ class BrandApi extends base_1.BaseAPI {
|
|
|
2295
2364
|
}
|
|
2296
2365
|
}
|
|
2297
2366
|
exports.BrandApi = BrandApi;
|
|
2367
|
+
/**
|
|
2368
|
+
* @export
|
|
2369
|
+
*/
|
|
2370
|
+
exports.GetBrandsDateFieldEnum = {
|
|
2371
|
+
CREATED_AT: 'createdAt',
|
|
2372
|
+
UPDATED_AT: 'updatedAt'
|
|
2373
|
+
};
|
|
2298
2374
|
/**
|
|
2299
2375
|
* CategoryApi - axios parameter creator
|
|
2300
2376
|
* @export
|
|
@@ -2395,7 +2471,7 @@ const CategoryApiAxiosParamCreator = function (configuration) {
|
|
|
2395
2471
|
* @param {string} [search]
|
|
2396
2472
|
* @param {string} [startDate]
|
|
2397
2473
|
* @param {string} [endDate]
|
|
2398
|
-
* @param {
|
|
2474
|
+
* @param {GetCategoriesDateFieldEnum} [dateField]
|
|
2399
2475
|
* @param {OrderEnum} [order]
|
|
2400
2476
|
* @param {string} [sort]
|
|
2401
2477
|
* @param {string} [companyId]
|
|
@@ -2604,7 +2680,7 @@ const CategoryApiFp = function (configuration) {
|
|
|
2604
2680
|
* @param {string} [search]
|
|
2605
2681
|
* @param {string} [startDate]
|
|
2606
2682
|
* @param {string} [endDate]
|
|
2607
|
-
* @param {
|
|
2683
|
+
* @param {GetCategoriesDateFieldEnum} [dateField]
|
|
2608
2684
|
* @param {OrderEnum} [order]
|
|
2609
2685
|
* @param {string} [sort]
|
|
2610
2686
|
* @param {string} [companyId]
|
|
@@ -2811,6 +2887,13 @@ class CategoryApi extends base_1.BaseAPI {
|
|
|
2811
2887
|
}
|
|
2812
2888
|
}
|
|
2813
2889
|
exports.CategoryApi = CategoryApi;
|
|
2890
|
+
/**
|
|
2891
|
+
* @export
|
|
2892
|
+
*/
|
|
2893
|
+
exports.GetCategoriesDateFieldEnum = {
|
|
2894
|
+
CREATED_AT: 'createdAt',
|
|
2895
|
+
UPDATED_AT: 'updatedAt'
|
|
2896
|
+
};
|
|
2814
2897
|
/**
|
|
2815
2898
|
* CollectionApi - axios parameter creator
|
|
2816
2899
|
* @export
|
|
@@ -2982,7 +3065,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
2982
3065
|
* @param {string} [search]
|
|
2983
3066
|
* @param {string} [startDate]
|
|
2984
3067
|
* @param {string} [endDate]
|
|
2985
|
-
* @param {
|
|
3068
|
+
* @param {GetCollectionsDateFieldEnum} [dateField]
|
|
2986
3069
|
* @param {OrderEnum} [order]
|
|
2987
3070
|
* @param {string} [sort]
|
|
2988
3071
|
* @param {ContentStatusEnum} [status]
|
|
@@ -3192,7 +3275,7 @@ const CollectionApiFp = function (configuration) {
|
|
|
3192
3275
|
* @param {string} [search]
|
|
3193
3276
|
* @param {string} [startDate]
|
|
3194
3277
|
* @param {string} [endDate]
|
|
3195
|
-
* @param {
|
|
3278
|
+
* @param {GetCollectionsDateFieldEnum} [dateField]
|
|
3196
3279
|
* @param {OrderEnum} [order]
|
|
3197
3280
|
* @param {string} [sort]
|
|
3198
3281
|
* @param {ContentStatusEnum} [status]
|
|
@@ -3405,6 +3488,13 @@ class CollectionApi extends base_1.BaseAPI {
|
|
|
3405
3488
|
}
|
|
3406
3489
|
}
|
|
3407
3490
|
exports.CollectionApi = CollectionApi;
|
|
3491
|
+
/**
|
|
3492
|
+
* @export
|
|
3493
|
+
*/
|
|
3494
|
+
exports.GetCollectionsDateFieldEnum = {
|
|
3495
|
+
CREATED_AT: 'createdAt',
|
|
3496
|
+
UPDATED_AT: 'updatedAt'
|
|
3497
|
+
};
|
|
3408
3498
|
/**
|
|
3409
3499
|
* CompanyApi - axios parameter creator
|
|
3410
3500
|
* @export
|
|
@@ -3633,7 +3723,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3633
3723
|
* @param {string} [search]
|
|
3634
3724
|
* @param {string} [startDate]
|
|
3635
3725
|
* @param {string} [endDate]
|
|
3636
|
-
* @param {
|
|
3726
|
+
* @param {GetCompaniesDateFieldEnum} [dateField]
|
|
3637
3727
|
* @param {OrderEnum} [order]
|
|
3638
3728
|
* @param {string} [sort]
|
|
3639
3729
|
* @param {string} [owner]
|
|
@@ -3766,7 +3856,7 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3766
3856
|
* @param {string} [search]
|
|
3767
3857
|
* @param {string} [startDate]
|
|
3768
3858
|
* @param {string} [endDate]
|
|
3769
|
-
* @param {
|
|
3859
|
+
* @param {GetCompanyCustomersDateFieldEnum} [dateField]
|
|
3770
3860
|
* @param {OrderEnum} [order]
|
|
3771
3861
|
* @param {string} [sort]
|
|
3772
3862
|
* @param {CompanyUserStatusEnum} [status]
|
|
@@ -3826,6 +3916,34 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3826
3916
|
options: localVarRequestOptions,
|
|
3827
3917
|
};
|
|
3828
3918
|
},
|
|
3919
|
+
/**
|
|
3920
|
+
*
|
|
3921
|
+
* @param {string} id
|
|
3922
|
+
* @param {*} [options] Override http request option.
|
|
3923
|
+
* @throws {RequiredError}
|
|
3924
|
+
*/
|
|
3925
|
+
getCompanyPaymentGateways: async (id, options = {}) => {
|
|
3926
|
+
// verify required parameter 'id' is not null or undefined
|
|
3927
|
+
(0, common_1.assertParamExists)('getCompanyPaymentGateways', 'id', id);
|
|
3928
|
+
const localVarPath = `/api/companies/{id}/payment-gateways`
|
|
3929
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3930
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3931
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3932
|
+
let baseOptions;
|
|
3933
|
+
if (configuration) {
|
|
3934
|
+
baseOptions = configuration.baseOptions;
|
|
3935
|
+
}
|
|
3936
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
3937
|
+
const localVarHeaderParameter = {};
|
|
3938
|
+
const localVarQueryParameter = {};
|
|
3939
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3940
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3941
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3942
|
+
return {
|
|
3943
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3944
|
+
options: localVarRequestOptions,
|
|
3945
|
+
};
|
|
3946
|
+
},
|
|
3829
3947
|
/**
|
|
3830
3948
|
*
|
|
3831
3949
|
* @param {string} id
|
|
@@ -4051,6 +4169,39 @@ const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4051
4169
|
options: localVarRequestOptions,
|
|
4052
4170
|
};
|
|
4053
4171
|
},
|
|
4172
|
+
/**
|
|
4173
|
+
*
|
|
4174
|
+
* @param {string} id
|
|
4175
|
+
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
4176
|
+
* @param {*} [options] Override http request option.
|
|
4177
|
+
* @throws {RequiredError}
|
|
4178
|
+
*/
|
|
4179
|
+
updateCompanyPaymentGateways: async (id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
|
|
4180
|
+
// verify required parameter 'id' is not null or undefined
|
|
4181
|
+
(0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'id', id);
|
|
4182
|
+
// verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
|
|
4183
|
+
(0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
|
|
4184
|
+
const localVarPath = `/api/companies/{id}/payment-gateways`
|
|
4185
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4187
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4188
|
+
let baseOptions;
|
|
4189
|
+
if (configuration) {
|
|
4190
|
+
baseOptions = configuration.baseOptions;
|
|
4191
|
+
}
|
|
4192
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4193
|
+
const localVarHeaderParameter = {};
|
|
4194
|
+
const localVarQueryParameter = {};
|
|
4195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4196
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4198
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4199
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyUpdatePaymentGatewaysRequest, localVarRequestOptions, configuration);
|
|
4200
|
+
return {
|
|
4201
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4202
|
+
options: localVarRequestOptions,
|
|
4203
|
+
};
|
|
4204
|
+
},
|
|
4054
4205
|
/**
|
|
4055
4206
|
*
|
|
4056
4207
|
* @param {string} id
|
|
@@ -4225,7 +4376,7 @@ const CompanyApiFp = function (configuration) {
|
|
|
4225
4376
|
* @param {string} [search]
|
|
4226
4377
|
* @param {string} [startDate]
|
|
4227
4378
|
* @param {string} [endDate]
|
|
4228
|
-
* @param {
|
|
4379
|
+
* @param {GetCompaniesDateFieldEnum} [dateField]
|
|
4229
4380
|
* @param {OrderEnum} [order]
|
|
4230
4381
|
* @param {string} [sort]
|
|
4231
4382
|
* @param {string} [owner]
|
|
@@ -4273,7 +4424,7 @@ const CompanyApiFp = function (configuration) {
|
|
|
4273
4424
|
* @param {string} [search]
|
|
4274
4425
|
* @param {string} [startDate]
|
|
4275
4426
|
* @param {string} [endDate]
|
|
4276
|
-
* @param {
|
|
4427
|
+
* @param {GetCompanyCustomersDateFieldEnum} [dateField]
|
|
4277
4428
|
* @param {OrderEnum} [order]
|
|
4278
4429
|
* @param {string} [sort]
|
|
4279
4430
|
* @param {CompanyUserStatusEnum} [status]
|
|
@@ -4286,6 +4437,18 @@ const CompanyApiFp = function (configuration) {
|
|
|
4286
4437
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyCustomers']?.[localVarOperationServerIndex]?.url;
|
|
4287
4438
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4288
4439
|
},
|
|
4440
|
+
/**
|
|
4441
|
+
*
|
|
4442
|
+
* @param {string} id
|
|
4443
|
+
* @param {*} [options] Override http request option.
|
|
4444
|
+
* @throws {RequiredError}
|
|
4445
|
+
*/
|
|
4446
|
+
async getCompanyPaymentGateways(id, options) {
|
|
4447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPaymentGateways(id, options);
|
|
4448
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4449
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
4450
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4451
|
+
},
|
|
4289
4452
|
/**
|
|
4290
4453
|
*
|
|
4291
4454
|
* @param {string} id
|
|
@@ -4376,6 +4539,19 @@ const CompanyApiFp = function (configuration) {
|
|
|
4376
4539
|
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyNavigations']?.[localVarOperationServerIndex]?.url;
|
|
4377
4540
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4378
4541
|
},
|
|
4542
|
+
/**
|
|
4543
|
+
*
|
|
4544
|
+
* @param {string} id
|
|
4545
|
+
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
4546
|
+
* @param {*} [options] Override http request option.
|
|
4547
|
+
* @throws {RequiredError}
|
|
4548
|
+
*/
|
|
4549
|
+
async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
|
|
4550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options);
|
|
4551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4552
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
4553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4554
|
+
},
|
|
4379
4555
|
/**
|
|
4380
4556
|
*
|
|
4381
4557
|
* @param {string} id
|
|
@@ -4512,6 +4688,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4512
4688
|
getCompanyCustomers(requestParameters, options) {
|
|
4513
4689
|
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
4690
|
},
|
|
4691
|
+
/**
|
|
4692
|
+
*
|
|
4693
|
+
* @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
4694
|
+
* @param {*} [options] Override http request option.
|
|
4695
|
+
* @throws {RequiredError}
|
|
4696
|
+
*/
|
|
4697
|
+
getCompanyPaymentGateways(requestParameters, options) {
|
|
4698
|
+
return localVarFp.getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4699
|
+
},
|
|
4515
4700
|
/**
|
|
4516
4701
|
*
|
|
4517
4702
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -4575,6 +4760,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
4575
4760
|
updateCompanyNavigations(requestParameters, options) {
|
|
4576
4761
|
return localVarFp.updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(axios, basePath));
|
|
4577
4762
|
},
|
|
4763
|
+
/**
|
|
4764
|
+
*
|
|
4765
|
+
* @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
4766
|
+
* @param {*} [options] Override http request option.
|
|
4767
|
+
* @throws {RequiredError}
|
|
4768
|
+
*/
|
|
4769
|
+
updateCompanyPaymentGateways(requestParameters, options) {
|
|
4770
|
+
return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
4771
|
+
},
|
|
4578
4772
|
/**
|
|
4579
4773
|
*
|
|
4580
4774
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
|
@@ -4713,6 +4907,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
4713
4907
|
getCompanyCustomers(requestParameters, options) {
|
|
4714
4908
|
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
4909
|
}
|
|
4910
|
+
/**
|
|
4911
|
+
*
|
|
4912
|
+
* @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
4913
|
+
* @param {*} [options] Override http request option.
|
|
4914
|
+
* @throws {RequiredError}
|
|
4915
|
+
* @memberof CompanyApi
|
|
4916
|
+
*/
|
|
4917
|
+
getCompanyPaymentGateways(requestParameters, options) {
|
|
4918
|
+
return (0, exports.CompanyApiFp)(this.configuration).getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4919
|
+
}
|
|
4716
4920
|
/**
|
|
4717
4921
|
*
|
|
4718
4922
|
* @param {CompanyApiGetCompanyUsersRequest} requestParameters Request parameters.
|
|
@@ -4783,6 +4987,16 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
4783
4987
|
updateCompanyNavigations(requestParameters, options) {
|
|
4784
4988
|
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyNavigations(requestParameters.id, requestParameters.iCompanyUpdateNavigationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4785
4989
|
}
|
|
4990
|
+
/**
|
|
4991
|
+
*
|
|
4992
|
+
* @param {CompanyApiUpdateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
4993
|
+
* @param {*} [options] Override http request option.
|
|
4994
|
+
* @throws {RequiredError}
|
|
4995
|
+
* @memberof CompanyApi
|
|
4996
|
+
*/
|
|
4997
|
+
updateCompanyPaymentGateways(requestParameters, options) {
|
|
4998
|
+
return (0, exports.CompanyApiFp)(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4999
|
+
}
|
|
4786
5000
|
/**
|
|
4787
5001
|
*
|
|
4788
5002
|
* @param {CompanyApiUpdatePrimaryDomainRequest} requestParameters Request parameters.
|
|
@@ -4805,6 +5019,20 @@ class CompanyApi extends base_1.BaseAPI {
|
|
|
4805
5019
|
}
|
|
4806
5020
|
}
|
|
4807
5021
|
exports.CompanyApi = CompanyApi;
|
|
5022
|
+
/**
|
|
5023
|
+
* @export
|
|
5024
|
+
*/
|
|
5025
|
+
exports.GetCompaniesDateFieldEnum = {
|
|
5026
|
+
CREATED_AT: 'createdAt',
|
|
5027
|
+
UPDATED_AT: 'updatedAt'
|
|
5028
|
+
};
|
|
5029
|
+
/**
|
|
5030
|
+
* @export
|
|
5031
|
+
*/
|
|
5032
|
+
exports.GetCompanyCustomersDateFieldEnum = {
|
|
5033
|
+
CREATED_AT: 'createdAt',
|
|
5034
|
+
UPDATED_AT: 'updatedAt'
|
|
5035
|
+
};
|
|
4808
5036
|
/**
|
|
4809
5037
|
* ContactFormApi - axios parameter creator
|
|
4810
5038
|
* @export
|
|
@@ -4904,7 +5132,7 @@ const ContactFormApiAxiosParamCreator = function (configuration) {
|
|
|
4904
5132
|
* @param {string} [search]
|
|
4905
5133
|
* @param {string} [startDate]
|
|
4906
5134
|
* @param {string} [endDate]
|
|
4907
|
-
* @param {
|
|
5135
|
+
* @param {GetContactFormsDateFieldEnum} [dateField]
|
|
4908
5136
|
* @param {OrderEnum} [order]
|
|
4909
5137
|
* @param {string} [sort]
|
|
4910
5138
|
* @param {*} [options] Override http request option.
|
|
@@ -5016,7 +5244,7 @@ const ContactFormApiFp = function (configuration) {
|
|
|
5016
5244
|
* @param {string} [search]
|
|
5017
5245
|
* @param {string} [startDate]
|
|
5018
5246
|
* @param {string} [endDate]
|
|
5019
|
-
* @param {
|
|
5247
|
+
* @param {GetContactFormsDateFieldEnum} [dateField]
|
|
5020
5248
|
* @param {OrderEnum} [order]
|
|
5021
5249
|
* @param {string} [sort]
|
|
5022
5250
|
* @param {*} [options] Override http request option.
|
|
@@ -5126,6 +5354,13 @@ class ContactFormApi extends base_1.BaseAPI {
|
|
|
5126
5354
|
}
|
|
5127
5355
|
}
|
|
5128
5356
|
exports.ContactFormApi = ContactFormApi;
|
|
5357
|
+
/**
|
|
5358
|
+
* @export
|
|
5359
|
+
*/
|
|
5360
|
+
exports.GetContactFormsDateFieldEnum = {
|
|
5361
|
+
CREATED_AT: 'createdAt',
|
|
5362
|
+
UPDATED_AT: 'updatedAt'
|
|
5363
|
+
};
|
|
5129
5364
|
/**
|
|
5130
5365
|
* FileApi - axios parameter creator
|
|
5131
5366
|
* @export
|
|
@@ -5196,7 +5431,7 @@ const FileApiAxiosParamCreator = function (configuration) {
|
|
|
5196
5431
|
* @param {string} [search]
|
|
5197
5432
|
* @param {string} [startDate]
|
|
5198
5433
|
* @param {string} [endDate]
|
|
5199
|
-
* @param {
|
|
5434
|
+
* @param {GetFilesDateFieldEnum} [dateField]
|
|
5200
5435
|
* @param {OrderEnum} [order]
|
|
5201
5436
|
* @param {string} [sort]
|
|
5202
5437
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
@@ -5386,7 +5621,7 @@ const FileApiFp = function (configuration) {
|
|
|
5386
5621
|
* @param {string} [search]
|
|
5387
5622
|
* @param {string} [startDate]
|
|
5388
5623
|
* @param {string} [endDate]
|
|
5389
|
-
* @param {
|
|
5624
|
+
* @param {GetFilesDateFieldEnum} [dateField]
|
|
5390
5625
|
* @param {OrderEnum} [order]
|
|
5391
5626
|
* @param {string} [sort]
|
|
5392
5627
|
* @param {Array<FileKeywordEnum>} [keywords]
|
|
@@ -5545,6 +5780,13 @@ class FileApi extends base_1.BaseAPI {
|
|
|
5545
5780
|
}
|
|
5546
5781
|
}
|
|
5547
5782
|
exports.FileApi = FileApi;
|
|
5783
|
+
/**
|
|
5784
|
+
* @export
|
|
5785
|
+
*/
|
|
5786
|
+
exports.GetFilesDateFieldEnum = {
|
|
5787
|
+
CREATED_AT: 'createdAt',
|
|
5788
|
+
UPDATED_AT: 'updatedAt'
|
|
5789
|
+
};
|
|
5548
5790
|
/**
|
|
5549
5791
|
* NotificationApi - axios parameter creator
|
|
5550
5792
|
* @export
|
|
@@ -5614,7 +5856,7 @@ const NotificationApiAxiosParamCreator = function (configuration) {
|
|
|
5614
5856
|
* @param {string} [search]
|
|
5615
5857
|
* @param {string} [startDate]
|
|
5616
5858
|
* @param {string} [endDate]
|
|
5617
|
-
* @param {
|
|
5859
|
+
* @param {GetNotificationsDateFieldEnum} [dateField]
|
|
5618
5860
|
* @param {OrderEnum} [order]
|
|
5619
5861
|
* @param {string} [sort]
|
|
5620
5862
|
* @param {string} [user]
|
|
@@ -5772,7 +6014,7 @@ const NotificationApiFp = function (configuration) {
|
|
|
5772
6014
|
* @param {string} [search]
|
|
5773
6015
|
* @param {string} [startDate]
|
|
5774
6016
|
* @param {string} [endDate]
|
|
5775
|
-
* @param {
|
|
6017
|
+
* @param {GetNotificationsDateFieldEnum} [dateField]
|
|
5776
6018
|
* @param {OrderEnum} [order]
|
|
5777
6019
|
* @param {string} [sort]
|
|
5778
6020
|
* @param {string} [user]
|
|
@@ -5925,6 +6167,13 @@ class NotificationApi extends base_1.BaseAPI {
|
|
|
5925
6167
|
}
|
|
5926
6168
|
}
|
|
5927
6169
|
exports.NotificationApi = NotificationApi;
|
|
6170
|
+
/**
|
|
6171
|
+
* @export
|
|
6172
|
+
*/
|
|
6173
|
+
exports.GetNotificationsDateFieldEnum = {
|
|
6174
|
+
CREATED_AT: 'createdAt',
|
|
6175
|
+
UPDATED_AT: 'updatedAt'
|
|
6176
|
+
};
|
|
5928
6177
|
/**
|
|
5929
6178
|
* OperationApi - axios parameter creator
|
|
5930
6179
|
* @export
|
|
@@ -6023,7 +6272,7 @@ const OperationApiAxiosParamCreator = function (configuration) {
|
|
|
6023
6272
|
* @param {string} [search]
|
|
6024
6273
|
* @param {string} [startDate]
|
|
6025
6274
|
* @param {string} [endDate]
|
|
6026
|
-
* @param {
|
|
6275
|
+
* @param {GetOperationsDateFieldEnum} [dateField]
|
|
6027
6276
|
* @param {OrderEnum} [order]
|
|
6028
6277
|
* @param {string} [sort]
|
|
6029
6278
|
* @param {string} [user]
|
|
@@ -6202,7 +6451,7 @@ const OperationApiFp = function (configuration) {
|
|
|
6202
6451
|
* @param {string} [search]
|
|
6203
6452
|
* @param {string} [startDate]
|
|
6204
6453
|
* @param {string} [endDate]
|
|
6205
|
-
* @param {
|
|
6454
|
+
* @param {GetOperationsDateFieldEnum} [dateField]
|
|
6206
6455
|
* @param {OrderEnum} [order]
|
|
6207
6456
|
* @param {string} [sort]
|
|
6208
6457
|
* @param {string} [user]
|
|
@@ -6378,6 +6627,13 @@ class OperationApi extends base_1.BaseAPI {
|
|
|
6378
6627
|
}
|
|
6379
6628
|
}
|
|
6380
6629
|
exports.OperationApi = OperationApi;
|
|
6630
|
+
/**
|
|
6631
|
+
* @export
|
|
6632
|
+
*/
|
|
6633
|
+
exports.GetOperationsDateFieldEnum = {
|
|
6634
|
+
CREATED_AT: 'createdAt',
|
|
6635
|
+
UPDATED_AT: 'updatedAt'
|
|
6636
|
+
};
|
|
6381
6637
|
/**
|
|
6382
6638
|
* OrderApi - axios parameter creator
|
|
6383
6639
|
* @export
|
|
@@ -6415,11 +6671,19 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
6415
6671
|
},
|
|
6416
6672
|
/**
|
|
6417
6673
|
*
|
|
6674
|
+
* @param {number} [page]
|
|
6675
|
+
* @param {number} [itemsPerPage]
|
|
6676
|
+
* @param {string} [search]
|
|
6677
|
+
* @param {string} [startDate]
|
|
6678
|
+
* @param {string} [endDate]
|
|
6679
|
+
* @param {GetMyOrdersDateFieldEnum} [dateField]
|
|
6680
|
+
* @param {OrderEnum} [order]
|
|
6681
|
+
* @param {string} [sort]
|
|
6418
6682
|
* @param {OrderStatusEnum} [status]
|
|
6419
6683
|
* @param {*} [options] Override http request option.
|
|
6420
6684
|
* @throws {RequiredError}
|
|
6421
6685
|
*/
|
|
6422
|
-
getMyOrders: async (status, options = {}) => {
|
|
6686
|
+
getMyOrders: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options = {}) => {
|
|
6423
6687
|
const localVarPath = `/api/orders/my`;
|
|
6424
6688
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6425
6689
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6430,6 +6694,34 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
6430
6694
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
6431
6695
|
const localVarHeaderParameter = {};
|
|
6432
6696
|
const localVarQueryParameter = {};
|
|
6697
|
+
if (page !== undefined) {
|
|
6698
|
+
localVarQueryParameter['page'] = page;
|
|
6699
|
+
}
|
|
6700
|
+
if (itemsPerPage !== undefined) {
|
|
6701
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
6702
|
+
}
|
|
6703
|
+
if (search !== undefined) {
|
|
6704
|
+
localVarQueryParameter['search'] = search;
|
|
6705
|
+
}
|
|
6706
|
+
if (startDate !== undefined) {
|
|
6707
|
+
localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
|
|
6708
|
+
startDate.toISOString() :
|
|
6709
|
+
startDate;
|
|
6710
|
+
}
|
|
6711
|
+
if (endDate !== undefined) {
|
|
6712
|
+
localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
|
|
6713
|
+
endDate.toISOString() :
|
|
6714
|
+
endDate;
|
|
6715
|
+
}
|
|
6716
|
+
if (dateField !== undefined) {
|
|
6717
|
+
localVarQueryParameter['dateField'] = dateField;
|
|
6718
|
+
}
|
|
6719
|
+
if (order !== undefined) {
|
|
6720
|
+
localVarQueryParameter['order'] = order;
|
|
6721
|
+
}
|
|
6722
|
+
if (sort !== undefined) {
|
|
6723
|
+
localVarQueryParameter['sort'] = sort;
|
|
6724
|
+
}
|
|
6433
6725
|
if (status !== undefined) {
|
|
6434
6726
|
localVarQueryParameter['status'] = status;
|
|
6435
6727
|
}
|
|
@@ -6477,7 +6769,7 @@ const OrderApiAxiosParamCreator = function (configuration) {
|
|
|
6477
6769
|
* @param {string} [search]
|
|
6478
6770
|
* @param {string} [startDate]
|
|
6479
6771
|
* @param {string} [endDate]
|
|
6480
|
-
* @param {
|
|
6772
|
+
* @param {GetOrdersDateFieldEnum} [dateField]
|
|
6481
6773
|
* @param {OrderEnum} [order]
|
|
6482
6774
|
* @param {string} [sort]
|
|
6483
6775
|
* @param {string} [user]
|
|
@@ -6567,12 +6859,20 @@ const OrderApiFp = function (configuration) {
|
|
|
6567
6859
|
},
|
|
6568
6860
|
/**
|
|
6569
6861
|
*
|
|
6862
|
+
* @param {number} [page]
|
|
6863
|
+
* @param {number} [itemsPerPage]
|
|
6864
|
+
* @param {string} [search]
|
|
6865
|
+
* @param {string} [startDate]
|
|
6866
|
+
* @param {string} [endDate]
|
|
6867
|
+
* @param {GetMyOrdersDateFieldEnum} [dateField]
|
|
6868
|
+
* @param {OrderEnum} [order]
|
|
6869
|
+
* @param {string} [sort]
|
|
6570
6870
|
* @param {OrderStatusEnum} [status]
|
|
6571
6871
|
* @param {*} [options] Override http request option.
|
|
6572
6872
|
* @throws {RequiredError}
|
|
6573
6873
|
*/
|
|
6574
|
-
async getMyOrders(status, options) {
|
|
6575
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(status, options);
|
|
6874
|
+
async getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options) {
|
|
6875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyOrders(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, options);
|
|
6576
6876
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6577
6877
|
const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getMyOrders']?.[localVarOperationServerIndex]?.url;
|
|
6578
6878
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6597,7 +6897,7 @@ const OrderApiFp = function (configuration) {
|
|
|
6597
6897
|
* @param {string} [search]
|
|
6598
6898
|
* @param {string} [startDate]
|
|
6599
6899
|
* @param {string} [endDate]
|
|
6600
|
-
* @param {
|
|
6900
|
+
* @param {GetOrdersDateFieldEnum} [dateField]
|
|
6601
6901
|
* @param {OrderEnum} [order]
|
|
6602
6902
|
* @param {string} [sort]
|
|
6603
6903
|
* @param {string} [user]
|
|
@@ -6637,7 +6937,7 @@ const OrderApiFactory = function (configuration, basePath, axios) {
|
|
|
6637
6937
|
* @throws {RequiredError}
|
|
6638
6938
|
*/
|
|
6639
6939
|
getMyOrders(requestParameters = {}, options) {
|
|
6640
|
-
return localVarFp.getMyOrders(requestParameters.status, options).then((request) => request(axios, basePath));
|
|
6940
|
+
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
6941
|
},
|
|
6642
6942
|
/**
|
|
6643
6943
|
*
|
|
@@ -6685,7 +6985,7 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
6685
6985
|
* @memberof OrderApi
|
|
6686
6986
|
*/
|
|
6687
6987
|
getMyOrders(requestParameters = {}, options) {
|
|
6688
|
-
return (0, exports.OrderApiFp)(this.configuration).getMyOrders(requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6988
|
+
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
6989
|
}
|
|
6690
6990
|
/**
|
|
6691
6991
|
*
|
|
@@ -6709,6 +7009,20 @@ class OrderApi extends base_1.BaseAPI {
|
|
|
6709
7009
|
}
|
|
6710
7010
|
}
|
|
6711
7011
|
exports.OrderApi = OrderApi;
|
|
7012
|
+
/**
|
|
7013
|
+
* @export
|
|
7014
|
+
*/
|
|
7015
|
+
exports.GetMyOrdersDateFieldEnum = {
|
|
7016
|
+
CREATED_AT: 'createdAt',
|
|
7017
|
+
UPDATED_AT: 'updatedAt'
|
|
7018
|
+
};
|
|
7019
|
+
/**
|
|
7020
|
+
* @export
|
|
7021
|
+
*/
|
|
7022
|
+
exports.GetOrdersDateFieldEnum = {
|
|
7023
|
+
CREATED_AT: 'createdAt',
|
|
7024
|
+
UPDATED_AT: 'updatedAt'
|
|
7025
|
+
};
|
|
6712
7026
|
/**
|
|
6713
7027
|
* PageApi - axios parameter creator
|
|
6714
7028
|
* @export
|
|
@@ -6927,7 +7241,7 @@ const PageApiAxiosParamCreator = function (configuration) {
|
|
|
6927
7241
|
* @param {string} [search]
|
|
6928
7242
|
* @param {string} [startDate]
|
|
6929
7243
|
* @param {string} [endDate]
|
|
6930
|
-
* @param {
|
|
7244
|
+
* @param {GetPagesDateFieldEnum} [dateField]
|
|
6931
7245
|
* @param {OrderEnum} [order]
|
|
6932
7246
|
* @param {string} [sort]
|
|
6933
7247
|
* @param {string} [companyId]
|
|
@@ -7157,7 +7471,7 @@ const PageApiFp = function (configuration) {
|
|
|
7157
7471
|
* @param {string} [search]
|
|
7158
7472
|
* @param {string} [startDate]
|
|
7159
7473
|
* @param {string} [endDate]
|
|
7160
|
-
* @param {
|
|
7474
|
+
* @param {GetPagesDateFieldEnum} [dateField]
|
|
7161
7475
|
* @param {OrderEnum} [order]
|
|
7162
7476
|
* @param {string} [sort]
|
|
7163
7477
|
* @param {string} [companyId]
|
|
@@ -7391,6 +7705,13 @@ class PageApi extends base_1.BaseAPI {
|
|
|
7391
7705
|
}
|
|
7392
7706
|
}
|
|
7393
7707
|
exports.PageApi = PageApi;
|
|
7708
|
+
/**
|
|
7709
|
+
* @export
|
|
7710
|
+
*/
|
|
7711
|
+
exports.GetPagesDateFieldEnum = {
|
|
7712
|
+
CREATED_AT: 'createdAt',
|
|
7713
|
+
UPDATED_AT: 'updatedAt'
|
|
7714
|
+
};
|
|
7394
7715
|
/**
|
|
7395
7716
|
* PlanApi - axios parameter creator
|
|
7396
7717
|
* @export
|
|
@@ -7489,7 +7810,7 @@ const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
7489
7810
|
* @param {string} [search]
|
|
7490
7811
|
* @param {string} [startDate]
|
|
7491
7812
|
* @param {string} [endDate]
|
|
7492
|
-
* @param {
|
|
7813
|
+
* @param {GetPlansDateFieldEnum} [dateField]
|
|
7493
7814
|
* @param {OrderEnum} [order]
|
|
7494
7815
|
* @param {string} [sort]
|
|
7495
7816
|
* @param {PlanStatusEnum} [status]
|
|
@@ -7636,7 +7957,7 @@ const PlanApiFp = function (configuration) {
|
|
|
7636
7957
|
* @param {string} [search]
|
|
7637
7958
|
* @param {string} [startDate]
|
|
7638
7959
|
* @param {string} [endDate]
|
|
7639
|
-
* @param {
|
|
7960
|
+
* @param {GetPlansDateFieldEnum} [dateField]
|
|
7640
7961
|
* @param {OrderEnum} [order]
|
|
7641
7962
|
* @param {string} [sort]
|
|
7642
7963
|
* @param {PlanStatusEnum} [status]
|
|
@@ -7780,6 +8101,13 @@ class PlanApi extends base_1.BaseAPI {
|
|
|
7780
8101
|
}
|
|
7781
8102
|
}
|
|
7782
8103
|
exports.PlanApi = PlanApi;
|
|
8104
|
+
/**
|
|
8105
|
+
* @export
|
|
8106
|
+
*/
|
|
8107
|
+
exports.GetPlansDateFieldEnum = {
|
|
8108
|
+
CREATED_AT: 'createdAt',
|
|
8109
|
+
UPDATED_AT: 'updatedAt'
|
|
8110
|
+
};
|
|
7783
8111
|
/**
|
|
7784
8112
|
* ProductApi - axios parameter creator
|
|
7785
8113
|
* @export
|
|
@@ -7986,7 +8314,7 @@ const ProductApiAxiosParamCreator = function (configuration) {
|
|
|
7986
8314
|
* @param {string} [search]
|
|
7987
8315
|
* @param {string} [startDate]
|
|
7988
8316
|
* @param {string} [endDate]
|
|
7989
|
-
* @param {
|
|
8317
|
+
* @param {GetProductsDateFieldEnum} [dateField]
|
|
7990
8318
|
* @param {OrderEnum} [order]
|
|
7991
8319
|
* @param {string} [sort]
|
|
7992
8320
|
* @param {string} [companyId]
|
|
@@ -8228,7 +8556,7 @@ const ProductApiFp = function (configuration) {
|
|
|
8228
8556
|
* @param {string} [search]
|
|
8229
8557
|
* @param {string} [startDate]
|
|
8230
8558
|
* @param {string} [endDate]
|
|
8231
|
-
* @param {
|
|
8559
|
+
* @param {GetProductsDateFieldEnum} [dateField]
|
|
8232
8560
|
* @param {OrderEnum} [order]
|
|
8233
8561
|
* @param {string} [sort]
|
|
8234
8562
|
* @param {string} [companyId]
|
|
@@ -8466,6 +8794,13 @@ class ProductApi extends base_1.BaseAPI {
|
|
|
8466
8794
|
}
|
|
8467
8795
|
}
|
|
8468
8796
|
exports.ProductApi = ProductApi;
|
|
8797
|
+
/**
|
|
8798
|
+
* @export
|
|
8799
|
+
*/
|
|
8800
|
+
exports.GetProductsDateFieldEnum = {
|
|
8801
|
+
CREATED_AT: 'createdAt',
|
|
8802
|
+
UPDATED_AT: 'updatedAt'
|
|
8803
|
+
};
|
|
8469
8804
|
/**
|
|
8470
8805
|
* SitemapApi - axios parameter creator
|
|
8471
8806
|
* @export
|
|
@@ -9488,7 +9823,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
9488
9823
|
* @param {string} [search]
|
|
9489
9824
|
* @param {string} [startDate]
|
|
9490
9825
|
* @param {string} [endDate]
|
|
9491
|
-
* @param {
|
|
9826
|
+
* @param {GetUsersDateFieldEnum} [dateField]
|
|
9492
9827
|
* @param {OrderEnum} [order]
|
|
9493
9828
|
* @param {string} [sort]
|
|
9494
9829
|
* @param {UserStatusEnum} [status]
|
|
@@ -9737,7 +10072,7 @@ const UserApiFp = function (configuration) {
|
|
|
9737
10072
|
* @param {string} [search]
|
|
9738
10073
|
* @param {string} [startDate]
|
|
9739
10074
|
* @param {string} [endDate]
|
|
9740
|
-
* @param {
|
|
10075
|
+
* @param {GetUsersDateFieldEnum} [dateField]
|
|
9741
10076
|
* @param {OrderEnum} [order]
|
|
9742
10077
|
* @param {string} [sort]
|
|
9743
10078
|
* @param {UserStatusEnum} [status]
|
|
@@ -10006,3 +10341,10 @@ class UserApi extends base_1.BaseAPI {
|
|
|
10006
10341
|
}
|
|
10007
10342
|
}
|
|
10008
10343
|
exports.UserApi = UserApi;
|
|
10344
|
+
/**
|
|
10345
|
+
* @export
|
|
10346
|
+
*/
|
|
10347
|
+
exports.GetUsersDateFieldEnum = {
|
|
10348
|
+
CREATED_AT: 'createdAt',
|
|
10349
|
+
UPDATED_AT: 'updatedAt'
|
|
10350
|
+
};
|