ch-admin-api-client-typescript 4.2.8 → 4.3.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
@@ -12913,6 +12913,8 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
12913
12913
  * @param {string} [doctorName]
12914
12914
  * @param {string} [doctorSlug]
12915
12915
  * @param {string} [specialtyId]
12916
+ * @param {MarketingType} [marketingType]
12917
+ * @param {string} [countryId]
12916
12918
  * @param {string} [languageCode]
12917
12919
  * @param {boolean} [showHidden]
12918
12920
  * @param {number} [page]
@@ -12921,7 +12923,7 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
12921
12923
  * @param {*} [options] Override http request option.
12922
12924
  * @throws {RequiredError}
12923
12925
  */
12924
- apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
12926
+ apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
12925
12927
  if (options === void 0) { options = {}; }
12926
12928
  return __awaiter(_this, void 0, void 0, function () {
12927
12929
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -12961,6 +12963,12 @@ exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
12961
12963
  if (specialtyId !== undefined) {
12962
12964
  localVarQueryParameter['SpecialtyId'] = specialtyId;
12963
12965
  }
12966
+ if (marketingType !== undefined) {
12967
+ localVarQueryParameter['MarketingType'] = marketingType;
12968
+ }
12969
+ if (countryId !== undefined) {
12970
+ localVarQueryParameter['CountryId'] = countryId;
12971
+ }
12964
12972
  if (languageCode !== undefined) {
12965
12973
  localVarQueryParameter['LanguageCode'] = languageCode;
12966
12974
  }
@@ -13294,6 +13302,8 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
13294
13302
  * @param {string} [doctorName]
13295
13303
  * @param {string} [doctorSlug]
13296
13304
  * @param {string} [specialtyId]
13305
+ * @param {MarketingType} [marketingType]
13306
+ * @param {string} [countryId]
13297
13307
  * @param {string} [languageCode]
13298
13308
  * @param {boolean} [showHidden]
13299
13309
  * @param {number} [page]
@@ -13302,12 +13312,12 @@ exports.DoctorAffiliationsApiFp = function (configuration) {
13302
13312
  * @param {*} [options] Override http request option.
13303
13313
  * @throws {RequiredError}
13304
13314
  */
13305
- apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13315
+ apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13306
13316
  return __awaiter(this, void 0, void 0, function () {
13307
13317
  var localVarAxiosArgs;
13308
13318
  return __generator(this, function (_a) {
13309
13319
  switch (_a.label) {
13310
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options)];
13320
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options)];
13311
13321
  case 1:
13312
13322
  localVarAxiosArgs = _a.sent();
13313
13323
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -13474,6 +13484,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
13474
13484
  * @param {string} [doctorName]
13475
13485
  * @param {string} [doctorSlug]
13476
13486
  * @param {string} [specialtyId]
13487
+ * @param {MarketingType} [marketingType]
13488
+ * @param {string} [countryId]
13477
13489
  * @param {string} [languageCode]
13478
13490
  * @param {boolean} [showHidden]
13479
13491
  * @param {number} [page]
@@ -13482,8 +13494,8 @@ exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios)
13482
13494
  * @param {*} [options] Override http request option.
13483
13495
  * @throws {RequiredError}
13484
13496
  */
13485
- apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13486
- return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13497
+ apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13498
+ return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
13487
13499
  },
13488
13500
  /**
13489
13501
  *
@@ -13618,6 +13630,8 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
13618
13630
  * @param {string} [doctorName]
13619
13631
  * @param {string} [doctorSlug]
13620
13632
  * @param {string} [specialtyId]
13633
+ * @param {MarketingType} [marketingType]
13634
+ * @param {string} [countryId]
13621
13635
  * @param {string} [languageCode]
13622
13636
  * @param {boolean} [showHidden]
13623
13637
  * @param {number} [page]
@@ -13627,9 +13641,9 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
13627
13641
  * @throws {RequiredError}
13628
13642
  * @memberof DoctorAffiliationsApi
13629
13643
  */
13630
- DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13644
+ DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options) {
13631
13645
  var _this = this;
13632
- return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
13646
+ return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
13633
13647
  };
13634
13648
  /**
13635
13649
  *
@@ -14317,14 +14331,16 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14317
14331
  },
14318
14332
  /**
14319
14333
  *
14320
- * @summary Delete DoctorLanguage
14334
+ * @summary Get all DoctorLanguages.
14321
14335
  * @param {string} doctorId
14322
- * @param {string} languageId
14323
- * @param {string} code
14336
+ * @param {string} [language]
14337
+ * @param {number} [page]
14338
+ * @param {number} [limit]
14339
+ * @param {Date} [lastRetrieved]
14324
14340
  * @param {*} [options] Override http request option.
14325
14341
  * @throws {RequiredError}
14326
14342
  */
14327
- apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
14343
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
14328
14344
  if (options === void 0) { options = {}; }
14329
14345
  return __awaiter(_this, void 0, void 0, function () {
14330
14346
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14332,20 +14348,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14332
14348
  switch (_a.label) {
14333
14349
  case 0:
14334
14350
  // verify required parameter 'doctorId' is not null or undefined
14335
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'doctorId', doctorId);
14336
- // verify required parameter 'languageId' is not null or undefined
14337
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'languageId', languageId);
14338
- // verify required parameter 'code' is not null or undefined
14339
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'code', code);
14340
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
14341
- .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14342
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
14343
- .replace("{" + "code" + "}", encodeURIComponent(String(code)));
14351
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
14352
+ localVarPath = "/api/v1/doctors/{doctorId}/languages"
14353
+ .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
14344
14354
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14345
14355
  if (configuration) {
14346
14356
  baseOptions = configuration.baseOptions;
14347
14357
  }
14348
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
14358
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14349
14359
  localVarHeaderParameter = {};
14350
14360
  localVarQueryParameter = {};
14351
14361
  // authentication oauth2 required
@@ -14355,6 +14365,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14355
14365
  // authentication oauth2 required
14356
14366
  // oauth required
14357
14367
  _a.sent();
14368
+ if (language !== undefined) {
14369
+ localVarQueryParameter['Language'] = language;
14370
+ }
14371
+ if (page !== undefined) {
14372
+ localVarQueryParameter['page'] = page;
14373
+ }
14374
+ if (limit !== undefined) {
14375
+ localVarQueryParameter['limit'] = limit;
14376
+ }
14377
+ if (lastRetrieved !== undefined) {
14378
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
14379
+ lastRetrieved.toISOString() :
14380
+ lastRetrieved;
14381
+ }
14358
14382
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14359
14383
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14360
14384
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14368,14 +14392,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14368
14392
  },
