ch-api-client-typescript2 3.1.2 → 3.1.5
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 +231 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +364 -0
- package/package.json +1 -1
- package/src/api.ts +413 -0
package/lib/api.js
CHANGED
|
@@ -10444,6 +10444,106 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10444
10444
|
});
|
|
10445
10445
|
});
|
|
10446
10446
|
},
|
|
10447
|
+
/**
|
|
10448
|
+
*
|
|
10449
|
+
* @summary Get all HospitalServiceMedias.
|
|
10450
|
+
* @param {string} hospitalId
|
|
10451
|
+
* @param {string} hospitalSpecialtyId
|
|
10452
|
+
* @param {string} [id]
|
|
10453
|
+
* @param {MediaType} [mediaType]
|
|
10454
|
+
* @param {number} [page]
|
|
10455
|
+
* @param {number} [limit]
|
|
10456
|
+
* @param {Date} [lastRetrieved]
|
|
10457
|
+
* @param {*} [options] Override http request option.
|
|
10458
|
+
* @throws {RequiredError}
|
|
10459
|
+
*/
|
|
10460
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
10461
|
+
if (options === void 0) { options = {}; }
|
|
10462
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10463
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10464
|
+
return __generator(this, function (_a) {
|
|
10465
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10466
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId);
|
|
10467
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
10468
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
10469
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
|
|
10470
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10471
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
10472
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10473
|
+
if (configuration) {
|
|
10474
|
+
baseOptions = configuration.baseOptions;
|
|
10475
|
+
}
|
|
10476
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10477
|
+
localVarHeaderParameter = {};
|
|
10478
|
+
localVarQueryParameter = {};
|
|
10479
|
+
if (id !== undefined) {
|
|
10480
|
+
localVarQueryParameter['Id'] = id;
|
|
10481
|
+
}
|
|
10482
|
+
if (mediaType !== undefined) {
|
|
10483
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
10484
|
+
}
|
|
10485
|
+
if (page !== undefined) {
|
|
10486
|
+
localVarQueryParameter['page'] = page;
|
|
10487
|
+
}
|
|
10488
|
+
if (limit !== undefined) {
|
|
10489
|
+
localVarQueryParameter['limit'] = limit;
|
|
10490
|
+
}
|
|
10491
|
+
if (lastRetrieved !== undefined) {
|
|
10492
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10493
|
+
lastRetrieved.toISOString() :
|
|
10494
|
+
lastRetrieved;
|
|
10495
|
+
}
|
|
10496
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10497
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10498
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10499
|
+
return [2 /*return*/, {
|
|
10500
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10501
|
+
options: localVarRequestOptions,
|
|
10502
|
+
}];
|
|
10503
|
+
});
|
|
10504
|
+
});
|
|
10505
|
+
},
|
|
10506
|
+
/**
|
|
10507
|
+
*
|
|
10508
|
+
* @summary Get HospitalServiceMedia.
|
|
10509
|
+
* @param {string} hospitalId
|
|
10510
|
+
* @param {string} hospitalSpecialtyId
|
|
10511
|
+
* @param {string} mediaId
|
|
10512
|
+
* @param {*} [options] Override http request option.
|
|
10513
|
+
* @throws {RequiredError}
|
|
10514
|
+
*/
|
|
10515
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
10516
|
+
if (options === void 0) { options = {}; }
|
|
10517
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10518
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10519
|
+
return __generator(this, function (_a) {
|
|
10520
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10521
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId);
|
|
10522
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
10523
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
10524
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
10525
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
10526
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
|
|
10527
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10528
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)))
|
|
10529
|
+
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
10530
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10531
|
+
if (configuration) {
|
|
10532
|
+
baseOptions = configuration.baseOptions;
|
|
10533
|
+
}
|
|
10534
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10535
|
+
localVarHeaderParameter = {};
|
|
10536
|
+
localVarQueryParameter = {};
|
|
10537
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10538
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10539
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10540
|
+
return [2 /*return*/, {
|
|
10541
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10542
|
+
options: localVarRequestOptions,
|
|
10543
|
+
}];
|
|
10544
|
+
});
|
|
10545
|
+
});
|
|
10546
|
+
},
|
|
10447
10547
|
/**
|
|
10448
10548
|
*
|
|
10449
10549
|
* @summary Get all HospitalSpecialties.
|
|
@@ -11485,6 +11585,54 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11485
11585
|
});
|
|
11486
11586
|
});
|
|
11487
11587
|
},
|
|
11588
|
+
/**
|
|
11589
|
+
*
|
|
11590
|
+
* @summary Get all HospitalServiceMedias.
|
|
11591
|
+
* @param {string} hospitalId
|
|
11592
|
+
* @param {string} hospitalSpecialtyId
|
|
11593
|
+
* @param {string} [id]
|
|
11594
|
+
* @param {MediaType} [mediaType]
|
|
11595
|
+
* @param {number} [page]
|
|
11596
|
+
* @param {number} [limit]
|
|
11597
|
+
* @param {Date} [lastRetrieved]
|
|
11598
|
+
* @param {*} [options] Override http request option.
|
|
11599
|
+
* @throws {RequiredError}
|
|
11600
|
+
*/
|
|
11601
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
11602
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11603
|
+
var localVarAxiosArgs;
|
|
11604
|
+
return __generator(this, function (_a) {
|
|
11605
|
+
switch (_a.label) {
|
|
11606
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
11607
|
+
case 1:
|
|
11608
|
+
localVarAxiosArgs = _a.sent();
|
|
11609
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11610
|
+
}
|
|
11611
|
+
});
|
|
11612
|
+
});
|
|
11613
|
+
},
|
|
11614
|
+
/**
|
|
11615
|
+
*
|
|
11616
|
+
* @summary Get HospitalServiceMedia.
|
|
11617
|
+
* @param {string} hospitalId
|
|
11618
|
+
* @param {string} hospitalSpecialtyId
|
|
11619
|
+
* @param {string} mediaId
|
|
11620
|
+
* @param {*} [options] Override http request option.
|
|
11621
|
+
* @throws {RequiredError}
|
|
11622
|
+
*/
|
|
11623
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
11624
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11625
|
+
var localVarAxiosArgs;
|
|
11626
|
+
return __generator(this, function (_a) {
|
|
11627
|
+
switch (_a.label) {
|
|
11628
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options)];
|
|
11629
|
+
case 1:
|
|
11630
|
+
localVarAxiosArgs = _a.sent();
|
|
11631
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11632
|
+
}
|
|
11633
|
+
});
|
|
11634
|
+
});
|
|
11635
|
+
},
|
|
11488
11636
|
/**
|
|
11489
11637
|
*
|
|
11490
11638
|
* @summary Get all HospitalSpecialties.
|
|
@@ -11997,6 +12145,34 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11997
12145
|
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11998
12146
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11999
12147
|
},
|
|
12148
|
+
/**
|
|
12149
|
+
*
|
|
12150
|
+
* @summary Get all HospitalServiceMedias.
|
|
12151
|
+
* @param {string} hospitalId
|
|
12152
|
+
* @param {string} hospitalSpecialtyId
|
|
12153
|
+
* @param {string} [id]
|
|
12154
|
+
* @param {MediaType} [mediaType]
|
|
12155
|
+
* @param {number} [page]
|
|
12156
|
+
* @param {number} [limit]
|
|
12157
|
+
* @param {Date} [lastRetrieved]
|
|
12158
|
+
* @param {*} [options] Override http request option.
|
|
12159
|
+
* @throws {RequiredError}
|
|
12160
|
+
*/
|
|
12161
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
12162
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12163
|
+
},
|
|
12164
|
+
/**
|
|
12165
|
+
*
|
|
12166
|
+
* @summary Get HospitalServiceMedia.
|
|
12167
|
+
* @param {string} hospitalId
|
|
12168
|
+
* @param {string} hospitalSpecialtyId
|
|
12169
|
+
* @param {string} mediaId
|
|
12170
|
+
* @param {*} [options] Override http request option.
|
|
12171
|
+
* @throws {RequiredError}
|
|
12172
|
+
*/
|
|
12173
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
12174
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
12175
|
+
},
|
|
12000
12176
|
/**
|
|
12001
12177
|
*
|
|
12002
12178
|
* @summary Get all HospitalSpecialties.
|
|
@@ -12443,6 +12619,38 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12443
12619
|
var _this = this;
|
|
12444
12620
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12445
12621
|
};
|
|
12622
|
+
/**
|
|
12623
|
+
*
|
|
12624
|
+
* @summary Get all HospitalServiceMedias.
|
|
12625
|
+
* @param {string} hospitalId
|
|
12626
|
+
* @param {string} hospitalSpecialtyId
|
|
12627
|
+
* @param {string} [id]
|
|
12628
|
+
* @param {MediaType} [mediaType]
|
|
12629
|
+
* @param {number} [page]
|
|
12630
|
+
* @param {number} [limit]
|
|
12631
|
+
* @param {Date} [lastRetrieved]
|
|
12632
|
+
* @param {*} [options] Override http request option.
|
|
12633
|
+
* @throws {RequiredError}
|
|
12634
|
+
* @memberof HospitalsApi
|
|
12635
|
+
*/
|
|
12636
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet = function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
12637
|
+
var _this = this;
|
|
12638
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12639
|
+
};
|
|
12640
|
+
/**
|
|
12641
|
+
*
|
|
12642
|
+
* @summary Get HospitalServiceMedia.
|
|
12643
|
+
* @param {string} hospitalId
|
|
12644
|
+
* @param {string} hospitalSpecialtyId
|
|
12645
|
+
* @param {string} mediaId
|
|
12646
|
+
* @param {*} [options] Override http request option.
|
|
12647
|
+
* @throws {RequiredError}
|
|
12648
|
+
* @memberof HospitalsApi
|
|
12649
|
+
*/
|
|
12650
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
12651
|
+
var _this = this;
|
|
12652
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12653
|
+
};
|
|
12446
12654
|
/**
|
|
12447
12655
|
*
|
|
12448
12656
|
* @summary Get all HospitalSpecialties.
|
|
@@ -17618,6 +17826,87 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
17618
17826
|
});
|
|
17619
17827
|
});
|
|
17620
17828
|
},
|
|
17829
|
+
/**
|
|
17830
|
+
*
|
|
17831
|
+
* @summary Get all Specialties Simple.
|
|
17832
|
+
* @param {string} [id]
|
|
17833
|
+
* @param {string} [name]
|
|
17834
|
+
* @param {string} [description]
|
|
17835
|
+
* @param {string} [specialtyTypeId]
|
|
17836
|
+
* @param {string} [hospitalId]
|
|
17837
|
+
* @param {Date} [created]
|
|
17838
|
+
* @param {string} [languageCode]
|
|
17839
|
+
* @param {Array<string>} [ids]
|
|
17840
|
+
* @param {boolean} [returnDefaultValue]
|
|
17841
|
+
* @param {number} [page]
|
|
17842
|
+
* @param {number} [limit]
|
|
17843
|
+
* @param {Date} [lastRetrieved]
|
|
17844
|
+
* @param {*} [options] Override http request option.
|
|
17845
|
+
* @throws {RequiredError}
|
|
17846
|
+
*/
|
|
17847
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17848
|
+
if (options === void 0) { options = {}; }
|
|
17849
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
17850
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17851
|
+
return __generator(this, function (_a) {
|
|
17852
|
+
localVarPath = "/api/v2/specialties/simple";
|
|
17853
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17854
|
+
if (configuration) {
|
|
17855
|
+
baseOptions = configuration.baseOptions;
|
|
17856
|
+
}
|
|
17857
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17858
|
+
localVarHeaderParameter = {};
|
|
17859
|
+
localVarQueryParameter = {};
|
|
17860
|
+
if (id !== undefined) {
|
|
17861
|
+
localVarQueryParameter['Id'] = id;
|
|
17862
|
+
}
|
|
17863
|
+
if (name !== undefined) {
|
|
17864
|
+
localVarQueryParameter['Name'] = name;
|
|
17865
|
+
}
|
|
17866
|
+
if (description !== undefined) {
|
|
17867
|
+
localVarQueryParameter['Description'] = description;
|
|
17868
|
+
}
|
|
17869
|
+
if (specialtyTypeId !== undefined) {
|
|
17870
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
17871
|
+
}
|
|
17872
|
+
if (hospitalId !== undefined) {
|
|
17873
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17874
|
+
}
|
|
17875
|
+
if (created !== undefined) {
|
|
17876
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
17877
|
+
created.toISOString() :
|
|
17878
|
+
created;
|
|
17879
|
+
}
|
|
17880
|
+
if (languageCode !== undefined) {
|
|
17881
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17882
|
+
}
|
|
17883
|
+
if (ids) {
|
|
17884
|
+
localVarQueryParameter['Ids'] = ids;
|
|
17885
|
+
}
|
|
17886
|
+
if (returnDefaultValue !== undefined) {
|
|
17887
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17888
|
+
}
|
|
17889
|
+
if (page !== undefined) {
|
|
17890
|
+
localVarQueryParameter['page'] = page;
|
|
17891
|
+
}
|
|
17892
|
+
if (limit !== undefined) {
|
|
17893
|
+
localVarQueryParameter['limit'] = limit;
|
|
17894
|
+
}
|
|
17895
|
+
if (lastRetrieved !== undefined) {
|
|
17896
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
17897
|
+
lastRetrieved.toISOString() :
|
|
17898
|
+
lastRetrieved;
|
|
17899
|
+
}
|
|
17900
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17901
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17902
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17903
|
+
return [2 /*return*/, {
|
|
17904
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17905
|
+
options: localVarRequestOptions,
|
|
17906
|
+
}];
|
|
17907
|
+
});
|
|
17908
|
+
});
|
|
17909
|
+
},
|
|
17621
17910
|
/**
|
|
17622
17911
|
*
|
|
17623
17912
|
* @param {string} slug
|
|
@@ -17831,6 +18120,37 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
17831
18120
|
});
|
|
17832
18121
|
});
|
|
17833
18122
|
},
|
|
18123
|
+
/**
|
|
18124
|
+
*
|
|
18125
|
+
* @summary Get all Specialties Simple.
|
|
18126
|
+
* @param {string} [id]
|
|
18127
|
+
* @param {string} [name]
|
|
18128
|
+
* @param {string} [description]
|
|
18129
|
+
* @param {string} [specialtyTypeId]
|
|
18130
|
+
* @param {string} [hospitalId]
|
|
18131
|
+
* @param {Date} [created]
|
|
18132
|
+
* @param {string} [languageCode]
|
|
18133
|
+
* @param {Array<string>} [ids]
|
|
18134
|
+
* @param {boolean} [returnDefaultValue]
|
|
18135
|
+
* @param {number} [page]
|
|
18136
|
+
* @param {number} [limit]
|
|
18137
|
+
* @param {Date} [lastRetrieved]
|
|
18138
|
+
* @param {*} [options] Override http request option.
|
|
18139
|
+
* @throws {RequiredError}
|
|
18140
|
+
*/
|
|
18141
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18142
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18143
|
+
var localVarAxiosArgs;
|
|
18144
|
+
return __generator(this, function (_a) {
|
|
18145
|
+
switch (_a.label) {
|
|
18146
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18147
|
+
case 1:
|
|
18148
|
+
localVarAxiosArgs = _a.sent();
|
|
18149
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18150
|
+
}
|
|
18151
|
+
});
|
|
18152
|
+
});
|
|
18153
|
+
},
|
|
17834
18154
|
/**
|
|
17835
18155
|
*
|
|
17836
18156
|
* @param {string} slug
|
|
@@ -17950,6 +18270,27 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
17950
18270
|
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17951
18271
|
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17952
18272
|
},
|
|
18273
|
+
/**
|
|
18274
|
+
*
|
|
18275
|
+
* @summary Get all Specialties Simple.
|
|
18276
|
+
* @param {string} [id]
|
|
18277
|
+
* @param {string} [name]
|
|
18278
|
+
* @param {string} [description]
|
|
18279
|
+
* @param {string} [specialtyTypeId]
|
|
18280
|
+
* @param {string} [hospitalId]
|
|
18281
|
+
* @param {Date} [created]
|
|
18282
|
+
* @param {string} [languageCode]
|
|
18283
|
+
* @param {Array<string>} [ids]
|
|
18284
|
+
* @param {boolean} [returnDefaultValue]
|
|
18285
|
+
* @param {number} [page]
|
|
18286
|
+
* @param {number} [limit]
|
|
18287
|
+
* @param {Date} [lastRetrieved]
|
|
18288
|
+
* @param {*} [options] Override http request option.
|
|
18289
|
+
* @throws {RequiredError}
|
|
18290
|
+
*/
|
|
18291
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18292
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18293
|
+
},
|
|
17953
18294
|
/**
|
|
17954
18295
|
*
|
|
17955
18296
|
* @param {string} slug
|
|
@@ -18035,6 +18376,29 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18035
18376
|
var _this = this;
|
|
18036
18377
|
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18037
18378
|
};
|
|
18379
|
+
/**
|
|
18380
|
+
*
|
|
18381
|
+
* @summary Get all Specialties Simple.
|
|
18382
|
+
* @param {string} [id]
|
|
18383
|
+
* @param {string} [name]
|
|
18384
|
+
* @param {string} [description]
|
|
18385
|
+
* @param {string} [specialtyTypeId]
|
|
18386
|
+
* @param {string} [hospitalId]
|
|
18387
|
+
* @param {Date} [created]
|
|
18388
|
+
* @param {string} [languageCode]
|
|
18389
|
+
* @param {Array<string>} [ids]
|
|
18390
|
+
* @param {boolean} [returnDefaultValue]
|
|
18391
|
+
* @param {number} [page]
|
|
18392
|
+
* @param {number} [limit]
|
|
18393
|
+
* @param {Date} [lastRetrieved]
|
|
18394
|
+
* @param {*} [options] Override http request option.
|
|
18395
|
+
* @throws {RequiredError}
|
|
18396
|
+
* @memberof SpecialtiesApi
|
|
18397
|
+
*/
|
|
18398
|
+
SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18399
|
+
var _this = this;
|
|
18400
|
+
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18401
|
+
};
|
|
18038
18402
|
/**
|
|
18039
18403
|
*
|
|
18040
18404
|
* @param {string} slug
|