ch-api-client-typescript2 3.1.3 → 3.2.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 +311 -9
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +407 -14
- package/package.json +1 -1
- package/src/api.ts +515 -15
package/lib/api.js
CHANGED
|
@@ -307,6 +307,7 @@ var SnsType;
|
|
|
307
307
|
SnsType["Instagram"] = "Instagram";
|
|
308
308
|
SnsType["LinkedIn"] = "LinkedIn";
|
|
309
309
|
SnsType["Youtube"] = "Youtube";
|
|
310
|
+
SnsType["KakaoTalk"] = "KakaoTalk";
|
|
310
311
|
})(SnsType = exports.SnsType || (exports.SnsType = {}));
|
|
311
312
|
/**
|
|
312
313
|
*
|
|
@@ -10444,6 +10445,106 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10444
10445
|
});
|
|
10445
10446
|
});
|
|
10446
10447
|
},
|
|
10448
|
+
/**
|
|
10449
|
+
*
|
|
10450
|
+
* @summary Get all HospitalServiceMedias.
|
|
10451
|
+
* @param {string} hospitalId
|
|
10452
|
+
* @param {string} hospitalSpecialtyId
|
|
10453
|
+
* @param {string} [id]
|
|
10454
|
+
* @param {MediaType} [mediaType]
|
|
10455
|
+
* @param {number} [page]
|
|
10456
|
+
* @param {number} [limit]
|
|
10457
|
+
* @param {Date} [lastRetrieved]
|
|
10458
|
+
* @param {*} [options] Override http request option.
|
|
10459
|
+
* @throws {RequiredError}
|
|
10460
|
+
*/
|
|
10461
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
10462
|
+
if (options === void 0) { options = {}; }
|
|
10463
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10464
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10465
|
+
return __generator(this, function (_a) {
|
|
10466
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10467
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalId', hospitalId);
|
|
10468
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
10469
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
10470
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias"
|
|
10471
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10472
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)));
|
|
10473
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10474
|
+
if (configuration) {
|
|
10475
|
+
baseOptions = configuration.baseOptions;
|
|
10476
|
+
}
|
|
10477
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10478
|
+
localVarHeaderParameter = {};
|
|
10479
|
+
localVarQueryParameter = {};
|
|
10480
|
+
if (id !== undefined) {
|
|
10481
|
+
localVarQueryParameter['Id'] = id;
|
|
10482
|
+
}
|
|
10483
|
+
if (mediaType !== undefined) {
|
|
10484
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
10485
|
+
}
|
|
10486
|
+
if (page !== undefined) {
|
|
10487
|
+
localVarQueryParameter['page'] = page;
|
|
10488
|
+
}
|
|
10489
|
+
if (limit !== undefined) {
|
|
10490
|
+
localVarQueryParameter['limit'] = limit;
|
|
10491
|
+
}
|
|
10492
|
+
if (lastRetrieved !== undefined) {
|
|
10493
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10494
|
+
lastRetrieved.toISOString() :
|
|
10495
|
+
lastRetrieved;
|
|
10496
|
+
}
|
|
10497
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10498
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10499
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10500
|
+
return [2 /*return*/, {
|
|
10501
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10502
|
+
options: localVarRequestOptions,
|
|
10503
|
+
}];
|
|
10504
|
+
});
|
|
10505
|
+
});
|
|
10506
|
+
},
|
|
10507
|
+
/**
|
|
10508
|
+
*
|
|
10509
|
+
* @summary Get HospitalServiceMedia.
|
|
10510
|
+
* @param {string} hospitalId
|
|
10511
|
+
* @param {string} hospitalSpecialtyId
|
|
10512
|
+
* @param {string} mediaId
|
|
10513
|
+
* @param {*} [options] Override http request option.
|
|
10514
|
+
* @throws {RequiredError}
|
|
10515
|
+
*/
|
|
10516
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
10517
|
+
if (options === void 0) { options = {}; }
|
|
10518
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10519
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10520
|
+
return __generator(this, function (_a) {
|
|
10521
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10522
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalId', hospitalId);
|
|
10523
|
+
// verify required parameter 'hospitalSpecialtyId' is not null or undefined
|
|
10524
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'hospitalSpecialtyId', hospitalSpecialtyId);
|
|
10525
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
10526
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
10527
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/{hospitalSpecialtyId}/medias/{mediaId}"
|
|
10528
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10529
|
+
.replace("{".concat("hospitalSpecialtyId", "}"), encodeURIComponent(String(hospitalSpecialtyId)))
|
|
10530
|
+
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
10531
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10532
|
+
if (configuration) {
|
|
10533
|
+
baseOptions = configuration.baseOptions;
|
|
10534
|
+
}
|
|
10535
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10536
|
+
localVarHeaderParameter = {};
|
|
10537
|
+
localVarQueryParameter = {};
|
|
10538
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10539
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10540
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10541
|
+
return [2 /*return*/, {
|
|
10542
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10543
|
+
options: localVarRequestOptions,
|
|
10544
|
+
}];
|
|
10545
|
+
});
|
|
10546
|
+
});
|
|
10547
|
+
},
|
|
10447
10548
|
/**
|
|
10448
10549
|
*
|
|
10449
10550
|
* @summary Get all HospitalSpecialties.
|
|
@@ -11485,6 +11586,54 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11485
11586
|
});
|
|
11486
11587
|
});
|
|
11487
11588
|
},
|
|
11589
|
+
/**
|
|
11590
|
+
*
|
|
11591
|
+
* @summary Get all HospitalServiceMedias.
|
|
11592
|
+
* @param {string} hospitalId
|
|
11593
|
+
* @param {string} hospitalSpecialtyId
|
|
11594
|
+
* @param {string} [id]
|
|
11595
|
+
* @param {MediaType} [mediaType]
|
|
11596
|
+
* @param {number} [page]
|
|
11597
|
+
* @param {number} [limit]
|
|
11598
|
+
* @param {Date} [lastRetrieved]
|
|
11599
|
+
* @param {*} [options] Override http request option.
|
|
11600
|
+
* @throws {RequiredError}
|
|
11601
|
+
*/
|
|
11602
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
11603
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11604
|
+
var localVarAxiosArgs;
|
|
11605
|
+
return __generator(this, function (_a) {
|
|
11606
|
+
switch (_a.label) {
|
|
11607
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
11608
|
+
case 1:
|
|
11609
|
+
localVarAxiosArgs = _a.sent();
|
|
11610
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11611
|
+
}
|
|
11612
|
+
});
|
|
11613
|
+
});
|
|
11614
|
+
},
|
|
11615
|
+
/**
|
|
11616
|
+
*
|
|
11617
|
+
* @summary Get HospitalServiceMedia.
|
|
11618
|
+
* @param {string} hospitalId
|
|
11619
|
+
* @param {string} hospitalSpecialtyId
|
|
11620
|
+
* @param {string} mediaId
|
|
11621
|
+
* @param {*} [options] Override http request option.
|
|
11622
|
+
* @throws {RequiredError}
|
|
11623
|
+
*/
|
|
11624
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
11625
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11626
|
+
var localVarAxiosArgs;
|
|
11627
|
+
return __generator(this, function (_a) {
|
|
11628
|
+
switch (_a.label) {
|
|
11629
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options)];
|
|
11630
|
+
case 1:
|
|
11631
|
+
localVarAxiosArgs = _a.sent();
|
|
11632
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11633
|
+
}
|
|
11634
|
+
});
|
|
11635
|
+
});
|
|
11636
|
+
},
|
|
11488
11637
|
/**
|
|
11489
11638
|
*
|
|
11490
11639
|
* @summary Get all HospitalSpecialties.
|
|
@@ -11997,6 +12146,34 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
11997
12146
|
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
|
|
11998
12147
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11999
12148
|
},
|
|
12149
|
+
/**
|
|
12150
|
+
*
|
|
12151
|
+
* @summary Get all HospitalServiceMedias.
|
|
12152
|
+
* @param {string} hospitalId
|
|
12153
|
+
* @param {string} hospitalSpecialtyId
|
|
12154
|
+
* @param {string} [id]
|
|
12155
|
+
* @param {MediaType} [mediaType]
|
|
12156
|
+
* @param {number} [page]
|
|
12157
|
+
* @param {number} [limit]
|
|
12158
|
+
* @param {Date} [lastRetrieved]
|
|
12159
|
+
* @param {*} [options] Override http request option.
|
|
12160
|
+
* @throws {RequiredError}
|
|
12161
|
+
*/
|
|
12162
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet: function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
12163
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12164
|
+
},
|
|
12165
|
+
/**
|
|
12166
|
+
*
|
|
12167
|
+
* @summary Get HospitalServiceMedia.
|
|
12168
|
+
* @param {string} hospitalId
|
|
12169
|
+
* @param {string} hospitalSpecialtyId
|
|
12170
|
+
* @param {string} mediaId
|
|
12171
|
+
* @param {*} [options] Override http request option.
|
|
12172
|
+
* @throws {RequiredError}
|
|
12173
|
+
*/
|
|
12174
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet: function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
12175
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
12176
|
+
},
|
|
12000
12177
|
/**
|
|
12001
12178
|
*
|
|
12002
12179
|
* @summary Get all HospitalSpecialties.
|
|
@@ -12443,6 +12620,38 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12443
12620
|
var _this = this;
|
|
12444
12621
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12445
12622
|
};
|
|
12623
|
+
/**
|
|
12624
|
+
*
|
|
12625
|
+
* @summary Get all HospitalServiceMedias.
|
|
12626
|
+
* @param {string} hospitalId
|
|
12627
|
+
* @param {string} hospitalSpecialtyId
|
|
12628
|
+
* @param {string} [id]
|
|
12629
|
+
* @param {MediaType} [mediaType]
|
|
12630
|
+
* @param {number} [page]
|
|
12631
|
+
* @param {number} [limit]
|
|
12632
|
+
* @param {Date} [lastRetrieved]
|
|
12633
|
+
* @param {*} [options] Override http request option.
|
|
12634
|
+
* @throws {RequiredError}
|
|
12635
|
+
* @memberof HospitalsApi
|
|
12636
|
+
*/
|
|
12637
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet = function (hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
12638
|
+
var _this = this;
|
|
12639
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasGet(hospitalId, hospitalSpecialtyId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12640
|
+
};
|
|
12641
|
+
/**
|
|
12642
|
+
*
|
|
12643
|
+
* @summary Get HospitalServiceMedia.
|
|
12644
|
+
* @param {string} hospitalId
|
|
12645
|
+
* @param {string} hospitalSpecialtyId
|
|
12646
|
+
* @param {string} mediaId
|
|
12647
|
+
* @param {*} [options] Override http request option.
|
|
12648
|
+
* @throws {RequiredError}
|
|
12649
|
+
* @memberof HospitalsApi
|
|
12650
|
+
*/
|
|
12651
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet = function (hospitalId, hospitalSpecialtyId, mediaId, options) {
|
|
12652
|
+
var _this = this;
|
|
12653
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdMediasMediaIdGet(hospitalId, hospitalSpecialtyId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12654
|
+
};
|
|
12446
12655
|
/**
|
|
12447
12656
|
*
|
|
12448
12657
|
* @summary Get all HospitalSpecialties.
|
|
@@ -15902,13 +16111,15 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15902
16111
|
* @param {boolean} [recommended]
|
|
15903
16112
|
* @param {number} [rate]
|
|
15904
16113
|
* @param {ReviewType} [reviewType]
|
|
16114
|
+
* @param {string} [languageCode]
|
|
16115
|
+
* @param {boolean} [returnDefaultValue]
|
|
15905
16116
|
* @param {number} [page]
|
|
15906
16117
|
* @param {number} [limit]
|
|
15907
16118
|
* @param {Date} [lastRetrieved]
|
|
15908
16119
|
* @param {*} [options] Override http request option.
|
|
15909
16120
|
* @throws {RequiredError}
|
|
15910
16121
|
*/
|
|
15911
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16122
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
15912
16123
|
if (options === void 0) { options = {}; }
|
|
15913
16124
|
return __awaiter(_this, void 0, void 0, function () {
|
|
15914
16125
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -15948,6 +16159,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
15948
16159
|
if (reviewType !== undefined) {
|
|
15949
16160
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
15950
16161
|
}
|
|
16162
|
+
if (languageCode !== undefined) {
|
|
16163
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16164
|
+
}
|
|
16165
|
+
if (returnDefaultValue !== undefined) {
|
|
16166
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16167
|
+
}
|
|
15951
16168
|
if (page !== undefined) {
|
|
15952
16169
|
localVarQueryParameter['page'] = page;
|
|
15953
16170
|
}
|
|
@@ -16057,10 +16274,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16057
16274
|
/**
|
|
16058
16275
|
*
|
|
16059
16276
|
* @param {string} serviceReviewId
|
|
16277
|
+
* @param {string} [languageCode]
|
|
16278
|
+
* @param {boolean} [returnDefaultValue]
|
|
16060
16279
|
* @param {*} [options] Override http request option.
|
|
16061
16280
|
* @throws {RequiredError}
|
|
16062
16281
|
*/
|
|
16063
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16282
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16064
16283
|
if (options === void 0) { options = {}; }
|
|
16065
16284
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16066
16285
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16076,6 +16295,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16076
16295
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16077
16296
|
localVarHeaderParameter = {};
|
|
16078
16297
|
localVarQueryParameter = {};
|
|
16298
|
+
if (languageCode !== undefined) {
|
|
16299
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
16300
|
+
}
|
|
16301
|
+
if (returnDefaultValue !== undefined) {
|
|
16302
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16303
|
+
}
|
|
16079
16304
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16080
16305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16081
16306
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16389,18 +16614,20 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16389
16614
|
* @param {boolean} [recommended]
|
|
16390
16615
|
* @param {number} [rate]
|
|
16391
16616
|
* @param {ReviewType} [reviewType]
|
|
16617
|
+
* @param {string} [languageCode]
|
|
16618
|
+
* @param {boolean} [returnDefaultValue]
|
|
16392
16619
|
* @param {number} [page]
|
|
16393
16620
|
* @param {number} [limit]
|
|
16394
16621
|
* @param {Date} [lastRetrieved]
|
|
16395
16622
|
* @param {*} [options] Override http request option.
|
|
16396
16623
|
* @throws {RequiredError}
|
|
16397
16624
|
*/
|
|
16398
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16625
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16399
16626
|
return __awaiter(this, void 0, void 0, function () {
|
|
16400
16627
|
var localVarAxiosArgs;
|
|
16401
16628
|
return __generator(this, function (_a) {
|
|
16402
16629
|
switch (_a.label) {
|
|
16403
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
16630
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
16404
16631
|
case 1:
|
|
16405
16632
|
localVarAxiosArgs = _a.sent();
|
|
16406
16633
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16451,15 +16678,17 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16451
16678
|
/**
|
|
16452
16679
|
*
|
|
16453
16680
|
* @param {string} serviceReviewId
|
|
16681
|
+
* @param {string} [languageCode]
|
|
16682
|
+
* @param {boolean} [returnDefaultValue]
|
|
16454
16683
|
* @param {*} [options] Override http request option.
|
|
16455
16684
|
* @throws {RequiredError}
|
|
16456
16685
|
*/
|
|
16457
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16686
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16458
16687
|
return __awaiter(this, void 0, void 0, function () {
|
|
16459
16688
|
var localVarAxiosArgs;
|
|
16460
16689
|
return __generator(this, function (_a) {
|
|
16461
16690
|
switch (_a.label) {
|
|
16462
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options)];
|
|
16463
16692
|
case 1:
|
|
16464
16693
|
localVarAxiosArgs = _a.sent();
|
|
16465
16694
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16620,14 +16849,16 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16620
16849
|
* @param {boolean} [recommended]
|
|
16621
16850
|
* @param {number} [rate]
|
|
16622
16851
|
* @param {ReviewType} [reviewType]
|
|
16852
|
+
* @param {string} [languageCode]
|
|
16853
|
+
* @param {boolean} [returnDefaultValue]
|
|
16623
16854
|
* @param {number} [page]
|
|
16624
16855
|
* @param {number} [limit]
|
|
16625
16856
|
* @param {Date} [lastRetrieved]
|
|
16626
16857
|
* @param {*} [options] Override http request option.
|
|
16627
16858
|
* @throws {RequiredError}
|
|
16628
16859
|
*/
|
|
16629
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16630
|
-
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16860
|
+
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16861
|
+
return localVarFp.apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16631
16862
|
},
|
|
16632
16863
|
/**
|
|
16633
16864
|
*
|
|
@@ -16652,11 +16883,13 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16652
16883
|
/**
|
|
16653
16884
|
*
|
|
16654
16885
|
* @param {string} serviceReviewId
|
|
16886
|
+
* @param {string} [languageCode]
|
|
16887
|
+
* @param {boolean} [returnDefaultValue]
|
|
16655
16888
|
* @param {*} [options] Override http request option.
|
|
16656
16889
|
* @throws {RequiredError}
|
|
16657
16890
|
*/
|
|
16658
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16659
|
-
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
16891
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16892
|
+
return localVarFp.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
16660
16893
|
},
|
|
16661
16894
|
/**
|
|
16662
16895
|
*
|
|
@@ -16755,6 +16988,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16755
16988
|
* @param {boolean} [recommended]
|
|
16756
16989
|
* @param {number} [rate]
|
|
16757
16990
|
* @param {ReviewType} [reviewType]
|
|
16991
|
+
* @param {string} [languageCode]
|
|
16992
|
+
* @param {boolean} [returnDefaultValue]
|
|
16758
16993
|
* @param {number} [page]
|
|
16759
16994
|
* @param {number} [limit]
|
|
16760
16995
|
* @param {Date} [lastRetrieved]
|
|
@@ -16762,9 +16997,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16762
16997
|
* @throws {RequiredError}
|
|
16763
16998
|
* @memberof ServiceReviewsApi
|
|
16764
16999
|
*/
|
|
16765
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
17000
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsGet = function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16766
17001
|
var _this = this;
|
|
16767
|
-
return (0, 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); });
|
|
17002
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsGet(hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16768
17003
|
};
|
|
16769
17004
|
/**
|
|
16770
17005
|
*
|
|
@@ -16793,13 +17028,15 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16793
17028
|
/**
|
|
16794
17029
|
*
|
|
16795
17030
|
* @param {string} serviceReviewId
|
|
17031
|
+
* @param {string} [languageCode]
|
|
17032
|
+
* @param {boolean} [returnDefaultValue]
|
|
16796
17033
|
* @param {*} [options] Override http request option.
|
|
16797
17034
|
* @throws {RequiredError}
|
|
16798
17035
|
* @memberof ServiceReviewsApi
|
|
16799
17036
|
*/
|
|
16800
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
17037
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16801
17038
|
var _this = this;
|
|
16802
|
-
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17039
|
+
return (0, exports.ServiceReviewsApiFp)(this.configuration).apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16803
17040
|
};
|
|
16804
17041
|
/**
|
|
16805
17042
|
*
|
|
@@ -17618,6 +17855,87 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
17618
17855
|
});
|
|
17619
17856
|
});
|
|
17620
17857
|
},
|
|
17858
|
+
/**
|
|
17859
|
+
*
|
|
17860
|
+
* @summary Get all Specialties Simple.
|
|
17861
|
+
* @param {string} [id]
|
|
17862
|
+
* @param {string} [name]
|
|
17863
|
+
* @param {string} [description]
|
|
17864
|
+
* @param {string} [specialtyTypeId]
|
|
17865
|
+
* @param {string} [hospitalId]
|
|
17866
|
+
* @param {Date} [created]
|
|
17867
|
+
* @param {string} [languageCode]
|
|
17868
|
+
* @param {Array<string>} [ids]
|
|
17869
|
+
* @param {boolean} [returnDefaultValue]
|
|
17870
|
+
* @param {number} [page]
|
|
17871
|
+
* @param {number} [limit]
|
|
17872
|
+
* @param {Date} [lastRetrieved]
|
|
17873
|
+
* @param {*} [options] Override http request option.
|
|
17874
|
+
* @throws {RequiredError}
|
|
17875
|
+
*/
|
|
17876
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17877
|
+
if (options === void 0) { options = {}; }
|
|
17878
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
17879
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
17880
|
+
return __generator(this, function (_a) {
|
|
17881
|
+
localVarPath = "/api/v2/specialties/simple";
|
|
17882
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17883
|
+
if (configuration) {
|
|
17884
|
+
baseOptions = configuration.baseOptions;
|
|
17885
|
+
}
|
|
17886
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
17887
|
+
localVarHeaderParameter = {};
|
|
17888
|
+
localVarQueryParameter = {};
|
|
17889
|
+
if (id !== undefined) {
|
|
17890
|
+
localVarQueryParameter['Id'] = id;
|
|
17891
|
+
}
|
|
17892
|
+
if (name !== undefined) {
|
|
17893
|
+
localVarQueryParameter['Name'] = name;
|
|
17894
|
+
}
|
|
17895
|
+
if (description !== undefined) {
|
|
17896
|
+
localVarQueryParameter['Description'] = description;
|
|
17897
|
+
}
|
|
17898
|
+
if (specialtyTypeId !== undefined) {
|
|
17899
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
17900
|
+
}
|
|
17901
|
+
if (hospitalId !== undefined) {
|
|
17902
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17903
|
+
}
|
|
17904
|
+
if (created !== undefined) {
|
|
17905
|
+
localVarQueryParameter['Created'] = (created instanceof Date) ?
|
|
17906
|
+
created.toISOString() :
|
|
17907
|
+
created;
|
|
17908
|
+
}
|
|
17909
|
+
if (languageCode !== undefined) {
|
|
17910
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
17911
|
+
}
|
|
17912
|
+
if (ids) {
|
|
17913
|
+
localVarQueryParameter['Ids'] = ids;
|
|
17914
|
+
}
|
|
17915
|
+
if (returnDefaultValue !== undefined) {
|
|
17916
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17917
|
+
}
|
|
17918
|
+
if (page !== undefined) {
|
|
17919
|
+
localVarQueryParameter['page'] = page;
|
|
17920
|
+
}
|
|
17921
|
+
if (limit !== undefined) {
|
|
17922
|
+
localVarQueryParameter['limit'] = limit;
|
|
17923
|
+
}
|
|
17924
|
+
if (lastRetrieved !== undefined) {
|
|
17925
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
17926
|
+
lastRetrieved.toISOString() :
|
|
17927
|
+
lastRetrieved;
|
|
17928
|
+
}
|
|
17929
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17930
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17931
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17932
|
+
return [2 /*return*/, {
|
|
17933
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17934
|
+
options: localVarRequestOptions,
|
|
17935
|
+
}];
|
|
17936
|
+
});
|
|
17937
|
+
});
|
|
17938
|
+
},
|
|
17621
17939
|
/**
|
|
17622
17940
|
*
|
|
17623
17941
|
* @param {string} slug
|
|
@@ -17831,6 +18149,37 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
17831
18149
|
});
|
|
17832
18150
|
});
|
|
17833
18151
|
},
|
|
18152
|
+
/**
|
|
18153
|
+
*
|
|
18154
|
+
* @summary Get all Specialties Simple.
|
|
18155
|
+
* @param {string} [id]
|
|
18156
|
+
* @param {string} [name]
|
|
18157
|
+
* @param {string} [description]
|
|
18158
|
+
* @param {string} [specialtyTypeId]
|
|
18159
|
+
* @param {string} [hospitalId]
|
|
18160
|
+
* @param {Date} [created]
|
|
18161
|
+
* @param {string} [languageCode]
|
|
18162
|
+
* @param {Array<string>} [ids]
|
|
18163
|
+
* @param {boolean} [returnDefaultValue]
|
|
18164
|
+
* @param {number} [page]
|
|
18165
|
+
* @param {number} [limit]
|
|
18166
|
+
* @param {Date} [lastRetrieved]
|
|
18167
|
+
* @param {*} [options] Override http request option.
|
|
18168
|
+
* @throws {RequiredError}
|
|
18169
|
+
*/
|
|
18170
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18171
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18172
|
+
var localVarAxiosArgs;
|
|
18173
|
+
return __generator(this, function (_a) {
|
|
18174
|
+
switch (_a.label) {
|
|
18175
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
18176
|
+
case 1:
|
|
18177
|
+
localVarAxiosArgs = _a.sent();
|
|
18178
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
18179
|
+
}
|
|
18180
|
+
});
|
|
18181
|
+
});
|
|
18182
|
+
},
|
|
17834
18183
|
/**
|
|
17835
18184
|
*
|
|
17836
18185
|
* @param {string} slug
|
|
@@ -17950,6 +18299,27 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
17950
18299
|
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17951
18300
|
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17952
18301
|
},
|
|
18302
|
+
/**
|
|
18303
|
+
*
|
|
18304
|
+
* @summary Get all Specialties Simple.
|
|
18305
|
+
* @param {string} [id]
|
|
18306
|
+
* @param {string} [name]
|
|
18307
|
+
* @param {string} [description]
|
|
18308
|
+
* @param {string} [specialtyTypeId]
|
|
18309
|
+
* @param {string} [hospitalId]
|
|
18310
|
+
* @param {Date} [created]
|
|
18311
|
+
* @param {string} [languageCode]
|
|
18312
|
+
* @param {Array<string>} [ids]
|
|
18313
|
+
* @param {boolean} [returnDefaultValue]
|
|
18314
|
+
* @param {number} [page]
|
|
18315
|
+
* @param {number} [limit]
|
|
18316
|
+
* @param {Date} [lastRetrieved]
|
|
18317
|
+
* @param {*} [options] Override http request option.
|
|
18318
|
+
* @throws {RequiredError}
|
|
18319
|
+
*/
|
|
18320
|
+
apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18321
|
+
return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18322
|
+
},
|
|
17953
18323
|
/**
|
|
17954
18324
|
*
|
|
17955
18325
|
* @param {string} slug
|
|
@@ -18035,6 +18405,29 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18035
18405
|
var _this = this;
|
|
18036
18406
|
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18037
18407
|
};
|
|
18408
|
+
/**
|
|
18409
|
+
*
|
|
18410
|
+
* @summary Get all Specialties Simple.
|
|
18411
|
+
* @param {string} [id]
|
|
18412
|
+
* @param {string} [name]
|
|
18413
|
+
* @param {string} [description]
|
|
18414
|
+
* @param {string} [specialtyTypeId]
|
|
18415
|
+
* @param {string} [hospitalId]
|
|
18416
|
+
* @param {Date} [created]
|
|
18417
|
+
* @param {string} [languageCode]
|
|
18418
|
+
* @param {Array<string>} [ids]
|
|
18419
|
+
* @param {boolean} [returnDefaultValue]
|
|
18420
|
+
* @param {number} [page]
|
|
18421
|
+
* @param {number} [limit]
|
|
18422
|
+
* @param {Date} [lastRetrieved]
|
|
18423
|
+
* @param {*} [options] Override http request option.
|
|
18424
|
+
* @throws {RequiredError}
|
|
18425
|
+
* @memberof SpecialtiesApi
|
|
18426
|
+
*/
|
|
18427
|
+
SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18428
|
+
var _this = this;
|
|
18429
|
+
return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18430
|
+
};
|
|
18038
18431
|
/**
|
|
18039
18432
|
*
|
|
18040
18433
|
* @param {string} slug
|