ch-admin-api-client-typescript 4.2.3 → 4.2.7

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
@@ -14317,16 +14317,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14317
14317
  },
14318
14318
  /**
14319
14319
  *
14320
- * @summary Get all DoctorLanguages.
14320
+ * @summary Delete DoctorLanguage
14321
14321
  * @param {string} doctorId
14322
- * @param {string} [language]
14323
- * @param {number} [page]
14324
- * @param {number} [limit]
14325
- * @param {Date} [lastRetrieved]
14322
+ * @param {string} languageId
14323
+ * @param {string} code
14326
14324
  * @param {*} [options] Override http request option.
14327
14325
  * @throws {RequiredError}
14328
14326
  */
14329
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
14327
+ apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
14330
14328
  if (options === void 0) { options = {}; }
14331
14329
  return __awaiter(_this, void 0, void 0, function () {
14332
14330
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14334,14 +14332,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14334
14332
  switch (_a.label) {
14335
14333
  case 0:
14336
14334
  // verify required parameter 'doctorId' is not null or undefined
14337
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
14338
- localVarPath = "/api/v1/doctors/{doctorId}/languages"
14339
- .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
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)));
14340
14344
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14341
14345
  if (configuration) {
14342
14346
  baseOptions = configuration.baseOptions;
14343
14347
  }
14344
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14348
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
14345
14349
  localVarHeaderParameter = {};
14346
14350
  localVarQueryParameter = {};
14347
14351
  // authentication oauth2 required
@@ -14351,20 +14355,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14351
14355
  // authentication oauth2 required
14352
14356
  // oauth required
14353
14357
  _a.sent();
14354
- if (language !== undefined) {
14355
- localVarQueryParameter['Language'] = language;
14356
- }
14357
- if (page !== undefined) {
14358
- localVarQueryParameter['page'] = page;
14359
- }
14360
- if (limit !== undefined) {
14361
- localVarQueryParameter['limit'] = limit;
14362
- }
14363
- if (lastRetrieved !== undefined) {
14364
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
14365
- lastRetrieved.toISOString() :
14366
- lastRetrieved;
14367
- }
14368
14358
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14369
14359
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14370
14360
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -14378,13 +14368,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14378
14368
  },
14379
14369
  /**
14380
14370
  *
14381
- * @summary Delete DoctorLanguage
14371
+ * @summary Get DoctorLanguage.
14382
14372
  * @param {string} doctorId
14383
14373
  * @param {string} languageId
14374
+ * @param {string} code
14384
14375
  * @param {*} [options] Override http request option.
14385
14376
  * @throws {RequiredError}
14386
14377
  */
14387
- apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
14378
+ apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
14388
14379
  if (options === void 0) { options = {}; }
14389
14380
  return __awaiter(_this, void 0, void 0, function () {
14390
14381
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14392,17 +14383,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14392
14383
  switch (_a.label) {
14393
14384
  case 0:
14394
14385
  // verify required parameter 'doctorId' is not null or undefined
14395
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId);
14386
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId);
14396
14387
  // verify required parameter 'languageId' is not null or undefined
14397
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId);
14398
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
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}"
14399
14392
  .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14400
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14393
+ .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
14394
+ .replace("{" + "code" + "}", encodeURIComponent(String(code)));
14401
14395
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14402
14396
  if (configuration) {
14403
14397
  baseOptions = configuration.baseOptions;
14404
14398
  }
14405
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
14399
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14406
14400
  localVarHeaderParameter = {};
14407
14401
  localVarQueryParameter = {};
14408
14402
  // authentication oauth2 required
@@ -14425,13 +14419,15 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14425
14419
  },
14426
14420
  /**
14427
14421
  *
14428
- * @summary Get DoctorLanguage.
14422
+ * @summary Update DoctorLanguage.
14429
14423
  * @param {string} doctorId
14430
14424
  * @param {string} languageId
14425
+ * @param {string} code
14426
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
14431
14427
  * @param {*} [options] Override http request option.
14432
14428
  * @throws {RequiredError}
14433
14429
  */
14434
- apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
14430
+ apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
14435
14431
  if (options === void 0) { options = {}; }
14436
14432
  return __awaiter(_this, void 0, void 0, function () {
14437
14433
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14439,17 +14435,20 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14439
14435
  switch (_a.label) {
14440
14436
  case 0:
14441
14437
  // verify required parameter 'doctorId' is not null or undefined
14442
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
14438
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId);
14443
14439
  // verify required parameter 'languageId' is not null or undefined
14444
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
14445
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
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}"
14446
14444
  .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14447
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14445
+ .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)))
14446
+ .replace("{" + "code" + "}", encodeURIComponent(String(code)));
14448
14447
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14449
14448
  if (configuration) {
14450
14449
  baseOptions = configuration.baseOptions;
14451
14450
  }
14452
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14451
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
14453
14452
  localVarHeaderParameter = {};
14454
14453
  localVarQueryParameter = {};
14455
14454
  // authentication oauth2 required
@@ -14459,9 +14458,11 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14459
14458
  // authentication oauth2 required
14460
14459
  // oauth required
14461
14460
  _a.sent();
