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
@@ -427,6 +427,97 @@ export const PatientsApiFactory = function (configuration?: Configuration, baseP
427
427
  };
428
428
  };
429
429
 
430
+ /**
431
+ * Request parameters for apiV2PatientsAffiliationsHospitalIdDelete operation in PatientsApi.
432
+ * @export
433
+ * @interface PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest
434
+ */
435
+ export interface PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest {
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof PatientsApiApiV2PatientsAffiliationsHospitalIdDelete
440
+ */
441
+ readonly hospitalId: string
442
+ }
443
+
444
+ /**
445
+ * Request parameters for apiV2PatientsAffiliationsHospitalIdPost operation in PatientsApi.
446
+ * @export
447
+ * @interface PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest
448
+ */
449
+ export interface PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest {
450
+ /**
451
+ *
452
+ * @type {string}
453
+ * @memberof PatientsApiApiV2PatientsAffiliationsHospitalIdPost
454
+ */
455
+ readonly hospitalId: string
456
+ }
457
+
458
+ /**
459
+ * Request parameters for apiV2PatientsPatientIdDelete operation in PatientsApi.
460
+ * @export
461
+ * @interface PatientsApiApiV2PatientsPatientIdDeleteRequest
462
+ */
463
+ export interface PatientsApiApiV2PatientsPatientIdDeleteRequest {
464
+ /**
465
+ *
466
+ * @type {string}
467
+ * @memberof PatientsApiApiV2PatientsPatientIdDelete
468
+ */
469
+ readonly patientId: string
470
+ }
471
+
472
+ /**
473
+ * Request parameters for apiV2PatientsPatientIdGet operation in PatientsApi.
474
+ * @export
475
+ * @interface PatientsApiApiV2PatientsPatientIdGetRequest
476
+ */
477
+ export interface PatientsApiApiV2PatientsPatientIdGetRequest {
478
+ /**
479
+ *
480
+ * @type {string}
481
+ * @memberof PatientsApiApiV2PatientsPatientIdGet
482
+ */
483
+ readonly patientId: string
484
+ }
485
+
486
+ /**
487
+ * Request parameters for apiV2PatientsPatientIdPut operation in PatientsApi.
488
+ * @export
489
+ * @interface PatientsApiApiV2PatientsPatientIdPutRequest
490
+ */
491
+ export interface PatientsApiApiV2PatientsPatientIdPutRequest {
492
+ /**
493
+ *
494
+ * @type {string}
495
+ * @memberof PatientsApiApiV2PatientsPatientIdPut
496
+ */
497
+ readonly patientId: string
498
+
499
+ /**
500
+ *
501
+ * @type {UpdatePatientCommand}
502
+ * @memberof PatientsApiApiV2PatientsPatientIdPut
503
+ */
504
+ readonly updatePatientCommand?: UpdatePatientCommand
505
+ }
506
+
507
+ /**
508
+ * Request parameters for apiV2PatientsPost operation in PatientsApi.
509
+ * @export
510
+ * @interface PatientsApiApiV2PatientsPostRequest
511
+ */
512
+ export interface PatientsApiApiV2PatientsPostRequest {
513
+ /**
514
+ *
515
+ * @type {CreatePatientCommand}
516
+ * @memberof PatientsApiApiV2PatientsPost
517
+ */
518
+ readonly createPatientCommand?: CreatePatientCommand
519
+ }
520
+
430
521
  /**
431
522
  * PatientsApi - object-oriented interface
432
523
  * @export
@@ -437,77 +528,76 @@ export class PatientsApi extends BaseAPI {
437
528
  /**
438
529
  *
439
530
  * @summary Delete PatientAffiliation
440
- * @param {string} hospitalId
531
+ * @param {PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
441
532
  * @param {*} [options] Override http request option.
442
533
  * @throws {RequiredError}
443
534
  * @memberof PatientsApi
444
535
  */
445
- public apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
446
- return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
536
+ public apiV2PatientsAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV2PatientsAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
537
+ return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdDelete(requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
447
538
  }
448
539
 
449
540
  /**
450
541
  *
451
542
  * @summary Create PatientAffiliation
452
- * @param {string} hospitalId
543
+ * @param {PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
453
544
  * @param {*} [options] Override http request option.
454
545
  * @throws {RequiredError}
455
546
  * @memberof PatientsApi
456
547
  */
457
- public apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: AxiosRequestConfig) {
458
- return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options).then((request) => request(this.axios, this.basePath));
548
+ public apiV2PatientsAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV2PatientsAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig) {
549
+ return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdPost(requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
459
550
  }
460
551
 
461
552
  /**
462
553
  *
463
554
  * @summary Delete Patient.
464
- * @param {string} patientId
555
+ * @param {PatientsApiApiV2PatientsPatientIdDeleteRequest} requestParameters Request parameters.
465
556
  * @param {*} [options] Override http request option.
466
557
  * @deprecated
467
558
  * @throws {RequiredError}
468
559
  * @memberof PatientsApi
469
560
  */
470
- public apiV2PatientsPatientIdDelete(patientId: string, options?: AxiosRequestConfig) {
471
- return PatientsApiFp(this.configuration).apiV2PatientsPatientIdDelete(patientId, options).then((request) => request(this.axios, this.basePath));
561
+ public apiV2PatientsPatientIdDelete(requestParameters: PatientsApiApiV2PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig) {
562
+ return PatientsApiFp(this.configuration).apiV2PatientsPatientIdDelete(requestParameters.patientId, options).then((request) => request(this.axios, this.basePath));
472
563
  }
473
564
 
474
565
  /**
475
566
  *
476
567
  * @summary Get Patient.
477
- * @param {string} patientId
568
+ * @param {PatientsApiApiV2PatientsPatientIdGetRequest} requestParameters Request parameters.
478
569
  * @param {*} [options] Override http request option.
479
570
  * @deprecated
480
571
  * @throws {RequiredError}
481
572
  * @memberof PatientsApi
482
573
  */
483
- public apiV2PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig) {
484
- return PatientsApiFp(this.configuration).apiV2PatientsPatientIdGet(patientId, options).then((request) => request(this.axios, this.basePath));
574
+ public apiV2PatientsPatientIdGet(requestParameters: PatientsApiApiV2PatientsPatientIdGetRequest, options?: AxiosRequestConfig) {
575
+ return PatientsApiFp(this.configuration).apiV2PatientsPatientIdGet(requestParameters.patientId, options).then((request) => request(this.axios, this.basePath));
485
576
  }
486
577
 
487
578
  /**
488
579
  *
489
580
  * @summary Update Patient.
490
- * @param {string} patientId
491
- * @param {UpdatePatientCommand} [updatePatientCommand]
581
+ * @param {PatientsApiApiV2PatientsPatientIdPutRequest} requestParameters Request parameters.
492
582
  * @param {*} [options] Override http request option.
493
583
  * @deprecated
494
584
  * @throws {RequiredError}
495
585
  * @memberof PatientsApi
496
586
  */
497
- public apiV2PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) {
498
- return PatientsApiFp(this.configuration).apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
587
+ public apiV2PatientsPatientIdPut(requestParameters: PatientsApiApiV2PatientsPatientIdPutRequest, options?: AxiosRequestConfig) {
588
+ return PatientsApiFp(this.configuration).apiV2PatientsPatientIdPut(requestParameters.patientId, requestParameters.updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
499
589
  }
500
590
 
501
591
  /**
502
592
  *
503
593
  * @summary Create a Patient.
504
- * @param {CreatePatientCommand} [createPatientCommand]
594
+ * @param {PatientsApiApiV2PatientsPostRequest} requestParameters Request parameters.
505
595
  * @param {*} [options] Override http request option.
506
596
  * @deprecated
507
597
  * @throws {RequiredError}
508
598
  * @memberof PatientsApi
509
599
  */
510
- public apiV2PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) {
511
- return PatientsApiFp(this.configuration).apiV2PatientsPost(createPatientCommand, options).then((request) => request(this.axios, this.basePath));
600
+ public apiV2PatientsPost(requestParameters: PatientsApiApiV2PatientsPostRequest = {}, options?: AxiosRequestConfig) {
601
+ return PatientsApiFp(this.configuration).apiV2PatientsPost(requestParameters.createPatientCommand, options).then((request) => request(this.axios, this.basePath));
512
602
  }
513
603
  }
@@ -337,6 +337,118 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
337
337
  };
338
338
  };
339
339
 
340
+ /**
341
+ * Request parameters for apiV2PlansGet operation in PlansApi.
342
+ * @export
343
+ * @interface PlansApiApiV2PlansGetRequest
344
+ */
345
+ export interface PlansApiApiV2PlansGetRequest {
346
+ /**
347
+ *
348
+ * @type {string}
349
+ * @memberof PlansApiApiV2PlansGet
350
+ */
351
+ readonly id?: string
352
+
353
+ /**
354
+ *
355
+ * @type {string}
356
+ * @memberof PlansApiApiV2PlansGet
357
+ */
358
+ readonly name?: string
359
+
360
+ /**
361
+ *
362
+ * @type {number}
363
+ * @memberof PlansApiApiV2PlansGet
364
+ */
365
+ readonly page?: number
366
+
367
+ /**
368
+ *
369
+ * @type {number}
370
+ * @memberof PlansApiApiV2PlansGet
371
+ */
372
+ readonly limit?: number
373
+
374
+ /**
375
+ *
376
+ * @type {Date}
377
+ * @memberof PlansApiApiV2PlansGet
378
+ */
379
+ readonly lastRetrieved?: Date
380
+ }
381
+
382
+ /**
383
+ * Request parameters for apiV2PlansPlanIdGet operation in PlansApi.
384
+ * @export
385
+ * @interface PlansApiApiV2PlansPlanIdGetRequest
386
+ */
387
+ export interface PlansApiApiV2PlansPlanIdGetRequest {
388
+ /**
389
+ *
390
+ * @type {string}
391
+ * @memberof PlansApiApiV2PlansPlanIdGet
392
+ */
393
+ readonly planId: string
394
+ }
395
+
396
+ /**
397
+ * Request parameters for apiV2PlansPlanIdHospitalsGet operation in PlansApi.
398
+ * @export
399
+ * @interface PlansApiApiV2PlansPlanIdHospitalsGetRequest
400
+ */
401
+ export interface PlansApiApiV2PlansPlanIdHospitalsGetRequest {
402
+ /**
403
+ *
404
+ * @type {string}
405
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsGet
406
+ */
407
+ readonly planId: string
408
+
409
+ /**
410
+ *
411
+ * @type {number}
412
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsGet
413
+ */
414
+ readonly page?: number
415
+
416
+ /**
417
+ *
418
+ * @type {number}
419
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsGet
420
+ */
421
+ readonly limit?: number
422
+
423
+ /**
424
+ *
425
+ * @type {Date}
426
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsGet
427
+ */
428
+ readonly lastRetrieved?: Date
429
+ }
430
+
431
+ /**
432
+ * Request parameters for apiV2PlansPlanIdHospitalsHospitalIdGet operation in PlansApi.
433
+ * @export
434
+ * @interface PlansApiApiV2PlansPlanIdHospitalsHospitalIdGetRequest
435
+ */
436
+ export interface PlansApiApiV2PlansPlanIdHospitalsHospitalIdGetRequest {
437
+ /**
438
+ *
439
+ * @type {string}
440
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsHospitalIdGet
441
+ */
442
+ readonly planId: string
443
+
444
+ /**
445
+ *
446
+ * @type {string}
447
+ * @memberof PlansApiApiV2PlansPlanIdHospitalsHospitalIdGet
448
+ */
449
+ readonly hospitalId: string
450
+ }
451
+
340
452
  /**
341
453
  * PlansApi - object-oriented interface
342
454
  * @export
@@ -347,56 +459,48 @@ export class PlansApi extends BaseAPI {
347
459
  /**
348
460
  *
349
461
  * @summary Get all plans.
350
- * @param {string} [id]
351
- * @param {string} [name]
352
- * @param {number} [page]
353
- * @param {number} [limit]
354
- * @param {Date} [lastRetrieved]
462
+ * @param {PlansApiApiV2PlansGetRequest} requestParameters Request parameters.
355
463
  * @param {*} [options] Override http request option.
356
464
  * @throws {RequiredError}
357
465
  * @memberof PlansApi
358
466
  */
359
- public apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
360
- return PlansApiFp(this.configuration).apiV2PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
467
+ public apiV2PlansGet(requestParameters: PlansApiApiV2PlansGetRequest = {}, options?: AxiosRequestConfig) {
468
+ return PlansApiFp(this.configuration).apiV2PlansGet(requestParameters.id, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
361
469
  }
362
470
 
363
471
  /**
364
472
  *
365
473
  * @summary Get plan.
366
- * @param {string} planId
474
+ * @param {PlansApiApiV2PlansPlanIdGetRequest} requestParameters Request parameters.
367
475
  * @param {*} [options] Override http request option.
368
476
  * @throws {RequiredError}
369
477
  * @memberof PlansApi
370
478
  */
371
- public apiV2PlansPlanIdGet(planId: string, options?: AxiosRequestConfig) {
372
- return PlansApiFp(this.configuration).apiV2PlansPlanIdGet(planId, options).then((request) => request(this.axios, this.basePath));
479
+ public apiV2PlansPlanIdGet(requestParameters: PlansApiApiV2PlansPlanIdGetRequest, options?: AxiosRequestConfig) {
480
+ return PlansApiFp(this.configuration).apiV2PlansPlanIdGet(requestParameters.planId, options).then((request) => request(this.axios, this.basePath));
373
481
  }
374
482
 
375
483
  /**
376
484
  *
377
485
  * @summary Get all plan hospital.
378
- * @param {string} planId
379
- * @param {number} [page]
380
- * @param {number} [limit]
381
- * @param {Date} [lastRetrieved]
486
+ * @param {PlansApiApiV2PlansPlanIdHospitalsGetRequest} requestParameters Request parameters.
382
487
  * @param {*} [options] Override http request option.
383
488
  * @throws {RequiredError}
384
489
  * @memberof PlansApi
385
490
  */
386
- public apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
387
- return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
491
+ public apiV2PlansPlanIdHospitalsGet(requestParameters: PlansApiApiV2PlansPlanIdHospitalsGetRequest, options?: AxiosRequestConfig) {
492
+ return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsGet(requestParameters.planId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
388
493
  }
389
494
 
390
495
  /**
391
496
  *
392
497
  * @summary Get plan hospital.
393
- * @param {string} planId
394
- * @param {string} hospitalId
498
+ * @param {PlansApiApiV2PlansPlanIdHospitalsHospitalIdGetRequest} requestParameters Request parameters.
395
499
  * @param {*} [options] Override http request option.
396
500
  * @throws {RequiredError}
397
501
  * @memberof PlansApi
398
502
  */
399
- public apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
400
- return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
503
+ public apiV2PlansPlanIdHospitalsHospitalIdGet(requestParameters: PlansApiApiV2PlansPlanIdHospitalsHospitalIdGetRequest, options?: AxiosRequestConfig) {
504
+ return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsHospitalIdGet(requestParameters.planId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
401
505
  }
402
506
  }
@@ -409,6 +409,76 @@ export const ProfilesApiFactory = function (configuration?: Configuration, baseP
409
409
  };
410
410
  };
411
411
 
412
+ /**
413
+ * Request parameters for apiV2ProfilesChangeemailPost operation in ProfilesApi.
414
+ * @export
415
+ * @interface ProfilesApiApiV2ProfilesChangeemailPostRequest
416
+ */
417
+ export interface ProfilesApiApiV2ProfilesChangeemailPostRequest {
418
+ /**
419
+ *
420
+ * @type {ChangeEmailCommand}
421
+ * @memberof ProfilesApiApiV2ProfilesChangeemailPost
422
+ */
423
+ readonly changeEmailCommand?: ChangeEmailCommand
424
+ }
425
+
426
+ /**
427
+ * Request parameters for apiV2ProfilesConfirmemailPost operation in ProfilesApi.
428
+ * @export
429
+ * @interface ProfilesApiApiV2ProfilesConfirmemailPostRequest
430
+ */
431
+ export interface ProfilesApiApiV2ProfilesConfirmemailPostRequest {
432
+ /**
433
+ *
434
+ * @type {ConfirmEmailCommand}
435
+ * @memberof ProfilesApiApiV2ProfilesConfirmemailPost
436
+ */
437
+ readonly confirmEmailCommand?: ConfirmEmailCommand
438
+ }
439
+
440
+ /**
441
+ * Request parameters for apiV2ProfilesPost operation in ProfilesApi.
442
+ * @export
443
+ * @interface ProfilesApiApiV2ProfilesPostRequest
444
+ */
445
+ export interface ProfilesApiApiV2ProfilesPostRequest {
446
+ /**
447
+ *
448
+ * @type {CreateProfileCommand}
449
+ * @memberof ProfilesApiApiV2ProfilesPost
450
+ */
451
+ readonly createProfileCommand?: CreateProfileCommand
452
+ }
453
+
454
+ /**
455
+ * Request parameters for apiV2ProfilesProfileIdDelete operation in ProfilesApi.
456
+ * @export
457
+ * @interface ProfilesApiApiV2ProfilesProfileIdDeleteRequest
458
+ */
459
+ export interface ProfilesApiApiV2ProfilesProfileIdDeleteRequest {
460
+ /**
461
+ *
462
+ * @type {string}
463
+ * @memberof ProfilesApiApiV2ProfilesProfileIdDelete
464
+ */
465
+ readonly profileId: string
466
+ }
467
+
468
+ /**
469
+ * Request parameters for apiV2ProfilesPut operation in ProfilesApi.
470
+ * @export
471
+ * @interface ProfilesApiApiV2ProfilesPutRequest
472
+ */
473
+ export interface ProfilesApiApiV2ProfilesPutRequest {
474
+ /**
475
+ *
476
+ * @type {UpdateProfileCommand}
477
+ * @memberof ProfilesApiApiV2ProfilesPut
478
+ */
479
+ readonly updateProfileCommand?: UpdateProfileCommand
480
+ }
481
+
412
482
  /**
413
483
  * ProfilesApi - object-oriented interface
414
484
  * @export
@@ -419,25 +489,25 @@ export class ProfilesApi extends BaseAPI {
419
489
  /**
420
490
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
421
491
  * @summary Change user\'s email on both Identity and Api.
422
- * @param {ChangeEmailCommand} [changeEmailCommand]
492
+ * @param {ProfilesApiApiV2ProfilesChangeemailPostRequest} requestParameters Request parameters.
423
493
  * @param {*} [options] Override http request option.
424
494
  * @throws {RequiredError}
425
495
  * @memberof ProfilesApi
426
496
  */
427
- public apiV2ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) {
428
- return ProfilesApiFp(this.configuration).apiV2ProfilesChangeemailPost(changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
497
+ public apiV2ProfilesChangeemailPost(requestParameters: ProfilesApiApiV2ProfilesChangeemailPostRequest = {}, options?: AxiosRequestConfig) {
498
+ return ProfilesApiFp(this.configuration).apiV2ProfilesChangeemailPost(requestParameters.changeEmailCommand, options).then((request) => request(this.axios, this.basePath));
429
499
  }
430
500
 
431
501
  /**
432
502
  *
433
503
  * @summary Confirm email.
434
- * @param {ConfirmEmailCommand} [confirmEmailCommand]
504
+ * @param {ProfilesApiApiV2ProfilesConfirmemailPostRequest} requestParameters Request parameters.
435
505
  * @param {*} [options] Override http request option.
436
506
  * @throws {RequiredError}
437
507
  * @memberof ProfilesApi
438
508
  */
439
- public apiV2ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) {
440
- return ProfilesApiFp(this.configuration).apiV2ProfilesConfirmemailPost(confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
509
+ public apiV2ProfilesConfirmemailPost(requestParameters: ProfilesApiApiV2ProfilesConfirmemailPostRequest = {}, options?: AxiosRequestConfig) {
510
+ return ProfilesApiFp(this.configuration).apiV2ProfilesConfirmemailPost(requestParameters.confirmEmailCommand, options).then((request) => request(this.axios, this.basePath));
441
511
  }
442
512
 
443
513
  /**
@@ -454,36 +524,36 @@ export class ProfilesApi extends BaseAPI {
454
524
  /**
455
525
  *
456
526
  * @summary Create a Profile.
457
- * @param {CreateProfileCommand} [createProfileCommand]
527
+ * @param {ProfilesApiApiV2ProfilesPostRequest} requestParameters Request parameters.
458
528
  * @param {*} [options] Override http request option.
459
529
  * @throws {RequiredError}
460
530
  * @memberof ProfilesApi
461
531
  */
462
- public apiV2ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) {
463
- return ProfilesApiFp(this.configuration).apiV2ProfilesPost(createProfileCommand, options).then((request) => request(this.axios, this.basePath));
532
+ public apiV2ProfilesPost(requestParameters: ProfilesApiApiV2ProfilesPostRequest = {}, options?: AxiosRequestConfig) {
533
+ return ProfilesApiFp(this.configuration).apiV2ProfilesPost(requestParameters.createProfileCommand, options).then((request) => request(this.axios, this.basePath));
464
534
  }
465
535
 
466
536
  /**
467
537
  *
468
538
  * @summary Delete Profile.
469
- * @param {string} profileId
539
+ * @param {ProfilesApiApiV2ProfilesProfileIdDeleteRequest} requestParameters Request parameters.
470
540
  * @param {*} [options] Override http request option.
471
541
  * @throws {RequiredError}
472
542
  * @memberof ProfilesApi
473
543
  */
474
- public apiV2ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig) {
475
- return ProfilesApiFp(this.configuration).apiV2ProfilesProfileIdDelete(profileId, options).then((request) => request(this.axios, this.basePath));
544
+ public apiV2ProfilesProfileIdDelete(requestParameters: ProfilesApiApiV2ProfilesProfileIdDeleteRequest, options?: AxiosRequestConfig) {
545
+ return ProfilesApiFp(this.configuration).apiV2ProfilesProfileIdDelete(requestParameters.profileId, options).then((request) => request(this.axios, this.basePath));
476
546
  }
477
547
 
478
548
  /**
479
549
  *
480
550
  * @summary Update Profile.
481
- * @param {UpdateProfileCommand} [updateProfileCommand]
551
+ * @param {ProfilesApiApiV2ProfilesPutRequest} requestParameters Request parameters.
482
552
  * @param {*} [options] Override http request option.
483
553
  * @throws {RequiredError}
484
554
  * @memberof ProfilesApi
485
555
  */
486
- public apiV2ProfilesPut(updateProfileCommand?: UpdateProfileCommand, options?: AxiosRequestConfig) {
487
- return ProfilesApiFp(this.configuration).apiV2ProfilesPut(updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
556
+ public apiV2ProfilesPut(requestParameters: ProfilesApiApiV2ProfilesPutRequest = {}, options?: AxiosRequestConfig) {
557
+ return ProfilesApiFp(this.configuration).apiV2ProfilesPut(requestParameters.updateProfileCommand, options).then((request) => request(this.axios, this.basePath));
488
558
  }
489
559
  }