ch-api-client-typescript2 4.9.7 → 4.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/about-us-api.d.ts +123 -19
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +10 -22
- package/lib/api/accreditations-api.d.ts +60 -9
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +7 -11
- package/lib/api/app-version-api.d.ts +15 -2
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +3 -3
- package/lib/api/appointments-api.d.ts +201 -31
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +16 -36
- package/lib/api/articles-api.d.ts +453 -70
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +34 -81
- package/lib/api/bookings-api.d.ts +183 -28
- package/lib/api/bookings-api.d.ts.map +1 -1
- package/lib/api/bookings-api.js +16 -33
- package/lib/api/chat-users-api.d.ts +84 -12
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +15 -16
- package/lib/api/consultations-api.d.ts +171 -26
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +16 -31
- package/lib/api/contributors-api.d.ts +213 -33
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +16 -38
- package/lib/api/countries-api.d.ts +189 -29
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +16 -34
- package/lib/api/deals-api.d.ts +630 -103
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +65 -119
- package/lib/api/devices-api.d.ts +150 -22
- package/lib/api/devices-api.d.ts.map +1 -1
- package/lib/api/devices-api.js +20 -28
- package/lib/api/doctor-affiliations-api.d.ts +252 -40
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +30 -48
- package/lib/api/doctors-api.d.ts +675 -105
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +47 -120
- package/lib/api/faq-categories-api.d.ts +117 -18
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +10 -21
- package/lib/api/faqs-api.d.ts +249 -38
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +22 -45
- package/lib/api/group-channels-api.d.ts +117 -17
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +15 -22
- package/lib/api/header-navigations-api.d.ts +15 -2
- package/lib/api/header-navigations-api.d.ts.map +1 -1
- package/lib/api/header-navigations-api.js +3 -3
- package/lib/api/hospitals-api.d.ts +1695 -270
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +162 -315
- package/lib/api/hospitals-consultation-timetables-api.d.ts +39 -6
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetables-api.js +3 -7
- package/lib/api/images-api.d.ts +15 -2
- package/lib/api/images-api.d.ts.map +1 -1
- package/lib/api/images-api.js +4 -3
- package/lib/api/languages-api.d.ts +66 -10
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +7 -12
- package/lib/api/memberships-api.d.ts +111 -17
- package/lib/api/memberships-api.d.ts.map +1 -1
- package/lib/api/memberships-api.js +10 -20
- package/lib/api/notifications-api.d.ts +54 -8
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +8 -10
- package/lib/api/origins-api.d.ts +45 -6
- package/lib/api/origins-api.d.ts.map +1 -1
- package/lib/api/origins-api.js +11 -9
- package/lib/api/patients-api.d.ts +96 -13
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +19 -19
- package/lib/api/plans-api.d.ts +108 -16
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +13 -20
- package/lib/api/profiles-api.d.ts +75 -10
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +19 -15
- package/lib/api/service-reviews-api.d.ts +312 -47
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +32 -57
- package/lib/api/services-api.d.ts +189 -31
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +21 -36
- package/lib/api/services-categories-api.d.ts +54 -8
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +7 -10
- package/lib/api/specialties-api.d.ts +294 -46
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +20 -52
- package/lib/api/specialty-types-api.d.ts +306 -48
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +20 -54
- package/lib/api/survey-forms-api.d.ts +21 -3
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +3 -4
- package/lib/api/survey-results-api.d.ts +15 -2
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +4 -3
- package/lib/api/tags-api.d.ts +54 -8
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +7 -10
- package/package.json +2 -2
- package/src/api/about-us-api.ts +142 -22
- package/src/api/accreditations-api.ts +69 -11
- package/src/api/app-version-api.ts +17 -3
- package/src/api/appointments-api.ts +232 -36
- package/src/api/articles-api.ts +523 -81
- package/src/api/bookings-api.ts +211 -33
- package/src/api/chat-users-api.ts +96 -16
- package/src/api/consultations-api.ts +197 -31
- package/src/api/contributors-api.ts +246 -38
- package/src/api/countries-api.ts +218 -34
- package/src/api/deals-api.ts +745 -119
- package/src/api/devices-api.ts +172 -28
- package/src/api/doctor-affiliations-api.ts +296 -48
- package/src/api/doctors-api.ts +780 -120
- package/src/api/faq-categories-api.ts +135 -21
- package/src/api/faqs-api.ts +287 -45
- package/src/api/group-channels-api.ts +134 -22
- package/src/api/header-navigations-api.ts +17 -3
- package/src/api/hospitals-api.ts +1985 -315
- package/src/api/hospitals-consultation-timetables-api.ts +45 -7
- package/src/api/images-api.ts +17 -3
- package/src/api/languages-api.ts +76 -12
- package/src/api/memberships-api.ts +128 -20
- package/src/api/notifications-api.ts +62 -10
- package/src/api/origins-api.ts +51 -9
- package/src/api/patients-api.ts +109 -19
- package/src/api/plans-api.ts +124 -20
- package/src/api/profiles-api.ts +85 -15
- package/src/api/service-reviews-api.ts +359 -57
- package/src/api/services-api.ts +224 -36
- package/src/api/services-categories-api.ts +62 -10
- package/src/api/specialties-api.ts +340 -52
- package/src/api/specialty-types-api.ts +354 -54
- package/src/api/survey-forms-api.ts +24 -4
- package/src/api/survey-results-api.ts +17 -3
- package/src/api/tags-api.ts +62 -10
package/src/api/services-api.ts
CHANGED
|
@@ -48,6 +48,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
48
48
|
* @param {string} [specialtyTypeId]
|
|
49
49
|
* @param {string} [specialtyTypeName]
|
|
50
50
|
* @param {string} [serviceCategoryId]
|
|
51
|
+
* @param {boolean} [appointmentEnabled]
|
|
51
52
|
* @param {MarketingType} [marketingType]
|
|
52
53
|
* @param {Procedure} [procedure]
|
|
53
54
|
* @param {Date} [created]
|
|
@@ -59,7 +60,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
59
60
|
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
|
-
apiV2ServicesGet: async (id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
|
+
apiV2ServicesGet: async (id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
64
|
const localVarPath = `/api/v2/services`;
|
|
64
65
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
66
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -116,6 +117,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
116
117
|
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
117
118
|
}
|
|
118
119
|
|
|
120
|
+
if (appointmentEnabled !== undefined) {
|
|
121
|
+
localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
|
|
122
|
+
}
|
|
123
|
+
|
|
119
124
|
if (marketingType !== undefined) {
|
|
120
125
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
121
126
|
}
|
|
@@ -275,6 +280,7 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
275
280
|
* @param {string} [specialtyTypeId]
|
|
276
281
|
* @param {string} [specialtyTypeName]
|
|
277
282
|
* @param {string} [serviceCategoryId]
|
|
283
|
+
* @param {boolean} [appointmentEnabled]
|
|
278
284
|
* @param {MarketingType} [marketingType]
|
|
279
285
|
* @param {Procedure} [procedure]
|
|
280
286
|
* @param {Date} [created]
|
|
@@ -286,8 +292,8 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
286
292
|
* @param {*} [options] Override http request option.
|
|
287
293
|
* @throws {RequiredError}
|
|
288
294
|
*/
|
|
289
|
-
async apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
295
|
+
async apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
291
297
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
298
|
},
|
|
293
299
|
/**
|
|
@@ -340,6 +346,7 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
340
346
|
* @param {string} [specialtyTypeId]
|
|
341
347
|
* @param {string} [specialtyTypeName]
|
|
342
348
|
* @param {string} [serviceCategoryId]
|
|
349
|
+
* @param {boolean} [appointmentEnabled]
|
|
343
350
|
* @param {MarketingType} [marketingType]
|
|
344
351
|
* @param {Procedure} [procedure]
|
|
345
352
|
* @param {Date} [created]
|
|
@@ -351,8 +358,8 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
351
358
|
* @param {*} [options] Override http request option.
|
|
352
359
|
* @throws {RequiredError}
|
|
353
360
|
*/
|
|
354
|
-
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
355
|
-
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
361
|
+
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
362
|
+
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
356
363
|
},
|
|
357
364
|
/**
|
|
358
365
|
*
|
|
@@ -381,6 +388,209 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
381
388
|
};
|
|
382
389
|
};
|
|
383
390
|
|
|
391
|
+
/**
|
|
392
|
+
* Request parameters for apiV2ServicesGet operation in ServicesApi.
|
|
393
|
+
* @export
|
|
394
|
+
* @interface ServicesApiApiV2ServicesGetRequest
|
|
395
|
+
*/
|
|
396
|
+
export interface ServicesApiApiV2ServicesGetRequest {
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @type {string}
|
|
400
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
401
|
+
*/
|
|
402
|
+
readonly id?: string
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
408
|
+
*/
|
|
409
|
+
readonly name?: string
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @type {string}
|
|
414
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
415
|
+
*/
|
|
416
|
+
readonly slug?: string
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {string}
|
|
421
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
422
|
+
*/
|
|
423
|
+
readonly hospitalId?: string
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @type {string}
|
|
428
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
429
|
+
*/
|
|
430
|
+
readonly hospitalName?: string
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {string}
|
|
435
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
436
|
+
*/
|
|
437
|
+
readonly hospitalSlug?: string
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
443
|
+
*/
|
|
444
|
+
readonly specialtyId?: string
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {string}
|
|
449
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
450
|
+
*/
|
|
451
|
+
readonly specialtyName?: string
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @type {string}
|
|
456
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
457
|
+
*/
|
|
458
|
+
readonly specialtyTypeId?: string
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
464
|
+
*/
|
|
465
|
+
readonly specialtyTypeName?: string
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @type {string}
|
|
470
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
471
|
+
*/
|
|
472
|
+
readonly serviceCategoryId?: string
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {boolean}
|
|
477
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
478
|
+
*/
|
|
479
|
+
readonly appointmentEnabled?: boolean
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {MarketingType}
|
|
484
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
485
|
+
*/
|
|
486
|
+
readonly marketingType?: MarketingType
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
*
|
|
490
|
+
* @type {Procedure}
|
|
491
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
492
|
+
*/
|
|
493
|
+
readonly procedure?: Procedure
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @type {Date}
|
|
498
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
499
|
+
*/
|
|
500
|
+
readonly created?: Date
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
506
|
+
*/
|
|
507
|
+
readonly languageCode?: string
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {boolean}
|
|
512
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
513
|
+
*/
|
|
514
|
+
readonly returnDefaultValue?: boolean
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {number}
|
|
519
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
520
|
+
*/
|
|
521
|
+
readonly page?: number
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @type {number}
|
|
526
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
527
|
+
*/
|
|
528
|
+
readonly limit?: number
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @type {Date}
|
|
533
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
534
|
+
*/
|
|
535
|
+
readonly lastRetrieved?: Date
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Request parameters for apiV2ServicesServiceIdGet operation in ServicesApi.
|
|
540
|
+
* @export
|
|
541
|
+
* @interface ServicesApiApiV2ServicesServiceIdGetRequest
|
|
542
|
+
*/
|
|
543
|
+
export interface ServicesApiApiV2ServicesServiceIdGetRequest {
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @type {string}
|
|
547
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
548
|
+
*/
|
|
549
|
+
readonly serviceId: string
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
555
|
+
*/
|
|
556
|
+
readonly languageCode?: string
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {boolean}
|
|
561
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
562
|
+
*/
|
|
563
|
+
readonly returnDefaultValue?: boolean
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Request parameters for apiV2ServicesSlugGet operation in ServicesApi.
|
|
568
|
+
* @export
|
|
569
|
+
* @interface ServicesApiApiV2ServicesSlugGetRequest
|
|
570
|
+
*/
|
|
571
|
+
export interface ServicesApiApiV2ServicesSlugGetRequest {
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @type {string}
|
|
575
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
576
|
+
*/
|
|
577
|
+
readonly slug: string
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {string}
|
|
582
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
583
|
+
*/
|
|
584
|
+
readonly languageCode?: string
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
*
|
|
588
|
+
* @type {boolean}
|
|
589
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
590
|
+
*/
|
|
591
|
+
readonly returnDefaultValue?: boolean
|
|
592
|
+
}
|
|
593
|
+
|
|
384
594
|
/**
|
|
385
595
|
* ServicesApi - object-oriented interface
|
|
386
596
|
* @export
|
|
@@ -391,58 +601,36 @@ export class ServicesApi extends BaseAPI {
|
|
|
391
601
|
/**
|
|
392
602
|
*
|
|
393
603
|
* @summary Get all HospitalServices.
|
|
394
|
-
* @param {
|
|
395
|
-
* @param {string} [name]
|
|
396
|
-
* @param {string} [slug]
|
|
397
|
-
* @param {string} [hospitalId]
|
|
398
|
-
* @param {string} [hospitalName]
|
|
399
|
-
* @param {string} [hospitalSlug]
|
|
400
|
-
* @param {string} [specialtyId]
|
|
401
|
-
* @param {string} [specialtyName]
|
|
402
|
-
* @param {string} [specialtyTypeId]
|
|
403
|
-
* @param {string} [specialtyTypeName]
|
|
404
|
-
* @param {string} [serviceCategoryId]
|
|
405
|
-
* @param {MarketingType} [marketingType]
|
|
406
|
-
* @param {Procedure} [procedure]
|
|
407
|
-
* @param {Date} [created]
|
|
408
|
-
* @param {string} [languageCode]
|
|
409
|
-
* @param {boolean} [returnDefaultValue]
|
|
410
|
-
* @param {number} [page]
|
|
411
|
-
* @param {number} [limit]
|
|
412
|
-
* @param {Date} [lastRetrieved]
|
|
604
|
+
* @param {ServicesApiApiV2ServicesGetRequest} requestParameters Request parameters.
|
|
413
605
|
* @param {*} [options] Override http request option.
|
|
414
606
|
* @throws {RequiredError}
|
|
415
607
|
* @memberof ServicesApi
|
|
416
608
|
*/
|
|
417
|
-
public apiV2ServicesGet(
|
|
418
|
-
return ServicesApiFp(this.configuration).apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
609
|
+
public apiV2ServicesGet(requestParameters: ServicesApiApiV2ServicesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
610
|
+
return ServicesApiFp(this.configuration).apiV2ServicesGet(requestParameters.id, requestParameters.name, requestParameters.slug, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.hospitalSlug, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceCategoryId, requestParameters.appointmentEnabled, requestParameters.marketingType, requestParameters.procedure, requestParameters.created, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
419
611
|
}
|
|
420
612
|
|
|
421
613
|
/**
|
|
422
614
|
*
|
|
423
615
|
* @summary
|
|
424
|
-
* @param {
|
|
425
|
-
* @param {string} [languageCode]
|
|
426
|
-
* @param {boolean} [returnDefaultValue]
|
|
616
|
+
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
427
617
|
* @param {*} [options] Override http request option.
|
|
428
618
|
* @throws {RequiredError}
|
|
429
619
|
* @memberof ServicesApi
|
|
430
620
|
*/
|
|
431
|
-
public apiV2ServicesServiceIdGet(
|
|
432
|
-
return ServicesApiFp(this.configuration).apiV2ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
621
|
+
public apiV2ServicesServiceIdGet(requestParameters: ServicesApiApiV2ServicesServiceIdGetRequest, options?: AxiosRequestConfig) {
|
|
622
|
+
return ServicesApiFp(this.configuration).apiV2ServicesServiceIdGet(requestParameters.serviceId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
433
623
|
}
|
|
434
624
|
|
|
435
625
|
/**
|
|
436
626
|
*
|
|
437
627
|
* @summary
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {string} [languageCode]
|
|
440
|
-
* @param {boolean} [returnDefaultValue]
|
|
628
|
+
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
441
629
|
* @param {*} [options] Override http request option.
|
|
442
630
|
* @throws {RequiredError}
|
|
443
631
|
* @memberof ServicesApi
|
|
444
632
|
*/
|
|
445
|
-
public apiV2ServicesSlugGet(
|
|
446
|
-
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
633
|
+
public apiV2ServicesSlugGet(requestParameters: ServicesApiApiV2ServicesSlugGetRequest, options?: AxiosRequestConfig) {
|
|
634
|
+
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
447
635
|
}
|
|
448
636
|
}
|
|
@@ -194,6 +194,62 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Request parameters for apiV2ServicescategoriesGet operation in ServicesCategoriesApi.
|
|
199
|
+
* @export
|
|
200
|
+
* @interface ServicesCategoriesApiApiV2ServicescategoriesGetRequest
|
|
201
|
+
*/
|
|
202
|
+
export interface ServicesCategoriesApiApiV2ServicescategoriesGetRequest {
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {string}
|
|
206
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
207
|
+
*/
|
|
208
|
+
readonly id?: string
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
214
|
+
*/
|
|
215
|
+
readonly name?: string
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
221
|
+
*/
|
|
222
|
+
readonly page?: number
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {number}
|
|
227
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
228
|
+
*/
|
|
229
|
+
readonly limit?: number
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {Date}
|
|
234
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
235
|
+
*/
|
|
236
|
+
readonly lastRetrieved?: Date
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Request parameters for apiV2ServicescategoriesServiceCategoryIdGet operation in ServicesCategoriesApi.
|
|
241
|
+
* @export
|
|
242
|
+
* @interface ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest
|
|
243
|
+
*/
|
|
244
|
+
export interface ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGet
|
|
249
|
+
*/
|
|
250
|
+
readonly serviceCategoryId: string
|
|
251
|
+
}
|
|
252
|
+
|
|
197
253
|
/**
|
|
198
254
|
* ServicesCategoriesApi - object-oriented interface
|
|
199
255
|
* @export
|
|
@@ -204,28 +260,24 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
204
260
|
/**
|
|
205
261
|
*
|
|
206
262
|
* @summary Get all ServiceCategories.
|
|
207
|
-
* @param {
|
|
208
|
-
* @param {string} [name]
|
|
209
|
-
* @param {number} [page]
|
|
210
|
-
* @param {number} [limit]
|
|
211
|
-
* @param {Date} [lastRetrieved]
|
|
263
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesGetRequest} requestParameters Request parameters.
|
|
212
264
|
* @param {*} [options] Override http request option.
|
|
213
265
|
* @throws {RequiredError}
|
|
214
266
|
* @memberof ServicesCategoriesApi
|
|
215
267
|
*/
|
|
216
|
-
public apiV2ServicescategoriesGet(
|
|
217
|
-
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
268
|
+
public apiV2ServicescategoriesGet(requestParameters: ServicesCategoriesApiApiV2ServicescategoriesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
269
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(requestParameters.id, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
218
270
|
}
|
|
219
271
|
|
|
220
272
|
/**
|
|
221
273
|
*
|
|
222
274
|
* @summary Get ServiceCategory.
|
|
223
|
-
* @param {
|
|
275
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest} requestParameters Request parameters.
|
|
224
276
|
* @param {*} [options] Override http request option.
|
|
225
277
|
* @throws {RequiredError}
|
|
226
278
|
* @memberof ServicesCategoriesApi
|
|
227
279
|
*/
|
|
228
|
-
public apiV2ServicescategoriesServiceCategoryIdGet(
|
|
229
|
-
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
280
|
+
public apiV2ServicescategoriesServiceCategoryIdGet(requestParameters: ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest, options?: AxiosRequestConfig) {
|
|
281
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(requestParameters.serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
230
282
|
}
|
|
231
283
|
}
|