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
@@ -305,6 +305,132 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
305
305
  };
306
306
  };
307
307
 
308
+ /**
309
+ * Request parameters for apiV2FaqcategoriesFaqCategoryIdGet operation in FaqCategoriesApi.
310
+ * @export
311
+ * @interface FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGetRequest
312
+ */
313
+ export interface FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGetRequest {
314
+ /**
315
+ *
316
+ * @type {string}
317
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGet
318
+ */
319
+ readonly faqCategoryId: string
320
+
321
+ /**
322
+ *
323
+ * @type {string}
324
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGet
325
+ */
326
+ readonly languageCode?: string
327
+ }
328
+
329
+ /**
330
+ * Request parameters for apiV2FaqcategoriesGet operation in FaqCategoriesApi.
331
+ * @export
332
+ * @interface FaqCategoriesApiApiV2FaqcategoriesGetRequest
333
+ */
334
+ export interface FaqCategoriesApiApiV2FaqcategoriesGetRequest {
335
+ /**
336
+ *
337
+ * @type {string}
338
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
339
+ */
340
+ readonly id?: string
341
+
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
346
+ */
347
+ readonly parentId?: string
348
+
349
+ /**
350
+ *
351
+ * @type {string}
352
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
353
+ */
354
+ readonly name?: string
355
+
356
+ /**
357
+ *
358
+ * @type {string}
359
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
360
+ */
361
+ readonly hospitalId?: string
362
+
363
+ /**
364
+ *
365
+ * @type {string}
366
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
367
+ */
368
+ readonly hospitalName?: string
369
+
370
+ /**
371
+ *
372
+ * @type {string}
373
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
374
+ */
375
+ readonly languageCode?: string
376
+
377
+ /**
378
+ *
379
+ * @type {boolean}
380
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
381
+ */
382
+ readonly showHidden?: boolean
383
+
384
+ /**
385
+ *
386
+ * @type {boolean}
387
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
388
+ */
389
+ readonly returnDefaultValue?: boolean
390
+
391
+ /**
392
+ *
393
+ * @type {number}
394
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
395
+ */
396
+ readonly page?: number
397
+
398
+ /**
399
+ *
400
+ * @type {number}
401
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
402
+ */
403
+ readonly limit?: number
404
+
405
+ /**
406
+ *
407
+ * @type {Date}
408
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesGet
409
+ */
410
+ readonly lastRetrieved?: Date
411
+ }
412
+
413
+ /**
414
+ * Request parameters for apiV2FaqcategoriesSlugGet operation in FaqCategoriesApi.
415
+ * @export
416
+ * @interface FaqCategoriesApiApiV2FaqcategoriesSlugGetRequest
417
+ */
418
+ export interface FaqCategoriesApiApiV2FaqcategoriesSlugGetRequest {
419
+ /**
420
+ *
421
+ * @type {string}
422
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesSlugGet
423
+ */
424
+ readonly slug: string
425
+
426
+ /**
427
+ *
428
+ * @type {string}
429
+ * @memberof FaqCategoriesApiApiV2FaqcategoriesSlugGet
430
+ */
431
+ readonly languageCode?: string
432
+ }
433
+
308
434
  /**
309
435
  * FaqCategoriesApi - object-oriented interface
310
436
  * @export
@@ -315,48 +441,36 @@ export class FaqCategoriesApi extends BaseAPI {
315
441
  /**
316
442
  *
317
443
  * @summary Get FaqCategory.
318
- * @param {string} faqCategoryId
319
- * @param {string} [languageCode]
444
+ * @param {FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGetRequest} requestParameters Request parameters.
320
445
  * @param {*} [options] Override http request option.
321
446
  * @throws {RequiredError}
322
447
  * @memberof FaqCategoriesApi
323
448
  */
324
- public apiV2FaqcategoriesFaqCategoryIdGet(faqCategoryId: string, languageCode?: string, options?: AxiosRequestConfig) {
325
- return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then((request) => request(this.axios, this.basePath));
449
+ public apiV2FaqcategoriesFaqCategoryIdGet(requestParameters: FaqCategoriesApiApiV2FaqcategoriesFaqCategoryIdGetRequest, options?: AxiosRequestConfig) {
450
+ return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesFaqCategoryIdGet(requestParameters.faqCategoryId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
326
451
  }
327
452
 
328
453
  /**
329
454
  *
330
455
  * @summary Get all FaqCategories.
331
- * @param {string} [id]
332
- * @param {string} [parentId]
333
- * @param {string} [name]
334
- * @param {string} [hospitalId]
335
- * @param {string} [hospitalName]
336
- * @param {string} [languageCode]
337
- * @param {boolean} [showHidden]
338
- * @param {boolean} [returnDefaultValue]
339
- * @param {number} [page]
340
- * @param {number} [limit]
341
- * @param {Date} [lastRetrieved]
456
+ * @param {FaqCategoriesApiApiV2FaqcategoriesGetRequest} requestParameters Request parameters.
342
457
  * @param {*} [options] Override http request option.
343
458
  * @throws {RequiredError}
344
459
  * @memberof FaqCategoriesApi
345
460
  */
346
- public apiV2FaqcategoriesGet(id?: string, parentId?: string, name?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
347
- return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesGet(id, parentId, name, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
461
+ public apiV2FaqcategoriesGet(requestParameters: FaqCategoriesApiApiV2FaqcategoriesGetRequest = {}, options?: AxiosRequestConfig) {
462
+ return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesGet(requestParameters.id, requestParameters.parentId, requestParameters.name, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
348
463
  }
349
464
 
350
465
  /**
351
466
  *
352
467
  * @summary Get FaqCategory by slug.
353
- * @param {string} slug
354
- * @param {string} [languageCode]
468
+ * @param {FaqCategoriesApiApiV2FaqcategoriesSlugGetRequest} requestParameters Request parameters.
355
469
  * @param {*} [options] Override http request option.
356
470
  * @throws {RequiredError}
357
471
  * @memberof FaqCategoriesApi
358
472
  */
359
- public apiV2FaqcategoriesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
360
- return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
473
+ public apiV2FaqcategoriesSlugGet(requestParameters: FaqCategoriesApiApiV2FaqcategoriesSlugGetRequest, options?: AxiosRequestConfig) {
474
+ return FaqCategoriesApiFp(this.configuration).apiV2FaqcategoriesSlugGet(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
361
475
  }
362
476
  }
@@ -621,6 +621,272 @@ export const FaqsApiFactory = function (configuration?: Configuration, basePath?
621
621
  };
622
622
  };
623
623
 
624
+ /**
625
+ * Request parameters for apiV2FaqsFaqIdGet operation in FaqsApi.
626
+ * @export
627
+ * @interface FaqsApiApiV2FaqsFaqIdGetRequest
628
+ */
629
+ export interface FaqsApiApiV2FaqsFaqIdGetRequest {
630
+ /**
631
+ *
632
+ * @type {string}
633
+ * @memberof FaqsApiApiV2FaqsFaqIdGet
634
+ */
635
+ readonly faqId: string
636
+
637
+ /**
638
+ *
639
+ * @type {string}
640
+ * @memberof FaqsApiApiV2FaqsFaqIdGet
641
+ */
642
+ readonly languageCode?: string
643
+ }
644
+
645
+ /**
646
+ * Request parameters for apiV2FaqsFaqIdMediasGet operation in FaqsApi.
647
+ * @export
648
+ * @interface FaqsApiApiV2FaqsFaqIdMediasGetRequest
649
+ */
650
+ export interface FaqsApiApiV2FaqsFaqIdMediasGetRequest {
651
+ /**
652
+ *
653
+ * @type {string}
654
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
655
+ */
656
+ readonly faqId: string
657
+
658
+ /**
659
+ *
660
+ * @type {string}
661
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
662
+ */
663
+ readonly id?: string
664
+
665
+ /**
666
+ *
667
+ * @type {MediaType}
668
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
669
+ */
670
+ readonly mediaType?: MediaType
671
+
672
+ /**
673
+ *
674
+ * @type {number}
675
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
676
+ */
677
+ readonly page?: number
678
+
679
+ /**
680
+ *
681
+ * @type {number}
682
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
683
+ */
684
+ readonly limit?: number
685
+
686
+ /**
687
+ *
688
+ * @type {Date}
689
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasGet
690
+ */
691
+ readonly lastRetrieved?: Date
692
+ }
693
+
694
+ /**
695
+ * Request parameters for apiV2FaqsFaqIdMediasMediaIdGet operation in FaqsApi.
696
+ * @export
697
+ * @interface FaqsApiApiV2FaqsFaqIdMediasMediaIdGetRequest
698
+ */
699
+ export interface FaqsApiApiV2FaqsFaqIdMediasMediaIdGetRequest {
700
+ /**
701
+ *
702
+ * @type {string}
703
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasMediaIdGet
704
+ */
705
+ readonly faqId: string
706
+
707
+ /**
708
+ *
709
+ * @type {string}
710
+ * @memberof FaqsApiApiV2FaqsFaqIdMediasMediaIdGet
711
+ */
712
+ readonly mediaId: string
713
+ }
714
+
715
+ /**
716
+ * Request parameters for apiV2FaqsFaqIdTagsGet operation in FaqsApi.
717
+ * @export
718
+ * @interface FaqsApiApiV2FaqsFaqIdTagsGetRequest
719
+ */
720
+ export interface FaqsApiApiV2FaqsFaqIdTagsGetRequest {
721
+ /**
722
+ *
723
+ * @type {string}
724
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsGet
725
+ */
726
+ readonly faqId: string
727
+
728
+ /**
729
+ *
730
+ * @type {string}
731
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsGet
732
+ */
733
+ readonly tagId?: string
734
+
735
+ /**
736
+ *
737
+ * @type {number}
738
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsGet
739
+ */
740
+ readonly page?: number
741
+
742
+ /**
743
+ *
744
+ * @type {number}
745
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsGet
746
+ */
747
+ readonly limit?: number
748
+
749
+ /**
750
+ *
751
+ * @type {Date}
752
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsGet
753
+ */
754
+ readonly lastRetrieved?: Date
755
+ }
756
+
757
+ /**
758
+ * Request parameters for apiV2FaqsFaqIdTagsTagIdGet operation in FaqsApi.
759
+ * @export
760
+ * @interface FaqsApiApiV2FaqsFaqIdTagsTagIdGetRequest
761
+ */
762
+ export interface FaqsApiApiV2FaqsFaqIdTagsTagIdGetRequest {
763
+ /**
764
+ *
765
+ * @type {string}
766
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsTagIdGet
767
+ */
768
+ readonly faqId: string
769
+
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof FaqsApiApiV2FaqsFaqIdTagsTagIdGet
774
+ */
775
+ readonly tagId: string
776
+ }
777
+
778
+ /**
779
+ * Request parameters for apiV2FaqsGet operation in FaqsApi.
780
+ * @export
781
+ * @interface FaqsApiApiV2FaqsGetRequest
782
+ */
783
+ export interface FaqsApiApiV2FaqsGetRequest {
784
+ /**
785
+ *
786
+ * @type {string}
787
+ * @memberof FaqsApiApiV2FaqsGet
788
+ */
789
+ readonly id?: string
790
+
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof FaqsApiApiV2FaqsGet
795
+ */
796
+ readonly name?: string
797
+
798
+ /**
799
+ *
800
+ * @type {string}
801
+ * @memberof FaqsApiApiV2FaqsGet
802
+ */
803
+ readonly slug?: string
804
+
805
+ /**
806
+ *
807
+ * @type {string}
808
+ * @memberof FaqsApiApiV2FaqsGet
809
+ */
810
+ readonly categoryId?: string
811
+
812
+ /**
813
+ *
814
+ * @type {string}
815
+ * @memberof FaqsApiApiV2FaqsGet
816
+ */
817
+ readonly hospitalId?: string
818
+
819
+ /**
820
+ *
821
+ * @type {string}
822
+ * @memberof FaqsApiApiV2FaqsGet
823
+ */
824
+ readonly hospitalName?: string
825
+
826
+ /**
827
+ *
828
+ * @type {string}
829
+ * @memberof FaqsApiApiV2FaqsGet
830
+ */
831
+ readonly languageCode?: string
832
+
833
+ /**
834
+ *
835
+ * @type {boolean}
836
+ * @memberof FaqsApiApiV2FaqsGet
837
+ */
838
+ readonly showHidden?: boolean
839
+
840
+ /**
841
+ *
842
+ * @type {boolean}
843
+ * @memberof FaqsApiApiV2FaqsGet
844
+ */
845
+ readonly returnDefaultValue?: boolean
846
+
847
+ /**
848
+ *
849
+ * @type {number}
850
+ * @memberof FaqsApiApiV2FaqsGet
851
+ */
852
+ readonly page?: number
853
+
854
+ /**
855
+ *
856
+ * @type {number}
857
+ * @memberof FaqsApiApiV2FaqsGet
858
+ */
859
+ readonly limit?: number
860
+
861
+ /**
862
+ *
863
+ * @type {Date}
864
+ * @memberof FaqsApiApiV2FaqsGet
865
+ */
866
+ readonly lastRetrieved?: Date
867
+ }
868
+
869
+ /**
870
+ * Request parameters for apiV2FaqsSlugGet operation in FaqsApi.
871
+ * @export
872
+ * @interface FaqsApiApiV2FaqsSlugGetRequest
873
+ */
874
+ export interface FaqsApiApiV2FaqsSlugGetRequest {
875
+ /**
876
+ *
877
+ * @type {string}
878
+ * @memberof FaqsApiApiV2FaqsSlugGet
879
+ */
880
+ readonly slug: string
881
+
882
+ /**
883
+ *
884
+ * @type {string}
885
+ * @memberof FaqsApiApiV2FaqsSlugGet
886
+ */
887
+ readonly languageCode?: string
888
+ }
889
+
624
890
  /**
625
891
  * FaqsApi - object-oriented interface
626
892
  * @export
@@ -631,108 +897,84 @@ export class FaqsApi extends BaseAPI {
631
897
  /**
632
898
  *
633
899
  * @summary Get faq.
634
- * @param {string} faqId
635
- * @param {string} [languageCode]
900
+ * @param {FaqsApiApiV2FaqsFaqIdGetRequest} requestParameters Request parameters.
636
901
  * @param {*} [options] Override http request option.
637
902
  * @throws {RequiredError}
638
903
  * @memberof FaqsApi
639
904
  */
640
- public apiV2FaqsFaqIdGet(faqId: string, languageCode?: string, options?: AxiosRequestConfig) {
641
- return FaqsApiFp(this.configuration).apiV2FaqsFaqIdGet(faqId, languageCode, options).then((request) => request(this.axios, this.basePath));
905
+ public apiV2FaqsFaqIdGet(requestParameters: FaqsApiApiV2FaqsFaqIdGetRequest, options?: AxiosRequestConfig) {
906
+ return FaqsApiFp(this.configuration).apiV2FaqsFaqIdGet(requestParameters.faqId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
642
907
  }
643
908
 
644
909
  /**
645
910
  *
646
911
  * @summary Get all FaqMedias.
647
- * @param {string} faqId
648
- * @param {string} [id]
649
- * @param {MediaType} [mediaType]
650
- * @param {number} [page]
651
- * @param {number} [limit]
652
- * @param {Date} [lastRetrieved]
912
+ * @param {FaqsApiApiV2FaqsFaqIdMediasGetRequest} requestParameters Request parameters.
653
913
  * @param {*} [options] Override http request option.
654
914
  * @throws {RequiredError}
655
915
  * @memberof FaqsApi
656
916
  */
657
- public apiV2FaqsFaqIdMediasGet(faqId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
658
- return FaqsApiFp(this.configuration).apiV2FaqsFaqIdMediasGet(faqId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
917
+ public apiV2FaqsFaqIdMediasGet(requestParameters: FaqsApiApiV2FaqsFaqIdMediasGetRequest, options?: AxiosRequestConfig) {
918
+ return FaqsApiFp(this.configuration).apiV2FaqsFaqIdMediasGet(requestParameters.faqId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
659
919
  }
660
920
 
661
921
  /**
662
922
  *
663
923
  * @summary Get FaqMedia.
664
- * @param {string} faqId
665
- * @param {string} mediaId
924
+ * @param {FaqsApiApiV2FaqsFaqIdMediasMediaIdGetRequest} requestParameters Request parameters.
666
925
  * @param {*} [options] Override http request option.
667
926
  * @throws {RequiredError}
668
927
  * @memberof FaqsApi
669
928
  */
670
- public apiV2FaqsFaqIdMediasMediaIdGet(faqId: string, mediaId: string, options?: AxiosRequestConfig) {
671
- return FaqsApiFp(this.configuration).apiV2FaqsFaqIdMediasMediaIdGet(faqId, mediaId, options).then((request) => request(this.axios, this.basePath));
929
+ public apiV2FaqsFaqIdMediasMediaIdGet(requestParameters: FaqsApiApiV2FaqsFaqIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
930
+ return FaqsApiFp(this.configuration).apiV2FaqsFaqIdMediasMediaIdGet(requestParameters.faqId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
672
931
  }
673
932
 
674
933
  /**
675
934
  *
676
935
  * @summary GetAll FaqTags.
677
- * @param {string} faqId
678
- * @param {string} [tagId]
679
- * @param {number} [page]
680
- * @param {number} [limit]
681
- * @param {Date} [lastRetrieved]
936
+ * @param {FaqsApiApiV2FaqsFaqIdTagsGetRequest} requestParameters Request parameters.
682
937
  * @param {*} [options] Override http request option.
683
938
  * @throws {RequiredError}
684
939
  * @memberof FaqsApi
685
940
  */
686
- public apiV2FaqsFaqIdTagsGet(faqId: string, tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
687
- return FaqsApiFp(this.configuration).apiV2FaqsFaqIdTagsGet(faqId, tagId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
941
+ public apiV2FaqsFaqIdTagsGet(requestParameters: FaqsApiApiV2FaqsFaqIdTagsGetRequest, options?: AxiosRequestConfig) {
942
+ return FaqsApiFp(this.configuration).apiV2FaqsFaqIdTagsGet(requestParameters.faqId, requestParameters.tagId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
688
943
  }
689
944
 
690
945
  /**
691
946
  *
692
947
  * @summary Get FaqTag.
693
- * @param {string} faqId
694
- * @param {string} tagId
948
+ * @param {FaqsApiApiV2FaqsFaqIdTagsTagIdGetRequest} requestParameters Request parameters.
695
949
  * @param {*} [options] Override http request option.
696
950
  * @throws {RequiredError}
697
951
  * @memberof FaqsApi
698
952
  */
699
- public apiV2FaqsFaqIdTagsTagIdGet(faqId: string, tagId: string, options?: AxiosRequestConfig) {
700
- return FaqsApiFp(this.configuration).apiV2FaqsFaqIdTagsTagIdGet(faqId, tagId, options).then((request) => request(this.axios, this.basePath));
953
+ public apiV2FaqsFaqIdTagsTagIdGet(requestParameters: FaqsApiApiV2FaqsFaqIdTagsTagIdGetRequest, options?: AxiosRequestConfig) {
954
+ return FaqsApiFp(this.configuration).apiV2FaqsFaqIdTagsTagIdGet(requestParameters.faqId, requestParameters.tagId, options).then((request) => request(this.axios, this.basePath));
701
955
  }
702
956
 
703
957
  /**
704
958
  *
705
959
  * @summary Get all Faqs.
706
- * @param {string} [id]
707
- * @param {string} [name]
708
- * @param {string} [slug]
709
- * @param {string} [categoryId]
710
- * @param {string} [hospitalId]
711
- * @param {string} [hospitalName]
712
- * @param {string} [languageCode]
713
- * @param {boolean} [showHidden]
714
- * @param {boolean} [returnDefaultValue]
715
- * @param {number} [page]
716
- * @param {number} [limit]
717
- * @param {Date} [lastRetrieved]
960
+ * @param {FaqsApiApiV2FaqsGetRequest} requestParameters Request parameters.
718
961
  * @param {*} [options] Override http request option.
719
962
  * @throws {RequiredError}
720
963
  * @memberof FaqsApi
721
964
  */
722
- public apiV2FaqsGet(id?: string, name?: string, slug?: string, categoryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
723
- return FaqsApiFp(this.configuration).apiV2FaqsGet(id, name, slug, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
965
+ public apiV2FaqsGet(requestParameters: FaqsApiApiV2FaqsGetRequest = {}, options?: AxiosRequestConfig) {
966
+ return FaqsApiFp(this.configuration).apiV2FaqsGet(requestParameters.id, requestParameters.name, requestParameters.slug, requestParameters.categoryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.languageCode, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
724
967
  }
725
968
 
726
969
  /**
727
970
  *
728
971
  * @summary Get faq by slug.
729
- * @param {string} slug
730
- * @param {string} [languageCode]
972
+ * @param {FaqsApiApiV2FaqsSlugGetRequest} requestParameters Request parameters.
731
973
  * @param {*} [options] Override http request option.
732
974
  * @throws {RequiredError}
733
975
  * @memberof FaqsApi
734
976
  */
735
- public apiV2FaqsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
736
- return FaqsApiFp(this.configuration).apiV2FaqsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
977
+ public apiV2FaqsSlugGet(requestParameters: FaqsApiApiV2FaqsSlugGetRequest, options?: AxiosRequestConfig) {
978
+ return FaqsApiFp(this.configuration).apiV2FaqsSlugGet(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
737
979
  }
738
980
  }