ch-api-client-typescript2 2.7.6 → 2.7.8
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 +85 -27
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +48 -22
- package/package.json +1 -1
- package/src/api.ts +109 -37
package/lib/api.js
CHANGED
|
@@ -9565,14 +9565,16 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9565
9565
|
* @param {string} [specialtyTypeId]
|
|
9566
9566
|
* @param {string} [title]
|
|
9567
9567
|
* @param {MarketingType} [marketingType]
|
|
9568
|
-
* @param {
|
|
9568
|
+
* @param {string} [languageCode]
|
|
9569
|
+
* @param {boolean} [showHidden]
|
|
9570
|
+
* @param {boolean} [returnDefaultValue]
|
|
9569
9571
|
* @param {number} [page]
|
|
9570
9572
|
* @param {number} [limit]
|
|
9571
9573
|
* @param {Date} [lastRetrieved]
|
|
9572
9574
|
* @param {*} [options] Override http request option.
|
|
9573
9575
|
* @throws {RequiredError}
|
|
9574
9576
|
*/
|
|
9575
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
9577
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9576
9578
|
if (options === void 0) { options = {}; }
|
|
9577
9579
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9578
9580
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9609,10 +9611,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9609
9611
|
if (marketingType !== undefined) {
|
|
9610
9612
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
9611
9613
|
}
|
|
9612
|
-
if (
|
|
9613
|
-
localVarQueryParameter['
|
|
9614
|
-
|
|
9615
|
-
|
|
9614
|
+
if (languageCode !== undefined) {
|
|
9615
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9616
|
+
}
|
|
9617
|
+
if (showHidden !== undefined) {
|
|
9618
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9619
|
+
}
|
|
9620
|
+
if (returnDefaultValue !== undefined) {
|
|
9621
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9616
9622
|
}
|
|
9617
9623
|
if (page !== undefined) {
|
|
9618
9624
|
localVarQueryParameter['page'] = page;
|
|
@@ -9640,10 +9646,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9640
9646
|
* @summary Get HospitalSpecialty.
|
|
9641
9647
|
* @param {string} hospitalId
|
|
9642
9648
|
* @param {string} specialtyId
|
|
9649
|
+
* @param {string} [languageCode]
|
|
9650
|
+
* @param {boolean} [returnDefaultValue]
|
|
9643
9651
|
* @param {*} [options] Override http request option.
|
|
9644
9652
|
* @throws {RequiredError}
|
|
9645
9653
|
*/
|
|
9646
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
9654
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
9647
9655
|
if (options === void 0) { options = {}; }
|
|
9648
9656
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9649
9657
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9662,6 +9670,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9662
9670
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9663
9671
|
localVarHeaderParameter = {};
|
|
9664
9672
|
localVarQueryParameter = {};
|
|
9673
|
+
if (languageCode !== undefined) {
|
|
9674
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9675
|
+
}
|
|
9676
|
+
if (returnDefaultValue !== undefined) {
|
|
9677
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9678
|
+
}
|
|
9665
9679
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9666
9680
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9667
9681
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10389,19 +10403,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10389
10403
|
* @param {string} [specialtyTypeId]
|
|
10390
10404
|
* @param {string} [title]
|
|
10391
10405
|
* @param {MarketingType} [marketingType]
|
|
10392
|
-
* @param {
|
|
10406
|
+
* @param {string} [languageCode]
|
|
10407
|
+
* @param {boolean} [showHidden]
|
|
10408
|
+
* @param {boolean} [returnDefaultValue]
|
|
10393
10409
|
* @param {number} [page]
|
|
10394
10410
|
* @param {number} [limit]
|
|
10395
10411
|
* @param {Date} [lastRetrieved]
|
|
10396
10412
|
* @param {*} [options] Override http request option.
|
|
10397
10413
|
* @throws {RequiredError}
|
|
10398
10414
|
*/
|
|
10399
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10415
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10400
10416
|
return __awaiter(this, void 0, void 0, function () {
|
|
10401
10417
|
var localVarAxiosArgs;
|
|
10402
10418
|
return __generator(this, function (_a) {
|
|
10403
10419
|
switch (_a.label) {
|
|
10404
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10420
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10405
10421
|
case 1:
|
|
10406
10422
|
localVarAxiosArgs = _a.sent();
|
|
10407
10423
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10414,15 +10430,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10414
10430
|
* @summary Get HospitalSpecialty.
|
|
10415
10431
|
* @param {string} hospitalId
|
|
10416
10432
|
* @param {string} specialtyId
|
|
10433
|
+
* @param {string} [languageCode]
|
|
10434
|
+
* @param {boolean} [returnDefaultValue]
|
|
10417
10435
|
* @param {*} [options] Override http request option.
|
|
10418
10436
|
* @throws {RequiredError}
|
|
10419
10437
|
*/
|
|
10420
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10438
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
10421
10439
|
return __awaiter(this, void 0, void 0, function () {
|
|
10422
10440
|
var localVarAxiosArgs;
|
|
10423
10441
|
return __generator(this, function (_a) {
|
|
10424
10442
|
switch (_a.label) {
|
|
10425
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
10443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
10426
10444
|
case 1:
|
|
10427
10445
|
localVarAxiosArgs = _a.sent();
|
|
10428
10446
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10792,26 +10810,30 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10792
10810
|
* @param {string} [specialtyTypeId]
|
|
10793
10811
|
* @param {string} [title]
|
|
10794
10812
|
* @param {MarketingType} [marketingType]
|
|
10795
|
-
* @param {
|
|
10813
|
+
* @param {string} [languageCode]
|
|
10814
|
+
* @param {boolean} [showHidden]
|
|
10815
|
+
* @param {boolean} [returnDefaultValue]
|
|
10796
10816
|
* @param {number} [page]
|
|
10797
10817
|
* @param {number} [limit]
|
|
10798
10818
|
* @param {Date} [lastRetrieved]
|
|
10799
10819
|
* @param {*} [options] Override http request option.
|
|
10800
10820
|
* @throws {RequiredError}
|
|
10801
10821
|
*/
|
|
10802
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10803
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10822
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10823
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10804
10824
|
},
|
|
10805
10825
|
/**
|
|
10806
10826
|
*
|
|
10807
10827
|
* @summary Get HospitalSpecialty.
|
|
10808
10828
|
* @param {string} hospitalId
|
|
10809
10829
|
* @param {string} specialtyId
|
|
10830
|
+
* @param {string} [languageCode]
|
|
10831
|
+
* @param {boolean} [returnDefaultValue]
|
|
10810
10832
|
* @param {*} [options] Override http request option.
|
|
10811
10833
|
* @throws {RequiredError}
|
|
10812
10834
|
*/
|
|
10813
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10814
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
10835
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
10836
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10815
10837
|
},
|
|
10816
10838
|
/**
|
|
10817
10839
|
*
|
|
@@ -11143,7 +11165,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11143
11165
|
* @param {string} [specialtyTypeId]
|
|
11144
11166
|
* @param {string} [title]
|
|
11145
11167
|
* @param {MarketingType} [marketingType]
|
|
11146
|
-
* @param {
|
|
11168
|
+
* @param {string} [languageCode]
|
|
11169
|
+
* @param {boolean} [showHidden]
|
|
11170
|
+
* @param {boolean} [returnDefaultValue]
|
|
11147
11171
|
* @param {number} [page]
|
|
11148
11172
|
* @param {number} [limit]
|
|
11149
11173
|
* @param {Date} [lastRetrieved]
|
|
@@ -11151,22 +11175,24 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11151
11175
|
* @throws {RequiredError}
|
|
11152
11176
|
* @memberof HospitalsApi
|
|
11153
11177
|
*/
|
|
11154
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
11178
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11155
11179
|
var _this = this;
|
|
11156
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
11180
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11157
11181
|
};
|
|
11158
11182
|
/**
|
|
11159
11183
|
*
|
|
11160
11184
|
* @summary Get HospitalSpecialty.
|
|
11161
11185
|
* @param {string} hospitalId
|
|
11162
11186
|
* @param {string} specialtyId
|
|
11187
|
+
* @param {string} [languageCode]
|
|
11188
|
+
* @param {boolean} [returnDefaultValue]
|
|
11163
11189
|
* @param {*} [options] Override http request option.
|
|
11164
11190
|
* @throws {RequiredError}
|
|
11165
11191
|
* @memberof HospitalsApi
|
|
11166
11192
|
*/
|
|
11167
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
11193
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
11168
11194
|
var _this = this;
|
|
11169
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11195
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11170
11196
|
};
|
|
11171
11197
|
/**
|
|
11172
11198
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -5871,6 +5871,12 @@ export interface HospitalSpecialtiesModel {
|
|
|
5871
5871
|
* @interface HospitalSpecialtyItemModel
|
|
5872
5872
|
*/
|
|
5873
5873
|
export interface HospitalSpecialtyItemModel {
|
|
5874
|
+
/**
|
|
5875
|
+
*
|
|
5876
|
+
* @type {string}
|
|
5877
|
+
* @memberof HospitalSpecialtyItemModel
|
|
5878
|
+
*/
|
|
5879
|
+
'id'?: string;
|
|
5874
5880
|
/**
|
|
5875
5881
|
*
|
|
5876
5882
|
* @type {string}
|
|
@@ -5921,16 +5927,16 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5921
5927
|
'marketingType'?: MarketingType;
|
|
5922
5928
|
/**
|
|
5923
5929
|
*
|
|
5924
|
-
* @type {
|
|
5930
|
+
* @type {string}
|
|
5925
5931
|
* @memberof HospitalSpecialtyItemModel
|
|
5926
5932
|
*/
|
|
5927
|
-
'
|
|
5933
|
+
'title'?: string | null;
|
|
5928
5934
|
/**
|
|
5929
5935
|
*
|
|
5930
5936
|
* @type {string}
|
|
5931
5937
|
* @memberof HospitalSpecialtyItemModel
|
|
5932
5938
|
*/
|
|
5933
|
-
'
|
|
5939
|
+
'normalizedTitle'?: string | null;
|
|
5934
5940
|
/**
|
|
5935
5941
|
*
|
|
5936
5942
|
* @type {string}
|
|
@@ -5942,19 +5948,31 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5942
5948
|
* @type {string}
|
|
5943
5949
|
* @memberof HospitalSpecialtyItemModel
|
|
5944
5950
|
*/
|
|
5945
|
-
'
|
|
5951
|
+
'content'?: string | null;
|
|
5946
5952
|
/**
|
|
5947
5953
|
*
|
|
5948
|
-
* @type {
|
|
5954
|
+
* @type {number}
|
|
5949
5955
|
* @memberof HospitalSpecialtyItemModel
|
|
5950
5956
|
*/
|
|
5951
|
-
'
|
|
5957
|
+
'order'?: number;
|
|
5952
5958
|
/**
|
|
5953
5959
|
*
|
|
5954
|
-
* @type {
|
|
5960
|
+
* @type {boolean}
|
|
5955
5961
|
* @memberof HospitalSpecialtyItemModel
|
|
5956
5962
|
*/
|
|
5957
|
-
'
|
|
5963
|
+
'confirmed'?: boolean;
|
|
5964
|
+
/**
|
|
5965
|
+
*
|
|
5966
|
+
* @type {Array<MediaModel>}
|
|
5967
|
+
* @memberof HospitalSpecialtyItemModel
|
|
5968
|
+
*/
|
|
5969
|
+
'medias'?: Array<MediaModel> | null;
|
|
5970
|
+
/**
|
|
5971
|
+
*
|
|
5972
|
+
* @type {AuditableEntity}
|
|
5973
|
+
* @memberof HospitalSpecialtyItemModel
|
|
5974
|
+
*/
|
|
5975
|
+
'auditableEntity'?: AuditableEntity;
|
|
5958
5976
|
}
|
|
5959
5977
|
/**
|
|
5960
5978
|
*
|
|
@@ -5962,6 +5980,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
5962
5980
|
* @interface HospitalSpecialtyModel
|
|
5963
5981
|
*/
|
|
5964
5982
|
export interface HospitalSpecialtyModel {
|
|
5983
|
+
/**
|
|
5984
|
+
*
|
|
5985
|
+
* @type {string}
|
|
5986
|
+
* @memberof HospitalSpecialtyModel
|
|
5987
|
+
*/
|
|
5988
|
+
'id'?: string;
|
|
5965
5989
|
/**
|
|
5966
5990
|
*
|
|
5967
5991
|
* @type {string}
|
|
@@ -6012,16 +6036,16 @@ export interface HospitalSpecialtyModel {
|
|
|
6012
6036
|
'marketingType'?: MarketingType;
|
|
6013
6037
|
/**
|
|
6014
6038
|
*
|
|
6015
|
-
* @type {
|
|
6039
|
+
* @type {string}
|
|
6016
6040
|
* @memberof HospitalSpecialtyModel
|
|
6017
6041
|
*/
|
|
6018
|
-
'
|
|
6042
|
+
'title'?: string | null;
|
|
6019
6043
|
/**
|
|
6020
6044
|
*
|
|
6021
6045
|
* @type {string}
|
|
6022
6046
|
* @memberof HospitalSpecialtyModel
|
|
6023
6047
|
*/
|
|
6024
|
-
'
|
|
6048
|
+
'normalizedTitle'?: string | null;
|
|
6025
6049
|
/**
|
|
6026
6050
|
*
|
|
6027
6051
|
* @type {string}
|
|
@@ -6033,19 +6057,37 @@ export interface HospitalSpecialtyModel {
|
|
|
6033
6057
|
* @type {string}
|
|
6034
6058
|
* @memberof HospitalSpecialtyModel
|
|
6035
6059
|
*/
|
|
6036
|
-
'
|
|
6060
|
+
'content'?: string | null;
|
|
6037
6061
|
/**
|
|
6038
6062
|
*
|
|
6039
|
-
* @type {
|
|
6063
|
+
* @type {number}
|
|
6040
6064
|
* @memberof HospitalSpecialtyModel
|
|
6041
6065
|
*/
|
|
6042
|
-
'
|
|
6066
|
+
'order'?: number;
|
|
6067
|
+
/**
|
|
6068
|
+
*
|
|
6069
|
+
* @type {boolean}
|
|
6070
|
+
* @memberof HospitalSpecialtyModel
|
|
6071
|
+
*/
|
|
6072
|
+
'confirmed'?: boolean;
|
|
6073
|
+
/**
|
|
6074
|
+
*
|
|
6075
|
+
* @type {Array<MediaModel>}
|
|
6076
|
+
* @memberof HospitalSpecialtyModel
|
|
6077
|
+
*/
|
|
6078
|
+
'medias'?: Array<MediaModel> | null;
|
|
6079
|
+
/**
|
|
6080
|
+
*
|
|
6081
|
+
* @type {AuditableEntity}
|
|
6082
|
+
* @memberof HospitalSpecialtyModel
|
|
6083
|
+
*/
|
|
6084
|
+
'auditableEntity'?: AuditableEntity;
|
|
6043
6085
|
/**
|
|
6044
6086
|
*
|
|
6045
6087
|
* @type {string}
|
|
6046
6088
|
* @memberof HospitalSpecialtyModel
|
|
6047
6089
|
*/
|
|
6048
|
-
'
|
|
6090
|
+
'languageCode'?: string | null;
|
|
6049
6091
|
}
|
|
6050
6092
|
/**
|
|
6051
6093
|
*
|
|
@@ -17345,14 +17387,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17345
17387
|
* @param {string} [specialtyTypeId]
|
|
17346
17388
|
* @param {string} [title]
|
|
17347
17389
|
* @param {MarketingType} [marketingType]
|
|
17348
|
-
* @param {
|
|
17390
|
+
* @param {string} [languageCode]
|
|
17391
|
+
* @param {boolean} [showHidden]
|
|
17392
|
+
* @param {boolean} [returnDefaultValue]
|
|
17349
17393
|
* @param {number} [page]
|
|
17350
17394
|
* @param {number} [limit]
|
|
17351
17395
|
* @param {Date} [lastRetrieved]
|
|
17352
17396
|
* @param {*} [options] Override http request option.
|
|
17353
17397
|
* @throws {RequiredError}
|
|
17354
17398
|
*/
|
|
17355
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType,
|
|
17399
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17356
17400
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
17357
17401
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
17358
17402
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
|
|
@@ -17396,10 +17440,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17396
17440
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
17397
17441
|
}
|
|
17398
17442
|
|
|
17399
|
-
if (
|
|
17400
|
-
localVarQueryParameter['
|
|
17401
|
-
|
|
17402
|
-
|
|
17443
|
+
if (languageCode !== undefined) {
|
|
17444
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17445
|
+
}
|
|
17446
|
+
|
|
17447
|
+
if (showHidden !== undefined) {
|
|
17448
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17449
|
+
}
|
|
17450
|
+
|
|
17451
|
+
if (returnDefaultValue !== undefined) {
|
|
17452
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17403
17453
|
}
|
|
17404
17454
|
|
|
17405
17455
|
if (page !== undefined) {
|
|
@@ -17432,10 +17482,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17432
17482
|
* @summary Get HospitalSpecialty.
|
|
17433
17483
|
* @param {string} hospitalId
|
|
17434
17484
|
* @param {string} specialtyId
|
|
17485
|
+
* @param {string} [languageCode]
|
|
17486
|
+
* @param {boolean} [returnDefaultValue]
|
|
17435
17487
|
* @param {*} [options] Override http request option.
|
|
17436
17488
|
* @throws {RequiredError}
|
|
17437
17489
|
*/
|
|
17438
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17490
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17439
17491
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
17440
17492
|
assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
17441
17493
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
@@ -17454,6 +17506,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17454
17506
|
const localVarHeaderParameter = {} as any;
|
|
17455
17507
|
const localVarQueryParameter = {} as any;
|
|
17456
17508
|
|
|
17509
|
+
if (languageCode !== undefined) {
|
|
17510
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
17511
|
+
}
|
|
17512
|
+
|
|
17513
|
+
if (returnDefaultValue !== undefined) {
|
|
17514
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17515
|
+
}
|
|
17516
|
+
|
|
17457
17517
|
|
|
17458
17518
|
|
|
17459
17519
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18123,15 +18183,17 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18123
18183
|
* @param {string} [specialtyTypeId]
|
|
18124
18184
|
* @param {string} [title]
|
|
18125
18185
|
* @param {MarketingType} [marketingType]
|
|
18126
|
-
* @param {
|
|
18186
|
+
* @param {string} [languageCode]
|
|
18187
|
+
* @param {boolean} [showHidden]
|
|
18188
|
+
* @param {boolean} [returnDefaultValue]
|
|
18127
18189
|
* @param {number} [page]
|
|
18128
18190
|
* @param {number} [limit]
|
|
18129
18191
|
* @param {Date} [lastRetrieved]
|
|
18130
18192
|
* @param {*} [options] Override http request option.
|
|
18131
18193
|
* @throws {RequiredError}
|
|
18132
18194
|
*/
|
|
18133
|
-
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType,
|
|
18134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
18195
|
+
async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
18196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
18135
18197
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18136
18198
|
},
|
|
18137
18199
|
/**
|
|
@@ -18139,11 +18201,13 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
18139
18201
|
* @summary Get HospitalSpecialty.
|
|
18140
18202
|
* @param {string} hospitalId
|
|
18141
18203
|
* @param {string} specialtyId
|
|
18204
|
+
* @param {string} [languageCode]
|
|
18205
|
+
* @param {boolean} [returnDefaultValue]
|
|
18142
18206
|
* @param {*} [options] Override http request option.
|
|
18143
18207
|
* @throws {RequiredError}
|
|
18144
18208
|
*/
|
|
18145
|
-
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
18146
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
|
|
18209
|
+
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
18210
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options);
|
|
18147
18211
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18148
18212
|
},
|
|
18149
18213
|
/**
|
|
@@ -18455,26 +18519,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
18455
18519
|
* @param {string} [specialtyTypeId]
|
|
18456
18520
|
* @param {string} [title]
|
|
18457
18521
|
* @param {MarketingType} [marketingType]
|
|
18458
|
-
* @param {
|
|
18522
|
+
* @param {string} [languageCode]
|
|
18523
|
+
* @param {boolean} [showHidden]
|
|
18524
|
+
* @param {boolean} [returnDefaultValue]
|
|
18459
18525
|
* @param {number} [page]
|
|
18460
18526
|
* @param {number} [limit]
|
|
18461
18527
|
* @param {Date} [lastRetrieved]
|
|
18462
18528
|
* @param {*} [options] Override http request option.
|
|
18463
18529
|
* @throws {RequiredError}
|
|
18464
18530
|
*/
|
|
18465
|
-
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType,
|
|
18466
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
18531
|
+
apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
18532
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
18467
18533
|
},
|
|
18468
18534
|
/**
|
|
18469
18535
|
*
|
|
18470
18536
|
* @summary Get HospitalSpecialty.
|
|
18471
18537
|
* @param {string} hospitalId
|
|
18472
18538
|
* @param {string} specialtyId
|
|
18539
|
+
* @param {string} [languageCode]
|
|
18540
|
+
* @param {boolean} [returnDefaultValue]
|
|
18473
18541
|
* @param {*} [options] Override http request option.
|
|
18474
18542
|
* @throws {RequiredError}
|
|
18475
18543
|
*/
|
|
18476
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
18477
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
18544
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
18545
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
18478
18546
|
},
|
|
18479
18547
|
/**
|
|
18480
18548
|
*
|
|
@@ -18803,7 +18871,9 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18803
18871
|
* @param {string} [specialtyTypeId]
|
|
18804
18872
|
* @param {string} [title]
|
|
18805
18873
|
* @param {MarketingType} [marketingType]
|
|
18806
|
-
* @param {
|
|
18874
|
+
* @param {string} [languageCode]
|
|
18875
|
+
* @param {boolean} [showHidden]
|
|
18876
|
+
* @param {boolean} [returnDefaultValue]
|
|
18807
18877
|
* @param {number} [page]
|
|
18808
18878
|
* @param {number} [limit]
|
|
18809
18879
|
* @param {Date} [lastRetrieved]
|
|
@@ -18811,8 +18881,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18811
18881
|
* @throws {RequiredError}
|
|
18812
18882
|
* @memberof HospitalsApi
|
|
18813
18883
|
*/
|
|
18814
|
-
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType,
|
|
18815
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
18884
|
+
public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
18885
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
18816
18886
|
}
|
|
18817
18887
|
|
|
18818
18888
|
/**
|
|
@@ -18820,12 +18890,14 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18820
18890
|
* @summary Get HospitalSpecialty.
|
|
18821
18891
|
* @param {string} hospitalId
|
|
18822
18892
|
* @param {string} specialtyId
|
|
18893
|
+
* @param {string} [languageCode]
|
|
18894
|
+
* @param {boolean} [returnDefaultValue]
|
|
18823
18895
|
* @param {*} [options] Override http request option.
|
|
18824
18896
|
* @throws {RequiredError}
|
|
18825
18897
|
* @memberof HospitalsApi
|
|
18826
18898
|
*/
|
|
18827
|
-
public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
18828
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
18899
|
+
public apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
18900
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
18829
18901
|
}
|
|
18830
18902
|
|
|
18831
18903
|
/**
|