ch-api-client-typescript2 4.7.0 → 4.7.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 +16 -8
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +28 -14
- package/package.json +1 -1
- package/src/api.ts +30 -14
package/lib/api.js
CHANGED
|
@@ -11169,6 +11169,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11169
11169
|
* @param {string} [specialtyTypeId]
|
|
11170
11170
|
* @param {string} [specialtyId]
|
|
11171
11171
|
* @param {string} [exceptHospitalId]
|
|
11172
|
+
* @param {number} [mediaCount]
|
|
11172
11173
|
* @param {boolean} [showHidden]
|
|
11173
11174
|
* @param {string} [languageCode]
|
|
11174
11175
|
* @param {Array<string>} [ids]
|
|
@@ -11180,7 +11181,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11180
11181
|
* @param {*} [options] Override http request option.
|
|
11181
11182
|
* @throws {RequiredError}
|
|
11182
11183
|
*/
|
|
11183
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11184
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
11184
11185
|
if (options === void 0) { options = {}; }
|
|
11185
11186
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11186
11187
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11219,6 +11220,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11219
11220
|
if (exceptHospitalId !== undefined) {
|
|
11220
11221
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
11221
11222
|
}
|
|
11223
|
+
if (mediaCount !== undefined) {
|
|
11224
|
+
localVarQueryParameter['MediaCount'] = mediaCount;
|
|
11225
|
+
}
|
|
11222
11226
|
if (showHidden !== undefined) {
|
|
11223
11227
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11224
11228
|
}
|
|
@@ -12799,6 +12803,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
12799
12803
|
* @param {string} [specialtyTypeId]
|
|
12800
12804
|
* @param {string} [specialtyId]
|
|
12801
12805
|
* @param {string} [exceptHospitalId]
|
|
12806
|
+
* @param {number} [mediaCount]
|
|
12802
12807
|
* @param {boolean} [showHidden]
|
|
12803
12808
|
* @param {string} [languageCode]
|
|
12804
12809
|
* @param {Array<string>} [ids]
|
|
@@ -12810,7 +12815,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
12810
12815
|
* @param {*} [options] Override http request option.
|
|
12811
12816
|
* @throws {RequiredError}
|
|
12812
12817
|
*/
|
|
12813
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12818
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12814
12819
|
if (options === void 0) { options = {}; }
|
|
12815
12820
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12816
12821
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -12849,6 +12854,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
12849
12854
|
if (exceptHospitalId !== undefined) {
|
|
12850
12855
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
12851
12856
|
}
|
|
12857
|
+
if (mediaCount !== undefined) {
|
|
12858
|
+
localVarQueryParameter['MediaCount'] = mediaCount;
|
|
12859
|
+
}
|
|
12852
12860
|
if (showHidden !== undefined) {
|
|
12853
12861
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12854
12862
|
}
|
|
@@ -12946,6 +12954,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12946
12954
|
* @param {string} [specialtyTypeId]
|
|
12947
12955
|
* @param {string} [specialtyId]
|
|
12948
12956
|
* @param {string} [exceptHospitalId]
|
|
12957
|
+
* @param {number} [mediaCount]
|
|
12949
12958
|
* @param {boolean} [showHidden]
|
|
12950
12959
|
* @param {string} [languageCode]
|
|
12951
12960
|
* @param {Array<string>} [ids]
|
|
@@ -12957,12 +12966,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12957
12966
|
* @param {*} [options] Override http request option.
|
|
12958
12967
|
* @throws {RequiredError}
|
|
12959
12968
|
*/
|
|
12960
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12969
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
12961
12970
|
return __awaiter(this, void 0, void 0, function () {
|
|
12962
12971
|
var localVarAxiosArgs;
|
|
12963
12972
|
return __generator(this, function (_a) {
|
|
12964
12973
|
switch (_a.label) {
|
|
12965
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
12974
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
12966
12975
|
case 1:
|
|
12967
12976
|
localVarAxiosArgs = _a.sent();
|
|
12968
12977
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13693,6 +13702,7 @@ var HospitalsApiFp = function (configuration) {
|
|
|
13693
13702
|
* @param {string} [specialtyTypeId]
|
|
13694
13703
|
* @param {string} [specialtyId]
|
|
13695
13704
|
* @param {string} [exceptHospitalId]
|
|
13705
|
+
* @param {number} [mediaCount]
|
|
13696
13706
|
* @param {boolean} [showHidden]
|
|
13697
13707
|
* @param {string} [languageCode]
|
|
13698
13708
|
* @param {Array<string>} [ids]
|
|
@@ -13704,12 +13714,12 @@ var HospitalsApiFp = function (configuration) {
|
|
|
13704
13714
|
* @param {*} [options] Override http request option.
|
|
13705
13715
|
* @throws {RequiredError}
|
|
13706
13716
|
*/
|
|
13707
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13717
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13708
13718
|
return __awaiter(this, void 0, void 0, function () {
|
|
13709
13719
|
var localVarAxiosArgs;
|
|
13710
13720
|
return __generator(this, function (_a) {
|
|
13711
13721
|
switch (_a.label) {
|
|
13712
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
13722
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
13713
13723
|
case 1:
|
|
13714
13724
|
localVarAxiosArgs = _a.sent();
|
|
13715
13725
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -13759,6 +13769,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13759
13769
|
* @param {string} [specialtyTypeId]
|
|
13760
13770
|
* @param {string} [specialtyId]
|
|
13761
13771
|
* @param {string} [exceptHospitalId]
|
|
13772
|
+
* @param {number} [mediaCount]
|
|
13762
13773
|
* @param {boolean} [showHidden]
|
|
13763
13774
|
* @param {string} [languageCode]
|
|
13764
13775
|
* @param {Array<string>} [ids]
|
|
@@ -13770,8 +13781,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
13770
13781
|
* @param {*} [options] Override http request option.
|
|
13771
13782
|
* @throws {RequiredError}
|
|
13772
13783
|
*/
|
|
13773
|
-
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13774
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13784
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
13785
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13775
13786
|
},
|
|
13776
13787
|
/**
|
|
13777
13788
|
*
|
|
@@ -14206,6 +14217,7 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
14206
14217
|
* @param {string} [specialtyTypeId]
|
|
14207
14218
|
* @param {string} [specialtyId]
|
|
14208
14219
|
* @param {string} [exceptHospitalId]
|
|
14220
|
+
* @param {number} [mediaCount]
|
|
14209
14221
|
* @param {boolean} [showHidden]
|
|
14210
14222
|
* @param {string} [languageCode]
|
|
14211
14223
|
* @param {Array<string>} [ids]
|
|
@@ -14217,8 +14229,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
14217
14229
|
* @param {*} [options] Override http request option.
|
|
14218
14230
|
* @throws {RequiredError}
|
|
14219
14231
|
*/
|
|
14220
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14221
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
14232
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14233
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
14222
14234
|
},
|
|
14223
14235
|
/**
|
|
14224
14236
|
*
|
|
@@ -14256,6 +14268,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14256
14268
|
* @param {string} [specialtyTypeId]
|
|
14257
14269
|
* @param {string} [specialtyId]
|
|
14258
14270
|
* @param {string} [exceptHospitalId]
|
|
14271
|
+
* @param {number} [mediaCount]
|
|
14259
14272
|
* @param {boolean} [showHidden]
|
|
14260
14273
|
* @param {string} [languageCode]
|
|
14261
14274
|
* @param {Array<string>} [ids]
|
|
@@ -14268,9 +14281,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14268
14281
|
* @throws {RequiredError}
|
|
14269
14282
|
* @memberof HospitalsApi
|
|
14270
14283
|
*/
|
|
14271
|
-
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14284
|
+
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14272
14285
|
var _this = this;
|
|
14273
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14286
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14274
14287
|
};
|
|
14275
14288
|
/**
|
|
14276
14289
|
*
|
|
@@ -14763,6 +14776,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14763
14776
|
* @param {string} [specialtyTypeId]
|
|
14764
14777
|
* @param {string} [specialtyId]
|
|
14765
14778
|
* @param {string} [exceptHospitalId]
|
|
14779
|
+
* @param {number} [mediaCount]
|
|
14766
14780
|
* @param {boolean} [showHidden]
|
|
14767
14781
|
* @param {string} [languageCode]
|
|
14768
14782
|
* @param {Array<string>} [ids]
|
|
@@ -14775,9 +14789,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14775
14789
|
* @throws {RequiredError}
|
|
14776
14790
|
* @memberof HospitalsApi
|
|
14777
14791
|
*/
|
|
14778
|
-
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14792
|
+
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
14779
14793
|
var _this = this;
|
|
14780
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14794
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14781
14795
|
};
|
|
14782
14796
|
/**
|
|
14783
14797
|
*
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -20812,6 +20812,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20812
20812
|
* @param {string} [specialtyTypeId]
|
|
20813
20813
|
* @param {string} [specialtyId]
|
|
20814
20814
|
* @param {string} [exceptHospitalId]
|
|
20815
|
+
* @param {number} [mediaCount]
|
|
20815
20816
|
* @param {boolean} [showHidden]
|
|
20816
20817
|
* @param {string} [languageCode]
|
|
20817
20818
|
* @param {Array<string>} [ids]
|
|
@@ -20823,7 +20824,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20823
20824
|
* @param {*} [options] Override http request option.
|
|
20824
20825
|
* @throws {RequiredError}
|
|
20825
20826
|
*/
|
|
20826
|
-
apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20827
|
+
apiV2HospitalsGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20827
20828
|
const localVarPath = `/api/v2/hospitals`;
|
|
20828
20829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20829
20830
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20870,6 +20871,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20870
20871
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
20871
20872
|
}
|
|
20872
20873
|
|
|
20874
|
+
if (mediaCount !== undefined) {
|
|
20875
|
+
localVarQueryParameter['MediaCount'] = mediaCount;
|
|
20876
|
+
}
|
|
20877
|
+
|
|
20873
20878
|
if (showHidden !== undefined) {
|
|
20874
20879
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
20875
20880
|
}
|
|
@@ -22600,6 +22605,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22600
22605
|
* @param {string} [specialtyTypeId]
|
|
22601
22606
|
* @param {string} [specialtyId]
|
|
22602
22607
|
* @param {string} [exceptHospitalId]
|
|
22608
|
+
* @param {number} [mediaCount]
|
|
22603
22609
|
* @param {boolean} [showHidden]
|
|
22604
22610
|
* @param {string} [languageCode]
|
|
22605
22611
|
* @param {Array<string>} [ids]
|
|
@@ -22611,7 +22617,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22611
22617
|
* @param {*} [options] Override http request option.
|
|
22612
22618
|
* @throws {RequiredError}
|
|
22613
22619
|
*/
|
|
22614
|
-
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22620
|
+
apiV2HospitalsSimpleGet: async (hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22615
22621
|
const localVarPath = `/api/v2/hospitals/simple`;
|
|
22616
22622
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22617
22623
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22658,6 +22664,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22658
22664
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
22659
22665
|
}
|
|
22660
22666
|
|
|
22667
|
+
if (mediaCount !== undefined) {
|
|
22668
|
+
localVarQueryParameter['MediaCount'] = mediaCount;
|
|
22669
|
+
}
|
|
22670
|
+
|
|
22661
22671
|
if (showHidden !== undefined) {
|
|
22662
22672
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
22663
22673
|
}
|
|
@@ -22767,6 +22777,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
22767
22777
|
* @param {string} [specialtyTypeId]
|
|
22768
22778
|
* @param {string} [specialtyId]
|
|
22769
22779
|
* @param {string} [exceptHospitalId]
|
|
22780
|
+
* @param {number} [mediaCount]
|
|
22770
22781
|
* @param {boolean} [showHidden]
|
|
22771
22782
|
* @param {string} [languageCode]
|
|
22772
22783
|
* @param {Array<string>} [ids]
|
|
@@ -22778,8 +22789,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
22778
22789
|
* @param {*} [options] Override http request option.
|
|
22779
22790
|
* @throws {RequiredError}
|
|
22780
22791
|
*/
|
|
22781
|
-
async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
22782
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
22792
|
+
async apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
22793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
22783
22794
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22784
22795
|
},
|
|
22785
22796
|
/**
|
|
@@ -23244,6 +23255,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
23244
23255
|
* @param {string} [specialtyTypeId]
|
|
23245
23256
|
* @param {string} [specialtyId]
|
|
23246
23257
|
* @param {string} [exceptHospitalId]
|
|
23258
|
+
* @param {number} [mediaCount]
|
|
23247
23259
|
* @param {boolean} [showHidden]
|
|
23248
23260
|
* @param {string} [languageCode]
|
|
23249
23261
|
* @param {Array<string>} [ids]
|
|
@@ -23255,8 +23267,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
23255
23267
|
* @param {*} [options] Override http request option.
|
|
23256
23268
|
* @throws {RequiredError}
|
|
23257
23269
|
*/
|
|
23258
|
-
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
23259
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
23270
|
+
async apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsSimpleModel>> {
|
|
23271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options);
|
|
23260
23272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23261
23273
|
},
|
|
23262
23274
|
/**
|
|
@@ -23292,6 +23304,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
23292
23304
|
* @param {string} [specialtyTypeId]
|
|
23293
23305
|
* @param {string} [specialtyId]
|
|
23294
23306
|
* @param {string} [exceptHospitalId]
|
|
23307
|
+
* @param {number} [mediaCount]
|
|
23295
23308
|
* @param {boolean} [showHidden]
|
|
23296
23309
|
* @param {string} [languageCode]
|
|
23297
23310
|
* @param {Array<string>} [ids]
|
|
@@ -23303,8 +23316,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
23303
23316
|
* @param {*} [options] Override http request option.
|
|
23304
23317
|
* @throws {RequiredError}
|
|
23305
23318
|
*/
|
|
23306
|
-
apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
23307
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23319
|
+
apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsModel> {
|
|
23320
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23308
23321
|
},
|
|
23309
23322
|
/**
|
|
23310
23323
|
*
|
|
@@ -23739,6 +23752,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
23739
23752
|
* @param {string} [specialtyTypeId]
|
|
23740
23753
|
* @param {string} [specialtyId]
|
|
23741
23754
|
* @param {string} [exceptHospitalId]
|
|
23755
|
+
* @param {number} [mediaCount]
|
|
23742
23756
|
* @param {boolean} [showHidden]
|
|
23743
23757
|
* @param {string} [languageCode]
|
|
23744
23758
|
* @param {Array<string>} [ids]
|
|
@@ -23750,8 +23764,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
23750
23764
|
* @param {*} [options] Override http request option.
|
|
23751
23765
|
* @throws {RequiredError}
|
|
23752
23766
|
*/
|
|
23753
|
-
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
23754
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23767
|
+
apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalsSimpleModel> {
|
|
23768
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
23755
23769
|
},
|
|
23756
23770
|
/**
|
|
23757
23771
|
*
|
|
@@ -23785,6 +23799,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
23785
23799
|
* @param {string} [specialtyTypeId]
|
|
23786
23800
|
* @param {string} [specialtyId]
|
|
23787
23801
|
* @param {string} [exceptHospitalId]
|
|
23802
|
+
* @param {number} [mediaCount]
|
|
23788
23803
|
* @param {boolean} [showHidden]
|
|
23789
23804
|
* @param {string} [languageCode]
|
|
23790
23805
|
* @param {Array<string>} [ids]
|
|
@@ -23797,8 +23812,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
23797
23812
|
* @throws {RequiredError}
|
|
23798
23813
|
* @memberof HospitalsApi
|
|
23799
23814
|
*/
|
|
23800
|
-
public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23801
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23815
|
+
public apiV2HospitalsGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
23816
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
23802
23817
|
}
|
|
23803
23818
|
|
|
23804
23819
|
/**
|
|
@@ -24292,6 +24307,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
24292
24307
|
* @param {string} [specialtyTypeId]
|
|
24293
24308
|
* @param {string} [specialtyId]
|
|
24294
24309
|
* @param {string} [exceptHospitalId]
|
|
24310
|
+
* @param {number} [mediaCount]
|
|
24295
24311
|
* @param {boolean} [showHidden]
|
|
24296
24312
|
* @param {string} [languageCode]
|
|
24297
24313
|
* @param {Array<string>} [ids]
|
|
@@ -24304,8 +24320,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
24304
24320
|
* @throws {RequiredError}
|
|
24305
24321
|
* @memberof HospitalsApi
|
|
24306
24322
|
*/
|
|
24307
|
-
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24308
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24323
|
+
public apiV2HospitalsSimpleGet(hospitalId?: string, name?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, exceptHospitalId?: string, mediaCount?: number, showHidden?: boolean, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, paymentEnabled?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
24324
|
+
return HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, exceptHospitalId, mediaCount, showHidden, languageCode, ids, returnDefaultValue, paymentEnabled, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
24309
24325
|
}
|
|
24310
24326
|
|
|
24311
24327
|
/**
|