ch-admin-api-client-typescript 5.88.1 → 5.88.3

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.
Files changed (55) hide show
  1. package/lib/api/deals-api.d.ts +89 -6
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/deals-api.js +131 -18
  4. package/lib/models/create-deal-command.d.ts +41 -0
  5. package/lib/models/create-deal-command.d.ts.map +1 -1
  6. package/lib/models/deal-country-model.d.ts +37 -0
  7. package/lib/models/deal-country-model.d.ts.map +1 -0
  8. package/lib/models/deal-country-model.js +15 -0
  9. package/lib/models/deal-global-setting-included-in-price-item-model.d.ts +1 -7
  10. package/lib/models/deal-global-setting-included-in-price-item-model.d.ts.map +1 -1
  11. package/lib/models/deal-global-setting-included-in-price-model.d.ts +1 -7
  12. package/lib/models/deal-global-setting-included-in-price-model.d.ts.map +1 -1
  13. package/lib/models/deal-model.d.ts +42 -0
  14. package/lib/models/deal-model.d.ts.map +1 -1
  15. package/lib/models/deal-platform-model.d.ts +26 -0
  16. package/lib/models/deal-platform-model.d.ts.map +1 -0
  17. package/lib/models/deal-platform-model.js +15 -0
  18. package/lib/models/deal-price-model.d.ts +92 -0
  19. package/lib/models/deal-price-model.d.ts.map +1 -0
  20. package/lib/models/deal-price-model.js +15 -0
  21. package/lib/models/deal-price-option-model.d.ts +61 -0
  22. package/lib/models/deal-price-option-model.d.ts.map +1 -0
  23. package/lib/models/deal-price-option-model.js +15 -0
  24. package/lib/models/deal-price-option-request-model.d.ts +61 -0
  25. package/lib/models/deal-price-option-request-model.d.ts.map +1 -0
  26. package/lib/models/deal-price-option-request-model.js +15 -0
  27. package/lib/models/deal-price-request-model.d.ts +74 -0
  28. package/lib/models/deal-price-request-model.d.ts.map +1 -0
  29. package/lib/models/deal-price-request-model.js +15 -0
  30. package/lib/models/deal-pricing-information-model.d.ts +43 -0
  31. package/lib/models/deal-pricing-information-model.d.ts.map +1 -0
  32. package/lib/models/deal-pricing-information-model.js +15 -0
  33. package/lib/models/deal-pricing-information-request-model.d.ts +37 -0
  34. package/lib/models/deal-pricing-information-request-model.d.ts.map +1 -0
  35. package/lib/models/deal-pricing-information-request-model.js +15 -0
  36. package/lib/models/deal-tag-model.d.ts +43 -0
  37. package/lib/models/deal-tag-model.d.ts.map +1 -0
  38. package/lib/models/deal-tag-model.js +15 -0
  39. package/lib/models/deal-tag-request-model.d.ts +43 -0
  40. package/lib/models/deal-tag-request-model.d.ts.map +1 -0
  41. package/lib/models/deal-tag-request-model.js +15 -0
  42. package/lib/models/deal-target-platform.d.ts +22 -0
  43. package/lib/models/deal-target-platform.d.ts.map +1 -0
  44. package/lib/models/deal-target-platform.js +25 -0
  45. package/lib/models/filter-operator.d.ts +22 -0
  46. package/lib/models/filter-operator.d.ts.map +1 -0
  47. package/lib/models/filter-operator.js +25 -0
  48. package/lib/models/index.d.ts +12 -0
  49. package/lib/models/index.d.ts.map +1 -1
  50. package/lib/models/index.js +12 -0
  51. package/lib/models/patch-deal-command.d.ts +41 -0
  52. package/lib/models/patch-deal-command.d.ts.map +1 -1
  53. package/lib/models/update-deal-command.d.ts +41 -0
  54. package/lib/models/update-deal-command.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -1005,6 +1005,53 @@ var DealsApiAxiosParamCreator = function (configuration) {
1005
1005
  });
1006
1006
  });
1007
1007
  },
1008
+ /**
1009
+ *
1010
+ * @summary Reactivate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
1011
+ * @param {string} dealId
1012
+ * @param {*} [options] Override http request option.
1013
+ * @throws {RequiredError}
1014
+ */
1015
+ apiV1DealsDealIdReactivatePut: function (dealId_1) {
1016
+ var args_1 = [];
1017
+ for (var _i = 1; _i < arguments.length; _i++) {
1018
+ args_1[_i - 1] = arguments[_i];
1019
+ }
1020
+ return __awaiter(_this, __spreadArray([dealId_1], args_1, true), void 0, function (dealId, options) {
1021
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1022
+ if (options === void 0) { options = {}; }
1023
+ return __generator(this, function (_a) {
1024
+ switch (_a.label) {
1025
+ case 0:
1026
+ // verify required parameter 'dealId' is not null or undefined
1027
+ (0, common_1.assertParamExists)('apiV1DealsDealIdReactivatePut', 'dealId', dealId);
1028
+ localVarPath = "/api/v1/deals/{dealId}/reactivate"
1029
+ .replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
1030
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1031
+ if (configuration) {
1032
+ baseOptions = configuration.baseOptions;
1033
+ }
1034
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
1035
+ localVarHeaderParameter = {};
1036
+ localVarQueryParameter = {};
1037
+ // authentication oauth2 required
1038
+ // oauth required
1039
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
1040
+ case 1:
1041
+ // authentication oauth2 required
1042
+ // oauth required
1043
+ _a.sent();
1044
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1045
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1046
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1047
+ return [2 /*return*/, {
1048
+ url: (0, common_1.toPathString)(localVarUrlObj),
1049
+ options: localVarRequestOptions,
1050
+ }];
1051
+ }
1052
+ });
1053
+ });
1054
+ },
1008
1055
  /**
1009
1056
  *
1010
1057
  * @summary Revalidate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -1404,18 +1451,20 @@ var DealsApiAxiosParamCreator = function (configuration) {
1404
1451
  * @param {string} [languageCode]
1405
1452
  * @param {boolean} [showHidden]
1406
1453
  * @param {boolean} [returnDefaultValue]
1454
+ * @param {Array<string>} [tags]
1455
+ * @param {FilterOperator} [tagFilterOperator]
1407
1456
  * @param {number} [page]
1408
1457
  * @param {number} [limit]
1409
1458
  * @param {Date} [lastRetrieved]
1410
1459
  * @param {*} [options] Override http request option.
1411
1460
  * @throws {RequiredError}
1412
1461
  */
1413
- apiV1DealsGet: function (id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1) {
1462
+ apiV1DealsGet: function (id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, tags_1, tagFilterOperator_1, page_1, limit_1, lastRetrieved_1) {
1414
1463
  var args_1 = [];
1415
- for (var _i = 23; _i < arguments.length; _i++) {
1416
- args_1[_i - 23] = arguments[_i];
1464
+ for (var _i = 25; _i < arguments.length; _i++) {
1465
+ args_1[_i - 25] = arguments[_i];
1417
1466
  }
1418
- return __awaiter(_this, __spreadArray([id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1467
+ return __awaiter(_this, __spreadArray([id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, tags_1, tagFilterOperator_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
1419
1468
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1420
1469
  if (options === void 0) { options = {}; }
1421
1470
  return __generator(this, function (_a) {
@@ -1496,6 +1545,12 @@ var DealsApiAxiosParamCreator = function (configuration) {
1496
1545
  if (returnDefaultValue !== undefined) {
1497
1546
  localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
1498
1547
  }
1548
+ if (tags) {
1549
+ localVarQueryParameter['tags'] = tags;
1550
+ }
1551
+ if (tagFilterOperator !== undefined) {
1552
+ localVarQueryParameter['tagFilterOperator'] = tagFilterOperator;
1553
+ }
1499
1554
  if (page !== undefined) {
1500
1555
  localVarQueryParameter['page'] = page;
1501
1556
  }
@@ -1587,18 +1642,20 @@ var DealsApiAxiosParamCreator = function (configuration) {
1587
1642
  * @param {string} [languageCode]
1588
1643
  * @param {boolean} [showHidden]
1589
1644
  * @param {boolean} [returnDefaultValue]
1645
+ * @param {Array<string>} [tags]
1646
+ * @param {FilterOperator} [tagFilterOperator]
1590
1647
  * @param {number} [page]
1591
1648
  * @param {number} [limit]
1592
1649
  * @param {Date} [lastRetrieved]
1593
1650
  * @param {*} [options] Override http request option.
1594
1651
  * @throws {RequiredError}
1595
1652
  */
1596
- apiV1DealsSimpleGet: function (id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1) {
1653
+ apiV1DealsSimpleGet: function (id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, tags_1, tagFilterOperator_1, page_1, limit_1, lastRetrieved_1) {
1597
1654
  var args_1 = [];
1598
- for (var _i = 23; _i < arguments.length; _i++) {
1599
- args_1[_i - 23] = arguments[_i];
1655
+ for (var _i = 25; _i < arguments.length; _i++) {
1656
+ args_1[_i - 25] = arguments[_i];
1600
1657
  }
1601
- return __awaiter(_this, __spreadArray([id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
1658
+ return __awaiter(_this, __spreadArray([id_1, name_1, marketingType_1, countryId_1, hospitalId_1, hospitalName_1, specialtyId_1, specialtyName_1, specialtyTypeId_1, specialtyTypeName_1, serviceId_1, serviceName_1, exceptHospitalId_1, exceptDealId_1, ids_1, serviceDuration_1, published_1, languageCode_1, showHidden_1, returnDefaultValue_1, tags_1, tagFilterOperator_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
1602
1659
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1603
1660
  if (options === void 0) { options = {}; }
1604
1661
  return __generator(this, function (_a) {
@@ -1679,6 +1736,12 @@ var DealsApiAxiosParamCreator = function (configuration) {
1679
1736
  if (returnDefaultValue !== undefined) {
1680
1737
  localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
1681
1738
  }
1739
+ if (tags) {
1740
+ localVarQueryParameter['tags'] = tags;
1741
+ }
1742
+ if (tagFilterOperator !== undefined) {
1743
+ localVarQueryParameter['tagFilterOperator'] = tagFilterOperator;
1744
+ }
1682
1745
  if (page !== undefined) {
1683
1746
  localVarQueryParameter['page'] = page;
1684
1747
  }
@@ -2115,6 +2178,26 @@ var DealsApiFp = function (configuration) {
2115
2178
  });
2116
2179
  });
2117
2180
  },
2181
+ /**
2182
+ *
2183
+ * @summary Reactivate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
2184
+ * @param {string} dealId
2185
+ * @param {*} [options] Override http request option.
2186
+ * @throws {RequiredError}
2187
+ */
2188
+ apiV1DealsDealIdReactivatePut: function (dealId, options) {
2189
+ return __awaiter(this, void 0, void 0, function () {
2190
+ var localVarAxiosArgs;
2191
+ return __generator(this, function (_a) {
2192
+ switch (_a.label) {
2193
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsDealIdReactivatePut(dealId, options)];
2194
+ case 1:
2195
+ localVarAxiosArgs = _a.sent();
2196
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2197
+ }
2198
+ });
2199
+ });
2200
+ },
2118
2201
  /**
2119
2202
  *
2120
2203
  * @summary Revalidate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -2290,18 +2373,20 @@ var DealsApiFp = function (configuration) {
2290
2373
  * @param {string} [languageCode]
2291
2374
  * @param {boolean} [showHidden]
2292
2375
  * @param {boolean} [returnDefaultValue]
2376
+ * @param {Array<string>} [tags]
2377
+ * @param {FilterOperator} [tagFilterOperator]
2293
2378
  * @param {number} [page]
2294
2379
  * @param {number} [limit]
2295
2380
  * @param {Date} [lastRetrieved]
2296
2381
  * @param {*} [options] Override http request option.
2297
2382
  * @throws {RequiredError}
2298
2383
  */
2299
- apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2384
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
2300
2385
  return __awaiter(this, void 0, void 0, function () {
2301
2386
  var localVarAxiosArgs;
2302
2387
  return __generator(this, function (_a) {
2303
2388
  switch (_a.label) {
2304
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
2389
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options)];
2305
2390
  case 1:
2306
2391
  localVarAxiosArgs = _a.sent();
2307
2392
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2352,18 +2437,20 @@ var DealsApiFp = function (configuration) {
2352
2437
  * @param {string} [languageCode]
2353
2438
  * @param {boolean} [showHidden]
2354
2439
  * @param {boolean} [returnDefaultValue]
2440
+ * @param {Array<string>} [tags]
2441
+ * @param {FilterOperator} [tagFilterOperator]
2355
2442
  * @param {number} [page]
2356
2443
  * @param {number} [limit]
2357
2444
  * @param {Date} [lastRetrieved]
2358
2445
  * @param {*} [options] Override http request option.
2359
2446
  * @throws {RequiredError}
2360
2447
  */
2361
- apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2448
+ apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
2362
2449
  return __awaiter(this, void 0, void 0, function () {
2363
2450
  var localVarAxiosArgs;
2364
2451
  return __generator(this, function (_a) {
2365
2452
  switch (_a.label) {
2366
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
2453
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options)];
2367
2454
  case 1:
2368
2455
  localVarAxiosArgs = _a.sent();
2369
2456
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2602,6 +2689,16 @@ var DealsApiFactory = function (configuration, basePath, axios) {
2602
2689
  apiV1DealsDealIdPut: function (dealId, updateDealCommand, options) {
2603
2690
  return localVarFp.apiV1DealsDealIdPut(dealId, updateDealCommand, options).then(function (request) { return request(axios, basePath); });
2604
2691
  },
2692
+ /**
2693
+ *
2694
+ * @summary Reactivate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
2695
+ * @param {string} dealId
2696
+ * @param {*} [options] Override http request option.
2697
+ * @throws {RequiredError}
2698
+ */
2699
+ apiV1DealsDealIdReactivatePut: function (dealId, options) {
2700
+ return localVarFp.apiV1DealsDealIdReactivatePut(dealId, options).then(function (request) { return request(axios, basePath); });
2701
+ },
2605
2702
  /**
2606
2703
  *
2607
2704
  * @summary Revalidate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -2707,14 +2804,16 @@ var DealsApiFactory = function (configuration, basePath, axios) {
2707
2804
  * @param {string} [languageCode]
2708
2805
  * @param {boolean} [showHidden]
2709
2806
  * @param {boolean} [returnDefaultValue]
2807
+ * @param {Array<string>} [tags]
2808
+ * @param {FilterOperator} [tagFilterOperator]
2710
2809
  * @param {number} [page]
2711
2810
  * @param {number} [limit]
2712
2811
  * @param {Date} [lastRetrieved]
2713
2812
  * @param {*} [options] Override http request option.
2714
2813
  * @throws {RequiredError}
2715
2814
  */
2716
- apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2717
- return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2815
+ apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
2816
+ return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2718
2817
  },
2719
2818
  /**
2720
2819
  *
@@ -2749,14 +2848,16 @@ var DealsApiFactory = function (configuration, basePath, axios) {
2749
2848
  * @param {string} [languageCode]
2750
2849
  * @param {boolean} [showHidden]
2751
2850
  * @param {boolean} [returnDefaultValue]
2851
+ * @param {Array<string>} [tags]
2852
+ * @param {FilterOperator} [tagFilterOperator]
2752
2853
  * @param {number} [page]
2753
2854
  * @param {number} [limit]
2754
2855
  * @param {Date} [lastRetrieved]
2755
2856
  * @param {*} [options] Override http request option.
2756
2857
  * @throws {RequiredError}
2757
2858
  */
2758
- apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
2759
- return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2859
+ apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options) {
2860
+ return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, published, languageCode, showHidden, returnDefaultValue, tags, tagFilterOperator, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2760
2861
  },
2761
2862
  /**
2762
2863
  *
@@ -2964,6 +3065,18 @@ var DealsApi = /** @class */ (function (_super) {
2964
3065
  var _this = this;
2965
3066
  return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdPut(requestParameters.dealId, requestParameters.updateDealCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
2966
3067
  };
3068
+ /**
3069
+ *
3070
+ * @summary Reactivate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
3071
+ * @param {DealsApiApiV1DealsDealIdReactivatePutRequest} requestParameters Request parameters.
3072
+ * @param {*} [options] Override http request option.
3073
+ * @throws {RequiredError}
3074
+ * @memberof DealsApi
3075
+ */
3076
+ DealsApi.prototype.apiV1DealsDealIdReactivatePut = function (requestParameters, options) {
3077
+ var _this = this;
3078
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsDealIdReactivatePut(requestParameters.dealId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3079
+ };
2967
3080
  /**
2968
3081
  *
2969
3082
  * @summary Revalidate deal (Auth policies: RequireLocalManagerOrContentManagerRole)
@@ -3059,7 +3172,7 @@ var DealsApi = /** @class */ (function (_super) {
3059
3172
  DealsApi.prototype.apiV1DealsGet = function (requestParameters, options) {
3060
3173
  var _this = this;
3061
3174
  if (requestParameters === void 0) { requestParameters = {}; }
3062
- return (0, exports.DealsApiFp)(this.configuration).apiV1DealsGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.published, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3175
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.published, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.tags, requestParameters.tagFilterOperator, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3063
3176
  };
3064
3177
  /**
3065
3178
  *
@@ -3085,7 +3198,7 @@ var DealsApi = /** @class */ (function (_super) {
3085
3198
  DealsApi.prototype.apiV1DealsSimpleGet = function (requestParameters, options) {
3086
3199
  var _this = this;
3087
3200
  if (requestParameters === void 0) { requestParameters = {}; }
3088
- return (0, exports.DealsApiFp)(this.configuration).apiV1DealsSimpleGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.published, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3201
+ return (0, exports.DealsApiFp)(this.configuration).apiV1DealsSimpleGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.published, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.tags, requestParameters.tagFilterOperator, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
3089
3202
  };
3090
3203
  /**
3091
3204
  *
@@ -9,7 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DealPriceRequestModel } from './deal-price-request-model';
13
+ import { DealPricingInformationRequestModel } from './deal-pricing-information-request-model';
14
+ import { DealTagRequestModel } from './deal-tag-request-model';
12
15
  import { DealTargetGender } from './deal-target-gender';
16
+ import { DealTargetPlatform } from './deal-target-platform';
17
+ import { FeatureInputModel } from './feature-input-model';
13
18
  import { MarketingType } from './marketing-type';
14
19
  /**
15
20
  *
@@ -143,5 +148,41 @@ export interface CreateDealCommand {
143
148
  * @memberof CreateDealCommand
144
149
  */
145
150
  'order'?: number;
151
+ /**
152
+ *
153
+ * @type {FeatureInputModel}
154
+ * @memberof CreateDealCommand
155
+ */
156
+ 'dealFeature'?: FeatureInputModel;
157
+ /**
158
+ *
159
+ * @type {Array<DealPricingInformationRequestModel>}
160
+ * @memberof CreateDealCommand
161
+ */
162
+ 'dealPricingInformationItems'?: Array<DealPricingInformationRequestModel> | null;
163
+ /**
164
+ *
165
+ * @type {Array<DealTargetPlatform>}
166
+ * @memberof CreateDealCommand
167
+ */
168
+ 'dealPlatforms'?: Array<DealTargetPlatform> | null;
169
+ /**
170
+ *
171
+ * @type {Array<string>}
172
+ * @memberof CreateDealCommand
173
+ */
174
+ 'dealCountries'?: Array<string> | null;
175
+ /**
176
+ *
177
+ * @type {Array<DealTagRequestModel>}
178
+ * @memberof CreateDealCommand
179
+ */
180
+ 'dealTags'?: Array<DealTagRequestModel> | null;
181
+ /**
182
+ *
183
+ * @type {Array<DealPriceRequestModel>}
184
+ * @memberof CreateDealCommand
185
+ */
186
+ 'dealPrices'?: Array<DealPriceRequestModel> | null;
146
187
  }
147
188
  //# sourceMappingURL=create-deal-command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-deal-command.d.ts","sourceRoot":"","sources":["../../src/models/create-deal-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"create-deal-command.d.ts","sourceRoot":"","sources":["../../src/models/create-deal-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAG9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,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AC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC;IACjF;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;CACtD"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * CloudHospital Admin Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DealCountryModel
16
+ */
17
+ export interface DealCountryModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DealCountryModel
22
+ */
23
+ 'countryId'?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof DealCountryModel
28
+ */
29
+ 'order'?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DealCountryModel
34
+ */
35
+ 'countryName'?: string | null;
36
+ }
37
+ //# sourceMappingURL=deal-country-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deal-country-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-country-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Admin Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,19 +27,13 @@ export interface DealGlobalSettingIncludedInPriceItemModel {
27
27
  * @type {string}
28
28
  * @memberof DealGlobalSettingIncludedInPriceItemModel
29
29
  */
30
- 'languageCode'?: string | null;
30
+ 'featureType'?: string | null;
31
31
  /**
32
32
  *
33
33
  * @type {boolean}
34
34
  * @memberof DealGlobalSettingIncludedInPriceItemModel
35
35
  */
36
36
  'requireInclusivePricing'?: boolean;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof DealGlobalSettingIncludedInPriceItemModel
41
- */
42
- 'featureType'?: string | null;
43
37
  /**
44
38
  *
45
39
  * @type {number}
@@ -1 +1 @@
1
- {"version":3,"file":"deal-global-setting-included-in-price-item-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-global-setting-included-in-price-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
1
+ {"version":3,"file":"deal-global-setting-included-in-price-item-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-global-setting-included-in-price-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,yCAAyC;IACtD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -27,19 +27,13 @@ export interface DealGlobalSettingIncludedInPriceModel {
27
27
  * @type {string}
28
28
  * @memberof DealGlobalSettingIncludedInPriceModel
29
29
  */
30
- 'languageCode'?: string | null;
30
+ 'featureType'?: string | null;
31
31
  /**
32
32
  *
33
33
  * @type {boolean}
34
34
  * @memberof DealGlobalSettingIncludedInPriceModel
35
35
  */
36
36
  'requireInclusivePricing'?: boolean;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof DealGlobalSettingIncludedInPriceModel
41
- */
42
- 'featureType'?: string | null;
43
37
  /**
44
38
  *
45
39
  * @type {number}
@@ -1 +1 @@
1
- {"version":3,"file":"deal-global-setting-included-in-price-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-global-setting-included-in-price-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
1
+ {"version":3,"file":"deal-global-setting-included-in-price-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-global-setting-included-in-price-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
@@ -11,8 +11,14 @@
11
11
  */
12
12
  import { AppointmentOptionModel } from './appointment-option-model';
13
13
  import { AuditableEntityModel } from './auditable-entity-model';
14
+ import { DealCountryModel } from './deal-country-model';
15
+ import { DealPlatformModel } from './deal-platform-model';
16
+ import { DealPriceModel } from './deal-price-model';
17
+ import { DealPricingInformationModel } from './deal-pricing-information-model';
14
18
  import { DealReviewStatus } from './deal-review-status';
19
+ import { DealTagModel } from './deal-tag-model';
15
20
  import { DealTargetGender } from './deal-target-gender';
21
+ import { FeatureModel } from './feature-model';
16
22
  import { MarketingType } from './marketing-type';
17
23
  /**
18
24
  *
@@ -236,5 +242,41 @@ export interface DealModel {
236
242
  * @memberof DealModel
237
243
  */
238
244
  'serviceDuration'?: number;
245
+ /**
246
+ *
247
+ * @type {FeatureModel}
248
+ * @memberof DealModel
249
+ */
250
+ 'feature'?: FeatureModel;
251
+ /**
252
+ *
253
+ * @type {Array<DealPricingInformationModel>}
254
+ * @memberof DealModel
255
+ */
256
+ 'dealPricingInformationItems'?: Array<DealPricingInformationModel> | null;
257
+ /**
258
+ *
259
+ * @type {Array<DealPlatformModel>}
260
+ * @memberof DealModel
261
+ */
262
+ 'dealPlatforms'?: Array<DealPlatformModel> | null;
263
+ /**
264
+ *
265
+ * @type {Array<DealCountryModel>}
266
+ * @memberof DealModel
267
+ */
268
+ 'dealCountries'?: Array<DealCountryModel> | null;
269
+ /**
270
+ *
271
+ * @type {Array<DealTagModel>}
272
+ * @memberof DealModel
273
+ */
274
+ 'dealTags'?: Array<DealTagModel> | null;
275
+ /**
276
+ *
277
+ * @type {Array<DealPriceModel>}
278
+ * @memberof DealModel
279
+ */
280
+ 'dealPrices'?: Array<DealPriceModel> | null;
239
281
  }
240
282
  //# sourceMappingURL=deal-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deal-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OA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/**
2
+ * CloudHospital Admin Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: developer@icloudhospital.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { DealTargetPlatform } from './deal-target-platform';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DealPlatformModel
17
+ */
18
+ export interface DealPlatformModel {
19
+ /**
20
+ *
21
+ * @type {DealTargetPlatform}
22
+ * @memberof DealPlatformModel
23
+ */
24
+ 'targetPlatform'?: DealTargetPlatform;
25
+ }
26
+ //# sourceMappingURL=deal-platform-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deal-platform-model.d.ts","sourceRoot":"","sources":["../../src/models/deal-platform-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,kBAAkB,CAAC;CACzC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Admin Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });