ch-api-client-typescript2 4.2.3 → 4.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.js CHANGED
@@ -14266,7 +14266,7 @@ var LanguagesApiAxiosParamCreator = function (configuration) {
14266
14266
  return {
14267
14267
  /**
14268
14268
  *
14269
- * @summary Get Language by code.
14269
+ * @summary Get Language.
14270
14270
  * @param {string} code
14271
14271
  * @param {*} [options] Override http request option.
14272
14272
  * @throws {RequiredError}
@@ -14356,39 +14356,6 @@ var LanguagesApiAxiosParamCreator = function (configuration) {
14356
14356
  });
14357
14357
  });
14358
14358
  },
14359
- /**
14360
- *
14361
- * @summary Get Language.
14362
- * @param {string} id
14363
- * @param {*} [options] Override http request option.
14364
- * @throws {RequiredError}
14365
- */
14366
- apiV2LanguagesIdGet: function (id, options) {
14367
- if (options === void 0) { options = {}; }
14368
- return __awaiter(_this, void 0, void 0, function () {
14369
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
14370
- return __generator(this, function (_a) {
14371
- // verify required parameter 'id' is not null or undefined
14372
- (0, common_1.assertParamExists)('apiV2LanguagesIdGet', 'id', id);
14373
- localVarPath = "/api/v2/languages/{id}"
14374
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
14375
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14376
- if (configuration) {
14377
- baseOptions = configuration.baseOptions;
14378
- }
14379
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
14380
- localVarHeaderParameter = {};
14381
- localVarQueryParameter = {};
14382
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14383
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14384
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14385
- return [2 /*return*/, {
14386
- url: (0, common_1.toPathString)(localVarUrlObj),
14387
- options: localVarRequestOptions,
14388
- }];
14389
- });
14390
- });
14391
- },
14392
14359
  };
14393
14360
  };
14394
14361
  exports.LanguagesApiAxiosParamCreator = LanguagesApiAxiosParamCreator;
@@ -14401,7 +14368,7 @@ var LanguagesApiFp = function (configuration) {
14401
14368
  return {
14402
14369
  /**
14403
14370
  *
14404
- * @summary Get Language by code.
14371
+ * @summary Get Language.
14405
14372
  * @param {string} code
14406
14373
  * @param {*} [options] Override http request option.
14407
14374
  * @throws {RequiredError}
@@ -14445,26 +14412,6 @@ var LanguagesApiFp = function (configuration) {
14445
14412
  });
14446
14413
  });
14447
14414
  },
14448
- /**
14449
- *
14450
- * @summary Get Language.
14451
- * @param {string} id
14452
- * @param {*} [options] Override http request option.
14453
- * @throws {RequiredError}
14454
- */
14455
- apiV2LanguagesIdGet: function (id, options) {
14456
- return __awaiter(this, void 0, void 0, function () {
14457
- var localVarAxiosArgs;
14458
- return __generator(this, function (_a) {
14459
- switch (_a.label) {
14460
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2LanguagesIdGet(id, options)];
14461
- case 1:
14462
- localVarAxiosArgs = _a.sent();
14463
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14464
- }
14465
- });
14466
- });
14467
- },
14468
14415
  };
14469
14416
  };
14470
14417
  exports.LanguagesApiFp = LanguagesApiFp;
@@ -14477,7 +14424,7 @@ var LanguagesApiFactory = function (configuration, basePath, axios) {
14477
14424
  return {
14478
14425
  /**
14479
14426
  *
14480
- * @summary Get Language by code.
14427
+ * @summary Get Language.
14481
14428
  * @param {string} code
14482
14429
  * @param {*} [options] Override http request option.
14483
14430
  * @throws {RequiredError}
@@ -14501,16 +14448,6 @@ var LanguagesApiFactory = function (configuration, basePath, axios) {
14501
14448
  apiV2LanguagesGet: function (id, name, code, description, page, limit, lastRetrieved, options) {
14502
14449
  return localVarFp.apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
14503
14450
  },
14504
- /**
14505
- *
14506
- * @summary Get Language.
14507
- * @param {string} id
14508
- * @param {*} [options] Override http request option.
14509
- * @throws {RequiredError}
14510
- */
14511
- apiV2LanguagesIdGet: function (id, options) {
14512
- return localVarFp.apiV2LanguagesIdGet(id, options).then(function (request) { return request(axios, basePath); });
14513
- },
14514
14451
  };
14515
14452
  };
14516
14453
  exports.LanguagesApiFactory = LanguagesApiFactory;
@@ -14527,7 +14464,7 @@ var LanguagesApi = /** @class */ (function (_super) {
14527
14464
  }
14528
14465
  /**
14529
14466
  *
14530
- * @summary Get Language by code.
14467
+ * @summary Get Language.
14531
14468
  * @param {string} code
14532
14469
  * @param {*} [options] Override http request option.
14533
14470
  * @throws {RequiredError}
@@ -14555,18 +14492,6 @@ var LanguagesApi = /** @class */ (function (_super) {
14555
14492
  var _this = this;
14556
14493
  return (0, exports.LanguagesApiFp)(this.configuration).apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
14557
14494
  };
14558
- /**
14559
- *
14560
- * @summary Get Language.
14561
- * @param {string} id
14562
- * @param {*} [options] Override http request option.
14563
- * @throws {RequiredError}
14564
- * @memberof LanguagesApi
14565
- */
14566
- LanguagesApi.prototype.apiV2LanguagesIdGet = function (id, options) {
14567
- var _this = this;
14568
- return (0, exports.LanguagesApiFp)(this.configuration).apiV2LanguagesIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
14569
- };
14570
14495
  return LanguagesApi;
14571
14496
  }(base_1.BaseAPI));
14572
14497
  exports.LanguagesApi = LanguagesApi;
@@ -18049,6 +17974,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18049
17974
  * @param {string} [name]
18050
17975
  * @param {string} [description]
18051
17976
  * @param {string} [specialtyTypeId]
17977
+ * @param {MarketingType} [marketingType]
18052
17978
  * @param {string} [hospitalId]
18053
17979
  * @param {Date} [created]
18054
17980
  * @param {string} [languageCode]
@@ -18060,7 +17986,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18060
17986
  * @param {*} [options] Override http request option.
18061
17987
  * @throws {RequiredError}
18062
17988
  */
18063
- apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
17989
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18064
17990
  if (options === void 0) { options = {}; }
