ch-api-client-typescript2 4.9.1 → 4.9.2
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/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* DealsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var DealsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -101,14 +101,14 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
107
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
// verify required parameter 'dealId' is not null or undefined
|
|
110
|
-
(0, common_1.assertParamExists)('
|
|
111
|
-
localVarPath = "/
|
|
110
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdGet', 'dealId', dealId);
|
|
111
|
+
localVarPath = "/api/v2/deals/{dealId}"
|
|
112
112
|
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -151,14 +151,14 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
152
152
|
* @throws {RequiredError}
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
apiV2DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
155
155
|
if (options === void 0) { options = {}; }
|
|
156
156
|
return __awaiter(_this, void 0, void 0, function () {
|
|
157
157
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
158
|
return __generator(this, function (_a) {
|
|
159
159
|
// verify required parameter 'dealId' is not null or undefined
|
|
160
|
-
(0, common_1.assertParamExists)('
|
|
161
|
-
localVarPath = "/
|
|
160
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdPackagesGet', 'dealId', dealId);
|
|
161
|
+
localVarPath = "/api/v2/deals/{dealId}/packages"
|
|
162
162
|
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
163
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
164
|
if (configuration) {
|
|
@@ -221,16 +221,16 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
221
221
|
* @param {*} [options] Override http request option.
|
|
222
222
|
* @throws {RequiredError}
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
apiV2DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
225
225
|
if (options === void 0) { options = {}; }
|
|
226
226
|
return __awaiter(_this, void 0, void 0, function () {
|
|
227
227
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
228
|
return __generator(this, function (_a) {
|
|
229
229
|
// verify required parameter 'dealId' is not null or undefined
|
|
230
|
-
(0, common_1.assertParamExists)('
|
|
230
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdPackagesPackageIdGet', 'dealId', dealId);
|
|
231
231
|
// verify required parameter 'packageId' is not null or undefined
|
|
232
|
-
(0, common_1.assertParamExists)('
|
|
233
|
-
localVarPath = "/
|
|
232
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdPackagesPackageIdGet', 'packageId', packageId);
|
|
233
|
+
localVarPath = "/api/v2/deals/{dealId}/packages/{packageId}"
|
|
234
234
|
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
235
235
|
.replace("{".concat("packageId", "}"), encodeURIComponent(String(packageId)));
|
|
236
236
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -264,14 +264,14 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
*/
|
|
267
|
-
|
|
267
|
+
apiV2DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
268
268
|
if (options === void 0) { options = {}; }
|
|
269
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
270
270
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
271
|
return __generator(this, function (_a) {
|
|
272
272
|
// verify required parameter 'dealId' is not null or undefined
|
|
273
|
-
(0, common_1.assertParamExists)('
|
|
274
|
-
localVarPath = "/
|
|
273
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdServicesGet', 'dealId', dealId);
|
|
274
|
+
localVarPath = "/api/v2/deals/{dealId}/services"
|
|
275
275
|
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)));
|
|
276
276
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
277
277
|
if (configuration) {
|
|
@@ -313,16 +313,16 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
314
314
|
* @throws {RequiredError}
|
|
315
315
|
*/
|
|
316
|
-
|
|
316
|
+
apiV2DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
317
317
|
if (options === void 0) { options = {}; }
|
|
318
318
|
return __awaiter(_this, void 0, void 0, function () {
|
|
319
319
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
320
320
|
return __generator(this, function (_a) {
|
|
321
321
|
// verify required parameter 'dealId' is not null or undefined
|
|
322
|
-
(0, common_1.assertParamExists)('
|
|
322
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdServicesServiceIdGet', 'dealId', dealId);
|
|
323
323
|
// verify required parameter 'serviceId' is not null or undefined
|
|
324
|
-
(0, common_1.assertParamExists)('
|
|
325
|
-
localVarPath = "/
|
|
324
|
+
(0, common_1.assertParamExists)('apiV2DealsDealIdServicesServiceIdGet', 'serviceId', serviceId);
|
|
325
|
+
localVarPath = "/api/v2/deals/{dealId}/services/{serviceId}"
|
|
326
326
|
.replace("{".concat("dealId", "}"), encodeURIComponent(String(dealId)))
|
|
327
327
|
.replace("{".concat("serviceId", "}"), encodeURIComponent(String(serviceId)));
|
|
328
328
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -373,12 +373,12 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
373
373
|
* @param {*} [options] Override http request option.
|
|
374
374
|
* @throws {RequiredError}
|
|
375
375
|
*/
|
|
376
|
-
|
|
376
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
377
377
|
if (options === void 0) { options = {}; }
|
|
378
378
|
return __awaiter(_this, void 0, void 0, function () {
|
|
379
379
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
380
380
|
return __generator(this, function (_a) {
|
|
381
|
-
localVarPath = "/
|
|
381
|
+
localVarPath = "/api/v2/deals";
|
|
382
382
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
383
383
|
if (configuration) {
|
|
384
384
|
baseOptions = configuration.baseOptions;
|
|
@@ -492,12 +492,12 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
492
492
|
* @param {*} [options] Override http request option.
|
|
493
493
|
* @throws {RequiredError}
|
|
494
494
|
*/
|
|
495
|
-
|
|
495
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
496
496
|
if (options === void 0) { options = {}; }
|
|
497
497
|
return __awaiter(_this, void 0, void 0, function () {
|
|
498
498
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
499
499
|
return __generator(this, function (_a) {
|
|
500
|
-
localVarPath = "/
|
|
500
|
+
localVarPath = "/api/v2/deals/simple";
|
|
501
501
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
502
502
|
if (configuration) {
|
|
503
503
|
baseOptions = configuration.baseOptions;
|
|
@@ -592,14 +592,14 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
592
592
|
* @param {*} [options] Override http request option.
|
|
593
593
|
* @throws {RequiredError}
|
|
594
594
|
*/
|
|
595
|
-
|
|
595
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
596
596
|
if (options === void 0) { options = {}; }
|
|
597
597
|
return __awaiter(_this, void 0, void 0, function () {
|
|
598
598
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
599
599
|
return __generator(this, function (_a) {
|
|
600
600
|
// verify required parameter 'slug' is not null or undefined
|
|
601
|
-
(0, common_1.assertParamExists)('
|
|
602
|
-
localVarPath = "/
|
|
601
|
+
(0, common_1.assertParamExists)('apiV2DealsSlugGet', 'slug', slug);
|
|
602
|
+
localVarPath = "/api/v2/deals/{slug}"
|
|
603
603
|
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
604
604
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
605
605
|
if (configuration) {
|
|
@@ -626,13 +626,13 @@ var V2DealsApiAxiosParamCreator = function (configuration) {
|
|
|
626
626
|
},
|
|
627
627
|
};
|
|
628
628
|
};
|
|
629
|
-
exports.
|
|
629
|
+
exports.DealsApiAxiosParamCreator = DealsApiAxiosParamCreator;
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* DealsApi - functional programming interface
|
|
632
632
|
* @export
|
|
633
633
|
*/
|
|
634
|
-
var
|
|
635
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
634
|
+
var DealsApiFp = function (configuration) {
|
|
635
|
+
var localVarAxiosParamCreator = (0, exports.DealsApiAxiosParamCreator)(configuration);
|
|
636
636
|
return {
|
|
637
637
|
/**
|
|
638
638
|
*
|
|
@@ -643,12 +643,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
643
643
|
* @param {*} [options] Override http request option.
|
|
644
644
|
* @throws {RequiredError}
|
|
645
645
|
*/
|
|
646
|
-
|
|
646
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
647
647
|
return __awaiter(this, void 0, void 0, function () {
|
|
648
648
|
var localVarAxiosArgs;
|
|
649
649
|
return __generator(this, function (_a) {
|
|
650
650
|
switch (_a.label) {
|
|
651
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
651
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options)];
|
|
652
652
|
case 1:
|
|
653
653
|
localVarAxiosArgs = _a.sent();
|
|
654
654
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -674,12 +674,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
675
675
|
* @throws {RequiredError}
|
|
676
676
|
*/
|
|
677
|
-
|
|
677
|
+
apiV2DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
678
678
|
return __awaiter(this, void 0, void 0, function () {
|
|
679
679
|
var localVarAxiosArgs;
|
|
680
680
|
return __generator(this, function (_a) {
|
|
681
681
|
switch (_a.label) {
|
|
682
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
682
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
683
683
|
case 1:
|
|
684
684
|
localVarAxiosArgs = _a.sent();
|
|
685
685
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -696,12 +696,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
696
696
|
* @param {*} [options] Override http request option.
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
*/
|
|
699
|
-
|
|
699
|
+
apiV2DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
700
700
|
return __awaiter(this, void 0, void 0, function () {
|
|
701
701
|
var localVarAxiosArgs;
|
|
702
702
|
return __generator(this, function (_a) {
|
|
703
703
|
switch (_a.label) {
|
|
704
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
704
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options)];
|
|
705
705
|
case 1:
|
|
706
706
|
localVarAxiosArgs = _a.sent();
|
|
707
707
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -720,12 +720,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
720
720
|
* @param {*} [options] Override http request option.
|
|
721
721
|
* @throws {RequiredError}
|
|
722
722
|
*/
|
|
723
|
-
|
|
723
|
+
apiV2DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
724
724
|
return __awaiter(this, void 0, void 0, function () {
|
|
725
725
|
var localVarAxiosArgs;
|
|
726
726
|
return __generator(this, function (_a) {
|
|
727
727
|
switch (_a.label) {
|
|
728
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
728
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options)];
|
|
729
729
|
case 1:
|
|
730
730
|
localVarAxiosArgs = _a.sent();
|
|
731
731
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -742,12 +742,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
742
742
|
* @param {*} [options] Override http request option.
|
|
743
743
|
* @throws {RequiredError}
|
|
744
744
|
*/
|
|
745
|
-
|
|
745
|
+
apiV2DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
746
746
|
return __awaiter(this, void 0, void 0, function () {
|
|
747
747
|
var localVarAxiosArgs;
|
|
748
748
|
return __generator(this, function (_a) {
|
|
749
749
|
switch (_a.label) {
|
|
750
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
750
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options)];
|
|
751
751
|
case 1:
|
|
752
752
|
localVarAxiosArgs = _a.sent();
|
|
753
753
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -783,12 +783,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
783
783
|
* @param {*} [options] Override http request option.
|
|
784
784
|
* @throws {RequiredError}
|
|
785
785
|
*/
|
|
786
|
-
|
|
786
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
787
787
|
return __awaiter(this, void 0, void 0, function () {
|
|
788
788
|
var localVarAxiosArgs;
|
|
789
789
|
return __generator(this, function (_a) {
|
|
790
790
|
switch (_a.label) {
|
|
791
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
791
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
792
792
|
case 1:
|
|
793
793
|
localVarAxiosArgs = _a.sent();
|
|
794
794
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -824,12 +824,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
824
824
|
* @param {*} [options] Override http request option.
|
|
825
825
|
* @throws {RequiredError}
|
|
826
826
|
*/
|
|
827
|
-
|
|
827
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
828
828
|
return __awaiter(this, void 0, void 0, function () {
|
|
829
829
|
var localVarAxiosArgs;
|
|
830
830
|
return __generator(this, function (_a) {
|
|
831
831
|
switch (_a.label) {
|
|
832
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
832
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
833
833
|
case 1:
|
|
834
834
|
localVarAxiosArgs = _a.sent();
|
|
835
835
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -846,12 +846,12 @@ var V2DealsApiFp = function (configuration) {
|
|
|
846
846
|
* @param {*} [options] Override http request option.
|
|
847
847
|
* @throws {RequiredError}
|
|
848
848
|
*/
|
|
849
|
-
|
|
849
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
850
850
|
return __awaiter(this, void 0, void 0, function () {
|
|
851
851
|
var localVarAxiosArgs;
|
|
852
852
|
return __generator(this, function (_a) {
|
|
853
853
|
switch (_a.label) {
|
|
854
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
854
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
855
855
|
case 1:
|
|
856
856
|
localVarAxiosArgs = _a.sent();
|
|
857
857
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -861,13 +861,13 @@ var V2DealsApiFp = function (configuration) {
|
|
|
861
861
|
},
|
|
862
862
|
};
|
|
863
863
|
};
|
|
864
|
-
exports.
|
|
864
|
+
exports.DealsApiFp = DealsApiFp;
|
|
865
865
|
/**
|
|
866
|
-
*
|
|
866
|
+
* DealsApi - factory interface
|
|
867
867
|
* @export
|
|
868
868
|
*/
|
|
869
|
-
var
|
|
870
|
-
var localVarFp = (0, exports.
|
|
869
|
+
var DealsApiFactory = function (configuration, basePath, axios) {
|
|
870
|
+
var localVarFp = (0, exports.DealsApiFp)(configuration);
|
|
871
871
|
return {
|
|
872
872
|
/**
|
|
873
873
|
*
|
|
@@ -878,8 +878,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
878
878
|
* @param {*} [options] Override http request option.
|
|
879
879
|
* @throws {RequiredError}
|
|
880
880
|
*/
|
|
881
|
-
|
|
882
|
-
return localVarFp.
|
|
881
|
+
apiV2DealsDealIdGet: function (dealId, languageCode, returnDefaultValue, options) {
|
|
882
|
+
return localVarFp.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
883
883
|
},
|
|
884
884
|
/**
|
|
885
885
|
*
|
|
@@ -899,8 +899,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
899
899
|
* @param {*} [options] Override http request option.
|
|
900
900
|
* @throws {RequiredError}
|
|
901
901
|
*/
|
|
902
|
-
|
|
903
|
-
return localVarFp.
|
|
902
|
+
apiV2DealsDealIdPackagesGet: function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
903
|
+
return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
904
904
|
},
|
|
905
905
|
/**
|
|
906
906
|
*
|
|
@@ -911,8 +911,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
911
911
|
* @param {*} [options] Override http request option.
|
|
912
912
|
* @throws {RequiredError}
|
|
913
913
|
*/
|
|
914
|
-
|
|
915
|
-
return localVarFp.
|
|
914
|
+
apiV2DealsDealIdPackagesPackageIdGet: function (dealId, packageId, languageCode, options) {
|
|
915
|
+
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
916
916
|
},
|
|
917
917
|
/**
|
|
918
918
|
*
|
|
@@ -925,8 +925,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
925
925
|
* @param {*} [options] Override http request option.
|
|
926
926
|
* @throws {RequiredError}
|
|
927
927
|
*/
|
|
928
|
-
|
|
929
|
-
return localVarFp.
|
|
928
|
+
apiV2DealsDealIdServicesGet: function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
929
|
+
return localVarFp.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
930
930
|
},
|
|
931
931
|
/**
|
|
932
932
|
*
|
|
@@ -937,8 +937,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
937
937
|
* @param {*} [options] Override http request option.
|
|
938
938
|
* @throws {RequiredError}
|
|
939
939
|
*/
|
|
940
|
-
|
|
941
|
-
return localVarFp.
|
|
940
|
+
apiV2DealsDealIdServicesServiceIdGet: function (dealId, serviceId, languageCode, options) {
|
|
941
|
+
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
942
942
|
},
|
|
943
943
|
/**
|
|
944
944
|
*
|
|
@@ -968,8 +968,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
968
968
|
* @param {*} [options] Override http request option.
|
|
969
969
|
* @throws {RequiredError}
|
|
970
970
|
*/
|
|
971
|
-
|
|
972
|
-
return localVarFp.
|
|
971
|
+
apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
972
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
973
973
|
},
|
|
974
974
|
/**
|
|
975
975
|
*
|
|
@@ -999,8 +999,8 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
999
999
|
* @param {*} [options] Override http request option.
|
|
1000
1000
|
* @throws {RequiredError}
|
|
1001
1001
|
*/
|
|
1002
|
-
|
|
1003
|
-
return localVarFp.
|
|
1002
|
+
apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1003
|
+
return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1004
1004
|
},
|
|
1005
1005
|
/**
|
|
1006
1006
|
*
|
|
@@ -1011,21 +1011,21 @@ var V2DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
1011
1011
|
* @param {*} [options] Override http request option.
|
|
1012
1012
|
* @throws {RequiredError}
|
|
1013
1013
|
*/
|
|
1014
|
-
|
|
1015
|
-
return localVarFp.
|
|
1014
|
+
apiV2DealsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
1015
|
+
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
1016
1016
|
},
|
|
1017
1017
|
};
|
|
1018
1018
|
};
|
|
1019
|
-
exports.
|
|
1019
|
+
exports.DealsApiFactory = DealsApiFactory;
|
|
1020
1020
|
/**
|
|
1021
|
-
*
|
|
1021
|
+
* DealsApi - object-oriented interface
|
|
1022
1022
|
* @export
|
|
1023
|
-
* @class
|
|
1023
|
+
* @class DealsApi
|
|
1024
1024
|
* @extends {BaseAPI}
|
|
1025
1025
|
*/
|
|
1026
|
-
var
|
|
1027
|
-
__extends(
|
|
1028
|
-
function
|
|
1026
|
+
var DealsApi = /** @class */ (function (_super) {
|
|
1027
|
+
__extends(DealsApi, _super);
|
|
1028
|
+
function DealsApi() {
|
|
1029
1029
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1030
1030
|
}
|
|
1031
1031
|
/**
|
|
@@ -1036,11 +1036,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1036
1036
|
* @param {boolean} [returnDefaultValue]
|
|
1037
1037
|
* @param {*} [options] Override http request option.
|
|
1038
1038
|
* @throws {RequiredError}
|
|
1039
|
-
* @memberof
|
|
1039
|
+
* @memberof DealsApi
|
|
1040
1040
|
*/
|
|
1041
|
-
|
|
1041
|
+
DealsApi.prototype.apiV2DealsDealIdGet = function (dealId, languageCode, returnDefaultValue, options) {
|
|
1042
1042
|
var _this = this;
|
|
1043
|
-
return (0, exports.
|
|
1043
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1044
1044
|
};
|
|
1045
1045
|
/**
|
|
1046
1046
|
*
|
|
@@ -1059,11 +1059,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1059
1059
|
* @param {Date} [lastRetrieved]
|
|
1060
1060
|
* @param {*} [options] Override http request option.
|
|
1061
1061
|
* @throws {RequiredError}
|
|
1062
|
-
* @memberof
|
|
1062
|
+
* @memberof DealsApi
|
|
1063
1063
|
*/
|
|
1064
|
-
|
|
1064
|
+
DealsApi.prototype.apiV2DealsDealIdPackagesGet = function (dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1065
1065
|
var _this = this;
|
|
1066
|
-
return (0, exports.
|
|
1066
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1067
1067
|
};
|
|
1068
1068
|
/**
|
|
1069
1069
|
*
|
|
@@ -1073,11 +1073,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1073
1073
|
* @param {string} [languageCode]
|
|
1074
1074
|
* @param {*} [options] Override http request option.
|
|
1075
1075
|
* @throws {RequiredError}
|
|
1076
|
-
* @memberof
|
|
1076
|
+
* @memberof DealsApi
|
|
1077
1077
|
*/
|
|
1078
|
-
|
|
1078
|
+
DealsApi.prototype.apiV2DealsDealIdPackagesPackageIdGet = function (dealId, packageId, languageCode, options) {
|
|
1079
1079
|
var _this = this;
|
|
1080
|
-
return (0, exports.
|
|
1080
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1081
1081
|
};
|
|
1082
1082
|
/**
|
|
1083
1083
|
*
|
|
@@ -1089,11 +1089,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1089
1089
|
* @param {Date} [lastRetrieved]
|
|
1090
1090
|
* @param {*} [options] Override http request option.
|
|
1091
1091
|
* @throws {RequiredError}
|
|
1092
|
-
* @memberof
|
|
1092
|
+
* @memberof DealsApi
|
|
1093
1093
|
*/
|
|
1094
|
-
|
|
1094
|
+
DealsApi.prototype.apiV2DealsDealIdServicesGet = function (dealId, languageCode, page, limit, lastRetrieved, options) {
|
|
1095
1095
|
var _this = this;
|
|
1096
|
-
return (0, exports.
|
|
1096
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1097
1097
|
};
|
|
1098
1098
|
/**
|
|
1099
1099
|
*
|
|
@@ -1103,11 +1103,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1103
1103
|
* @param {string} [languageCode]
|
|
1104
1104
|
* @param {*} [options] Override http request option.
|
|
1105
1105
|
* @throws {RequiredError}
|
|
1106
|
-
* @memberof
|
|
1106
|
+
* @memberof DealsApi
|
|
1107
1107
|
*/
|
|
1108
|
-
|
|
1108
|
+
DealsApi.prototype.apiV2DealsDealIdServicesServiceIdGet = function (dealId, serviceId, languageCode, options) {
|
|
1109
1109
|
var _this = this;
|
|
1110
|
-
return (0, exports.
|
|
1110
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1111
1111
|
};
|
|
1112
1112
|
/**
|
|
1113
1113
|
*
|
|
@@ -1136,11 +1136,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1136
1136
|
* @param {Date} [lastRetrieved]
|
|
1137
1137
|
* @param {*} [options] Override http request option.
|
|
1138
1138
|
* @throws {RequiredError}
|
|
1139
|
-
* @memberof
|
|
1139
|
+
* @memberof DealsApi
|
|
1140
1140
|
*/
|
|
1141
|
-
|
|
1141
|
+
DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1142
1142
|
var _this = this;
|
|
1143
|
-
return (0, exports.
|
|
1143
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1144
1144
|
};
|
|
1145
1145
|
/**
|
|
1146
1146
|
*
|
|
@@ -1169,11 +1169,11 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1169
1169
|
* @param {Date} [lastRetrieved]
|
|
1170
1170
|
* @param {*} [options] Override http request option.
|
|
1171
1171
|
* @throws {RequiredError}
|
|
1172
|
-
* @memberof
|
|
1172
|
+
* @memberof DealsApi
|
|
1173
1173
|
*/
|
|
1174
|
-
|
|
1174
|
+
DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1175
1175
|
var _this = this;
|
|
1176
|
-
return (0, exports.
|
|
1176
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1177
1177
|
};
|
|
1178
1178
|
/**
|
|
1179
1179
|
*
|
|
@@ -1183,12 +1183,12 @@ var V2DealsApi = /** @class */ (function (_super) {
|
|
|
1183
1183
|
* @param {boolean} [returnDefaultValue]
|
|
1184
1184
|
* @param {*} [options] Override http request option.
|
|
1185
1185
|
* @throws {RequiredError}
|
|
1186
|
-
* @memberof
|
|
1186
|
+
* @memberof DealsApi
|
|
1187
1187
|
*/
|
|
1188
|
-
|
|
1188
|
+
DealsApi.prototype.apiV2DealsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
1189
1189
|
var _this = this;
|
|
1190
|
-
return (0, exports.
|
|
1190
|
+
return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1191
1191
|
};
|
|
1192
|
-
return
|
|
1192
|
+
return DealsApi;
|
|
1193
1193
|
}(base_1.BaseAPI));
|
|
1194
|
-
exports.
|
|
1194
|
+
exports.DealsApi = DealsApi;
|