14369
14393
  /**
14370
14394
  *
14371
- * @summary Get DoctorLanguage.
14395
+ * @summary Delete DoctorLanguage
14372
14396
  * @param {string} doctorId
14373
14397
  * @param {string} languageId
14374
- * @param {string} code
14375
14398
  * @param {*} [options] Override http request option.
14376
14399
  * @throws {RequiredError}
14377
14400
  */
14378
- apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
14401
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
14379
14402
  if (options === void 0) { options = {}; }
14380
14403
  return __awaiter(_this, void 0, void 0, function () {
14381
14404
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14383,20 +14406,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14383
14406
  switch (_a.label) {
14384
14407
  case 0:
14385
14408
  // verify required parameter 'doctorId' is not null or undefined
14386
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId);
14409
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId);
14387
14410
  // verify required parameter 'languageId' is not null or undefined
14388
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'languageId', languageId);
14389
- // verify required parameter 'code' is not null or undefined
14390
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code);
14391
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
14411
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId);
14412
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
14392
14413
  .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14393
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
14394
- .replace("{" + "code" + "}", encodeURIComponent(String(code)));
14414
+ .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14395
14415
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14396
14416
  if (configuration) {
14397
14417
  baseOptions = configuration.baseOptions;
14398
14418
  }
14399
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14419
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
14400
14420
  localVarHeaderParameter = {};
14401
14421
  localVarQueryParameter = {};
14402
14422
  // authentication oauth2 required
@@ -14419,15 +14439,13 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14419
14439
  },
14420
14440
  /**
14421
14441
  *
14422
- * @summary Update DoctorLanguage.
14442
+ * @summary Get DoctorLanguage.
14423
14443
  * @param {string} doctorId
14424
14444
  * @param {string} languageId
14425
- * @param {string} code
14426
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
14427
14445
  * @param {*} [options] Override http request option.
14428
14446
  * @throws {RequiredError}
14429
14447
  */
14430
- apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
14448
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
14431
14449
  if (options === void 0) { options = {}; }