18065
17991
  return __awaiter(_this, void 0, void 0, function () {
18066
17992
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18085,6 +18011,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18085
18011
  if (specialtyTypeId !== undefined) {
18086
18012
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18087
18013
  }
18014
+ if (marketingType !== undefined) {
18015
+ localVarQueryParameter['MarketingType'] = marketingType;
18016
+ }
18088
18017
  if (hospitalId !== undefined) {
18089
18018
  localVarQueryParameter['HospitalId'] = hospitalId;
18090
18019
  }
@@ -18130,6 +18059,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18130
18059
  * @param {string} [name]
18131
18060
  * @param {string} [description]
18132
18061
  * @param {string} [specialtyTypeId]
18062
+ * @param {MarketingType} [marketingType]
18133
18063
  * @param {string} [hospitalId]
18134
18064
  * @param {Date} [created]
18135
18065
  * @param {string} [languageCode]
@@ -18141,7 +18071,7 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18141
18071
  * @param {*} [options] Override http request option.
18142
18072
  * @throws {RequiredError}
18143
18073
  */
18144
- apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18074
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18145
18075
  if (options === void 0) { options = {}; }
18146
18076
  return __awaiter(_this, void 0, void 0, function () {
18147
18077
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -18166,6 +18096,9 @@ var SpecialtiesApiAxiosParamCreator = function (configuration) {
18166
18096
  if (specialtyTypeId !== undefined) {
18167
18097
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18168
18098
  }
18099
+ if (marketingType !== undefined) {
18100
+ localVarQueryParameter['MarketingType'] = marketingType;
18101
+ }
18169
18102
  if (hospitalId !== undefined) {
18170
18103
  localVarQueryParameter['HospitalId'] = hospitalId;
18171
18104
  }
@@ -18393,6 +18326,7 @@ var SpecialtiesApiFp = function (configuration) {
18393
18326
  * @param {string} [name]
18394
18327
  * @param {string} [description]
18395
18328
  * @param {string} [specialtyTypeId]
18329
+ * @param {MarketingType} [marketingType]
18396
18330
  * @param {string} [hospitalId]
18397
18331
  * @param {Date} [created]
18398
18332
  * @param {string} [languageCode]
@@ -18404,12 +18338,12 @@ var SpecialtiesApiFp = function (configuration) {
18404
18338
  * @param {*} [options] Override http request option.
18405
18339
  * @throws {RequiredError}
18406
18340
  */
18407
- apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18341
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18408
18342
  return __awaiter(this, void 0, void 0, function () {
18409
18343
  var localVarAxiosArgs;
18410
18344
  return __generator(this, function (_a) {
18411
18345
  switch (_a.label) {
18412
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18346
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18413
18347
  case 1:
18414
18348
  localVarAxiosArgs = _a.sent();
18415
18349
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18424,6 +18358,7 @@ var SpecialtiesApiFp = function (configuration) {
18424
18358
  * @param {string} [name]
18425
18359
  * @param {string} [description]
18426
18360
  * @param {string} [specialtyTypeId]
18361
+ * @param {MarketingType} [marketingType]
18427
18362
  * @param {string} [hospitalId]
18428
18363
  * @param {Date} [created]
18429
18364
  * @param {string} [languageCode]
@@ -18435,12 +18370,12 @@ var SpecialtiesApiFp = function (configuration) {
18435
18370
  * @param {*} [options] Override http request option.
18436
18371
  * @throws {RequiredError}
18437
18372
  */
18438
- apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18373
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18439
18374
  return __awaiter(this, void 0, void 0, function () {
18440
18375
  var localVarAxiosArgs;
18441
18376
  return __generator(this, function (_a) {
18442
18377
  switch (_a.label) {
18443
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18378
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options)];
18444
18379
  case 1:
18445
18380
  localVarAxiosArgs = _a.sent();
18446
18381
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -18553,6 +18488,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18553
18488
  * @param {string} [name]
18554
18489
  * @param {string} [description]
18555
18490
  * @param {string} [specialtyTypeId]
18491
+ * @param {MarketingType} [marketingType]
18556
18492
  * @param {string} [hospitalId]
18557
18493
  * @param {Date} [created]
18558
18494
  * @param {string} [languageCode]
@@ -18564,8 +18500,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18564
18500
  * @param {*} [options] Override http request option.
18565
18501
  * @throws {RequiredError}
18566
18502
  */
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); });
18503
+ apiV2SpecialtiesGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18504
+ 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
18505
  },
18570
18506
  /**
18571
18507
  *
@@ -18574,6 +18510,7 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18574
18510
  * @param {string} [name]
18575
18511
  * @param {string} [description]
18576
18512
  * @param {string} [specialtyTypeId]
18513
+ * @param {MarketingType} [marketingType]
18577
18514
  * @param {string} [hospitalId]
18578
18515
  * @param {Date} [created]
18579
18516
  * @param {string} [languageCode]
@@ -18585,8 +18522,8 @@ var SpecialtiesApiFactory = function (configuration, basePath, axios) {
18585
18522
  * @param {*} [options] Override http request option.
18586
18523
  * @throws {RequiredError}
18587
18524
  */
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); });
18525
+ apiV2SpecialtiesSimpleGet: function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18526
+ 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
18527
  },
18591
18528
  /**
18592
18529
  *
@@ -18657,6 +18594,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18657
18594
  * @param {string} [name]
18658
18595
  * @param {string} [description]
18659
18596
  * @param {string} [specialtyTypeId]
18597
+ * @param {MarketingType} [marketingType]
18660
18598
  * @param {string} [hospitalId]
18661
18599
  * @param {Date} [created]
18662
18600
  * @param {string} [languageCode]
@@ -18669,9 +18607,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18669
18607
  * @throws {RequiredError}
18670
18608
  * @memberof SpecialtiesApi
18671
18609
  */
18672
- SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18610
+ SpecialtiesApi.prototype.apiV2SpecialtiesGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18673
18611
  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); });
18612
+ 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
18613
  };
18676
18614
  /**
18677
18615
  *
@@ -18680,6 +18618,7 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18680
18618
  * @param {string} [name]
18681
18619
  * @param {string} [description]
18682
18620
  * @param {string} [specialtyTypeId]
18621
+ * @param {MarketingType} [marketingType]
18683
18622
  * @param {string} [hospitalId]
18684
18623
  * @param {Date} [created]
18685
18624
  * @param {string} [languageCode]
@@ -18692,9 +18631,9 @@ var SpecialtiesApi = /** @class */ (function (_super) {
18692
18631
  * @throws {RequiredError}
18693
18632
  * @memberof SpecialtiesApi
18694
18633
  */
18695
- SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18634
+ SpecialtiesApi.prototype.apiV2SpecialtiesSimpleGet = function (id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options) {
18696
18635
  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); });
18636
+ 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
18637
  };
18699
18638
  /**
18700
18639
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.2.3",
3
+ "version": "4.2.6",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -8758,6 +8758,12 @@ export interface SpecialtyItemModel {
8758
8758
  * @memberof SpecialtyItemModel
8759
8759
  */
8760
8760
  'specialtyTypeName'?: string | null;
8761
+ /**
8762
+ *
8763
+ * @type {MarketingType}
8764
+ * @memberof SpecialtyItemModel
8765
+ */
8766
+ 'marketingType'?: MarketingType;
8761
8767
  /**
8762
8768
  *
8763
8769
  * @type {Array<MediaModel>}
@@ -8862,6 +8868,12 @@ export interface SpecialtyModel {
8862
8868
  * @memberof SpecialtyModel
8863
8869
  */
8864
8870
  'specialtyTypeName'?: string | null;
8871
+ /**
8872
+ *
8873
+ * @type {MarketingType}
8874
+ * @memberof SpecialtyModel
8875
+ */
8876
+ 'marketingType'?: MarketingType;
8865
8877
  /**
8866
8878
  *
8867
8879
  * @type {Array<MediaModel>}
@@ -23190,7 +23202,7 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
23190
23202
  return {
23191
23203
  /**
23192
23204
  *
23193
- * @summary Get Language by code.
23205
+ * @summary Get Language.
23194
23206
  * @param {string} code
23195
23207
  * @param {*} [options] Override http request option.
23196
23208
  * @throws {RequiredError}
@@ -23280,40 +23292,6 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
23280
23292
 
23281
23293
 
23282
23294
 
23283
- setSearchParams(localVarUrlObj, localVarQueryParameter);
23284
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23285
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23286
-
23287
- return {
23288
- url: toPathString(localVarUrlObj),
23289
- options: localVarRequestOptions,
23290
- };
23291
- },
23292
- /**
23293
- *
23294
- * @summary Get Language.
23295
- * @param {string} id
23296
- * @param {*} [options] Override http request option.
23297
- * @throws {RequiredError}
23298
- */
23299
- apiV2LanguagesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23300
- // verify required parameter 'id' is not null or undefined
23301
- assertParamExists('apiV2LanguagesIdGet', 'id', id)
23302
- const localVarPath = `/api/v2/languages/{id}`
23303
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
23304
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
23305
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23306
- let baseOptions;
23307
- if (configuration) {
23308
- baseOptions = configuration.baseOptions;
23309
- }
23310
-
23311
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23312
- const localVarHeaderParameter = {} as any;
23313
- const localVarQueryParameter = {} as any;
23314
-
23315
-
23316
-
23317
23295
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23318
23296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23319
23297
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23335,7 +23313,7 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
23335
23313
  return {
23336
23314
  /**
23337
23315
  *
23338
- * @summary Get Language by code.
23316
+ * @summary Get Language.
23339
23317
  * @param {string} code
23340
23318
  * @param {*} [options] Override http request option.
23341
23319
  * @throws {RequiredError}
@@ -23361,17 +23339,6 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
23361
23339
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
23362
23340
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23363
23341
  },
23364
- /**
23365
- *
23366
- * @summary Get Language.
23367
- * @param {string} id
23368
- * @param {*} [options] Override http request option.
23369
- * @throws {RequiredError}
23370
- */
23371
- async apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
23372
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2LanguagesIdGet(id, options);
23373
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23374
- },
23375
23342
  }
23376
23343
  };
23377
23344
 
@@ -23384,7 +23351,7 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
23384
23351
  return {
23385
23352
  /**
23386
23353
  *
23387
- * @summary Get Language by code.
23354
+ * @summary Get Language.
23388
23355
  * @param {string} code
23389
23356
  * @param {*} [options] Override http request option.
23390
23357
  * @throws {RequiredError}
@@ -23408,16 +23375,6 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
23408
23375
  apiV2LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
23409
23376
  return localVarFp.apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23410
23377
  },
23411
- /**
23412
- *
23413
- * @summary Get Language.
23414
- * @param {string} id
23415
- * @param {*} [options] Override http request option.
23416
- * @throws {RequiredError}
23417
- */
23418
- apiV2LanguagesIdGet(id: string, options?: any): AxiosPromise<LanguageModel> {
23419
- return localVarFp.apiV2LanguagesIdGet(id, options).then((request) => request(axios, basePath));
23420
- },
23421
23378
  };
23422
23379
  };
23423
23380
 
@@ -23430,7 +23387,7 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
23430
23387
  export class LanguagesApi extends BaseAPI {
23431
23388
  /**
23432
23389
  *
23433
- * @summary Get Language by code.
23390
+ * @summary Get Language.
23434
23391
  * @param {string} code
23435
23392
  * @param {*} [options] Override http request option.
23436
23393
  * @throws {RequiredError}
@@ -23457,18 +23414,6 @@ export class LanguagesApi extends BaseAPI {
23457
23414
  public apiV2LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23458
23415
  return LanguagesApiFp(this.configuration).apiV2LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23459
23416
  }
23460
-
23461
- /**
23462
- *
23463
- * @summary Get Language.
23464
- * @param {string} id
23465
- * @param {*} [options] Override http request option.
23466
- * @throws {RequiredError}
23467
- * @memberof LanguagesApi
23468
- */
23469
- public apiV2LanguagesIdGet(id: string, options?: AxiosRequestConfig) {
23470
- return LanguagesApiFp(this.configuration).apiV2LanguagesIdGet(id, options).then((request) => request(this.axios, this.basePath));
23471
- }
23472
23417
  }
23473
23418
 
23474
23419
 
@@ -26616,6 +26561,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26616
26561
  * @param {string} [name]
26617
26562
  * @param {string} [description]
26618
26563
  * @param {string} [specialtyTypeId]
26564
+ * @param {MarketingType} [marketingType]
26619
26565
  * @param {string} [hospitalId]
26620
26566
  * @param {Date} [created]
26621
26567
  * @param {string} [languageCode]
@@ -26627,7 +26573,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26627
26573
  * @param {*} [options] Override http request option.
26628
26574
  * @throws {RequiredError}
26629
26575
  */
26630
- 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> => {
26576
+ 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> => {
26631
26577
  const localVarPath = `/api/v2/specialties`;
26632
26578
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26633
26579
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26656,6 +26602,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26656
26602
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
26657
26603
  }
26658
26604
 
26605
+ if (marketingType !== undefined) {
26606
+ localVarQueryParameter['MarketingType'] = marketingType;
26607
+ }
26608
+
26659
26609
  if (hospitalId !== undefined) {
26660
26610
  localVarQueryParameter['HospitalId'] = hospitalId;
26661
26611
  }
@@ -26710,6 +26660,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26710
26660
  * @param {string} [name]
26711
26661
  * @param {string} [description]
26712
26662
  * @param {string} [specialtyTypeId]
26663
+ * @param {MarketingType} [marketingType]
26713
26664
  * @param {string} [hospitalId]
26714
26665
  * @param {Date} [created]
26715
26666
  * @param {string} [languageCode]
@@ -26721,7 +26672,7 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26721
26672
  * @param {*} [options] Override http request option.
26722
26673
  * @throws {RequiredError}
26723
26674
  */
26724
- 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> => {
26675
+ 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> => {
26725
26676
  const localVarPath = `/api/v2/specialties/simple`;
26726
26677
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26727
26678
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26750,6 +26701,10 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
26750
26701
  localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
26751
26702
  }
26752
26703
 
26704
+ if (marketingType !== undefined) {
26705
+ localVarQueryParameter['MarketingType'] = marketingType;
26706
+ }
26707
+
26753
26708
  if (hospitalId !== undefined) {
26754
26709
  localVarQueryParameter['HospitalId'] = hospitalId;
26755
26710
  }
@@ -26999,6 +26954,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
26999
26954
  * @param {string} [name]
27000
26955
  * @param {string} [description]
27001
26956
  * @param {string} [specialtyTypeId]
26957
+ * @param {MarketingType} [marketingType]
27002
26958
  * @param {string} [hospitalId]
27003
26959
  * @param {Date} [created]
27004
26960
  * @param {string} [languageCode]
@@ -27010,8 +26966,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
27010
26966
  * @param {*} [options] Override http request option.
27011
26967
  * @throws {RequiredError}
27012
26968
  */
27013
- 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>> {
27014
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
26969
+ 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>> {
26970
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
27015
26971
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27016
26972
  },
27017
26973
  /**
@@ -27021,6 +26977,7 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
27021
26977
  * @param {string} [name]
27022
26978
  * @param {string} [description]
27023
26979
  * @param {string} [specialtyTypeId]
26980
+ * @param {MarketingType} [marketingType]
27024
26981
  * @param {string} [hospitalId]
27025
26982
  * @param {Date} [created]
27026
26983
  * @param {string} [languageCode]
@@ -27032,8 +26989,8 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
27032
26989
  * @param {*} [options] Override http request option.
27033
26990
  * @throws {RequiredError}
27034
26991
  */
27035
- 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>> {
27036
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
26992
+ 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>> {
26993
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options);
27037
26994
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27038
26995
  },
27039
26996
  /**
@@ -27105,6 +27062,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27105
27062
  * @param {string} [name]
27106
27063
  * @param {string} [description]
27107
27064
  * @param {string} [specialtyTypeId]
27065
+ * @param {MarketingType} [marketingType]
27108
27066
  * @param {string} [hospitalId]
27109
27067
  * @param {Date} [created]
27110
27068
  * @param {string} [languageCode]
@@ -27116,8 +27074,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27116
27074
  * @param {*} [options] Override http request option.
27117
27075
  * @throws {RequiredError}
27118
27076
  */
27119
- 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> {
27120
- return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27077
+ 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> {
27078
+ return localVarFp.apiV2SpecialtiesGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27121
27079
  },
27122
27080
  /**
27123
27081
  *
@@ -27126,6 +27084,7 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27126
27084
  * @param {string} [name]
27127
27085
  * @param {string} [description]
27128
27086
  * @param {string} [specialtyTypeId]
27087
+ * @param {MarketingType} [marketingType]
27129
27088
  * @param {string} [hospitalId]
27130
27089
  * @param {Date} [created]
27131
27090
  * @param {string} [languageCode]
@@ -27137,8 +27096,8 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
27137
27096
  * @param {*} [options] Override http request option.
27138
27097
  * @throws {RequiredError}
27139
27098
  */
27140
- 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> {
27141
- return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27099
+ 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> {
27100
+ return localVarFp.apiV2SpecialtiesSimpleGet(id, name, description, specialtyTypeId, marketingType, hospitalId, created, languageCode, ids, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
27142
27101
  },
27143
27102
  /**
27144
27103
  *
@@ -27205,6 +27164,7 @@ export class SpecialtiesApi extends BaseAPI {
27205
27164
  * @param {string} [name]
27206
27165
  * @param {string} [description]
27207
27166
  * @param {string} [specialtyTypeId]
27167
+ * @param {MarketingType} [marketingType]
27208
27168
  * @param {string} [hospitalId]
27209
27169
  * @param {Date} [created]
27210
27170
  * @param {string} [languageCode]
@@ -27217,8 +27177,8 @@ export class SpecialtiesApi extends BaseAPI {
27217
27177
  * @throws {RequiredError}
27218
27178
  * @memberof SpecialtiesApi
27219
27179
  */
27220
- 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) {
27221
- 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));
27180
+ 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) {
27181
+ 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));
27222
27182
  }
27223
27183
 
27224
27184
  /**
@@ -27228,6 +27188,7 @@ export class SpecialtiesApi extends BaseAPI {
27228
27188
  * @param {string} [name]
27229
27189
  * @param {string} [description]
27230
27190
  * @param {string} [specialtyTypeId]
27191
+ * @param {MarketingType} [marketingType]
27231
27192
  * @param {string} [hospitalId]
27232
27193
  * @param {Date} [created]
27233
27194
  * @param {string} [languageCode]
@@ -27240,8 +27201,8 @@ export class SpecialtiesApi extends BaseAPI {
27240
27201
  * @throws {RequiredError}
27241
27202
  * @memberof SpecialtiesApi
27242
27203
  */
27243
- 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) {
27244
- 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));
27204
+ 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) {
27205
+ 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));
27245
27206
  }
27246
27207
 
27247
27208
  /**