ch-api-client-typescript2 2.8.7 → 2.8.8

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
@@ -5928,6 +5928,109 @@ var DealsApiAxiosParamCreator = function (configuration) {
5928
5928
  });
5929
5929
  });
5930
5930
  },
5931
+ /**
5932
+ *
5933
+ * @summary Get all deals.
5934
+ * @param {string} [id]
5935
+ * @param {string} [name]
5936
+ * @param {MarketingType} [marketingType]
5937
+ * @param {string} [countryId]
5938
+ * @param {string} [hospitalId]
5939
+ * @param {string} [hospitalName]
5940
+ * @param {string} [specialtyId]
5941
+ * @param {string} [specialtyTypeId]
5942
+ * @param {string} [serviceId]
5943
+ * @param {string} [exceptHospitalId]
5944
+ * @param {string} [exceptDealId]
5945
+ * @param {Array<string>} [ids]
5946
+ * @param {string} [languageCode]
5947
+ * @param {boolean} [showHidden]
5948
+ * @param {boolean} [returnDefaultValue]
5949
+ * @param {number} [page]
5950
+ * @param {number} [limit]
5951
+ * @param {Date} [lastRetrieved]
5952
+ * @param {*} [options] Override http request option.
5953
+ * @throws {RequiredError}
5954
+ */
5955
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5956
+ if (options === void 0) { options = {}; }
5957
+ return __awaiter(_this, void 0, void 0, function () {
5958
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5959
+ return __generator(this, function (_a) {
5960
+ localVarPath = "/api/v2/deals/simple";
5961
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5962
+ if (configuration) {
5963
+ baseOptions = configuration.baseOptions;
5964
+ }
5965
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
5966
+ localVarHeaderParameter = {};
5967
+ localVarQueryParameter = {};
5968
+ if (id !== undefined) {
5969
+ localVarQueryParameter['Id'] = id;
5970
+ }
5971
+ if (name !== undefined) {
5972
+ localVarQueryParameter['Name'] = name;
5973
+ }
5974
+ if (marketingType !== undefined) {
5975
+ localVarQueryParameter['MarketingType'] = marketingType;
5976
+ }
5977
+ if (countryId !== undefined) {
5978
+ localVarQueryParameter['CountryId'] = countryId;
5979
+ }
5980
+ if (hospitalId !== undefined) {
5981
+ localVarQueryParameter['HospitalId'] = hospitalId;
5982
+ }
5983
+ if (hospitalName !== undefined) {
5984
+ localVarQueryParameter['HospitalName'] = hospitalName;
5985
+ }
5986
+ if (specialtyId !== undefined) {
5987
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
5988
+ }
5989
+ if (specialtyTypeId !== undefined) {
5990
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
5991
+ }
5992
+ if (serviceId !== undefined) {
5993
+ localVarQueryParameter['ServiceId'] = serviceId;
5994
+ }
5995
+ if (exceptHospitalId !== undefined) {
5996
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
5997
+ }
5998
+ if (exceptDealId !== undefined) {
5999
+ localVarQueryParameter['ExceptDealId'] = exceptDealId;
6000
+ }
6001
+ if (ids) {
6002
+ localVarQueryParameter['Ids'] = ids;
6003
+ }
6004
+ if (languageCode !== undefined) {
6005
+ localVarQueryParameter['LanguageCode'] = languageCode;
6006
+ }
6007
+ if (showHidden !== undefined) {
6008
+ localVarQueryParameter['ShowHidden'] = showHidden;
6009
+ }
6010
+ if (returnDefaultValue !== undefined) {
6011
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
6012
+ }
6013
+ if (page !== undefined) {
6014
+ localVarQueryParameter['page'] = page;
6015
+ }
6016
+ if (limit !== undefined) {
6017
+ localVarQueryParameter['limit'] = limit;
6018
+ }
6019
+ if (lastRetrieved !== undefined) {
6020
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
6021
+ lastRetrieved.toISOString() :
6022
+ lastRetrieved;
6023
+ }
6024
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6025
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6026
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6027
+ return [2 /*return*/, {
6028
+ url: (0, common_1.toPathString)(localVarUrlObj),
6029
+ options: localVarRequestOptions,
6030
+ }];
6031
+ });
6032
+ });
6033
+ },
5931
6034
  /**
5932
6035
  *
5933
6036
  * @summary Get deal by slug.
@@ -6132,6 +6235,43 @@ var DealsApiFp = function (configuration) {
6132
6235
  });
6133
6236
  });
6134
6237
  },
6238
+ /**
6239
+ *
6240
+ * @summary Get all deals.
6241
+ * @param {string} [id]
6242
+ * @param {string} [name]
6243
+ * @param {MarketingType} [marketingType]
6244
+ * @param {string} [countryId]
6245
+ * @param {string} [hospitalId]
6246
+ * @param {string} [hospitalName]
6247
+ * @param {string} [specialtyId]
6248
+ * @param {string} [specialtyTypeId]
6249
+ * @param {string} [serviceId]
6250
+ * @param {string} [exceptHospitalId]
6251
+ * @param {string} [exceptDealId]
6252
+ * @param {Array<string>} [ids]
6253
+ * @param {string} [languageCode]
6254
+ * @param {boolean} [showHidden]
6255
+ * @param {boolean} [returnDefaultValue]
6256
+ * @param {number} [page]
6257
+ * @param {number} [limit]
6258
+ * @param {Date} [lastRetrieved]
6259
+ * @param {*} [options] Override http request option.
6260
+ * @throws {RequiredError}
6261
+ */
6262
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6263
+ return __awaiter(this, void 0, void 0, function () {
6264
+ var localVarAxiosArgs;
6265
+ return __generator(this, function (_a) {
6266
+ switch (_a.label) {
6267
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
6268
+ case 1:
6269
+ localVarAxiosArgs = _a.sent();
6270
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6271
+ }
6272
+ });
6273
+ });
6274
+ },
6135
6275
  /**
6136
6276
  *
6137
6277
  * @summary Get deal by slug.
@@ -6257,6 +6397,33 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6257
6397
  apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6258
6398
  return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6259
6399
  },
6400
+ /**
6401
+ *
6402
+ * @summary Get all deals.
6403
+ * @param {string} [id]
6404
+ * @param {string} [name]
6405
+ * @param {MarketingType} [marketingType]
6406
+ * @param {string} [countryId]
6407
+ * @param {string} [hospitalId]
6408
+ * @param {string} [hospitalName]
6409
+ * @param {string} [specialtyId]
6410
+ * @param {string} [specialtyTypeId]
6411
+ * @param {string} [serviceId]
6412
+ * @param {string} [exceptHospitalId]
6413
+ * @param {string} [exceptDealId]
6414
+ * @param {Array<string>} [ids]
6415
+ * @param {string} [languageCode]
6416
+ * @param {boolean} [showHidden]
6417
+ * @param {boolean} [returnDefaultValue]
6418
+ * @param {number} [page]
6419
+ * @param {number} [limit]
6420
+ * @param {Date} [lastRetrieved]
6421
+ * @param {*} [options] Override http request option.
6422
+ * @throws {RequiredError}
6423
+ */
6424
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6425
+ return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6426
+ },
6260
6427
  /**
6261
6428
  *
6262
6429
  * @summary Get deal by slug.
@@ -6388,6 +6555,35 @@ var DealsApi = /** @class */ (function (_super) {
6388
6555
  var _this = this;
6389
6556
  return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6390
6557
  };
6558
+ /**
6559
+ *
6560
+ * @summary Get all deals.
6561
+ * @param {string} [id]
6562
+ * @param {string} [name]
6563
+ * @param {MarketingType} [marketingType]
6564
+ * @param {string} [countryId]
6565
+ * @param {string} [hospitalId]
6566
+ * @param {string} [hospitalName]
6567
+ * @param {string} [specialtyId]
6568
+ * @param {string} [specialtyTypeId]
6569
+ * @param {string} [serviceId]
6570
+ * @param {string} [exceptHospitalId]
6571
+ * @param {string} [exceptDealId]
6572
+ * @param {Array<string>} [ids]
6573
+ * @param {string} [languageCode]
6574
+ * @param {boolean} [showHidden]
6575
+ * @param {boolean} [returnDefaultValue]
6576
+ * @param {number} [page]
6577
+ * @param {number} [limit]
6578
+ * @param {Date} [lastRetrieved]
6579
+ * @param {*} [options] Override http request option.
6580
+ * @throws {RequiredError}
6581
+ * @memberof DealsApi
6582
+ */
6583
+ DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6584
+ var _this = this;
6585
+ return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6586
+ };
6391
6587
  /**
6392
6588
  *
6393
6589
  * @summary Get deal by slug.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.8.7",
3
+ "version": "2.8.8",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -3065,6 +3065,67 @@ export interface DealItemModel {
3065
3065
  */
3066
3066
  'auditableEntity'?: AuditableEntity;
3067
3067
  }
3068
+ /**
3069
+ *
3070
+ * @export
3071
+ * @interface DealItemSimpleModel
3072
+ */
3073
+ export interface DealItemSimpleModel {
3074
+ /**
3075
+ *
3076
+ * @type {string}
3077
+ * @memberof DealItemSimpleModel
3078
+ */
3079
+ 'id'?: string;
3080
+ /**
3081
+ *
3082
+ * @type {string}
3083
+ * @memberof DealItemSimpleModel
3084
+ */
3085
+ 'name'?: string | null;
3086
+ /**
3087
+ *
3088
+ * @type {string}
3089
+ * @memberof DealItemSimpleModel
3090
+ */
3091
+ 'normalizedName'?: string | null;
3092
+ /**
3093
+ *
3094
+ * @type {string}
3095
+ * @memberof DealItemSimpleModel
3096
+ */
3097
+ 'slug'?: string | null;
3098
+ /**
3099
+ *
3100
+ * @type {string}
3101
+ * @memberof DealItemSimpleModel
3102
+ */
3103
+ 'hospitalId'?: string;
3104
+ /**
3105
+ *
3106
+ * @type {string}
3107
+ * @memberof DealItemSimpleModel
3108
+ */
3109
+ 'hospitalName'?: string | null;
3110
+ /**
3111
+ *
3112
+ * @type {Array<LocalizedUrlModel>}
3113
+ * @memberof DealItemSimpleModel
3114
+ */
3115
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
3116
+ /**
3117
+ *
3118
+ * @type {boolean}
3119
+ * @memberof DealItemSimpleModel
3120
+ */
3121
+ 'confirmed'?: boolean;
3122
+ /**
3123
+ *
3124
+ * @type {AuditableEntity}
3125
+ * @memberof DealItemSimpleModel
3126
+ */
3127
+ 'auditableEntity'?: AuditableEntity;
3128
+ }
3068
3129
  /**
3069
3130
  *
3070
3131
  * @export
@@ -3487,6 +3548,25 @@ export interface DealsModel {
3487
3548
  */
3488
3549
  'metaData'?: PagedListMetaData;
3489
3550
  }
3551
+ /**
3552
+ *
3553
+ * @export
3554
+ * @interface DealsSimpleModel
3555
+ */
3556
+ export interface DealsSimpleModel {
3557
+ /**
3558
+ *
3559
+ * @type {Array<DealItemSimpleModel>}
3560
+ * @memberof DealsSimpleModel
3561
+ */
3562
+ 'items'?: Array<DealItemSimpleModel> | null;
3563
+ /**
3564
+ *
3565
+ * @type {PagedListMetaData}
3566
+ * @memberof DealsSimpleModel
3567
+ */
3568
+ 'metaData'?: PagedListMetaData;
3569
+ }
3490
3570
  /**
3491
3571
  *
3492
3572
  * @export
@@ -14337,6 +14417,128 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
14337
14417
 
14338
14418
 
14339
14419
 
14420
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14422
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14423
+
14424
+ return {
14425
+ url: toPathString(localVarUrlObj),
14426
+ options: localVarRequestOptions,
14427
+ };
14428
+ },
14429
+ /**
14430
+ *
14431
+ * @summary Get all deals.
14432
+ * @param {string} [id]
14433
+ * @param {string} [name]
14434
+ * @param {MarketingType} [marketingType]
14435
+ * @param {string} [countryId]
14436
+ * @param {string} [hospitalId]
14437
+ * @param {string} [hospitalName]
14438
+ * @param {string} [specialtyId]
14439
+ * @param {string} [specialtyTypeId]
14440
+ * @param {string} [serviceId]
14441
+ * @param {string} [exceptHospitalId]
14442
+ * @param {string} [exceptDealId]
14443
+ * @param {Array<string>} [ids]
14444
+ * @param {string} [languageCode]
14445
+ * @param {boolean} [showHidden]
14446
+ * @param {boolean} [returnDefaultValue]
14447
+ * @param {number} [page]
14448
+ * @param {number} [limit]
14449
+ * @param {Date} [lastRetrieved]
14450
+ * @param {*} [options] Override http request option.
14451
+ * @throws {RequiredError}
14452
+ */
14453
+ apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14454
+ const localVarPath = `/api/v2/deals/simple`;
14455
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14456
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14457
+ let baseOptions;
14458
+ if (configuration) {
14459
+ baseOptions = configuration.baseOptions;
14460
+ }
14461
+
14462
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14463
+ const localVarHeaderParameter = {} as any;
14464
+ const localVarQueryParameter = {} as any;
14465
+
14466
+ if (id !== undefined) {
14467
+ localVarQueryParameter['Id'] = id;
14468
+ }
14469
+
14470
+ if (name !== undefined) {
14471
+ localVarQueryParameter['Name'] = name;
14472
+ }
14473
+
14474
+ if (marketingType !== undefined) {
14475
+ localVarQueryParameter['MarketingType'] = marketingType;
14476
+ }
14477
+
14478
+ if (countryId !== undefined) {
14479
+ localVarQueryParameter['CountryId'] = countryId;
14480
+ }
14481
+
14482
+ if (hospitalId !== undefined) {
14483
+ localVarQueryParameter['HospitalId'] = hospitalId;
14484
+ }
14485
+
14486
+ if (hospitalName !== undefined) {
14487
+ localVarQueryParameter['HospitalName'] = hospitalName;
14488
+ }
14489
+
14490
+ if (specialtyId !== undefined) {
14491
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
14492
+ }
14493
+
14494
+ if (specialtyTypeId !== undefined) {
14495
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
14496
+ }
14497
+
14498
+ if (serviceId !== undefined) {
14499
+ localVarQueryParameter['ServiceId'] = serviceId;
14500
+ }
14501
+
14502
+ if (exceptHospitalId !== undefined) {
14503
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
14504
+ }
14505
+
14506
+ if (exceptDealId !== undefined) {
14507
+ localVarQueryParameter['ExceptDealId'] = exceptDealId;
14508
+ }
14509
+
14510
+ if (ids) {
14511
+ localVarQueryParameter['Ids'] = ids;
14512
+ }
14513
+
14514
+ if (languageCode !== undefined) {
14515
+ localVarQueryParameter['LanguageCode'] = languageCode;
14516
+ }
14517
+
14518
+ if (showHidden !== undefined) {
14519
+ localVarQueryParameter['ShowHidden'] = showHidden;
14520
+ }
14521
+
14522
+ if (returnDefaultValue !== undefined) {
14523
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
14524
+ }
14525
+
14526
+ if (page !== undefined) {
14527
+ localVarQueryParameter['page'] = page;
14528
+ }
14529
+
14530
+ if (limit !== undefined) {
14531
+ localVarQueryParameter['limit'] = limit;
14532
+ }
14533
+
14534
+ if (lastRetrieved !== undefined) {
14535
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
14536
+ (lastRetrieved as any).toISOString() :
14537
+ lastRetrieved;
14538
+ }
14539
+
14540
+
14541
+
14340
14542
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14341
14543
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14342
14544
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14499,6 +14701,34 @@ export const DealsApiFp = function(configuration?: Configuration) {
14499
14701
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
14500
14702
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14501
14703
  },
