ch-api-client-typescript2 3.3.5 → 3.4.1
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 +426 -894
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +42 -105
- package/package.json +1 -1
- package/src/api.ts +456 -960
package/lib/api.js
CHANGED
|
@@ -6260,13 +6260,14 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6260
6260
|
* @summary Get all doctor affiliations.
|
|
6261
6261
|
* @param {string} doctorId
|
|
6262
6262
|
* @param {string} [hospitalName]
|
|
6263
|
+
* @param {string} [languageCode]
|
|
6263
6264
|
* @param {number} [page]
|
|
6264
6265
|
* @param {number} [limit]
|
|
6265
6266
|
* @param {Date} [lastRetrieved]
|
|
6266
6267
|
* @param {*} [options] Override http request option.
|
|
6267
6268
|
* @throws {RequiredError}
|
|
6268
6269
|
*/
|
|
6269
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
6270
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
6270
6271
|
if (options === void 0) { options = {}; }
|
|
6271
6272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6272
6273
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6285,6 +6286,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
6285
6286
|
if (hospitalName !== undefined) {
|
|
6286
6287
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
6287
6288
|
}
|
|
6289
|
+
if (languageCode !== undefined) {
|
|
6290
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
6291
|
+
}
|
|
6288
6292
|
if (page !== undefined) {
|
|
6289
6293
|
localVarQueryParameter['page'] = page;
|
|
6290
6294
|
}
|
|
@@ -7242,18 +7246,19 @@ var DoctorsApiFp = function (configuration) {
|
|
|
7242
7246
|
* @summary Get all doctor affiliations.
|
|
7243
7247
|
* @param {string} doctorId
|
|
7244
7248
|
* @param {string} [hospitalName]
|
|
7249
|
+
* @param {string} [languageCode]
|
|
7245
7250
|
* @param {number} [page]
|
|
7246
7251
|
* @param {number} [limit]
|
|
7247
7252
|
* @param {Date} [lastRetrieved]
|
|
7248
7253
|
* @param {*} [options] Override http request option.
|
|
7249
7254
|
* @throws {RequiredError}
|
|
7250
7255
|
*/
|
|
7251
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7256
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7252
7257
|
return __awaiter(this, void 0, void 0, function () {
|
|
7253
7258
|
var localVarAxiosArgs;
|
|
7254
7259
|
return __generator(this, function (_a) {
|
|
7255
7260
|
switch (_a.label) {
|
|
7256
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
|
|
7261
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
|
|
7257
7262
|
case 1:
|
|
7258
7263
|
localVarAxiosArgs = _a.sent();
|
|
7259
7264
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7697,14 +7702,15 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7697
7702
|
* @summary Get all doctor affiliations.
|
|
7698
7703
|
* @param {string} doctorId
|
|
7699
7704
|
* @param {string} [hospitalName]
|
|
7705
|
+
* @param {string} [languageCode]
|
|
7700
7706
|
* @param {number} [page]
|
|
7701
7707
|
* @param {number} [limit]
|
|
7702
7708
|
* @param {Date} [lastRetrieved]
|
|
7703
7709
|
* @param {*} [options] Override http request option.
|
|
7704
7710
|
* @throws {RequiredError}
|
|
7705
7711
|
*/
|
|
7706
|
-
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7707
|
-
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7712
|
+
apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7713
|
+
return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7708
7714
|
},
|
|
7709
7715
|
/**
|
|
7710
7716
|
*
|
|
@@ -7976,6 +7982,7 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7976
7982
|
* @summary Get all doctor affiliations.
|
|
7977
7983
|
* @param {string} doctorId
|
|
7978
7984
|
* @param {string} [hospitalName]
|
|
7985
|
+
* @param {string} [languageCode]
|
|
7979
7986
|
* @param {number} [page]
|
|
7980
7987
|
* @param {number} [limit]
|
|
7981
7988
|
* @param {Date} [lastRetrieved]
|
|
@@ -7983,9 +7990,9 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7983
7990
|
* @throws {RequiredError}
|
|
7984
7991
|
* @memberof DoctorsApi
|
|
7985
7992
|
*/
|
|
7986
|
-
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
7993
|
+
DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
|
|
7987
7994
|
var _this = this;
|
|
7988
|
-
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7995
|
+
return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7989
7996
|
};
|
|
7990
7997
|
/**
|
|
7991
7998
|
*
|
|
@@ -10589,17 +10596,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10589
10596
|
* @param {string} [name]
|
|
10590
10597
|
* @param {string} [slug]
|
|
10591
10598
|
* @param {MarketingType} [marketingType]
|
|
10592
|
-
* @param {boolean} [returnDefaultValue]
|
|
10593
|
-
* @param {boolean} [includeServices]
|
|
10594
10599
|
* @param {string} [languageCode]
|
|
10595
|
-
* @param {boolean} [showHidden]
|
|
10596
10600
|
* @param {number} [page]
|
|
10597
10601
|
* @param {number} [limit]
|
|
10598
10602
|
* @param {Date} [lastRetrieved]
|
|
10599
10603
|
* @param {*} [options] Override http request option.
|
|
10600
10604
|
* @throws {RequiredError}
|
|
10601
10605
|
*/
|
|
10602
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
10606
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10603
10607
|
if (options === void 0) { options = {}; }
|
|
10604
10608
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10605
10609
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10639,18 +10643,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10639
10643
|
if (marketingType !== undefined) {
|
|
10640
10644
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10641
10645
|
}
|
|
10642
|
-
if (returnDefaultValue !== undefined) {
|
|
10643
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10644
|
-
}
|
|
10645
|
-
if (includeServices !== undefined) {
|
|
10646
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10647
|
-
}
|
|
10648
10646
|
if (languageCode !== undefined) {
|
|
10649
10647
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10650
10648
|
}
|
|
10651
|
-
if (showHidden !== undefined) {
|
|
10652
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10653
|
-
}
|
|
10654
10649
|
if (page !== undefined) {
|
|
10655
10650
|
localVarQueryParameter['page'] = page;
|
|
10656
10651
|
}
|
|
@@ -10784,17 +10779,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10784
10779
|
* @param {string} [name]
|
|
10785
10780
|
* @param {string} [slug]
|
|
10786
10781
|
* @param {MarketingType} [marketingType]
|
|
10787
|
-
* @param {boolean} [returnDefaultValue]
|
|
10788
|
-
* @param {boolean} [includeServices]
|
|
10789
10782
|
* @param {string} [languageCode]
|
|
10790
|
-
* @param {boolean} [showHidden]
|
|
10791
10783
|
* @param {number} [page]
|
|
10792
10784
|
* @param {number} [limit]
|
|
10793
10785
|
* @param {Date} [lastRetrieved]
|
|
10794
10786
|
* @param {*} [options] Override http request option.
|
|
10795
10787
|
* @throws {RequiredError}
|
|
10796
10788
|
*/
|
|
10797
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
10789
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10798
10790
|
if (options === void 0) { options = {}; }
|
|
10799
10791
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10800
10792
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10834,18 +10826,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10834
10826
|
if (marketingType !== undefined) {
|
|
10835
10827
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
10836
10828
|
}
|
|
10837
|
-
if (returnDefaultValue !== undefined) {
|
|
10838
|
-
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
10839
|
-
}
|
|
10840
|
-
if (includeServices !== undefined) {
|
|
10841
|
-
localVarQueryParameter['IncludeServices'] = includeServices;
|
|
10842
|
-
}
|
|
10843
10829
|
if (languageCode !== undefined) {
|
|
10844
10830
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10845
10831
|
}
|
|
10846
|
-
if (showHidden !== undefined) {
|
|
10847
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10848
|
-
}
|
|
10849
10832
|
if (page !== undefined) {
|
|
10850
10833
|
localVarQueryParameter['page'] = page;
|
|
10851
10834
|
}
|
|
@@ -10873,12 +10856,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10873
10856
|
* @param {string} hospitalId
|
|
10874
10857
|
* @param {string} slug
|
|
10875
10858
|
* @param {string} [languageCode]
|
|
10876
|
-
* @param {boolean} [returnDefaultValue]
|
|
10877
|
-
* @param {boolean} [includeServices]
|
|
10878
10859
|
* @param {*} [options] Override http request option.
|
|
10879
10860
|
* @throws {RequiredError}
|
|
10880
10861
|
*/
|
|
10881
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
10862
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
10882
10863
|
if (options === void 0) { options = {}; }
|
|
10883
10864
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10884
10865
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10900,12 +10881,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10900
10881
|
if (languageCode !== undefined) {
|
|
10901
10882
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10902
10883
|
}
|
|
10903
|
-
if (returnDefaultValue !== undefined) {
|
|
10904
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10905
|
-
}
|
|
10906
|
-
if (includeServices !== undefined) {
|
|
10907
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
10908
|
-
}
|
|
10909
10884
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10910
10885
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10911
10886
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10922,12 +10897,10 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10922
10897
|
* @param {string} hospitalId
|
|
10923
10898
|
* @param {string} specialtyId
|
|
10924
10899
|
* @param {string} [languageCode]
|
|
10925
|
-
* @param {boolean} [returnDefaultValue]
|
|
10926
|
-
* @param {boolean} [includeServices]
|
|
10927
10900
|
* @param {*} [options] Override http request option.
|
|
10928
10901
|
* @throws {RequiredError}
|
|
10929
10902
|
*/
|
|
10930
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
10903
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
10931
10904
|
if (options === void 0) { options = {}; }
|
|
10932
10905
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10933
10906
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10949,12 +10922,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10949
10922
|
if (languageCode !== undefined) {
|
|
10950
10923
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
10951
10924
|
}
|
|
10952
|
-
if (returnDefaultValue !== undefined) {
|
|
10953
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
10954
|
-
}
|
|
10955
|
-
if (includeServices !== undefined) {
|
|
10956
|
-
localVarQueryParameter['includeServices'] = includeServices;
|
|
10957
|
-
}
|
|
10958
10925
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10959
10926
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10960
10927
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -11819,22 +11786,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11819
11786
|
* @param {string} [name]
|
|
11820
11787
|
* @param {string} [slug]
|
|
11821
11788
|
* @param {MarketingType} [marketingType]
|
|
11822
|
-
* @param {boolean} [returnDefaultValue]
|
|
11823
|
-
* @param {boolean} [includeServices]
|
|
11824
11789
|
* @param {string} [languageCode]
|
|
11825
|
-
* @param {boolean} [showHidden]
|
|
11826
11790
|
* @param {number} [page]
|
|
11827
11791
|
* @param {number} [limit]
|
|
11828
11792
|
* @param {Date} [lastRetrieved]
|
|
11829
11793
|
* @param {*} [options] Override http request option.
|
|
11830
11794
|
* @throws {RequiredError}
|
|
11831
11795
|
*/
|
|
11832
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11796
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11833
11797
|
return __awaiter(this, void 0, void 0, function () {
|
|
11834
11798
|
var localVarAxiosArgs;
|
|
11835
11799
|
return __generator(this, function (_a) {
|
|
11836
11800
|
switch (_a.label) {
|
|
11837
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11801
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
11838
11802
|
case 1:
|
|
11839
11803
|
localVarAxiosArgs = _a.sent();
|
|
11840
11804
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11902,22 +11866,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11902
11866
|
* @param {string} [name]
|
|
11903
11867
|
* @param {string} [slug]
|
|
11904
11868
|
* @param {MarketingType} [marketingType]
|
|
11905
|
-
* @param {boolean} [returnDefaultValue]
|
|
11906
|
-
* @param {boolean} [includeServices]
|
|
11907
11869
|
* @param {string} [languageCode]
|
|
11908
|
-
* @param {boolean} [showHidden]
|
|
11909
11870
|
* @param {number} [page]
|
|
11910
11871
|
* @param {number} [limit]
|
|
11911
11872
|
* @param {Date} [lastRetrieved]
|
|
11912
11873
|
* @param {*} [options] Override http request option.
|
|
11913
11874
|
* @throws {RequiredError}
|
|
11914
11875
|
*/
|
|
11915
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11876
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11916
11877
|
return __awaiter(this, void 0, void 0, function () {
|
|
11917
11878
|
var localVarAxiosArgs;
|
|
11918
11879
|
return __generator(this, function (_a) {
|
|
11919
11880
|
switch (_a.label) {
|
|
11920
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
11881
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
11921
11882
|
case 1:
|
|
11922
11883
|
localVarAxiosArgs = _a.sent();
|
|
11923
11884
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11931,17 +11892,15 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11931
11892
|
* @param {string} hospitalId
|
|
11932
11893
|
* @param {string} slug
|
|
11933
11894
|
* @param {string} [languageCode]
|
|
11934
|
-
* @param {boolean} [returnDefaultValue]
|
|
11935
|
-
* @param {boolean} [includeServices]
|
|
11936
11895
|
* @param {*} [options] Override http request option.
|
|
11937
11896
|
* @throws {RequiredError}
|
|
11938
11897
|
*/
|
|
11939
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
11898
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
11940
11899
|
return __awaiter(this, void 0, void 0, function () {
|
|
11941
11900
|
var localVarAxiosArgs;
|
|
11942
11901
|
return __generator(this, function (_a) {
|
|
11943
11902
|
switch (_a.label) {
|
|
11944
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
11903
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options)];
|
|
11945
11904
|
case 1:
|
|
11946
11905
|
localVarAxiosArgs = _a.sent();
|
|
11947
11906
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11955,17 +11914,15 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11955
11914
|
* @param {string} hospitalId
|
|
11956
11915
|
* @param {string} specialtyId
|
|
11957
11916
|
* @param {string} [languageCode]
|
|
11958
|
-
* @param {boolean} [returnDefaultValue]
|
|
11959
|
-
* @param {boolean} [includeServices]
|
|
11960
11917
|
* @param {*} [options] Override http request option.
|
|
11961
11918
|
* @throws {RequiredError}
|
|
11962
11919
|
*/
|
|
11963
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
11920
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
11964
11921
|
return __awaiter(this, void 0, void 0, function () {
|
|
11965
11922
|
var localVarAxiosArgs;
|
|
11966
11923
|
return __generator(this, function (_a) {
|
|
11967
11924
|
switch (_a.label) {
|
|
11968
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
11925
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options)];
|
|
11969
11926
|
case 1:
|
|
11970
11927
|
localVarAxiosArgs = _a.sent();
|
|
11971
11928
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12408,18 +12365,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12408
12365
|
* @param {string} [name]
|
|
12409
12366
|
* @param {string} [slug]
|
|
12410
12367
|
* @param {MarketingType} [marketingType]
|
|
12411
|
-
* @param {boolean} [returnDefaultValue]
|
|
12412
|
-
* @param {boolean} [includeServices]
|
|
12413
12368
|
* @param {string} [languageCode]
|
|
12414
|
-
* @param {boolean} [showHidden]
|
|
12415
12369
|
* @param {number} [page]
|
|
12416
12370
|
* @param {number} [limit]
|
|
12417
12371
|
* @param {Date} [lastRetrieved]
|
|
12418
12372
|
* @param {*} [options] Override http request option.
|
|
12419
12373
|
* @throws {RequiredError}
|
|
12420
12374
|
*/
|
|
12421
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12422
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12375
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12376
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12423
12377
|
},
|
|
12424
12378
|
/**
|
|
12425
12379
|
*
|
|
@@ -12461,18 +12415,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12461
12415
|
* @param {string} [name]
|
|
12462
12416
|
* @param {string} [slug]
|
|
12463
12417
|
* @param {MarketingType} [marketingType]
|
|
12464
|
-
* @param {boolean} [returnDefaultValue]
|
|
12465
|
-
* @param {boolean} [includeServices]
|
|
12466
12418
|
* @param {string} [languageCode]
|
|
12467
|
-
* @param {boolean} [showHidden]
|
|
12468
12419
|
* @param {number} [page]
|
|
12469
12420
|
* @param {number} [limit]
|
|
12470
12421
|
* @param {Date} [lastRetrieved]
|
|
12471
12422
|
* @param {*} [options] Override http request option.
|
|
12472
12423
|
* @throws {RequiredError}
|
|
12473
12424
|
*/
|
|
12474
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12475
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12425
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12426
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12476
12427
|
},
|
|
12477
12428
|
/**
|
|
12478
12429
|
*
|
|
@@ -12480,13 +12431,11 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12480
12431
|
* @param {string} hospitalId
|
|
12481
12432
|
* @param {string} slug
|
|
12482
12433
|
* @param {string} [languageCode]
|
|
12483
|
-
* @param {boolean} [returnDefaultValue]
|
|
12484
|
-
* @param {boolean} [includeServices]
|
|
12485
12434
|
* @param {*} [options] Override http request option.
|
|
12486
12435
|
* @throws {RequiredError}
|
|
12487
12436
|
*/
|
|
12488
|
-
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode,
|
|
12489
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
12437
|
+
apiV2HospitalsHospitalIdSpecialtiesSlugGet: function (hospitalId, slug, languageCode, options) {
|
|
12438
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12490
12439
|
},
|
|
12491
12440
|
/**
|
|
12492
12441
|
*
|
|
@@ -12494,13 +12443,11 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12494
12443
|
* @param {string} hospitalId
|
|
12495
12444
|
* @param {string} specialtyId
|
|
12496
12445
|
* @param {string} [languageCode]
|
|
12497
|
-
* @param {boolean} [returnDefaultValue]
|
|
12498
|
-
* @param {boolean} [includeServices]
|
|
12499
12446
|
* @param {*} [options] Override http request option.
|
|
12500
12447
|
* @throws {RequiredError}
|
|
12501
12448
|
*/
|
|
12502
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode,
|
|
12503
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
12449
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, options) {
|
|
12450
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
12504
12451
|
},
|
|
12505
12452
|
/**
|
|
12506
12453
|
*
|
|
@@ -12889,10 +12836,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12889
12836
|
* @param {string} [name]
|
|
12890
12837
|
* @param {string} [slug]
|
|
12891
12838
|
* @param {MarketingType} [marketingType]
|
|
12892
|
-
* @param {boolean} [returnDefaultValue]
|
|
12893
|
-
* @param {boolean} [includeServices]
|
|
12894
12839
|
* @param {string} [languageCode]
|
|
12895
|
-
* @param {boolean} [showHidden]
|
|
12896
12840
|
* @param {number} [page]
|
|
12897
12841
|
* @param {number} [limit]
|
|
12898
12842
|
* @param {Date} [lastRetrieved]
|
|
@@ -12900,9 +12844,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12900
12844
|
* @throws {RequiredError}
|
|
12901
12845
|
* @memberof HospitalsApi
|
|
12902
12846
|
*/
|
|
12903
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12847
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12904
12848
|
var _this = this;
|
|
12905
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12849
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12906
12850
|
};
|
|
12907
12851
|
/**
|
|
12908
12852
|
*
|
|
@@ -12948,10 +12892,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12948
12892
|
* @param {string} [name]
|
|
12949
12893
|
* @param {string} [slug]
|
|
12950
12894
|
* @param {MarketingType} [marketingType]
|
|
12951
|
-
* @param {boolean} [returnDefaultValue]
|
|
12952
|
-
* @param {boolean} [includeServices]
|
|
12953
12895
|
* @param {string} [languageCode]
|
|
12954
|
-
* @param {boolean} [showHidden]
|
|
12955
12896
|
* @param {number} [page]
|
|
12956
12897
|
* @param {number} [limit]
|
|
12957
12898
|
* @param {Date} [lastRetrieved]
|
|
@@ -12959,9 +12900,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12959
12900
|
* @throws {RequiredError}
|
|
12960
12901
|
* @memberof HospitalsApi
|
|
12961
12902
|
*/
|
|
12962
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12903
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12963
12904
|
var _this = this;
|
|
12964
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType,
|
|
12905
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12965
12906
|
};
|
|
12966
12907
|
/**
|
|
12967
12908
|
*
|
|
@@ -12969,15 +12910,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12969
12910
|
* @param {string} hospitalId
|
|
12970
12911
|
* @param {string} slug
|
|
12971
12912
|
* @param {string} [languageCode]
|
|
12972
|
-
* @param {boolean} [returnDefaultValue]
|
|
12973
|
-
* @param {boolean} [includeServices]
|
|
12974
12913
|
* @param {*} [options] Override http request option.
|
|
12975
12914
|
* @throws {RequiredError}
|
|
12976
12915
|
* @memberof HospitalsApi
|
|
12977
12916
|
*/
|
|
12978
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode,
|
|
12917
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSlugGet = function (hospitalId, slug, languageCode, options) {
|
|
12979
12918
|
var _this = this;
|
|
12980
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode,
|
|
12919
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSlugGet(hospitalId, slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12981
12920
|
};
|
|
12982
12921
|
/**
|
|
12983
12922
|
*
|
|
@@ -12985,15 +12924,13 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12985
12924
|
* @param {string} hospitalId
|
|
12986
12925
|
* @param {string} specialtyId
|
|
12987
12926
|
* @param {string} [languageCode]
|
|
12988
|
-
* @param {boolean} [returnDefaultValue]
|
|
12989
|
-
* @param {boolean} [includeServices]
|
|
12990
12927
|
* @param {*} [options] Override http request option.
|
|
12991
12928
|
* @throws {RequiredError}
|
|
12992
12929
|
* @memberof HospitalsApi
|
|
12993
12930
|
*/
|
|
12994
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode,
|
|
12931
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, options) {
|
|
12995
12932
|
var _this = this;
|
|
12996
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode,
|
|
12933
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12997
12934
|
};
|
|
12998
12935
|
/**
|
|
12999
12936
|
*
|