ch-api-client-typescript2 2.7.6 → 2.8.0
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 +554 -41
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +261 -37
- package/package.json +1 -1
- package/src/api.ts +689 -59
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.ReviewCategory = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.AutocompleteMode = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -268,6 +268,18 @@ var RejectReason;
|
|
|
268
268
|
RejectReason["ScheduleNotAvailable"] = "ScheduleNotAvailable";
|
|
269
269
|
RejectReason["OtherReason"] = "OtherReason";
|
|
270
270
|
})(RejectReason = exports.RejectReason || (exports.RejectReason = {}));
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @export
|
|
274
|
+
* @enum {string}
|
|
275
|
+
*/
|
|
276
|
+
var ReviewCategory;
|
|
277
|
+
(function (ReviewCategory) {
|
|
278
|
+
ReviewCategory["Services"] = "Services";
|
|
279
|
+
ReviewCategory["Hospitality"] = "Hospitality";
|
|
280
|
+
ReviewCategory["Transfer"] = "Transfer";
|
|
281
|
+
ReviewCategory["Etc"] = "Etc";
|
|
282
|
+
})(ReviewCategory = exports.ReviewCategory || (exports.ReviewCategory = {}));
|
|
271
283
|
/**
|
|
272
284
|
*
|
|
273
285
|
* @export
|
|
@@ -5796,6 +5808,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5796
5808
|
* @param {string} [hospitalName]
|
|
5797
5809
|
* @param {string} [specialtyId]
|
|
5798
5810
|
* @param {string} [specialtyTypeId]
|
|
5811
|
+
* @param {string} [serviceId]
|
|
5799
5812
|
* @param {string} [exceptHospitalId]
|
|
5800
5813
|
* @param {string} [exceptDealId]
|
|
5801
5814
|
* @param {Array<string>} [ids]
|
|
@@ -5808,7 +5821,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5808
5821
|
* @param {*} [options] Override http request option.
|
|
5809
5822
|
* @throws {RequiredError}
|
|
5810
5823
|
*/
|
|
5811
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5824
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5812
5825
|
if (options === void 0) { options = {}; }
|
|
5813
5826
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5814
5827
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5845,6 +5858,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5845
5858
|
if (specialtyTypeId !== undefined) {
|
|
5846
5859
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5847
5860
|
}
|
|
5861
|
+
if (serviceId !== undefined) {
|
|
5862
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5863
|
+
}
|
|
5848
5864
|
if (exceptHospitalId !== undefined) {
|
|
5849
5865
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5850
5866
|
}
|
|
@@ -6061,6 +6077,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6061
6077
|
* @param {string} [hospitalName]
|
|
6062
6078
|
* @param {string} [specialtyId]
|
|
6063
6079
|
* @param {string} [specialtyTypeId]
|
|
6080
|
+
* @param {string} [serviceId]
|
|
6064
6081
|
* @param {string} [exceptHospitalId]
|
|
6065
6082
|
* @param {string} [exceptDealId]
|
|
6066
6083
|
* @param {Array<string>} [ids]
|
|
@@ -6073,12 +6090,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6073
6090
|
* @param {*} [options] Override http request option.
|
|
6074
6091
|
* @throws {RequiredError}
|
|
6075
6092
|
*/
|
|
6076
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6093
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6077
6094
|
return __awaiter(this, void 0, void 0, function () {
|
|
6078
6095
|
var localVarAxiosArgs;
|
|
6079
6096
|
return __generator(this, function (_a) {
|
|
6080
6097
|
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)];
|
|
6098
|
+
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
6099
|
case 1:
|
|
6083
6100
|
localVarAxiosArgs = _a.sent();
|
|
6084
6101
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6194,6 +6211,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6194
6211
|
* @param {string} [hospitalName]
|
|
6195
6212
|
* @param {string} [specialtyId]
|
|
6196
6213
|
* @param {string} [specialtyTypeId]
|
|
6214
|
+
* @param {string} [serviceId]
|
|
6197
6215
|
* @param {string} [exceptHospitalId]
|
|
6198
6216
|
* @param {string} [exceptDealId]
|
|
6199
6217
|
* @param {Array<string>} [ids]
|
|
@@ -6206,8 +6224,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6206
6224
|
* @param {*} [options] Override http request option.
|
|
6207
6225
|
* @throws {RequiredError}
|
|
6208
6226
|
*/
|
|
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); });
|
|
6227
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6228
|
+
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
6229
|
},
|
|
6212
6230
|
/**
|
|
6213
6231
|
*
|
|
@@ -6321,6 +6339,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6321
6339
|
* @param {string} [hospitalName]
|
|
6322
6340
|
* @param {string} [specialtyId]
|
|
6323
6341
|
* @param {string} [specialtyTypeId]
|
|
6342
|
+
* @param {string} [serviceId]
|
|
6324
6343
|
* @param {string} [exceptHospitalId]
|
|
6325
6344
|
* @param {string} [exceptDealId]
|
|
6326
6345
|
* @param {Array<string>} [ids]
|
|
@@ -6334,9 +6353,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6334
6353
|
* @throws {RequiredError}
|
|
6335
6354
|
* @memberof DealsApi
|
|
6336
6355
|
*/
|
|
6337
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6356
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6338
6357
|
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); });
|
|
6358
|
+
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
6359
|
};
|
|
6341
6360
|
/**
|
|
6342
6361
|
*
|
|
@@ -7079,6 +7098,97 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7079
7098
|
});
|
|
7080
7099
|
});
|
|
7081
7100
|
},
|
|
7101
|
+
/**
|
|
7102
|
+
*
|
|
7103
|
+
* @summary Get all Doctors.
|
|
7104
|
+
* @param {string} [hospitalId]
|
|
7105
|
+
* @param {string} [languageCode]
|
|
7106
|
+
* @param {boolean} [returnDefaultValue]
|
|
7107
|
+
* @param {Array<string>} [ids]
|
|
7108
|
+
* @param {string} [id]
|
|
7109
|
+
* @param {string} [fullname]
|
|
7110
|
+
* @param {string} [email]
|
|
7111
|
+
* @param {Gender} [gender]
|
|
7112
|
+
* @param {Date} [dateOfBirth]
|
|
7113
|
+
* @param {Date} [created]
|
|
7114
|
+
* @param {boolean} [showHidden]
|
|
7115
|
+
* @param {number} [page]
|
|
7116
|
+
* @param {number} [limit]
|
|
7117
|
+
* @param {Date} [lastRetrieved]
|
|
7118
|
+
* @param {*} [options] Override http request option.
|
|
7119
|
+
* @throws {RequiredError}
|
|
7120
|
+
*/
|
|
7121
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7122
|
+
if (options === void 0) { options = {}; }
|
|
7123
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7124
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7125
|
+
return __generator(this, function (_a) {
|
|
7126
|
+
localVarPath = "/api/v2/doctors/simple";
|
|
7127
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7128
|
+
if (configuration) {
|
|
7129
|
+
baseOptions = configuration.baseOptions;
|
|
7130
|
+
}
|
|
7131
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7132
|
+
localVarHeaderParameter = {};
|
|
7133
|
+
localVarQueryParameter = {};
|
|
7134
|
+
if (hospitalId !== undefined) {
|
|
7135
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7136
|
+
}
|
|
7137
|
+
if (languageCode !== undefined) {
|
|
7138
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7139
|
+
}
|
|
7140
|
+
if (returnDefaultValue !== undefined) {
|
|
7141
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7142
|
+
}
|
|
7143
|
+
if (ids) {
|
|
7144
|
+
localVarQueryParameter['Ids'] = ids;
|
|
7145
|
+
}
|
|
7146
|
+
if (id !== undefined) {
|
|
7147
|
+
localVarQueryParameter['Id'] = id;
|
|
7148
|
+
}
|
|
7149
|
+
if (fullname !== undefined) {
|
|
7150
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
7151
|
+
}
|
|
7152
|
+
if (email !== undefined) {
|
|
7153
|
+
localVarQueryParameter['Email'] = email;
|
|
7154
|
+
}
|
|
7155
|
+
if (gender !== undefined) {
|
|
7156
|
+
localVarQueryParameter['Gender'] = gender;
|
|
7157
|
+
}
|
|
7158
|
+
if (dateOfBirth !== undefined) {
|
|
7159
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
|
|
7160
|
+
dateOfBirth.toISOString() :
|
|
7161
|
+
dateOfBirth;
|
|
7162
|
+
}
|
|
7163
|
+
if (created !== undefined) {
|
|
7164
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
7165
|
+
created.toISOString() :
|
|
7166
|
+
created;
|
|
7167
|
+
}
|
|
7168
|
+
if (showHidden !== undefined) {
|
|
7169
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7170
|
+
}
|
|
7171
|
+
if (page !== undefined) {
|
|
7172
|
+
localVarQueryParameter['page'] = page;
|
|
7173
|
+
}
|
|
7174
|
+
if (limit !== undefined) {
|
|
7175
|
+
localVarQueryParameter['limit'] = limit;
|
|
7176
|
+
}
|
|
7177
|
+
if (lastRetrieved !== undefined) {
|
|
7178
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
7179
|
+
lastRetrieved.toISOString() :
|
|
7180
|
+
lastRetrieved;
|
|
7181
|
+
}
|
|
7182
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7183
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7184
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7185
|
+
return [2 /*return*/, {
|
|
7186
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
7187
|
+
options: localVarRequestOptions,
|
|
7188
|
+
}];
|
|
7189
|
+
});
|
|
7190
|
+
});
|
|
7191
|
+
},
|
|
7082
7192
|
/**
|
|
7083
7193
|
*
|
|
7084
7194
|
* @param {string} slug
|
|
@@ -7465,6 +7575,39 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
7465
7575
|
});
|
|
7466
7576
|
});
|
|
7467
7577
|
},
|
|
7578
|
+
/**
|
|
7579
|
+
*
|
|
7580
|
+
* @summary Get all Doctors.
|
|
7581
|
+
* @param {string} [hospitalId]
|
|
7582
|
+
* @param {string} [languageCode]
|
|
7583
|
+
* @param {boolean} [returnDefaultValue]
|
|
7584
|
+
* @param {Array<string>} [ids]
|
|
7585
|
+
* @param {string} [id]
|
|
7586
|
+
* @param {string} [fullname]
|
|
7587
|
+
* @param {string} [email]
|
|
7588
|
+
* @param {Gender} [gender]
|
|
7589
|
+
* @param {Date} [dateOfBirth]
|
|
7590
|
+
* @param {Date} [created]
|
|
7591
|
+
* @param {boolean} [showHidden]
|
|
7592
|
+
* @param {number} [page]
|
|
7593
|
+
* @param {number} [limit]
|
|
7594
|
+
* @param {Date} [lastRetrieved]
|
|
7595
|
+
* @param {*} [options] Override http request option.
|
|
7596
|
+
* @throws {RequiredError}
|
|
7597
|
+
*/
|
|
7598
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7599
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7600
|
+
var localVarAxiosArgs;
|
|
7601
|
+
return __generator(this, function (_a) {
|
|
7602
|
+
switch (_a.label) {
|
|
7603
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7604
|
+
case 1:
|
|
7605
|
+
localVarAxiosArgs = _a.sent();
|
|
7606
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7607
|
+
}
|
|
7608
|
+
});
|
|
7609
|
+
});
|
|
7610
|
+
},
|
|
7468
7611
|
/**
|
|
7469
7612
|
*
|
|
7470
7613
|
* @param {string} slug
|
|
@@ -7692,6 +7835,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7692
7835
|
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7693
7836
|
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
7837
|
},
|
|
7838
|
+
/**
|
|
7839
|
+
*
|
|
7840
|
+
* @summary Get all Doctors.
|
|
7841
|
+
* @param {string} [hospitalId]
|
|
7842
|
+
* @param {string} [languageCode]
|
|
7843
|
+
* @param {boolean} [returnDefaultValue]
|
|
7844
|
+
* @param {Array<string>} [ids]
|
|
7845
|
+
* @param {string} [id]
|
|
7846
|
+
* @param {string} [fullname]
|
|
7847
|
+
* @param {string} [email]
|
|
7848
|
+
* @param {Gender} [gender]
|
|
7849
|
+
* @param {Date} [dateOfBirth]
|
|
7850
|
+
* @param {Date} [created]
|
|
7851
|
+
* @param {boolean} [showHidden]
|
|
7852
|
+
* @param {number} [page]
|
|
7853
|
+
* @param {number} [limit]
|
|
7854
|
+
* @param {Date} [lastRetrieved]
|
|
7855
|
+
* @param {*} [options] Override http request option.
|
|
7856
|
+
* @throws {RequiredError}
|
|
7857
|
+
*/
|
|
7858
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7859
|
+
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); });
|
|
7860
|
+
},
|
|
7695
7861
|
/**
|
|
7696
7862
|
*
|
|
7697
7863
|
* @param {string} slug
|
|
@@ -7941,6 +8107,31 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7941
8107
|
var _this = this;
|
|
7942
8108
|
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
8109
|
};
|
|
8110
|
+
/**
|
|
8111
|
+
*
|
|
8112
|
+
* @summary Get all Doctors.
|
|
8113
|
+
* @param {string} [hospitalId]
|
|
8114
|
+
* @param {string} [languageCode]
|
|
8115
|
+
* @param {boolean} [returnDefaultValue]
|
|
8116
|
+
* @param {Array<string>} [ids]
|
|
8117
|
+
* @param {string} [id]
|
|
8118
|
+
* @param {string} [fullname]
|
|
8119
|
+
* @param {string} [email]
|
|
8120
|
+
* @param {Gender} [gender]
|
|
8121
|
+
* @param {Date} [dateOfBirth]
|
|
8122
|
+
* @param {Date} [created]
|
|
8123
|
+
* @param {boolean} [showHidden]
|
|
8124
|
+
* @param {number} [page]
|
|
8125
|
+
* @param {number} [limit]
|
|
8126
|
+
* @param {Date} [lastRetrieved]
|
|
8127
|
+
* @param {*} [options] Override http request option.
|
|
8128
|
+
* @throws {RequiredError}
|
|
8129
|
+
* @memberof DoctorsApi
|
|
8130
|
+
*/
|
|
8131
|
+
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8132
|
+
var _this = this;
|
|
8133
|
+
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); });
|
|
8134
|
+
};
|
|
7944
8135
|
/**
|
|
7945
8136
|
*
|
|
7946
8137
|
* @param {string} slug
|
|
@@ -9565,14 +9756,16 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9565
9756
|
* @param {string} [specialtyTypeId]
|
|
9566
9757
|
* @param {string} [title]
|
|
9567
9758
|
* @param {MarketingType} [marketingType]
|
|
9568
|
-
* @param {
|
|
9759
|
+
* @param {string} [languageCode]
|
|
9760
|
+
* @param {boolean} [showHidden]
|
|
9761
|
+
* @param {boolean} [returnDefaultValue]
|
|
9569
9762
|
* @param {number} [page]
|
|
9570
9763
|
* @param {number} [limit]
|
|
9571
9764
|
* @param {Date} [lastRetrieved]
|
|
9572
9765
|
* @param {*} [options] Override http request option.
|
|
9573
9766
|
* @throws {RequiredError}
|
|
9574
9767
|
*/
|
|
9575
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
9768
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9576
9769
|
if (options === void 0) { options = {}; }
|
|
9577
9770
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9578
9771
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9609,10 +9802,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9609
9802
|
if (marketingType !== undefined) {
|
|
9610
9803
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
9611
9804
|
}
|
|
9612
|
-
if (
|
|
9613
|
-
localVarQueryParameter['
|
|
9614
|
-
|
|
9615
|
-
|
|
9805
|
+
if (languageCode !== undefined) {
|
|
9806
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
9807
|
+
}
|
|
9808
|
+
if (showHidden !== undefined) {
|
|
9809
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
9810
|
+
}
|
|
9811
|
+
if (returnDefaultValue !== undefined) {
|
|
9812
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
9616
9813
|
}
|
|
9617
9814
|
if (page !== undefined) {
|
|
9618
9815
|
localVarQueryParameter['page'] = page;
|
|
@@ -9640,10 +9837,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9640
9837
|
* @summary Get HospitalSpecialty.
|
|
9641
9838
|
* @param {string} hospitalId
|
|
9642
9839
|
* @param {string} specialtyId
|
|
9840
|
+
* @param {string} [languageCode]
|
|
9841
|
+
* @param {boolean} [returnDefaultValue]
|
|
9643
9842
|
* @param {*} [options] Override http request option.
|
|
9644
9843
|
* @throws {RequiredError}
|
|
9645
9844
|
*/
|
|
9646
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
9845
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
9647
9846
|
if (options === void 0) { options = {}; }
|
|
9648
9847
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9649
9848
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9662,6 +9861,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
9662
9861
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9663
9862
|
localVarHeaderParameter = {};
|
|
9664
9863
|
localVarQueryParameter = {};
|
|
9864
|
+
if (languageCode !== undefined) {
|
|
9865
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
9866
|
+
}
|
|
9867
|
+
if (returnDefaultValue !== undefined) {
|
|
9868
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
9869
|
+
}
|
|
9665
9870
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9666
9871
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9667
9872
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10389,19 +10594,21 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10389
10594
|
* @param {string} [specialtyTypeId]
|
|
10390
10595
|
* @param {string} [title]
|
|
10391
10596
|
* @param {MarketingType} [marketingType]
|
|
10392
|
-
* @param {
|
|
10597
|
+
* @param {string} [languageCode]
|
|
10598
|
+
* @param {boolean} [showHidden]
|
|
10599
|
+
* @param {boolean} [returnDefaultValue]
|
|
10393
10600
|
* @param {number} [page]
|
|
10394
10601
|
* @param {number} [limit]
|
|
10395
10602
|
* @param {Date} [lastRetrieved]
|
|
10396
10603
|
* @param {*} [options] Override http request option.
|
|
10397
10604
|
* @throws {RequiredError}
|
|
10398
10605
|
*/
|
|
10399
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10606
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10400
10607
|
return __awaiter(this, void 0, void 0, function () {
|
|
10401
10608
|
var localVarAxiosArgs;
|
|
10402
10609
|
return __generator(this, function (_a) {
|
|
10403
10610
|
switch (_a.label) {
|
|
10404
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10611
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10405
10612
|
case 1:
|
|
10406
10613
|
localVarAxiosArgs = _a.sent();
|
|
10407
10614
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10414,15 +10621,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
10414
10621
|
* @summary Get HospitalSpecialty.
|
|
10415
10622
|
* @param {string} hospitalId
|
|
10416
10623
|
* @param {string} specialtyId
|
|
10624
|
+
* @param {string} [languageCode]
|
|
10625
|
+
* @param {boolean} [returnDefaultValue]
|
|
10417
10626
|
* @param {*} [options] Override http request option.
|
|
10418
10627
|
* @throws {RequiredError}
|
|
10419
10628
|
*/
|
|
10420
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10629
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
10421
10630
|
return __awaiter(this, void 0, void 0, function () {
|
|
10422
10631
|
var localVarAxiosArgs;
|
|
10423
10632
|
return __generator(this, function (_a) {
|
|
10424
10633
|
switch (_a.label) {
|
|
10425
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
10634
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
10426
10635
|
case 1:
|
|
10427
10636
|
localVarAxiosArgs = _a.sent();
|
|
10428
10637
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10792,26 +11001,30 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
10792
11001
|
* @param {string} [specialtyTypeId]
|
|
10793
11002
|
* @param {string} [title]
|
|
10794
11003
|
* @param {MarketingType} [marketingType]
|
|
10795
|
-
* @param {
|
|
11004
|
+
* @param {string} [languageCode]
|
|
11005
|
+
* @param {boolean} [showHidden]
|
|
11006
|
+
* @param {boolean} [returnDefaultValue]
|
|
10796
11007
|
* @param {number} [page]
|
|
10797
11008
|
* @param {number} [limit]
|
|
10798
11009
|
* @param {Date} [lastRetrieved]
|
|
10799
11010
|
* @param {*} [options] Override http request option.
|
|
10800
11011
|
* @throws {RequiredError}
|
|
10801
11012
|
*/
|
|
10802
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
10803
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
11013
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11014
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
10804
11015
|
},
|
|
10805
11016
|
/**
|
|
10806
11017
|
*
|
|
10807
11018
|
* @summary Get HospitalSpecialty.
|
|
10808
11019
|
* @param {string} hospitalId
|
|
10809
11020
|
* @param {string} specialtyId
|
|
11021
|
+
* @param {string} [languageCode]
|
|
11022
|
+
* @param {boolean} [returnDefaultValue]
|
|
10810
11023
|
* @param {*} [options] Override http request option.
|
|
10811
11024
|
* @throws {RequiredError}
|
|
10812
11025
|
*/
|
|
10813
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
10814
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
11026
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
11027
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
10815
11028
|
},
|
|
10816
11029
|
/**
|
|
10817
11030
|
*
|
|
@@ -11143,7 +11356,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11143
11356
|
* @param {string} [specialtyTypeId]
|
|
11144
11357
|
* @param {string} [title]
|
|
11145
11358
|
* @param {MarketingType} [marketingType]
|
|
11146
|
-
* @param {
|
|
11359
|
+
* @param {string} [languageCode]
|
|
11360
|
+
* @param {boolean} [showHidden]
|
|
11361
|
+
* @param {boolean} [returnDefaultValue]
|
|
11147
11362
|
* @param {number} [page]
|
|
11148
11363
|
* @param {number} [limit]
|
|
11149
11364
|
* @param {Date} [lastRetrieved]
|
|
@@ -11151,22 +11366,24 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
11151
11366
|
* @throws {RequiredError}
|
|
11152
11367
|
* @memberof HospitalsApi
|
|
11153
11368
|
*/
|
|
11154
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
11369
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11155
11370
|
var _this = this;
|
|
11156
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType,
|
|
11371
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11157
11372
|
};
|
|
11158
11373
|
/**
|
|
11159
11374
|
*
|
|
11160
11375
|
* @summary Get HospitalSpecialty.
|
|
11161
11376
|
* @param {string} hospitalId
|
|
11162
11377
|
* @param {string} specialtyId
|
|
11378
|
+
* @param {string} [languageCode]
|
|
11379
|
+
* @param {boolean} [returnDefaultValue]
|
|
11163
11380
|
* @param {*} [options] Override http request option.
|
|
11164
11381
|
* @throws {RequiredError}
|
|
11165
11382
|
* @memberof HospitalsApi
|
|
11166
11383
|
*/
|
|
11167
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
11384
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
11168
11385
|
var _this = this;
|
|
11169
|
-
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11386
|
+
return exports.HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11170
11387
|
};
|
|
11171
11388
|
/**
|
|
11172
11389
|
*
|
|
@@ -14523,6 +14740,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14523
14740
|
* @param {string} [serviceName]
|
|
14524
14741
|
* @param {string} [patientId]
|
|
14525
14742
|
* @param {string} [patientName]
|
|
14743
|
+
* @param {Gender} [gender]
|
|
14526
14744
|
* @param {boolean} [recommended]
|
|
14527
14745
|
* @param {number} [rate]
|
|
14528
14746
|
* @param {ReviewType} [reviewType]
|
|
@@ -14532,7 +14750,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14532
14750
|
* @param {*} [options] Override http request option.
|
|
14533
14751
|
* @throws {RequiredError}
|
|
14534
14752
|
*/
|
|
14535
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14753
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14536
14754
|
if (options === void 0) { options = {}; }
|
|
14537
14755
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14538
14756
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14560,6 +14778,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14560
14778
|
if (patientName !== undefined) {
|
|
14561
14779
|
localVarQueryParameter['PatientName'] = patientName;
|
|
14562
14780
|
}
|
|
14781
|
+
if (gender !== undefined) {
|
|
14782
|
+
localVarQueryParameter['Gender'] = gender;
|
|
14783
|
+
}
|
|
14563
14784
|
if (recommended !== undefined) {
|
|
14564
14785
|
localVarQueryParameter['Recommended'] = recommended;
|
|
14565
14786
|
}
|
|
@@ -15005,6 +15226,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15005
15226
|
* @param {string} [serviceName]
|
|
15006
15227
|
* @param {string} [patientId]
|
|
15007
15228
|
* @param {string} [patientName]
|
|
15229
|
+
* @param {Gender} [gender]
|
|
15008
15230
|
* @param {boolean} [recommended]
|
|
15009
15231
|
* @param {number} [rate]
|
|
15010
15232
|
* @param {ReviewType} [reviewType]
|
|
@@ -15014,12 +15236,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15014
15236
|
* @param {*} [options] Override http request option.
|
|
15015
15237
|
* @throws {RequiredError}
|
|
15016
15238
|
*/
|
|
15017
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15239
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15018
15240
|
return __awaiter(this, void 0, void 0, function () {
|
|
15019
15241
|
var localVarAxiosArgs;
|
|
15020
15242
|
return __generator(this, function (_a) {
|
|
15021
15243
|
switch (_a.label) {
|
|
15022
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15244
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15023
15245
|
case 1:
|
|
15024
15246
|
localVarAxiosArgs = _a.sent();
|
|
15025
15247
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15234,6 +15456,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15234
15456
|
* @param {string} [serviceName]
|
|
15235
15457
|
* @param {string} [patientId]
|
|
15236
15458
|
* @param {string} [patientName]
|
|
15459
|
+
* @param {Gender} [gender]
|
|
15237
15460
|
* @param {boolean} [recommended]
|
|
15238
15461
|
* @param {number} [rate]
|
|
15239
15462
|
* @param {ReviewType} [reviewType]
|
|
@@ -15243,8 +15466,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15243
15466
|
* @param {*} [options] Override http request option.
|
|
15244
15467
|
* @throws {RequiredError}
|
|
15245
15468
|
*/
|
|
15246
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15247
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15469
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15470
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15248
15471
|
},
|
|
15249
15472
|
/**
|
|
15250
15473
|
*
|
|
@@ -15367,6 +15590,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15367
15590
|
* @param {string} [serviceName]
|
|
15368
15591
|
* @param {string} [patientId]
|
|
15369
15592
|
* @param {string} [patientName]
|
|
15593
|
+
* @param {Gender} [gender]
|
|
15370
15594
|
* @param {boolean} [recommended]
|
|
15371
15595
|
* @param {number} [rate]
|
|
15372
15596
|
* @param {ReviewType} [reviewType]
|
|
@@ -15377,9 +15601,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15377
15601
|
* @throws {RequiredError}
|
|
15378
15602
|
* @memberof ServiceReviewsApi
|
|
15379
15603
|
*/
|
|
15380
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15604
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15381
15605
|
var _this = this;
|
|
15382
|
-
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); });
|
|
15606
|
+
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); });
|
|
15383
15607
|
};
|
|
15384
15608
|
/**
|
|
15385
15609
|
*
|