ch-api-client-typescript2 4.9.1 → 4.9.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.
- 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
|
@@ -37,10 +37,10 @@ import { DealsSimpleModel } from '../models';
|
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
import { MarketingType } from '../models';
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* DealsApi - axios parameter creator
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export const
|
|
43
|
+
export const DealsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
44
|
return {
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
@@ -51,10 +51,10 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
apiV2DealsDealIdGet: async (dealId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55
55
|
// verify required parameter 'dealId' is not null or undefined
|
|
56
|
-
assertParamExists('
|
|
57
|
-
const localVarPath = `/
|
|
56
|
+
assertParamExists('apiV2DealsDealIdGet', 'dealId', dealId)
|
|
57
|
+
const localVarPath = `/api/v2/deals/{dealId}`
|
|
58
58
|
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
|
|
59
59
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
60
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -104,10 +104,10 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108
108
|
// verify required parameter 'dealId' is not null or undefined
|
|
109
|
-
assertParamExists('
|
|
110
|
-
const localVarPath = `/
|
|
109
|
+
assertParamExists('apiV2DealsDealIdPackagesGet', 'dealId', dealId)
|
|
110
|
+
const localVarPath = `/api/v2/deals/{dealId}/packages`
|
|
111
111
|
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
|
|
112
112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -186,12 +186,12 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
apiV2DealsDealIdPackagesPackageIdGet: async (dealId: string, packageId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
190
|
// verify required parameter 'dealId' is not null or undefined
|
|
191
|
-
assertParamExists('
|
|
191
|
+
assertParamExists('apiV2DealsDealIdPackagesPackageIdGet', 'dealId', dealId)
|
|
192
192
|
// verify required parameter 'packageId' is not null or undefined
|
|
193
|
-
assertParamExists('
|
|
194
|
-
const localVarPath = `/
|
|
193
|
+
assertParamExists('apiV2DealsDealIdPackagesPackageIdGet', 'packageId', packageId)
|
|
194
|
+
const localVarPath = `/api/v2/deals/{dealId}/packages/{packageId}`
|
|
195
195
|
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)))
|
|
196
196
|
.replace(`{${"packageId"}}`, encodeURIComponent(String(packageId)));
|
|
197
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -231,10 +231,10 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
apiV2DealsDealIdServicesGet: async (dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
235
|
// verify required parameter 'dealId' is not null or undefined
|
|
236
|
-
assertParamExists('
|
|
237
|
-
const localVarPath = `/
|
|
236
|
+
assertParamExists('apiV2DealsDealIdServicesGet', 'dealId', dealId)
|
|
237
|
+
const localVarPath = `/api/v2/deals/{dealId}/services`
|
|
238
238
|
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
|
|
239
239
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
240
240
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -285,12 +285,12 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
288
|
-
|
|
288
|
+
apiV2DealsDealIdServicesServiceIdGet: async (dealId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
289
289
|
// verify required parameter 'dealId' is not null or undefined
|
|
290
|
-
assertParamExists('
|
|
290
|
+
assertParamExists('apiV2DealsDealIdServicesServiceIdGet', 'dealId', dealId)
|
|
291
291
|
// verify required parameter 'serviceId' is not null or undefined
|
|
292
|
-
assertParamExists('
|
|
293
|
-
const localVarPath = `/
|
|
292
|
+
assertParamExists('apiV2DealsDealIdServicesServiceIdGet', 'serviceId', serviceId)
|
|
293
|
+
const localVarPath = `/api/v2/deals/{dealId}/services/{serviceId}`
|
|
294
294
|
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)))
|
|
295
295
|
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
296
296
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -347,8 +347,8 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
347
347
|
* @param {*} [options] Override http request option.
|
|
348
348
|
* @throws {RequiredError}
|
|
349
349
|
*/
|
|
350
|
-
|
|
351
|
-
const localVarPath = `/
|
|
350
|
+
apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
351
|
+
const localVarPath = `/api/v2/deals`;
|
|
352
352
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
353
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
354
354
|
let baseOptions;
|
|
@@ -489,8 +489,8 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
492
|
-
|
|
493
|
-
const localVarPath = `/
|
|
492
|
+
apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
493
|
+
const localVarPath = `/api/v2/deals/simple`;
|
|
494
494
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
495
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
496
496
|
let baseOptions;
|
|
@@ -612,10 +612,10 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
615
|
-
|
|
615
|
+
apiV2DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
616
616
|
// verify required parameter 'slug' is not null or undefined
|
|
617
|
-
assertParamExists('
|
|
618
|
-
const localVarPath = `/
|
|
617
|
+
assertParamExists('apiV2DealsSlugGet', 'slug', slug)
|
|
618
|
+
const localVarPath = `/api/v2/deals/{slug}`
|
|
619
619
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
620
620
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
621
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -651,11 +651,11 @@ export const V2DealsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
651
651
|
};
|
|
652
652
|
|
|
653
653
|
/**
|
|
654
|
-
*
|
|
654
|
+
* DealsApi - functional programming interface
|
|
655
655
|
* @export
|
|
656
656
|
*/
|
|
657
|
-
export const
|
|
658
|
-
const localVarAxiosParamCreator =
|
|
657
|
+
export const DealsApiFp = function(configuration?: Configuration) {
|
|
658
|
+
const localVarAxiosParamCreator = DealsApiAxiosParamCreator(configuration)
|
|
659
659
|
return {
|
|
660
660
|
/**
|
|
661
661
|
*
|
|
@@ -666,8 +666,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
666
666
|
* @param {*} [options] Override http request option.
|
|
667
667
|
* @throws {RequiredError}
|
|
668
668
|
*/
|
|
669
|
-
async
|
|
670
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
669
|
+
async apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
671
671
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
672
672
|
},
|
|
673
673
|
/**
|
|
@@ -688,8 +688,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
688
688
|
* @param {*} [options] Override http request option.
|
|
689
689
|
* @throws {RequiredError}
|
|
690
690
|
*/
|
|
691
|
-
async
|
|
692
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
691
|
+
async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
|
|
692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
693
693
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
694
694
|
},
|
|
695
695
|
/**
|
|
@@ -701,8 +701,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
701
701
|
* @param {*} [options] Override http request option.
|
|
702
702
|
* @throws {RequiredError}
|
|
703
703
|
*/
|
|
704
|
-
async
|
|
705
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
704
|
+
async apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackageModel>> {
|
|
705
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options);
|
|
706
706
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
707
707
|
},
|
|
708
708
|
/**
|
|
@@ -716,8 +716,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
716
716
|
* @param {*} [options] Override http request option.
|
|
717
717
|
* @throws {RequiredError}
|
|
718
718
|
*/
|
|
719
|
-
async
|
|
720
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
719
|
+
async apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServicesModel>> {
|
|
720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options);
|
|
721
721
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
722
722
|
},
|
|
723
723
|
/**
|
|
@@ -729,8 +729,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
729
729
|
* @param {*} [options] Override http request option.
|
|
730
730
|
* @throws {RequiredError}
|
|
731
731
|
*/
|
|
732
|
-
async
|
|
733
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
732
|
+
async apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealServiceModel>> {
|
|
733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options);
|
|
734
734
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
735
735
|
},
|
|
736
736
|
/**
|
|
@@ -761,8 +761,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
761
761
|
* @param {*} [options] Override http request option.
|
|
762
762
|
* @throws {RequiredError}
|
|
763
763
|
*/
|
|
764
|
-
async
|
|
765
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
764
|
+
async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
765
|
+
const localVarAxiosArgs = await 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);
|
|
766
766
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
767
767
|
},
|
|
768
768
|
/**
|
|
@@ -793,8 +793,8 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
793
793
|
* @param {*} [options] Override http request option.
|
|
794
794
|
* @throws {RequiredError}
|
|
795
795
|
*/
|
|
796
|
-
async
|
|
797
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
796
|
+
async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
|
|
797
|
+
const localVarAxiosArgs = await 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);
|
|
798
798
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
799
799
|
},
|
|
800
800
|
/**
|
|
@@ -806,19 +806,19 @@ export const V2DealsApiFp = function(configuration?: Configuration) {
|
|
|
806
806
|
* @param {*} [options] Override http request option.
|
|
807
807
|
* @throws {RequiredError}
|
|
808
808
|
*/
|
|
809
|
-
async
|
|
810
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
809
|
+
async apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
811
811
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
812
812
|
},
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
|
-
*
|
|
817
|
+
* DealsApi - factory interface
|
|
818
818
|
* @export
|
|
819
819
|
*/
|
|
820
|
-
export const
|
|
821
|
-
const localVarFp =
|
|
820
|
+
export const DealsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
821
|
+
const localVarFp = DealsApiFp(configuration)
|
|
822
822
|
return {
|
|
823
823
|
/**
|
|
824
824
|
*
|
|
@@ -829,8 +829,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
829
829
|
* @param {*} [options] Override http request option.
|
|
830
830
|
* @throws {RequiredError}
|
|
831
831
|
*/
|
|
832
|
-
|
|
833
|
-
return localVarFp.
|
|
832
|
+
apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
833
|
+
return localVarFp.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
834
834
|
},
|
|
835
835
|
/**
|
|
836
836
|
*
|
|
@@ -850,8 +850,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
850
850
|
* @param {*} [options] Override http request option.
|
|
851
851
|
* @throws {RequiredError}
|
|
852
852
|
*/
|
|
853
|
-
|
|
854
|
-
return localVarFp.
|
|
853
|
+
apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
|
|
854
|
+
return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
855
855
|
},
|
|
856
856
|
/**
|
|
857
857
|
*
|
|
@@ -862,8 +862,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
862
862
|
* @param {*} [options] Override http request option.
|
|
863
863
|
* @throws {RequiredError}
|
|
864
864
|
*/
|
|
865
|
-
|
|
866
|
-
return localVarFp.
|
|
865
|
+
apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: any): AxiosPromise<DealPackageModel> {
|
|
866
|
+
return localVarFp.apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(axios, basePath));
|
|
867
867
|
},
|
|
868
868
|
/**
|
|
869
869
|
*
|
|
@@ -876,8 +876,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
876
876
|
* @param {*} [options] Override http request option.
|
|
877
877
|
* @throws {RequiredError}
|
|
878
878
|
*/
|
|
879
|
-
|
|
880
|
-
return localVarFp.
|
|
879
|
+
apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealServicesModel> {
|
|
880
|
+
return localVarFp.apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
881
881
|
},
|
|
882
882
|
/**
|
|
883
883
|
*
|
|
@@ -888,8 +888,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
888
888
|
* @param {*} [options] Override http request option.
|
|
889
889
|
* @throws {RequiredError}
|
|
890
890
|
*/
|
|
891
|
-
|
|
892
|
-
return localVarFp.
|
|
891
|
+
apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<DealServiceModel> {
|
|
892
|
+
return localVarFp.apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
893
893
|
},
|
|
894
894
|
/**
|
|
895
895
|
*
|
|
@@ -919,8 +919,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
919
919
|
* @param {*} [options] Override http request option.
|
|
920
920
|
* @throws {RequiredError}
|
|
921
921
|
*/
|
|
922
|
-
|
|
923
|
-
return localVarFp.
|
|
922
|
+
apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
923
|
+
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((request) => request(axios, basePath));
|
|
924
924
|
},
|
|
925
925
|
/**
|
|
926
926
|
*
|
|
@@ -950,8 +950,8 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
950
950
|
* @param {*} [options] Override http request option.
|
|
951
951
|
* @throws {RequiredError}
|
|
952
952
|
*/
|
|
953
|
-
|
|
954
|
-
return localVarFp.
|
|
953
|
+
apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
|
|
954
|
+
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((request) => request(axios, basePath));
|
|
955
955
|
},
|
|
956
956
|
/**
|
|
957
957
|
*
|
|
@@ -962,19 +962,19 @@ export const V2DealsApiFactory = function (configuration?: Configuration, basePa
|
|
|
962
962
|
* @param {*} [options] Override http request option.
|
|
963
963
|
* @throws {RequiredError}
|
|
964
964
|
*/
|
|
965
|
-
|
|
966
|
-
return localVarFp.
|
|
965
|
+
apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
966
|
+
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
967
967
|
},
|
|
968
968
|
};
|
|
969
969
|
};
|
|
970
970
|
|
|
971
971
|
/**
|
|
972
|
-
*
|
|
972
|
+
* DealsApi - object-oriented interface
|
|
973
973
|
* @export
|
|
974
|
-
* @class
|
|
974
|
+
* @class DealsApi
|
|
975
975
|
* @extends {BaseAPI}
|
|
976
976
|
*/
|
|
977
|
-
export class
|
|
977
|
+
export class DealsApi extends BaseAPI {
|
|
978
978
|
/**
|
|
979
979
|
*
|
|
980
980
|
* @summary Get deal.
|
|
@@ -983,10 +983,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
983
983
|
* @param {boolean} [returnDefaultValue]
|
|
984
984
|
* @param {*} [options] Override http request option.
|
|
985
985
|
* @throws {RequiredError}
|
|
986
|
-
* @memberof
|
|
986
|
+
* @memberof DealsApi
|
|
987
987
|
*/
|
|
988
|
-
public
|
|
989
|
-
return
|
|
988
|
+
public apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
989
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
/**
|
|
@@ -1006,10 +1006,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1006
1006
|
* @param {Date} [lastRetrieved]
|
|
1007
1007
|
* @param {*} [options] Override http request option.
|
|
1008
1008
|
* @throws {RequiredError}
|
|
1009
|
-
* @memberof
|
|
1009
|
+
* @memberof DealsApi
|
|
1010
1010
|
*/
|
|
1011
|
-
public
|
|
1012
|
-
return
|
|
1011
|
+
public apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1012
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
/**
|
|
@@ -1020,10 +1020,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1020
1020
|
* @param {string} [languageCode]
|
|
1021
1021
|
* @param {*} [options] Override http request option.
|
|
1022
1022
|
* @throws {RequiredError}
|
|
1023
|
-
* @memberof
|
|
1023
|
+
* @memberof DealsApi
|
|
1024
1024
|
*/
|
|
1025
|
-
public
|
|
1026
|
-
return
|
|
1025
|
+
public apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
1026
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
/**
|
|
@@ -1036,10 +1036,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1036
1036
|
* @param {Date} [lastRetrieved]
|
|
1037
1037
|
* @param {*} [options] Override http request option.
|
|
1038
1038
|
* @throws {RequiredError}
|
|
1039
|
-
* @memberof
|
|
1039
|
+
* @memberof DealsApi
|
|
1040
1040
|
*/
|
|
1041
|
-
public
|
|
1042
|
-
return
|
|
1041
|
+
public apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1042
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
/**
|
|
@@ -1050,10 +1050,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1050
1050
|
* @param {string} [languageCode]
|
|
1051
1051
|
* @param {*} [options] Override http request option.
|
|
1052
1052
|
* @throws {RequiredError}
|
|
1053
|
-
* @memberof
|
|
1053
|
+
* @memberof DealsApi
|
|
1054
1054
|
*/
|
|
1055
|
-
public
|
|
1056
|
-
return
|
|
1055
|
+
public apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
1056
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
1059
|
/**
|
|
@@ -1083,10 +1083,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1083
1083
|
* @param {Date} [lastRetrieved]
|
|
1084
1084
|
* @param {*} [options] Override http request option.
|
|
1085
1085
|
* @throws {RequiredError}
|
|
1086
|
-
* @memberof
|
|
1086
|
+
* @memberof DealsApi
|
|
1087
1087
|
*/
|
|
1088
|
-
public
|
|
1089
|
-
return
|
|
1088
|
+
public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1089
|
+
return 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((request) => request(this.axios, this.basePath));
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
1092
|
/**
|
|
@@ -1116,10 +1116,10 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1116
1116
|
* @param {Date} [lastRetrieved]
|
|
1117
1117
|
* @param {*} [options] Override http request option.
|
|
1118
1118
|
* @throws {RequiredError}
|
|
1119
|
-
* @memberof
|
|
1119
|
+
* @memberof DealsApi
|
|
1120
1120
|
*/
|
|
1121
|
-
public
|
|
1122
|
-
return
|
|
1121
|
+
public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1122
|
+
return 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((request) => request(this.axios, this.basePath));
|
|
1123
1123
|
}
|
|
1124
1124
|
|
|
1125
1125
|
/**
|
|
@@ -1130,9 +1130,9 @@ export class V2DealsApi extends BaseAPI {
|
|
|
1130
1130
|
* @param {boolean} [returnDefaultValue]
|
|
1131
1131
|
* @param {*} [options] Override http request option.
|
|
1132
1132
|
* @throws {RequiredError}
|
|
1133
|
-
* @memberof
|
|
1133
|
+
* @memberof DealsApi
|
|
1134
1134
|
*/
|
|
1135
|
-
public
|
|
1136
|
-
return
|
|
1135
|
+
public apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
1136
|
+
return DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
1137
1137
|
}
|
|
1138
1138
|
}
|