ch-admin-api-client-typescript 2.7.5 → 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 +485 -64
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +286 -78
- package/package.json +1 -1
- package/src/api.ts +633 -101
package/lib/api.js
CHANGED
|
@@ -9628,6 +9628,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9628
9628
|
* @param {string} [hospitalName]
|
|
9629
9629
|
* @param {string} [specialtyId]
|
|
9630
9630
|
* @param {string} [specialtyTypeId]
|
|
9631
|
+
* @param {string} [serviceId]
|
|
9631
9632
|
* @param {string} [exceptHospitalId]
|
|
9632
9633
|
* @param {string} [exceptDealId]
|
|
9633
9634
|
* @param {Array<string>} [ids]
|
|
@@ -9640,7 +9641,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9640
9641
|
* @param {*} [options] Override http request option.
|
|
9641
9642
|
* @throws {RequiredError}
|
|
9642
9643
|
*/
|
|
9643
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9644
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
9644
9645
|
if (options === void 0) { options = {}; }
|
|
9645
9646
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9646
9647
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9686,6 +9687,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
9686
9687
|
if (specialtyTypeId !== undefined) {
|
|
9687
9688
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
9688
9689
|
}
|
|
9690
|
+
if (serviceId !== undefined) {
|
|
9691
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
9692
|
+
}
|
|
9689
9693
|
if (exceptHospitalId !== undefined) {
|
|
9690
9694
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
9691
9695
|
}
|
|
@@ -10124,6 +10128,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10124
10128
|
* @param {string} [hospitalName]
|
|
10125
10129
|
* @param {string} [specialtyId]
|
|
10126
10130
|
* @param {string} [specialtyTypeId]
|
|
10131
|
+
* @param {string} [serviceId]
|
|
10127
10132
|
* @param {string} [exceptHospitalId]
|
|
10128
10133
|
* @param {string} [exceptDealId]
|
|
10129
10134
|
* @param {Array<string>} [ids]
|
|
@@ -10136,12 +10141,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
10136
10141
|
* @param {*} [options] Override http request option.
|
|
10137
10142
|
* @throws {RequiredError}
|
|
10138
10143
|
*/
|
|
10139
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10144
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10140
10145
|
return __awaiter(this, void 0, void 0, function () {
|
|
10141
10146
|
var localVarAxiosArgs;
|
|
10142
10147
|
return __generator(this, function (_a) {
|
|
10143
10148
|
switch (_a.label) {
|
|
10144
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10149
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
10145
10150
|
case 1:
|
|
10146
10151
|
localVarAxiosArgs = _a.sent();
|
|
10147
10152
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10366,6 +10371,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10366
10371
|
* @param {string} [hospitalName]
|
|
10367
10372
|
* @param {string} [specialtyId]
|
|
10368
10373
|
* @param {string} [specialtyTypeId]
|
|
10374
|
+
* @param {string} [serviceId]
|
|
10369
10375
|
* @param {string} [exceptHospitalId]
|
|
10370
10376
|
* @param {string} [exceptDealId]
|
|
10371
10377
|
* @param {Array<string>} [ids]
|
|
@@ -10378,8 +10384,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
10378
10384
|
* @param {*} [options] Override http request option.
|
|
10379
10385
|
* @throws {RequiredError}
|
|
10380
10386
|
*/
|
|
10381
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10382
|
-
return localVarFp.apiV1DealsGet(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); });
|
|
10387
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10388
|
+
return localVarFp.apiV1DealsGet(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); });
|
|
10383
10389
|
},
|
|
10384
10390
|
/**
|
|
10385
10391
|
*
|
|
@@ -10608,6 +10614,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10608
10614
|
* @param {string} [hospitalName]
|
|
10609
10615
|
* @param {string} [specialtyId]
|
|
10610
10616
|
* @param {string} [specialtyTypeId]
|
|
10617
|
+
* @param {string} [serviceId]
|
|
10611
10618
|
* @param {string} [exceptHospitalId]
|
|
10612
10619
|
* @param {string} [exceptDealId]
|
|
10613
10620
|
* @param {Array<string>} [ids]
|
|
@@ -10621,9 +10628,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
10621
10628
|
* @throws {RequiredError}
|
|
10622
10629
|
* @memberof DealsApi
|
|
10623
10630
|
*/
|
|
10624
|
-
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10631
|
+
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10625
10632
|
var _this = this;
|
|
10626
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsGet(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); });
|
|
10633
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsGet(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); });
|
|
10627
10634
|
};
|
|
10628
10635
|
/**
|
|
10629
10636
|
*
|
|
@@ -12456,6 +12463,107 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12456
12463
|
});
|
|
12457
12464
|
});
|
|
12458
12465
|
},
|
|
12466
|
+
/**
|
|
12467
|
+
*
|
|
12468
|
+
* @summary Get all Doctors.
|
|
12469
|
+
* @param {string} [hospitalId]
|
|
12470
|
+
* @param {string} [languageCode]
|
|
12471
|
+
* @param {boolean} [returnDefaultValue]
|
|
12472
|
+
* @param {Array<string>} [ids]
|
|
12473
|
+
* @param {string} [id]
|
|
12474
|
+
* @param {string} [fullname]
|
|
12475
|
+
* @param {string} [email]
|
|
12476
|
+
* @param {Gender} [gender]
|
|
12477
|
+
* @param {Date} [dateOfBirth]
|
|
12478
|
+
* @param {Date} [created]
|
|
12479
|
+
* @param {boolean} [showHidden]
|
|
12480
|
+
* @param {number} [page]
|
|
12481
|
+
* @param {number} [limit]
|
|
12482
|
+
* @param {Date} [lastRetrieved]
|
|
12483
|
+
* @param {*} [options] Override http request option.
|
|
12484
|
+
* @throws {RequiredError}
|
|
12485
|
+
*/
|
|
12486
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
12487
|
+
if (options === void 0) { options = {}; }
|
|
12488
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12489
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12490
|
+
return __generator(this, function (_a) {
|
|
12491
|
+
switch (_a.label) {
|
|
12492
|
+
case 0:
|
|
12493
|
+
localVarPath = "/api/v1/doctors/simple";
|
|
12494
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12495
|
+
if (configuration) {
|
|
12496
|
+
baseOptions = configuration.baseOptions;
|
|
12497
|
+
}
|
|
12498
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12499
|
+
localVarHeaderParameter = {};
|
|
12500
|
+
localVarQueryParameter = {};
|
|
12501
|
+
// authentication oauth2 required
|
|
12502
|
+
// oauth required
|
|
12503
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12504
|
+
case 1:
|
|
12505
|
+
// authentication oauth2 required
|
|
12506
|
+
// oauth required
|
|
12507
|
+
_a.sent();
|
|
12508
|
+
if (hospitalId !== undefined) {
|
|
12509
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12510
|
+
}
|
|
12511
|
+
if (languageCode !== undefined) {
|
|
12512
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12513
|
+
}
|
|
12514
|
+
if (returnDefaultValue !== undefined) {
|
|
12515
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12516
|
+
}
|
|
12517
|
+
if (ids) {
|
|
12518
|
+
localVarQueryParameter['Ids'] = ids;
|
|
12519
|
+
}
|
|
12520
|
+
if (id !== undefined) {
|
|
12521
|
+
localVarQueryParameter['Id'] = id;
|
|
12522
|
+
}
|
|
12523
|
+
if (fullname !== undefined) {
|
|
12524
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
12525
|
+
}
|
|
12526
|
+
if (email !== undefined) {
|
|
12527
|
+
localVarQueryParameter['Email'] = email;
|
|
12528
|
+
}
|
|
12529
|
+
if (gender !== undefined) {
|
|
12530
|
+
localVarQueryParameter['Gender'] = gender;
|
|
12531
|
+
}
|
|
12532
|
+
if (dateOfBirth !== undefined) {
|
|
12533
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
|
|
12534
|
+
dateOfBirth.toISOString() :
|
|
12535
|
+
dateOfBirth;
|
|
12536
|
+
}
|
|
12537
|
+
if (created !== undefined) {
|
|
12538
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
12539
|
+
created.toISOString() :
|
|
12540
|
+
created;
|
|
12541
|
+
}
|
|
12542
|
+
if (showHidden !== undefined) {
|
|
12543
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12544
|
+
}
|
|
12545
|
+
if (page !== undefined) {
|
|
12546
|
+
localVarQueryParameter['page'] = page;
|
|
12547
|
+
}
|
|
12548
|
+
if (limit !== undefined) {
|
|
12549
|
+
localVarQueryParameter['limit'] = limit;
|
|
12550
|
+
}
|
|
12551
|
+
if (lastRetrieved !== undefined) {
|
|
12552
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
12553
|
+
lastRetrieved.toISOString() :
|
|
12554
|
+
lastRetrieved;
|
|
12555
|
+
}
|
|
12556
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12557
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12558
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12559
|
+
return [2 /*return*/, {
|
|
12560
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12561
|
+
options: localVarRequestOptions,
|
|
12562
|
+
}];
|
|
12563
|
+
}
|
|
12564
|
+
});
|
|
12565
|
+
});
|
|
12566
|
+
},
|
|
12459
12567
|
/**
|
|
12460
12568
|
*
|
|
12461
12569
|
* @param {string} slug
|
|
@@ -13274,6 +13382,39 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
13274
13382
|
});
|
|
13275
13383
|
});
|
|
13276
13384
|
},
|
|
13385
|
+
/**
|
|
13386
|
+
*
|
|
13387
|
+
* @summary Get all Doctors.
|
|
13388
|
+
* @param {string} [hospitalId]
|
|
13389
|
+
* @param {string} [languageCode]
|
|
13390
|
+
* @param {boolean} [returnDefaultValue]
|
|
13391
|
+
* @param {Array<string>} [ids]
|
|
13392
|
+
* @param {string} [id]
|
|
13393
|
+
* @param {string} [fullname]
|
|
13394
|
+
* @param {string} [email]
|
|
13395
|
+
* @param {Gender} [gender]
|
|
13396
|
+
* @param {Date} [dateOfBirth]
|
|
13397
|
+
* @param {Date} [created]
|
|
13398
|
+
* @param {boolean} [showHidden]
|
|
13399
|
+
* @param {number} [page]
|
|
13400
|
+
* @param {number} [limit]
|
|
13401
|
+
* @param {Date} [lastRetrieved]
|
|
13402
|
+
* @param {*} [options] Override http request option.
|
|
13403
|
+
* @throws {RequiredError}
|
|
13404
|
+
*/
|
|
13405
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13406
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13407
|
+
var localVarAxiosArgs;
|
|
13408
|
+
return __generator(this, function (_a) {
|
|
13409
|
+
switch (_a.label) {
|
|
13410
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
13411
|
+
case 1:
|
|
13412
|
+
localVarAxiosArgs = _a.sent();
|
|
13413
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
13414
|
+
}
|
|
13415
|
+
});
|
|
13416
|
+
});
|
|
13417
|
+
},
|
|
13277
13418
|
/**
|
|
13278
13419
|
*
|
|
13279
13420
|
* @param {string} slug
|
|
@@ -13723,6 +13864,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
13723
13864
|
apiV1DoctorsPost: function (createDoctorCommand, options) {
|
|
13724
13865
|
return localVarFp.apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(axios, basePath); });
|
|
13725
13866
|
},
|
|
13867
|
+
/**
|
|
13868
|
+
*
|
|
13869
|
+
* @summary Get all Doctors.
|
|
13870
|
+
* @param {string} [hospitalId]
|
|
13871
|
+
* @param {string} [languageCode]
|
|
13872
|
+
* @param {boolean} [returnDefaultValue]
|
|
13873
|
+
* @param {Array<string>} [ids]
|
|
13874
|
+
* @param {string} [id]
|
|
13875
|
+
* @param {string} [fullname]
|
|
13876
|
+
* @param {string} [email]
|
|
13877
|
+
* @param {Gender} [gender]
|
|
13878
|
+
* @param {Date} [dateOfBirth]
|
|
13879
|
+
* @param {Date} [created]
|
|
13880
|
+
* @param {boolean} [showHidden]
|
|
13881
|
+
* @param {number} [page]
|
|
13882
|
+
* @param {number} [limit]
|
|
13883
|
+
* @param {Date} [lastRetrieved]
|
|
13884
|
+
* @param {*} [options] Override http request option.
|
|
13885
|
+
* @throws {RequiredError}
|
|
13886
|
+
*/
|
|
13887
|
+
apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
13888
|
+
return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
13889
|
+
},
|
|
13726
13890
|
/**
|
|
13727
13891
|
*
|
|
13728
13892
|
* @param {string} slug
|
|
@@ -14234,6 +14398,31 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
14234
14398
|
var _this = this;
|
|
14235
14399
|
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsPost(createDoctorCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14236
14400
|
};
|
|
14401
|
+
/**
|
|
14402
|
+
*
|
|
14403
|
+
* @summary Get all Doctors.
|
|
14404
|
+
* @param {string} [hospitalId]
|
|
14405
|
+
* @param {string} [languageCode]
|
|
14406
|
+
* @param {boolean} [returnDefaultValue]
|
|
14407
|
+
* @param {Array<string>} [ids]
|
|
14408
|
+
* @param {string} [id]
|
|
14409
|
+
* @param {string} [fullname]
|
|
14410
|
+
* @param {string} [email]
|
|
14411
|
+
* @param {Gender} [gender]
|
|
14412
|
+
* @param {Date} [dateOfBirth]
|
|
14413
|
+
* @param {Date} [created]
|
|
14414
|
+
* @param {boolean} [showHidden]
|
|
14415
|
+
* @param {number} [page]
|
|
14416
|
+
* @param {number} [limit]
|
|
14417
|
+
* @param {Date} [lastRetrieved]
|
|
14418
|
+
* @param {*} [options] Override http request option.
|
|
14419
|
+
* @throws {RequiredError}
|
|
14420
|
+
* @memberof DoctorsApi
|
|
14421
|
+
*/
|
|
14422
|
+
DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
14423
|
+
var _this = this;
|
|
14424
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14425
|
+
};
|
|
14237
14426
|
/**
|
|
14238
14427
|
*
|
|
14239
14428
|
* @param {string} slug
|
|
@@ -16697,7 +16886,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16697
16886
|
* @summary Get all Hospitals.
|
|
16698
16887
|
* @param {string} [hospitalId]
|
|
16699
16888
|
* @param {string} [name]
|
|
16700
|
-
* @param {string} [description]
|
|
16701
16889
|
* @param {string} [countryId]
|
|
16702
16890
|
* @param {Date} [created]
|
|
16703
16891
|
* @param {MarketingType} [marketingType]
|
|
@@ -16715,7 +16903,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16715
16903
|
* @param {*} [options] Override http request option.
|
|
16716
16904
|
* @throws {RequiredError}
|
|
16717
16905
|
*/
|
|
16718
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
16906
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16719
16907
|
if (options === void 0) { options = {}; }
|
|
16720
16908
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16721
16909
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16743,9 +16931,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
16743
16931
|
if (name !== undefined) {
|
|
16744
16932
|
localVarQueryParameter['Name'] = name;
|
|
16745
16933
|
}
|
|
16746
|
-
if (description !== undefined) {
|
|
16747
|
-
localVarQueryParameter['Description'] = description;
|
|
16748
|
-
}
|
|
16749
16934
|
if (countryId !== undefined) {
|
|
16750
16935
|
localVarQueryParameter['CountryId'] = countryId;
|
|
16751
16936
|
}
|
|
@@ -18224,15 +18409,18 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18224
18409
|
* @param {string} [specialtyId]
|
|
18225
18410
|
* @param {string} [specialtyName]
|
|
18226
18411
|
* @param {string} [specialtyTypeId]
|
|
18412
|
+
* @param {string} [title]
|
|
18227
18413
|
* @param {MarketingType} [marketingType]
|
|
18228
|
-
* @param {
|
|
18414
|
+
* @param {string} [languageCode]
|
|
18415
|
+
* @param {boolean} [showHidden]
|
|
18416
|
+
* @param {boolean} [returnDefaultValue]
|
|
18229
18417
|
* @param {number} [page]
|
|
18230
18418
|
* @param {number} [limit]
|
|
18231
18419
|
* @param {Date} [lastRetrieved]
|
|
18232
18420
|
* @param {*} [options] Override http request option.
|
|
18233
18421
|
* @throws {RequiredError}
|
|
18234
18422
|
*/
|
|
18235
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
18423
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18236
18424
|
if (options === void 0) { options = {}; }
|
|
18237
18425
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18238
18426
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18272,13 +18460,20 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18272
18460
|
if (specialtyTypeId !== undefined) {
|
|
18273
18461
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
18274
18462
|
}
|
|
18463
|
+
if (title !== undefined) {
|
|
18464
|
+
localVarQueryParameter['Title'] = title;
|
|
18465
|
+
}
|
|
18275
18466
|
if (marketingType !== undefined) {
|
|
18276
18467
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
18277
18468
|
}
|
|
18278
|
-
if (
|
|
18279
|
-
localVarQueryParameter['
|
|
18280
|
-
|
|
18281
|
-
|
|
18469
|
+
if (languageCode !== undefined) {
|
|
18470
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18471
|
+
}
|
|
18472
|
+
if (showHidden !== undefined) {
|
|
18473
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18474
|
+
}
|
|
18475
|
+
if (returnDefaultValue !== undefined) {
|
|
18476
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18282
18477
|
}
|
|
18283
18478
|
if (page !== undefined) {
|
|
18284
18479
|
localVarQueryParameter['page'] = page;
|
|
@@ -18400,10 +18595,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18400
18595
|
* @summary Get HospitalSpecialty.
|
|
18401
18596
|
* @param {string} hospitalId
|
|
18402
18597
|
* @param {string} specialtyId
|
|
18598
|
+
* @param {string} [languageCode]
|
|
18599
|
+
* @param {boolean} [returnDefaultValue]
|
|
18403
18600
|
* @param {*} [options] Override http request option.
|
|
18404
18601
|
* @throws {RequiredError}
|
|
18405
18602
|
*/
|
|
18406
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
18603
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
18407
18604
|
if (options === void 0) { options = {}; }
|
|
18408
18605
|
return __awaiter(_this, void 0, void 0, function () {
|
|
18409
18606
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -18431,6 +18628,12 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
18431
18628
|
// authentication oauth2 required
|
|
18432
18629
|
// oauth required
|
|
18433
18630
|
_a.sent();
|
|
18631
|
+
if (languageCode !== undefined) {
|
|
18632
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
18633
|
+
}
|
|
18634
|
+
if (returnDefaultValue !== undefined) {
|
|
18635
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18636
|
+
}
|
|
18434
18637
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18435
18638
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18436
18639
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -19165,7 +19368,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19165
19368
|
* @summary Get all Hospitals.
|
|
19166
19369
|
* @param {string} [hospitalId]
|
|
19167
19370
|
* @param {string} [name]
|
|
19168
|
-
* @param {string} [description]
|
|
19169
19371
|
* @param {string} [countryId]
|
|
19170
19372
|
* @param {Date} [created]
|
|
19171
19373
|
* @param {MarketingType} [marketingType]
|
|
@@ -19183,7 +19385,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19183
19385
|
* @param {*} [options] Override http request option.
|
|
19184
19386
|
* @throws {RequiredError}
|
|
19185
19387
|
*/
|
|
19186
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
19388
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19187
19389
|
if (options === void 0) { options = {}; }
|
|
19188
19390
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19189
19391
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19211,9 +19413,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19211
19413
|
if (name !== undefined) {
|
|
19212
19414
|
localVarQueryParameter['Name'] = name;
|
|
19213
19415
|
}
|
|
19214
|
-
if (description !== undefined) {
|
|
19215
|
-
localVarQueryParameter['Description'] = description;
|
|
19216
|
-
}
|
|
19217
19416
|
if (countryId !== undefined) {
|
|
19218
19417
|
localVarQueryParameter['CountryId'] = countryId;
|
|
19219
19418
|
}
|
|
@@ -19335,7 +19534,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19335
19534
|
* @summary Get all Hospitals.
|
|
19336
19535
|
* @param {string} [hospitalId]
|
|
19337
19536
|
* @param {string} [name]
|
|
19338
|
-
* @param {string} [description]
|
|
19339
19537
|
* @param {string} [countryId]
|
|
19340
19538
|
* @param {Date} [created]
|
|
19341
19539
|
* @param {MarketingType} [marketingType]
|
|
@@ -19353,12 +19551,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19353
19551
|
* @param {*} [options] Override http request option.
|
|
19354
19552
|
* @throws {RequiredError}
|
|
19355
19553
|
*/
|
|
19356
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
19554
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19357
19555
|
return __awaiter(this, void 0, void 0, function () {
|
|
19358
19556
|
var localVarAxiosArgs;
|
|
19359
19557
|
return __generator(this, function (_a) {
|
|
19360
19558
|
switch (_a.label) {
|
|
19361
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name,
|
|
19559
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19362
19560
|
case 1:
|
|
19363
19561
|
localVarAxiosArgs = _a.sent();
|
|
19364
19562
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -19977,20 +20175,23 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19977
20175
|
* @param {string} [specialtyId]
|
|
19978
20176
|
* @param {string} [specialtyName]
|
|
19979
20177
|
* @param {string} [specialtyTypeId]
|
|
20178
|
+
* @param {string} [title]
|
|
19980
20179
|
* @param {MarketingType} [marketingType]
|
|
19981
|
-
* @param {
|
|
20180
|
+
* @param {string} [languageCode]
|
|
20181
|
+
* @param {boolean} [showHidden]
|
|
20182
|
+
* @param {boolean} [returnDefaultValue]
|
|
19982
20183
|
* @param {number} [page]
|
|
19983
20184
|
* @param {number} [limit]
|
|
19984
20185
|
* @param {Date} [lastRetrieved]
|
|
19985
20186
|
* @param {*} [options] Override http request option.
|
|
19986
20187
|
* @throws {RequiredError}
|
|
19987
20188
|
*/
|
|
19988
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20189
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
19989
20190
|
return __awaiter(this, void 0, void 0, function () {
|
|
19990
20191
|
var localVarAxiosArgs;
|
|
19991
20192
|
return __generator(this, function (_a) {
|
|
19992
20193
|
switch (_a.label) {
|
|
19993
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20194
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
19994
20195
|
case 1:
|
|
19995
20196
|
localVarAxiosArgs = _a.sent();
|
|
19996
20197
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20045,15 +20246,17 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20045
20246
|
* @summary Get HospitalSpecialty.
|
|
20046
20247
|
* @param {string} hospitalId
|
|
20047
20248
|
* @param {string} specialtyId
|
|
20249
|
+
* @param {string} [languageCode]
|
|
20250
|
+
* @param {boolean} [returnDefaultValue]
|
|
20048
20251
|
* @param {*} [options] Override http request option.
|
|
20049
20252
|
* @throws {RequiredError}
|
|
20050
20253
|
*/
|
|
20051
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
20254
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
20052
20255
|
return __awaiter(this, void 0, void 0, function () {
|
|
20053
20256
|
var localVarAxiosArgs;
|
|
20054
20257
|
return __generator(this, function (_a) {
|
|
20055
20258
|
switch (_a.label) {
|
|
20056
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options)];
|
|
20259
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options)];
|
|
20057
20260
|
case 1:
|
|
20058
20261
|
localVarAxiosArgs = _a.sent();
|
|
20059
20262
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20355,7 +20558,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20355
20558
|
* @summary Get all Hospitals.
|
|
20356
20559
|
* @param {string} [hospitalId]
|
|
20357
20560
|
* @param {string} [name]
|
|
20358
|
-
* @param {string} [description]
|
|
20359
20561
|
* @param {string} [countryId]
|
|
20360
20562
|
* @param {Date} [created]
|
|
20361
20563
|
* @param {MarketingType} [marketingType]
|
|
@@ -20373,12 +20575,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
20373
20575
|
* @param {*} [options] Override http request option.
|
|
20374
20576
|
* @throws {RequiredError}
|
|
20375
20577
|
*/
|
|
20376
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
20578
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20377
20579
|
return __awaiter(this, void 0, void 0, function () {
|
|
20378
20580
|
var localVarAxiosArgs;
|
|
20379
20581
|
return __generator(this, function (_a) {
|
|
20380
20582
|
switch (_a.label) {
|
|
20381
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
20583
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
20382
20584
|
case 1:
|
|
20383
20585
|
localVarAxiosArgs = _a.sent();
|
|
20384
20586
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20421,7 +20623,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20421
20623
|
* @summary Get all Hospitals.
|
|
20422
20624
|
* @param {string} [hospitalId]
|
|
20423
20625
|
* @param {string} [name]
|
|
20424
|
-
* @param {string} [description]
|
|
20425
20626
|
* @param {string} [countryId]
|
|
20426
20627
|
* @param {Date} [created]
|
|
20427
20628
|
* @param {MarketingType} [marketingType]
|
|
@@ -20439,8 +20640,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20439
20640
|
* @param {*} [options] Override http request option.
|
|
20440
20641
|
* @throws {RequiredError}
|
|
20441
20642
|
*/
|
|
20442
|
-
apiV1HospitalsGet: function (hospitalId, name,
|
|
20443
|
-
return localVarFp.apiV1HospitalsGet(hospitalId, name,
|
|
20643
|
+
apiV1HospitalsGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20644
|
+
return localVarFp.apiV1HospitalsGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20444
20645
|
},
|
|
20445
20646
|
/**
|
|
20446
20647
|
*
|
|
@@ -20783,16 +20984,19 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20783
20984
|
* @param {string} [specialtyId]
|
|
20784
20985
|
* @param {string} [specialtyName]
|
|
20785
20986
|
* @param {string} [specialtyTypeId]
|
|
20987
|
+
* @param {string} [title]
|
|
20786
20988
|
* @param {MarketingType} [marketingType]
|
|
20787
|
-
* @param {
|
|
20989
|
+
* @param {string} [languageCode]
|
|
20990
|
+
* @param {boolean} [showHidden]
|
|
20991
|
+
* @param {boolean} [returnDefaultValue]
|
|
20788
20992
|
* @param {number} [page]
|
|
20789
20993
|
* @param {number} [limit]
|
|
20790
20994
|
* @param {Date} [lastRetrieved]
|
|
20791
20995
|
* @param {*} [options] Override http request option.
|
|
20792
20996
|
* @throws {RequiredError}
|
|
20793
20997
|
*/
|
|
20794
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20795
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
20998
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
20999
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20796
21000
|
},
|
|
20797
21001
|
/**
|
|
20798
21002
|
*
|
|
@@ -20821,11 +21025,13 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20821
21025
|
* @summary Get HospitalSpecialty.
|
|
20822
21026
|
* @param {string} hospitalId
|
|
20823
21027
|
* @param {string} specialtyId
|
|
21028
|
+
* @param {string} [languageCode]
|
|
21029
|
+
* @param {boolean} [returnDefaultValue]
|
|
20824
21030
|
* @param {*} [options] Override http request option.
|
|
20825
21031
|
* @throws {RequiredError}
|
|
20826
21032
|
*/
|
|
20827
|
-
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, options) {
|
|
20828
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(axios, basePath); });
|
|
21033
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21034
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
20829
21035
|
},
|
|
20830
21036
|
/**
|
|
20831
21037
|
*
|
|
@@ -21001,7 +21207,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21001
21207
|
* @summary Get all Hospitals.
|
|
21002
21208
|
* @param {string} [hospitalId]
|
|
21003
21209
|
* @param {string} [name]
|
|
21004
|
-
* @param {string} [description]
|
|
21005
21210
|
* @param {string} [countryId]
|
|
21006
21211
|
* @param {Date} [created]
|
|
21007
21212
|
* @param {MarketingType} [marketingType]
|
|
@@ -21019,8 +21224,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
21019
21224
|
* @param {*} [options] Override http request option.
|
|
21020
21225
|
* @throws {RequiredError}
|
|
21021
21226
|
*/
|
|
21022
|
-
apiV1HospitalsSimpleGet: function (hospitalId, name,
|
|
21023
|
-
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name,
|
|
21227
|
+
apiV1HospitalsSimpleGet: function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21228
|
+
return localVarFp.apiV1HospitalsSimpleGet(hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
21024
21229
|
},
|
|
21025
21230
|
/**
|
|
21026
21231
|
*
|
|
@@ -21051,7 +21256,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21051
21256
|
* @summary Get all Hospitals.
|
|
21052
21257
|
* @param {string} [hospitalId]
|
|
21053
21258
|
* @param {string} [name]
|
|
21054
|
-
* @param {string} [description]
|
|
21055
21259
|
* @param {string} [countryId]
|
|
21056
21260
|
* @param {Date} [created]
|
|
21057
21261
|
* @param {MarketingType} [marketingType]
|
|
@@ -21070,9 +21274,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21070
21274
|
* @throws {RequiredError}
|
|
21071
21275
|
* @memberof HospitalsApi
|
|
21072
21276
|
*/
|
|
21073
|
-
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name,
|
|
21277
|
+
HospitalsApi.prototype.apiV1HospitalsGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21074
21278
|
var _this = this;
|
|
21075
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(hospitalId, name,
|
|
21279
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsGet(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); });
|
|
21076
21280
|
};
|
|
21077
21281
|
/**
|
|
21078
21282
|
*
|
|
@@ -21469,8 +21673,11 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21469
21673
|
* @param {string} [specialtyId]
|
|
21470
21674
|
* @param {string} [specialtyName]
|
|
21471
21675
|
* @param {string} [specialtyTypeId]
|
|
21676
|
+
* @param {string} [title]
|
|
21472
21677
|
* @param {MarketingType} [marketingType]
|
|
21473
|
-
* @param {
|
|
21678
|
+
* @param {string} [languageCode]
|
|
21679
|
+
* @param {boolean} [showHidden]
|
|
21680
|
+
* @param {boolean} [returnDefaultValue]
|
|
21474
21681
|
* @param {number} [page]
|
|
21475
21682
|
* @param {number} [limit]
|
|
21476
21683
|
* @param {Date} [lastRetrieved]
|
|
@@ -21478,9 +21685,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21478
21685
|
* @throws {RequiredError}
|
|
21479
21686
|
* @memberof HospitalsApi
|
|
21480
21687
|
*/
|
|
21481
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
21688
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21482
21689
|
var _this = this;
|
|
21483
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType,
|
|
21690
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21484
21691
|
};
|
|
21485
21692
|
/**
|
|
21486
21693
|
*
|
|
@@ -21513,13 +21720,15 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21513
21720
|
* @summary Get HospitalSpecialty.
|
|
21514
21721
|
* @param {string} hospitalId
|
|
21515
21722
|
* @param {string} specialtyId
|
|
21723
|
+
* @param {string} [languageCode]
|
|
21724
|
+
* @param {boolean} [returnDefaultValue]
|
|
21516
21725
|
* @param {*} [options] Override http request option.
|
|
21517
21726
|
* @throws {RequiredError}
|
|
21518
21727
|
* @memberof HospitalsApi
|
|
21519
21728
|
*/
|
|
21520
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, options) {
|
|
21729
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet = function (hospitalId, specialtyId, languageCode, returnDefaultValue, options) {
|
|
21521
21730
|
var _this = this;
|
|
21522
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21731
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21523
21732
|
};
|
|
21524
21733
|
/**
|
|
21525
21734
|
*
|
|
@@ -21719,7 +21928,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21719
21928
|
* @summary Get all Hospitals.
|
|
21720
21929
|
* @param {string} [hospitalId]
|
|
21721
21930
|
* @param {string} [name]
|
|
21722
|
-
* @param {string} [description]
|
|
21723
21931
|
* @param {string} [countryId]
|
|
21724
21932
|
* @param {Date} [created]
|
|
21725
21933
|
* @param {MarketingType} [marketingType]
|
|
@@ -21738,9 +21946,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21738
21946
|
* @throws {RequiredError}
|
|
21739
21947
|
* @memberof HospitalsApi
|
|
21740
21948
|
*/
|
|
21741
|
-
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name,
|
|
21949
|
+
HospitalsApi.prototype.apiV1HospitalsSimpleGet = function (hospitalId, name, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
21742
21950
|
var _this = this;
|
|
21743
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(hospitalId, name,
|
|
21951
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsSimpleGet(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); });
|
|
21744
21952
|
};
|
|
21745
21953
|
/**
|
|
21746
21954
|
*
|
|
@@ -27342,6 +27550,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27342
27550
|
* @param {string} [serviceName]
|
|
27343
27551
|
* @param {string} [patientId]
|
|
27344
27552
|
* @param {string} [patientName]
|
|
27553
|
+
* @param {Gender} [gender]
|
|
27345
27554
|
* @param {boolean} [recommended]
|
|
27346
27555
|
* @param {number} [rate]
|
|
27347
27556
|
* @param {ReviewType} [reviewType]
|
|
@@ -27351,7 +27560,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27351
27560
|
* @param {*} [options] Override http request option.
|
|
27352
27561
|
* @throws {RequiredError}
|
|
27353
27562
|
*/
|
|
27354
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27563
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27355
27564
|
if (options === void 0) { options = {}; }
|
|
27356
27565
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27357
27566
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27385,6 +27594,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27385
27594
|
if (patientName !== undefined) {
|
|
27386
27595
|
localVarQueryParameter['PatientName'] = patientName;
|
|
27387
27596
|
}
|
|
27597
|
+
if (gender !== undefined) {
|
|
27598
|
+
localVarQueryParameter['Gender'] = gender;
|
|
27599
|
+
}
|
|
27388
27600
|
if (recommended !== undefined) {
|
|
27389
27601
|
localVarQueryParameter['Recommended'] = recommended;
|
|
27390
27602
|
}
|
|
@@ -27860,6 +28072,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27860
28072
|
* @param {string} [serviceName]
|
|
27861
28073
|
* @param {string} [patientId]
|
|
27862
28074
|
* @param {string} [patientName]
|
|
28075
|
+
* @param {Gender} [gender]
|
|
27863
28076
|
* @param {boolean} [recommended]
|
|
27864
28077
|
* @param {number} [rate]
|
|
27865
28078
|
* @param {ReviewType} [reviewType]
|
|
@@ -27869,12 +28082,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27869
28082
|
* @param {*} [options] Override http request option.
|
|
27870
28083
|
* @throws {RequiredError}
|
|
27871
28084
|
*/
|
|
27872
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28085
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
27873
28086
|
return __awaiter(this, void 0, void 0, function () {
|
|
27874
28087
|
var localVarAxiosArgs;
|
|
27875
28088
|
return __generator(this, function (_a) {
|
|
27876
28089
|
switch (_a.label) {
|
|
27877
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
28090
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
27878
28091
|
case 1:
|
|
27879
28092
|
localVarAxiosArgs = _a.sent();
|
|
27880
28093
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28088,6 +28301,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28088
28301
|
* @param {string} [serviceName]
|
|
28089
28302
|
* @param {string} [patientId]
|
|
28090
28303
|
* @param {string} [patientName]
|
|
28304
|
+
* @param {Gender} [gender]
|
|
28091
28305
|
* @param {boolean} [recommended]
|
|
28092
28306
|
* @param {number} [rate]
|
|
28093
28307
|
* @param {ReviewType} [reviewType]
|
|
@@ -28097,8 +28311,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28097
28311
|
* @param {*} [options] Override http request option.
|
|
28098
28312
|
* @throws {RequiredError}
|
|
28099
28313
|
*/
|
|
28100
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28101
|
-
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28314
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28315
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
28102
28316
|
},
|
|
28103
28317
|
/**
|
|
28104
28318
|
*
|
|
@@ -28220,6 +28434,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28220
28434
|
* @param {string} [serviceName]
|
|
28221
28435
|
* @param {string} [patientId]
|
|
28222
28436
|
* @param {string} [patientName]
|
|
28437
|
+
* @param {Gender} [gender]
|
|
28223
28438
|
* @param {boolean} [recommended]
|
|
28224
28439
|
* @param {number} [rate]
|
|
28225
28440
|
* @param {ReviewType} [reviewType]
|
|
@@ -28230,9 +28445,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28230
28445
|
* @throws {RequiredError}
|
|
28231
28446
|
* @memberof ServiceReviewsApi
|
|
28232
28447
|
*/
|
|
28233
|
-
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28448
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28234
28449
|
var _this = this;
|
|
28235
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28450
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
28236
28451
|
};
|
|
28237
28452
|
/**
|
|
28238
28453
|
*
|
|
@@ -28813,14 +29028,13 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
28813
29028
|
* @summary Get all ServiceCategories.
|
|
28814
29029
|
* @param {string} [id]
|
|
28815
29030
|
* @param {string} [name]
|
|
28816
|
-
* @param {string} [description]
|
|
28817
29031
|
* @param {number} [page]
|
|
28818
29032
|
* @param {number} [limit]
|
|
28819
29033
|
* @param {Date} [lastRetrieved]
|
|
28820
29034
|
* @param {*} [options] Override http request option.
|
|
28821
29035
|
* @throws {RequiredError}
|
|
28822
29036
|
*/
|
|
28823
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
29037
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
28824
29038
|
if (options === void 0) { options = {}; }
|
|
28825
29039
|
return __awaiter(_this, void 0, void 0, function () {
|
|
28826
29040
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -28848,9 +29062,6 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
28848
29062
|
if (name !== undefined) {
|
|
28849
29063
|
localVarQueryParameter['Name'] = name;
|
|
28850
29064
|
}
|
|
28851
|
-
if (description !== undefined) {
|
|
28852
|
-
localVarQueryParameter['Description'] = description;
|
|
28853
|
-
}
|
|
28854
29065
|
if (page !== undefined) {
|
|
28855
29066
|
localVarQueryParameter['page'] = page;
|
|
28856
29067
|
}
|
|
@@ -29060,19 +29271,18 @@ exports.ServicesCategoriesApiFp = function (configuration) {
|
|
|
29060
29271
|
* @summary Get all ServiceCategories.
|
|
29061
29272
|
* @param {string} [id]
|
|
29062
29273
|
* @param {string} [name]
|
|
29063
|
-
* @param {string} [description]
|
|
29064
29274
|
* @param {number} [page]
|
|
29065
29275
|
* @param {number} [limit]
|
|
29066
29276
|
* @param {Date} [lastRetrieved]
|
|
29067
29277
|
* @param {*} [options] Override http request option.
|
|
29068
29278
|
* @throws {RequiredError}
|
|
29069
29279
|
*/
|
|
29070
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
29280
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
29071
29281
|
return __awaiter(this, void 0, void 0, function () {
|
|
29072
29282
|
var localVarAxiosArgs;
|
|
29073
29283
|
return __generator(this, function (_a) {
|
|
29074
29284
|
switch (_a.label) {
|
|
29075
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name,
|
|
29285
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options)];
|
|
29076
29286
|
case 1:
|
|
29077
29287
|
localVarAxiosArgs = _a.sent();
|
|
29078
29288
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -29174,15 +29384,14 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
|
|
|
29174
29384
|
* @summary Get all ServiceCategories.
|
|
29175
29385
|
* @param {string} [id]
|
|
29176
29386
|
* @param {string} [name]
|
|
29177
|
-
* @param {string} [description]
|
|
29178
29387
|
* @param {number} [page]
|
|
29179
29388
|
* @param {number} [limit]
|
|
29180
29389
|
* @param {Date} [lastRetrieved]
|
|
29181
29390
|
* @param {*} [options] Override http request option.
|
|
29182
29391
|
* @throws {RequiredError}
|
|
29183
29392
|
*/
|
|
29184
|
-
apiV1ServicescategoriesGet: function (id, name,
|
|
29185
|
-
return localVarFp.apiV1ServicescategoriesGet(id, name,
|
|
29393
|
+
apiV1ServicescategoriesGet: function (id, name, page, limit, lastRetrieved, options) {
|
|
29394
|
+
return localVarFp.apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
29186
29395
|
},
|
|
29187
29396
|
/**
|
|
29188
29397
|
*
|
|
@@ -29242,7 +29451,6 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
29242
29451
|
* @summary Get all ServiceCategories.
|
|
29243
29452
|
* @param {string} [id]
|
|
29244
29453
|
* @param {string} [name]
|
|
29245
|
-
* @param {string} [description]
|
|
29246
29454
|
* @param {number} [page]
|
|
29247
29455
|
* @param {number} [limit]
|
|
29248
29456
|
* @param {Date} [lastRetrieved]
|
|
@@ -29250,9 +29458,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
29250
29458
|
* @throws {RequiredError}
|
|
29251
29459
|
* @memberof ServicesCategoriesApi
|
|
29252
29460
|
*/
|
|
29253
|
-
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name,
|
|
29461
|
+
ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, page, limit, lastRetrieved, options) {
|
|
29254
29462
|
var _this = this;
|
|
29255
|
-
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name,
|
|
29463
|
+
return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
29256
29464
|
};
|
|
29257
29465
|
/**
|
|
29258
29466
|
*
|