ch-api-client-typescript2 2.8.6 → 2.8.9

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.6",
3
+ "version": "2.8.9",
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
@@ -5965,6 +6045,12 @@ export interface HospitalServiceItemModel {
5965
6045
  * @memberof HospitalServiceItemModel
5966
6046
  */
5967
6047
  'photoThumbnail'?: string | null;
6048
+ /**
6049
+ *
6050
+ * @type {Array<MediaModel>}
6051
+ * @memberof HospitalServiceItemModel
6052
+ */
6053
+ 'medias'?: Array<MediaModel> | null;
5968
6054
  /**
5969
6055
  *
5970
6056
  * @type {AuditableEntity}
@@ -6116,6 +6202,12 @@ export interface HospitalServiceModel {
6116
6202
  * @memberof HospitalServiceModel
6117
6203
  */
6118
6204
  'photoThumbnail'?: string | null;
6205
+ /**
6206
+ *
6207
+ * @type {Array<MediaModel>}
6208
+ * @memberof HospitalServiceModel
6209
+ */
6210
+ 'medias'?: Array<MediaModel> | null;
6119
6211
  /**
6120
6212
  *
6121
6213
  * @type {AuditableEntity}
@@ -8200,6 +8292,12 @@ export interface SpecialtyItemModel {
8200
8292
  * @memberof SpecialtyItemModel
8201
8293
  */
8202
8294
  'returnDefaultValue'?: boolean | null;
8295
+ /**
8296
+ *
8297
+ * @type {Array<MediaModel>}
8298
+ * @memberof SpecialtyItemModel
8299
+ */
8300
+ 'medias'?: Array<MediaModel> | null;
8203
8301
  }
8204
8302
  /**
8205
8303
  *
@@ -8279,6 +8377,12 @@ export interface SpecialtyModel {
8279
8377
  * @memberof SpecialtyModel
8280
8378
  */
8281
8379
  'returnDefaultValue'?: boolean | null;
8380
+ /**
8381
+ *
8382
+ * @type {Array<MediaModel>}
8383
+ * @memberof SpecialtyModel
8384
+ */
8385
+ 'medias'?: Array<MediaModel> | null;
8282
8386
  /**
8283
8387
  *
8284
8388
  * @type {string}
@@ -14337,6 +14441,128 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
14337
14441
 
14338
14442
 
14339
14443
 
14444
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14445
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14446
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14447
+
14448
+ return {
14449
+ url: toPathString(localVarUrlObj),
14450
+ options: localVarRequestOptions,
14451
+ };
14452
+ },
14453
+ /**
14454
+ *
14455
+ * @summary Get all deals.
14456
+ * @param {string} [id]
14457
+ * @param {string} [name]
14458
+ * @param {MarketingType} [marketingType]
14459
+ * @param {string} [countryId]
14460
+ * @param {string} [hospitalId]
14461
+ * @param {string} [hospitalName]
14462
+ * @param {string} [specialtyId]
14463
+ * @param {string} [specialtyTypeId]
14464
+ * @param {string} [serviceId]
14465
+ * @param {string} [exceptHospitalId]
14466
+ * @param {string} [exceptDealId]
14467
+ * @param {Array<string>} [ids]
14468
+ * @param {string} [languageCode]
14469
+ * @param {boolean} [showHidden]
14470
+ * @param {boolean} [returnDefaultValue]
14471
+ * @param {number} [page]
14472
+ * @param {number} [limit]
14473
+ * @param {Date} [lastRetrieved]
14474
+ * @param {*} [options] Override http request option.
14475
+ * @throws {RequiredError}
14476
+ */
14477
+ 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> => {
14478
+ const localVarPath = `/api/v2/deals/simple`;
14479
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14480
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14481
+ let baseOptions;
14482
+ if (configuration) {
14483
+ baseOptions = configuration.baseOptions;
14484
+ }
14485
+
14486
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14487
+ const localVarHeaderParameter = {} as any;
14488
+ const localVarQueryParameter = {} as any;
14489
+
14490
+ if (id !== undefined) {
14491
+ localVarQueryParameter['Id'] = id;
14492
+ }
14493
+
14494
+ if (name !== undefined) {
14495
+ localVarQueryParameter['Name'] = name;
14496
+ }
14497
+
14498
+ if (marketingType !== undefined) {
14499
+ localVarQueryParameter['MarketingType'] = marketingType;
14500
+ }
14501
+
14502
+ if (countryId !== undefined) {
14503
+ localVarQueryParameter['CountryId'] = countryId;
14504
+ }
14505
+
14506
+ if (hospitalId !== undefined) {
14507
+ localVarQueryParameter['HospitalId'] = hospitalId;
14508
+ }
14509
+
14510
+ if (hospitalName !== undefined) {
14511
+ localVarQueryParameter['HospitalName'] = hospitalName;
14512
+ }
14513
+
14514
+ if (specialtyId !== undefined) {
14515
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
14516
+ }
14517
+
14518
+ if (specialtyTypeId !== undefined) {
14519
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
14520
+ }
14521
+
14522
+ if (serviceId !== undefined) {
14523
+ localVarQueryParameter['ServiceId'] = serviceId;
14524
+ }
14525
+
14526
+ if (exceptHospitalId !== undefined) {
14527
+ localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
14528
+ }
14529
+
14530
+ if (exceptDealId !== undefined) {
14531
+ localVarQueryParameter['ExceptDealId'] = exceptDealId;
14532
+ }
14533
+
14534
+ if (ids) {
14535
+ localVarQueryParameter['Ids'] = ids;
14536
+ }
14537
+
14538
+ if (languageCode !== undefined) {
14539
+ localVarQueryParameter['LanguageCode'] = languageCode;
14540
+ }
14541
+
14542
+ if (showHidden !== undefined) {
14543
+ localVarQueryParameter['ShowHidden'] = showHidden;
14544
+ }
14545
+
14546
+ if (returnDefaultValue !== undefined) {
14547
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
14548
+ }
14549
+
14550
+ if (page !== undefined) {
14551
+ localVarQueryParameter['page'] = page;
14552
+ }
14553
+
14554
+ if (limit !== undefined) {
14555
+ localVarQueryParameter['limit'] = limit;
14556
+ }
14557
+
14558
+ if (lastRetrieved !== undefined) {
14559
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
14560
+ (lastRetrieved as any).toISOString() :
14561
+ lastRetrieved;
14562
+ }
14563
+
14564
+
14565
+
14340
14566
  setSearchParams(localVarUrlObj, localVarQueryParameter);
14341
14567
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14342
14568
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -14499,6 +14725,34 @@ export const DealsApiFp = function(configuration?: Configuration) {
14499
14725
  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
14726
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14501
14727
  },
14728
+ /**
14729
+ *
14730
+ * @summary Get all deals.
14731
+ * @param {string} [id]
14732
+ * @param {string} [name]
14733
+ * @param {MarketingType} [marketingType]
14734
+ * @param {string} [countryId]
14735
+ * @param {string} [hospitalId]
14736
+ * @param {string} [hospitalName]
14737
+ * @param {string} [specialtyId]
14738
+ * @param {string} [specialtyTypeId]
14739
+ * @param {string} [serviceId]
14740
+ * @param {string} [exceptHospitalId]
14741
+ * @param {string} [exceptDealId]
14742
+ * @param {Array<string>} [ids]
14743
+ * @param {string} [languageCode]
14744
+ * @param {boolean} [showHidden]
14745
+ * @param {boolean} [returnDefaultValue]
14746
+ * @param {number} [page]
14747
+ * @param {number} [limit]
14748
+ * @param {Date} [lastRetrieved]
14749
+ * @param {*} [options] Override http request option.
14750
+ * @throws {RequiredError}
14751
+ */
14752
+ 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>> {
14753
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
14754
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14755
+ },
14502
14756
  /**
14503
14757
  *
14504
14758
  * @summary Get deal by slug.
@@ -14615,6 +14869,33 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
14615
14869
  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
14870
  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
14871
  },
14872
+ /**
14873
+ *
14874
+ * @summary Get all deals.
14875
+ * @param {string} [id]
14876
+ * @param {string} [name]
14877
+ * @param {MarketingType} [marketingType]
14878
+ * @param {string} [countryId]
14879
+ * @param {string} [hospitalId]
14880
+ * @param {string} [hospitalName]
14881
+ * @param {string} [specialtyId]
14882
+ * @param {string} [specialtyTypeId]
14883
+ * @param {string} [serviceId]
14884
+ * @param {string} [exceptHospitalId]
14885
+ * @param {string} [exceptDealId]
14886
+ * @param {Array<string>} [ids]
14887
+ * @param {string} [languageCode]
14888
+ * @param {boolean} [showHidden]
14889
+ * @param {boolean} [returnDefaultValue]
14890
+ * @param {number} [page]
14891
+ * @param {number} [limit]
14892
+ * @param {Date} [lastRetrieved]
14893
+ * @param {*} [options] Override http request option.
14894
+ * @throws {RequiredError}
14895
+ */
14896
+ 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> {
14897
+ 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));
14898
+ },
14618
14899
  /**
14619
14900
  *
14620
14901
  * @summary Get deal by slug.
@@ -14742,6 +15023,35 @@ export class DealsApi extends BaseAPI {
14742
15023
  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
15024
  }
14744
15025
 
15026
+ /**
15027
+ *
15028
+ * @summary Get all deals.
15029
+ * @param {string} [id]
15030
+ * @param {string} [name]
15031
+ * @param {MarketingType} [marketingType]
15032
+ * @param {string} [countryId]
15033
+ * @param {string} [hospitalId]
15034
+ * @param {string} [hospitalName]
15035
+ * @param {string} [specialtyId]
15036
+ * @param {string} [specialtyTypeId]
15037
+ * @param {string} [serviceId]
15038
+ * @param {string} [exceptHospitalId]
15039
+ * @param {string} [exceptDealId]
15040
+ * @param {Array<string>} [ids]
15041
+ * @param {string} [languageCode]
15042
+ * @param {boolean} [showHidden]
15043
+ * @param {boolean} [returnDefaultValue]
15044
+ * @param {number} [page]
15045
+ * @param {number} [limit]
15046
+ * @param {Date} [lastRetrieved]
15047
+ * @param {*} [options] Override http request option.
15048
+ * @throws {RequiredError}
15049
+ * @memberof DealsApi
15050
+ */
15051
+ 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) {
15052
+ 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));
15053
+ }
15054
+
14745
15055
  /**
14746
15056
  *
14747
15057
  * @summary Get deal by slug.