ch-api-client-typescript2 4.2.1 → 4.2.5

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
@@ -14359,18 +14359,22 @@ var LanguagesApiAxiosParamCreator = function (configuration) {
14359
14359
  /**
14360
14360
  *
14361
14361
  * @summary Get Language.
14362
+ * @param {string} code
14362
14363
  * @param {string} id
14363
14364
  * @param {*} [options] Override http request option.
14364
14365
  * @throws {RequiredError}
14365
14366
  */
14366
- apiV2LanguagesIdGet: function (id, options) {
14367
+ apiV2LanguagesIdGet: function (code, id, options) {
14367
14368
  if (options === void 0) { options = {}; }
14368
14369
  return __awaiter(_this, void 0, void 0, function () {
14369
14370
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
14370
14371
  return __generator(this, function (_a) {
14372
+ // verify required parameter 'code' is not null or undefined
14373
+ (0, common_1.assertParamExists)('apiV2LanguagesIdGet', 'code', code);
14371
14374
  // verify required parameter 'id' is not null or undefined
14372
14375
  (0, common_1.assertParamExists)('apiV2LanguagesIdGet', 'id', id);
14373
14376
  localVarPath = "/api/v2/languages/{id}"
14377
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
14374
14378
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
14375
14379
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14376
14380
  if (configuration) {
@@ -14448,16 +14452,17 @@ var LanguagesApiFp = function (configuration) {
14448
14452
  /**
14449
14453
  *
14450
14454
  * @summary Get Language.
14455
+ * @param {string} code
14451
14456
  * @param {string} id
14452
14457
  * @param {*} [options] Override http request option.
14453
14458
  * @throws {RequiredError}
14454
14459
  */
14455
- apiV2LanguagesIdGet: function (id, options) {
14460
+ apiV2LanguagesIdGet: function (code, id, options) {
14456
14461
  return __awaiter(this, void 0, void 0, function () {
14457
14462
  var localVarAxiosArgs;
14458
14463
  return __generator(this, function (_a) {
14459
14464
  switch (_a.label) {
14460
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2LanguagesIdGet(id, options)];
14465
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2LanguagesIdGet(code, id, options)];
14461
14466
  case 1:
14462
14467
  localVarAxiosArgs = _a.sent();
14463
14468
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -14504,12 +14509,13 @@ var LanguagesApiFactory = function (configuration, basePath, axios) {
14504
14509
  /**
14505
14510
  *
14506
14511
  * @summary Get Language.
14512
+ * @param {string} code
14507
14513
  * @param {string} id
14508
14514
  * @param {*} [options] Override http request option.
14509
14515
  * @throws {RequiredError}
14510
14516
  */
14511
- apiV2LanguagesIdGet: function (id, options) {
14512
- return localVarFp.apiV2LanguagesIdGet(id, options).then(function (request) { return request(axios, basePath); });
14517
+ apiV2LanguagesIdGet: function (code, id, options) {
14518
+ return localVarFp.apiV2LanguagesIdGet(code, id, options).then(function (request) { return request(axios, basePath); });
14513
14519
  },
14514
14520
  };
14515
14521
  };
@@ -14558,14 +14564,15 @@ var LanguagesApi = /** @class */ (function (_super) {
14558
14564
  /**
14559
14565
  *
14560
14566
  * @summary Get Language.
14567
+ * @param {string} code
14561
14568
  * @param {string} id
14562
14569
  * @param {*} [options] Override http request option.
14563
14570
  * @throws {RequiredError}
14564
14571
  * @memberof LanguagesApi
14565
14572
  */
14566
- LanguagesApi.prototype.apiV2LanguagesIdGet = function (id, options) {
14573
+ LanguagesApi.prototype.apiV2LanguagesIdGet = function (code, id, options) {
14567
14574
  var _this = this;
14568
- return (0, exports.LanguagesApiFp)(this.configuration).apiV2LanguagesIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
14575
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV2LanguagesIdGet(code, id, options).then(function (request) { return request(_this.axios, _this.basePath); });
14569
14576
  };
14570
14577
  return LanguagesApi;
14571
14578
  }(base_1.BaseAPI));
@@ -18049,6 +18056,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18049
18056
  * @param {string} [name]
18050
18057
  * @param {string} [description]
18051
18058
  * @param {string} [specialtyTypeId]
18059
+ * @param {MarketingType} [marketingType]
18052
18060
  * @param {string} [hospitalId]
18053
18061
  * @param {Date} [created]
18054
18062
  * @param {string} [languageCode]
@@ -18060,7 +18068,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18060
18068
  * @param {*} [options] Override http request option.
18061
18069
  * @throws {RequiredError}
18062
18070
  */
18063
- apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18071
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18064
18072
  if (options === void 0) { options = {}; }
18065
18073
  return __awaiter(_this, void 0, void 0, function () {
18066
18074
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18085,6 +18093,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18085
18093
  if (specialtyTypeId !== undefined) {
18086
18094
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18087
18095
  }
18096
+ if (marketingType !== undefined) {
18097
+ localVarQueryParameter['MarketingType'] = marketingType;
18098
+ }
18088
18099
  if (hospitalId !== undefined) {
18089
18100
  localVarQueryParameter['HospitalId'] = hospitalId;
18090
18101
  }
@@ -18130,6 +18141,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18130
18141
  * @param {string} [name]
18131
18142
  * @param {string} [description]
18132
18143
  * @param {string} [specialtyTypeId]
18144
+ * @param {MarketingType} [marketingType]
18133
18145
  * @param {string} [hospitalId]
18134
18146
  * @param {Date} [created]
18135
18147
  * @param {string} [languageCode]
@@ -18141,7 +18153,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18141
18153
  * @param {*} [options] Override http request option.
18142
18154
  * @throws {RequiredError}
18143
18155
  */
18144
- apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18156
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18145
18157
  if (options === void 0) { options = {}; }
18146
18158
  return __awaiter(_this, void 0, void 0, function () {
18147
18159
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18166,6 +18178,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18166
18178
  if (specialtyTypeId !== undefined) {
18167
18179
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18168
18180
  }
18181
+ if (marketingType !== undefined) {
18182
+ localVarQueryParameter['MarketingType'] = marketingType;
18183
+ }
18169
18184
  if (hospitalId !== undefined) {
18170
18185
  localVarQueryParameter['HospitalId'] = hospitalId;
18171
18186
  }
@@ -18393,6 +18408,7 @@ var SpecialtiesApiFp = function (configuration) {
18393
18408
  * @param {string} [name]
18394
18409
  * @param {string} [description]
18395
18410
  * @param {string} [specialtyTypeId]
18411
+ * @param {MarketingType} [marketingType]
18396
18412
  * @param {string} [hospitalId]
18397
18413
  * @param {Date} [created]
18398
18414
  * @param {string} [languageCode]
@@ -18404,12 +18420,12 @@ var SpecialtiesApiFp = function (configuration) {
18404
18420
  * @param {*} [options] Override http request option.
18405
18421
  * @throws {RequiredError}
18406
18422
  */
18407
- apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18423
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18408
18424
  return __awaiter(this, void 0, void 0, function () {
18409
18425
  var localVarAxiosArgs;
18410
18426
  return __generator(this, function (_a) {
18411
18427
  switch (_a.label) {
18412
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18428
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18413
18429
  case 1:
18414
18430
  localVarAxiosArgs = _a.sent();
18415
18431
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18424,6 +18440,7 @@ var SpecialtiesApiFp = function (configuration) {
18424
18440
  * @param {string} [name]
18425
18441
  * @param {string} [description]
18426
18442
  * @param {string} [specialtyTypeId]
18443
+ * @param {MarketingType} [marketingType]
18427
18444
  * @param {string} [hospitalId]
18428
18445
  * @param {Date} [created]
18429
18446
  * @param {string} [languageCode]
@@ -18435,12 +18452,12 @@ var SpecialtiesApiFp = function (configuration) {
18435
18452
  * @param {*} [options] Override http request option.
18436
18453
  * @throws {RequiredError}
18437
18454
  */
18438
- apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18455
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18439
18456
  return __awaiter(this, void 0, void 0, function () {
18440
18457
  var localVarAxiosArgs;
18441
18458
  return __generator(this, function (_a) {
18442
18459
  switch (_a.label) {
18443
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18460
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18444
18461
  case 1:
18445
18462
  localVarAxiosArgs = _a.sent();
18446
18463
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18553,6 +18570,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18553
18570
  * @param {string} [name]
18554
18571
  * @param {string} [description]
18555
18572
  * @param {string} [specialtyTypeId]
18573
+ * @param {MarketingType} [marketingType]
18556
18574
  * @param {string} [hospitalId]
18557
18575
  * @param {Date} [created]
18558
18576
  * @param {string} [languageCode]
@@ -18564,8 +18582,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18564
18582
  * @param {*} [options] Override http request option.
18565
18583
  * @throws {RequiredError}
18566
18584
  */
18567
- apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18568
- return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18585
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18586
+ return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18569
18587
  },
18570
18588
  /**
18571
18589
  *
@@ -18574,6 +18592,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18574
18592
  * @param {string} [name]
18575
18593
  * @param {string} [description]
18576
18594
  * @param {string} [specialtyTypeId]
18595
+ * @param {MarketingType} [marketingType]
18577
18596
  * @param {string} [hospitalId]
18578
18597
  * @param {Date} [created]
18579
18598
  * @param {string} [languageCode]
@@ -18585,8 +18604,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18585
18604
  * @param {*} [options] Override http request option.
18586
18605
  * @throws {RequiredError}
18587
18606
  */
18588
- apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18589
- return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18607
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18608
+ return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
18590
18609
  },
18591
18610
  /**
18592
18611
  *
@@ -18657,6 +18676,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18657
18676
  * @param {string} [name]
18658
18677
  * @param {string} [description]
18659
18678
  * @param {string} [specialtyTypeId]
18679
+ * @param {MarketingType} [marketingType]
18660
18680
  * @param {string} [hospitalId]
18661
18681
  * @param {Date} [created]
18662
18682
  * @param {string} [languageCode]
@@ -18669,9 +18689,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18669
18689
  * @throws {RequiredError}
18670
18690
  * @memberof SpecialtiesApi
18671
18691
  */
18672
- SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18692
+ SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18673
18693
  var _this = this;
18674
- return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18694
+ return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18675
18695
  };
18676
18696
  /**
18677
18697
  *
@@ -18680,6 +18700,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18680
18700
  * @param {string} [name]
18681
18701
  * @param {string} [description]
18682
18702
  * @param {string} [specialtyTypeId]
18703
+ * @param {MarketingType} [marketingType]
18683
18704
  * @param {string} [hospitalId]
18684
18705
  * @param {Date} [created]
18685
18706
  * @param {string} [languageCode]
@@ -18692,9 +18713,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18692
18713
  * @throws {RequiredError}
18693
18714
  * @memberof SpecialtiesApi
18694
18715
  */
18695
- SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18716
+ SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18696
18717
  var _this = this;
18697
- return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18718
+ return (0, exports.SpecialtiesApiFp)(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
18698
18719
  };
18699
18720
  /**
18700
18721
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.2.1",
3
+ "version": "4.2.5",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -7856,6 +7856,45 @@ export enum Platform {
7856
7856
  Android = 'Android'
7857
7857
  }
7858
7858
 
7859
+ /**
7860
+ *
7861
+ * @export
7862
+ * @interface ProblemDetails
7863
+ */
7864
+ export interface ProblemDetails {
7865
+ [key: string]: any | any;
7866
+
7867
+ /**
7868
+ *
7869
+ * @type {string}
7870
+ * @memberof ProblemDetails
7871
+ */
7872
+ 'type'?: string | null;
7873
+ /**
7874
+ *
7875
+ * @type {string}
7876
+ * @memberof ProblemDetails
7877
+ */
7878
+ 'title'?: string | null;
7879
+ /**
7880
+ *
7881
+ * @type {number}
7882
+ * @memberof ProblemDetails
7883
+ */
7884
+ 'status'?: number | null;
7885
+ /**
7886
+ *
7887
+ * @type {string}
7888
+ * @memberof ProblemDetails
7889
+ */
7890
+ 'detail'?: string | null;
7891
+ /**
7892
+ *
7893
+ * @type {string}
7894
+ * @memberof ProblemDetails
7895
+ */
7896
+ 'instance'?: string | null;
7897
+ }
7859
7898
  /**
7860
7899
  *
7861
7900
  * @export
@@ -8719,6 +8758,12 @@ export interface SpecialtyItemModel {
8719
8758
  * @memberof SpecialtyItemModel
8720
8759
  */
8721
8760
  'specialtyTypeName'?: string | null;
8761
+ /**
8762
+ *
8763
+ * @type {MarketingType}
8764
+ * @memberof SpecialtyItemModel
8765
+ */
8766
+ 'marketingType'?: MarketingType;
8722
8767
  /**
8723
8768
  *
8724
8769
  * @type {Array<MediaModel>}
@@ -8823,6 +8868,12 @@ export interface SpecialtyModel {
8823
8868
  * @memberof SpecialtyModel
8824
8869
  */
8825
8870
  'specialtyTypeName'?: string | null;
8871
+ /**
8872
+ *
8873
+ * @type {MarketingType}
8874
+ * @memberof SpecialtyModel
8875
+ */
8876
+ 'marketingType'?: MarketingType;
8826
8877
  /**
8827
8878
  *
8828
8879
  * @type {Array<MediaModel>}
@@ -23253,14 +23304,18 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
23253
23304
  /**
23254
23305
  *
23255
23306
  * @summary Get Language.
23307
+ * @param {string} code
23256
23308
  * @param {string} id
23257
23309
  * @param {*} [options] Override http request option.
23258
23310
  * @throws {RequiredError}
23259
23311
  */
23260
- apiV2LanguagesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23312
+ apiV2LanguagesIdGet: async (code: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23313
+ // verify required parameter 'code' is not null or undefined
23314
+ assertParamExists('apiV2LanguagesIdGet', 'code', code)
23261
23315
  // verify required parameter 'id' is not null or undefined
23262
23316
  assertParamExists('apiV2LanguagesIdGet', 'id', id)
23263
23317
  const localVarPath = `/api/v2/languages/{id}`
23318
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)))
23264
23319
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
23265
23320
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23266
23321
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -23325,12 +23380,13 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
23325
23380
  /**
23326
23381
  *
23327
23382
  * @summary Get Language.
23383
+ * @param {string} code
23328
23384
  * @param {string} id
23329
23385
  * @param {*} [options] Override http request option.
23330
23386
  * @throws {RequiredError}
23331
23387
  */
23332
- async apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
23333
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesIdGet(id, options);
23388
+ async apiV2LanguagesIdGet(code: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
23389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesIdGet(code, id, options);
23334
23390
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23335
23391
  },
23336
23392
  }
@@ -23372,12 +23428,13 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
23372
23428
  /**
23373
23429
  *
23374
23430
  * @summary Get Language.
23431
+ * @param {string} code
23375
23432
  * @param {string} id
23376
23433
  * @param {*} [options] Override http request option.
23377
23434
  * @throws {RequiredError}
23378
23435
  */
23379
- apiV2LanguagesIdGet(id: string, options?: any): AxiosPromise<LanguageModel> {
23380
- return localVarFp.apiV2LanguagesIdGet(id, options).then((request) => request(axios, basePath));
23436
+ apiV2LanguagesIdGet(code: string, id: string, options?: any): AxiosPromise<LanguageModel> {
23437
+ return localVarFp.apiV2LanguagesIdGet(code, id, options).then((request) => request(axios, basePath));
23381
23438
  },
23382
23439
  };
23383
23440
  };
@@ -23422,13 +23479,14 @@ export class LanguagesApi extends BaseAPI {
23422
23479
  /**
23423
23480
  *
23424
23481
  * @summary Get Language.
23482
+ * @param {string} code
23425
23483
  * @param {string} id
23426
23484
  * @param {*} [options] Override http request option.
23427
23485
  * @throws {RequiredError}
23428
23486
  * @memberof LanguagesApi
23429
23487
  */
23430
- public apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig) {
23431
- return LanguagesApiFp(this.configuration).apiV2LanguagesIdGet(id, options).then((request) => request(this.axios, this.basePath));
23488
+ public apiV2LanguagesIdGet(code: string, id: string, options?: AxiosRequestConfig) {
23489
+ return LanguagesApiFp(this.configuration).apiV2LanguagesIdGet(code, id, options).then((request) => request(this.axios, this.basePath));
23432
23490
  }
23433
23491
  }
23434
23492
 
@@ -26577,6 +26635,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26577
26635
  * @param {string} [name]
26578
26636
  * @param {string} [description]
26579
26637
  * @param {string} [specialtyTypeId]
26638
+ * @param {MarketingType} [marketingType]
26580
26639
  * @param {string} [hospitalId]
26581
26640
  * @param {Date} [created]
26582
26641
  * @param {string} [languageCode]
@@ -26588,7 +26647,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26588
26647
  * @param {*} [options] Override http request option.
26589
26648
  * @throws {RequiredError}
26590
26649
  */
26591
- apiV2SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26650
+ apiV2SpecialtiesGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26592
26651
  const localVarPath = `/api/v2/specialties`;
26593
26652
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26594
26653
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26617,6 +26676,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26617
26676
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
26618
26677
  }
26619
26678
 
26679
+ if (marketingType !== undefined) {
26680
+ localVarQueryParameter['MarketingType'] = marketingType;
26681
+ }
26682
+
26620
26683
  if (hospitalId !== undefined) {
26621
26684
  localVarQueryParameter['HospitalId'] = hospitalId;
26622
26685
  }
@@ -26671,6 +26734,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26671
26734
  * @param {string} [name]
26672
26735
  * @param {string} [description]
26673
26736
  * @param {string} [specialtyTypeId]
26737
+ * @param {MarketingType} [marketingType]
26674
26738
  * @param {string} [hospitalId]
26675
26739
  * @param {Date} [created]
26676
26740
  * @param {string} [languageCode]
@@ -26682,7 +26746,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26682
26746
  * @param {*} [options] Override http request option.
26683
26747
  * @throws {RequiredError}
26684
26748
  */
26685
- apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26749
+ apiV2SpecialtiesSimpleGet: async (id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26686
26750
  const localVarPath = `/api/v2/specialties/simple`;
26687
26751
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26688
26752
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26711,6 +26775,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26711
26775
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
26712
26776
  }
26713
26777
 
26778
+ if (marketingType !== undefined) {
26779
+ localVarQueryParameter['MarketingType'] = marketingType;
26780
+ }
26781
+
26714
26782
  if (hospitalId !== undefined) {
26715
26783
  localVarQueryParameter['HospitalId'] = hospitalId;
26716
26784
  }
@@ -26960,6 +27028,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26960
27028
  * @param {string} [name]
26961
27029
  * @param {string} [description]
26962
27030
  * @param {string} [specialtyTypeId]
27031
+ * @param {MarketingType} [marketingType]
26963
27032
  * @param {string} [hospitalId]
26964
27033
  * @param {Date} [created]
26965
27034
  * @param {string} [languageCode]
@@ -26971,8 +27040,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26971
27040
  * @param {*} [options] Override http request option.
26972
27041
  * @throws {RequiredError}
26973
27042
  */
26974
- async apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
26975
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
27043
+ async apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesModel>> {
27044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
26976
27045
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26977
27046
  },
26978
27047
  /**
@@ -26982,6 +27051,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26982
27051
  * @param {string} [name]
26983
27052
  * @param {string} [description]
26984
27053
  * @param {string} [specialtyTypeId]
27054
+ * @param {MarketingType} [marketingType]
26985
27055
  * @param {string} [hospitalId]
26986
27056
  * @param {Date} [created]
26987
27057
  * @param {string} [languageCode]
@@ -26993,8 +27063,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26993
27063
  * @param {*} [options] Override http request option.
26994
27064
  * @throws {RequiredError}
26995
27065
  */
26996
- async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
26997
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
27066
+ async apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SpecialtiesSimpleModel>> {
27067
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
26998
27068
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
26999
27069
  },
27000
27070
  /**
@@ -27066,6 +27136,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27066
27136
  * @param {string} [name]
27067
27137
  * @param {string} [description]
27068
27138
  * @param {string} [specialtyTypeId]
27139
+ * @param {MarketingType} [marketingType]
27069
27140
  * @param {string} [hospitalId]
27070
27141
  * @param {Date} [created]
27071
27142
  * @param {string} [languageCode]
@@ -27077,8 +27148,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27077
27148
  * @param {*} [options] Override http request option.
27078
27149
  * @throws {RequiredError}
27079
27150
  */
27080
- apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
27081
- return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27151
+ apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesModel> {
27152
+ return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27082
27153
  },
27083
27154
  /**
27084
27155
  *
@@ -27087,6 +27158,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27087
27158
  * @param {string} [name]
27088
27159
  * @param {string} [description]
27089
27160
  * @param {string} [specialtyTypeId]
27161
+ * @param {MarketingType} [marketingType]
27090
27162
  * @param {string} [hospitalId]
27091
27163
  * @param {Date} [created]
27092
27164
  * @param {string} [languageCode]
@@ -27098,8 +27170,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27098
27170
  * @param {*} [options] Override http request option.
27099
27171
  * @throws {RequiredError}
27100
27172
  */
27101
- apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
27102
- return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27173
+ apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SpecialtiesSimpleModel> {
27174
+ return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27103
27175
  },
27104
27176
  /**
27105
27177
  *
@@ -27166,6 +27238,7 @@ export class SpecialtiesApi extends BaseAPI {
27166
27238
  * @param {string} [name]
27167
27239
  * @param {string} [description]
27168
27240
  * @param {string} [specialtyTypeId]
27241
+ * @param {MarketingType} [marketingType]
27169
27242
  * @param {string} [hospitalId]
27170
27243
  * @param {Date} [created]
27171
27244
  * @param {string} [languageCode]
@@ -27178,8 +27251,8 @@ export class SpecialtiesApi extends BaseAPI {
27178
27251
  * @throws {RequiredError}
27179
27252
  * @memberof SpecialtiesApi
27180
27253
  */
27181
- public apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27182
- return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27254
+ public apiV2SpecialtiesGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27255
+ return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27183
27256
  }
27184
27257
 
27185
27258
  /**
@@ -27189,6 +27262,7 @@ export class SpecialtiesApi extends BaseAPI {
27189
27262
  * @param {string} [name]
27190
27263
  * @param {string} [description]
27191
27264
  * @param {string} [specialtyTypeId]
27265
+ * @param {MarketingType} [marketingType]
27192
27266
  * @param {string} [hospitalId]
27193
27267
  * @param {Date} [created]
27194
27268
  * @param {string} [languageCode]
@@ -27201,8 +27275,8 @@ export class SpecialtiesApi extends BaseAPI {
27201
27275
  * @throws {RequiredError}
27202
27276
  * @memberof SpecialtiesApi
27203
27277
  */
27204
- public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27205
- return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27278
+ public apiV2SpecialtiesSimpleGet(id?: string, name?: string, description?: string, specialtyTypeId?: string, marketingType?: MarketingType, hospitalId?: string, created?: Date, languageCode?: string, ids?: Array<string>, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
27279
+ return SpecialtiesApiFp(this.configuration).apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
27206
27280
  }
27207
27281
 
27208
27282
  /**