ch-api-client-typescript2 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 +277 -20
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +200 -14
- package/package.json +1 -1
- package/src/api.ts +384 -26
package/lib/api.js
CHANGED
|
@@ -5796,6 +5796,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5796
5796
|
* @param {string} [hospitalName]
|
|
5797
5797
|
* @param {string} [specialtyId]
|
|
5798
5798
|
* @param {string} [specialtyTypeId]
|
|
5799
|
+
* @param {string} [serviceId]
|
|
5799
5800
|
* @param {string} [exceptHospitalId]
|
|
5800
5801
|
* @param {string} [exceptDealId]
|
|
5801
5802
|
* @param {Array<string>} [ids]
|
|
@@ -5808,7 +5809,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5808
5809
|
* @param {*} [options] Override http request option.
|
|
5809
5810
|
* @throws {RequiredError}
|
|
5810
5811
|
*/
|
|
5811
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5812
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
5812
5813
|
if (options === void 0) { options = {}; }
|
|
5813
5814
|
return __awaiter(_this, void 0, void 0, function () {
|
|
5814
5815
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5845,6 +5846,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
5845
5846
|
if (specialtyTypeId !== undefined) {
|
|
5846
5847
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
5847
5848
|
}
|
|
5849
|
+
if (serviceId !== undefined) {
|
|
5850
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
5851
|
+
}
|
|
5848
5852
|
if (exceptHospitalId !== undefined) {
|
|
5849
5853
|
localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
|
|
5850
5854
|
}
|
|
@@ -6061,6 +6065,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6061
6065
|
* @param {string} [hospitalName]
|
|
6062
6066
|
* @param {string} [specialtyId]
|
|
6063
6067
|
* @param {string} [specialtyTypeId]
|
|
6068
|
+
* @param {string} [serviceId]
|
|
6064
6069
|
* @param {string} [exceptHospitalId]
|
|
6065
6070
|
* @param {string} [exceptDealId]
|
|
6066
6071
|
* @param {Array<string>} [ids]
|
|
@@ -6073,12 +6078,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
6073
6078
|
* @param {*} [options] Override http request option.
|
|
6074
6079
|
* @throws {RequiredError}
|
|
6075
6080
|
*/
|
|
6076
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6081
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6077
6082
|
return __awaiter(this, void 0, void 0, function () {
|
|
6078
6083
|
var localVarAxiosArgs;
|
|
6079
6084
|
return __generator(this, function (_a) {
|
|
6080
6085
|
switch (_a.label) {
|
|
6081
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6086
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
6082
6087
|
case 1:
|
|
6083
6088
|
localVarAxiosArgs = _a.sent();
|
|
6084
6089
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6194,6 +6199,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6194
6199
|
* @param {string} [hospitalName]
|
|
6195
6200
|
* @param {string} [specialtyId]
|
|
6196
6201
|
* @param {string} [specialtyTypeId]
|
|
6202
|
+
* @param {string} [serviceId]
|
|
6197
6203
|
* @param {string} [exceptHospitalId]
|
|
6198
6204
|
* @param {string} [exceptDealId]
|
|
6199
6205
|
* @param {Array<string>} [ids]
|
|
@@ -6206,8 +6212,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
6206
6212
|
* @param {*} [options] Override http request option.
|
|
6207
6213
|
* @throws {RequiredError}
|
|
6208
6214
|
*/
|
|
6209
|
-
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6210
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6215
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6216
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6211
6217
|
},
|
|
6212
6218
|
/**
|
|
6213
6219
|
*
|
|
@@ -6321,6 +6327,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6321
6327
|
* @param {string} [hospitalName]
|
|
6322
6328
|
* @param {string} [specialtyId]
|
|
6323
6329
|
* @param {string} [specialtyTypeId]
|
|
6330
|
+
* @param {string} [serviceId]
|
|
6324
6331
|
* @param {string} [exceptHospitalId]
|
|
6325
6332
|
* @param {string} [exceptDealId]
|
|
6326
6333
|
* @param {Array<string>} [ids]
|
|
@@ -6334,9 +6341,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
6334
6341
|
* @throws {RequiredError}
|
|
6335
6342
|
* @memberof DealsApi
|
|
6336
6343
|
*/
|
|
6337
|
-
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6344
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
6338
6345
|
var _this = this;
|
|
6339
|
-
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6346
|
+
return exports.DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6340
6347
|
};
|
|
6341
6348
|
/**
|
|
6342
6349
|
*
|
|
@@ -7079,6 +7086,97 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
7079
7086
|
});
|
|
7080
7087
|
});
|
|
7081
7088
|
},
|
|
7089
|
+
/**
|
|
7090
|
+
*
|
|
7091
|
+
* @summary Get all Doctors.
|
|
7092
|
+
* @param {string} [hospitalId]
|
|
7093
|
+
* @param {string} [languageCode]
|
|
7094
|
+
* @param {boolean} [returnDefaultValue]
|
|
7095
|
+
* @param {Array<string>} [ids]
|
|
7096
|
+
* @param {string} [id]
|
|
7097
|
+
* @param {string} [fullname]
|
|
7098
|
+
* @param {string} [email]
|
|
7099
|
+
* @param {Gender} [gender]
|
|
7100
|
+
* @param {Date} [dateOfBirth]
|
|
7101
|
+
* @param {Date} [created]
|
|
7102
|
+
* @param {boolean} [showHidden]
|
|
7103
|
+
* @param {number} [page]
|
|
7104
|
+
* @param {number} [limit]
|
|
7105
|
+
* @param {Date} [lastRetrieved]
|
|
7106
|
+
* @param {*} [options] Override http request option.
|
|
7107
|
+
* @throws {RequiredError}
|
|
7108
|
+
*/
|
|
7109
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7110
|
+
if (options === void 0) { options = {}; }
|
|
7111
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
7112
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7113
|
+
return __generator(this, function (_a) {
|
|
7114
|
+
localVarPath = "/api/v2/doctors/simple";
|
|
7115
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7116
|
+
if (configuration) {
|
|
7117
|
+
baseOptions = configuration.baseOptions;
|
|
7118
|
+
}
|
|
7119
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7120
|
+
localVarHeaderParameter = {};
|
|
7121
|
+
localVarQueryParameter = {};
|
|
7122
|
+
if (hospitalId !== undefined) {
|
|
7123
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
7124
|
+
}
|
|
7125
|
+
if (languageCode !== undefined) {
|
|
7126
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
7127
|
+
}
|
|
7128
|
+
if (returnDefaultValue !== undefined) {
|
|
7129
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
7130
|
+
}
|
|
7131
|
+
if (ids) {
|
|
7132
|
+
localVarQueryParameter['Ids'] = ids;
|
|
7133
|
+
}
|
|
7134
|
+
if (id !== undefined) {
|
|
7135
|
+
localVarQueryParameter['Id'] = id;
|
|
7136
|
+
}
|
|
7137
|
+
if (fullname !== undefined) {
|
|
7138
|
+
localVarQueryParameter['Fullname'] = fullname;
|
|
7139
|
+
}
|
|
7140
|
+
if (email !== undefined) {
|
|
7141
|
+
localVarQueryParameter['Email'] = email;
|
|
7142
|
+
}
|
|
7143
|
+
if (gender !== undefined) {
|
|
7144
|
+
localVarQueryParameter['Gender'] = gender;
|
|
7145
|
+
}
|
|
7146
|
+
if (dateOfBirth !== undefined) {
|
|
7147
|
+
localVarQueryParameter['DateOfBirth'] = (dateOfBirth instanceof Date) ?
|
|
7148
|
+
dateOfBirth.toISOString() :
|
|
7149
|
+
dateOfBirth;
|
|
7150
|
+
}
|
|
7151
|
+
if (created !== undefined) {
|
|
7152
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
7153
|
+
created.toISOString() :
|
|
7154
|
+
created;
|
|
7155
|
+
}
|
|
7156
|
+
if (showHidden !== undefined) {
|
|
7157
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
7158
|
+
}
|
|
7159
|
+
if (page !== undefined) {
|
|
7160
|
+
localVarQueryParameter['page'] = page;
|
|
7161
|
+
}
|
|
7162
|
+
if (limit !== undefined) {
|
|
7163
|
+
localVarQueryParameter['limit'] = limit;
|
|
7164
|
+
}
|
|
7165
|
+
if (lastRetrieved !== undefined) {
|
|
7166
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
7167
|
+
lastRetrieved.toISOString() :
|
|
7168
|
+
lastRetrieved;
|
|
7169
|
+
}
|
|
7170
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7171
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7172
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7173
|
+
return [2 /*return*/, {
|
|
7174
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
7175
|
+
options: localVarRequestOptions,
|
|
7176
|
+
}];
|
|
7177
|
+
});
|
|
7178
|
+
});
|
|
7179
|
+
},
|
|
7082
7180
|
/**
|
|
7083
7181
|
*
|
|
7084
7182
|
* @param {string} slug
|
|
@@ -7465,6 +7563,39 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
7465
7563
|
});
|
|
7466
7564
|
});
|
|
7467
7565
|
},
|
|
7566
|
+
/**
|
|
7567
|
+
*
|
|
7568
|
+
* @summary Get all Doctors.
|
|
7569
|
+
* @param {string} [hospitalId]
|
|
7570
|
+
* @param {string} [languageCode]
|
|
7571
|
+
* @param {boolean} [returnDefaultValue]
|
|
7572
|
+
* @param {Array<string>} [ids]
|
|
7573
|
+
* @param {string} [id]
|
|
7574
|
+
* @param {string} [fullname]
|
|
7575
|
+
* @param {string} [email]
|
|
7576
|
+
* @param {Gender} [gender]
|
|
7577
|
+
* @param {Date} [dateOfBirth]
|
|
7578
|
+
* @param {Date} [created]
|
|
7579
|
+
* @param {boolean} [showHidden]
|
|
7580
|
+
* @param {number} [page]
|
|
7581
|
+
* @param {number} [limit]
|
|
7582
|
+
* @param {Date} [lastRetrieved]
|
|
7583
|
+
* @param {*} [options] Override http request option.
|
|
7584
|
+
* @throws {RequiredError}
|
|
7585
|
+
*/
|
|
7586
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7587
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7588
|
+
var localVarAxiosArgs;
|
|
7589
|
+
return __generator(this, function (_a) {
|
|
7590
|
+
switch (_a.label) {
|
|
7591
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
|
|
7592
|
+
case 1:
|
|
7593
|
+
localVarAxiosArgs = _a.sent();
|
|
7594
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
7595
|
+
}
|
|
7596
|
+
});
|
|
7597
|
+
});
|
|
7598
|
+
},
|
|
7468
7599
|
/**
|
|
7469
7600
|
*
|
|
7470
7601
|
* @param {string} slug
|
|
@@ -7692,6 +7823,29 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
7692
7823
|
apiV2DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7693
7824
|
return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7694
7825
|
},
|
|
7826
|
+
/**
|
|
7827
|
+
*
|
|
7828
|
+
* @summary Get all Doctors.
|
|
7829
|
+
* @param {string} [hospitalId]
|
|
7830
|
+
* @param {string} [languageCode]
|
|
7831
|
+
* @param {boolean} [returnDefaultValue]
|
|
7832
|
+
* @param {Array<string>} [ids]
|
|
7833
|
+
* @param {string} [id]
|
|
7834
|
+
* @param {string} [fullname]
|
|
7835
|
+
* @param {string} [email]
|
|
7836
|
+
* @param {Gender} [gender]
|
|
7837
|
+
* @param {Date} [dateOfBirth]
|
|
7838
|
+
* @param {Date} [created]
|
|
7839
|
+
* @param {boolean} [showHidden]
|
|
7840
|
+
* @param {number} [page]
|
|
7841
|
+
* @param {number} [limit]
|
|
7842
|
+
* @param {Date} [lastRetrieved]
|
|
7843
|
+
* @param {*} [options] Override http request option.
|
|
7844
|
+
* @throws {RequiredError}
|
|
7845
|
+
*/
|
|
7846
|
+
apiV2DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
7847
|
+
return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7848
|
+
},
|
|
7695
7849
|
/**
|
|
7696
7850
|
*
|
|
7697
7851
|
* @param {string} slug
|
|
@@ -7941,6 +8095,31 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
7941
8095
|
var _this = this;
|
|
7942
8096
|
return exports.DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7943
8097
|
};
|
|
8098
|
+
/**
|
|
8099
|
+
*
|
|
8100
|
+
* @summary Get all Doctors.
|
|
8101
|
+
* @param {string} [hospitalId]
|
|
8102
|
+
* @param {string} [languageCode]
|
|
8103
|
+
* @param {boolean} [returnDefaultValue]
|
|
8104
|
+
* @param {Array<string>} [ids]
|
|
8105
|
+
* @param {string} [id]
|
|
8106
|
+
* @param {string} [fullname]
|
|
8107
|
+
* @param {string} [email]
|
|
8108
|
+
* @param {Gender} [gender]
|
|
8109
|
+
* @param {Date} [dateOfBirth]
|
|
8110
|
+
* @param {Date} [created]
|
|
8111
|
+
* @param {boolean} [showHidden]
|
|
8112
|
+
* @param {number} [page]
|
|
8113
|
+
* @param {number} [limit]
|
|
8114
|
+
* @param {Date} [lastRetrieved]
|
|
8115
|
+
* @param {*} [options] Override http request option.
|
|
8116
|
+
* @throws {RequiredError}
|
|
8117
|
+
* @memberof DoctorsApi
|
|
8118
|
+
*/
|
|
8119
|
+
DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
|
|
8120
|
+
var _this = this;
|
|
8121
|
+
return exports.DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8122
|
+
};
|
|
7944
8123
|
/**
|
|
7945
8124
|
*
|
|
7946
8125
|
* @param {string} slug
|
|
@@ -14549,6 +14728,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14549
14728
|
* @param {string} [serviceName]
|
|
14550
14729
|
* @param {string} [patientId]
|
|
14551
14730
|
* @param {string} [patientName]
|
|
14731
|
+
* @param {Gender} [gender]
|
|
14552
14732
|
* @param {boolean} [recommended]
|
|
14553
14733
|
* @param {number} [rate]
|
|
14554
14734
|
* @param {ReviewType} [reviewType]
|
|
@@ -14558,7 +14738,7 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14558
14738
|
* @param {*} [options] Override http request option.
|
|
14559
14739
|
* @throws {RequiredError}
|
|
14560
14740
|
*/
|
|
14561
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14741
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
14562
14742
|
if (options === void 0) { options = {}; }
|
|
14563
14743
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14564
14744
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14586,6 +14766,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
14586
14766
|
if (patientName !== undefined) {
|
|
14587
14767
|
localVarQueryParameter['PatientName'] = patientName;
|
|
14588
14768
|
}
|
|
14769
|
+
if (gender !== undefined) {
|
|
14770
|
+
localVarQueryParameter['Gender'] = gender;
|
|
14771
|
+
}
|
|
14589
14772
|
if (recommended !== undefined) {
|
|
14590
14773
|
localVarQueryParameter['Recommended'] = recommended;
|
|
14591
14774
|
}
|
|
@@ -15031,6 +15214,7 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15031
15214
|
* @param {string} [serviceName]
|
|
15032
15215
|
* @param {string} [patientId]
|
|
15033
15216
|
* @param {string} [patientName]
|
|
15217
|
+
* @param {Gender} [gender]
|
|
15034
15218
|
* @param {boolean} [recommended]
|
|
15035
15219
|
* @param {number} [rate]
|
|
15036
15220
|
* @param {ReviewType} [reviewType]
|
|
@@ -15040,12 +15224,12 @@ exports.ServiceReviewsApiFp = function (configuration) {
|
|
|
15040
15224
|
* @param {*} [options] Override http request option.
|
|
15041
15225
|
* @throws {RequiredError}
|
|
15042
15226
|
*/
|
|
15043
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15227
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15044
15228
|
return __awaiter(this, void 0, void 0, function () {
|
|
15045
15229
|
var localVarAxiosArgs;
|
|
15046
15230
|
return __generator(this, function (_a) {
|
|
15047
15231
|
switch (_a.label) {
|
|
15048
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15232
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
15049
15233
|
case 1:
|
|
15050
15234
|
localVarAxiosArgs = _a.sent();
|
|
15051
15235
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -15260,6 +15444,7 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15260
15444
|
* @param {string} [serviceName]
|
|
15261
15445
|
* @param {string} [patientId]
|
|
15262
15446
|
* @param {string} [patientName]
|
|
15447
|
+
* @param {Gender} [gender]
|
|
15263
15448
|
* @param {boolean} [recommended]
|
|
15264
15449
|
* @param {number} [rate]
|
|
15265
15450
|
* @param {ReviewType} [reviewType]
|
|
@@ -15269,8 +15454,8 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
15269
15454
|
* @param {*} [options] Override http request option.
|
|
15270
15455
|
* @throws {RequiredError}
|
|
15271
15456
|
*/
|
|
15272
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15273
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15457
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15458
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15274
15459
|
},
|
|
15275
15460
|
/**
|
|
15276
15461
|
*
|
|
@@ -15393,6 +15578,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15393
15578
|
* @param {string} [serviceName]
|
|
15394
15579
|
* @param {string} [patientId]
|
|
15395
15580
|
* @param {string} [patientName]
|
|
15581
|
+
* @param {Gender} [gender]
|
|
15396
15582
|
* @param {boolean} [recommended]
|
|
15397
15583
|
* @param {number} [rate]
|
|
15398
15584
|
* @param {ReviewType} [reviewType]
|
|
@@ -15403,9 +15589,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
15403
15589
|
* @throws {RequiredError}
|
|
15404
15590
|
* @memberof ServiceReviewsApi
|
|
15405
15591
|
*/
|
|
15406
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15592
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
15407
15593
|
var _this = this;
|
|
15408
|
-
return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15594
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15409
15595
|
};
|
|
15410
15596
|
/**
|
|
15411
15597
|
*
|