ch-admin-api-client-typescript 2.6.5 → 2.6.6
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/lib/api.d.ts +20 -50
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +14 -35
- package/package.json +1 -1
- package/src/api.ts +26 -68
package/lib/api.js
CHANGED
|
@@ -26192,15 +26192,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26192
26192
|
* @param {string} [id]
|
|
26193
26193
|
* @param {string} [name]
|
|
26194
26194
|
* @param {string} [description]
|
|
26195
|
-
* @param {string} [languageCode]
|
|
26196
|
-
* @param {boolean} [returnDefaultValue]
|
|
26197
26195
|
* @param {number} [page]
|
|
26198
26196
|
* @param {number} [limit]
|
|
26199
26197
|
* @param {Date} [lastRetrieved]
|
|
26200
26198
|
* @param {*} [options] Override http request option.
|
|
26201
26199
|
* @throws {RequiredError}
|
|
26202
26200
|
*/
|
|
26203
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26201
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26204
26202
|
if (options === void 0) { options = {}; }
|
|
26205
26203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26206
26204
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26231,12 +26229,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26231
26229
|
if (description !== undefined) {
|
|
26232
26230
|
localVarQueryParameter['Description'] = description;
|
|
26233
26231
|
}
|
|
26234
|
-
if (languageCode !== undefined) {
|
|
26235
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26236
|
-
}
|
|
26237
|
-
if (returnDefaultValue !== undefined) {
|
|
26238
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
26239
|
-
}
|
|
26240
26232
|
if (page !== undefined) {
|
|
26241
26233
|
localVarQueryParameter['page'] = page;
|
|
26242
26234
|
}
|
|
@@ -26347,11 +26339,10 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26347
26339
|
*
|
|
26348
26340
|
* @summary Get ServiceCategory.
|
|
26349
26341
|
* @param {string} serviceCategoryId
|
|
26350
|
-
* @param {string} [languageCode]
|
|
26351
26342
|
* @param {*} [options] Override http request option.
|
|
26352
26343
|
* @throws {RequiredError}
|
|
26353
26344
|
*/
|
|
26354
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26345
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26355
26346
|
if (options === void 0) { options = {}; }
|
|
26356
26347
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26357
26348
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26376,9 +26367,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26376
26367
|
// authentication oauth2 required
|
|
26377
26368
|
// oauth required
|
|
26378
26369
|
_a.sent();
|
|
26379
|
-
if (languageCode !== undefined) {
|
|
26380
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
26381
|
-
}
|
|
26382
26370
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26383
26371
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26384
26372
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26451,20 +26439,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26451
26439
|
* @param {string} [id]
|
|
26452
26440
|
* @param {string} [name]
|
|
26453
26441
|
* @param {string} [description]
|
|
26454
|
-
* @param {string} [languageCode]
|
|
26455
|
-
* @param {boolean} [returnDefaultValue]
|
|
26456
26442
|
* @param {number} [page]
|
|
26457
26443
|
* @param {number} [limit]
|
|
26458
26444
|
* @param {Date} [lastRetrieved]
|
|
26459
26445
|
* @param {*} [options] Override http request option.
|
|
26460
26446
|
* @throws {RequiredError}
|
|
26461
26447
|
*/
|
|
26462
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26448
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26463
26449
|
return __awaiter(this, void 0, void 0, function () {
|
|
26464
26450
|
var localVarAxiosArgs;
|
|
26465
26451
|
return __generator(this, function (_a) {
|
|
26466
26452
|
switch (_a.label) {
|
|
26467
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description,
|
|
26453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options)];
|
|
26468
26454
|
case 1:
|
|
26469
26455
|
localVarAxiosArgs = _a.sent();
|
|
26470
26456
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26515,16 +26501,15 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26515
26501
|
*
|
|
26516
26502
|
* @summary Get ServiceCategory.
|
|
26517
26503
|
* @param {string} serviceCategoryId
|
|
26518
|
-
* @param {string} [languageCode]
|
|
26519
26504
|
* @param {*} [options] Override http request option.
|
|
26520
26505
|
* @throws {RequiredError}
|
|
26521
26506
|
*/
|
|
26522
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26507
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26523
26508
|
return __awaiter(this, void 0, void 0, function () {
|
|
26524
26509
|
var localVarAxiosArgs;
|
|
26525
26510
|
return __generator(this, function (_a) {
|
|
26526
26511
|
switch (_a.label) {
|
|
26527
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
26512
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options)];
|
|
26528
26513
|
case 1:
|
|
26529
26514
|
localVarAxiosArgs = _a.sent();
|
|
26530
26515
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26568,16 +26553,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26568
26553
|
* @param {string} [id]
|
|
26569
26554
|
* @param {string} [name]
|
|
26570
26555
|
* @param {string} [description]
|
|
26571
|
-
* @param {string} [languageCode]
|
|
26572
|
-
* @param {boolean} [returnDefaultValue]
|
|
26573
26556
|
* @param {number} [page]
|
|
26574
26557
|
* @param {number} [limit]
|
|
26575
26558
|
* @param {Date} [lastRetrieved]
|
|
26576
26559
|
* @param {*} [options] Override http request option.
|
|
26577
26560
|
* @throws {RequiredError}
|
|
26578
26561
|
*/
|
|
26579
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26580
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description,
|
|
26562
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26563
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26581
26564
|
},
|
|
26582
26565
|
/**
|
|
26583
26566
|
*
|
|
@@ -26602,12 +26585,11 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26602
26585
|
*
|
|
26603
26586
|
* @summary Get ServiceCategory.
|
|
26604
26587
|
* @param {string} serviceCategoryId
|
|
26605
|
-
* @param {string} [languageCode]
|
|
26606
26588
|
* @param {*} [options] Override http request option.
|
|
26607
26589
|
* @throws {RequiredError}
|
|
26608
26590
|
*/
|
|
26609
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26610
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
26591
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26592
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
|
|
26611
26593
|
},
|
|
26612
26594
|
/**
|
|
26613
26595
|
*
|
|
@@ -26639,8 +26621,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26639
26621
|
* @param {string} [id]
|
|
26640
26622
|
* @param {string} [name]
|
|
26641
26623
|
* @param {string} [description]
|
|
26642
|
-
* @param {string} [languageCode]
|
|
26643
|
-
* @param {boolean} [returnDefaultValue]
|
|
26644
26624
|
* @param {number} [page]
|
|
26645
26625
|
* @param {number} [limit]
|
|
26646
26626
|
* @param {Date} [lastRetrieved]
|
|
@@ -26648,9 +26628,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26648
26628
|
* @throws {RequiredError}
|
|
26649
26629
|
* @memberof ServicesCategoriesApi
|
|
26650
26630
|
*/
|
|
26651
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description,
|
|
26631
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26652
26632
|
var _this = this;
|
|
26653
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description,
|
|
26633
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26654
26634
|
};
|
|
26655
26635
|
/**
|
|
26656
26636
|
*
|
|
@@ -26679,14 +26659,13 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26679
26659
|
*
|
|
26680
26660
|
* @summary Get ServiceCategory.
|
|
26681
26661
|
* @param {string} serviceCategoryId
|
|
26682
|
-
* @param {string} [languageCode]
|
|
26683
26662
|
* @param {*} [options] Override http request option.
|
|
26684
26663
|
* @throws {RequiredError}
|
|
26685
26664
|
* @memberof ServicesCategoriesApi
|
|
26686
26665
|
*/
|
|
26687
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId,
|
|
26666
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId, options) {
|
|
26688
26667
|
var _this = this;
|
|
26689
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
26668
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26690
26669
|
};
|
|
26691
26670
|
/**
|
|
26692
26671
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -4456,12 +4456,6 @@ export interface DealItemModel {
|
|
|
4456
4456
|
* @memberof DealItemModel
|
|
4457
4457
|
*/
|
|
4458
4458
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
4459
|
-
/**
|
|
4460
|
-
*
|
|
4461
|
-
* @type {AuditableEntity}
|
|
4462
|
-
* @memberof DealItemModel
|
|
4463
|
-
*/
|
|
4464
|
-
'auditableEntity'?: AuditableEntity;
|
|
4465
4459
|
/**
|
|
4466
4460
|
*
|
|
4467
4461
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -4474,6 +4468,12 @@ export interface DealItemModel {
|
|
|
4474
4468
|
* @memberof DealItemModel
|
|
4475
4469
|
*/
|
|
4476
4470
|
'confirmed'?: boolean;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {AuditableEntity}
|
|
4474
|
+
* @memberof DealItemModel
|
|
4475
|
+
*/
|
|
4476
|
+
'auditableEntity'?: AuditableEntity;
|
|
4477
4477
|
}
|
|
4478
4478
|
/**
|
|
4479
4479
|
*
|
|
@@ -4559,12 +4559,6 @@ export interface DealModel {
|
|
|
4559
4559
|
* @memberof DealModel
|
|
4560
4560
|
*/
|
|
4561
4561
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
4562
|
-
/**
|
|
4563
|
-
*
|
|
4564
|
-
* @type {AuditableEntity}
|
|
4565
|
-
* @memberof DealModel
|
|
4566
|
-
*/
|
|
4567
|
-
'auditableEntity'?: AuditableEntity;
|
|
4568
4562
|
/**
|
|
4569
4563
|
*
|
|
4570
4564
|
* @type {Array<LocalizedUrlModel>}
|
|
@@ -4577,6 +4571,12 @@ export interface DealModel {
|
|
|
4577
4571
|
* @memberof DealModel
|
|
4578
4572
|
*/
|
|
4579
4573
|
'confirmed'?: boolean;
|
|
4574
|
+
/**
|
|
4575
|
+
*
|
|
4576
|
+
* @type {AuditableEntity}
|
|
4577
|
+
* @memberof DealModel
|
|
4578
|
+
*/
|
|
4579
|
+
'auditableEntity'?: AuditableEntity;
|
|
4580
4580
|
/**
|
|
4581
4581
|
*
|
|
4582
4582
|
* @type {string}
|
|
@@ -8977,12 +8977,6 @@ export interface ServiceCategoryItemModel {
|
|
|
8977
8977
|
* @memberof ServiceCategoryItemModel
|
|
8978
8978
|
*/
|
|
8979
8979
|
'serviceCount'?: number;
|
|
8980
|
-
/**
|
|
8981
|
-
*
|
|
8982
|
-
* @type {Array<HospitalServiceItemModel>}
|
|
8983
|
-
* @memberof ServiceCategoryItemModel
|
|
8984
|
-
*/
|
|
8985
|
-
'services'?: Array<HospitalServiceItemModel> | null;
|
|
8986
8980
|
}
|
|
8987
8981
|
/**
|
|
8988
8982
|
*
|
|
@@ -9026,18 +9020,6 @@ export interface ServiceCategoryModel {
|
|
|
9026
9020
|
* @memberof ServiceCategoryModel
|
|
9027
9021
|
*/
|
|
9028
9022
|
'serviceCount'?: number;
|
|
9029
|
-
/**
|
|
9030
|
-
*
|
|
9031
|
-
* @type {Array<HospitalServiceItemModel>}
|
|
9032
|
-
* @memberof ServiceCategoryModel
|
|
9033
|
-
*/
|
|
9034
|
-
'services'?: Array<HospitalServiceItemModel> | null;
|
|
9035
|
-
/**
|
|
9036
|
-
*
|
|
9037
|
-
* @type {string}
|
|
9038
|
-
* @memberof ServiceCategoryModel
|
|
9039
|
-
*/
|
|
9040
|
-
'languageCode'?: string | null;
|
|
9041
9023
|
}
|
|
9042
9024
|
/**
|
|
9043
9025
|
*
|
|
@@ -34501,15 +34483,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34501
34483
|
* @param {string} [id]
|
|
34502
34484
|
* @param {string} [name]
|
|
34503
34485
|
* @param {string} [description]
|
|
34504
|
-
* @param {string} [languageCode]
|
|
34505
|
-
* @param {boolean} [returnDefaultValue]
|
|
34506
34486
|
* @param {number} [page]
|
|
34507
34487
|
* @param {number} [limit]
|
|
34508
34488
|
* @param {Date} [lastRetrieved]
|
|
34509
34489
|
* @param {*} [options] Override http request option.
|
|
34510
34490
|
* @throws {RequiredError}
|
|
34511
34491
|
*/
|
|
34512
|
-
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string,
|
|
34492
|
+
apiV1ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34513
34493
|
const localVarPath = `/api/v1/servicescategories`;
|
|
34514
34494
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34515
34495
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34538,14 +34518,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34538
34518
|
localVarQueryParameter['Description'] = description;
|
|
34539
34519
|
}
|
|
34540
34520
|
|
|
34541
|
-
if (languageCode !== undefined) {
|
|
34542
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
34543
|
-
}
|
|
34544
|
-
|
|
34545
|
-
if (returnDefaultValue !== undefined) {
|
|
34546
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
34547
|
-
}
|
|
34548
|
-
|
|
34549
34521
|
if (page !== undefined) {
|
|
34550
34522
|
localVarQueryParameter['page'] = page;
|
|
34551
34523
|
}
|
|
@@ -34650,11 +34622,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34650
34622
|
*
|
|
34651
34623
|
* @summary Get ServiceCategory.
|
|
34652
34624
|
* @param {string} serviceCategoryId
|
|
34653
|
-
* @param {string} [languageCode]
|
|
34654
34625
|
* @param {*} [options] Override http request option.
|
|
34655
34626
|
* @throws {RequiredError}
|
|
34656
34627
|
*/
|
|
34657
|
-
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string,
|
|
34628
|
+
apiV1ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34658
34629
|
// verify required parameter 'serviceCategoryId' is not null or undefined
|
|
34659
34630
|
assertParamExists('apiV1ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
|
|
34660
34631
|
const localVarPath = `/api/v1/servicescategories/{serviceCategoryId}`
|
|
@@ -34674,10 +34645,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
34674
34645
|
// oauth required
|
|
34675
34646
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34676
34647
|
|
|
34677
|
-
if (languageCode !== undefined) {
|
|
34678
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
34679
|
-
}
|
|
34680
|
-
|
|
34681
34648
|
|
|
34682
34649
|
|
|
34683
34650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -34747,16 +34714,14 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34747
34714
|
* @param {string} [id]
|
|
34748
34715
|
* @param {string} [name]
|
|
34749
34716
|
* @param {string} [description]
|
|
34750
|
-
* @param {string} [languageCode]
|
|
34751
|
-
* @param {boolean} [returnDefaultValue]
|
|
34752
34717
|
* @param {number} [page]
|
|
34753
34718
|
* @param {number} [limit]
|
|
34754
34719
|
* @param {Date} [lastRetrieved]
|
|
34755
34720
|
* @param {*} [options] Override http request option.
|
|
34756
34721
|
* @throws {RequiredError}
|
|
34757
34722
|
*/
|
|
34758
|
-
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34759
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description,
|
|
34723
|
+
async apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
34724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
|
|
34760
34725
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34761
34726
|
},
|
|
34762
34727
|
/**
|
|
@@ -34784,12 +34749,11 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
34784
34749
|
*
|
|
34785
34750
|
* @summary Get ServiceCategory.
|
|
34786
34751
|
* @param {string} serviceCategoryId
|
|
34787
|
-
* @param {string} [languageCode]
|
|
34788
34752
|
* @param {*} [options] Override http request option.
|
|
34789
34753
|
* @throws {RequiredError}
|
|
34790
34754
|
*/
|
|
34791
|
-
async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34792
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
34755
|
+
async apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
|
|
34756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options);
|
|
34793
34757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34794
34758
|
},
|
|
34795
34759
|
/**
|
|
@@ -34820,16 +34784,14 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34820
34784
|
* @param {string} [id]
|
|
34821
34785
|
* @param {string} [name]
|
|
34822
34786
|
* @param {string} [description]
|
|
34823
|
-
* @param {string} [languageCode]
|
|
34824
|
-
* @param {boolean} [returnDefaultValue]
|
|
34825
34787
|
* @param {number} [page]
|
|
34826
34788
|
* @param {number} [limit]
|
|
34827
34789
|
* @param {Date} [lastRetrieved]
|
|
34828
34790
|
* @param {*} [options] Override http request option.
|
|
34829
34791
|
* @throws {RequiredError}
|
|
34830
34792
|
*/
|
|
34831
|
-
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34832
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name, description,
|
|
34793
|
+
apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
34794
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34833
34795
|
},
|
|
34834
34796
|
/**
|
|
34835
34797
|
*
|
|
@@ -34854,12 +34816,11 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
34854
34816
|
*
|
|
34855
34817
|
* @summary Get ServiceCategory.
|
|
34856
34818
|
* @param {string} serviceCategoryId
|
|
34857
|
-
* @param {string} [languageCode]
|
|
34858
34819
|
* @param {*} [options] Override http request option.
|
|
34859
34820
|
* @throws {RequiredError}
|
|
34860
34821
|
*/
|
|
34861
|
-
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34862
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
34822
|
+
apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
|
|
34823
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
|
|
34863
34824
|
},
|
|
34864
34825
|
/**
|
|
34865
34826
|
*
|
|
@@ -34888,8 +34849,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34888
34849
|
* @param {string} [id]
|
|
34889
34850
|
* @param {string} [name]
|
|
34890
34851
|
* @param {string} [description]
|
|
34891
|
-
* @param {string} [languageCode]
|
|
34892
|
-
* @param {boolean} [returnDefaultValue]
|
|
34893
34852
|
* @param {number} [page]
|
|
34894
34853
|
* @param {number} [limit]
|
|
34895
34854
|
* @param {Date} [lastRetrieved]
|
|
@@ -34897,8 +34856,8 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34897
34856
|
* @throws {RequiredError}
|
|
34898
34857
|
* @memberof ServicesCategoriesApi
|
|
34899
34858
|
*/
|
|
34900
|
-
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
34901
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description,
|
|
34859
|
+
public apiV1ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
34860
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
34902
34861
|
}
|
|
34903
34862
|
|
|
34904
34863
|
/**
|
|
@@ -34928,13 +34887,12 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
34928
34887
|
*
|
|
34929
34888
|
* @summary Get ServiceCategory.
|
|
34930
34889
|
* @param {string} serviceCategoryId
|
|
34931
|
-
* @param {string} [languageCode]
|
|
34932
34890
|
* @param {*} [options] Override http request option.
|
|
34933
34891
|
* @throws {RequiredError}
|
|
34934
34892
|
* @memberof ServicesCategoriesApi
|
|
34935
34893
|
*/
|
|
34936
|
-
public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
34937
|
-
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
34894
|
+
public apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig) {
|
|
34895
|
+
return ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
34938
34896
|
}
|
|
34939
34897
|
|
|
34940
34898
|
/**
|