ch-admin-api-client-typescript 2.6.1 → 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 +75 -96
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +115 -81
- package/package.json +1 -1
- package/src/api.ts +126 -114
package/lib/api.js
CHANGED
|
@@ -8120,7 +8120,7 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8120
8120
|
* @param {*} [options] Override http request option.
|
|
8121
8121
|
* @throws {RequiredError}
|
|
8122
8122
|
*/
|
|
8123
|
-
|
|
8123
|
+
apiV1CountriesCountryIdReactivePut: function (countryId, options) {
|
|
8124
8124
|
if (options === void 0) { options = {}; }
|
|
8125
8125
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8126
8126
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8128,8 +8128,8 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8128
8128
|
switch (_a.label) {
|
|
8129
8129
|
case 0:
|
|
8130
8130
|
// verify required parameter 'countryId' is not null or undefined
|
|
8131
|
-
common_1.assertParamExists('
|
|
8132
|
-
localVarPath = "/api/v1/countries/{countryId}/
|
|
8131
|
+
common_1.assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId);
|
|
8132
|
+
localVarPath = "/api/v1/countries/{countryId}/reactive"
|
|
8133
8133
|
.replace("{" + "countryId" + "}", encodeURIComponent(String(countryId)));
|
|
8134
8134
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8135
8135
|
if (configuration) {
|
|
@@ -8283,7 +8283,6 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
|
|
|
8283
8283
|
},
|
|
8284
8284
|
/**
|
|
8285
8285
|
*
|
|
8286
|
-
* @summary Get country by slug.
|
|
8287
8286
|
* @param {string} slug
|
|
8288
8287
|
* @param {string} [languageCode]
|
|
8289
8288
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8521,12 +8520,12 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8521
8520
|
* @param {*} [options] Override http request option.
|
|
8522
8521
|
* @throws {RequiredError}
|
|
8523
8522
|
*/
|
|
8524
|
-
|
|
8523
|
+
apiV1CountriesCountryIdReactivePut: function (countryId, options) {
|
|
8525
8524
|
return __awaiter(this, void 0, void 0, function () {
|
|
8526
8525
|
var localVarAxiosArgs;
|
|
8527
8526
|
return __generator(this, function (_a) {
|
|
8528
8527
|
switch (_a.label) {
|
|
8529
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
8528
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdReactivePut(countryId, options)];
|
|
8530
8529
|
case 1:
|
|
8531
8530
|
localVarAxiosArgs = _a.sent();
|
|
8532
8531
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8585,7 +8584,6 @@ exports.CountriesApiFp = function (configuration) {
|
|
|
8585
8584
|
},
|
|
8586
8585
|
/**
|
|
8587
8586
|
*
|
|
8588
|
-
* @summary Get country by slug.
|
|
8589
8587
|
* @param {string} slug
|
|
8590
8588
|
* @param {string} [languageCode]
|
|
8591
8589
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8714,8 +8712,8 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8714
8712
|
* @param {*} [options] Override http request option.
|
|
8715
8713
|
* @throws {RequiredError}
|
|
8716
8714
|
*/
|
|
8717
|
-
|
|
8718
|
-
return localVarFp.
|
|
8715
|
+
apiV1CountriesCountryIdReactivePut: function (countryId, options) {
|
|
8716
|
+
return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then(function (request) { return request(axios, basePath); });
|
|
8719
8717
|
},
|
|
8720
8718
|
/**
|
|
8721
8719
|
*
|
|
@@ -8748,7 +8746,6 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
|
|
|
8748
8746
|
},
|
|
8749
8747
|
/**
|
|
8750
8748
|
*
|
|
8751
|
-
* @summary Get country by slug.
|
|
8752
8749
|
* @param {string} slug
|
|
8753
8750
|
* @param {string} [languageCode]
|
|
8754
8751
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8888,9 +8885,9 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8888
8885
|
* @throws {RequiredError}
|
|
8889
8886
|
* @memberof CountriesApi
|
|
8890
8887
|
*/
|
|
8891
|
-
CountriesApi.prototype.
|
|
8888
|
+
CountriesApi.prototype.apiV1CountriesCountryIdReactivePut = function (countryId, options) {
|
|
8892
8889
|
var _this = this;
|
|
8893
|
-
return exports.CountriesApiFp(this.configuration).
|
|
8890
|
+
return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdReactivePut(countryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8894
8891
|
};
|
|
8895
8892
|
/**
|
|
8896
8893
|
*
|
|
@@ -8927,7 +8924,6 @@ var CountriesApi = /** @class */ (function (_super) {
|
|
|
8927
8924
|
};
|
|
8928
8925
|
/**
|
|
8929
8926
|
*
|
|
8930
|
-
* @summary Get country by slug.
|
|
8931
8927
|
* @param {string} slug
|
|
8932
8928
|
* @param {string} [languageCode]
|
|
8933
8929
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11436,7 +11432,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
11436
11432
|
},
|
|
11437
11433
|
/**
|
|
11438
11434
|
*
|
|
11439
|
-
* @summary Get Doctor.
|
|
11440
11435
|
* @param {string} doctorId
|
|
11441
11436
|
* @param {string} [languageCode]
|
|
11442
11437
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -12445,7 +12440,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12445
12440
|
},
|
|
12446
12441
|
/**
|
|
12447
12442
|
*
|
|
12448
|
-
* @summary Get Doctor by slug.
|
|
12449
12443
|
* @param {string} slug
|
|
12450
12444
|
* @param {string} [languageCode]
|
|
12451
12445
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -12837,7 +12831,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
12837
12831
|
},
|
|
12838
12832
|
/**
|
|
12839
12833
|
*
|
|
12840
|
-
* @summary Get Doctor.
|
|
12841
12834
|
* @param {string} doctorId
|
|
12842
12835
|
* @param {string} [languageCode]
|
|
12843
12836
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13264,7 +13257,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13264
13257
|
},
|
|
13265
13258
|
/**
|
|
13266
13259
|
*
|
|
13267
|
-
* @summary Get Doctor by slug.
|
|
13268
13260
|
* @param {string} slug
|
|
13269
13261
|
* @param {string} [languageCode]
|
|
13270
13262
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13477,7 +13469,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13477
13469
|
},
|
|
13478
13470
|
/**
|
|
13479
13471
|
*
|
|
13480
|
-
* @summary Get Doctor.
|
|
13481
13472
|
* @param {string} doctorId
|
|
13482
13473
|
* @param {string} [languageCode]
|
|
13483
13474
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13714,7 +13705,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13714
13705
|
},
|
|
13715
13706
|
/**
|
|
13716
13707
|
*
|
|
13717
|
-
* @summary Get Doctor by slug.
|
|
13718
13708
|
* @param {string} slug
|
|
13719
13709
|
* @param {string} [languageCode]
|
|
13720
13710
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13951,7 +13941,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
13951
13941
|
};
|
|
13952
13942
|
/**
|
|
13953
13943
|
*
|
|
13954
|
-
* @summary Get Doctor.
|
|
13955
13944
|
* @param {string} doctorId
|
|
13956
13945
|
* @param {string} [languageCode]
|
|
13957
13946
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14226,7 +14215,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14226
14215
|
};
|
|
14227
14216
|
/**
|
|
14228
14217
|
*
|
|
14229
|
-
* @summary Get Doctor by slug.
|
|
14230
14218
|
* @param {string} slug
|
|
14231
14219
|
* @param {string} [languageCode]
|
|
14232
14220
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -17465,6 +17453,53 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17465
17453
|
});
|
|
17466
17454
|
});
|
|
17467
17455
|
},
|
|
17456
|
+
/**
|
|
17457
|
+
*
|
|
17458
|
+
* @summary Reactivate HospitalEquipment.
|
|
17459
|
+
* @param {string} hospitalId
|
|
17460
|
+
* @param {string} equipmentId
|
|
17461
|
+
* @param {*} [options] Override http request option.
|
|
17462
|
+
* @throws {RequiredError}
|
|
17463
|
+
*/
|
|
17464
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
|
|
17465
|
+
if (options === void 0) { options = {}; }
|
|
17466
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
17467
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17468
|
+
return __generator(this, function (_a) {
|
|
17469
|
+
switch (_a.label) {
|
|
17470
|
+
case 0:
|
|
17471
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
17472
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'hospitalId', hospitalId);
|
|
17473
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
17474
|
+
common_1.assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'equipmentId', equipmentId);
|
|
17475
|
+
localVarPath = "/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactive"
|
|
17476
|
+
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
|
|
17477
|
+
.replace("{" + "equipmentId" + "}", encodeURIComponent(String(equipmentId)));
|
|
17478
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17479
|
+
if (configuration) {
|
|
17480
|
+
baseOptions = configuration.baseOptions;
|
|
17481
|
+
}
|
|
17482
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
17483
|
+
localVarHeaderParameter = {};
|
|
17484
|
+
localVarQueryParameter = {};
|
|
17485
|
+
// authentication oauth2 required
|
|
17486
|
+
// oauth required
|
|
17487
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
17488
|
+
case 1:
|
|
17489
|
+
// authentication oauth2 required
|
|
17490
|
+
// oauth required
|
|
17491
|
+
_a.sent();
|
|
17492
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17493
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17494
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17495
|
+
return [2 /*return*/, {
|
|
17496
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
17497
|
+
options: localVarRequestOptions,
|
|
17498
|
+
}];
|
|
17499
|
+
}
|
|
17500
|
+
});
|
|
17501
|
+
});
|
|
17502
|
+
},
|
|
17468
17503
|
/**
|
|
17469
17504
|
*
|
|
17470
17505
|
* @summary Get all HospitalEquipments.
|
|
@@ -18603,7 +18638,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18603
18638
|
},
|
|
18604
18639
|
/**
|
|
18605
18640
|
*
|
|
18606
|
-
* @summary Delete HospitalService
|
|
18607
18641
|
* @param {string} hospitalId
|
|
18608
18642
|
* @param {string} specialtyId
|
|
18609
18643
|
* @param {string} serviceId
|
|
@@ -18654,7 +18688,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18654
18688
|
},
|
|
18655
18689
|
/**
|
|
18656
18690
|
*
|
|
18657
|
-
* @summary Get HospitalService.
|
|
18658
18691
|
* @param {string} hospitalId
|
|
18659
18692
|
* @param {string} specialtyId
|
|
18660
18693
|
* @param {string} serviceId
|
|
@@ -19215,7 +19248,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19215
19248
|
},
|
|
19216
19249
|
/**
|
|
19217
19250
|
*
|
|
19218
|
-
* @summary Get Hospital by slug.
|
|
19219
19251
|
* @param {string} slug
|
|
19220
19252
|
* @param {string} [languageCode]
|
|
19221
19253
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19597,6 +19629,27 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19597
19629
|
});
|
|
19598
19630
|
});
|
|
19599
19631
|
},
|
|
19632
|
+
/**
|
|
19633
|
+
*
|
|
19634
|
+
* @summary Reactivate HospitalEquipment.
|
|
19635
|
+
* @param {string} hospitalId
|
|
19636
|
+
* @param {string} equipmentId
|
|
19637
|
+
* @param {*} [options] Override http request option.
|
|
19638
|
+
* @throws {RequiredError}
|
|
19639
|
+
*/
|
|
19640
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
|
|
19641
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19642
|
+
var localVarAxiosArgs;
|
|
19643
|
+
return __generator(this, function (_a) {
|
|
19644
|
+
switch (_a.label) {
|
|
19645
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options)];
|
|
19646
|
+
case 1:
|
|
19647
|
+
localVarAxiosArgs = _a.sent();
|
|
19648
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
19649
|
+
}
|
|
19650
|
+
});
|
|
19651
|
+
});
|
|
19652
|
+
},
|
|
19600
19653
|
/**
|
|
19601
19654
|
*
|
|
19602
19655
|
* @summary Get all HospitalEquipments.
|
|
@@ -20066,7 +20119,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20066
20119
|
},
|
|
20067
20120
|
/**
|
|
20068
20121
|
*
|
|
20069
|
-
* @summary Delete HospitalService
|
|
20070
20122
|
* @param {string} hospitalId
|
|
20071
20123
|
* @param {string} specialtyId
|
|
20072
20124
|
* @param {string} serviceId
|
|
@@ -20088,7 +20140,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20088
20140
|
},
|
|
20089
20141
|
/**
|
|
20090
20142
|
*
|
|
20091
|
-
* @summary Get HospitalService.
|
|
20092
20143
|
* @param {string} hospitalId
|
|
20093
20144
|
* @param {string} specialtyId
|
|
20094
20145
|
* @param {string} serviceId
|
|
@@ -20311,7 +20362,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20311
20362
|
},
|
|
20312
20363
|
/**
|
|
20313
20364
|
*
|
|
20314
|
-
* @summary Get Hospital by slug.
|
|
20315
20365
|
* @param {string} slug
|
|
20316
20366
|
* @param {string} [languageCode]
|
|
20317
20367
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20524,6 +20574,17 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20524
20574
|
apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut: function (hospitalId, equipmentId, updateHospitalEquipmentCommand, options) {
|
|
20525
20575
|
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then(function (request) { return request(axios, basePath); });
|
|
20526
20576
|
},
|
|
20577
|
+
/**
|
|
20578
|
+
*
|
|
20579
|
+
* @summary Reactivate HospitalEquipment.
|
|
20580
|
+
* @param {string} hospitalId
|
|
20581
|
+
* @param {string} equipmentId
|
|
20582
|
+
* @param {*} [options] Override http request option.
|
|
20583
|
+
* @throws {RequiredError}
|
|
20584
|
+
*/
|
|
20585
|
+
apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
|
|
20586
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then(function (request) { return request(axios, basePath); });
|
|
20587
|
+
},
|
|
20527
20588
|
/**
|
|
20528
20589
|
*
|
|
20529
20590
|
* @summary Get all HospitalEquipments.
|
|
@@ -20793,7 +20854,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20793
20854
|
},
|
|
20794
20855
|
/**
|
|
20795
20856
|
*
|
|
20796
|
-
* @summary Delete HospitalService
|
|
20797
20857
|
* @param {string} hospitalId
|
|
20798
20858
|
* @param {string} specialtyId
|
|
20799
20859
|
* @param {string} serviceId
|
|
@@ -20805,7 +20865,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20805
20865
|
},
|
|
20806
20866
|
/**
|
|
20807
20867
|
*
|
|
20808
|
-
* @summary Get HospitalService.
|
|
20809
20868
|
* @param {string} hospitalId
|
|
20810
20869
|
* @param {string} specialtyId
|
|
20811
20870
|
* @param {string} serviceId
|
|
@@ -20938,7 +20997,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20938
20997
|
},
|
|
20939
20998
|
/**
|
|
20940
20999
|
*
|
|
20941
|
-
* @summary Get Hospital by slug.
|
|
20942
21000
|
* @param {string} slug
|
|
20943
21001
|
* @param {string} [languageCode]
|
|
20944
21002
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21173,6 +21231,19 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21173
21231
|
var _this = this;
|
|
21174
21232
|
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21175
21233
|
};
|
|
21234
|
+
/**
|
|
21235
|
+
*
|
|
21236
|
+
* @summary Reactivate HospitalEquipment.
|
|
21237
|
+
* @param {string} hospitalId
|
|
21238
|
+
* @param {string} equipmentId
|
|
21239
|
+
* @param {*} [options] Override http request option.
|
|
21240
|
+
* @throws {RequiredError}
|
|
21241
|
+
* @memberof HospitalsApi
|
|
21242
|
+
*/
|
|
21243
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut = function (hospitalId, equipmentId, options) {
|
|
21244
|
+
var _this = this;
|
|
21245
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21246
|
+
};
|
|
21176
21247
|
/**
|
|
21177
21248
|
*
|
|
21178
21249
|
* @summary Get all HospitalEquipments.
|
|
@@ -21482,7 +21553,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21482
21553
|
};
|
|
21483
21554
|
/**
|
|
21484
21555
|
*
|
|
21485
|
-
* @summary Delete HospitalService
|
|
21486
21556
|
* @param {string} hospitalId
|
|
21487
21557
|
* @param {string} specialtyId
|
|
21488
21558
|
* @param {string} serviceId
|
|
@@ -21496,7 +21566,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21496
21566
|
};
|
|
21497
21567
|
/**
|
|
21498
21568
|
*
|
|
21499
|
-
* @summary Get HospitalService.
|
|
21500
21569
|
* @param {string} hospitalId
|
|
21501
21570
|
* @param {string} specialtyId
|
|
21502
21571
|
* @param {string} serviceId
|
|
@@ -21647,7 +21716,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21647
21716
|
};
|
|
21648
21717
|
/**
|
|
21649
21718
|
*
|
|
21650
|
-
* @summary Get Hospital by slug.
|
|
21651
21719
|
* @param {string} slug
|
|
21652
21720
|
* @param {string} [languageCode]
|
|
21653
21721
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -25793,7 +25861,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25793
25861
|
},
|
|
25794
25862
|
/**
|
|
25795
25863
|
*
|
|
25796
|
-
* @summary Get HospitalService.
|
|
25797
25864
|
* @param {string} serviceId
|
|
25798
25865
|
* @param {string} [languageCode]
|
|
25799
25866
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -25844,7 +25911,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
25844
25911
|
},
|
|
25845
25912
|
/**
|
|
25846
25913
|
*
|
|
25847
|
-
* @summary Get HospitalService by slug.
|
|
25848
25914
|
* @param {string} slug
|
|
25849
25915
|
* @param {string} [languageCode]
|
|
25850
25916
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -25942,7 +26008,6 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25942
26008
|
},
|
|
25943
26009
|
/**
|
|
25944
26010
|
*
|
|
25945
|
-
* @summary Get HospitalService.
|
|
25946
26011
|
* @param {string} serviceId
|
|
25947
26012
|
* @param {string} [languageCode]
|
|
25948
26013
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -25964,7 +26029,6 @@ exports.ServicesApiFp = function (configuration) {
|
|
|
25964
26029
|
},
|
|
25965
26030
|
/**
|
|
25966
26031
|
*
|
|
25967
|
-
* @summary Get HospitalService by slug.
|
|
25968
26032
|
* @param {string} slug
|
|
25969
26033
|
* @param {string} [languageCode]
|
|
25970
26034
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26023,7 +26087,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
26023
26087
|
},
|
|
26024
26088
|
/**
|
|
26025
26089
|
*
|
|
26026
|
-
* @summary Get HospitalService.
|
|
26027
26090
|
* @param {string} serviceId
|
|
26028
26091
|
* @param {string} [languageCode]
|
|
26029
26092
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26035,7 +26098,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
26035
26098
|
},
|
|
26036
26099
|
/**
|
|
26037
26100
|
*
|
|
26038
|
-
* @summary Get HospitalService by slug.
|
|
26039
26101
|
* @param {string} slug
|
|
26040
26102
|
* @param {string} [languageCode]
|
|
26041
26103
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26090,7 +26152,6 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
26090
26152
|
};
|
|
26091
26153
|
/**
|
|
26092
26154
|
*
|
|
26093
|
-
* @summary Get HospitalService.
|
|
26094
26155
|
* @param {string} serviceId
|
|
26095
26156
|
* @param {string} [languageCode]
|
|
26096
26157
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26104,7 +26165,6 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
26104
26165
|
};
|
|
26105
26166
|
/**
|
|
26106
26167
|
*
|
|
26107
|
-
* @summary Get HospitalService by slug.
|
|
26108
26168
|
* @param {string} slug
|
|
26109
26169
|
* @param {string} [languageCode]
|
|
26110
26170
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -26132,14 +26192,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26132
26192
|
* @param {string} [id]
|
|
26133
26193
|
* @param {string} [name]
|
|
26134
26194
|
* @param {string} [description]
|
|
26135
|
-
* @param {string} [languageCode]
|
|
26136
26195
|
* @param {number} [page]
|
|
26137
26196
|
* @param {number} [limit]
|
|
26138
26197
|
* @param {Date} [lastRetrieved]
|
|
26139
26198
|
* @param {*} [options] Override http request option.
|
|
26140
26199
|
* @throws {RequiredError}
|
|
26141
26200
|
*/
|
|
26142
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26201
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26143
26202
|
if (options === void 0) { options = {}; }
|
|
26144
26203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26145
26204
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26170,9 +26229,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26170
26229
|
if (description !== undefined) {
|
|
26171
26230
|
localVarQueryParameter['Description'] = description;
|
|
26172
26231
|
}
|
|
26173
|
-
if (languageCode !== undefined) {
|
|
26174
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
26175
|
-
}
|
|
26176
26232
|
if (page !== undefined) {
|
|
26177
26233
|
localVarQueryParameter['page'] = page;
|
|
26178
26234
|
}
|
|
@@ -26283,11 +26339,10 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26283
26339
|
*
|
|
26284
26340
|
* @summary Get ServiceCategory.
|
|
26285
26341
|
* @param {string} serviceCategoryId
|
|
26286
|
-
* @param {string} [languageCode]
|
|
26287
26342
|
* @param {*} [options] Override http request option.
|
|
26288
26343
|
* @throws {RequiredError}
|
|
26289
26344
|
*/
|
|
26290
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26345
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26291
26346
|
if (options === void 0) { options = {}; }
|
|
26292
26347
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26293
26348
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26312,9 +26367,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
26312
26367
|
// authentication oauth2 required
|
|
26313
26368
|
// oauth required
|
|
26314
26369
|
_a.sent();
|
|
26315
|
-
if (languageCode !== undefined) {
|
|
26316
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
26317
|
-
}
|
|
26318
26370
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26319
26371
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26320
26372
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26387,19 +26439,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26387
26439
|
* @param {string} [id]
|
|
26388
26440
|
* @param {string} [name]
|
|
26389
26441
|
* @param {string} [description]
|
|
26390
|
-
* @param {string} [languageCode]
|
|
26391
26442
|
* @param {number} [page]
|
|
26392
26443
|
* @param {number} [limit]
|
|
26393
26444
|
* @param {Date} [lastRetrieved]
|
|
26394
26445
|
* @param {*} [options] Override http request option.
|
|
26395
26446
|
* @throws {RequiredError}
|
|
26396
26447
|
*/
|
|
26397
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26448
|
+
apiV1ServicescategoriesGet: function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26398
26449
|
return __awaiter(this, void 0, void 0, function () {
|
|
26399
26450
|
var localVarAxiosArgs;
|
|
26400
26451
|
return __generator(this, function (_a) {
|
|
26401
26452
|
switch (_a.label) {
|
|
26402
|
-
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)];
|
|
26403
26454
|
case 1:
|
|
26404
26455
|
localVarAxiosArgs = _a.sent();
|
|
26405
26456
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26450,16 +26501,15 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
26450
26501
|
*
|
|
26451
26502
|
* @summary Get ServiceCategory.
|
|
26452
26503
|
* @param {string} serviceCategoryId
|
|
26453
|
-
* @param {string} [languageCode]
|
|
26454
26504
|
* @param {*} [options] Override http request option.
|
|
26455
26505
|
* @throws {RequiredError}
|
|
26456
26506
|
*/
|
|
26457
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26507
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26458
26508
|
return __awaiter(this, void 0, void 0, function () {
|
|
26459
26509
|
var localVarAxiosArgs;
|
|
26460
26510
|
return __generator(this, function (_a) {
|
|
26461
26511
|
switch (_a.label) {
|
|
26462
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
26512
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options)];
|
|
26463
26513
|
case 1:
|
|
26464
26514
|
localVarAxiosArgs = _a.sent();
|
|
26465
26515
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26503,15 +26553,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26503
26553
|
* @param {string} [id]
|
|
26504
26554
|
* @param {string} [name]
|
|
26505
26555
|
* @param {string} [description]
|
|
26506
|
-
* @param {string} [languageCode]
|
|
26507
26556
|
* @param {number} [page]
|
|
26508
26557
|
* @param {number} [limit]
|
|
26509
26558
|
* @param {Date} [lastRetrieved]
|
|
26510
26559
|
* @param {*} [options] Override http request option.
|
|
26511
26560
|
* @throws {RequiredError}
|
|
26512
26561
|
*/
|
|
26513
|
-
apiV1ServicescategoriesGet: function (id, name, description,
|
|
26514
|
-
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); });
|
|
26515
26564
|
},
|
|
26516
26565
|
/**
|
|
26517
26566
|
*
|
|
@@ -26536,12 +26585,11 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
26536
26585
|
*
|
|
26537
26586
|
* @summary Get ServiceCategory.
|
|
26538
26587
|
* @param {string} serviceCategoryId
|
|
26539
|
-
* @param {string} [languageCode]
|
|
26540
26588
|
* @param {*} [options] Override http request option.
|
|
26541
26589
|
* @throws {RequiredError}
|
|
26542
26590
|
*/
|
|
26543
|
-
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId,
|
|
26544
|
-
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
26591
|
+
apiV1ServicescategoriesServiceCategoryIdGet: function (serviceCategoryId, options) {
|
|
26592
|
+
return localVarFp.apiV1ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(axios, basePath); });
|
|
26545
26593
|
},
|
|
26546
26594
|
/**
|
|
26547
26595
|
*
|
|
@@ -26573,7 +26621,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26573
26621
|
* @param {string} [id]
|
|
26574
26622
|
* @param {string} [name]
|
|
26575
26623
|
* @param {string} [description]
|
|
26576
|
-
* @param {string} [languageCode]
|
|
26577
26624
|
* @param {number} [page]
|
|
26578
26625
|
* @param {number} [limit]
|
|
26579
26626
|
* @param {Date} [lastRetrieved]
|
|
@@ -26581,9 +26628,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26581
26628
|
* @throws {RequiredError}
|
|
26582
26629
|
* @memberof ServicesCategoriesApi
|
|
26583
26630
|
*/
|
|
26584
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description,
|
|
26631
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, page, limit, lastRetrieved, options) {
|
|
26585
26632
|
var _this = this;
|
|
26586
|
-
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); });
|
|
26587
26634
|
};
|
|
26588
26635
|
/**
|
|
26589
26636
|
*
|
|
@@ -26612,14 +26659,13 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
26612
26659
|
*
|
|
26613
26660
|
* @summary Get ServiceCategory.
|
|
26614
26661
|
* @param {string} serviceCategoryId
|
|
26615
|
-
* @param {string} [languageCode]
|
|
26616
26662
|
* @param {*} [options] Override http request option.
|
|
26617
26663
|
* @throws {RequiredError}
|
|
26618
26664
|
* @memberof ServicesCategoriesApi
|
|
26619
26665
|
*/
|
|
26620
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId,
|
|
26666
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesServiceCategoryIdGet = function (serviceCategoryId, options) {
|
|
26621
26667
|
var _this = this;
|
|
26622
|
-
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); });
|
|
26623
26669
|
};
|
|
26624
26670
|
/**
|
|
26625
26671
|
*
|
|
@@ -26779,7 +26825,6 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
26779
26825
|
},
|
|
26780
26826
|
/**
|
|
26781
26827
|
*
|
|
26782
|
-
* @summary Get Specialty by slug.
|
|
26783
26828
|
* @param {string} slug
|
|
26784
26829
|
* @param {string} [languageCode]
|
|
26785
26830
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -27285,7 +27330,6 @@ exports.SpecialtiesApiFp = function (configuration) {
|
|
|
27285
27330
|
},
|
|
27286
27331
|
/**
|
|
27287
27332
|
*
|
|
27288
|
-
* @summary Get Specialty by slug.
|
|
27289
27333
|
* @param {string} slug
|
|
27290
27334
|
* @param {string} [languageCode]
|
|
27291
27335
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -27520,7 +27564,6 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
27520
27564
|
},
|
|
27521
27565
|
/**
|
|
27522
27566
|
*
|
|
27523
|
-
* @summary Get Specialty by slug.
|
|
27524
27567
|
* @param {string} slug
|
|
27525
27568
|
* @param {string} [languageCode]
|
|
27526
27569
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -27673,7 +27716,6 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
27673
27716
|
};
|
|
27674
27717
|
/**
|
|
27675
27718
|
*
|
|
27676
|
-
* @summary Get Specialty by slug.
|
|
27677
27719
|
* @param {string} slug
|
|
27678
27720
|
* @param {string} [languageCode]
|
|
27679
27721
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28038,7 +28080,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
28038
28080
|
},
|
|
28039
28081
|
/**
|
|
28040
28082
|
*
|
|
28041
|
-
* @summary Get Department by slug.
|
|
28042
28083
|
* @param {string} slug
|
|
28043
28084
|
* @param {string} [languageCode]
|
|
28044
28085
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28132,7 +28173,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
28132
28173
|
},
|
|
28133
28174
|
/**
|
|
28134
28175
|
*
|
|
28135
|
-
* @summary Get Department.
|
|
28136
28176
|
* @param {string} specialtyTypeId
|
|
28137
28177
|
* @param {string} [languageCode]
|
|
28138
28178
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28577,7 +28617,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28577
28617
|
},
|
|
28578
28618
|
/**
|
|
28579
28619
|
*
|
|
28580
|
-
* @summary Get Department by slug.
|
|
28581
28620
|
* @param {string} slug
|
|
28582
28621
|
* @param {string} [languageCode]
|
|
28583
28622
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28619,7 +28658,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
|
|
|
28619
28658
|
},
|
|
28620
28659
|
/**
|
|
28621
28660
|
*
|
|
28622
|
-
* @summary Get Department.
|
|
28623
28661
|
* @param {string} specialtyTypeId
|
|
28624
28662
|
* @param {string} [languageCode]
|
|
28625
28663
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28835,7 +28873,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28835
28873
|
},
|
|
28836
28874
|
/**
|
|
28837
28875
|
*
|
|
28838
|
-
* @summary Get Department by slug.
|
|
28839
28876
|
* @param {string} slug
|
|
28840
28877
|
* @param {string} [languageCode]
|
|
28841
28878
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28857,7 +28894,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
28857
28894
|
},
|
|
28858
28895
|
/**
|
|
28859
28896
|
*
|
|
28860
|
-
* @summary Get Department.
|
|
28861
28897
|
* @param {string} specialtyTypeId
|
|
28862
28898
|
* @param {string} [languageCode]
|
|
28863
28899
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -29013,7 +29049,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
29013
29049
|
};
|
|
29014
29050
|
/**
|
|
29015
29051
|
*
|
|
29016
|
-
* @summary Get Department by slug.
|
|
29017
29052
|
* @param {string} slug
|
|
29018
29053
|
* @param {string} [languageCode]
|
|
29019
29054
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -29039,7 +29074,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
|
|
|
29039
29074
|
};
|
|
29040
29075
|
/**
|
|
29041
29076
|
*
|
|
29042
|
-
* @summary Get Department.
|
|
29043
29077
|
* @param {string} specialtyTypeId
|
|
29044
29078
|
* @param {string} [languageCode]
|
|
29045
29079
|
* @param {boolean} [returnDefaultValue]
|