14432
14450
  return __awaiter(_this, void 0, void 0, function () {
14433
14451
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14435,20 +14453,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14435
14453
  switch (_a.label) {
14436
14454
  case 0:
14437
14455
  // verify required parameter 'doctorId' is not null or undefined
14438
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId);
14456
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
14439
14457
  // verify required parameter 'languageId' is not null or undefined
14440
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'languageId', languageId);
14441
- // verify required parameter 'code' is not null or undefined
14442
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code);
14443
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{code}"
14458
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
14459
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
14444
14460
  .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14445
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
14446
- .replace("{" + "code" + "}", encodeURIComponent(String(code)));
14461
+ .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14447
14462
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14448
14463
  if (configuration) {
14449
14464
  baseOptions = configuration.baseOptions;
14450
14465
  }
14451
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
14466
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14452
14467
  localVarHeaderParameter = {};
14453
14468
  localVarQueryParameter = {};
14454
14469
  // authentication oauth2 required
@@ -14458,11 +14473,9 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14458
14473
  // authentication oauth2 required
14459
14474
  // oauth required
14460
14475
  _a.sent();
14461
- localVarHeaderParameter['Content-Type'] = 'application/json';
14462
14476
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14463
14477
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14464
14478
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14465
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
14466
14479
  return [2 /*return*/, {
14467
14480
  url: common_1.toPathString(localVarUrlObj),
14468
14481
  options: localVarRequestOptions,
@@ -14473,16 +14486,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14473
14486
  },
14474
14487
  /**
14475
14488
  *
14476
- * @summary Get all DoctorLanguages.
14489
+ * @summary Update DoctorLanguage.
14477
14490
  * @param {string} doctorId
14478
- * @param {string} [language]
14479
- * @param {number} [page]
14480
- * @param {number} [limit]
14481
- * @param {Date} [lastRetrieved]
14491
+ * @param {string} languageId
14492
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
14482
14493
  * @param {*} [options] Override http request option.
14483
14494
  * @throws {RequiredError}
14484
14495
  */
14485
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
14496
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
14486
14497
  if (options === void 0) { options = {}; }
14487
14498
  return __awaiter(_this, void 0, void 0, function () {
14488
14499
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14490,14 +14501,17 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14490
14501
  switch (_a.label) {
14491
14502
  case 0:
14492
14503
  // verify required parameter 'doctorId' is not null or undefined
14493
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
14494
- localVarPath = "/api/v1/doctors/{doctorId}/languages"
14495
- .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
14504
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId);
14505
+ // verify required parameter 'languageId' is not null or undefined
14506
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId);
14507
+ localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
14508
+ .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14509
+ .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14496
14510
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14497
14511
  if (configuration) {
14498
14512
  baseOptions = configuration.baseOptions;
14499
14513
  }
14500
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14514
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
14501
14515
  localVarHeaderParameter = {};
14502
14516
  localVarQueryParameter = {};
14503
14517
  // authentication oauth2 required
@@ -14507,23 +14521,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14507
14521
  // authentication oauth2 required
14508
14522
  // oauth required
14509
14523
  _a.sent();
14510
- if (language !== undefined) {
14511
- localVarQueryParameter['Language'] = language;
14512
- }
14513
- if (page !== undefined) {
14514
- localVarQueryParameter['page'] = page;
14515
- }
14516
- if (limit !== undefined) {
14517
- localVarQueryParameter['limit'] = limit;
14518
- }
14519
- if (lastRetrieved !== undefined) {
14520
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
14521
- lastRetrieved.toISOString() :
14522
- lastRetrieved;
14523
- }
14524
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14524
14525
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14525
14526
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14526
14527
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14528
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
14527
14529
  return [2 /*return*/, {
14528
14530
  url: common_1.toPathString(localVarUrlObj),
14529
14531
  options: localVarRequestOptions,
@@ -15929,19 +15931,21 @@ exports.DoctorsApiFp = function (configuration) {
15929
15931
  },
15930
15932
  /**
15931
15933
  *
15932
- * @summary Delete DoctorLanguage
15934
+ * @summary Get all DoctorLanguages.
15933
15935
  * @param {string} doctorId
15934
- * @param {string} languageId
15935
- * @param {string} code
15936
+ * @param {string} [language]
15937
+ * @param {number} [page]
15938
+ * @param {number} [limit]
15939
+ * @param {Date} [lastRetrieved]
15936
15940
  * @param {*} [options] Override http request option.
15937
15941
  * @throws {RequiredError}
15938
15942
  */
15939
- apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
15943
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
15940
15944
  return __awaiter(this, void 0, void 0, function () {
15941
15945
  var localVarAxiosArgs;
15942
15946
  return __generator(this, function (_a) {
15943
15947
  switch (_a.label) {
15944
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options)];
15948
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
15945
15949
  case 1:
15946
15950
  localVarAxiosArgs = _a.sent();
15947
15951
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15951,19 +15955,18 @@ exports.DoctorsApiFp = function (configuration) {
15951
15955
  },
15952
15956
  /**
15953
15957
  *
15954
- * @summary Get DoctorLanguage.
15958
+ * @summary Delete DoctorLanguage
15955
15959
  * @param {string} doctorId
15956
15960
  * @param {string} languageId
15957
- * @param {string} code
15958
15961
  * @param {*} [options] Override http request option.
15959
15962
  * @throws {RequiredError}
15960
15963
  */
15961
- apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
15964
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
15962
15965
  return __awaiter(this, void 0, void 0, function () {
15963
15966
  var localVarAxiosArgs;
15964
15967
  return __generator(this, function (_a) {
15965
15968
  switch (_a.label) {
15966
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options)];
15969
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options)];
15967
15970
  case 1:
15968
15971
  localVarAxiosArgs = _a.sent();
15969
15972
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15973,20 +15976,18 @@ exports.DoctorsApiFp = function (configuration) {
15973
15976
  },
15974
15977
  /**
15975
15978
  *
15976
- * @summary Update DoctorLanguage.
15979
+ * @summary Get DoctorLanguage.
15977
15980
  * @param {string} doctorId
15978
15981
  * @param {string} languageId
15979
- * @param {string} code
15980
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
15981
15982
  * @param {*} [options] Override http request option.
15982
15983
  * @throws {RequiredError}
15983
15984
  */
15984
- apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
15985
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
15985
15986
  return __awaiter(this, void 0, void 0, function () {
15986
15987
  var localVarAxiosArgs;
15987
15988
  return __generator(this, function (_a) {
15988
15989
  switch (_a.label) {
15989
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options)];
15990
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
15990
15991
  case 1:
15991
15992
  localVarAxiosArgs = _a.sent();
15992
15993
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15996,21 +15997,19 @@ exports.DoctorsApiFp = function (configuration) {
15996
15997
  },
15997
15998
  /**
15998
15999
  *
15999
- * @summary Get all DoctorLanguages.
16000
+ * @summary Update DoctorLanguage.
16000
16001
  * @param {string} doctorId
16001
- * @param {string} [language]
16002
- * @param {number} [page]
16003
- * @param {number} [limit]
16004
- * @param {Date} [lastRetrieved]
16002
+ * @param {string} languageId
16003
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16005
16004
  * @param {*} [options] Override http request option.
16006
16005
  * @throws {RequiredError}
16007
16006
  */
16008
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
16007
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
16009
16008
  return __awaiter(this, void 0, void 0, function () {
16010
16009
  var localVarAxiosArgs;
16011
16010
  return __generator(this, function (_a) {
16012
16011
  switch (_a.label) {
16013
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
16012
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options)];
16014
16013
  case 1:
16015
16014
  localVarAxiosArgs = _a.sent();
16016
16015
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16637,54 +16636,51 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
16637
16636
  },
16638
16637
  /**
16639
16638
  *
16640
- * @summary Delete DoctorLanguage
16639
+ * @summary Get all DoctorLanguages.
16641
16640
  * @param {string} doctorId
16642
- * @param {string} languageId
16643
- * @param {string} code
16641
+ * @param {string} [language]
16642
+ * @param {number} [page]
16643
+ * @param {number} [limit]
16644
+ * @param {Date} [lastRetrieved]
16644
16645
  * @param {*} [options] Override http request option.
16645
16646
  * @throws {RequiredError}
16646
16647
  */
16647
- apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
16648
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
16648
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
16649
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16649
16650
  },
16650
16651
  /**
16651
16652
  *
16652
- * @summary Get DoctorLanguage.
16653
+ * @summary Delete DoctorLanguage
16653
16654
  * @param {string} doctorId
16654
16655
  * @param {string} languageId
16655
- * @param {string} code
16656
16656
  * @param {*} [options] Override http request option.
16657
16657
  * @throws {RequiredError}
16658
16658
  */
16659
- apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
16660
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
16659
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
16660
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
16661
16661
  },
16662
16662
  /**
16663
16663
  *
16664
- * @summary Update DoctorLanguage.
16664
+ * @summary Get DoctorLanguage.
16665
16665
  * @param {string} doctorId
16666
16666
  * @param {string} languageId
16667
- * @param {string} code
16668
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16669
16667
  * @param {*} [options] Override http request option.
16670
16668
  * @throws {RequiredError}
16671
16669
  */
16672
- apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
16673
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
16670
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
16671
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
16674
16672
  },
16675
16673
  /**
16676
16674
  *
16677
- * @summary Get all DoctorLanguages.
16675
+ * @summary Update DoctorLanguage.
16678
16676
  * @param {string} doctorId
16679
- * @param {string} [language]
16680
- * @param {number} [page]
16681
- * @param {number} [limit]
16682
- * @param {Date} [lastRetrieved]
16677
+ * @param {string} languageId
16678
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16683
16679
  * @param {*} [options] Override http request option.
16684
16680
  * @throws {RequiredError}
16685
16681
  */
16686
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
16687
- return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16682
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
16683
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
16688
16684
  },
16689
16685
  /**
16690
16686
  *
@@ -17133,62 +17129,59 @@ var DoctorsApi = /** @class */ (function (_super) {
17133
17129
  };
17134
17130
  /**
17135
17131
  *
17136
- * @summary Delete DoctorLanguage
17132
+ * @summary Get all DoctorLanguages.
17137
17133
  * @param {string} doctorId
17138
- * @param {string} languageId
17139
- * @param {string} code
17134
+ * @param {string} [language]
17135
+ * @param {number} [page]
17136
+ * @param {number} [limit]
17137
+ * @param {Date} [lastRetrieved]
17140
17138
  * @param {*} [options] Override http request option.
17141
17139
  * @throws {RequiredError}
17142
17140
  * @memberof DoctorsApi
17143
17141
  */
17144
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeDelete = function (doctorId, languageId, code, options) {
17142
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
17145
17143
  var _this = this;
17146
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
17144
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
17147
17145
  };
17148
17146
  /**
17149
17147
  *
17150
- * @summary Get DoctorLanguage.
17148
+ * @summary Delete DoctorLanguage
17151
17149
  * @param {string} doctorId
17152
17150
  * @param {string} languageId
17153
- * @param {string} code
17154
17151
  * @param {*} [options] Override http request option.
17155
17152
  * @throws {RequiredError}
17156
17153
  * @memberof DoctorsApi
17157
17154
  */
17158
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeGet = function (doctorId, languageId, code, options) {
17155
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete = function (doctorId, languageId, options) {
17159
17156
  var _this = this;
17160
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
17157
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17161
17158
  };
17162
17159
  /**
17163
17160
  *
17164
- * @summary Update DoctorLanguage.
17161
+ * @summary Get DoctorLanguage.
17165
17162
  * @param {string} doctorId
17166
17163
  * @param {string} languageId
17167
- * @param {string} code
17168
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
17169
17164
  * @param {*} [options] Override http request option.
17170
17165
  * @throws {RequiredError}
17171
17166
  * @memberof DoctorsApi
17172
17167
  */
17173
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodePut = function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
17168
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
17174
17169
  var _this = this;
17175
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17170
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17176
17171
  };
17177
17172
  /**
17178
17173
  *
17179
- * @summary Get all DoctorLanguages.
17174
+ * @summary Update DoctorLanguage.
17180
17175
  * @param {string} doctorId
17181
- * @param {string} [language]
17182
- * @param {number} [page]
17183
- * @param {number} [limit]
17184
- * @param {Date} [lastRetrieved]
17176
+ * @param {string} languageId
17177
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
17185
17178
  * @param {*} [options] Override http request option.
17186
17179
  * @throws {RequiredError}
17187
17180
  * @memberof DoctorsApi
17188
17181
  */
17189
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
17182
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdPut = function (doctorId, languageId, updateDoctorLanguageCommand, options) {
17190
17183
  var _this = this;
17191
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
17184
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17192
17185
  };
17193
17186
  /**
17194
17187
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "4.2.8",
3
+ "version": "4.3.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {