ch-admin-api-client-typescript 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.js CHANGED
@@ -293,6 +293,7 @@ var SnsType;
293
293
  SnsType["Instagram"] = "Instagram";
294
294
  SnsType["LinkedIn"] = "LinkedIn";
295
295
  SnsType["Youtube"] = "Youtube";
296
+ SnsType["KakaoTalk"] = "KakaoTalk";
296
297
  })(SnsType = exports.SnsType || (exports.SnsType = {}));
297
298
  /**
298
299
  *
@@ -17611,10 +17612,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17611
17612
  *
17612
17613
  * @summary Delete faq.
17613
17614
  * @param {string} faqId
17615
+ * @param {boolean} [forceDelete]
17614
17616
  * @param {*} [options] Override http request option.
17615
17617
  * @throws {RequiredError}
17616
17618
  */
17617
- apiV1FaqsFaqIdDelete: function (faqId, options) {
17619
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
17618
17620
  if (options === void 0) { options = {}; }
17619
17621
  return __awaiter(_this, void 0, void 0, function () {
17620
17622
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -17639,6 +17641,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
17639
17641
  // authentication oauth2 required
17640
17642
  // oauth required
17641
17643
  _a.sent();
17644
+ if (forceDelete !== undefined) {
17645
+ localVarQueryParameter['forceDelete'] = forceDelete;
17646
+ }
17642
17647
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
17643
17648
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17644
17649
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -18193,15 +18198,16 @@ exports.FaqsApiFp = function (configuration) {
18193
18198
  *
18194
18199
  * @summary Delete faq.
18195
18200
  * @param {string} faqId
18201
+ * @param {boolean} [forceDelete]
18196
18202
  * @param {*} [options] Override http request option.
18197
18203
  * @throws {RequiredError}
18198
18204
  */
18199
- apiV1FaqsFaqIdDelete: function (faqId, options) {
18205
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
18200
18206
  return __awaiter(this, void 0, void 0, function () {
18201
18207
  var localVarAxiosArgs;
18202
18208
  return __generator(this, function (_a) {
18203
18209
  switch (_a.label) {
18204
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, options)];
18210
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdDelete(faqId, forceDelete, options)];
18205
18211
  case 1:
18206
18212
  localVarAxiosArgs = _a.sent();
18207
18213
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18447,11 +18453,12 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
18447
18453
  *
18448
18454
  * @summary Delete faq.
18449
18455
  * @param {string} faqId
18456
+ * @param {boolean} [forceDelete]
18450
18457
  * @param {*} [options] Override http request option.
18451
18458
  * @throws {RequiredError}
18452
18459
  */
18453
- apiV1FaqsFaqIdDelete: function (faqId, options) {
18454
- return localVarFp.apiV1FaqsFaqIdDelete(faqId, options).then(function (request) { return request(axios, basePath); });
18460
+ apiV1FaqsFaqIdDelete: function (faqId, forceDelete, options) {
18461
+ return localVarFp.apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(axios, basePath); });
18455
18462
  },
18456
18463
  /**
18457
18464
  *
@@ -18595,13 +18602,14 @@ var FaqsApi = /** @class */ (function (_super) {
18595
18602
  *
18596
18603
  * @summary Delete faq.
18597
18604
  * @param {string} faqId
18605
+ * @param {boolean} [forceDelete]
18598
18606
  * @param {*} [options] Override http request option.
18599
18607
  * @throws {RequiredError}
18600
18608
  * @memberof FaqsApi
18601
18609
  */
18602
- FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, options) {
18610
+ FaqsApi.prototype.apiV1FaqsFaqIdDelete = function (faqId, forceDelete, options) {
18603
18611
  var _this = this;
18604
- return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, options).then(function (request) { return request(_this.axios, _this.basePath); });
18612
+ return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdDelete(faqId, forceDelete, options).then(function (request) { return request(_this.axios, _this.basePath); });
18605
18613
  };
18606
18614
  /**
18607
18615
  *
@@ -31217,13 +31225,15 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31217
31225
  * @param {boolean} [recommended]
31218
31226
  * @param {number} [rate]
31219
31227
  * @param {ReviewType} [reviewType]
31228
+ * @param {string} [languageCode]
31229
+ * @param {boolean} [returnDefaultValue]
31220
31230
  * @param {number} [page]
31221
31231
  * @param {number} [limit]
31222
31232
  * @param {Date} [lastRetrieved]
31223
31233
  * @param {*} [options] Override http request option.
31224
31234
  * @throws {RequiredError}
31225
31235
  */
31226
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31236
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
31227
31237
  if (options === void 0) { options = {}; }
31228
31238
  return __awaiter(_this, void 0, void 0, function () {
31229
31239
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -31269,6 +31279,12 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31269
31279
  if (reviewType !== undefined) {
31270
31280
  localVarQueryParameter['ReviewType'] = reviewType;
31271
31281
  }
31282
+ if (languageCode !== undefined) {
31283
+ localVarQueryParameter['LanguageCode'] = languageCode;
31284
+ }
31285
+ if (returnDefaultValue !== undefined) {
31286
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
31287
+ }
31272
31288
  if (page !== undefined) {
31273
31289
  localVarQueryParameter['page'] = page;
31274
31290
  }
@@ -31379,10 +31395,12 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31379
31395
  /**
31380
31396
  *
31381
31397
  * @param {string} serviceReviewId
31398
+ * @param {string} [languageCode]
31399
+ * @param {boolean} [returnDefaultValue]
31382
31400
  * @param {*} [options] Override http request option.
31383
31401
  * @throws {RequiredError}
31384
31402
  */
31385
- apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
31403
+ apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
31386
31404
  if (options === void 0) { options = {}; }
31387
31405
  return __awaiter(_this, void 0, void 0, function () {
31388
31406
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -31407,6 +31425,12 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31407
31425
  // authentication oauth2 required
31408
31426
  // oauth required
31409
31427
  _a.sent();
31428
+ if (languageCode !== undefined) {
31429
+ localVarQueryParameter['languageCode'] = languageCode;
31430
+ }
31431
+ if (returnDefaultValue !== undefined) {
31432
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
31433
+ }
31410
31434
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
31411
31435
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31412
31436
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -31739,18 +31763,20 @@ exports.ServiceReviewsApiFp = function (configuration) {
31739
31763
  * @param {boolean} [recommended]
31740
31764
  * @param {number} [rate]
31741
31765
  * @param {ReviewType} [reviewType]
31766
+ * @param {string} [languageCode]
31767
+ * @param {boolean} [returnDefaultValue]
31742
31768
  * @param {number} [page]
31743
31769
  * @param {number} [limit]
31744
31770
  * @param {Date} [lastRetrieved]
31745
31771
  * @param {*} [options] Override http request option.
31746
31772
  * @throws {RequiredError}
31747
31773
  */
31748
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31774
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
31749
31775
  return __awaiter(this, void 0, void 0, function () {
31750
31776
  var localVarAxiosArgs;
31751
31777
  return __generator(this, function (_a) {
31752
31778
  switch (_a.label) {
31753
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
31779
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
31754
31780
  case 1:
31755
31781
  localVarAxiosArgs = _a.sent();
31756
31782
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -31801,15 +31827,17 @@ exports.ServiceReviewsApiFp = function (configuration) {
31801
31827
  /**
31802
31828
  *
31803
31829
  * @param {string} serviceReviewId
31830
+ * @param {string} [languageCode]
31831
+ * @param {boolean} [returnDefaultValue]
31804
31832
  * @param {*} [options] Override http request option.
31805
31833
  * @throws {RequiredError}
31806
31834
  */
31807
- apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
31835
+ apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
31808
31836
  return __awaiter(this, void 0, void 0, function () {
31809
31837
  var localVarAxiosArgs;
31810
31838
  return __generator(this, function (_a) {
31811
31839
  switch (_a.label) {
31812
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
31840
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options)];
31813
31841
  case 1:
31814
31842
  localVarAxiosArgs = _a.sent();
31815
31843
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -31968,14 +31996,16 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
31968
31996
  * @param {boolean} [recommended]
31969
31997
  * @param {number} [rate]
31970
31998
  * @param {ReviewType} [reviewType]
31999
+ * @param {string} [languageCode]
32000
+ * @param {boolean} [returnDefaultValue]
31971
32001
  * @param {number} [page]
31972
32002
  * @param {number} [limit]
31973
32003
  * @param {Date} [lastRetrieved]
31974
32004
  * @param {*} [options] Override http request option.
31975
32005
  * @throws {RequiredError}
31976
32006
  */
31977
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31978
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
32007
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
32008
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31979
32009
  },
31980
32010
  /**
31981
32011
  *
@@ -32000,11 +32030,13 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
32000
32030
  /**
32001
32031
  *
32002
32032
  * @param {string} serviceReviewId
32033
+ * @param {string} [languageCode]
32034
+ * @param {boolean} [returnDefaultValue]
32003
32035
  * @param {*} [options] Override http request option.
32004
32036
  * @throws {RequiredError}
32005
32037
  */
32006
- apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
32007
- return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
32038
+ apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, languageCode, returnDefaultValue, options) {
32039
+ return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
32008
32040
  },
32009
32041
  /**
32010
32042
  *
@@ -32101,6 +32133,8 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
32101
32133
  * @param {boolean} [recommended]
32102
32134
  * @param {number} [rate]
32103
32135
  * @param {ReviewType} [reviewType]
32136
+ * @param {string} [languageCode]
32137
+ * @param {boolean} [returnDefaultValue]
32104
32138
  * @param {number} [page]
32105
32139
  * @param {number} [limit]
32106
32140
  * @param {Date} [lastRetrieved]
@@ -32108,9 +32142,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
32108
32142
  * @throws {RequiredError}
32109
32143
  * @memberof ServiceReviewsApi
32110
32144
  */
32111
- ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
32145
+ ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
32112
32146
  var _this = this;
32113
- 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); });
32147
+ return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
32114
32148
  };
32115
32149
  /**
32116
32150
  *
@@ -32139,13 +32173,15 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
32139
32173
  /**
32140
32174
  *
32141
32175
  * @param {string} serviceReviewId
32176
+ * @param {string} [languageCode]
32177
+ * @param {boolean} [returnDefaultValue]
32142
32178
  * @param {*} [options] Override http request option.
32143
32179
  * @throws {RequiredError}
32144
32180
  * @memberof ServiceReviewsApi
32145
32181
  */
32146
- ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
32182
+ ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, languageCode, returnDefaultValue, options) {
32147
32183
  var _this = this;
32148
- return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
32184
+ return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
32149
32185
  };
32150
32186
  /**
32151
32187
  *
@@ -33316,6 +33352,97 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
33316
33352
  });
33317
33353
  });
33318
33354
  },
33355
+ /**
33356
+ *
33357
+ * @summary Get all Specialties Simple.
33358
+ * @param {string} [id]
33359
+ * @param {string} [name]
33360
+ * @param {string} [description]
33361
+ * @param {string} [specialtyTypeId]
33362
+ * @param {string} [hospitalId]
33363
+ * @param {Date} [created]
33364
+ * @param {string} [languageCode]
33365
+ * @param {Array<string>} [ids]
33366
+ * @param {boolean} [returnDefaultValue]
33367
+ * @param {number} [page]
33368
+ * @param {number} [limit]
33369
+ * @param {Date} [lastRetrieved]
33370
+ * @param {*} [options] Override http request option.
33371
+ * @throws {RequiredError}
33372
+ */
33373
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
33374
+ if (options === void 0) { options = {}; }
33375
+ return __awaiter(_this, void 0, void 0, function () {
33376
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
33377
+ return __generator(this, function (_a) {
33378
+ switch (_a.label) {
33379
+ case 0:
33380
+ localVarPath = "/api/v1/specialties/simple";
33381
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
33382
+ if (configuration) {
33383
+ baseOptions = configuration.baseOptions;
33384
+ }
33385
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
33386
+ localVarHeaderParameter = {};
33387
+ localVarQueryParameter = {};
33388
+ // authentication oauth2 required
33389
+ // oauth required
33390
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
33391
+ case 1:
33392
+ // authentication oauth2 required
33393
+ // oauth required
33394
+ _a.sent();
33395
+ if (id !== undefined) {
33396
+ localVarQueryParameter['Id'] = id;
33397
+ }
33398
+ if (name !== undefined) {
33399
+ localVarQueryParameter['Name'] = name;
33400
+ }
33401
+ if (description !== undefined) {
33402
+ localVarQueryParameter['Description'] = description;
33403
+ }
33404
+ if (specialtyTypeId !== undefined) {
33405
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
33406
+ }
33407
+ if (hospitalId !== undefined) {
33408
+ localVarQueryParameter['HospitalId'] = hospitalId;
33409
+ }
33410
+ if (created !== undefined) {
33411
+ localVarQueryParameter['Created'] = (created instanceof Date) ?
33412
+ created.toISOString() :
33413
+ created;
33414
+ }
33415
+ if (languageCode !== undefined) {
33416
+ localVarQueryParameter['LanguageCode'] = languageCode;
33417
+ }
33418
+ if (ids) {
33419
+ localVarQueryParameter['Ids'] = ids;
33420
+ }
33421
+ if (returnDefaultValue !== undefined) {
33422
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
33423
+ }
33424
+ if (page !== undefined) {
33425
+ localVarQueryParameter['page'] = page;
33426
+ }
33427
+ if (limit !== undefined) {
33428
+ localVarQueryParameter['limit'] = limit;
33429
+ }
33430
+ if (lastRetrieved !== undefined) {
33431
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
33432
+ lastRetrieved.toISOString() :
33433
+ lastRetrieved;
33434
+ }
33435
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
33436
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33437
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
33438
+ return [2 /*return*/, {
33439
+ url: common_1.toPathString(localVarUrlObj),
33440
+ options: localVarRequestOptions,
33441
+ }];
33442
+ }
33443
+ });
33444
+ });
33445
+ },
33319
33446
  /**
33320
33447
  *
33321
33448
  * @param {string} slug
@@ -33821,6 +33948,37 @@ exports.SpecialtiesApiFp = function (configuration) {
33821
33948
  });
33822
33949
  });
33823
33950
  },
33951
+ /**
33952
+ *
33953
+ * @summary Get all Specialties Simple.
33954
+ * @param {string} [id]
33955
+ * @param {string} [name]
33956
+ * @param {string} [description]
33957
+ * @param {string} [specialtyTypeId]
33958
+ * @param {string} [hospitalId]
33959
+ * @param {Date} [created]
33960
+ * @param {string} [languageCode]
33961
+ * @param {Array<string>} [ids]
33962
+ * @param {boolean} [returnDefaultValue]
33963
+ * @param {number} [page]
33964
+ * @param {number} [limit]
33965
+ * @param {Date} [lastRetrieved]
33966
+ * @param {*} [options] Override http request option.
33967
+ * @throws {RequiredError}
33968
+ */
33969
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
33970
+ return __awaiter(this, void 0, void 0, function () {
33971
+ var localVarAxiosArgs;
33972
+ return __generator(this, function (_a) {
33973
+ switch (_a.label) {
33974
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
33975
+ case 1:
33976
+ localVarAxiosArgs = _a.sent();
33977
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
33978
+ }
33979
+ });
33980
+ });
33981
+ },
33824
33982
  /**
33825
33983
  *
33826
33984
  * @param {string} slug
@@ -34055,6 +34213,27 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
34055
34213
  apiV1SpecialtiesPost: function (createSpecialtyCommand, options) {
34056
34214
  return localVarFp.apiV1SpecialtiesPost(createSpecialtyCommand, options).then(function (request) { return request(axios, basePath); });
34057
34215
  },
34216
+ /**
34217
+ *
34218
+ * @summary Get all Specialties Simple.
34219
+ * @param {string} [id]
34220
+ * @param {string} [name]
34221
+ * @param {string} [description]
34222
+ * @param {string} [specialtyTypeId]
34223
+ * @param {string} [hospitalId]
34224
+ * @param {Date} [created]
34225
+ * @param {string} [languageCode]
34226
+ * @param {Array<string>} [ids]
34227
+ * @param {boolean} [returnDefaultValue]
34228
+ * @param {number} [page]
34229
+ * @param {number} [limit]
34230
+ * @param {Date} [lastRetrieved]
34231
+ * @param {*} [options] Override http request option.
34232
+ * @throws {RequiredError}
34233
+ */
34234
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
34235
+ return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
34236
+ },
34058
34237
  /**
34059
34238
  *
34060
34239
  * @param {string} slug
@@ -34207,6 +34386,29 @@ var SpecialtiesApi = /** @class */ (function (_super) {
34207
34386
  var _this = this;
34208
34387
  return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesPost(createSpecialtyCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
34209
34388
  };
34389
+ /**
34390
+ *
34391
+ * @summary Get all Specialties Simple.
34392
+ * @param {string} [id]
34393
+ * @param {string} [name]
34394
+ * @param {string} [description]
34395
+ * @param {string} [specialtyTypeId]
34396
+ * @param {string} [hospitalId]
34397
+ * @param {Date} [created]
34398
+ * @param {string} [languageCode]
34399
+ * @param {Array<string>} [ids]
34400
+ * @param {boolean} [returnDefaultValue]
34401
+ * @param {number} [page]
34402
+ * @param {number} [limit]
34403
+ * @param {Date} [lastRetrieved]
34404
+ * @param {*} [options] Override http request option.
34405
+ * @throws {RequiredError}
34406
+ * @memberof SpecialtiesApi
34407
+ */
34408
+ SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
34409
+ var _this = this;
34410
+ return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
34411
+ };
34210
34412
  /**
34211
34413
  *
34212
34414
  * @param {string} slug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "3.1.4",
3
+ "version": "3.2.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {