ch-api-client-typescript2 4.9.7 → 4.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/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
|
@@ -469,6 +469,188 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
|
|
|
469
469
|
};
|
|
470
470
|
};
|
|
471
471
|
|
|
472
|
+
/**
|
|
473
|
+
* Request parameters for apiV2ConsultationsConsultationIdGet operation in ConsultationsApi.
|
|
474
|
+
* @export
|
|
475
|
+
* @interface ConsultationsApiApiV2ConsultationsConsultationIdGetRequest
|
|
476
|
+
*/
|
|
477
|
+
export interface ConsultationsApiApiV2ConsultationsConsultationIdGetRequest {
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdGet
|
|
482
|
+
*/
|
|
483
|
+
readonly consultationId: string
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {string}
|
|
488
|
+
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdGet
|
|
489
|
+
*/
|
|
490
|
+
readonly languageCode?: string
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Request parameters for apiV2ConsultationsConsultationIdPayPost operation in ConsultationsApi.
|
|
495
|
+
* @export
|
|
496
|
+
* @interface ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest
|
|
497
|
+
*/
|
|
498
|
+
export interface ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest {
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @type {string}
|
|
502
|
+
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPayPost
|
|
503
|
+
*/
|
|
504
|
+
readonly consultationId: string
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Request parameters for apiV2ConsultationsConsultationIdPut operation in ConsultationsApi.
|
|
509
|
+
* @export
|
|
510
|
+
* @interface ConsultationsApiApiV2ConsultationsConsultationIdPutRequest
|
|
511
|
+
*/
|
|
512
|
+
export interface ConsultationsApiApiV2ConsultationsConsultationIdPutRequest {
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @type {string}
|
|
516
|
+
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPut
|
|
517
|
+
*/
|
|
518
|
+
readonly consultationId: string
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {UpdateConsultationCommand}
|
|
523
|
+
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPut
|
|
524
|
+
*/
|
|
525
|
+
readonly updateConsultationCommand?: UpdateConsultationCommand
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Request parameters for apiV2ConsultationsGet operation in ConsultationsApi.
|
|
530
|
+
* @export
|
|
531
|
+
* @interface ConsultationsApiApiV2ConsultationsGetRequest
|
|
532
|
+
*/
|
|
533
|
+
export interface ConsultationsApiApiV2ConsultationsGetRequest {
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
538
|
+
*/
|
|
539
|
+
readonly hospitalId?: string
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
545
|
+
*/
|
|
546
|
+
readonly hospitalName?: string
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
552
|
+
*/
|
|
553
|
+
readonly doctorId?: string
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {string}
|
|
558
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
559
|
+
*/
|
|
560
|
+
readonly doctorName?: string
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
566
|
+
*/
|
|
567
|
+
readonly dealId?: string
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
573
|
+
*/
|
|
574
|
+
readonly dealName?: string
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {boolean}
|
|
579
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
580
|
+
*/
|
|
581
|
+
readonly isOpen?: boolean
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @type {boolean}
|
|
586
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
587
|
+
*/
|
|
588
|
+
readonly isCompleted?: boolean
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @type {ConsultationStatus}
|
|
593
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
594
|
+
*/
|
|
595
|
+
readonly status?: ConsultationStatus
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @type {ConsultationType}
|
|
600
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
601
|
+
*/
|
|
602
|
+
readonly consultationType?: ConsultationType
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
608
|
+
*/
|
|
609
|
+
readonly languageCode?: string
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {number}
|
|
614
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
615
|
+
*/
|
|
616
|
+
readonly page?: number
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {number}
|
|
621
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
622
|
+
*/
|
|
623
|
+
readonly limit?: number
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {Date}
|
|
628
|
+
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
629
|
+
*/
|
|
630
|
+
readonly lastRetrieved?: Date
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Request parameters for apiV2ConsultationsRequestIdPost operation in ConsultationsApi.
|
|
635
|
+
* @export
|
|
636
|
+
* @interface ConsultationsApiApiV2ConsultationsRequestIdPostRequest
|
|
637
|
+
*/
|
|
638
|
+
export interface ConsultationsApiApiV2ConsultationsRequestIdPostRequest {
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof ConsultationsApiApiV2ConsultationsRequestIdPost
|
|
643
|
+
*/
|
|
644
|
+
readonly requestId: string
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {CreateConsultationCommand}
|
|
649
|
+
* @memberof ConsultationsApiApiV2ConsultationsRequestIdPost
|
|
650
|
+
*/
|
|
651
|
+
readonly createConsultationCommand?: CreateConsultationCommand
|
|
652
|
+
}
|
|
653
|
+
|
|
472
654
|
/**
|
|
473
655
|
* ConsultationsApi - object-oriented interface
|
|
474
656
|
* @export
|
|
@@ -479,76 +661,60 @@ export class ConsultationsApi extends BaseAPI {
|
|
|
479
661
|
/**
|
|
480
662
|
*
|
|
481
663
|
* @summary Get consultation.
|
|
482
|
-
* @param {
|
|
483
|
-
* @param {string} [languageCode]
|
|
664
|
+
* @param {ConsultationsApiApiV2ConsultationsConsultationIdGetRequest} requestParameters Request parameters.
|
|
484
665
|
* @param {*} [options] Override http request option.
|
|
485
666
|
* @throws {RequiredError}
|
|
486
667
|
* @memberof ConsultationsApi
|
|
487
668
|
*/
|
|
488
|
-
public apiV2ConsultationsConsultationIdGet(
|
|
489
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
669
|
+
public apiV2ConsultationsConsultationIdGet(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdGetRequest, options?: AxiosRequestConfig) {
|
|
670
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(requestParameters.consultationId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
490
671
|
}
|
|
491
672
|
|
|
492
673
|
/**
|
|
493
674
|
*
|
|
494
675
|
* @summary Pay consultation.
|
|
495
|
-
* @param {
|
|
676
|
+
* @param {ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest} requestParameters Request parameters.
|
|
496
677
|
* @param {*} [options] Override http request option.
|
|
497
678
|
* @throws {RequiredError}
|
|
498
679
|
* @memberof ConsultationsApi
|
|
499
680
|
*/
|
|
500
|
-
public apiV2ConsultationsConsultationIdPayPost(
|
|
501
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPayPost(consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
681
|
+
public apiV2ConsultationsConsultationIdPayPost(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest, options?: AxiosRequestConfig) {
|
|
682
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPayPost(requestParameters.consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
502
683
|
}
|
|
503
684
|
|
|
504
685
|
/**
|
|
505
686
|
*
|
|
506
687
|
* @summary Update consultation.
|
|
507
|
-
* @param {
|
|
508
|
-
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
688
|
+
* @param {ConsultationsApiApiV2ConsultationsConsultationIdPutRequest} requestParameters Request parameters.
|
|
509
689
|
* @param {*} [options] Override http request option.
|
|
510
690
|
* @throws {RequiredError}
|
|
511
691
|
* @memberof ConsultationsApi
|
|
512
692
|
*/
|
|
513
|
-
public apiV2ConsultationsConsultationIdPut(
|
|
514
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPut(consultationId, updateConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
693
|
+
public apiV2ConsultationsConsultationIdPut(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdPutRequest, options?: AxiosRequestConfig) {
|
|
694
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPut(requestParameters.consultationId, requestParameters.updateConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
515
695
|
}
|
|
516
696
|
|
|
517
697
|
/**
|
|
518
698
|
*
|
|
519
699
|
* @summary Get all consultations.
|
|
520
|
-
* @param {
|
|
521
|
-
* @param {string} [hospitalName]
|
|
522
|
-
* @param {string} [doctorId]
|
|
523
|
-
* @param {string} [doctorName]
|
|
524
|
-
* @param {string} [dealId]
|
|
525
|
-
* @param {string} [dealName]
|
|
526
|
-
* @param {boolean} [isOpen]
|
|
527
|
-
* @param {boolean} [isCompleted]
|
|
528
|
-
* @param {ConsultationStatus} [status]
|
|
529
|
-
* @param {ConsultationType} [consultationType]
|
|
530
|
-
* @param {string} [languageCode]
|
|
531
|
-
* @param {number} [page]
|
|
532
|
-
* @param {number} [limit]
|
|
533
|
-
* @param {Date} [lastRetrieved]
|
|
700
|
+
* @param {ConsultationsApiApiV2ConsultationsGetRequest} requestParameters Request parameters.
|
|
534
701
|
* @param {*} [options] Override http request option.
|
|
535
702
|
* @throws {RequiredError}
|
|
536
703
|
* @memberof ConsultationsApi
|
|
537
704
|
*/
|
|
538
|
-
public apiV2ConsultationsGet(
|
|
539
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
705
|
+
public apiV2ConsultationsGet(requestParameters: ConsultationsApiApiV2ConsultationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
706
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.status, requestParameters.consultationType, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
540
707
|
}
|
|
541
708
|
|
|
542
709
|
/**
|
|
543
710
|
*
|
|
544
711
|
* @summary Create consultation.
|
|
545
|
-
* @param {
|
|
546
|
-
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
712
|
+
* @param {ConsultationsApiApiV2ConsultationsRequestIdPostRequest} requestParameters Request parameters.
|
|
547
713
|
* @param {*} [options] Override http request option.
|
|
548
714
|
* @throws {RequiredError}
|
|
549
715
|
* @memberof ConsultationsApi
|
|
550
716
|
*/
|
|
551
|
-
public apiV2ConsultationsRequestIdPost(
|
|
552
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsRequestIdPost(requestId, createConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
717
|
+
public apiV2ConsultationsRequestIdPost(requestParameters: ConsultationsApiApiV2ConsultationsRequestIdPostRequest, options?: AxiosRequestConfig) {
|
|
718
|
+
return ConsultationsApiFp(this.configuration).apiV2ConsultationsRequestIdPost(requestParameters.requestId, requestParameters.createConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
553
719
|
}
|
|
554
720
|
}
|
|
@@ -499,6 +499,237 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
499
499
|
};
|
|
500
500
|
};
|
|
501
501
|
|
|
502
|
+
/**
|
|
503
|
+
* Request parameters for apiV2ContributorsContributorIdGet operation in ContributorsApi.
|
|
504
|
+
* @export
|
|
505
|
+
* @interface ContributorsApiApiV2ContributorsContributorIdGetRequest
|
|
506
|
+
*/
|
|
507
|
+
export interface ContributorsApiApiV2ContributorsContributorIdGetRequest {
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {string}
|
|
511
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdGet
|
|
512
|
+
*/
|
|
513
|
+
readonly contributorId: string
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdGet
|
|
519
|
+
*/
|
|
520
|
+
readonly languageCode?: string
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {boolean}
|
|
525
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdGet
|
|
526
|
+
*/
|
|
527
|
+
readonly returnDefaultValue?: boolean
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Request parameters for apiV2ContributorsContributorIdHandlesGet operation in ContributorsApi.
|
|
532
|
+
* @export
|
|
533
|
+
* @interface ContributorsApiApiV2ContributorsContributorIdHandlesGetRequest
|
|
534
|
+
*/
|
|
535
|
+
export interface ContributorsApiApiV2ContributorsContributorIdHandlesGetRequest {
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {string}
|
|
539
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
540
|
+
*/
|
|
541
|
+
readonly contributorId: string
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {string}
|
|
546
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
547
|
+
*/
|
|
548
|
+
readonly contributorId2?: string
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
554
|
+
*/
|
|
555
|
+
readonly id?: string
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {SnsType}
|
|
560
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
561
|
+
*/
|
|
562
|
+
readonly snsType?: SnsType
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {string}
|
|
567
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
568
|
+
*/
|
|
569
|
+
readonly handle?: string
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {number}
|
|
574
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
575
|
+
*/
|
|
576
|
+
readonly page?: number
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @type {number}
|
|
581
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
582
|
+
*/
|
|
583
|
+
readonly limit?: number
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {Date}
|
|
588
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesGet
|
|
589
|
+
*/
|
|
590
|
+
readonly lastRetrieved?: Date
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* Request parameters for apiV2ContributorsContributorIdHandlesHandleIdGet operation in ContributorsApi.
|
|
595
|
+
* @export
|
|
596
|
+
* @interface ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGetRequest
|
|
597
|
+
*/
|
|
598
|
+
export interface ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGetRequest {
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @type {string}
|
|
602
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGet
|
|
603
|
+
*/
|
|
604
|
+
readonly contributorId: string
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGet
|
|
610
|
+
*/
|
|
611
|
+
readonly handleId: string
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Request parameters for apiV2ContributorsGet operation in ContributorsApi.
|
|
616
|
+
* @export
|
|
617
|
+
* @interface ContributorsApiApiV2ContributorsGetRequest
|
|
618
|
+
*/
|
|
619
|
+
export interface ContributorsApiApiV2ContributorsGetRequest {
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
624
|
+
*/
|
|
625
|
+
readonly id?: string
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @type {string}
|
|
630
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
631
|
+
*/
|
|
632
|
+
readonly name?: string
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
638
|
+
*/
|
|
639
|
+
readonly email?: string
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
*
|
|
643
|
+
* @type {string}
|
|
644
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
645
|
+
*/
|
|
646
|
+
readonly website?: string
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
652
|
+
*/
|
|
653
|
+
readonly hospitalId?: string
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {boolean}
|
|
658
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
659
|
+
*/
|
|
660
|
+
readonly interviewerOnly?: boolean
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {boolean}
|
|
665
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
666
|
+
*/
|
|
667
|
+
readonly showHidden?: boolean
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
673
|
+
*/
|
|
674
|
+
readonly languageCode?: string
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @type {boolean}
|
|
679
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
680
|
+
*/
|
|
681
|
+
readonly returnDefaultValue?: boolean
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @type {number}
|
|
686
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
687
|
+
*/
|
|
688
|
+
readonly page?: number
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {number}
|
|
693
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
694
|
+
*/
|
|
695
|
+
readonly limit?: number
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {Date}
|
|
700
|
+
* @memberof ContributorsApiApiV2ContributorsGet
|
|
701
|
+
*/
|
|
702
|
+
readonly lastRetrieved?: Date
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Request parameters for apiV2ContributorsSlugGet operation in ContributorsApi.
|
|
707
|
+
* @export
|
|
708
|
+
* @interface ContributorsApiApiV2ContributorsSlugGetRequest
|
|
709
|
+
*/
|
|
710
|
+
export interface ContributorsApiApiV2ContributorsSlugGetRequest {
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @type {string}
|
|
714
|
+
* @memberof ContributorsApiApiV2ContributorsSlugGet
|
|
715
|
+
*/
|
|
716
|
+
readonly slug: string
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @type {string}
|
|
721
|
+
* @memberof ContributorsApiApiV2ContributorsSlugGet
|
|
722
|
+
*/
|
|
723
|
+
readonly languageCode?: string
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @type {boolean}
|
|
728
|
+
* @memberof ContributorsApiApiV2ContributorsSlugGet
|
|
729
|
+
*/
|
|
730
|
+
readonly returnDefaultValue?: boolean
|
|
731
|
+
}
|
|
732
|
+
|
|
502
733
|
/**
|
|
503
734
|
* ContributorsApi - object-oriented interface
|
|
504
735
|
* @export
|
|
@@ -509,83 +740,60 @@ export class ContributorsApi extends BaseAPI {
|
|
|
509
740
|
/**
|
|
510
741
|
*
|
|
511
742
|
* @summary Get Contributor.
|
|
512
|
-
* @param {
|
|
513
|
-
* @param {string} [languageCode]
|
|
514
|
-
* @param {boolean} [returnDefaultValue]
|
|
743
|
+
* @param {ContributorsApiApiV2ContributorsContributorIdGetRequest} requestParameters Request parameters.
|
|
515
744
|
* @param {*} [options] Override http request option.
|
|
516
745
|
* @throws {RequiredError}
|
|
517
746
|
* @memberof ContributorsApi
|
|
518
747
|
*/
|
|
519
|
-
public apiV2ContributorsContributorIdGet(
|
|
520
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
748
|
+
public apiV2ContributorsContributorIdGet(requestParameters: ContributorsApiApiV2ContributorsContributorIdGetRequest, options?: AxiosRequestConfig) {
|
|
749
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdGet(requestParameters.contributorId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
521
750
|
}
|
|
522
751
|
|
|
523
752
|
/**
|
|
524
753
|
*
|
|
525
754
|
* @summary Get all ContributorHandles.
|
|
526
|
-
* @param {
|
|
527
|
-
* @param {string} [contributorId2]
|
|
528
|
-
* @param {string} [id]
|
|
529
|
-
* @param {SnsType} [snsType]
|
|
530
|
-
* @param {string} [handle]
|
|
531
|
-
* @param {number} [page]
|
|
532
|
-
* @param {number} [limit]
|
|
533
|
-
* @param {Date} [lastRetrieved]
|
|
755
|
+
* @param {ContributorsApiApiV2ContributorsContributorIdHandlesGetRequest} requestParameters Request parameters.
|
|
534
756
|
* @param {*} [options] Override http request option.
|
|
535
757
|
* @throws {RequiredError}
|
|
536
758
|
* @memberof ContributorsApi
|
|
537
759
|
*/
|
|
538
|
-
public apiV2ContributorsContributorIdHandlesGet(
|
|
539
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesGet(contributorId, contributorId2, id, snsType, handle, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
760
|
+
public apiV2ContributorsContributorIdHandlesGet(requestParameters: ContributorsApiApiV2ContributorsContributorIdHandlesGetRequest, options?: AxiosRequestConfig) {
|
|
761
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesGet(requestParameters.contributorId, requestParameters.contributorId2, requestParameters.id, requestParameters.snsType, requestParameters.handle, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
540
762
|
}
|
|
541
763
|
|
|
542
764
|
/**
|
|
543
765
|
*
|
|
544
766
|
* @summary Get ContributorHandle.
|
|
545
|
-
* @param {
|
|
546
|
-
* @param {string} handleId
|
|
767
|
+
* @param {ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGetRequest} requestParameters Request parameters.
|
|
547
768
|
* @param {*} [options] Override http request option.
|
|
548
769
|
* @throws {RequiredError}
|
|
549
770
|
* @memberof ContributorsApi
|
|
550
771
|
*/
|
|
551
|
-
public apiV2ContributorsContributorIdHandlesHandleIdGet(
|
|
552
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options).then((request) => request(this.axios, this.basePath));
|
|
772
|
+
public apiV2ContributorsContributorIdHandlesHandleIdGet(requestParameters: ContributorsApiApiV2ContributorsContributorIdHandlesHandleIdGetRequest, options?: AxiosRequestConfig) {
|
|
773
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsContributorIdHandlesHandleIdGet(requestParameters.contributorId, requestParameters.handleId, options).then((request) => request(this.axios, this.basePath));
|
|
553
774
|
}
|
|
554
775
|
|
|
555
776
|
/**
|
|
556
777
|
*
|
|
557
778
|
* @summary Get all Contributors.
|
|
558
|
-
* @param {
|
|
559
|
-
* @param {string} [name]
|
|
560
|
-
* @param {string} [email]
|
|
561
|
-
* @param {string} [website]
|
|
562
|
-
* @param {string} [hospitalId]
|
|
563
|
-
* @param {boolean} [interviewerOnly]
|
|
564
|
-
* @param {boolean} [showHidden]
|
|
565
|
-
* @param {string} [languageCode]
|
|
566
|
-
* @param {boolean} [returnDefaultValue]
|
|
567
|
-
* @param {number} [page]
|
|
568
|
-
* @param {number} [limit]
|
|
569
|
-
* @param {Date} [lastRetrieved]
|
|
779
|
+
* @param {ContributorsApiApiV2ContributorsGetRequest} requestParameters Request parameters.
|
|
570
780
|
* @param {*} [options] Override http request option.
|
|
571
781
|
* @throws {RequiredError}
|
|
572
782
|
* @memberof ContributorsApi
|
|
573
783
|
*/
|
|
574
|
-
public apiV2ContributorsGet(
|
|
575
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(id, name, email, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
784
|
+
public apiV2ContributorsGet(requestParameters: ContributorsApiApiV2ContributorsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
785
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsGet(requestParameters.id, requestParameters.name, requestParameters.email, requestParameters.website, requestParameters.hospitalId, requestParameters.interviewerOnly, requestParameters.showHidden, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
576
786
|
}
|
|
577
787
|
|
|
578
788
|
/**
|
|
579
789
|
*
|
|
580
790
|
* @summary Get Contributor by slug.
|
|
581
|
-
* @param {
|
|
582
|
-
* @param {string} [languageCode]
|
|
583
|
-
* @param {boolean} [returnDefaultValue]
|
|
791
|
+
* @param {ContributorsApiApiV2ContributorsSlugGetRequest} requestParameters Request parameters.
|
|
584
792
|
* @param {*} [options] Override http request option.
|
|
585
793
|
* @throws {RequiredError}
|
|
586
794
|
* @memberof ContributorsApi
|
|
587
795
|
*/
|
|
588
|
-
public apiV2ContributorsSlugGet(
|
|
589
|
-
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
796
|
+
public apiV2ContributorsSlugGet(requestParameters: ContributorsApiApiV2ContributorsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
797
|
+
return ContributorsApiFp(this.configuration).apiV2ContributorsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
590
798
|
}
|
|
591
799
|
}
|