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.
Files changed (145) hide show
  1. package/lib/api/about-us-api.d.ts +123 -19
  2. package/lib/api/about-us-api.d.ts.map +1 -1
  3. package/lib/api/about-us-api.js +10 -22
  4. package/lib/api/accreditations-api.d.ts +60 -9
  5. package/lib/api/accreditations-api.d.ts.map +1 -1
  6. package/lib/api/accreditations-api.js +7 -11
  7. package/lib/api/app-version-api.d.ts +15 -2
  8. package/lib/api/app-version-api.d.ts.map +1 -1
  9. package/lib/api/app-version-api.js +3 -3
  10. package/lib/api/appointments-api.d.ts +201 -31
  11. package/lib/api/appointments-api.d.ts.map +1 -1
  12. package/lib/api/appointments-api.js +16 -36
  13. package/lib/api/articles-api.d.ts +453 -70
  14. package/lib/api/articles-api.d.ts.map +1 -1
  15. package/lib/api/articles-api.js +34 -81
  16. package/lib/api/bookings-api.d.ts +183 -28
  17. package/lib/api/bookings-api.d.ts.map +1 -1
  18. package/lib/api/bookings-api.js +16 -33
  19. package/lib/api/chat-users-api.d.ts +84 -12
  20. package/lib/api/chat-users-api.d.ts.map +1 -1
  21. package/lib/api/chat-users-api.js +15 -16
  22. package/lib/api/consultations-api.d.ts +171 -26
  23. package/lib/api/consultations-api.d.ts.map +1 -1
  24. package/lib/api/consultations-api.js +16 -31
  25. package/lib/api/contributors-api.d.ts +213 -33
  26. package/lib/api/contributors-api.d.ts.map +1 -1
  27. package/lib/api/contributors-api.js +16 -38
  28. package/lib/api/countries-api.d.ts +189 -29
  29. package/lib/api/countries-api.d.ts.map +1 -1
  30. package/lib/api/countries-api.js +16 -34
  31. package/lib/api/deals-api.d.ts +630 -103
  32. package/lib/api/deals-api.d.ts.map +1 -1
  33. package/lib/api/deals-api.js +65 -119
  34. package/lib/api/devices-api.d.ts +150 -22
  35. package/lib/api/devices-api.d.ts.map +1 -1
  36. package/lib/api/devices-api.js +20 -28
  37. package/lib/api/doctor-affiliations-api.d.ts +252 -40
  38. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  39. package/lib/api/doctor-affiliations-api.js +30 -48
  40. package/lib/api/doctors-api.d.ts +675 -105
  41. package/lib/api/doctors-api.d.ts.map +1 -1
  42. package/lib/api/doctors-api.js +47 -120
  43. package/lib/api/faq-categories-api.d.ts +117 -18
  44. package/lib/api/faq-categories-api.d.ts.map +1 -1
  45. package/lib/api/faq-categories-api.js +10 -21
  46. package/lib/api/faqs-api.d.ts +249 -38
  47. package/lib/api/faqs-api.d.ts.map +1 -1
  48. package/lib/api/faqs-api.js +22 -45
  49. package/lib/api/group-channels-api.d.ts +117 -17
  50. package/lib/api/group-channels-api.d.ts.map +1 -1
  51. package/lib/api/group-channels-api.js +15 -22
  52. package/lib/api/header-navigations-api.d.ts +15 -2
  53. package/lib/api/header-navigations-api.d.ts.map +1 -1
  54. package/lib/api/header-navigations-api.js +3 -3
  55. package/lib/api/hospitals-api.d.ts +1695 -270
  56. package/lib/api/hospitals-api.d.ts.map +1 -1
  57. package/lib/api/hospitals-api.js +162 -315
  58. package/lib/api/hospitals-consultation-timetables-api.d.ts +39 -6
  59. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
  60. package/lib/api/hospitals-consultation-timetables-api.js +3 -7
  61. package/lib/api/images-api.d.ts +15 -2
  62. package/lib/api/images-api.d.ts.map +1 -1
  63. package/lib/api/images-api.js +4 -3
  64. package/lib/api/languages-api.d.ts +66 -10
  65. package/lib/api/languages-api.d.ts.map +1 -1
  66. package/lib/api/languages-api.js +7 -12
  67. package/lib/api/memberships-api.d.ts +111 -17
  68. package/lib/api/memberships-api.d.ts.map +1 -1
  69. package/lib/api/memberships-api.js +10 -20
  70. package/lib/api/notifications-api.d.ts +54 -8
  71. package/lib/api/notifications-api.d.ts.map +1 -1
  72. package/lib/api/notifications-api.js +8 -10
  73. package/lib/api/origins-api.d.ts +45 -6
  74. package/lib/api/origins-api.d.ts.map +1 -1
  75. package/lib/api/origins-api.js +11 -9
  76. package/lib/api/patients-api.d.ts +96 -13
  77. package/lib/api/patients-api.d.ts.map +1 -1
  78. package/lib/api/patients-api.js +19 -19
  79. package/lib/api/plans-api.d.ts +108 -16
  80. package/lib/api/plans-api.d.ts.map +1 -1
  81. package/lib/api/plans-api.js +13 -20
  82. package/lib/api/profiles-api.d.ts +75 -10
  83. package/lib/api/profiles-api.d.ts.map +1 -1
  84. package/lib/api/profiles-api.js +19 -15
  85. package/lib/api/service-reviews-api.d.ts +312 -47
  86. package/lib/api/service-reviews-api.d.ts.map +1 -1
  87. package/lib/api/service-reviews-api.js +32 -57
  88. package/lib/api/services-api.d.ts +189 -31
  89. package/lib/api/services-api.d.ts.map +1 -1
  90. package/lib/api/services-api.js +21 -36
  91. package/lib/api/services-categories-api.d.ts +54 -8
  92. package/lib/api/services-categories-api.d.ts.map +1 -1
  93. package/lib/api/services-categories-api.js +7 -10
  94. package/lib/api/specialties-api.d.ts +294 -46
  95. package/lib/api/specialties-api.d.ts.map +1 -1
  96. package/lib/api/specialties-api.js +20 -52
  97. package/lib/api/specialty-types-api.d.ts +306 -48
  98. package/lib/api/specialty-types-api.d.ts.map +1 -1
  99. package/lib/api/specialty-types-api.js +20 -54
  100. package/lib/api/survey-forms-api.d.ts +21 -3
  101. package/lib/api/survey-forms-api.d.ts.map +1 -1
  102. package/lib/api/survey-forms-api.js +3 -4
  103. package/lib/api/survey-results-api.d.ts +15 -2
  104. package/lib/api/survey-results-api.d.ts.map +1 -1
  105. package/lib/api/survey-results-api.js +4 -3
  106. package/lib/api/tags-api.d.ts +54 -8
  107. package/lib/api/tags-api.d.ts.map +1 -1
  108. package/lib/api/tags-api.js +7 -10
  109. package/package.json +2 -2
  110. package/src/api/about-us-api.ts +142 -22
  111. package/src/api/accreditations-api.ts +69 -11
  112. package/src/api/app-version-api.ts +17 -3
  113. package/src/api/appointments-api.ts +232 -36
  114. package/src/api/articles-api.ts +523 -81
  115. package/src/api/bookings-api.ts +211 -33
  116. package/src/api/chat-users-api.ts +96 -16
  117. package/src/api/consultations-api.ts +197 -31
  118. package/src/api/contributors-api.ts +246 -38
  119. package/src/api/countries-api.ts +218 -34
  120. package/src/api/deals-api.ts +745 -119
  121. package/src/api/devices-api.ts +172 -28
  122. package/src/api/doctor-affiliations-api.ts +296 -48
  123. package/src/api/doctors-api.ts +780 -120
  124. package/src/api/faq-categories-api.ts +135 -21
  125. package/src/api/faqs-api.ts +287 -45
  126. package/src/api/group-channels-api.ts +134 -22
  127. package/src/api/header-navigations-api.ts +17 -3
  128. package/src/api/hospitals-api.ts +1985 -315
  129. package/src/api/hospitals-consultation-timetables-api.ts +45 -7
  130. package/src/api/images-api.ts +17 -3
  131. package/src/api/languages-api.ts +76 -12
  132. package/src/api/memberships-api.ts +128 -20
  133. package/src/api/notifications-api.ts +62 -10
  134. package/src/api/origins-api.ts +51 -9
  135. package/src/api/patients-api.ts +109 -19
  136. package/src/api/plans-api.ts +124 -20
  137. package/src/api/profiles-api.ts +85 -15
  138. package/src/api/service-reviews-api.ts +359 -57
  139. package/src/api/services-api.ts +224 -36
  140. package/src/api/services-categories-api.ts +62 -10
  141. package/src/api/specialties-api.ts +340 -52
  142. package/src/api/specialty-types-api.ts +354 -54
  143. package/src/api/survey-forms-api.ts +24 -4
  144. package/src/api/survey-results-api.ts +17 -3
  145. package/src/api/tags-api.ts +62 -10
