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
@@ -316,6 +316,125 @@ export const MembershipsApiFactory = function (configuration?: Configuration, ba
316
316
  };
317
317
  };
318
318
 
319
+ /**
320
+ * Request parameters for apiV1MembershipsGet operation in MembershipsApi.
321
+ * @export
322
+ * @interface MembershipsApiApiV1MembershipsGetRequest
323
+ */
324
+ export interface MembershipsApiApiV1MembershipsGetRequest {
325
+ /**
326
+ *
327
+ * @type {string}
328
+ * @memberof MembershipsApiApiV1MembershipsGet
329
+ */
330
+ readonly id?: string
331
+
332
+ /**
333
+ *
334
+ * @type {string}
335
+ * @memberof MembershipsApiApiV1MembershipsGet
336
+ */
337
+ readonly planId?: string
338
+
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof MembershipsApiApiV1MembershipsGet
343
+ */
344
+ readonly planName?: string
345
+
346
+ /**
347
+ *
348
+ * @type {string}
349
+ * @memberof MembershipsApiApiV1MembershipsGet
350
+ */
351
+ readonly ownerId?: string
352
+
353
+ /**
354
+ *
355
+ * @type {string}
356
+ * @memberof MembershipsApiApiV1MembershipsGet
357
+ */
358
+ readonly ownerName?: string
359
+
360
+ /**
361
+ *
362
+ * @type {boolean}
363
+ * @memberof MembershipsApiApiV1MembershipsGet
364
+ */
365
+ readonly isActive?: boolean
366
+
367
+ /**
368
+ *
369
+ * @type {number}
370
+ * @memberof MembershipsApiApiV1MembershipsGet
371
+ */
372
+ readonly page?: number
373
+
374
+ /**
375
+ *
376
+ * @type {number}
377
+ * @memberof MembershipsApiApiV1MembershipsGet
378
+ */
379
+ readonly limit?: number
380
+
381
+ /**
382
+ *
383
+ * @type {Date}
384
+ * @memberof MembershipsApiApiV1MembershipsGet
385
+ */
386
+ readonly lastRetrieved?: Date
387
+ }
388
+
389
+ /**
390
+ * Request parameters for apiV1MembershipsMembershipIdGet operation in MembershipsApi.
391
+ * @export
392
+ * @interface MembershipsApiApiV1MembershipsMembershipIdGetRequest
393
+ */
394
+ export interface MembershipsApiApiV1MembershipsMembershipIdGetRequest {
395
+ /**
396
+ *
397
+ * @type {string}
398
+ * @memberof MembershipsApiApiV1MembershipsMembershipIdGet
399
+ */
400
+ readonly membershipId: string
401
+ }
402
+
403
+ /**
404
+ * Request parameters for apiV1MembershipsMembershipIdMembersGet operation in MembershipsApi.
405
+ * @export
406
+ * @interface MembershipsApiApiV1MembershipsMembershipIdMembersGetRequest
407
+ */
408
+ export interface MembershipsApiApiV1MembershipsMembershipIdMembersGetRequest {
409
+ /**
410
+ *
411
+ * @type {string}
412
+ * @memberof MembershipsApiApiV1MembershipsMembershipIdMembersGet
413
+ */
414
+ readonly membershipId: string
415
+
416
+ /**
417
+ *
418
+ * @type {number}
419
+ * @memberof MembershipsApiApiV1MembershipsMembershipIdMembersGet
420
+ */
421
+ readonly page?: number
422
+
423
+ /**
424
+ *
425
+ * @type {number}
426
+ * @memberof MembershipsApiApiV1MembershipsMembershipIdMembersGet
427
+ */
428
+ readonly limit?: number
429
+
430
+ /**
431
+ *
432
+ * @type {Date}
433
+ * @memberof MembershipsApiApiV1MembershipsMembershipIdMembersGet
434
+ */
435
+ readonly lastRetrieved?: Date
436
+ }
437
+
319
438
  /**
320
439
  * MembershipsApi - object-oriented interface
321
440
  * @export
@@ -326,47 +445,36 @@ export class MembershipsApi extends BaseAPI {
326
445
  /**
327
446
  *
328
447
  * @summary Get all memberships.
329
- * @param {string} [id]
330
- * @param {string} [planId]
331
- * @param {string} [planName]
332
- * @param {string} [ownerId]
333
- * @param {string} [ownerName]
334
- * @param {boolean} [isActive]
335
- * @param {number} [page]
336
- * @param {number} [limit]
337
- * @param {Date} [lastRetrieved]
448
+ * @param {MembershipsApiApiV1MembershipsGetRequest} requestParameters Request parameters.
338
449
  * @param {*} [options] Override http request option.
339
450
  * @throws {RequiredError}
340
451
  * @memberof MembershipsApi
341
452
  */
342
- public apiV1MembershipsGet(id?: string, planId?: string, planName?: string, ownerId?: string, ownerName?: string, isActive?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
343
- return MembershipsApiFp(this.configuration).apiV1MembershipsGet(id, planId, planName, ownerId, ownerName, isActive, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
453
+ public apiV1MembershipsGet(requestParameters: MembershipsApiApiV1MembershipsGetRequest = {}, options?: AxiosRequestConfig) {
454
+ return MembershipsApiFp(this.configuration).apiV1MembershipsGet(requestParameters.id, requestParameters.planId, requestParameters.planName, requestParameters.ownerId, requestParameters.ownerName, requestParameters.isActive, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
344
455
  }
345
456
 
346
457
  /**
347
458
  *
348
459
  * @summary Get membership.
349
- * @param {string} membershipId
460
+ * @param {MembershipsApiApiV1MembershipsMembershipIdGetRequest} requestParameters Request parameters.
350
461
  * @param {*} [options] Override http request option.
351
462
  * @throws {RequiredError}
352
463
  * @memberof MembershipsApi
353
464
  */
354
- public apiV1MembershipsMembershipIdGet(membershipId: string, options?: AxiosRequestConfig) {
355
- return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdGet(membershipId, options).then((request) => request(this.axios, this.basePath));
465
+ public apiV1MembershipsMembershipIdGet(requestParameters: MembershipsApiApiV1MembershipsMembershipIdGetRequest, options?: AxiosRequestConfig) {
466
+ return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdGet(requestParameters.membershipId, options).then((request) => request(this.axios, this.basePath));
356
467
  }
357
468
 
358
469
  /**
359
470
  *
360
471
  * @summary Get all members.
361
- * @param {string} membershipId
362
- * @param {number} [page]
363
- * @param {number} [limit]
364
- * @param {Date} [lastRetrieved]
472
+ * @param {MembershipsApiApiV1MembershipsMembershipIdMembersGetRequest} requestParameters Request parameters.
365
473
  * @param {*} [options] Override http request option.
366
474
  * @throws {RequiredError}
367
475
  * @memberof MembershipsApi
368
476
  */
369
- public apiV1MembershipsMembershipIdMembersGet(membershipId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
370
- return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdMembersGet(membershipId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
477
+ public apiV1MembershipsMembershipIdMembersGet(requestParameters: MembershipsApiApiV1MembershipsMembershipIdMembersGetRequest, options?: AxiosRequestConfig) {
478
+ return MembershipsApiFp(this.configuration).apiV1MembershipsMembershipIdMembersGet(requestParameters.membershipId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
371
479
  }
372
480
  }
@@ -204,6 +204,62 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
204
204
  };
205
205
  };
206
206
 
207
+ /**
208
+ * Request parameters for apiV1NotificationsCheckPost operation in NotificationsApi.
209
+ * @export
210
+ * @interface NotificationsApiApiV1NotificationsCheckPostRequest
211
+ */
212
+ export interface NotificationsApiApiV1NotificationsCheckPostRequest {
213
+ /**
214
+ *
215
+ * @type {CheckNotificationsCommand}
216
+ * @memberof NotificationsApiApiV1NotificationsCheckPost
217
+ */
218
+ readonly checkNotificationsCommand?: CheckNotificationsCommand
219
+ }
220
+
221
+ /**
222
+ * Request parameters for apiV1NotificationsGet operation in NotificationsApi.
223
+ * @export
224
+ * @interface NotificationsApiApiV1NotificationsGetRequest
225
+ */
226
+ export interface NotificationsApiApiV1NotificationsGetRequest {
227
+ /**
228
+ *
229
+ * @type {NotificationCode}
230
+ * @memberof NotificationsApiApiV1NotificationsGet
231
+ */
232
+ readonly notificationCode?: NotificationCode
233
+
234
+ /**
235
+ *
236
+ * @type {boolean}
237
+ * @memberof NotificationsApiApiV1NotificationsGet
238
+ */
239
+ readonly unreadCountOnly?: boolean
240
+
241
+ /**
242
+ *
243
+ * @type {number}
244
+ * @memberof NotificationsApiApiV1NotificationsGet
245
+ */
246
+ readonly page?: number
247
+
248
+ /**
249
+ *
250
+ * @type {number}
251
+ * @memberof NotificationsApiApiV1NotificationsGet
252
+ */
253
+ readonly limit?: number
254
+
255
+ /**
256
+ *
257
+ * @type {Date}
258
+ * @memberof NotificationsApiApiV1NotificationsGet
259
+ */
260
+ readonly lastRetrieved?: Date
261
+ }
262
+
207
263
  /**
208
264
  * NotificationsApi - object-oriented interface
209
265
  * @export
@@ -214,28 +270,24 @@ export class NotificationsApi extends BaseAPI {
214
270
  /**
215
271
  *
216
272
  * @summary Check notification.
217
- * @param {CheckNotificationsCommand} [checkNotificationsCommand]
273
+ * @param {NotificationsApiApiV1NotificationsCheckPostRequest} requestParameters Request parameters.
218
274
  * @param {*} [options] Override http request option.
219
275
  * @throws {RequiredError}
220
276
  * @memberof NotificationsApi
221
277
  */
222
- public apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig) {
223
- return NotificationsApiFp(this.configuration).apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(this.axios, this.basePath));
278
+ public apiV1NotificationsCheckPost(requestParameters: NotificationsApiApiV1NotificationsCheckPostRequest = {}, options?: AxiosRequestConfig) {
279
+ return NotificationsApiFp(this.configuration).apiV1NotificationsCheckPost(requestParameters.checkNotificationsCommand, options).then((request) => request(this.axios, this.basePath));
224
280
  }
225
281
 
226
282
  /**
227
283
  *
228
284
  * @summary Get all notifications.
229
- * @param {NotificationCode} [notificationCode]
230
- * @param {boolean} [unreadCountOnly]
231
- * @param {number} [page]
232
- * @param {number} [limit]
233
- * @param {Date} [lastRetrieved]
285
+ * @param {NotificationsApiApiV1NotificationsGetRequest} requestParameters Request parameters.
234
286
  * @param {*} [options] Override http request option.
235
287
  * @throws {RequiredError}
236
288
  * @memberof NotificationsApi
237
289
  */
238
- public apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
239
- return NotificationsApiFp(this.configuration).apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
290
+ public apiV1NotificationsGet(requestParameters: NotificationsApiApiV1NotificationsGetRequest = {}, options?: AxiosRequestConfig) {
291
+ return NotificationsApiFp(this.configuration).apiV1NotificationsGet(requestParameters.notificationCode, requestParameters.unreadCountOnly, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
240
292
  }
241
293
  }
@@ -648,6 +648,230 @@ export const PatientsApiFactory = function (configuration?: Configuration, baseP
648
648
  };
649
649
  };
650
650
 
651
+ /**
652
+ * Request parameters for apiV1PatientsGet operation in PatientsApi.
653
+ * @export
654
+ * @interface PatientsApiApiV1PatientsGetRequest
655
+ */
656
+ export interface PatientsApiApiV1PatientsGetRequest {
657
+ /**
658
+ *
659
+ * @type {string}
660
+ * @memberof PatientsApiApiV1PatientsGet
661
+ */
662
+ readonly hospitalId?: string
663
+
664
+ /**
665
+ *
666
+ * @type {string}
667
+ * @memberof PatientsApiApiV1PatientsGet
668
+ */
669
+ readonly id?: string
670
+
671
+ /**
672
+ *
673
+ * @type {string}
674
+ * @memberof PatientsApiApiV1PatientsGet
675
+ */
676
+ readonly fullname?: string
677
+
678
+ /**
679
+ *
680
+ * @type {string}
681
+ * @memberof PatientsApiApiV1PatientsGet
682
+ */
683
+ readonly email?: string
684
+
685
+ /**
686
+ *
687
+ * @type {Gender}
688
+ * @memberof PatientsApiApiV1PatientsGet
689
+ */
690
+ readonly gender?: Gender
691
+
692
+ /**
693
+ *
694
+ * @type {Date}
695
+ * @memberof PatientsApiApiV1PatientsGet
696
+ */
697
+ readonly dateOfBirth?: Date
698
+
699
+ /**
700
+ *
701
+ * @type {Date}
702
+ * @memberof PatientsApiApiV1PatientsGet
703
+ */
704
+ readonly created?: Date
705
+
706
+ /**
707
+ *
708
+ * @type {boolean}
709
+ * @memberof PatientsApiApiV1PatientsGet
710
+ */
711
+ readonly showHidden?: boolean
712
+
713
+ /**
714
+ *
715
+ * @type {number}
716
+ * @memberof PatientsApiApiV1PatientsGet
717
+ */
718
+ readonly page?: number
719
+
720
+ /**
721
+ *
722
+ * @type {number}
723
+ * @memberof PatientsApiApiV1PatientsGet
724
+ */
725
+ readonly limit?: number
726
+
727
+ /**
728
+ *
729
+ * @type {Date}
730
+ * @memberof PatientsApiApiV1PatientsGet
731
+ */
732
+ readonly lastRetrieved?: Date
733
+ }
734
+
735
+ /**
736
+ * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdDelete operation in PatientsApi.
737
+ * @export
738
+ * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest
739
+ */
740
+ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest {
741
+ /**
742
+ *
743
+ * @type {string}
744
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
745
+ */
746
+ readonly patientId: string
747
+
748
+ /**
749
+ *
750
+ * @type {string}
751
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
752
+ */
753
+ readonly hospitalId: string
754
+
755
+ /**
756
+ *
757
+ * @type {boolean}
758
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
759
+ */
760
+ readonly isPermanent?: boolean
761
+ }
762
+
763
+ /**
764
+ * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPost operation in PatientsApi.
765
+ * @export
766
+ * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest
767
+ */
768
+ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest {
769
+ /**
770
+ *
771
+ * @type {string}
772
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
773
+ */
774
+ readonly patientId: string
775
+
776
+ /**
777
+ *
778
+ * @type {string}
779
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
780
+ */
781
+ readonly hospitalId: string
782
+ }
783
+
784
+ /**
785
+ * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut operation in PatientsApi.
786
+ * @export
787
+ * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest
788
+ */
789
+ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest {
790
+ /**
791
+ *
792
+ * @type {string}
793
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePut
794
+ */
795
+ readonly patientId: string
796
+
797
+ /**
798
+ *
799
+ * @type {string}
800
+ * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePut
801
+ */
802
+ readonly hospitalId: string
803
+ }
804
+
805
+ /**
806
+ * Request parameters for apiV1PatientsPatientIdDelete operation in PatientsApi.
807
+ * @export
808
+ * @interface PatientsApiApiV1PatientsPatientIdDeleteRequest
809
+ */
810
+ export interface PatientsApiApiV1PatientsPatientIdDeleteRequest {
811
+ /**
812
+ *
813
+ * @type {string}
814
+ * @memberof PatientsApiApiV1PatientsPatientIdDelete
815
+ */
816
+ readonly patientId: string
817
+
818
+ /**
819
+ *
820
+ * @type {boolean}
821
+ * @memberof PatientsApiApiV1PatientsPatientIdDelete
822
+ */
823
+ readonly isPermanent?: boolean
824
+ }
825
+
826
+ /**
827
+ * Request parameters for apiV1PatientsPatientIdGet operation in PatientsApi.
828
+ * @export
829
+ * @interface PatientsApiApiV1PatientsPatientIdGetRequest
830
+ */
831
+ export interface PatientsApiApiV1PatientsPatientIdGetRequest {
832
+ /**
833
+ *
834
+ * @type {string}
835
+ * @memberof PatientsApiApiV1PatientsPatientIdGet
836
+ */
837
+ readonly patientId: string
838
+ }
839
+
840
+ /**
841
+ * Request parameters for apiV1PatientsPatientIdPut operation in PatientsApi.
842
+ * @export
843
+ * @interface PatientsApiApiV1PatientsPatientIdPutRequest
844
+ */
845
+ export interface PatientsApiApiV1PatientsPatientIdPutRequest {
846
+ /**
847
+ *
848
+ * @type {string}
849
+ * @memberof PatientsApiApiV1PatientsPatientIdPut
850
+ */
851
+ readonly patientId: string
852
+
853
+ /**
854
+ *
855
+ * @type {UpdatePatientCommand}
856
+ * @memberof PatientsApiApiV1PatientsPatientIdPut
857
+ */
858
+ readonly updatePatientCommand?: UpdatePatientCommand
859
+ }
860
+
861
+ /**
862
+ * Request parameters for apiV1PatientsPost operation in PatientsApi.
863
+ * @export
864
+ * @interface PatientsApiApiV1PatientsPostRequest
865
+ */
866
+ export interface PatientsApiApiV1PatientsPostRequest {
867
+ /**
868
+ *
869
+ * @type {CreatePatientCommand}
870
+ * @memberof PatientsApiApiV1PatientsPost
871
+ */
872
+ readonly createPatientCommand?: CreatePatientCommand
873
+ }
874
+
651
875
  /**
652
876
  * PatientsApi - object-oriented interface
653
877
  * @export
@@ -658,112 +882,96 @@ export class PatientsApi extends BaseAPI {
658
882
  /**
659
883
  *
660
884
  * @summary Get all Patients.
661
- * @param {string} [hospitalId]
662
- * @param {string} [id]
663
- * @param {string} [fullname]
664
- * @param {string} [email]
665
- * @param {Gender} [gender]
666
- * @param {Date} [dateOfBirth]
667
- * @param {Date} [created]
668
- * @param {boolean} [showHidden]
669
- * @param {number} [page]
670
- * @param {number} [limit]
671
- * @param {Date} [lastRetrieved]
885
+ * @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
672
886
  * @param {*} [options] Override http request option.
673
887
  * @throws {RequiredError}
674
888
  * @memberof PatientsApi
675
889
  */
676
- public apiV1PatientsGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
677
- return PatientsApiFp(this.configuration).apiV1PatientsGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
890
+ public apiV1PatientsGet(requestParameters: PatientsApiApiV1PatientsGetRequest = {}, options?: AxiosRequestConfig) {
891
+ return PatientsApiFp(this.configuration).apiV1PatientsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
678
892
  }
679
893
 
680
894
  /**
681
895
  *
682
896
  * @summary Delete patient affiliation
683
- * @param {string} patientId
684
- * @param {string} hospitalId
685
- * @param {boolean} [isPermanent]
897
+ * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
686
898
  * @param {*} [options] Override http request option.
687
899
  * @throws {RequiredError}
688
900
  * @memberof PatientsApi
689
901
  */
690
- public apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
691
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId, hospitalId, isPermanent, options).then((request) => request(this.axios, this.basePath));
902
+ public apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
903
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters.patientId, requestParameters.hospitalId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
692
904
  }
693
905
 
694
906
  /**
695
907
  *
696
908
  * @summary Create patient affiliation
697
- * @param {string} patientId
698
- * @param {string} hospitalId
909
+ * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
699
910
  * @param {*} [options] Override http request option.
700
911
  * @throws {RequiredError}
701
912
  * @memberof PatientsApi
702
913
  */
703
- public apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, options?: AxiosRequestConfig) {
704
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId, hospitalId, options).then((request) => request(this.axios, this.basePath));
914
+ public apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig) {
915
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters.patientId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
705
916
  }
706
917
 
707
918
  /**
708
919
  *
709
920
  * @summary Reactivate patient affiliation
710
- * @param {string} patientId
711
- * @param {string} hospitalId
921
+ * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest} requestParameters Request parameters.
712
922
  * @param {*} [options] Override http request option.
713
923
  * @throws {RequiredError}
714
924
  * @memberof PatientsApi
715
925
  */
716
- public apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(patientId: string, hospitalId: string, options?: AxiosRequestConfig) {
717
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(patientId, hospitalId, options).then((request) => request(this.axios, this.basePath));
926
+ public apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivePutRequest, options?: AxiosRequestConfig) {
927
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivePut(requestParameters.patientId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
718
928
  }
719
929
 
720
930
  /**
721
931
  *
722
932
  * @summary Delete Patient.
723
- * @param {string} patientId
724
- * @param {boolean} [isPermanent]
933
+ * @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
725
934
  * @param {*} [options] Override http request option.
726
935
  * @throws {RequiredError}
727
936
  * @memberof PatientsApi
728
937
  */
729
- public apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig) {
730
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then((request) => request(this.axios, this.basePath));
938
+ public apiV1PatientsPatientIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig) {
939
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(requestParameters.patientId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
731
940
  }
732
941
 
733
942
  /**
734
943
  *
735
944
  * @summary Get Patient.
736
- * @param {string} patientId
945
+ * @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
737
946
  * @param {*} [options] Override http request option.
738
947
  * @throws {RequiredError}
739
948
  * @memberof PatientsApi
740
949
  */
741
- public apiV1PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig) {
742
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdGet(patientId, options).then((request) => request(this.axios, this.basePath));
950
+ public apiV1PatientsPatientIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdGetRequest, options?: AxiosRequestConfig) {
951
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdGet(requestParameters.patientId, options).then((request) => request(this.axios, this.basePath));
743
952
  }
744
953
 
745
954
  /**
746
955
  *
747
956
  * @summary Update Patient.
748
- * @param {string} patientId
749
- * @param {UpdatePatientCommand} [updatePatientCommand]
957
+ * @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
750
958
  * @param {*} [options] Override http request option.
751
959
  * @throws {RequiredError}
752
960
  * @memberof PatientsApi
753
961
  */
754
- public apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) {
755
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdPut(patientId, updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
962
+ public apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig) {
963
+ return PatientsApiFp(this.configuration).apiV1PatientsPatientIdPut(requestParameters.patientId, requestParameters.updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
756
964
  }
757
965
 
758
966
  /**
759
967
  *
760
968
  * @summary Create a Patient.
761
- * @param {CreatePatientCommand} [createPatientCommand]
969
+ * @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
762
970
  * @param {*} [options] Override http request option.
763
971
  * @throws {RequiredError}
764
972
  * @memberof PatientsApi
765
973
  */
766
- public apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) {
767
- return PatientsApiFp(this.configuration).apiV1PatientsPost(createPatientCommand, options).then((request) => request(this.axios, this.basePath));
974
+ public apiV1PatientsPost(requestParameters: PatientsApiApiV1PatientsPostRequest = {}, options?: AxiosRequestConfig) {
975
+ return PatientsApiFp(this.configuration).apiV1PatientsPost(requestParameters.createPatientCommand, options).then((request) => request(this.axios, this.basePath));
768
976
  }
769
977
  }