ch-api-client-typescript2 2.7.5 → 2.7.9
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 +435 -44
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +276 -78
- package/package.json +1 -1
- package/src/api.ts +579 -81
package/lib/api.js
CHANGED
|
@@ -5796,6 +5796,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5796
5796
|
* @param {string} [hospitalName]
|
|
5797
5797
|
* @param {string} [specialtyId]
|
|
5798
5798
|
* @param {string} [specialtyTypeId]
|
|
5799
|
+
* @param {string} [serviceId]
|
|
5799
5800
|
* @param {string} [exceptHospitalId]
|
|
5800
5801
|
* @param {string} [exceptDealId]
|
|
5801
5802
|
* @param {Array<string>} [ids]
|
|
@@ -5808,7 +5809,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5808
5809
|
* @param {*} [options] Override http request option.
|
|
5809
5810
|
* @throws {RequiredError}
|
|
5810
5811
|
*/
|
|
5811
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5812
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5812
5813
|
if (options === void 0) { options = {}; }
|
|
5813
5814
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5814
5815
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5845,6 +5846,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5845
5846
|
if (specialtyTypeId !== undefined) {
|
|
5846
5847
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5847
5848
|
}
|
|
5849
|
+
if (serviceId !== undefined) {
|
|
5850
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5851
|
+
}
|
|
5848
5852
|
if (exceptHospitalId !== undefined) {
|
|
5849
5853
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5850
5854
|
}
|
|
@@ -6061,6 +6065,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6061
6065
|
* @param {string} [hospitalName]
|
|
6062
6066
|
* @param {string} [specialtyId]
|
|
6063
6067
|
* @param {string} [specialtyTypeId]
|
|
6068
|
+
* @param {string} [serviceId]
|
|
6064
6069
|
* @param {string} [exceptHospitalId]
|
|
6065
6070
|
* @param {string} [exceptDealId]
|
|
6066
6071
|
* @param {Array<string>} [ids]
|
|
@@ -6073,12 +6078,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6073
6078
|
* @param {*} [options] Override http request option.
|
|
6074
6079
|
* @throws {RequiredError}
|
|
6075
6080
|
*/
|
|
6076
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6081
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6077
6082
|
return __awaiter(this, void 0, void 0, function () {
|
|
6078
6083
|
var localVarAxiosArgs;
|
|
6079
6084
|
return __generator(this, function (_a) {
|
|
6080
6085
|
switch (_a.label) {
|
|
6081
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6086
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6082
6087
|
case 1:
|
|
6083
6088
|
localVarAxiosArgs = _a.sent();
|
|
6084
6089
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6194,6 +6199,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6194
6199
|
* @param {string} [hospitalName]
|
|
6195
6200
|
* @param {string} [specialtyId]
|
|
6196
6201
|
* @param {string} [specialtyTypeId]
|
|
6202
|
+
* @param {string} [serviceId]
|
|
6197
6203
|
* @param {string} [exceptHospitalId]
|
|
6198
6204
|
* @param {string} [exceptDealId]
|
|
6199
6205
|
* @param {Array<string>} [ids]
|
|
@@ -6206,8 +6212,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6206
6212
|
* @param {*} [options] Override http request option.
|
|
6207
6213
|
* @throws {RequiredError}
|
|
6208
6214
|
*/
|
|
6209
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6210
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6215
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6216
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6211
6217
|
},
|
|
6212
6218
|
/**
|
|
6213
6219
|
*
|
|
@@ -6321,6 +6327,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6321
6327
|
* @param {string} [hospitalName]
|
|
6322
6328
|
* @param {string} [specialtyId]
|
|
6323
6329
|
* @param {string} [specialtyTypeId]
|
|
6330
|
+
* @param {string} [serviceId]
|
|
6324
6331
|
* @param {string} [exceptHospitalId]
|
|
6325
6332
|
* @param {string} [exceptDealId]
|
|
6326
6333
|
* @param {Array<string>} [ids]
|
|
@@ -6334,9 +6341,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6334
6341
|
* @throws {RequiredError}
|
|
6335
6342
|
* @memberof DealsApi
|
|
6336
6343
|
*/
|
|
6337
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6344
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6338
6345
|
var _this = this;
|
|
6339
|
-
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6346
|
+
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6340
6347
|
};
|
|
6341
6348
|
/**
|
|
6342
6349
|
*
|
|
@@ -7079,6 +7086,97 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7079
7086
|
});
|
|
7080
7087
|
});
|
|
7081
7088
|
},
|
|
7089
|
+
/**
|
|
7090
|
+
*
|
|
7091
|
+
* @summary Get all Doctors.
|
|
7092
|
+
* @param {string} [hospitalId]
|
|
7093
|
+
* @param {string} [languageCode]
|
|
7094
|
+
* @param {boolean} [returnDefaultValue]
|
|
7095
|
+
* @param {Array<string>} [ids]
|
|
7096
|
+
* @param {string} [id]
|
|
7097
|
+
* @param {string} [fullname]
|
|
7098
|
+
* @param {string} [email]
|
|
7099
|
+
* @param {Gender} [gender]
|
|
7100
|
+
* @param {Date} [dateOfBirth]
|
|
7101
|
+
* @param {Date} [created]
|
|
7102
|
+
* @param {boolean} [showHidden]
|
|
7103
|
+
* @param {number} [page]
|
|
7104
|
+
* @param {number} [limit]
|
|
7105
|
+
* @param {Date} [lastRetrieved]
|
|
7106
|
+
* @param {*} [options] Override http request option.
|
|
7107
|
+
* @throws {RequiredError}
|
|
7108
|
+
*/
|
|
7109
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7110
|
+
if (options === void 0) { options = {}; }
|
|
7111
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7112
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7113
|
+
return __generator(this, function (_a) {
|
|
7114
|
+
localVarPath = "/api/v2/doctors/simple";
|
|
7115
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7116
|
+
if (configuration) {
|
|
7117
|
+
baseOptions = configuration.baseOptions;
|
|
7118
|
+
}
|
|
7119
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7120
|
+
localVarHeaderParameter = {};
|
|
7121
|
+
localVarQueryParameter = {};
|
|
7122
|
+
if (hospitalId !== undefined) {
|
|
7123
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7124
|
+
}
|
|
7125
|
+
if (languageCode !== undefined) {
|
|
7126
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7127
|
+
}
|
|
7128
|
+
if (returnDefaultValue !== undefined) {
|
|
7129
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7130
|
+
}
|
|
7131
|
+
if (ids) {
|
|
7132
|
+
localVarQueryParameter['Ids'] = ids;
|
|
7133
|
+
}
|
|
7134
|
+
if (id !== undefined) {
|
|
7135
|
+
localVarQueryParameter['Id'] = id;
|
|
7136
|
+
}
|
|
7137
|
+
if (fullname !== undefined) {
|
|
7138
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
7139
|
+
}
|
|
7140
|
+
if (email !== undefined) {
|
|
7141
|
+
localVarQueryParameter['Email'] = email;
|
|
7142
|
+
}
|
|
7143
|
+
if (gender !== undefined) {
|
|
7144
|
+
localVarQueryParameter['Gender'] = gender;
|
|
7145
|
+
}
|
|
7146
|
+
if (dateOfBirth !== undefined) {
|
|
7147
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
|
|
7148
|
+
dateOfBirth.toISOString() :
|
|
7149
|
+
dateOfBirth;
|
|
7150
|
+
}
|
|
7151
|
+
if (created !== undefined) {
|
|
7152
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
7153
|
+
created.toISOString() :
|
|
7154
|
+
created;
|
|
7155
|
+
}
|
|
7156
|
+
if (showHidden !== undefined) {
|
|
7157
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7158
|
+
}
|
|
7159
|
+
if (page !== undefined) {
|
|
7160
|
+
localVarQueryParameter['page'] = page;
|
|
7161
|
+
}
|
|
7162
|
+
if (limit !== undefined) {
|
|
7163
|
+
localVarQueryParameter['limit'] = limit;
|
|
7164
|
+
}
|
|
7165
|
+
if (lastRetrieved !== undefined) {
|
|
7166
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
7167
|
+
lastRetrieved.toISOString() :
|
|
7168
|
+
lastRetrieved;
|
|
7169
|
+
}
|
|
7170
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7171
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7172
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7173
|
+
return [2 /*return*/, {
|
|
7174
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
7175
|
+
options: localVarRequestOptions,
|
|
7176
|
+
}];
|
|
7177
|
+
});
|
|
7178
|
+
});
|
|
7179
|
+
},
|
|
7082
7180
|
/**
|
|
7083
7181
|
*
|
|
7084
7182
|
* @param {string} slug
|
|
@@ -7465,6 +7563,39 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
7465
7563
|
});
|
|
7466
7564
|
});
|
|
7467
7565
|
},
|
|
7566
|
+
/**
|
|
7567
|
+
*
|
|
7568
|
+
* @summary Get all Doctors.
|
|
7569
|
+
* @param {string} [hospitalId]
|
|
7570
|
+
* @param {string} [languageCode]
|
|
7571
|
+
* @param {boolean} [returnDefaultValue]
|
|
7572
|
+
* @param {Array<string>} [ids]
|
|
7573
|
+
* @param {string} [id]
|
|
7574
|
+
* @param {string} [fullname]
|
|
7575
|
+
* @param {string} [email]
|
|
7576
|
+
* @param {Gender} [gender]
|
|
7577
|
+
* @param {Date} [dateOfBirth]
|
|
7578
|
+
* @param {Date} [created]
|
|
7579
|
+
* @param {boolean} [showHidden]
|
|
7580
|
+
* @param {number} [page]
|
|
7581
|
+
* @param {number} [limit]
|
|
7582
|
+
* @param {Date} [lastRetrieved]
|
|
7583
|
+
* @param {*} [options] Override http request option.
|
|
7584
|
+
* @throws {RequiredError}
|
|
7585
|
+
*/
|
|
7586
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7587
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7588
|
+
var localVarAxiosArgs;
|
|
7589
|
+
return __generator(this, function (_a) {
|
|
7590
|
+
switch (_a.label) {
|
|
7591
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7592
|
+
case 1:
|
|
7593
|
+
localVarAxiosArgs = _a.sent();
|
|
7594
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7595
|
+
}
|
|
7596
|
+
});
|
|
7597
|
+
});
|
|
7598
|
+
},
|
|
7468
7599
|
/**
|
|
7469
7600
|
*
|
|
7470
7601
|
* @param {string} slug
|
|
@@ -7692,6 +7823,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7692
7823
|
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7693
7824
|
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7694
7825
|
},
|
|
7826
|
+
/**
|
|
7827
|
+
*
|
|
7828
|
+
* @summary Get all Doctors.
|
|
7829
|
+
* @param {string} [hospitalId]
|
|
7830
|
+
* @param {string} [languageCode]
|
|
7831
|
+
* @param {boolean} [returnDefaultValue]
|
|
7832
|
+
* @param {Array<string>} [ids]
|
|
7833
|
+
* @param {string} [id]
|
|
7834
|
+
* @param {string} [fullname]
|
|
7835
|
+
* @param {string} [email]
|
|
7836
|
+
* @param {Gender} [gender]
|
|
7837
|
+
* @param {Date} [dateOfBirth]
|
|
7838
|
+
* @param {Date} [created]
|
|
7839
|
+
* @param {boolean} [showHidden]
|
|
7840
|
+
* @param {number} [page]
|
|
7841
|
+
* @param {number} [limit]
|
|
7842
|
+
* @param {Date} [lastRetrieved]
|
|
7843
|
+
* @param {*} [options] Override http request option.
|
|
7844
|
+
* @throws {RequiredError}
|
|
7845
|
+
*/
|
|
7846
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7847
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7848
|
+
},
|
|
7695
7849
|
/**
|
|
7696
7850
|
*
|
|
7697
7851
|
* @param {string} slug
|
|
@@ -7941,6 +8095,31 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7941
8095
|
var _this = this;
|
|
7942
8096
|
return exports.DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7943
8097
|
};
|
|
8098
|
+
/**
|
|
8099
|
+
*
|
|
8100
|
+
* @summary Get all Doctors.
|
|
8101
|
+
* @param {string} [hospitalId]
|
|
8102
|
+
* @param {string} [languageCode]
|
|
8103
|
+
* @param {boolean} [returnDefaultValue]
|
|
8104
|
+
* @param {Array<string>} [ids]
|
|
8105
|
+
* @param {string} [id]
|
|
8106
|
+
* @param {string} [fullname]
|
|
8107
|
+
* @param {string} [email]
|
|
8108
|
+
* @param {Gender} [gender]
|
|
8109
|
+
* @param {Date} [dateOfBirth]
|
|
8110
|
+
* @param {Date} [created]
|
|
8111
|
+
* @param {boolean} [showHidden]
|
|
8112
|
+
* @param {number} [page]
|
|
8113
|
+
* @param {number} [limit]
|
|
8114
|
+
* @param {Date} [lastRetrieved]
|
|
8115
|
+
* @param {*} [options] Override http request option.
|
|
8116
|
+
* @throws {RequiredError}
|
|
8117
|
+
* @memberof DoctorsApi
|
|
8118
|
+
*/
|
|
8119
|
+
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8120
|
+
var _this = this;
|
|
8121
|
+
return exports.DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8122
|
+
};
|
|
7944
8123
|
/**
|
|
7945
8124
|
*
|
|
7946
8125
|
* @param {string} slug
|
|
@@ -8928,7 +9107,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
8928
9107
|
* @summary Get all Hospitals.
|
|
8929
9108
|
* @param {string} [hospitalId]
|
|
8930
9109
|
* @param {string} [name]
|
|
8931
|
-
* @param {string} [description]
|
|
8932
9110
|
* @param {string} [countryId]
|
|
8933
9111
|
* @param {Date} [created]
|
|
8934
9112
|
* @param {MarketingType} [marketingType]
|
|
@@ -8946,7 +9124,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
8946
9124
|
* @param {*} [options] Override http request option.
|
|
8947
9125
|
* @throws {RequiredError}
|
|
8948
9126
|
*/
|
|
8949
|
-
apiV2HospitalsGet: function (hospitalId, name,
|
|
9127
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
8950
9128
|
if (options === void 0) { options = {}; }
|
|
8951
9129
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8952
9130
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -8965,9 +9143,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
8965
9143
|
if (name !== undefined) {
|
|
8966
9144
|
localVarQueryParameter['Name'] = name;
|
|
8967
9145
|
}
|
|
8968
|
-
if (description !== undefined) {
|
|
8969
|
-
localVarQueryParameter['Description'] = description;
|
|
8970
|
-
}
|
|
8971
9146
|
if (countryId !== undefined) {
|
|
8972
9147
|
localVarQueryParameter['CountryId'] = countryId;
|
|
8973
9148
|
}
|
|
@@ -9567,15 +9742,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9567
9742
|
* @param {string} [specialtyId]
|
|
9568
9743
|
* @param {string} [specialtyName]
|
|
9569
9744
|
* @param {string} [specialtyTypeId]
|
|
9745
|
+
* @param {string} [title]
|
|
9570
9746
|
* @param {MarketingType} [marketingType]
|
|
9571
|
-
* @param {
|
|
9747
|
+
* @param {string} [languageCode]
|
|
9748
|
+
* @param {boolean} [showHidden]
|
|
9749
|
+
* @param {boolean} [returnDefaultValue]
|
|
9572
9750
|
* @param {number} [page]
|
|
9573
9751
|
* @param {number} [limit]
|
|
9574
9752
|
* @param {Date} [lastRetrieved]
|
|
9575
9753
|
* @param {*} [options] Override http request option.
|
|
9576
9754
|
* @throws {RequiredError}
|
|
9577
9755
|
*/
|
|
9578
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
9756
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9579
9757
|
if (options === void 0) { options = {}; }
|
|
9580
9758
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9581
9759
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9606,13 +9784,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9606
9784
|
if (specialtyTypeId !== undefined) {
|
|
9607
9785
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
9608
9786
|
}
|
|
9787
|
+
if (title !== undefined) {
|
|
9788
|
+
localVarQueryParameter['Title'] = title;
|
|
9789
|
+
}
|
|
9609
9790
|
if (marketingType !== undefined) {
|
|
9610
9791
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
9611
9792
|
}
|
|
9612
|
-
if (
|
|
9613
|
-
localVarQueryParameter['
|
|
9614
|
-
|
|
9615
|
-
|
|
9793
|
+
if (languageCode !== undefined) {
|
|
9794
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9795
|
+
}
|
|
9796
|
+
if (showHidden !== undefined) {
|
|
9797
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9798
|
+
}
|
|
9799
|
+
if (returnDefaultValue !== undefined) {
|
|
9800
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9616
9801
|
}
|
|
9617
9802
|
if (page !== undefined) {
|
|
9618
9803
|
localVarQueryParameter['page'] = page;
|
|
@@ -9640,10 +9825,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9640
9825
|
* @summary Get HospitalSpecialty.
|
|
9641
9826
|
* @param {string} hospitalId
|
|
9642
9827
|
* @param {string} specialtyId
|
|
9828
|
+
* @param {string} [languageCode]
|
|
9829
|
+
* @param {boolean} [returnDefaultValue]
|
|
9643
9830
|
* @param {*} [options] Override http request option.
|
|
9644
9831
|
* @throws {RequiredError}
|
|
9645
9832
|
*/
|
|
9646
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
9833
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
9647
9834
|
if (options === void 0) { options = {}; }
|
|
9648
9835
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9649
9836
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9662,6 +9849,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9662
9849
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9663
9850
|
localVarHeaderParameter = {};
|
|
9664
9851
|
localVarQueryParameter = {};
|
|
9852
|
+
if (languageCode !== undefined) {
|
|
9853
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9854
|
+
}
|
|
9855
|
+
if (returnDefaultValue !== undefined) {
|
|
9856
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9857
|
+
}
|
|
9665
9858
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9666
9859
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9667
9860
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9943,7 +10136,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9943
10136
|
* @summary Get all Hospitals.
|
|
9944
10137
|
* @param {string} [hospitalId]
|
|
9945
10138
|
* @param {string} [name]
|
|
9946
|
-
* @param {string} [description]
|
|
9947
10139
|
* @param {string} [countryId]
|
|
9948
10140
|
* @param {Date} [created]
|
|
9949
10141
|
* @param {MarketingType} [marketingType]
|
|
@@ -9961,7 +10153,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9961
10153
|
* @param {*} [options] Override http request option.
|
|
9962
10154
|
* @throws {RequiredError}
|
|
9963
10155
|
*/
|
|
9964
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name,
|
|
10156
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9965
10157
|
if (options === void 0) { options = {}; }
|
|
9966
10158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9967
10159
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9980,9 +10172,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9980
10172
|
if (name !== undefined) {
|
|
9981
10173
|
localVarQueryParameter['Name'] = name;
|
|
9982
10174
|
}
|
|
9983
|
-
if (description !== undefined) {
|
|
9984
|
-
localVarQueryParameter['Description'] = description;
|
|
9985
|
-
}
|
|
9986
10175
|
if (countryId !== undefined) {
|
|
9987
10176
|
localVarQueryParameter['CountryId'] = countryId;
|
|
9988
10177
|
}
|
|
@@ -10093,7 +10282,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10093
10282
|
* @summary Get all Hospitals.
|
|
10094
10283
|
* @param {string} [hospitalId]
|
|
10095
10284
|
* @param {string} [name]
|
|
10096
|
-
* @param {string} [description]
|
|
10097
10285
|
* @param {string} [countryId]
|
|
10098
10286
|
* @param {Date} [created]
|
|
10099
10287
|
* @param {MarketingType} [marketingType]
|
|
@@ -10111,12 +10299,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10111
10299
|
* @param {*} [options] Override http request option.
|
|
10112
10300
|
* @throws {RequiredError}
|
|
10113
10301
|
*/
|
|
10114
|
-
apiV2HospitalsGet: function (hospitalId, name,
|
|
10302
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10115
10303
|
return __awaiter(this, void 0, void 0, function () {
|
|
10116
10304
|
var localVarAxiosArgs;
|
|
10117
10305
|
return __generator(this, function (_a) {
|
|
10118
10306
|
switch (_a.label) {
|
|
10119
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name,
|
|
10307
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10120
10308
|
case 1:
|
|
10121
10309
|
localVarAxiosArgs = _a.sent();
|
|
10122
10310
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10392,20 +10580,23 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10392
10580
|
* @param {string} [specialtyId]
|
|
10393
10581
|
* @param {string} [specialtyName]
|
|
10394
10582
|
* @param {string} [specialtyTypeId]
|
|
10583
|
+
* @param {string} [title]
|
|
10395
10584
|
* @param {MarketingType} [marketingType]
|
|
10396
|
-
* @param {
|
|
10585
|
+
* @param {string} [languageCode]
|
|
10586
|
+
* @param {boolean} [showHidden]
|
|
10587
|
+
* @param {boolean} [returnDefaultValue]
|
|
10397
10588
|
* @param {number} [page]
|
|
10398
10589
|
* @param {number} [limit]
|
|
10399
10590
|
* @param {Date} [lastRetrieved]
|
|
10400
10591
|
* @param {*} [options] Override http request option.
|
|
10401
10592
|
* @throws {RequiredError}
|
|
10402
10593
|
*/
|
|
10403
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
10594
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10404
10595
|
return __awaiter(this, void 0, void 0, function () {
|
|
10405
10596
|
var localVarAxiosArgs;
|
|
10406
10597
|
return __generator(this, function (_a) {
|
|
10407
10598
|
switch (_a.label) {
|
|
10408
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
10599
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10409
10600
|
case 1:
|
|
10410
10601
|
localVarAxiosArgs = _a.sent();
|
|
10411
10602
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10418,15 +10609,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10418
10609
|
* @summary Get HospitalSpecialty.
|
|
10419
10610
|
* @param {string} hospitalId
|
|
10420
10611
|
* @param {string} specialtyId
|
|
10612
|
+
* @param {string} [languageCode]
|
|
10613
|
+
* @param {boolean} [returnDefaultValue]
|
|
10421
10614
|
* @param {*} [options] Override http request option.
|
|
10422
10615
|
* @throws {RequiredError}
|
|
10423
10616
|
*/
|
|
10424
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10617
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
10425
10618
|
return __awaiter(this, void 0, void 0, function () {
|
|
10426
10619
|
var localVarAxiosArgs;
|
|
10427
10620
|
return __generator(this, function (_a) {
|
|
10428
10621
|
switch (_a.label) {
|
|
10429
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
10622
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
10430
10623
|
case 1:
|
|
10431
10624
|
localVarAxiosArgs = _a.sent();
|
|
10432
10625
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10551,7 +10744,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10551
10744
|
* @summary Get all Hospitals.
|
|
10552
10745
|
* @param {string} [hospitalId]
|
|
10553
10746
|
* @param {string} [name]
|
|
10554
|
-
* @param {string} [description]
|
|
10555
10747
|
* @param {string} [countryId]
|
|
10556
10748
|
* @param {Date} [created]
|
|
10557
10749
|
* @param {MarketingType} [marketingType]
|
|
@@ -10569,12 +10761,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10569
10761
|
* @param {*} [options] Override http request option.
|
|
10570
10762
|
* @throws {RequiredError}
|
|
10571
10763
|
*/
|
|
10572
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name,
|
|
10764
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10573
10765
|
return __awaiter(this, void 0, void 0, function () {
|
|
10574
10766
|
var localVarAxiosArgs;
|
|
10575
10767
|
return __generator(this, function (_a) {
|
|
10576
10768
|
switch (_a.label) {
|
|
10577
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name,
|
|
10769
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10578
10770
|
case 1:
|
|
10579
10771
|
localVarAxiosArgs = _a.sent();
|
|
10580
10772
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10617,7 +10809,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10617
10809
|
* @summary Get all Hospitals.
|
|
10618
10810
|
* @param {string} [hospitalId]
|
|
10619
10811
|
* @param {string} [name]
|
|
10620
|
-
* @param {string} [description]
|
|
10621
10812
|
* @param {string} [countryId]
|
|
10622
10813
|
* @param {Date} [created]
|
|
10623
10814
|
* @param {MarketingType} [marketingType]
|
|
@@ -10635,8 +10826,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10635
10826
|
* @param {*} [options] Override http request option.
|
|
10636
10827
|
* @throws {RequiredError}
|
|
10637
10828
|
*/
|
|
10638
|
-
apiV2HospitalsGet: function (hospitalId, name,
|
|
10639
|
-
return localVarFp.apiV2HospitalsGet(hospitalId, name,
|
|
10829
|
+
apiV2HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10830
|
+
return localVarFp.apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10640
10831
|
},
|
|
10641
10832
|
/**
|
|
10642
10833
|
*
|
|
@@ -10796,27 +10987,32 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10796
10987
|
* @param {string} [specialtyId]
|
|
10797
10988
|
* @param {string} [specialtyName]
|
|
10798
10989
|
* @param {string} [specialtyTypeId]
|
|
10990
|
+
* @param {string} [title]
|
|
10799
10991
|
* @param {MarketingType} [marketingType]
|
|
10800
|
-
* @param {
|
|
10992
|
+
* @param {string} [languageCode]
|
|
10993
|
+
* @param {boolean} [showHidden]
|
|
10994
|
+
* @param {boolean} [returnDefaultValue]
|
|
10801
10995
|
* @param {number} [page]
|
|
10802
10996
|
* @param {number} [limit]
|
|
10803
10997
|
* @param {Date} [lastRetrieved]
|
|
10804
10998
|
* @param {*} [options] Override http request option.
|
|
10805
10999
|
* @throws {RequiredError}
|
|
10806
11000
|
*/
|
|
10807
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
10808
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
11001
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11002
|
+
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); });
|
|
10809
11003
|
},
|
|
10810
11004
|
/**
|
|
10811
11005
|
*
|
|
10812
11006
|
* @summary Get HospitalSpecialty.
|
|
10813
11007
|
* @param {string} hospitalId
|
|
10814
11008
|
* @param {string} specialtyId
|
|
11009
|
+
* @param {string} [languageCode]
|
|
11010
|
+
* @param {boolean} [returnDefaultValue]
|
|
10815
11011
|
* @param {*} [options] Override http request option.
|
|
10816
11012
|
* @throws {RequiredError}
|
|
10817
11013
|
*/
|
|
10818
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10819
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
11014
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
11015
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10820
11016
|
},
|
|
10821
11017
|
/**
|
|
10822
11018
|
*
|
|
@@ -10895,7 +11091,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10895
11091
|
* @summary Get all Hospitals.
|
|
10896
11092
|
* @param {string} [hospitalId]
|
|
10897
11093
|
* @param {string} [name]
|
|
10898
|
-
* @param {string} [description]
|
|
10899
11094
|
* @param {string} [countryId]
|
|
10900
11095
|
* @param {Date} [created]
|
|
10901
11096
|
* @param {MarketingType} [marketingType]
|
|
@@ -10913,8 +11108,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10913
11108
|
* @param {*} [options] Override http request option.
|
|
10914
11109
|
* @throws {RequiredError}
|
|
10915
11110
|
*/
|
|
10916
|
-
apiV2HospitalsSimpleGet: function (hospitalId, name,
|
|
10917
|
-
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name,
|
|
11111
|
+
apiV2HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11112
|
+
return localVarFp.apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10918
11113
|
},
|
|
10919
11114
|
/**
|
|
10920
11115
|
*
|
|
@@ -10945,7 +11140,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10945
11140
|
* @summary Get all Hospitals.
|
|
10946
11141
|
* @param {string} [hospitalId]
|
|
10947
11142
|
* @param {string} [name]
|
|
10948
|
-
* @param {string} [description]
|
|
10949
11143
|
* @param {string} [countryId]
|
|
10950
11144
|
* @param {Date} [created]
|
|
10951
11145
|
* @param {MarketingType} [marketingType]
|
|
@@ -10964,9 +11158,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
10964
11158
|
* @throws {RequiredError}
|
|
10965
11159
|
* @memberof HospitalsApi
|
|
10966
11160
|
*/
|
|
10967
|
-
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name,
|
|
11161
|
+
HospitalsApi.prototype.apiV2HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10968
11162
|
var _this = this;
|
|
10969
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name,
|
|
11163
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10970
11164
|
};
|
|
10971
11165
|
/**
|
|
10972
11166
|
*
|
|
@@ -11148,8 +11342,11 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11148
11342
|
* @param {string} [specialtyId]
|
|
11149
11343
|
* @param {string} [specialtyName]
|
|
11150
11344
|
* @param {string} [specialtyTypeId]
|
|
11345
|
+
* @param {string} [title]
|
|
11151
11346
|
* @param {MarketingType} [marketingType]
|
|
11152
|
-
* @param {
|
|
11347
|
+
* @param {string} [languageCode]
|
|
11348
|
+
* @param {boolean} [showHidden]
|
|
11349
|
+
* @param {boolean} [returnDefaultValue]
|
|
11153
11350
|
* @param {number} [page]
|
|
11154
11351
|
* @param {number} [limit]
|
|
11155
11352
|
* @param {Date} [lastRetrieved]
|
|
@@ -11157,22 +11354,24 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11157
11354
|
* @throws {RequiredError}
|
|
11158
11355
|
* @memberof HospitalsApi
|
|
11159
11356
|
*/
|
|
11160
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
11357
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11161
11358
|
var _this = this;
|
|
11162
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
11359
|
+
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); });
|
|
11163
11360
|
};
|
|
11164
11361
|
/**
|
|
11165
11362
|
*
|
|
11166
11363
|
* @summary Get HospitalSpecialty.
|
|
11167
11364
|
* @param {string} hospitalId
|
|
11168
11365
|
* @param {string} specialtyId
|
|
11366
|
+
* @param {string} [languageCode]
|
|
11367
|
+
* @param {boolean} [returnDefaultValue]
|
|
11169
11368
|
* @param {*} [options] Override http request option.
|
|
11170
11369
|
* @throws {RequiredError}
|
|
11171
11370
|
* @memberof HospitalsApi
|
|
11172
11371
|
*/
|
|
11173
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
11372
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
11174
11373
|
var _this = this;
|
|
11175
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11374
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11176
11375
|
};
|
|
11177
11376
|
/**
|
|
11178
11377
|
*
|
|
@@ -11259,7 +11458,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11259
11458
|
* @summary Get all Hospitals.
|
|
11260
11459
|
* @param {string} [hospitalId]
|
|
11261
11460
|
* @param {string} [name]
|
|
11262
|
-
* @param {string} [description]
|
|
11263
11461
|
* @param {string} [countryId]
|
|
11264
11462
|
* @param {Date} [created]
|
|
11265
11463
|
* @param {MarketingType} [marketingType]
|
|
@@ -11278,9 +11476,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11278
11476
|
* @throws {RequiredError}
|
|
11279
11477
|
* @memberof HospitalsApi
|
|
11280
11478
|
*/
|
|
11281
|
-
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name,
|
|
11479
|
+
HospitalsApi.prototype.apiV2HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11282
11480
|
var _this = this;
|
|
11283
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name,
|
|
11481
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11284
11482
|
};
|
|
11285
11483
|
/**
|
|
11286
11484
|
*
|
|
@@ -14530,6 +14728,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14530
14728
|
* @param {string} [serviceName]
|
|
14531
14729
|
* @param {string} [patientId]
|
|
14532
14730
|
* @param {string} [patientName]
|
|
14731
|
+
* @param {Gender} [gender]
|
|
14533
14732
|
* @param {boolean} [recommended]
|
|
14534
14733
|
* @param {number} [rate]
|
|
14535
14734
|
* @param {ReviewType} [reviewType]
|
|
@@ -14539,7 +14738,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14539
14738
|
* @param {*} [options] Override http request option.
|
|
14540
14739
|
* @throws {RequiredError}
|
|
14541
14740
|
*/
|
|
14542
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14741
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14543
14742
|
if (options === void 0) { options = {}; }
|
|
14544
14743
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14545
14744
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14567,6 +14766,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14567
14766
|
if (patientName !== undefined) {
|
|
14568
14767
|
localVarQueryParameter['PatientName'] = patientName;
|
|
14569
14768
|
}
|
|
14769
|
+
if (gender !== undefined) {
|
|
14770
|
+
localVarQueryParameter['Gender'] = gender;
|
|
14771
|
+
}
|
|
14570
14772
|
if (recommended !== undefined) {
|
|
14571
14773
|
localVarQueryParameter['Recommended'] = recommended;
|
|
14572
14774
|
}
|
|
@@ -15012,6 +15214,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15012
15214
|
* @param {string} [serviceName]
|
|
15013
15215
|
* @param {string} [patientId]
|
|
15014
15216
|
* @param {string} [patientName]
|
|
15217
|
+
* @param {Gender} [gender]
|
|
15015
15218
|
* @param {boolean} [recommended]
|
|
15016
15219
|
* @param {number} [rate]
|
|
15017
15220
|
* @param {ReviewType} [reviewType]
|
|
@@ -15021,12 +15224,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15021
15224
|
* @param {*} [options] Override http request option.
|
|
15022
15225
|
* @throws {RequiredError}
|
|
15023
15226
|
*/
|
|
15024
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15227
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15025
15228
|
return __awaiter(this, void 0, void 0, function () {
|
|
15026
15229
|
var localVarAxiosArgs;
|
|
15027
15230
|
return __generator(this, function (_a) {
|
|
15028
15231
|
switch (_a.label) {
|
|
15029
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15232
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15030
15233
|
case 1:
|
|
15031
15234
|
localVarAxiosArgs = _a.sent();
|
|
15032
15235
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15241,6 +15444,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15241
15444
|
* @param {string} [serviceName]
|
|
15242
15445
|
* @param {string} [patientId]
|
|
15243
15446
|
* @param {string} [patientName]
|
|
15447
|
+
* @param {Gender} [gender]
|
|
15244
15448
|
* @param {boolean} [recommended]
|
|
15245
15449
|
* @param {number} [rate]
|
|
15246
15450
|
* @param {ReviewType} [reviewType]
|
|
@@ -15250,8 +15454,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15250
15454
|
* @param {*} [options] Override http request option.
|
|
15251
15455
|
* @throws {RequiredError}
|
|
15252
15456
|
*/
|
|
15253
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15254
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15457
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15458
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15255
15459
|
},
|
|
15256
15460
|
/**
|
|
15257
15461
|
*
|
|
@@ -15374,6 +15578,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15374
15578
|
* @param {string} [serviceName]
|
|
15375
15579
|
* @param {string} [patientId]
|
|
15376
15580
|
* @param {string} [patientName]
|
|
15581
|
+
* @param {Gender} [gender]
|
|
15377
15582
|
* @param {boolean} [recommended]
|
|
15378
15583
|
* @param {number} [rate]
|
|
15379
15584
|
* @param {ReviewType} [reviewType]
|
|
@@ -15384,9 +15589,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15384
15589
|
* @throws {RequiredError}
|
|
15385
15590
|
* @memberof ServiceReviewsApi
|
|
15386
15591
|
*/
|
|
15387
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15592
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15388
15593
|
var _this = this;
|
|
15389
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15594
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15390
15595
|
};
|
|
15391
15596
|
/**
|
|
15392
15597
|
*
|
|
@@ -15937,14 +16142,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
15937
16142
|
* @summary Get all ServiceCategories.
|
|
15938
16143
|
* @param {string} [id]
|
|
15939
16144
|
* @param {string} [name]
|
|
15940
|
-
* @param {string} [description]
|
|
15941
16145
|
* @param {number} [page]
|
|
15942
16146
|
* @param {number} [limit]
|
|
15943
16147
|
* @param {Date} [lastRetrieved]
|
|
15944
16148
|
* @param {*} [options] Override http request option.
|
|
15945
16149
|
* @throws {RequiredError}
|
|
15946
16150
|
*/
|
|
15947
|
-
apiV2ServicescategoriesGet: function (id, name,
|
|
16151
|
+
apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
15948
16152
|
if (options === void 0) { options = {}; }
|
|
15949
16153
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15950
16154
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15963,9 +16167,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
15963
16167
|
if (name !== undefined) {
|
|
15964
16168
|
localVarQueryParameter['Name'] = name;
|
|
15965
16169
|
}
|
|
15966
|
-
if (description !== undefined) {
|
|
15967
|
-
localVarQueryParameter['Description'] = description;
|
|
15968
|
-
}
|
|
15969
16170
|
if (page !== undefined) {
|
|
15970
16171
|
localVarQueryParameter['page'] = page;
|
|
15971
16172
|
}
|
|
@@ -16034,19 +16235,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
16034
16235
|
* @summary Get all ServiceCategories.
|
|
16035
16236
|
* @param {string} [id]
|
|
16036
16237
|
* @param {string} [name]
|
|
16037
|
-
* @param {string} [description]
|
|
16038
16238
|
* @param {number} [page]
|
|
16039
16239
|
* @param {number} [limit]
|
|
16040
16240
|
* @param {Date} [lastRetrieved]
|
|
16041
16241
|
* @param {*} [options] Override http request option.
|
|
16042
16242
|
* @throws {RequiredError}
|
|
16043
16243
|
*/
|
|
16044
|
-
apiV2ServicescategoriesGet: function (id, name,
|
|
16244
|
+
apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
16045
16245
|
return __awaiter(this, void 0, void 0, function () {
|
|
16046
16246
|
var localVarAxiosArgs;
|
|
16047
16247
|
return __generator(this, function (_a) {
|
|
16048
16248
|
switch (_a.label) {
|
|
16049
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name,
|
|
16249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options)];
|
|
16050
16250
|
case 1:
|
|
16051
16251
|
localVarAxiosArgs = _a.sent();
|
|
16052
16252
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16088,15 +16288,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
16088
16288
|
* @summary Get all ServiceCategories.
|
|
16089
16289
|
* @param {string} [id]
|
|
16090
16290
|
* @param {string} [name]
|
|
16091
|
-
* @param {string} [description]
|
|
16092
16291
|
* @param {number} [page]
|
|
16093
16292
|
* @param {number} [limit]
|
|
16094
16293
|
* @param {Date} [lastRetrieved]
|
|
16095
16294
|
* @param {*} [options] Override http request option.
|
|
16096
16295
|
* @throws {RequiredError}
|
|
16097
16296
|
*/
|
|
16098
|
-
apiV2ServicescategoriesGet: function (id, name,
|
|
16099
|
-
return localVarFp.apiV2ServicescategoriesGet(id, name,
|
|
16297
|
+
apiV2ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
16298
|
+
return localVarFp.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16100
16299
|
},
|
|
16101
16300
|
/**
|
|
16102
16301
|
*
|
|
@@ -16126,7 +16325,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
16126
16325
|
* @summary Get all ServiceCategories.
|
|
16127
16326
|
* @param {string} [id]
|
|
16128
16327
|
* @param {string} [name]
|
|
16129
|
-
* @param {string} [description]
|
|
16130
16328
|
* @param {number} [page]
|
|
16131
16329
|
* @param {number} [limit]
|
|
16132
16330
|
* @param {Date} [lastRetrieved]
|
|
@@ -16134,9 +16332,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
16134
16332
|
* @throws {RequiredError}
|
|
16135
16333
|
* @memberof ServicesCategoriesApi
|
|
16136
16334
|
*/
|
|
16137
|
-
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name,
|
|
16335
|
+
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (id, name, page, limit, lastRetrieved, options) {
|
|
16138
16336
|
var _this = this;
|
|
16139
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name,
|
|
16337
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16140
16338
|
};
|
|
16141
16339
|
/**
|
|
16142
16340
|
*
|