@@ -210,6 +210,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
210
210
  * @param {string} [countryId]
211
211
  * @param {string} [exceptDoctorId]
212
212
  * @param {boolean} [consultationEnabled]
213
+ * @param {boolean} [appointmentEnabled]
213
214
  * @param {string} [languageCode]
214
215
  * @param {number} [page]
215
216
  * @param {number} [limit]
@@ -217,7 +218,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
217
218
  * @param {*} [options] Override http request option.
218
219
  * @throws {RequiredError}
219
220
  */
220
- apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
221
+ apiV2DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, appointmentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
221
222
  const localVarPath = `/api/v2/doctoraffiliations`;
222
223
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
223
224
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -270,6 +271,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
270
271
  localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
271
272
  }
272
273
 
274
+ if (appointmentEnabled !== undefined) {
275
+ localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
276
+ }
277
+
273
278
  if (languageCode !== undefined) {
274
279
  localVarQueryParameter['LanguageCode'] = languageCode;
275
280
  }
@@ -443,6 +448,7 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
443
448
  * @param {string} [countryId]
444
449
  * @param {string} [exceptDoctorId]
445
450
  * @param {boolean} [consultationEnabled]
451
+ * @param {boolean} [appointmentEnabled]
446
452
  * @param {string} [languageCode]
447
453
  * @param {number} [page]
448
454
  * @param {number} [limit]
@@ -450,8 +456,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
450
456
  * @param {*} [options] Override http request option.
451
457
  * @throws {RequiredError}
452
458
  */
453
- async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
454
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options);
459
+ async apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, appointmentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
460
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, appointmentEnabled, languageCode, page, limit, lastRetrieved, options);
455
461
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
456
462
  },
457
463
  /**
@@ -541,6 +547,7 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
541
547
  * @param {string} [countryId]
542
548
  * @param {string} [exceptDoctorId]
543
549
  * @param {boolean} [consultationEnabled]
550
+ * @param {boolean} [appointmentEnabled]
544
551
  * @param {string} [languageCode]
545
552
  * @param {number} [page]
546
553
  * @param {number} [limit]
@@ -548,8 +555,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
548
555
  * @param {*} [options] Override http request option.
549
556
  * @throws {RequiredError}
550
557
  */
551
- apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
552
- return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
558
+ apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, appointmentEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
559
+ return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, appointmentEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
553
560
  },
554
561
  /**
555
562
  *
@@ -576,6 +583,272 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
576
583
  };
577
584
  };
578
585
 
586
+ /**
587
+ * Request parameters for apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet operation in DoctorAffiliationsApi.
588
+ * @export
589
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest
590
+ */
591
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest {
592
+ /**
593
+ *
594
+ * @type {string}
595
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
596
+ */
597
+ readonly doctorAffiliationId: string
598
+
599
+ /**
600
+ *
601
+ * @type {number}
602
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
603
+ */
604
+ readonly year?: number
605
+
606
+ /**
607
+ *
608
+ * @type {number}
609
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
610
+ */
611
+ readonly month?: number
612
+
613
+ /**
614
+ *
615
+ * @type {string}
616
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
617
+ */
618
+ readonly timeZone?: string
619
+
620
+ /**
621
+ *
622
+ * @type {string}
623
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
624
+ */
625
+ readonly appointmentIdExcluded?: string
626
+ }
627
+
628
+ /**
629
+ * Request parameters for apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet operation in DoctorAffiliationsApi.
630
+ * @export
631
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGetRequest
632
+ */
633
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGetRequest {
634
+ /**
635
+ *
636
+ * @type {string}
637
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
638
+ */
639
+ readonly doctorAffiliationId: string
640
+
641
+ /**
642
+ *
643
+ * @type {string}
644
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
645
+ */
646
+ readonly id?: string
647
+
648
+ /**
649
+ *
650
+ * @type {MediaType}
651
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
652
+ */
653
+ readonly mediaType?: MediaType
654
+
655
+ /**
656
+ *
657
+ * @type {number}
658
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
659
+ */
660
+ readonly page?: number
661
+
662
+ /**
663
+ *
664
+ * @type {number}
665
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
666
+ */
667
+ readonly limit?: number
668
+
669
+ /**
670
+ *
671
+ * @type {Date}
672
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGet
673
+ */
674
+ readonly lastRetrieved?: Date
675
+ }
676
+
677
+ /**
678
+ * Request parameters for apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet operation in DoctorAffiliationsApi.
679
+ * @export
680
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest
681
+ */
682
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest {
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet
687
+ */
688
+ readonly doctorAffiliationId: string
689
+
690
+ /**
691
+ *
692
+ * @type {string}
693
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet
694
+ */
695
+ readonly mediaId: string
696
+ }
697
+
698
+ /**
699
+ * Request parameters for apiV2DoctoraffiliationsGet operation in DoctorAffiliationsApi.
700
+ * @export
701
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest
702
+ */
703
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest {
704
+ /**
705
+ *
706
+ * @type {string}
707
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
708
+ */
709
+ readonly hospitalId?: string
710
+
711
+ /**
712
+ *
713
+ * @type {string}
714
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
715
+ */
716
+ readonly hospitalName?: string
717
+
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
722
+ */
723
+ readonly doctorId?: string
724
+
725
+ /**
726
+ *
727
+ * @type {string}
728
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
729
+ */
730
+ readonly doctorName?: string
731
+
732
+ /**
733
+ *
734
+ * @type {string}
735
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
736
+ */
737
+ readonly doctorSlug?: string
738
+
739
+ /**
740
+ *
741
+ * @type {string}
742
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
743
+ */
744
+ readonly specialtyId?: string
745
+
746
+ /**
747
+ *
748
+ * @type {MarketingType}
749
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
750
+ */
751
+ readonly marketingType?: MarketingType
752
+
753
+ /**
754
+ *
755
+ * @type {string}
756
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
757
+ */
758
+ readonly countryId?: string
759
+
760
+ /**
761
+ *
762
+ * @type {string}
763
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
764
+ */
765
+ readonly exceptDoctorId?: string
766
+
767
+ /**
768
+ *
769
+ * @type {boolean}
770
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
771
+ */
772
+ readonly consultationEnabled?: boolean
773
+
774
+ /**
775
+ *
776
+ * @type {boolean}
777
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
778
+ */
779
+ readonly appointmentEnabled?: boolean
780
+
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
785
+ */
786
+ readonly languageCode?: string
787
+
788
+ /**
789
+ *
790
+ * @type {number}
791
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
792
+ */
793
+ readonly page?: number
794
+
795
+ /**
796
+ *
797
+ * @type {number}
798
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
799
+ */
800
+ readonly limit?: number
801
+
802
+ /**
803
+ *
804
+ * @type {Date}
805
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsGet
806
+ */
807
+ readonly lastRetrieved?: Date
808
+ }
809
+
810
+ /**
811
+ * Request parameters for apiV2DoctoraffiliationsIdGet operation in DoctorAffiliationsApi.
812
+ * @export
813
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest
814
+ */
815
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest {
816
+ /**
817
+ *
818
+ * @type {string}
819
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsIdGet
820
+ */
821
+ readonly id: string
822
+
823
+ /**
824
+ *
825
+ * @type {string}
826
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsIdGet
827
+ */
828
+ readonly languageCode?: string
829
+ }
830
+
831
+ /**
832
+ * Request parameters for apiV2DoctoraffiliationsSlugGet operation in DoctorAffiliationsApi.
833
+ * @export
834
+ * @interface DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest
835
+ */
836
+ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest {
837
+ /**
838
+ *
839
+ * @type {string}
840
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGet
841
+ */
842
+ readonly slug: string
843
+
844
+ /**
845
+ *
846
+ * @type {string}
847
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGet
848
+ */
849
+ readonly languageCode?: string
850
+ }
851
+
579
852
  /**
580
853
  * DoctorAffiliationsApi - object-oriented interface
581
854
  * @export
@@ -586,97 +859,72 @@ export class DoctorAffiliationsApi extends BaseAPI {
586
859
  /**
587
860
  *
588
861
  * @summary Get DoctorAffiliationAppointmentTimetables
589
- * @param {string} doctorAffiliationId
590
- * @param {number} [year]
591
- * @param {number} [month]
592
- * @param {string} [timeZone]
593
- * @param {string} [appointmentIdExcluded]
862
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
594
863
  * @param {*} [options] Override http request option.
595
864
  * @throws {RequiredError}
596
865
  * @memberof DoctorAffiliationsApi
597
866
  */