14704
+ /**
14705
+ *
14706
+ * @summary Get all deals.
14707
+ * @param {string} [id]
14708
+ * @param {string} [name]
14709
+ * @param {MarketingType} [marketingType]
14710
+ * @param {string} [countryId]
14711
+ * @param {string} [hospitalId]
14712
+ * @param {string} [hospitalName]
14713
+ * @param {string} [specialtyId]
14714
+ * @param {string} [specialtyTypeId]
14715
+ * @param {string} [serviceId]
14716
+ * @param {string} [exceptHospitalId]
14717
+ * @param {string} [exceptDealId]
14718
+ * @param {Array<string>} [ids]
14719
+ * @param {string} [languageCode]
14720
+ * @param {boolean} [showHidden]
14721
+ * @param {boolean} [returnDefaultValue]
14722
+ * @param {number} [page]
14723
+ * @param {number} [limit]
14724
+ * @param {Date} [lastRetrieved]
14725
+ * @param {*} [options] Override http request option.
14726
+ * @throws {RequiredError}
14727
+ */
14728
+ async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
14729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
14730
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14731
+ },
14502
14732
  /**
14503
14733
  *
14504
14734
  * @summary Get deal by slug.
@@ -14615,6 +14845,33 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
14615
14845
  apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
14616
14846
  return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
14617
14847
  },
14848
+ /**
14849
+ *
14850
+ * @summary Get all deals.
14851
+ * @param {string} [id]
14852
+ * @param {string} [name]
14853
+ * @param {MarketingType} [marketingType]
14854
+ * @param {string} [countryId]
14855
+ * @param {string} [hospitalId]
14856
+ * @param {string} [hospitalName]
14857
+ * @param {string} [specialtyId]
14858
+ * @param {string} [specialtyTypeId]
14859
+ * @param {string} [serviceId]
14860
+ * @param {string} [exceptHospitalId]
14861
+ * @param {string} [exceptDealId]
14862
+ * @param {Array<string>} [ids]
14863
+ * @param {string} [languageCode]
14864
+ * @param {boolean} [showHidden]
14865
+ * @param {boolean} [returnDefaultValue]
14866
+ * @param {number} [page]
14867
+ * @param {number} [limit]
14868
+ * @param {Date} [lastRetrieved]
14869
+ * @param {*} [options] Override http request option.
14870
+ * @throws {RequiredError}
14871
+ */
14872
+ apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
14873
+ return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
14874
+ },
14618
14875
  /**
14619
14876
  *
14620
14877
  * @summary Get deal by slug.
@@ -14742,6 +14999,35 @@ export class DealsApi extends BaseAPI {
14742
14999
  return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
14743
15000
  }
14744
15001
 
15002
+ /**
15003
+ *
15004
+ * @summary Get all deals.
15005
+ * @param {string} [id]
15006
+ * @param {string} [name]
15007
+ * @param {MarketingType} [marketingType]
15008
+ * @param {string} [countryId]
15009
+ * @param {string} [hospitalId]
15010
+ * @param {string} [hospitalName]
15011
+ * @param {string} [specialtyId]
15012
+ * @param {string} [specialtyTypeId]
15013
+ * @param {string} [serviceId]
15014
+ * @param {string} [exceptHospitalId]
15015
+ * @param {string} [exceptDealId]
15016
+ * @param {Array<string>} [ids]
15017
+ * @param {string} [languageCode]
15018
+ * @param {boolean} [showHidden]
15019
+ * @param {boolean} [returnDefaultValue]
15020
+ * @param {number} [page]
15021
+ * @param {number} [limit]
15022
+ * @param {Date} [lastRetrieved]
15023
+ * @param {*} [options] Override http request option.
15024
+ * @throws {RequiredError}
15025
+ * @memberof DealsApi
15026
+ */
15027
+ public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, serviceId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15028
+ return DealsApiFp(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15029
+ }
15030
+
14745
15031
  /**
14746
15032
  *
14747
15033
  * @summary Get deal by slug.