ch-admin-api-client-typescript 2.7.8 → 2.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +229 -8
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +210 -14
- package/package.json +1 -1
- package/src/api.ts +340 -14
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
|
|
@@ -27361,6 +27550,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27361
27550
|
* @param {string} [serviceName]
|
|
27362
27551
|
* @param {string} [patientId]
|
|
27363
27552
|
* @param {string} [patientName]
|
|
27553
|
+
* @param {Gender} [gender]
|
|
27364
27554
|
* @param {boolean} [recommended]
|
|
27365
27555
|
* @param {number} [rate]
|
|
27366
27556
|
* @param {ReviewType} [reviewType]
|
|
@@ -27370,7 +27560,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27370
27560
|
* @param {*} [options] Override http request option.
|
|
27371
27561
|
* @throws {RequiredError}
|
|
27372
27562
|
*/
|
|
27373
|
-
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) {
|
|
27374
27564
|
if (options === void 0) { options = {}; }
|
|
27375
27565
|
return __awaiter(_this, void 0, void 0, function () {
|
|
27376
27566
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -27404,6 +27594,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
27404
27594
|
if (patientName !== undefined) {
|
|
27405
27595
|
localVarQueryParameter['PatientName'] = patientName;
|
|
27406
27596
|
}
|
|
27597
|
+
if (gender !== undefined) {
|
|
27598
|
+
localVarQueryParameter['Gender'] = gender;
|
|
27599
|
+
}
|
|
27407
27600
|
if (recommended !== undefined) {
|
|
27408
27601
|
localVarQueryParameter['Recommended'] = recommended;
|
|
27409
27602
|
}
|
|
@@ -27879,6 +28072,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27879
28072
|
* @param {string} [serviceName]
|
|
27880
28073
|
* @param {string} [patientId]
|
|
27881
28074
|
* @param {string} [patientName]
|
|
28075
|
+
* @param {Gender} [gender]
|
|
27882
28076
|
* @param {boolean} [recommended]
|
|
27883
28077
|
* @param {number} [rate]
|
|
27884
28078
|
* @param {ReviewType} [reviewType]
|
|
@@ -27888,12 +28082,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
27888
28082
|
* @param {*} [options] Override http request option.
|
|
27889
28083
|
* @throws {RequiredError}
|
|
27890
28084
|
*/
|
|
27891
|
-
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) {
|
|
27892
28086
|
return __awaiter(this, void 0, void 0, function () {
|
|
27893
28087
|
var localVarAxiosArgs;
|
|
27894
28088
|
return __generator(this, function (_a) {
|
|
27895
28089
|
switch (_a.label) {
|
|
27896
|
-
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)];
|
|
27897
28091
|
case 1:
|
|
27898
28092
|
localVarAxiosArgs = _a.sent();
|
|
27899
28093
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -28107,6 +28301,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28107
28301
|
* @param {string} [serviceName]
|
|
28108
28302
|
* @param {string} [patientId]
|
|
28109
28303
|
* @param {string} [patientName]
|
|
28304
|
+
* @param {Gender} [gender]
|
|
28110
28305
|
* @param {boolean} [recommended]
|
|
28111
28306
|
* @param {number} [rate]
|
|
28112
28307
|
* @param {ReviewType} [reviewType]
|
|
@@ -28116,8 +28311,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
28116
28311
|
* @param {*} [options] Override http request option.
|
|
28117
28312
|
* @throws {RequiredError}
|
|
28118
28313
|
*/
|
|
28119
|
-
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
28120
|
-
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); });
|
|
28121
28316
|
},
|
|
28122
28317
|
/**
|
|
28123
28318
|
*
|
|
@@ -28239,6 +28434,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28239
28434
|
* @param {string} [serviceName]
|
|
28240
28435
|
* @param {string} [patientId]
|
|
28241
28436
|
* @param {string} [patientName]
|
|
28437
|
+
* @param {Gender} [gender]
|
|
28242
28438
|
* @param {boolean} [recommended]
|
|
28243
28439
|
* @param {number} [rate]
|
|
28244
28440
|
* @param {ReviewType} [reviewType]
|
|
@@ -28249,9 +28445,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
28249
28445
|
* @throws {RequiredError}
|
|
28250
28446
|
* @memberof ServiceReviewsApi
|
|
28251
28447
|
*/
|
|
28252
|
-
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) {
|
|
28253
28449
|
var _this = this;
|
|
28254
|
-
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); });
|
|
28255
28451
|
};
|
|
28256
28452
|
/**
|
|
28257
28453
|
*
|