598
- public apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
599
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
867
+ public apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
868
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
600
869
  }
601
870
 
602
871
  /**
603
872
  *
604
873
  * @summary Get all DoctorAffiliationMedias.
605
- * @param {string} doctorAffiliationId
606
- * @param {string} [id]
607
- * @param {MediaType} [mediaType]
608
- * @param {number} [page]
609
- * @param {number} [limit]
610
- * @param {Date} [lastRetrieved]
874
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGetRequest} requestParameters Request parameters.
611
875
  * @param {*} [options] Override http request option.
612
876
  * @throws {RequiredError}
613
877
  * @memberof DoctorAffiliationsApi
614
878
  */
615
- public apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
616
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
879
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasGetRequest, options?: AxiosRequestConfig) {
880
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(requestParameters.doctorAffiliationId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
617
881
  }
618
882
 
619
883
  /**
620
884
  *
621
885
  * @summary Get DoctorAffiliationMedia.
622
- * @param {string} doctorAffiliationId
623
- * @param {string} mediaId
886
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest} requestParameters Request parameters.
624
887
  * @param {*} [options] Override http request option.
625
888
  * @throws {RequiredError}
626
889
  * @memberof DoctorAffiliationsApi
627
890
  */
628
- public apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
629
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
891
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
892
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(requestParameters.doctorAffiliationId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
630
893
  }
631
894
 
632
895
  /**
633
896
  *
634
897
  * @summary Get all doctor affiliations.
635
- * @param {string} [hospitalId]
636
- * @param {string} [hospitalName]
637
- * @param {string} [doctorId]
638
- * @param {string} [doctorName]
639
- * @param {string} [doctorSlug]
640
- * @param {string} [specialtyId]
641
- * @param {MarketingType} [marketingType]
642
- * @param {string} [countryId]
643
- * @param {string} [exceptDoctorId]
644
- * @param {boolean} [consultationEnabled]
645
- * @param {string} [languageCode]
646
- * @param {number} [page]
647
- * @param {number} [limit]
648
- * @param {Date} [lastRetrieved]
898
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest} requestParameters Request parameters.
649
899
  * @param {*} [options] Override http request option.
650
900
  * @throws {RequiredError}
651
901
  * @memberof DoctorAffiliationsApi
652
902
  */
653
- public apiV2DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, exceptDoctorId?: string, consultationEnabled?: boolean, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
654
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, exceptDoctorId, consultationEnabled, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
903
+ public apiV2DoctoraffiliationsGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsGetRequest = {}, options?: AxiosRequestConfig) {
904
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.doctorSlug, requestParameters.specialtyId, requestParameters.marketingType, requestParameters.countryId, requestParameters.exceptDoctorId, requestParameters.consultationEnabled, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
655
905
  }