14461
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14462
14462
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14463
14463
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14464
14464
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14465
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
14465
14466
  return [2 /*return*/, {
14466
14467
  url: common_1.toPathString(localVarUrlObj),
14467
14468
  options: localVarRequestOptions,
@@ -14472,14 +14473,16 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14472
14473
  },
14473
14474
  /**
14474
14475
  *
14475
- * @summary Update DoctorLanguage.
14476
+ * @summary Get all DoctorLanguages.
14476
14477
  * @param {string} doctorId
14477
- * @param {string} languageId
14478
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
14478
+ * @param {string} [language]
14479
+ * @param {number} [page]
14480
+ * @param {number} [limit]
14481
+ * @param {Date} [lastRetrieved]
14479
14482
  * @param {*} [options] Override http request option.
14480
14483
  * @throws {RequiredError}
14481
14484
  */
14482
- apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
14485
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
14483
14486
  if (options === void 0) { options = {}; }
14484
14487
  return __awaiter(_this, void 0, void 0, function () {
14485
14488
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14487,17 +14490,14 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14487
14490
  switch (_a.label) {
14488
14491
  case 0:
14489
14492
  // verify required parameter 'doctorId' is not null or undefined
14490
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId);
14491
- // verify required parameter 'languageId' is not null or undefined
14492
- common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId);
14493
- localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
14494
- .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
14495
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
14493
+ common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
14494
+ localVarPath = "/api/v1/doctors/{doctorId}/languages"
14495
+ .replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
14496
14496
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14497
14497
  if (configuration) {
14498
14498
  baseOptions = configuration.baseOptions;
14499
14499
  }
14500
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
14500
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14501
14501
  localVarHeaderParameter = {};
14502
14502
  localVarQueryParameter = {};
14503
14503
  // authentication oauth2 required
@@ -14507,11 +14507,23 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14507
14507
  // authentication oauth2 required
14508
14508
  // oauth required
14509
14509
  _a.sent();
14510
- localVarHeaderParameter['Content-Type'] = 'application/json';
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
+ }
14511
14524
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
14512
14525
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14513
14526
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14514
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
14515
14527
  return [2 /*return*/, {
14516
14528
  url: common_1.toPathString(localVarUrlObj),
14517
14529
  options: localVarRequestOptions,
@@ -15917,21 +15929,19 @@ exports.DoctorsApiFp = function (configuration) {
15917
15929
  },
15918
15930
  /**
15919
15931
  *
15920
- * @summary Get all DoctorLanguages.
15932
+ * @summary Delete DoctorLanguage
15921
15933
  * @param {string} doctorId
15922
- * @param {string} [language]
15923
- * @param {number} [page]
15924
- * @param {number} [limit]
15925
- * @param {Date} [lastRetrieved]
15934
+ * @param {string} languageId
15935
+ * @param {string} code
15926
15936
  * @param {*} [options] Override http request option.
15927
15937
  * @throws {RequiredError}
15928
15938
  */
15929
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
15939
+ apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
15930
15940
  return __awaiter(this, void 0, void 0, function () {
15931
15941
  var localVarAxiosArgs;
15932
15942
  return __generator(this, function (_a) {
15933
15943
  switch (_a.label) {
15934
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
15944
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options)];
15935
15945
  case 1:
15936
15946
  localVarAxiosArgs = _a.sent();
15937
15947
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15941,18 +15951,19 @@ exports.DoctorsApiFp = function (configuration) {
15941
15951
  },
15942
15952
  /**
15943
15953
  *
15944
- * @summary Delete DoctorLanguage
15954
+ * @summary Get DoctorLanguage.
15945
15955
  * @param {string} doctorId
15946
15956
  * @param {string} languageId
15957
+ * @param {string} code
15947
15958
  * @param {*} [options] Override http request option.
15948
15959
  * @throws {RequiredError}
15949
15960
  */
15950
- apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
15961
+ apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
15951
15962
  return __awaiter(this, void 0, void 0, function () {
15952
15963
  var localVarAxiosArgs;
15953
15964
  return __generator(this, function (_a) {
15954
15965
  switch (_a.label) {
15955
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options)];
15966
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options)];
15956
15967
  case 1:
15957
15968
  localVarAxiosArgs = _a.sent();
15958
15969
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15962,18 +15973,20 @@ exports.DoctorsApiFp = function (configuration) {
15962
15973
  },
15963
15974
  /**
15964
15975
  *
15965
- * @summary Get DoctorLanguage.
15976
+ * @summary Update DoctorLanguage.
15966
15977
  * @param {string} doctorId
15967
15978
  * @param {string} languageId
15979
+ * @param {string} code
15980
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
15968
15981
  * @param {*} [options] Override http request option.
15969
15982
  * @throws {RequiredError}
15970
15983
  */
15971
- apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
15984
+ apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
15972
15985
  return __awaiter(this, void 0, void 0, function () {
15973
15986
  var localVarAxiosArgs;
15974
15987
  return __generator(this, function (_a) {
15975
15988
  switch (_a.label) {
15976
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
15989
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options)];
15977
15990
  case 1:
15978
15991
  localVarAxiosArgs = _a.sent();
15979
15992
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15983,19 +15996,21 @@ exports.DoctorsApiFp = function (configuration) {
15983
15996
  },
15984
15997
  /**
15985
15998
  *
15986
- * @summary Update DoctorLanguage.
15999
+ * @summary Get all DoctorLanguages.
15987
16000
  * @param {string} doctorId
15988
- * @param {string} languageId
15989
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16001
+ * @param {string} [language]
16002
+ * @param {number} [page]
16003
+ * @param {number} [limit]
16004
+ * @param {Date} [lastRetrieved]
15990
16005
  * @param {*} [options] Override http request option.
15991
16006
  * @throws {RequiredError}
15992
16007
  */
15993
- apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
16008
+ apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
15994
16009
  return __awaiter(this, void 0, void 0, function () {
15995
16010
  var localVarAxiosArgs;
15996
16011
  return __generator(this, function (_a) {
15997
16012
  switch (_a.label) {
15998
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options)];
16013
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
15999
16014
  case 1:
16000
16015
  localVarAxiosArgs = _a.sent();
16001
16016
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -16622,51 +16637,54 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
16622
16637
  },
16623
16638
  /**
16624
16639
  *
16625
- * @summary Get all DoctorLanguages.
16640
+ * @summary Delete DoctorLanguage
16626
16641
  * @param {string} doctorId
16627
- * @param {string} [language]
16628
- * @param {number} [page]
16629
- * @param {number} [limit]
16630
- * @param {Date} [lastRetrieved]
16642
+ * @param {string} languageId
16643
+ * @param {string} code
16631
16644
  * @param {*} [options] Override http request option.
16632
16645
  * @throws {RequiredError}
16633
16646
  */
16634
- apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
16635
- return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
16647
+ apiV1DoctorsDoctorIdLanguagesCodeDelete: function (doctorId, languageId, code, options) {
16648
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
16636
16649
  },
16637
16650
  /**
16638
16651
  *
16639
- * @summary Delete DoctorLanguage
16652
+ * @summary Get DoctorLanguage.
16640
16653
  * @param {string} doctorId
16641
16654
  * @param {string} languageId
16655
+ * @param {string} code
16642
16656
  * @param {*} [options] Override http request option.
16643
16657
  * @throws {RequiredError}
16644
16658
  */
16645
- apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
16646
- return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
16659
+ apiV1DoctorsDoctorIdLanguagesCodeGet: function (doctorId, languageId, code, options) {
16660
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(axios, basePath); });
16647
16661
  },
16648
16662
  /**
16649
16663
  *
16650
- * @summary Get DoctorLanguage.
16664
+ * @summary Update DoctorLanguage.
16651
16665
  * @param {string} doctorId
16652
16666
  * @param {string} languageId
16667
+ * @param {string} code
16668
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16653
16669
  * @param {*} [options] Override http request option.
16654
16670
  * @throws {RequiredError}
16655
16671
  */
16656
- apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
16657
- return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
16672
+ apiV1DoctorsDoctorIdLanguagesCodePut: function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
16673
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
16658
16674
  },
16659
16675
  /**
16660
16676
  *
16661
- * @summary Update DoctorLanguage.
16677
+ * @summary Get all DoctorLanguages.
16662
16678
  * @param {string} doctorId
16663
- * @param {string} languageId
16664
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
16679
+ * @param {string} [language]
16680
+ * @param {number} [page]
16681
+ * @param {number} [limit]
16682
+ * @param {Date} [lastRetrieved]
16665
16683
  * @param {*} [options] Override http request option.
16666
16684
  * @throws {RequiredError}
16667
16685
  */
16668
- apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
16669
- return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
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); });
16670
16688
  },
16671
16689
  /**
16672
16690
  *
@@ -17115,59 +17133,62 @@ var DoctorsApi = /** @class */ (function (_super) {
17115
17133
  };
17116
17134
  /**
17117
17135
  *
17118
- * @summary Get all DoctorLanguages.
17136
+ * @summary Delete DoctorLanguage
17119
17137
  * @param {string} doctorId
17120
- * @param {string} [language]
17121
- * @param {number} [page]
17122
- * @param {number} [limit]
17123
- * @param {Date} [lastRetrieved]
17138
+ * @param {string} languageId
17139
+ * @param {string} code
17124
17140
  * @param {*} [options] Override http request option.
17125
17141
  * @throws {RequiredError}
17126
17142
  * @memberof DoctorsApi
17127
17143
  */
17128
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
17144
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeDelete = function (doctorId, languageId, code, options) {
17129
17145
  var _this = this;
17130
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
17146
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
17131
17147
  };
17132
17148
  /**
17133
17149
  *
17134
- * @summary Delete DoctorLanguage
17150
+ * @summary Get DoctorLanguage.
17135
17151
  * @param {string} doctorId
17136
17152
  * @param {string} languageId
17153
+ * @param {string} code
17137
17154
  * @param {*} [options] Override http request option.
17138
17155
  * @throws {RequiredError}
17139
17156
  * @memberof DoctorsApi
17140
17157
  */
17141
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete = function (doctorId, languageId, options) {
17158
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodeGet = function (doctorId, languageId, code, options) {
17142
17159
  var _this = this;
17143
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17160
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then(function (request) { return request(_this.axios, _this.basePath); });
17144
17161
  };
17145
17162
  /**
17146
17163
  *
17147
- * @summary Get DoctorLanguage.
17164
+ * @summary Update DoctorLanguage.
17148
17165
  * @param {string} doctorId
17149
17166
  * @param {string} languageId
17167
+ * @param {string} code
17168
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
17150
17169
  * @param {*} [options] Override http request option.
17151
17170
  * @throws {RequiredError}
17152
17171
  * @memberof DoctorsApi
17153
17172
  */
17154
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
17173
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesCodePut = function (doctorId, languageId, code, updateDoctorLanguageCommand, options) {
17155
17174
  var _this = this;
17156
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17175
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17157
17176
  };
17158
17177
  /**
17159
17178
  *
17160
- * @summary Update DoctorLanguage.
17179
+ * @summary Get all DoctorLanguages.
17161
17180
  * @param {string} doctorId
17162
- * @param {string} languageId
17163
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
17181
+ * @param {string} [language]
17182
+ * @param {number} [page]
17183
+ * @param {number} [limit]
17184
+ * @param {Date} [lastRetrieved]
17164
17185
  * @param {*} [options] Override http request option.
17165
17186
  * @throws {RequiredError}
17166
17187
  * @memberof DoctorsApi
17167
17188
  */
17168
- DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdPut = function (doctorId, languageId, updateDoctorLanguageCommand, options) {
17189
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
17169
17190
  var _this = this;
17170
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
17191
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
17171
17192
  };
17172
17193
  /**
17173
17194
  *
@@ -21809,10 +21830,11 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
21809
21830
  * @summary Delete GetAllLanguage.
21810
21831
  * @param {string} hospitalId
21811
21832
  * @param {string} languageCode
21833
+ * @param {string} langaugeCode
21812
21834
  * @param {*} [options] Override http request option.
21813
21835
  * @throws {RequiredError}
21814
21836
  */
21815
- apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
21837
+ apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete: function (hospitalId, languageCode, langaugeCode, options) {
21816
21838
  if (options === void 0) { options = {}; }
21817
21839
  return __awaiter(_this, void 0, void 0, function () {
21818
21840
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -21820,12 +21842,15 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
21820
21842
  switch (_a.label) {
21821
21843
  case 0:
21822
21844
  // verify required parameter 'hospitalId' is not null or undefined
21823
- common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId);
21845
+ common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete', 'hospitalId', hospitalId);
21824
21846
  // verify required parameter 'languageCode' is not null or undefined
21825
- common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode);
21826
- localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{languageCode}"
21847
+ common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete', 'languageCode', languageCode);
21848
+ // verify required parameter 'langaugeCode' is not null or undefined
21849
+ common_1.assertParamExists('apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete', 'langaugeCode', langaugeCode);
21850
+ localVarPath = "/api/v1/hospitals/{hospitalId}/languages/{langaugeCode}"
21827
21851
  .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
21828
- .replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)));
21852
+ .replace("{" + "languageCode" + "}", encodeURIComponent(String(languageCode)))
21853
+ .replace("{" + "langaugeCode" + "}", encodeURIComponent(String(langaugeCode)));
21829
21854
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21830
21855
  if (configuration) {
21831
21856
  baseOptions = configuration.baseOptions;
@@ -24732,15 +24757,16 @@ exports.HospitalsApiFp = function (configuration) {
24732
24757
  * @summary Delete GetAllLanguage.
24733
24758
  * @param {string} hospitalId
24734
24759
  * @param {string} languageCode
24760
+ * @param {string} langaugeCode
24735
24761
  * @param {*} [options] Override http request option.
24736
24762
  * @throws {RequiredError}
24737
24763
  */
24738
- apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
24764
+ apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete: function (hospitalId, languageCode, langaugeCode, options) {
24739
24765
  return __awaiter(this, void 0, void 0, function () {
24740
24766
  var localVarAxiosArgs;
24741
24767
  return __generator(this, function (_a) {
24742
24768
  switch (_a.label) {
24743
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options)];
24769
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete(hospitalId, languageCode, langaugeCode, options)];
24744
24770
  case 1:
24745
24771
  localVarAxiosArgs = _a.sent();
24746
24772
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -26035,11 +26061,12 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
26035
26061
  * @summary Delete GetAllLanguage.
26036
26062
  * @param {string} hospitalId
26037
26063
  * @param {string} languageCode
26064
+ * @param {string} langaugeCode
26038
26065
  * @param {*} [options] Override http request option.
26039
26066
  * @throws {RequiredError}
26040
26067
  */
26041
- apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: function (hospitalId, languageCode, options) {
26042
- return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(axios, basePath); });
26068
+ apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete: function (hospitalId, languageCode, langaugeCode, options) {
26069
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete(hospitalId, languageCode, langaugeCode, options).then(function (request) { return request(axios, basePath); });
26043
26070
  },
26044
26071
  /**
26045
26072
  *
@@ -26998,13 +27025,14 @@ var HospitalsApi = /** @class */ (function (_super) {
26998
27025
  * @summary Delete GetAllLanguage.
26999
27026
  * @param {string} hospitalId
27000
27027
  * @param {string} languageCode
27028
+ * @param {string} langaugeCode
27001
27029
  * @param {*} [options] Override http request option.
27002
27030
  * @throws {RequiredError}
27003
27031
  * @memberof HospitalsApi
27004
27032
  */
27005
- HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete = function (hospitalId, languageCode, options) {
27033
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete = function (hospitalId, languageCode, langaugeCode, options) {
27006
27034
  var _this = this;
27007
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
27035
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLangaugeCodeDelete(hospitalId, languageCode, langaugeCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
27008
27036
  };
27009
27037
  /**
27010
27038
  *
@@ -27734,12 +27762,11 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27734
27762
  return {
27735
27763
  /**
27736
27764
  *
27737
- * @summary Get Language by code.
27738
27765
  * @param {string} code
27739
27766
  * @param {*} [options] Override http request option.
27740
27767
  * @throws {RequiredError}
27741
27768
  */
27742
- apiV1LanguagesCodeGet: function (code, options) {
27769
+ apiV1LanguagesCodeDelete: function (code, options) {
27743
27770
  if (options === void 0) { options = {}; }
27744
27771
  return __awaiter(_this, void 0, void 0, function () {
27745
27772
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -27747,14 +27774,14 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27747
27774
  switch (_a.label) {
27748
27775
  case 0:
27749
27776
  // verify required parameter 'code' is not null or undefined
27750
- common_1.assertParamExists('apiV1LanguagesCodeGet', 'code', code);
27777
+ common_1.assertParamExists('apiV1LanguagesCodeDelete', 'code', code);
27751
27778
  localVarPath = "/api/v1/languages/{code}"
27752
27779
  .replace("{" + "code" + "}", encodeURIComponent(String(code)));
27753
27780
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27754
27781
  if (configuration) {
27755
27782
  baseOptions = configuration.baseOptions;
27756
27783
  }
27757
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
27784
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
27758
27785
  localVarHeaderParameter = {};
27759
27786
  localVarQueryParameter = {};
27760
27787
  // authentication oauth2 required
@@ -27777,26 +27804,22 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27777
27804
  },
27778
27805
  /**
27779
27806
  *
27780
- * @summary Get all Languages.
27781
- * @param {string} [id]
27782
- * @param {string} [name]
27783
- * @param {string} [code]
27784
- * @param {string} [description]
27785
- * @param {boolean} [showPublished]
27786
- * @param {number} [page]
27787
- * @param {number} [limit]
27788
- * @param {Date} [lastRetrieved]
27807
+ * @summary Get Language.
27808
+ * @param {string} code
27789
27809
  * @param {*} [options] Override http request option.
27790
27810
  * @throws {RequiredError}
27791
27811
  */
27792
- apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
27812
+ apiV1LanguagesCodeGet: function (code, options) {
27793
27813
  if (options === void 0) { options = {}; }
27794
27814
  return __awaiter(_this, void 0, void 0, function () {
27795
27815
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
27796
27816
  return __generator(this, function (_a) {
27797
27817
  switch (_a.label) {
27798
27818
  case 0:
27799
- localVarPath = "/api/v1/languages";
27819
+ // verify required parameter 'code' is not null or undefined
27820
+ common_1.assertParamExists('apiV1LanguagesCodeGet', 'code', code);
27821
+ localVarPath = "/api/v1/languages/{code}"
27822
+ .replace("{" + "code" + "}", encodeURIComponent(String(code)));
27800
27823
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27801
27824
  if (configuration) {
27802
27825
  baseOptions = configuration.baseOptions;
@@ -27811,32 +27834,6 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27811
27834
  // authentication oauth2 required
27812
27835
  // oauth required
27813
27836
  _a.sent();
27814
- if (id !== undefined) {
27815
- localVarQueryParameter['Id'] = id;
27816
- }
27817
- if (name !== undefined) {
27818
- localVarQueryParameter['Name'] = name;
27819
- }
27820
- if (code !== undefined) {
27821
- localVarQueryParameter['Code'] = code;
27822
- }
27823
- if (description !== undefined) {
27824
- localVarQueryParameter['Description'] = description;
27825
- }
27826
- if (showPublished !== undefined) {
27827
- localVarQueryParameter['ShowPublished'] = showPublished;
27828
- }
27829
- if (page !== undefined) {
27830
- localVarQueryParameter['page'] = page;
27831
- }
27832
- if (limit !== undefined) {
27833
- localVarQueryParameter['limit'] = limit;
27834
- }
27835
- if (lastRetrieved !== undefined) {
27836
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
27837
- lastRetrieved.toISOString() :
27838
- lastRetrieved;
27839
- }
27840
27837
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
27841
27838
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27842
27839
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -27850,26 +27847,27 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27850
27847
  },
27851
27848
  /**
27852
27849
  *
27853
- * @param {string} languageId
27850
+ * @param {string} code
27851
+ * @param {UpdateLanguageCommand} [updateLanguageCommand]
27854
27852
  * @param {*} [options] Override http request option.
27855
27853
  * @throws {RequiredError}
27856
27854
  */
27857
- apiV1LanguagesLanguageIdDelete: function (languageId, options) {
27855
+ apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
27858
27856
  if (options === void 0) { options = {}; }
27859
27857
  return __awaiter(_this, void 0, void 0, function () {
27860
27858
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
27861
27859
  return __generator(this, function (_a) {
27862
27860
  switch (_a.label) {
27863
27861
  case 0:
27864
- // verify required parameter 'languageId' is not null or undefined
27865
- common_1.assertParamExists('apiV1LanguagesLanguageIdDelete', 'languageId', languageId);
27866
- localVarPath = "/api/v1/languages/{languageId}"
27867
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
27862
+ // verify required parameter 'code' is not null or undefined
27863
+ common_1.assertParamExists('apiV1LanguagesCodePut', 'code', code);
27864
+ localVarPath = "/api/v1/languages/{code}"
27865
+ .replace("{" + "code" + "}", encodeURIComponent(String(code)));
27868
27866
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27869
27867
  if (configuration) {
27870
27868
  baseOptions = configuration.baseOptions;
27871
27869
  }
27872
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
27870
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
27873
27871
  localVarHeaderParameter = {};
27874
27872
  localVarQueryParameter = {};
27875
27873
  // authentication oauth2 required
@@ -27879,9 +27877,11 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27879
27877
  // authentication oauth2 required
27880
27878
  // oauth required
27881
27879
  _a.sent();
27880
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27882
27881
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
27883
27882
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27884
27883
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27884
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration);
27885
27885
  return [2 /*return*/, {
27886
27886
  url: common_1.toPathString(localVarUrlObj),
27887
27887
  options: localVarRequestOptions,
@@ -27892,22 +27892,25 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27892
27892
  },
27893
27893
  /**
27894
27894
  *
27895
- * @summary Get Language.
27896
- * @param {string} languageId
27895
+ * @summary Get all Languages.
27896
+ * @param {string} [code]
27897
+ * @param {string} [name]
27898
+ * @param {string} [description]
27899
+ * @param {boolean} [showPublished]
27900
+ * @param {number} [page]
27901
+ * @param {number} [limit]
27902
+ * @param {Date} [lastRetrieved]
27897
27903
  * @param {*} [options] Override http request option.
27898
27904
  * @throws {RequiredError}
27899
27905
  */
27900
- apiV1LanguagesLanguageIdGet: function (languageId, options) {
27906
+ apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
27901
27907
  if (options === void 0) { options = {}; }
27902
27908
  return __awaiter(_this, void 0, void 0, function () {
27903
27909
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
27904
27910
  return __generator(this, function (_a) {
27905
27911
  switch (_a.label) {
27906
27912
  case 0:
27907
- // verify required parameter 'languageId' is not null or undefined
27908
- common_1.assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId);
27909
- localVarPath = "/api/v1/languages/{languageId}"
27910
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
27913
+ localVarPath = "/api/v1/languages";
27911
27914
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27912
27915
  if (configuration) {
27913
27916
  baseOptions = configuration.baseOptions;
@@ -27922,54 +27925,32 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
27922
27925
  // authentication oauth2 required
27923
27926
  // oauth required
27924
27927
  _a.sent();
27925
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
27926
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27927
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27928
- return [2 /*return*/, {
27929
- url: common_1.toPathString(localVarUrlObj),
27930
- options: localVarRequestOptions,
27931
- }];
27932
- }
27933
- });
27934
- });
27935
- },
27936
- /**
27937
- *
27938
- * @param {string} languageId
27939
- * @param {UpdateLanguageCommand} [updateLanguageCommand]
27940
- * @param {*} [options] Override http request option.
27941
- * @throws {RequiredError}
27942
- */
27943
- apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
27944
- if (options === void 0) { options = {}; }
27945
- return __awaiter(_this, void 0, void 0, function () {
27946
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
27947
- return __generator(this, function (_a) {
27948
- switch (_a.label) {
27949
- case 0:
27950
- // verify required parameter 'languageId' is not null or undefined
27951
- common_1.assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId);
27952
- localVarPath = "/api/v1/languages/{languageId}"
27953
- .replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
27954
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
27955
- if (configuration) {
27956
- baseOptions = configuration.baseOptions;
27928
+ if (code !== undefined) {
27929
+ localVarQueryParameter['Code'] = code;
27930
+ }
27931
+ if (name !== undefined) {
27932
+ localVarQueryParameter['Name'] = name;
27933
+ }
27934
+ if (description !== undefined) {
27935
+ localVarQueryParameter['Description'] = description;
27936
+ }
27937
+ if (showPublished !== undefined) {
27938
+ localVarQueryParameter['ShowPublished'] = showPublished;
27939
+ }
27940
+ if (page !== undefined) {
27941
+ localVarQueryParameter['page'] = page;
27942
+ }
27943
+ if (limit !== undefined) {
27944
+ localVarQueryParameter['limit'] = limit;
27945
+ }
27946
+ if (lastRetrieved !== undefined) {
27947
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
27948
+ lastRetrieved.toISOString() :
27949
+ lastRetrieved;
27957
27950
  }
27958
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
27959
- localVarHeaderParameter = {};
27960
- localVarQueryParameter = {};
27961
- // authentication oauth2 required
27962
- // oauth required
27963
- return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
27964
- case 1:
27965
- // authentication oauth2 required
27966
- // oauth required
27967
- _a.sent();
27968
- localVarHeaderParameter['Content-Type'] = 'application/json';
27969
27951
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
27970
27952
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27971
27953
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
27972
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration);
27973
27954
  return [2 /*return*/, {
27974
27955
  url: common_1.toPathString(localVarUrlObj),
27975
27956
  options: localVarRequestOptions,
@@ -28030,44 +28011,16 @@ exports.LanguagesApiFp = function (configuration) {
28030
28011
  return {
28031
28012
  /**
28032
28013
  *
28033
- * @summary Get Language by code.
28034
28014
  * @param {string} code
28035
28015
  * @param {*} [options] Override http request option.
28036
28016
  * @throws {RequiredError}
28037
28017
  */
28038
- apiV1LanguagesCodeGet: function (code, options) {
28039
- return __awaiter(this, void 0, void 0, function () {
28040
- var localVarAxiosArgs;
28041
- return __generator(this, function (_a) {
28042
- switch (_a.label) {
28043
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options)];
28044
- case 1:
28045
- localVarAxiosArgs = _a.sent();
28046
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
28047
- }
28048
- });
28049
- });
28050
- },
28051
- /**
28052
- *
28053
- * @summary Get all Languages.
28054
- * @param {string} [id]
28055
- * @param {string} [name]
28056
- * @param {string} [code]
28057
- * @param {string} [description]
28058
- * @param {boolean} [showPublished]
28059
- * @param {number} [page]
28060
- * @param {number} [limit]
28061
- * @param {Date} [lastRetrieved]
28062
- * @param {*} [options] Override http request option.
28063
- * @throws {RequiredError}
28064
- */
28065
- apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
28018
+ apiV1LanguagesCodeDelete: function (code, options) {
28066
28019
  return __awaiter(this, void 0, void 0, function () {
28067
28020
  var localVarAxiosArgs;
28068
28021
  return __generator(this, function (_a) {
28069
28022
  switch (_a.label) {
28070
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options)];
28023
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeDelete(code, options)];
28071
28024
  case 1:
28072
28025
  localVarAxiosArgs = _a.sent();
28073
28026
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -28077,16 +28030,17 @@ exports.LanguagesApiFp = function (configuration) {
28077
28030
  },
28078
28031
  /**
28079
28032
  *
28080
- * @param {string} languageId
28033
+ * @summary Get Language.
28034
+ * @param {string} code
28081
28035
  * @param {*} [options] Override http request option.
28082
28036
  * @throws {RequiredError}
28083
28037
  */
28084
- apiV1LanguagesLanguageIdDelete: function (languageId, options) {
28038
+ apiV1LanguagesCodeGet: function (code, options) {
28085
28039
  return __awaiter(this, void 0, void 0, function () {
28086
28040
  var localVarAxiosArgs;
28087
28041
  return __generator(this, function (_a) {
28088
28042
  switch (_a.label) {
28089
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdDelete(languageId, options)];
28043
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options)];
28090
28044
  case 1:
28091
28045
  localVarAxiosArgs = _a.sent();
28092
28046
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -28096,17 +28050,17 @@ exports.LanguagesApiFp = function (configuration) {
28096
28050
  },
28097
28051
  /**
28098
28052
  *
28099
- * @summary Get Language.
28100
- * @param {string} languageId
28053
+ * @param {string} code
28054
+ * @param {UpdateLanguageCommand} [updateLanguageCommand]
28101
28055
  * @param {*} [options] Override http request option.
28102
28056
  * @throws {RequiredError}
28103
28057
  */
28104
- apiV1LanguagesLanguageIdGet: function (languageId, options) {
28058
+ apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
28105
28059
  return __awaiter(this, void 0, void 0, function () {
28106
28060
  var localVarAxiosArgs;
28107
28061
  return __generator(this, function (_a) {
28108
28062
  switch (_a.label) {
28109
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdGet(languageId, options)];
28063
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodePut(code, updateLanguageCommand, options)];
28110
28064
  case 1:
28111
28065
  localVarAxiosArgs = _a.sent();
28112
28066
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -28116,17 +28070,23 @@ exports.LanguagesApiFp = function (configuration) {
28116
28070
  },
28117
28071
  /**
28118
28072
  *
28119
- * @param {string} languageId
28120
- * @param {UpdateLanguageCommand} [updateLanguageCommand]
28073
+ * @summary Get all Languages.
28074
+ * @param {string} [code]
28075
+ * @param {string} [name]
28076
+ * @param {string} [description]
28077
+ * @param {boolean} [showPublished]
28078
+ * @param {number} [page]
28079
+ * @param {number} [limit]
28080
+ * @param {Date} [lastRetrieved]
28121
28081
  * @param {*} [options] Override http request option.
28122
28082
  * @throws {RequiredError}
28123
28083
  */
28124
- apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
28084
+ apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
28125
28085
  return __awaiter(this, void 0, void 0, function () {
28126
28086
  var localVarAxiosArgs;
28127
28087
  return __generator(this, function (_a) {
28128
28088
  switch (_a.label) {
28129
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options)];
28089
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options)];
28130
28090
  case 1:
28131
28091
  localVarAxiosArgs = _a.sent();
28132
28092
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -28164,59 +28124,48 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
28164
28124
  return {
28165
28125
  /**
28166
28126
  *
28167
- * @summary Get Language by code.
28168
28127
  * @param {string} code
28169
28128
  * @param {*} [options] Override http request option.
28170
28129
  * @throws {RequiredError}
28171
28130
  */
28172
- apiV1LanguagesCodeGet: function (code, options) {
28173
- return localVarFp.apiV1LanguagesCodeGet(code, options).then(function (request) { return request(axios, basePath); });
28174
- },
28175
- /**
28176
- *
28177
- * @summary Get all Languages.
28178
- * @param {string} [id]
28179
- * @param {string} [name]
28180
- * @param {string} [code]
28181
- * @param {string} [description]
28182
- * @param {boolean} [showPublished]
28183
- * @param {number} [page]
28184
- * @param {number} [limit]
28185
- * @param {Date} [lastRetrieved]
28186
- * @param {*} [options] Override http request option.
28187
- * @throws {RequiredError}
28188
- */
28189
- apiV1LanguagesGet: function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
28190
- return localVarFp.apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
28131
+ apiV1LanguagesCodeDelete: function (code, options) {
28132
+ return localVarFp.apiV1LanguagesCodeDelete(code, options).then(function (request) { return request(axios, basePath); });
28191
28133
  },
28192
28134
  /**
28193
28135
  *
28194
- * @param {string} languageId
28136
+ * @summary Get Language.
28137
+ * @param {string} code
28195
28138
  * @param {*} [options] Override http request option.
28196
28139
  * @throws {RequiredError}
28197
28140
  */
28198
- apiV1LanguagesLanguageIdDelete: function (languageId, options) {
28199
- return localVarFp.apiV1LanguagesLanguageIdDelete(languageId, options).then(function (request) { return request(axios, basePath); });
28141
+ apiV1LanguagesCodeGet: function (code, options) {
28142
+ return localVarFp.apiV1LanguagesCodeGet(code, options).then(function (request) { return request(axios, basePath); });
28200
28143
  },
28201
28144
  /**
28202
28145
  *
28203
- * @summary Get Language.
28204
- * @param {string} languageId
28146
+ * @param {string} code
28147
+ * @param {UpdateLanguageCommand} [updateLanguageCommand]
28205
28148
  * @param {*} [options] Override http request option.
28206
28149
  * @throws {RequiredError}
28207
28150
  */
28208
- apiV1LanguagesLanguageIdGet: function (languageId, options) {
28209
- return localVarFp.apiV1LanguagesLanguageIdGet(languageId, options).then(function (request) { return request(axios, basePath); });
28151
+ apiV1LanguagesCodePut: function (code, updateLanguageCommand, options) {
28152
+ return localVarFp.apiV1LanguagesCodePut(code, updateLanguageCommand, options).then(function (request) { return request(axios, basePath); });
28210
28153
  },
28211
28154
  /**
28212
28155
  *
28213
- * @param {string} languageId
28214
- * @param {UpdateLanguageCommand} [updateLanguageCommand]
28156
+ * @summary Get all Languages.
28157
+ * @param {string} [code]
28158
+ * @param {string} [name]
28159
+ * @param {string} [description]
28160
+ * @param {boolean} [showPublished]
28161
+ * @param {number} [page]
28162
+ * @param {number} [limit]
28163
+ * @param {Date} [lastRetrieved]
28215
28164
  * @param {*} [options] Override http request option.
28216
28165
  * @throws {RequiredError}
28217
28166
  */
28218
- apiV1LanguagesLanguageIdPut: function (languageId, updateLanguageCommand, options) {
28219
- return localVarFp.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then(function (request) { return request(axios, basePath); });
28167
+ apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
28168
+ return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
28220
28169
  },
28221
28170
  /**
28222
28171
  *
@@ -28242,69 +28191,56 @@ var LanguagesApi = /** @class */ (function (_super) {
28242
28191
  }
28243
28192
  /**
28244
28193
  *
28245
- * @summary Get Language by code.
28246
28194
  * @param {string} code
28247
28195
  * @param {*} [options] Override http request option.
28248
28196
  * @throws {RequiredError}
28249
28197
  * @memberof LanguagesApi
28250
28198
  */
28251
- LanguagesApi.prototype.apiV1LanguagesCodeGet = function (code, options) {
28199
+ LanguagesApi.prototype.apiV1LanguagesCodeDelete = function (code, options) {
28252
28200
  var _this = this;
28253
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then(function (request) { return request(_this.axios, _this.basePath); });
28201
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodeDelete(code, options).then(function (request) { return request(_this.axios, _this.basePath); });
28254
28202
  };
28255
28203
  /**
28256
28204
  *
28257
- * @summary Get all Languages.
28258
- * @param {string} [id]
28259
- * @param {string} [name]
28260
- * @param {string} [code]
28261
- * @param {string} [description]
28262
- * @param {boolean} [showPublished]
28263
- * @param {number} [page]
28264
- * @param {number} [limit]
28265
- * @param {Date} [lastRetrieved]
28266
- * @param {*} [options] Override http request option.
28267
- * @throws {RequiredError}
28268
- * @memberof LanguagesApi
28269
- */
28270
- LanguagesApi.prototype.apiV1LanguagesGet = function (id, name, code, description, showPublished, page, limit, lastRetrieved, options) {
28271
- var _this = this;
28272
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
28273
- };
28274
- /**
28275
- *
28276
- * @param {string} languageId
28205
+ * @summary Get Language.
28206
+ * @param {string} code
28277
28207
  * @param {*} [options] Override http request option.
28278
28208
  * @throws {RequiredError}
28279
28209
  * @memberof LanguagesApi
28280
28210
  */
28281
- LanguagesApi.prototype.apiV1LanguagesLanguageIdDelete = function (languageId, options) {
28211
+ LanguagesApi.prototype.apiV1LanguagesCodeGet = function (code, options) {
28282
28212
  var _this = this;
28283
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdDelete(languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
28213
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then(function (request) { return request(_this.axios, _this.basePath); });
28284
28214
  };
28285
28215
  /**
28286
28216
  *
28287
- * @summary Get Language.
28288
- * @param {string} languageId
28217
+ * @param {string} code
28218
+ * @param {UpdateLanguageCommand} [updateLanguageCommand]
28289
28219
  * @param {*} [options] Override http request option.
28290
28220
  * @throws {RequiredError}
28291
28221
  * @memberof LanguagesApi
28292
28222
  */
28293
- LanguagesApi.prototype.apiV1LanguagesLanguageIdGet = function (languageId, options) {
28223
+ LanguagesApi.prototype.apiV1LanguagesCodePut = function (code, updateLanguageCommand, options) {
28294
28224
  var _this = this;
28295
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdGet(languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
28225
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesCodePut(code, updateLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
28296
28226
  };
28297
28227
  /**
28298
28228
  *
28299
- * @param {string} languageId
28300
- * @param {UpdateLanguageCommand} [updateLanguageCommand]
28229
+ * @summary Get all Languages.
28230
+ * @param {string} [code]
28231
+ * @param {string} [name]
28232
+ * @param {string} [description]
28233
+ * @param {boolean} [showPublished]
28234
+ * @param {number} [page]
28235
+ * @param {number} [limit]
28236
+ * @param {Date} [lastRetrieved]
28301
28237
  * @param {*} [options] Override http request option.
28302
28238
  * @throws {RequiredError}
28303
28239
  * @memberof LanguagesApi
28304
28240
  */
28305
- LanguagesApi.prototype.apiV1LanguagesLanguageIdPut = function (languageId, updateLanguageCommand, options) {
28241
+ LanguagesApi.prototype.apiV1LanguagesGet = function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
28306
28242
  var _this = this;
28307
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
28243
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
28308
28244
  };
28309
28245
  /**
28310
28246
  *
@@ -34033,6 +33969,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34033
33969
  * @param {string} [name]
34034
33970
  * @param {string} [description]
34035
33971
  * @param {string} [specialtyTypeId]
33972
+ * @param {MarketingType} [marketingType]
34036
33973
  * @param {string} [hospitalId]
34037
33974
  * @param {Date} [created]
34038
33975
  * @param {string} [languageCode]
@@ -34045,7 +33982,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34045
33982
  * @param {*} [options] Override http request option.
34046
33983
  * @throws {RequiredError}
34047
33984
  */
34048
- apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
33985
+ apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34049
33986
  if (options === void 0) { options = {}; }
34050
33987
  return __awaiter(_this, void 0, void 0, function () {
34051
33988
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -34079,6 +34016,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34079
34016
  if (specialtyTypeId !== undefined) {
34080
34017
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
34081
34018
  }
34019
+ if (marketingType !== undefined) {
34020
+ localVarQueryParameter['MarketingType'] = marketingType;
34021
+ }
34082
34022
  if (hospitalId !== undefined) {
34083
34023
  localVarQueryParameter['HospitalId'] = hospitalId;
34084
34024
  }
@@ -34170,6 +34110,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34170
34110
  * @param {string} [name]
34171
34111
  * @param {string} [description]
34172
34112
  * @param {string} [specialtyTypeId]
34113
+ * @param {MarketingType} [marketingType]
34173
34114
  * @param {string} [hospitalId]
34174
34115
  * @param {Date} [created]
34175
34116
  * @param {string} [languageCode]
@@ -34182,7 +34123,7 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34182
34123
  * @param {*} [options] Override http request option.
34183
34124
  * @throws {RequiredError}
34184
34125
  */
34185
- apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34126
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34186
34127
  if (options === void 0) { options = {}; }
34187
34128
  return __awaiter(_this, void 0, void 0, function () {
34188
34129
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -34216,6 +34157,9 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
34216
34157
  if (specialtyTypeId !== undefined) {
34217
34158
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
34218
34159
  }
34160
+ if (marketingType !== undefined) {
34161
+ localVarQueryParameter['MarketingType'] = marketingType;
34162
+ }
34219
34163
  if (hospitalId !== undefined) {
34220
34164
  localVarQueryParameter['HospitalId'] = hospitalId;
34221
34165
  }
@@ -34719,6 +34663,7 @@ exports.SpecialtiesApiFp = function (configuration) {
34719
34663
  * @param {string} [name]
34720
34664
  * @param {string} [description]
34721
34665
  * @param {string} [specialtyTypeId]
34666
+ * @param {MarketingType} [marketingType]
34722
34667
  * @param {string} [hospitalId]
34723
34668
  * @param {Date} [created]
34724
34669
  * @param {string} [languageCode]
@@ -34731,12 +34676,12 @@ exports.SpecialtiesApiFp = function (configuration) {
34731
34676
  * @param {*} [options] Override http request option.
34732
34677
  * @throws {RequiredError}
34733
34678
  */
34734
- apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34679
+ apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34735
34680
  return __awaiter(this, void 0, void 0, function () {
34736
34681
  var localVarAxiosArgs;
34737
34682
  return __generator(this, function (_a) {
34738
34683
  switch (_a.label) {
34739
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
34684
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
34740
34685
  case 1:
34741
34686
  localVarAxiosArgs = _a.sent();
34742
34687
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -34771,6 +34716,7 @@ exports.SpecialtiesApiFp = function (configuration) {
34771
34716
  * @param {string} [name]
34772
34717
  * @param {string} [description]
34773
34718
  * @param {string} [specialtyTypeId]
34719
+ * @param {MarketingType} [marketingType]
34774
34720
  * @param {string} [hospitalId]
34775
34721
  * @param {Date} [created]
34776
34722
  * @param {string} [languageCode]
@@ -34783,12 +34729,12 @@ exports.SpecialtiesApiFp = function (configuration) {
34783
34729
  * @param {*} [options] Override http request option.
34784
34730
  * @throws {RequiredError}
34785
34731
  */
34786
- apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34732
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34787
34733
  return __awaiter(this, void 0, void 0, function () {
34788
34734
  var localVarAxiosArgs;
34789
34735
  return __generator(this, function (_a) {
34790
34736
  switch (_a.label) {
34791
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
34737
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
34792
34738
  case 1:
34793
34739
  localVarAxiosArgs = _a.sent();
34794
34740
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -35006,6 +34952,7 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
35006
34952
  * @param {string} [name]
35007
34953
  * @param {string} [description]
35008
34954
  * @param {string} [specialtyTypeId]
34955
+ * @param {MarketingType} [marketingType]
35009
34956
  * @param {string} [hospitalId]
35010
34957
  * @param {Date} [created]
35011
34958
  * @param {string} [languageCode]
@@ -35018,8 +34965,8 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
35018
34965
  * @param {*} [options] Override http request option.
35019
34966
  * @throws {RequiredError}
35020
34967
  */
35021
- apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35022
- return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
34968
+ apiV1SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
34969
+ return localVarFp.apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
35023
34970
  },
35024
34971
  /**
35025
34972
  *
@@ -35038,6 +34985,7 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
35038
34985
  * @param {string} [name]
35039
34986
  * @param {string} [description]
35040
34987
  * @param {string} [specialtyTypeId]
34988
+ * @param {MarketingType} [marketingType]
35041
34989
  * @param {string} [hospitalId]
35042
34990
  * @param {Date} [created]
35043
34991
  * @param {string} [languageCode]
@@ -35050,8 +34998,8 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
35050
34998
  * @param {*} [options] Override http request option.
35051
34999
  * @throws {RequiredError}
35052
35000
  */
35053
- apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35054
- return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
35001
+ apiV1SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35002
+ return localVarFp.apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
35055
35003
  },
35056
35004
  /**
35057
35005
  *
@@ -35177,6 +35125,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
35177
35125
  * @param {string} [name]
35178
35126
  * @param {string} [description]
35179
35127
  * @param {string} [specialtyTypeId]
35128
+ * @param {MarketingType} [marketingType]
35180
35129
  * @param {string} [hospitalId]
35181
35130
  * @param {Date} [created]
35182
35131
  * @param {string} [languageCode]
@@ -35190,9 +35139,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
35190
35139
  * @throws {RequiredError}
35191
35140
  * @memberof SpecialtiesApi
35192
35141
  */
35193
- SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35142
+ SpecialtiesApi.prototype.apiV1SpecialtiesGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35194
35143
  var _this = this;
35195
- return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
35144
+ return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
35196
35145
  };
35197
35146
  /**
35198
35147
  *
@@ -35213,6 +35162,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
35213
35162
  * @param {string} [name]
35214
35163
  * @param {string} [description]
35215
35164
  * @param {string} [specialtyTypeId]
35165
+ * @param {MarketingType} [marketingType]
35216
35166
  * @param {string} [hospitalId]
35217
35167
  * @param {Date} [created]
35218
35168
  * @param {string} [languageCode]
@@ -35226,9 +35176,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
35226
35176
  * @throws {RequiredError}
35227
35177
  * @memberof SpecialtiesApi
35228
35178
  */
35229
- SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35179
+ SpecialtiesApi.prototype.apiV1SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
35230
35180
  var _this = this;
35231
- return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
35181
+ return exports.SpecialtiesApiFp(this.configuration).apiV1SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
35232
35182
  };
35233
35183
  /**
35234
35184
  *