ch-api-client-typescript2 3.1.4 → 3.2.1
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 +213 -9
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +199 -14
- package/package.json +1 -1
- package/src/api.ts +318 -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
|
*
|
|
@@ -16110,13 +16111,15 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16110
16111
|
* @param {boolean} [recommended]
|
|
16111
16112
|
* @param {number} [rate]
|
|
16112
16113
|
* @param {ReviewType} [reviewType]
|
|
16114
|
+
* @param {string} [languageCode]
|
|
16115
|
+
* @param {boolean} [returnDefaultValue]
|
|
16113
16116
|
* @param {number} [page]
|
|
16114
16117
|
* @param {number} [limit]
|
|
16115
16118
|
* @param {Date} [lastRetrieved]
|
|
16116
16119
|
* @param {*} [options] Override http request option.
|
|
16117
16120
|
* @throws {RequiredError}
|
|
16118
16121
|
*/
|
|
16119
|
-
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) {
|
|
16120
16123
|
if (options === void 0) { options = {}; }
|
|
16121
16124
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16122
16125
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16156,6 +16159,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16156
16159
|
if (reviewType !== undefined) {
|
|
16157
16160
|
localVarQueryParameter['ReviewType'] = reviewType;
|
|
16158
16161
|
}
|
|
16162
|
+
if (languageCode !== undefined) {
|
|
16163
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16164
|
+
}
|
|
16165
|
+
if (returnDefaultValue !== undefined) {
|
|
16166
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
16167
|
+
}
|
|
16159
16168
|
if (page !== undefined) {
|
|
16160
16169
|
localVarQueryParameter['page'] = page;
|
|
16161
16170
|
}
|
|
@@ -16265,10 +16274,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16265
16274
|
/**
|
|
16266
16275
|
*
|
|
16267
16276
|
* @param {string} serviceReviewId
|
|
16277
|
+
* @param {string} [languageCode]
|
|
16278
|
+
* @param {boolean} [returnDefaultValue]
|
|
16268
16279
|
* @param {*} [options] Override http request option.
|
|
16269
16280
|
* @throws {RequiredError}
|
|
16270
16281
|
*/
|
|
16271
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16282
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16272
16283
|
if (options === void 0) { options = {}; }
|
|
16273
16284
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16274
16285
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16284,6 +16295,12 @@ var ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
16284
16295
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16285
16296
|
localVarHeaderParameter = {};
|
|
16286
16297
|
localVarQueryParameter = {};
|
|
16298
|
+
if (languageCode !== undefined) {
|
|
16299
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
16300
|
+
}
|
|
16301
|
+
if (returnDefaultValue !== undefined) {
|
|
16302
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16303
|
+
}
|
|
16287
16304
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16288
16305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16289
16306
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16597,18 +16614,20 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16597
16614
|
* @param {boolean} [recommended]
|
|
16598
16615
|
* @param {number} [rate]
|
|
16599
16616
|
* @param {ReviewType} [reviewType]
|
|
16617
|
+
* @param {string} [languageCode]
|
|
16618
|
+
* @param {boolean} [returnDefaultValue]
|
|
16600
16619
|
* @param {number} [page]
|
|
16601
16620
|
* @param {number} [limit]
|
|
16602
16621
|
* @param {Date} [lastRetrieved]
|
|
16603
16622
|
* @param {*} [options] Override http request option.
|
|
16604
16623
|
* @throws {RequiredError}
|
|
16605
16624
|
*/
|
|
16606
|
-
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) {
|
|
16607
16626
|
return __awaiter(this, void 0, void 0, function () {
|
|
16608
16627
|
var localVarAxiosArgs;
|
|
16609
16628
|
return __generator(this, function (_a) {
|
|
16610
16629
|
switch (_a.label) {
|
|
16611
|
-
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)];
|
|
16612
16631
|
case 1:
|
|
16613
16632
|
localVarAxiosArgs = _a.sent();
|
|
16614
16633
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16659,15 +16678,17 @@ var ServiceReviewsApiFp = function (configuration) {
|
|
|
16659
16678
|
/**
|
|
16660
16679
|
*
|
|
16661
16680
|
* @param {string} serviceReviewId
|
|
16681
|
+
* @param {string} [languageCode]
|
|
16682
|
+
* @param {boolean} [returnDefaultValue]
|
|
16662
16683
|
* @param {*} [options] Override http request option.
|
|
16663
16684
|
* @throws {RequiredError}
|
|
16664
16685
|
*/
|
|
16665
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16686
|
+
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
16666
16687
|
return __awaiter(this, void 0, void 0, function () {
|
|
16667
16688
|
var localVarAxiosArgs;
|
|
16668
16689
|
return __generator(this, function (_a) {
|
|
16669
16690
|
switch (_a.label) {
|
|
16670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
16691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options)];
|
|
16671
16692
|
case 1:
|
|
16672
16693
|
localVarAxiosArgs = _a.sent();
|
|
16673
16694
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16828,14 +16849,16 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16828
16849
|
* @param {boolean} [recommended]
|
|
16829
16850
|
* @param {number} [rate]
|
|
16830
16851
|
* @param {ReviewType} [reviewType]
|
|
16852
|
+
* @param {string} [languageCode]
|
|
16853
|
+
* @param {boolean} [returnDefaultValue]
|
|
16831
16854
|
* @param {number} [page]
|
|
16832
16855
|
* @param {number} [limit]
|
|
16833
16856
|
* @param {Date} [lastRetrieved]
|
|
16834
16857
|
* @param {*} [options] Override http request option.
|
|
16835
16858
|
* @throws {RequiredError}
|
|
16836
16859
|
*/
|
|
16837
|
-
apiV2ServicereviewsGet: function (hospitalId, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
16838
|
-
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); });
|
|
16839
16862
|
},
|
|
16840
16863
|
/**
|
|
16841
16864
|
*
|
|
@@ -16860,11 +16883,13 @@ var ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
16860
16883
|
/**
|
|
16861
16884
|
*
|
|
16862
16885
|
* @param {string} serviceReviewId
|
|
16886
|
+
* @param {string} [languageCode]
|
|
16887
|
+
* @param {boolean} [returnDefaultValue]
|
|
16863
16888
|
* @param {*} [options] Override http request option.
|
|
16864
16889
|
* @throws {RequiredError}
|
|
16865
16890
|
*/
|
|
16866
|
-
apiV2ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
16867
|
-
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); });
|
|
16868
16893
|
},
|
|
16869
16894
|
/**
|
|
16870
16895
|
*
|
|
@@ -16963,6 +16988,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16963
16988
|
* @param {boolean} [recommended]
|
|
16964
16989
|
* @param {number} [rate]
|
|
16965
16990
|
* @param {ReviewType} [reviewType]
|
|
16991
|
+
* @param {string} [languageCode]
|
|
16992
|
+
* @param {boolean} [returnDefaultValue]
|
|
16966
16993
|
* @param {number} [page]
|
|
16967
16994
|
* @param {number} [limit]
|
|
16968
16995
|
* @param {Date} [lastRetrieved]
|
|
@@ -16970,9 +16997,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
16970
16997
|
* @throws {RequiredError}
|
|
16971
16998
|
* @memberof ServiceReviewsApi
|
|
16972
16999
|
*/
|
|
16973
|
-
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) {
|
|
16974
17001
|
var _this = this;
|
|
16975
|
-
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); });
|
|
16976
17003
|
};
|
|
16977
17004
|
/**
|
|
16978
17005
|
*
|
|
@@ -17001,13 +17028,15 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
|
17001
17028
|
/**
|
|
17002
17029
|
*
|
|
17003
17030
|
* @param {string} serviceReviewId
|
|
17031
|
+
* @param {string} [languageCode]
|
|
17032
|
+
* @param {boolean} [returnDefaultValue]
|
|
17004
17033
|
* @param {*} [options] Override http request option.
|
|
17005
17034
|
* @throws {RequiredError}
|
|
17006
17035
|
* @memberof ServiceReviewsApi
|
|
17007
17036
|
*/
|
|
17008
|
-
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
17037
|
+
ServiceReviewsApi.prototype.apiV2ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, returnDefaultValue, options) {
|
|
17009
17038
|
var _this = this;
|
|
17010
|
-
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); });
|
|
17011
17040
|
};
|
|
17012
17041
|
/**
|
|
17013
17042
|
*
|
|
@@ -17826,6 +17855,87 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
|
|
|
17826
17855
|
});
|
|
17827
17856
|
});
|
|
17828
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
|
+
},
|
|
17829
17939
|
/**
|
|
17830
17940
|
*
|
|
17831
17941
|
* @param {string} slug
|
|
@@ -18039,6 +18149,37 @@ var SpecialtiesApiFp = function (configuration) {
|
|
|
18039
18149
|
});
|
|
18040
18150
|
});
|
|
18041
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
|
+
},
|
|
18042
18183
|
/**
|
|
18043
18184
|
*
|
|
18044
18185
|
* @param {string} slug
|
|
@@ -18158,6 +18299,27 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
|
|
|
18158
18299
|
apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18159
18300
|
return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18160
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
|
+
},
|
|
18161
18323
|
/**
|
|
18162
18324
|
*
|
|
18163
18325
|
* @param {string} slug
|
|
@@ -18243,6 +18405,29 @@ var SpecialtiesApi = /** @class */ (function (_super) {
|
|
|
18243
18405
|
var _this = this;
|
|
18244
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); });
|
|
18245
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
|
+
};
|
|
18246
18431
|
/**
|
|
18247
18432
|
*
|
|
18248
18433
|
* @param {string} slug
|