656
906
 
657
907
  /**
658
908
  *
659
909
  * @summary Get doctor affiliation.
660
- * @param {string} id
661
- * @param {string} [languageCode]
910
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest} requestParameters Request parameters.
662
911
  * @param {*} [options] Override http request option.
663
912
  * @throws {RequiredError}
664
913
  * @memberof DoctorAffiliationsApi
665
914
  */
666
- public apiV2DoctoraffiliationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig) {
667
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then((request) => request(this.axios, this.basePath));
915
+ public apiV2DoctoraffiliationsIdGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsIdGetRequest, options?: AxiosRequestConfig) {
916
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsIdGet(requestParameters.id, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
668
917
  }
669
918
 
670
919
  /**
671
920
  *
672
921
  * @summary
673
- * @param {string} slug
674
- * @param {string} [languageCode]
922
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest} requestParameters Request parameters.
675
923
  * @param {*} [options] Override http request option.
676
924
  * @throws {RequiredError}
677
925
  * @memberof DoctorAffiliationsApi
678
926
  */
679
- public apiV2DoctoraffiliationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
680
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
927
+ public apiV2DoctoraffiliationsSlugGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsSlugGetRequest, options?: AxiosRequestConfig) {
928
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsSlugGet(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
681
929
  }
682
930
  }