ch-admin-api-client-typescript 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 (166) hide show
  1. package/lib/api/about-us-api.d.ts +186 -28
  2. package/lib/api/about-us-api.d.ts.map +1 -1
  3. package/lib/api/about-us-api.js +20 -34
  4. package/lib/api/accreditations-api.d.ts +111 -16
  5. package/lib/api/accreditations-api.d.ts.map +1 -1
  6. package/lib/api/accreditations-api.js +17 -21
  7. package/lib/api/app-version-api.d.ts +117 -17
  8. package/lib/api/app-version-api.d.ts.map +1 -1
  9. package/lib/api/app-version-api.js +17 -22
  10. package/lib/api/appointments-api.d.ts +279 -43
  11. package/lib/api/appointments-api.d.ts.map +1 -1
  12. package/lib/api/appointments-api.js +22 -50
  13. package/lib/api/articles-api.d.ts +759 -114
  14. package/lib/api/articles-api.d.ts.map +1 -1
  15. package/lib/api/articles-api.js +77 -139
  16. package/lib/api/bookings-api.d.ts +231 -35
  17. package/lib/api/bookings-api.d.ts.map +1 -1
  18. package/lib/api/bookings-api.js +22 -42
  19. package/lib/api/chadmins-api.d.ts +141 -21
  20. package/lib/api/chadmins-api.d.ts.map +1 -1
  21. package/lib/api/chadmins-api.js +17 -26
  22. package/lib/api/chat-users-api.d.ts +138 -20
  23. package/lib/api/chat-users-api.d.ts.map +1 -1
  24. package/lib/api/chat-users-api.js +20 -26
  25. package/lib/api/chmanagers-api.d.ts +141 -21
  26. package/lib/api/chmanagers-api.d.ts.map +1 -1
  27. package/lib/api/chmanagers-api.js +17 -26
  28. package/lib/api/consultations-api.d.ts +243 -37
  29. package/lib/api/consultations-api.d.ts.map +1 -1
  30. package/lib/api/consultations-api.js +22 -44
  31. package/lib/api/contributors-api.d.ts +339 -51
  32. package/lib/api/contributors-api.d.ts.map +1 -1
  33. package/lib/api/contributors-api.js +35 -62
  34. package/lib/api/countries-api.d.ts +326 -50
  35. package/lib/api/countries-api.d.ts.map +1 -1
  36. package/lib/api/countries-api.js +38 -60
  37. package/lib/api/dash-board-api.d.ts +15 -2
  38. package/lib/api/dash-board-api.d.ts.map +1 -1
  39. package/lib/api/dash-board-api.js +3 -3
  40. package/lib/api/deals-api.d.ts +1005 -155
  41. package/lib/api/deals-api.d.ts.map +1 -1
  42. package/lib/api/deals-api.js +78 -180
  43. package/lib/api/doctor-affiliations-api.d.ts +488 -86
  44. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  45. package/lib/api/doctor-affiliations-api.js +50 -87
  46. package/lib/api/doctors-api.d.ts +1165 -194
  47. package/lib/api/doctors-api.d.ts.map +1 -1
  48. package/lib/api/doctors-api.js +118 -213
  49. package/lib/api/email-marketings-api.d.ts +114 -16
  50. package/lib/api/email-marketings-api.d.ts.map +1 -1
  51. package/lib/api/email-marketings-api.js +20 -22
  52. package/lib/api/faq-categories-api.d.ts +186 -28
  53. package/lib/api/faq-categories-api.d.ts.map +1 -1
  54. package/lib/api/faq-categories-api.js +20 -34
  55. package/lib/api/faqs-api.d.ts +429 -64
  56. package/lib/api/faqs-api.d.ts.map +1 -1
  57. package/lib/api/faqs-api.js +47 -79
  58. package/lib/api/group-channels-api.d.ts +54 -8
  59. package/lib/api/group-channels-api.d.ts.map +1 -1
  60. package/lib/api/group-channels-api.js +7 -10
  61. package/lib/api/header-navigations-api.d.ts +99 -14
  62. package/lib/api/header-navigations-api.d.ts.map +1 -1
  63. package/lib/api/header-navigations-api.js +15 -19
  64. package/lib/api/hospitals-api.d.ts +3099 -477
  65. package/lib/api/hospitals-api.d.ts.map +1 -1
  66. package/lib/api/hospitals-api.js +270 -560
  67. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +120 -18
  68. package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +1 -1
  69. package/lib/api/hospitals-consultation-timetable-overrides-api.js +12 -22
  70. package/lib/api/hospitals-consultation-timetables-api.d.ts +150 -22
  71. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
  72. package/lib/api/hospitals-consultation-timetables-api.js +18 -28
  73. package/lib/api/languages-api.d.ts +117 -17
  74. package/lib/api/languages-api.d.ts.map +1 -1
  75. package/lib/api/languages-api.js +17 -22
  76. package/lib/api/managers-api.d.ts +261 -39
  77. package/lib/api/managers-api.d.ts.map +1 -1
  78. package/lib/api/managers-api.js +29 -48
  79. package/lib/api/memberships-api.d.ts +111 -17
  80. package/lib/api/memberships-api.d.ts.map +1 -1
  81. package/lib/api/memberships-api.js +10 -20
  82. package/lib/api/notifications-api.d.ts +54 -8
  83. package/lib/api/notifications-api.d.ts.map +1 -1
  84. package/lib/api/notifications-api.js +8 -10
  85. package/lib/api/patients-api.d.ts +216 -32
  86. package/lib/api/patients-api.d.ts.map +1 -1
  87. package/lib/api/patients-api.js +26 -40
  88. package/lib/api/plans-api.d.ts +228 -33
  89. package/lib/api/plans-api.d.ts.map +1 -1
  90. package/lib/api/plans-api.js +32 -43
  91. package/lib/api/profiles-api.d.ts +75 -10
  92. package/lib/api/profiles-api.d.ts.map +1 -1
  93. package/lib/api/profiles-api.js +19 -15
  94. package/lib/api/search-api.d.ts +15 -2
  95. package/lib/api/search-api.d.ts.map +1 -1
  96. package/lib/api/search-api.js +4 -3
  97. package/lib/api/service-reviews-api.d.ts +318 -48
  98. package/lib/api/service-reviews-api.d.ts.map +1 -1
  99. package/lib/api/service-reviews-api.js +32 -58
  100. package/lib/api/services-api.d.ts +177 -28
  101. package/lib/api/services-api.d.ts.map +1 -1
  102. package/lib/api/services-api.js +10 -31
  103. package/lib/api/services-categories-api.d.ts +105 -15
  104. package/lib/api/services-categories-api.d.ts.map +1 -1
  105. package/lib/api/services-categories-api.js +17 -20
  106. package/lib/api/specialties-api.d.ts +447 -68
  107. package/lib/api/specialties-api.d.ts.map +1 -1
  108. package/lib/api/specialties-api.js +42 -81
  109. package/lib/api/specialty-types-api.d.ts +447 -68
  110. package/lib/api/specialty-types-api.d.ts.map +1 -1
  111. package/lib/api/specialty-types-api.js +42 -81
  112. package/lib/api/survey-forms-api.d.ts +141 -21
  113. package/lib/api/survey-forms-api.d.ts.map +1 -1
  114. package/lib/api/survey-forms-api.js +17 -26
  115. package/lib/api/survey-results-api.d.ts +81 -12
  116. package/lib/api/survey-results-api.d.ts.map +1 -1
  117. package/lib/api/survey-results-api.js +10 -15
  118. package/lib/api/tags-api.d.ts +84 -12
  119. package/lib/api/tags-api.d.ts.map +1 -1
  120. package/lib/api/tags-api.js +14 -16
  121. package/lib/api/translation-api.d.ts +15 -2
  122. package/lib/api/translation-api.d.ts.map +1 -1
  123. package/lib/api/translation-api.js +4 -3
  124. package/openapitools.json +1 -0
  125. package/package.json +1 -1
  126. package/src/api/about-us-api.ts +214 -34
  127. package/src/api/accreditations-api.ts +127 -21
  128. package/src/api/app-version-api.ts +134 -22
  129. package/src/api/appointments-api.ts +322 -50
  130. package/src/api/articles-api.ts +873 -139
  131. package/src/api/bookings-api.ts +266 -42
  132. package/src/api/chadmins-api.ts +162 -26
  133. package/src/api/chat-users-api.ts +158 -26
  134. package/src/api/chmanagers-api.ts +162 -26
  135. package/src/api/consultations-api.ts +280 -44
  136. package/src/api/contributors-api.ts +390 -62
  137. package/src/api/countries-api.ts +374 -62
  138. package/src/api/dash-board-api.ts +17 -3
  139. package/src/api/deals-api.ts +1160 -180
  140. package/src/api/doctor-affiliations-api.ts +559 -103
  141. package/src/api/doctors-api.ts +1337 -231
  142. package/src/api/email-marketings-api.ts +130 -22
  143. package/src/api/faq-categories-api.ts +214 -34
  144. package/src/api/faqs-api.ts +493 -79
  145. package/src/api/group-channels-api.ts +62 -10
  146. package/src/api/header-navigations-api.ts +113 -19
  147. package/src/api/hospitals-api.ts +3566 -562
  148. package/src/api/hospitals-consultation-timetable-overrides-api.ts +138 -22
  149. package/src/api/hospitals-consultation-timetables-api.ts +172 -28
  150. package/src/api/languages-api.ts +134 -22
  151. package/src/api/managers-api.ts +300 -48
  152. package/src/api/memberships-api.ts +128 -20
  153. package/src/api/notifications-api.ts +62 -10
  154. package/src/api/patients-api.ts +248 -40
  155. package/src/api/plans-api.ts +261 -43
  156. package/src/api/profiles-api.ts +85 -15
  157. package/src/api/search-api.ts +17 -3
  158. package/src/api/service-reviews-api.ts +366 -58
  159. package/src/api/services-api.ts +205 -31
  160. package/src/api/services-categories-api.ts +120 -20
  161. package/src/api/specialties-api.ts +515 -81
  162. package/src/api/specialty-types-api.ts +515 -81
  163. package/src/api/survey-forms-api.ts +162 -26
  164. package/src/api/survey-results-api.ts +93 -15
  165. package/src/api/tags-api.ts +96 -16
  166. package/src/api/translation-api.ts +17 -3
@@ -435,6 +435,153 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
435
435
  };
436
436
  };
437
437
 
438
+ /**
439
+ * Request parameters for apiV1SurveyformsGet operation in SurveyFormsApi.
440
+ * @export
441
+ * @interface SurveyFormsApiApiV1SurveyformsGetRequest
442
+ */
443
+ export interface SurveyFormsApiApiV1SurveyformsGetRequest {
444
+ /**
445
+ *
446
+ * @type {string}
447
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
448
+ */
449
+ readonly id?: string
450
+
451
+ /**
452
+ *
453
+ * @type {string}
454
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
455
+ */
456
+ readonly hospitalId?: string
457
+
458
+ /**
459
+ *
460
+ * @type {string}
461
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
462
+ */
463
+ readonly name?: string
464
+
465
+ /**
466
+ *
467
+ * @type {string}
468
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
469
+ */
470
+ readonly languageCode?: string
471
+
472
+ /**
473
+ *
474
+ * @type {boolean}
475
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
476
+ */
477
+ readonly showHidden?: boolean
478
+
479
+ /**
480
+ *
481
+ * @type {SurveyFormStatus}
482
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
483
+ */
484
+ readonly status?: SurveyFormStatus
485
+
486
+ /**
487
+ *
488
+ * @type {number}
489
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
490
+ */
491
+ readonly page?: number
492
+
493
+ /**
494
+ *
495
+ * @type {number}
496
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
497
+ */
498
+ readonly limit?: number
499
+
500
+ /**
501
+ *
502
+ * @type {Date}
503
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
504
+ */
505
+ readonly lastRetrieved?: Date
506
+ }
507
+
508
+ /**
509
+ * Request parameters for apiV1SurveyformsPost operation in SurveyFormsApi.
510
+ * @export
511
+ * @interface SurveyFormsApiApiV1SurveyformsPostRequest
512
+ */
513
+ export interface SurveyFormsApiApiV1SurveyformsPostRequest {
514
+ /**
515
+ *
516
+ * @type {CreateSurveyFormCommand}
517
+ * @memberof SurveyFormsApiApiV1SurveyformsPost
518
+ */
519
+ readonly createSurveyFormCommand?: CreateSurveyFormCommand
520
+ }
521
+
522
+ /**
523
+ * Request parameters for apiV1SurveyformsSurveyFormIdDelete operation in SurveyFormsApi.
524
+ * @export
525
+ * @interface SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest
526
+ */
527
+ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest {
528
+ /**
529
+ *
530
+ * @type {string}
531
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdDelete
532
+ */
533
+ readonly surveyFormId: string
534
+
535
+ /**
536
+ *
537
+ * @type {boolean}
538
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdDelete
539
+ */
540
+ readonly isPermanent?: boolean
541
+ }
542
+
543
+ /**
544
+ * Request parameters for apiV1SurveyformsSurveyFormIdGet operation in SurveyFormsApi.
545
+ * @export
546
+ * @interface SurveyFormsApiApiV1SurveyformsSurveyFormIdGetRequest
547
+ */
548
+ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdGetRequest {
549
+ /**
550
+ *
551
+ * @type {string}
552
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdGet
553
+ */
554
+ readonly surveyFormId: string
555
+
556
+ /**
557
+ *
558
+ * @type {string}
559
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdGet
560
+ */
561
+ readonly languageCode?: string
562
+ }
563
+
564
+ /**
565
+ * Request parameters for apiV1SurveyformsSurveyFormIdPut operation in SurveyFormsApi.
566
+ * @export
567
+ * @interface SurveyFormsApiApiV1SurveyformsSurveyFormIdPutRequest
568
+ */
569
+ export interface SurveyFormsApiApiV1SurveyformsSurveyFormIdPutRequest {
570
+ /**
571
+ *
572
+ * @type {string}
573
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdPut
574
+ */
575
+ readonly surveyFormId: string
576
+
577
+ /**
578
+ *
579
+ * @type {UpdateSurveyFormCommand}
580
+ * @memberof SurveyFormsApiApiV1SurveyformsSurveyFormIdPut
581
+ */
582
+ readonly updateSurveyFormCommand?: UpdateSurveyFormCommand
583
+ }
584
+
438
585
  /**
439
586
  * SurveyFormsApi - object-oriented interface
440
587
  * @export
@@ -445,71 +592,60 @@ export class SurveyFormsApi extends BaseAPI {
445
592
  /**
446
593
  *
447
594
  * @summary Get survey forms
448
- * @param {string} [id]
449
- * @param {string} [hospitalId]
450
- * @param {string} [name]
451
- * @param {string} [languageCode]
452
- * @param {boolean} [showHidden]
453
- * @param {SurveyFormStatus} [status]
454
- * @param {number} [page]
455
- * @param {number} [limit]
456
- * @param {Date} [lastRetrieved]
595
+ * @param {SurveyFormsApiApiV1SurveyformsGetRequest} requestParameters Request parameters.
457
596
  * @param {*} [options] Override http request option.
458
597
  * @throws {RequiredError}
459
598
  * @memberof SurveyFormsApi
460
599
  */
461
- public apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
462
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
600
+ public apiV1SurveyformsGet(requestParameters: SurveyFormsApiApiV1SurveyformsGetRequest = {}, options?: AxiosRequestConfig) {
601
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
463
602
  }
464
603
 
465
604
  /**
466
605
  *
467
606
  * @summary Create survey form
468
- * @param {CreateSurveyFormCommand} [createSurveyFormCommand]
607
+ * @param {SurveyFormsApiApiV1SurveyformsPostRequest} requestParameters Request parameters.
469
608
  * @param {*} [options] Override http request option.
470
609
  * @throws {RequiredError}
471
610
  * @memberof SurveyFormsApi
472
611
  */
473
- public apiV1SurveyformsPost(createSurveyFormCommand?: CreateSurveyFormCommand, options?: AxiosRequestConfig) {
474
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsPost(createSurveyFormCommand, options).then((request) => request(this.axios, this.basePath));
612
+ public apiV1SurveyformsPost(requestParameters: SurveyFormsApiApiV1SurveyformsPostRequest = {}, options?: AxiosRequestConfig) {
613
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsPost(requestParameters.createSurveyFormCommand, options).then((request) => request(this.axios, this.basePath));
475
614
  }
476
615
 
477
616
  /**
478
617
  *
479
618
  * @summary Delete survey form by Id
480
- * @param {string} surveyFormId
481
- * @param {boolean} [isPermanent]
619
+ * @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest} requestParameters Request parameters.
482
620
  * @param {*} [options] Override http request option.
483
621
  * @throws {RequiredError}
484
622
  * @memberof SurveyFormsApi
485
623
  */
486
- public apiV1SurveyformsSurveyFormIdDelete(surveyFormId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
487
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdDelete(surveyFormId, isPermanent, options).then((request) => request(this.axios, this.basePath));
624
+ public apiV1SurveyformsSurveyFormIdDelete(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdDeleteRequest, options?: AxiosRequestConfig) {
625
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdDelete(requestParameters.surveyFormId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
488
626
  }
489
627
 
490
628
  /**
491
629
  *
492
630
  * @summary Get survey form by Id
493
- * @param {string} surveyFormId
494
- * @param {string} [languageCode]
631
+ * @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdGetRequest} requestParameters Request parameters.
495
632
  * @param {*} [options] Override http request option.
496
633
  * @throws {RequiredError}
497
634
  * @memberof SurveyFormsApi
498
635
  */
499
- public apiV1SurveyformsSurveyFormIdGet(surveyFormId: string, languageCode?: string, options?: AxiosRequestConfig) {
500
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then((request) => request(this.axios, this.basePath));
636
+ public apiV1SurveyformsSurveyFormIdGet(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdGetRequest, options?: AxiosRequestConfig) {
637
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
501
638
  }
502
639
 
503
640
  /**
504
641
  *
505
642
  * @summary Update survey form
506
- * @param {string} surveyFormId
507
- * @param {UpdateSurveyFormCommand} [updateSurveyFormCommand]
643
+ * @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdPutRequest} requestParameters Request parameters.
508
644
  * @param {*} [options] Override http request option.
509
645
  * @throws {RequiredError}
510
646
  * @memberof SurveyFormsApi
511
647
  */
512
- public apiV1SurveyformsSurveyFormIdPut(surveyFormId: string, updateSurveyFormCommand?: UpdateSurveyFormCommand, options?: AxiosRequestConfig) {
513
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdPut(surveyFormId, updateSurveyFormCommand, options).then((request) => request(this.axios, this.basePath));
648
+ public apiV1SurveyformsSurveyFormIdPut(requestParameters: SurveyFormsApiApiV1SurveyformsSurveyFormIdPutRequest, options?: AxiosRequestConfig) {
649
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsSurveyFormIdPut(requestParameters.surveyFormId, requestParameters.updateSurveyFormCommand, options).then((request) => request(this.axios, this.basePath));
514
650
  }
515
651
  }
@@ -277,6 +277,90 @@ export const SurveyResultsApiFactory = function (configuration?: Configuration,
277
277
  };
278
278
  };
279
279
 
280
+ /**
281
+ * Request parameters for apiV1SurveyresultsGet operation in SurveyResultsApi.
282
+ * @export
283
+ * @interface SurveyResultsApiApiV1SurveyresultsGetRequest
284
+ */
285
+ export interface SurveyResultsApiApiV1SurveyresultsGetRequest {
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
290
+ */
291
+ readonly id?: string
292
+
293
+ /**
294
+ *
295
+ * @type {string}
296
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
297
+ */
298
+ readonly hospitalId?: string
299
+
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
304
+ */
305
+ readonly name?: string
306
+
307
+ /**
308
+ *
309
+ * @type {string}
310
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
311
+ */
312
+ readonly languageCode?: string
313
+
314
+ /**
315
+ *
316
+ * @type {number}
317
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
318
+ */
319
+ readonly page?: number
320
+
321
+ /**
322
+ *
323
+ * @type {number}
324
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
325
+ */
326
+ readonly limit?: number
327
+
328
+ /**
329
+ *
330
+ * @type {Date}
331
+ * @memberof SurveyResultsApiApiV1SurveyresultsGet
332
+ */
333
+ readonly lastRetrieved?: Date
334
+ }
335
+
336
+ /**
337
+ * Request parameters for apiV1SurveyresultsSurveyResultIdDelete operation in SurveyResultsApi.
338
+ * @export
339
+ * @interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest
340
+ */
341
+ export interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest {
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof SurveyResultsApiApiV1SurveyresultsSurveyResultIdDelete
346
+ */
347
+ readonly surveyResultId: string
348
+ }
349
+
350
+ /**
351
+ * Request parameters for apiV1SurveyresultsSurveyResultIdGet operation in SurveyResultsApi.
352
+ * @export
353
+ * @interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest
354
+ */
355
+ export interface SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest {
356
+ /**
357
+ *
358
+ * @type {string}
359
+ * @memberof SurveyResultsApiApiV1SurveyresultsSurveyResultIdGet
360
+ */
361
+ readonly surveyResultId: string
362
+ }
363
+
280
364
  /**
281
365
  * SurveyResultsApi - object-oriented interface
282
366
  * @export
@@ -287,42 +371,36 @@ export class SurveyResultsApi extends BaseAPI {
287
371
  /**
288
372
  *
289
373
  * @summary Get survey results
290
- * @param {string} [id]
291
- * @param {string} [hospitalId]
292
- * @param {string} [name]
293
- * @param {string} [languageCode]
294
- * @param {number} [page]
295
- * @param {number} [limit]
296
- * @param {Date} [lastRetrieved]
374
+ * @param {SurveyResultsApiApiV1SurveyresultsGetRequest} requestParameters Request parameters.
297
375
  * @param {*} [options] Override http request option.
298
376
  * @throws {RequiredError}
299
377
  * @memberof SurveyResultsApi
300
378
  */
301
- public apiV1SurveyresultsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
302
- return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsGet(id, hospitalId, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
379
+ public apiV1SurveyresultsGet(requestParameters: SurveyResultsApiApiV1SurveyresultsGetRequest = {}, options?: AxiosRequestConfig) {
380
+ return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
303
381
  }
304
382
 
305
383
  /**
306
384
  *
307
385
  * @summary Delete survey result
308
- * @param {string} surveyResultId
386
+ * @param {SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest} requestParameters Request parameters.
309
387
  * @param {*} [options] Override http request option.
310
388
  * @throws {RequiredError}
311
389
  * @memberof SurveyResultsApi
312
390
  */
313
- public apiV1SurveyresultsSurveyResultIdDelete(surveyResultId: string, options?: AxiosRequestConfig) {
314
- return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsSurveyResultIdDelete(surveyResultId, options).then((request) => request(this.axios, this.basePath));
391
+ public apiV1SurveyresultsSurveyResultIdDelete(requestParameters: SurveyResultsApiApiV1SurveyresultsSurveyResultIdDeleteRequest, options?: AxiosRequestConfig) {
392
+ return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsSurveyResultIdDelete(requestParameters.surveyResultId, options).then((request) => request(this.axios, this.basePath));
315
393
  }
316
394
 
317
395
  /**
318
396
  *
319
397
  * @summary Get survey result by Id
320
- * @param {string} surveyResultId
398
+ * @param {SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest} requestParameters Request parameters.
321
399
  * @param {*} [options] Override http request option.
322
400
  * @throws {RequiredError}
323
401
  * @memberof SurveyResultsApi
324
402
  */
325
- public apiV1SurveyresultsSurveyResultIdGet(surveyResultId: string, options?: AxiosRequestConfig) {
326
- return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsSurveyResultIdGet(surveyResultId, options).then((request) => request(this.axios, this.basePath));
403
+ public apiV1SurveyresultsSurveyResultIdGet(requestParameters: SurveyResultsApiApiV1SurveyresultsSurveyResultIdGetRequest, options?: AxiosRequestConfig) {
404
+ return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsSurveyResultIdGet(requestParameters.surveyResultId, options).then((request) => request(this.axios, this.basePath));
327
405
  }
328
406
  }
@@ -324,6 +324,90 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
324
324
  };
325
325
  };
326
326
 
327
+ /**
328
+ * Request parameters for apiV1TagsGet operation in TagsApi.
329
+ * @export
330
+ * @interface TagsApiApiV1TagsGetRequest
331
+ */
332
+ export interface TagsApiApiV1TagsGetRequest {
333
+ /**
334
+ *
335
+ * @type {string}
336
+ * @memberof TagsApiApiV1TagsGet
337
+ */
338
+ readonly tagId?: string
339
+
340
+ /**
341
+ *
342
+ * @type {number}
343
+ * @memberof TagsApiApiV1TagsGet
344
+ */
345
+ readonly page?: number
346
+
347
+ /**
348
+ *
349
+ * @type {number}
350
+ * @memberof TagsApiApiV1TagsGet
351
+ */
352
+ readonly limit?: number
353
+
354
+ /**
355
+ *
356
+ * @type {Date}
357
+ * @memberof TagsApiApiV1TagsGet
358
+ */
359
+ readonly lastRetrieved?: Date
360
+ }
361
+
362
+ /**
363
+ * Request parameters for apiV1TagsPost operation in TagsApi.
364
+ * @export
365
+ * @interface TagsApiApiV1TagsPostRequest
366
+ */
367
+ export interface TagsApiApiV1TagsPostRequest {
368
+ /**
369
+ *
370
+ * @type {CreateTagCommand}
371
+ * @memberof TagsApiApiV1TagsPost
372
+ */
373
+ readonly createTagCommand?: CreateTagCommand
374
+ }
375
+
376
+ /**
377
+ * Request parameters for apiV1TagsTagIdDelete operation in TagsApi.
378
+ * @export
379
+ * @interface TagsApiApiV1TagsTagIdDeleteRequest
380
+ */
381
+ export interface TagsApiApiV1TagsTagIdDeleteRequest {
382
+ /**
383
+ *
384
+ * @type {string}
385
+ * @memberof TagsApiApiV1TagsTagIdDelete
386
+ */
387
+ readonly tagId: string
388
+ }
389
+
390
+ /**
391
+ * Request parameters for apiV1TagsTagIdGet operation in TagsApi.
392
+ * @export
393
+ * @interface TagsApiApiV1TagsTagIdGetRequest
394
+ */
395
+ export interface TagsApiApiV1TagsTagIdGetRequest {
396
+ /**
397
+ *
398
+ * @type {string}
399
+ * @memberof TagsApiApiV1TagsTagIdGet
400
+ */
401
+ readonly tagId: string
402
+
403
+ /**
404
+ *
405
+ * @type {boolean}
406
+ * @memberof TagsApiApiV1TagsTagIdGet
407
+ */
408
+ readonly releatedTags?: boolean
409
+ }
410
+
327
411
  /**
328
412
  * TagsApi - object-oriented interface
329
413
  * @export
@@ -334,52 +418,48 @@ export class TagsApi extends BaseAPI {
334
418
  /**
335
419
  *
336
420
  * @summary Get all Tags.
337
- * @param {string} [tagId]
338
- * @param {number} [page]
339
- * @param {number} [limit]
340
- * @param {Date} [lastRetrieved]
421
+ * @param {TagsApiApiV1TagsGetRequest} requestParameters Request parameters.
341
422
  * @param {*} [options] Override http request option.
342
423
  * @throws {RequiredError}
343
424
  * @memberof TagsApi
344
425
  */
345
- public apiV1TagsGet(tagId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
346
- return TagsApiFp(this.configuration).apiV1TagsGet(tagId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
426
+ public apiV1TagsGet(requestParameters: TagsApiApiV1TagsGetRequest = {}, options?: AxiosRequestConfig) {
427
+ return TagsApiFp(this.configuration).apiV1TagsGet(requestParameters.tagId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
347
428
  }
348
429
 
349
430
  /**
350
431
  *
351
432
  * @summary Create a Tag.
352
- * @param {CreateTagCommand} [createTagCommand]
433
+ * @param {TagsApiApiV1TagsPostRequest} requestParameters Request parameters.
353
434
  * @param {*} [options] Override http request option.
354
435
  * @throws {RequiredError}
355
436
  * @memberof TagsApi
356
437
  */
357
- public apiV1TagsPost(createTagCommand?: CreateTagCommand, options?: AxiosRequestConfig) {
358
- return TagsApiFp(this.configuration).apiV1TagsPost(createTagCommand, options).then((request) => request(this.axios, this.basePath));
438
+ public apiV1TagsPost(requestParameters: TagsApiApiV1TagsPostRequest = {}, options?: AxiosRequestConfig) {
439
+ return TagsApiFp(this.configuration).apiV1TagsPost(requestParameters.createTagCommand, options).then((request) => request(this.axios, this.basePath));
359
440
  }
360
441
 
361
442
  /**
362
443
  *
363
444
  * @summary Delete Tag.
364
- * @param {string} tagId
445
+ * @param {TagsApiApiV1TagsTagIdDeleteRequest} requestParameters Request parameters.
365
446
  * @param {*} [options] Override http request option.
366
447
  * @throws {RequiredError}
367
448
  * @memberof TagsApi
368
449
  */
369
- public apiV1TagsTagIdDelete(tagId: string, options?: AxiosRequestConfig) {
370
- return TagsApiFp(this.configuration).apiV1TagsTagIdDelete(tagId, options).then((request) => request(this.axios, this.basePath));
450
+ public apiV1TagsTagIdDelete(requestParameters: TagsApiApiV1TagsTagIdDeleteRequest, options?: AxiosRequestConfig) {
451
+ return TagsApiFp(this.configuration).apiV1TagsTagIdDelete(requestParameters.tagId, options).then((request) => request(this.axios, this.basePath));
371
452
  }
372
453
 
373
454
  /**
374
455
  *
375
456
  * @summary Get Tag.
376
- * @param {string} tagId
377
- * @param {boolean} [releatedTags]
457
+ * @param {TagsApiApiV1TagsTagIdGetRequest} requestParameters Request parameters.
378
458
  * @param {*} [options] Override http request option.
379
459
  * @throws {RequiredError}
380
460
  * @memberof TagsApi
381
461
  */
382
- public apiV1TagsTagIdGet(tagId: string, releatedTags?: boolean, options?: AxiosRequestConfig) {
383
- return TagsApiFp(this.configuration).apiV1TagsTagIdGet(tagId, releatedTags, options).then((request) => request(this.axios, this.basePath));
462
+ public apiV1TagsTagIdGet(requestParameters: TagsApiApiV1TagsTagIdGetRequest, options?: AxiosRequestConfig) {
463
+ return TagsApiFp(this.configuration).apiV1TagsTagIdGet(requestParameters.tagId, requestParameters.releatedTags, options).then((request) => request(this.axios, this.basePath));
384
464
  }
385
465
  }
@@ -110,6 +110,20 @@ export const TranslationApiFactory = function (configuration?: Configuration, ba
110
110
  };
111
111
  };
112
112
 
113
+ /**
114
+ * Request parameters for apiV1TranslationTranslatePost operation in TranslationApi.
115
+ * @export
116
+ * @interface TranslationApiApiV1TranslationTranslatePostRequest
117
+ */
118
+ export interface TranslationApiApiV1TranslationTranslatePostRequest {
119
+ /**
120
+ *
121
+ * @type {TranslateCommand}
122
+ * @memberof TranslationApiApiV1TranslationTranslatePost
123
+ */
124
+ readonly translateCommand?: TranslateCommand
125
+ }
126
+
113
127
  /**
114
128
  * TranslationApi - object-oriented interface
115
129
  * @export
@@ -120,12 +134,12 @@ export class TranslationApi extends BaseAPI {
120
134
  /**
121
135
  *
122
136
  * @summary Translate
123
- * @param {TranslateCommand} [translateCommand]
137
+ * @param {TranslationApiApiV1TranslationTranslatePostRequest} requestParameters Request parameters.
124
138
  * @param {*} [options] Override http request option.
125
139
  * @throws {RequiredError}
126
140
  * @memberof TranslationApi
127
141
  */
128
- public apiV1TranslationTranslatePost(translateCommand?: TranslateCommand, options?: AxiosRequestConfig) {
129
- return TranslationApiFp(this.configuration).apiV1TranslationTranslatePost(translateCommand, options).then((request) => request(this.axios, this.basePath));
142
+ public apiV1TranslationTranslatePost(requestParameters: TranslationApiApiV1TranslationTranslatePostRequest = {}, options?: AxiosRequestConfig) {
143
+ return TranslationApiFp(this.configuration).apiV1TranslationTranslatePost(requestParameters.translateCommand, options).then((request) => request(this.axios, this.basePath));
130
144
  }
131
145
  }