ch-admin-api-client-typescript 3.4.3 → 3.4.6

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
@@ -13239,12 +13239,10 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13239
13239
  /**
13240
13240
  *
13241
13241
  * @param {string} doctorId
13242
- * @param {string} [languageCode]
13243
- * @param {boolean} [returnDefaultValue]
13244
13242
  * @param {*} [options] Override http request option.
13245
13243
  * @throws {RequiredError}
13246
13244
  */
13247
- apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
13245
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
13248
13246
  if (options === void 0) { options = {}; }
13249
13247
  return __awaiter(_this, void 0, void 0, function () {
13250
13248
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -13269,12 +13267,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13269
13267
  // authentication oauth2 required
13270
13268
  // oauth required
13271
13269
  _a.sent();
13272
- if (languageCode !== undefined) {
13273
- localVarQueryParameter['languageCode'] = languageCode;
13274
- }
13275
- if (returnDefaultValue !== undefined) {
13276
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13277
- }
13278
13270
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
13279
13271
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13280
13272
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14364,8 +14356,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14364
14356
  *
14365
14357
  * @summary Get all Doctors.
14366
14358
  * @param {string} [hospitalId]
14367
- * @param {string} [languageCode]
14368
- * @param {boolean} [returnDefaultValue]
14359
+ * @param {string} [hospitalName]
14369
14360
  * @param {Array<string>} [ids]
14370
14361
  * @param {string} [specialtyId]
14371
14362
  * @param {boolean} [consultationEnabled]
@@ -14382,7 +14373,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14382
14373
  * @param {*} [options] Override http request option.
14383
14374
  * @throws {RequiredError}
14384
14375
  */
14385
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14376
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14386
14377
  if (options === void 0) { options = {}; }
14387
14378
  return __awaiter(_this, void 0, void 0, function () {
14388
14379
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14407,11 +14398,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14407
14398
  if (hospitalId !== undefined) {
14408
14399
  localVarQueryParameter['HospitalId'] = hospitalId;
14409
14400
  }
14410
- if (languageCode !== undefined) {
14411
- localVarQueryParameter['LanguageCode'] = languageCode;
14412
- }
14413
- if (returnDefaultValue !== undefined) {
14414
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
14401
+ if (hospitalName !== undefined) {
14402
+ localVarQueryParameter['HospitalName'] = hospitalName;
14415
14403
  }
14416
14404
  if (ids) {
14417
14405
  localVarQueryParameter['Ids'] = ids;
@@ -14515,8 +14503,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14515
14503
  *
14516
14504
  * @summary Get all Doctors.
14517
14505
  * @param {string} [hospitalId]
14518
- * @param {string} [languageCode]
14519
- * @param {boolean} [returnDefaultValue]
14506
+ * @param {string} [hospitalName]
14520
14507
  * @param {Array<string>} [ids]
14521
14508
  * @param {string} [specialtyId]
14522
14509
  * @param {boolean} [consultationEnabled]
@@ -14533,7 +14520,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14533
14520
  * @param {*} [options] Override http request option.
14534
14521
  * @throws {RequiredError}
14535
14522
  */
14536
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14523
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14537
14524
  if (options === void 0) { options = {}; }
14538
14525
  return __awaiter(_this, void 0, void 0, function () {
14539
14526
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14558,11 +14545,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14558
14545
  if (hospitalId !== undefined) {
14559
14546
  localVarQueryParameter['HospitalId'] = hospitalId;
14560
14547
  }
14561
- if (languageCode !== undefined) {
14562
- localVarQueryParameter['LanguageCode'] = languageCode;
14563
- }
14564
- if (returnDefaultValue !== undefined) {
14565
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
14548
+ if (hospitalName !== undefined) {
14549
+ localVarQueryParameter['HospitalName'] = hospitalName;
14566
14550
  }
14567
14551
  if (ids) {
14568
14552
  localVarQueryParameter['Ids'] = ids;
@@ -14620,56 +14604,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14620
14604
  });
14621
14605
  });
14622
14606
  },
14623
- /**
14624
- *
14625
- * @param {string} slug
14626
- * @param {string} [languageCode]
14627
- * @param {boolean} [returnDefaultValue]
14628
- * @param {*} [options] Override http request option.
14629
- * @throws {RequiredError}
14630
- */
14631
- apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
14632
- if (options === void 0) { options = {}; }
14633
- return __awaiter(_this, void 0, void 0, function () {
14634
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
14635
- return __generator(this, function (_a) {
14636
- switch (_a.label) {
14637
- case 0:
14638
- // verify required parameter 'slug' is not null or undefined
14639
- common_1.assertParamExists('apiV1DoctorsSlugGet', 'slug', slug);
14640
- localVarPath = "/api/v1/doctors/{slug}"
14641
- .replace("{" + "slug" + "}", encodeURIComponent(String(slug)));
14642
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14643
- if (configuration) {
14644
- baseOptions = configuration.baseOptions;
14645
- }
14646
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14647
- localVarHeaderParameter = {};
14648
- localVarQueryParameter = {};
14649
- // authentication oauth2 required
14650
- // oauth required
14651
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
14652
- case 1:
14653
- // authentication oauth2 required
14654
- // oauth required
14655
- _a.sent();
14656
- if (languageCode !== undefined) {
14657
- localVarQueryParameter['languageCode'] = languageCode;
14658
- }
14659
- if (returnDefaultValue !== undefined) {
14660
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
14661
- }
14662
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14663
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14664
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14665
- return [2 /*return*/, {
14666
- url: common_1.toPathString(localVarUrlObj),
14667
- options: localVarRequestOptions,
14668
- }];
14669
- }
14670
- });
14671
- });
14672
- },
14673
14607
  };
14674
14608
  };
14675
14609
  /**
@@ -14928,17 +14862,15 @@ exports.DoctorsApiFp = function (configuration) {
14928
14862
  /**
14929
14863
  *
14930
14864
  * @param {string} doctorId
14931
- * @param {string} [languageCode]
14932
- * @param {boolean} [returnDefaultValue]
14933
14865
  * @param {*} [options] Override http request option.
14934
14866
  * @throws {RequiredError}
14935
14867
  */
14936
- apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
14868
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
14937
14869
  return __awaiter(this, void 0, void 0, function () {
14938
14870
  var localVarAxiosArgs;
14939
14871
  return __generator(this, function (_a) {
14940
14872
  switch (_a.label) {
14941
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options)];
14873
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options)];
14942
14874
  case 1:
14943
14875
  localVarAxiosArgs = _a.sent();
14944
14876
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15413,8 +15345,7 @@ exports.DoctorsApiFp = function (configuration) {
15413
15345
  *
15414
15346
  * @summary Get all Doctors.
15415
15347
  * @param {string} [hospitalId]
15416
- * @param {string} [languageCode]
15417
- * @param {boolean} [returnDefaultValue]
15348
+ * @param {string} [hospitalName]
15418
15349
  * @param {Array<string>} [ids]
15419
15350
  * @param {string} [specialtyId]
15420
15351
  * @param {boolean} [consultationEnabled]
@@ -15431,12 +15362,12 @@ exports.DoctorsApiFp = function (configuration) {
15431
15362
  * @param {*} [options] Override http request option.
15432
15363
  * @throws {RequiredError}
15433
15364
  */
15434
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15365
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15435
15366
  return __awaiter(this, void 0, void 0, function () {
15436
15367
  var localVarAxiosArgs;
15437
15368
  return __generator(this, function (_a) {
15438
15369
  switch (_a.label) {
15439
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15370
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15440
15371
  case 1:
15441
15372
  localVarAxiosArgs = _a.sent();
15442
15373
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15468,8 +15399,7 @@ exports.DoctorsApiFp = function (configuration) {
15468
15399
  *
15469
15400
  * @summary Get all Doctors.
15470
15401
  * @param {string} [hospitalId]
15471
- * @param {string} [languageCode]
15472
- * @param {boolean} [returnDefaultValue]
15402
+ * @param {string} [hospitalName]
15473
15403
  * @param {Array<string>} [ids]
15474
15404
  * @param {string} [specialtyId]
15475
15405
  * @param {boolean} [consultationEnabled]
@@ -15486,33 +15416,12 @@ exports.DoctorsApiFp = function (configuration) {
15486
15416
  * @param {*} [options] Override http request option.
15487
15417
  * @throws {RequiredError}
15488
15418
  */
15489
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15419
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15490
15420
  return __awaiter(this, void 0, void 0, function () {
15491
15421
  var localVarAxiosArgs;
15492
15422
  return __generator(this, function (_a) {
15493
15423
  switch (_a.label) {
15494
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15495
- case 1:
15496
- localVarAxiosArgs = _a.sent();
15497
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
15498
- }
15499
- });
15500
- });
15501
- },
15502
- /**
15503
- *
15504
- * @param {string} slug
15505
- * @param {string} [languageCode]
15506
- * @param {boolean} [returnDefaultValue]
15507
- * @param {*} [options] Override http request option.
15508
- * @throws {RequiredError}
15509
- */
15510
- apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
15511
- return __awaiter(this, void 0, void 0, function () {
15512
- var localVarAxiosArgs;
15513
- return __generator(this, function (_a) {
15514
- switch (_a.label) {
15515
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options)];
15424
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15516
15425
  case 1:
15517
15426
  localVarAxiosArgs = _a.sent();
15518
15427
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15668,13 +15577,11 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15668
15577
  /**
15669
15578
  *
15670
15579
  * @param {string} doctorId
15671
- * @param {string} [languageCode]
15672
- * @param {boolean} [returnDefaultValue]
15673
15580
  * @param {*} [options] Override http request option.
15674
15581
  * @throws {RequiredError}
15675
15582
  */
15676
- apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
15677
- return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
15583
+ apiV1DoctorsDoctorIdGet: function (doctorId, options) {
15584
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(axios, basePath); });
15678
15585
  },
15679
15586
  /**
15680
15587
  *
@@ -15933,8 +15840,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15933
15840
  *
15934
15841
  * @summary Get all Doctors.
15935
15842
  * @param {string} [hospitalId]
15936
- * @param {string} [languageCode]
15937
- * @param {boolean} [returnDefaultValue]
15843
+ * @param {string} [hospitalName]
15938
15844
  * @param {Array<string>} [ids]
15939
15845
  * @param {string} [specialtyId]
15940
15846
  * @param {boolean} [consultationEnabled]
@@ -15951,8 +15857,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15951
15857
  * @param {*} [options] Override http request option.
15952
15858
  * @throws {RequiredError}
15953
15859
  */
15954
- apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15955
- return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15860
+ apiV1DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15861
+ return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15956
15862
  },
15957
15863
  /**
15958
15864
  *
@@ -15968,8 +15874,7 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15968
15874
  *
15969
15875
  * @summary Get all Doctors.
15970
15876
  * @param {string} [hospitalId]
15971
- * @param {string} [languageCode]
15972
- * @param {boolean} [returnDefaultValue]
15877
+ * @param {string} [hospitalName]
15973
15878
  * @param {Array<string>} [ids]
15974
15879
  * @param {string} [specialtyId]
15975
15880
  * @param {boolean} [consultationEnabled]
@@ -15986,19 +15891,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15986
15891
  * @param {*} [options] Override http request option.
15987
15892
  * @throws {RequiredError}
15988
15893
  */
15989
- apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15990
- return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15991
- },
15992
- /**
15993
- *
15994
- * @param {string} slug
15995
- * @param {string} [languageCode]
15996
- * @param {boolean} [returnDefaultValue]
15997
- * @param {*} [options] Override http request option.
15998
- * @throws {RequiredError}
15999
- */
16000
- apiV1DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
16001
- return localVarFp.apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
15894
+ apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15895
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16002
15896
  },
16003
15897
  };
16004
15898
  };
@@ -16174,15 +16068,13 @@ var DoctorsApi = /** @class */ (function (_super) {
16174
16068
  /**
16175
16069
  *
16176
16070
  * @param {string} doctorId
16177
- * @param {string} [languageCode]
16178
- * @param {boolean} [returnDefaultValue]
16179
16071
  * @param {*} [options] Override http request option.
16180
16072
  * @throws {RequiredError}
16181
16073
  * @memberof DoctorsApi
16182
16074
  */
16183
- DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, languageCode, returnDefaultValue, options) {
16075
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdGet = function (doctorId, options) {
16184
16076
  var _this = this;
16185
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
16077
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
16186
16078
  };
16187
16079
  /**
16188
16080
  *
@@ -16483,8 +16375,7 @@ var DoctorsApi = /** @class */ (function (_super) {
16483
16375
  *
16484
16376
  * @summary Get all Doctors.
16485
16377
  * @param {string} [hospitalId]
16486
- * @param {string} [languageCode]
16487
- * @param {boolean} [returnDefaultValue]
16378
+ * @param {string} [hospitalName]
16488
16379
  * @param {Array<string>} [ids]
16489
16380
  * @param {string} [specialtyId]
16490
16381
  * @param {boolean} [consultationEnabled]
@@ -16502,9 +16393,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16502
16393
  * @throws {RequiredError}
16503
16394
  * @memberof DoctorsApi
16504
16395
  */
16505
- DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16396
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16506
16397
  var _this = this;
16507
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16398
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16508
16399
  };
16509
16400
  /**
16510
16401
  *
@@ -16522,8 +16413,7 @@ var DoctorsApi = /** @class */ (function (_super) {
16522
16413
  *
16523
16414
  * @summary Get all Doctors.
16524
16415
  * @param {string} [hospitalId]
16525
- * @param {string} [languageCode]
16526
- * @param {boolean} [returnDefaultValue]
16416
+ * @param {string} [hospitalName]
16527
16417
  * @param {Array<string>} [ids]
16528
16418
  * @param {string} [specialtyId]
16529
16419
  * @param {boolean} [consultationEnabled]
@@ -16541,22 +16431,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16541
16431
  * @throws {RequiredError}
16542
16432
  * @memberof DoctorsApi
16543
16433
  */
16544
- DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16545
- var _this = this;
16546
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16547
- };
16548
- /**
16549
- *
16550
- * @param {string} slug
16551
- * @param {string} [languageCode]
16552
- * @param {boolean} [returnDefaultValue]
16553
- * @param {*} [options] Override http request option.
16554
- * @throws {RequiredError}
16555
- * @memberof DoctorsApi
16556
- */
16557
- DoctorsApi.prototype.apiV1DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
16434
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16558
16435
  var _this = this;
16559
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
16436
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16560
16437
  };
16561
16438
  return DoctorsApi;
16562
16439
  }(base_1.BaseAPI));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "3.4.3",
3
+ "version": "3.4.6",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {