ch-admin-api-client-typescript 5.68.2 → 5.70.0

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 (40) hide show
  1. package/lib/api/about-us-api.d.ts +28 -28
  2. package/lib/api/about-us-api.js +28 -28
  3. package/lib/api/appointments-api.d.ts +52 -52
  4. package/lib/api/appointments-api.js +52 -52
  5. package/lib/api/content-managers-api.d.ts +24 -24
  6. package/lib/api/content-managers-api.js +24 -24
  7. package/lib/api/countries-api.d.ts +28 -28
  8. package/lib/api/countries-api.js +28 -28
  9. package/lib/api/form-results-api.d.ts +20 -20
  10. package/lib/api/form-results-api.js +20 -20
  11. package/lib/api/hospitals-api.d.ts +520 -520
  12. package/lib/api/hospitals-api.js +520 -520
  13. package/lib/api/languages-api.d.ts +8 -8
  14. package/lib/api/languages-api.js +8 -8
  15. package/lib/api/notifications-api.d.ts +8 -8
  16. package/lib/api/notifications-api.js +8 -8
  17. package/lib/api/patient-affiliations-api.d.ts +8 -8
  18. package/lib/api/patient-affiliations-api.js +8 -8
  19. package/lib/api/patient-managers-api.d.ts +24 -24
  20. package/lib/api/patient-managers-api.js +24 -24
  21. package/lib/api/patients-api.d.ts +48 -48
  22. package/lib/api/patients-api.js +48 -48
  23. package/lib/api/profiles-api.d.ts +24 -24
  24. package/lib/api/profiles-api.js +24 -24
  25. package/lib/api/specialties-api.d.ts +60 -60
  26. package/lib/api/specialties-api.js +60 -60
  27. package/lib/api/specialty-types-api.d.ts +64 -64
  28. package/lib/api/specialty-types-api.js +64 -64
  29. package/lib/api/survey-results-api.d.ts +16 -16
  30. package/lib/api/survey-results-api.js +16 -16
  31. package/lib/api/tags-api.d.ts +16 -16
  32. package/lib/api/tags-api.js +16 -16
  33. package/lib/api/translation-api.d.ts +8 -8
  34. package/lib/api/translation-api.js +8 -8
  35. package/lib/api/users-api.d.ts +8 -8
  36. package/lib/api/users-api.js +8 -8
  37. package/lib/models/notification-code.d.ts +3 -1
  38. package/lib/models/notification-code.d.ts.map +1 -1
  39. package/lib/models/notification-code.js +3 -1
  40. package/package.json +1 -1
@@ -103,7 +103,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
103
103
  return {
104
104
  /**
105
105
  *
106
- * @summary Get all PatientManagers. (Auth roles: Admin,Manager)
106
+ * @summary Get all PatientManagers. (Auth policies: RequireManagerRole)
107
107
  * @param {string} [id]
108
108
  * @param {string} [fullname]
109
109
  * @param {string} [email]
@@ -192,7 +192,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
192
192
  },
193
193
  /**
194
194
  *
195
- * @summary Delete PatientManager. (Auth roles: Admin,Manager)
195
+ * @summary Delete PatientManager. (Auth policies: RequireManagerRole)
196
196
  * @param {string} patientManagerId
197
197
  * @param {boolean} [isPermanent]
198
198
  * @param {*} [options] Override http request option.
@@ -243,7 +243,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
243
243
  },
244
244
  /**
245
245
  *
246
- * @summary Get PatientManager. (Auth roles: Admin,Manager,PatientManager)
246
+ * @summary Get PatientManager. (Auth policies: RequirePatientManagerRole)
247
247
  * @param {string} patientManagerId
248
248
  * @param {*} [options] Override http request option.
249
249
  * @throws {RequiredError}
@@ -290,7 +290,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
290
290
  },
291
291
  /**
292
292
  *
293
- * @summary Update PatientManager. (Auth roles: Admin,Manager,PatientManager)
293
+ * @summary Update PatientManager. (Auth policies: RequirePatientManagerRole)
294
294
  * @param {string} patientManagerId
295
295
  * @param {UpdatePatientManagerCommand} [updatePatientManagerCommand]
296
296
  * @param {*} [options] Override http request option.
@@ -340,7 +340,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
340
340
  },
341
341
  /**
342
342
  *
343
- * @summary Reactivate PatientManager. (Auth roles: Admin,Manager)
343
+ * @summary Reactivate PatientManager. (Auth policies: RequireManagerRole)
344
344
  * @param {string} patientManagerId
345
345
  * @param {*} [options] Override http request option.
346
346
  * @throws {RequiredError}
@@ -387,7 +387,7 @@ var PatientManagersApiAxiosParamCreator = function (configuration) {
387
387
  },
388
388
  /**
389
389
  *
390
- * @summary Create a PatientManager. (Auth roles: Admin,Manager)
390
+ * @summary Create a PatientManager. (Auth policies: RequireManagerRole)
391
391
  * @param {CreatePatientManagerCommand} [createPatientManagerCommand]
392
392
  * @param {*} [options] Override http request option.
393
393
  * @throws {RequiredError}
@@ -443,7 +443,7 @@ var PatientManagersApiFp = function (configuration) {
443
443
  return {
444
444
  /**
445
445
  *
446
- * @summary Get all PatientManagers. (Auth roles: Admin,Manager)
446
+ * @summary Get all PatientManagers. (Auth policies: RequireManagerRole)
447
447
  * @param {string} [id]
448
448
  * @param {string} [fullname]
449
449
  * @param {string} [email]
@@ -472,7 +472,7 @@ var PatientManagersApiFp = function (configuration) {
472
472
  },
473
473
  /**
474
474
  *
475
- * @summary Delete PatientManager. (Auth roles: Admin,Manager)
475
+ * @summary Delete PatientManager. (Auth policies: RequireManagerRole)
476
476
  * @param {string} patientManagerId
477
477
  * @param {boolean} [isPermanent]
478
478
  * @param {*} [options] Override http request option.
@@ -493,7 +493,7 @@ var PatientManagersApiFp = function (configuration) {
493
493
  },
494
494
  /**
495
495
  *
496
- * @summary Get PatientManager. (Auth roles: Admin,Manager,PatientManager)
496
+ * @summary Get PatientManager. (Auth policies: RequirePatientManagerRole)
497
497
  * @param {string} patientManagerId
498
498
  * @param {*} [options] Override http request option.
499
499
  * @throws {RequiredError}
@@ -513,7 +513,7 @@ var PatientManagersApiFp = function (configuration) {
513
513
  },
514
514
  /**
515
515
  *
516
- * @summary Update PatientManager. (Auth roles: Admin,Manager,PatientManager)
516
+ * @summary Update PatientManager. (Auth policies: RequirePatientManagerRole)
517
517
  * @param {string} patientManagerId
518
518
  * @param {UpdatePatientManagerCommand} [updatePatientManagerCommand]
519
519
  * @param {*} [options] Override http request option.
@@ -534,7 +534,7 @@ var PatientManagersApiFp = function (configuration) {
534
534
  },
535
535
  /**
536
536
  *
537
- * @summary Reactivate PatientManager. (Auth roles: Admin,Manager)
537
+ * @summary Reactivate PatientManager. (Auth policies: RequireManagerRole)
538
538
  * @param {string} patientManagerId
539
539
  * @param {*} [options] Override http request option.
540
540
  * @throws {RequiredError}
@@ -554,7 +554,7 @@ var PatientManagersApiFp = function (configuration) {
554
554
  },
555
555
  /**
556
556
  *
557
- * @summary Create a PatientManager. (Auth roles: Admin,Manager)
557
+ * @summary Create a PatientManager. (Auth policies: RequireManagerRole)
558
558
  * @param {CreatePatientManagerCommand} [createPatientManagerCommand]
559
559
  * @param {*} [options] Override http request option.
560
560
  * @throws {RequiredError}
@@ -584,7 +584,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
584
584
  return {
585
585
  /**
586
586
  *
587
- * @summary Get all PatientManagers. (Auth roles: Admin,Manager)
587
+ * @summary Get all PatientManagers. (Auth policies: RequireManagerRole)
588
588
  * @param {string} [id]
589
589
  * @param {string} [fullname]
590
590
  * @param {string} [email]
@@ -603,7 +603,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
603
603
  },
604
604
  /**
605
605
  *
606
- * @summary Delete PatientManager. (Auth roles: Admin,Manager)
606
+ * @summary Delete PatientManager. (Auth policies: RequireManagerRole)
607
607
  * @param {string} patientManagerId
608
608
  * @param {boolean} [isPermanent]
609
609
  * @param {*} [options] Override http request option.
@@ -614,7 +614,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
614
614
  },
615
615
  /**
616
616
  *
617
- * @summary Get PatientManager. (Auth roles: Admin,Manager,PatientManager)
617
+ * @summary Get PatientManager. (Auth policies: RequirePatientManagerRole)
618
618
  * @param {string} patientManagerId
619
619
  * @param {*} [options] Override http request option.
620
620
  * @throws {RequiredError}
@@ -624,7 +624,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
624
624
  },
625
625
  /**
626
626
  *
627
- * @summary Update PatientManager. (Auth roles: Admin,Manager,PatientManager)
627
+ * @summary Update PatientManager. (Auth policies: RequirePatientManagerRole)
628
628
  * @param {string} patientManagerId
629
629
  * @param {UpdatePatientManagerCommand} [updatePatientManagerCommand]
630
630
  * @param {*} [options] Override http request option.
@@ -635,7 +635,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
635
635
  },
636
636
  /**
637
637
  *
638
- * @summary Reactivate PatientManager. (Auth roles: Admin,Manager)
638
+ * @summary Reactivate PatientManager. (Auth policies: RequireManagerRole)
639
639
  * @param {string} patientManagerId
640
640
  * @param {*} [options] Override http request option.
641
641
  * @throws {RequiredError}
@@ -645,7 +645,7 @@ var PatientManagersApiFactory = function (configuration, basePath, axios) {
645
645
  },
646
646
  /**
647
647
  *
648
- * @summary Create a PatientManager. (Auth roles: Admin,Manager)
648
+ * @summary Create a PatientManager. (Auth policies: RequireManagerRole)
649
649
  * @param {CreatePatientManagerCommand} [createPatientManagerCommand]
650
650
  * @param {*} [options] Override http request option.
651
651
  * @throws {RequiredError}
@@ -669,7 +669,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
669
669
  }
670
670
  /**
671
671
  *
672
- * @summary Get all PatientManagers. (Auth roles: Admin,Manager)
672
+ * @summary Get all PatientManagers. (Auth policies: RequireManagerRole)
673
673
  * @param {PatientManagersApiApiV1PatientmanagersGetRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
675
675
  * @throws {RequiredError}
@@ -682,7 +682,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
682
682
  };
683
683
  /**
684
684
  *
685
- * @summary Delete PatientManager. (Auth roles: Admin,Manager)
685
+ * @summary Delete PatientManager. (Auth policies: RequireManagerRole)
686
686
  * @param {PatientManagersApiApiV1PatientmanagersPatientManagerIdDeleteRequest} requestParameters Request parameters.
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
@@ -694,7 +694,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
694
694
  };
695
695
  /**
696
696
  *
697
- * @summary Get PatientManager. (Auth roles: Admin,Manager,PatientManager)
697
+ * @summary Get PatientManager. (Auth policies: RequirePatientManagerRole)
698
698
  * @param {PatientManagersApiApiV1PatientmanagersPatientManagerIdGetRequest} requestParameters Request parameters.
699
699
  * @param {*} [options] Override http request option.
700
700
  * @throws {RequiredError}
@@ -706,7 +706,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
706
706
  };
707
707
  /**
708
708
  *
709
- * @summary Update PatientManager. (Auth roles: Admin,Manager,PatientManager)
709
+ * @summary Update PatientManager. (Auth policies: RequirePatientManagerRole)
710
710
  * @param {PatientManagersApiApiV1PatientmanagersPatientManagerIdPutRequest} requestParameters Request parameters.
711
711
  * @param {*} [options] Override http request option.
712
712
  * @throws {RequiredError}
@@ -718,7 +718,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
718
718
  };
719
719
  /**
720
720
  *
721
- * @summary Reactivate PatientManager. (Auth roles: Admin,Manager)
721
+ * @summary Reactivate PatientManager. (Auth policies: RequireManagerRole)
722
722
  * @param {PatientManagersApiApiV1PatientmanagersPatientManagerIdReactivatePutRequest} requestParameters Request parameters.
723
723
  * @param {*} [options] Override http request option.
724
724
  * @throws {RequiredError}
@@ -730,7 +730,7 @@ var PatientManagersApi = /** @class */ (function (_super) {
730
730
  };
731
731
  /**
732
732
  *
733
- * @summary Create a PatientManager. (Auth roles: Admin,Manager)
733
+ * @summary Create a PatientManager. (Auth policies: RequireManagerRole)
734
734
  * @param {PatientManagersApiApiV1PatientmanagersPostRequest} requestParameters Request parameters.
735
735
  * @param {*} [options] Override http request option.
736
736
  * @throws {RequiredError}
@@ -29,7 +29,7 @@ import { UpdatePatientCommand } from '../models';
29
29
  export declare const PatientsApiAxiosParamCreator: (configuration?: Configuration) => {
30
30
  /**
31
31
  *
32
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
32
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
33
33
  * @param {string} [hospitalId]
34
34
  * @param {string} [id]
35
35
  * @param {string} [fullname]
@@ -47,7 +47,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
47
47
  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) => Promise<RequestArgs>;
48
48
  /**
49
49
  *
50
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
50
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
51
51
  * @param {string} patientId
52
52
  * @param {string} hospitalId
53
53
  * @param {boolean} [isPermanent]
@@ -57,7 +57,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
57
57
  apiV1PatientsPatientIdAffiliationsHospitalIdDelete: (patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
58
  /**
59
59
  *
60
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
60
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
61
61
  * @param {string} patientId
62
62
  * @param {string} hospitalId
63
63
  * @param {string} [languageCode]
@@ -67,7 +67,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
67
67
  apiV1PatientsPatientIdAffiliationsHospitalIdGet: (patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
68
  /**
69
69
  *
70
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
70
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
71
71
  * @param {string} patientId
72
72
  * @param {string} hospitalId
73
73
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -77,7 +77,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
77
77
  apiV1PatientsPatientIdAffiliationsHospitalIdPost: (patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
78
  /**
79
79
  *
80
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
80
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
81
81
  * @param {string} patientId
82
82
  * @param {string} hospitalId
83
83
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -87,7 +87,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
87
87
  apiV1PatientsPatientIdAffiliationsHospitalIdPut: (patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
88
  /**
89
89
  *
90
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
90
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
91
91
  * @param {string} patientId
92
92
  * @param {string} hospitalId
93
93
  * @param {*} [options] Override http request option.
@@ -96,7 +96,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
96
96
  apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: (patientId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
97
97
  /**
98
98
  *
99
- * @summary Delete Patient. (Auth roles: Admin,Manager)
99
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
100
100
  * @param {string} patientId
101
101
  * @param {boolean} [isPermanent]
102
102
  * @param {*} [options] Override http request option.
@@ -105,7 +105,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
105
105
  apiV1PatientsPatientIdDelete: (patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
106
106
  /**
107
107
  *
108
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
108
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
109
109
  * @param {string} patientId
110
110
  * @param {*} [options] Override http request option.
111
111
  * @throws {RequiredError}
@@ -113,7 +113,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
113
113
  apiV1PatientsPatientIdGet: (patientId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
114
114
  /**
115
115
  *
116
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
116
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
117
117
  * @param {string} patientId
118
118
  * @param {UpdatePatientCommand} [updatePatientCommand]
119
119
  * @param {*} [options] Override http request option.
@@ -122,7 +122,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
122
122
  apiV1PatientsPatientIdPut: (patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
123
123
  /**
124
124
  *
125
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
125
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
126
126
  * @param {string} patientId
127
127
  * @param {*} [options] Override http request option.
128
128
  * @throws {RequiredError}
@@ -130,7 +130,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
130
130
  apiV1PatientsPatientIdReactivatePut: (patientId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
131
131
  /**
132
132
  *
133
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
133
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
134
134
  * @param {CreatePatientCommand} [createPatientCommand]
135
135
  * @param {*} [options] Override http request option.
136
136
  * @throws {RequiredError}
@@ -138,7 +138,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
138
138
  apiV1PatientsPost: (createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
139
139
  /**
140
140
  *
141
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
141
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
142
142
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
143
143
  * @param {*} [options] Override http request option.
144
144
  * @throws {RequiredError}
@@ -152,7 +152,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
152
152
  export declare const PatientsApiFp: (configuration?: Configuration) => {
153
153
  /**
154
154
  *
155
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
155
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
156
156
  * @param {string} [hospitalId]
157
157
  * @param {string} [id]
158
158
  * @param {string} [fullname]
@@ -170,7 +170,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
170
170
  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): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientsModel>>;
171
171
  /**
172
172
  *
173
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
173
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
174
174
  * @param {string} patientId
175
175
  * @param {string} hospitalId
176
176
  * @param {boolean} [isPermanent]
@@ -180,7 +180,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
180
180
  apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
181
181
  /**
182
182
  *
183
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
183
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
184
184
  * @param {string} patientId
185
185
  * @param {string} hospitalId
186
186
  * @param {string} [languageCode]
@@ -190,7 +190,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
190
190
  apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>>;
191
191
  /**
192
192
  *
193
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
193
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
194
194
  * @param {string} patientId
195
195
  * @param {string} hospitalId
196
196
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -200,7 +200,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
200
200
  apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
201
201
  /**
202
202
  *
203
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
203
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
204
204
  * @param {string} patientId
205
205
  * @param {string} hospitalId
206
206
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -210,7 +210,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
210
210
  apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
211
211
  /**
212
212
  *
213
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
213
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
214
214
  * @param {string} patientId
215
215
  * @param {string} hospitalId
216
216
  * @param {*} [options] Override http request option.
@@ -219,7 +219,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
219
219
  apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
220
220
  /**
221
221
  *
222
- * @summary Delete Patient. (Auth roles: Admin,Manager)
222
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
223
223
  * @param {string} patientId
224
224
  * @param {boolean} [isPermanent]
225
225
  * @param {*} [options] Override http request option.
@@ -228,7 +228,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
228
228
  apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
229
229
  /**
230
230
  *
231
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
231
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
232
232
  * @param {string} patientId
233
233
  * @param {*} [options] Override http request option.
234
234
  * @throws {RequiredError}
@@ -236,7 +236,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
236
236
  apiV1PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
237
237
  /**
238
238
  *
239
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
239
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
240
240
  * @param {string} patientId
241
241
  * @param {UpdatePatientCommand} [updatePatientCommand]
242
242
  * @param {*} [options] Override http request option.
@@ -245,7 +245,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
245
245
  apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
246
246
  /**
247
247
  *
248
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
248
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
249
249
  * @param {string} patientId
250
250
  * @param {*} [options] Override http request option.
251
251
  * @throws {RequiredError}
@@ -253,7 +253,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
253
253
  apiV1PatientsPatientIdReactivatePut(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
254
254
  /**
255
255
  *
256
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
256
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
257
257
  * @param {CreatePatientCommand} [createPatientCommand]
258
258
  * @param {*} [options] Override http request option.
259
259
  * @throws {RequiredError}
@@ -261,7 +261,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
261
261
  apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
262
262
  /**
263
263
  *
264
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
264
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
265
265
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
266
266
  * @param {*} [options] Override http request option.
267
267
  * @throws {RequiredError}
@@ -275,7 +275,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
275
275
  export declare const PatientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
276
276
  /**
277
277
  *
278
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
278
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
279
279
  * @param {string} [hospitalId]
280
280
  * @param {string} [id]
281
281
  * @param {string} [fullname]
@@ -293,7 +293,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
293
293
  apiV1PatientsGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientsModel>;
294
294
  /**
295
295
  *
296
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
296
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
297
297
  * @param {string} patientId
298
298
  * @param {string} hospitalId
299
299
  * @param {boolean} [isPermanent]
@@ -303,7 +303,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
303
303
  apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
304
304
  /**
305
305
  *
306
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
306
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
307
307
  * @param {string} patientId
308
308
  * @param {string} hospitalId
309
309
  * @param {string} [languageCode]
@@ -313,7 +313,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
313
313
  apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel>;
314
314
  /**
315
315
  *
316
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
316
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
317
317
  * @param {string} patientId
318
318
  * @param {string} hospitalId
319
319
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -323,7 +323,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
323
323
  apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
324
324
  /**
325
325
  *
326
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
326
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
327
327
  * @param {string} patientId
328
328
  * @param {string} hospitalId
329
329
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -333,7 +333,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
333
333
  apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
334
334
  /**
335
335
  *
336
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
336
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
337
337
  * @param {string} patientId
338
338
  * @param {string} hospitalId
339
339
  * @param {*} [options] Override http request option.
@@ -342,7 +342,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
342
342
  apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: any): AxiosPromise<boolean>;
343
343
  /**
344
344
  *
345
- * @summary Delete Patient. (Auth roles: Admin,Manager)
345
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
346
346
  * @param {string} patientId
347
347
  * @param {boolean} [isPermanent]
348
348
  * @param {*} [options] Override http request option.
@@ -351,7 +351,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
351
351
  apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
352
352
  /**
353
353
  *
354
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
354
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
355
355
  * @param {string} patientId
356
356
  * @param {*} [options] Override http request option.
357
357
  * @throws {RequiredError}
@@ -359,7 +359,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
359
359
  apiV1PatientsPatientIdGet(patientId: string, options?: any): AxiosPromise<PatientModel>;
360
360
  /**
361
361
  *
362
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
362
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
363
363
  * @param {string} patientId
364
364
  * @param {UpdatePatientCommand} [updatePatientCommand]
365
365
  * @param {*} [options] Override http request option.
@@ -368,7 +368,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
368
368
  apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: any): AxiosPromise<PatientModel>;
369
369
  /**
370
370
  *
371
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
371
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
372
372
  * @param {string} patientId
373
373
  * @param {*} [options] Override http request option.
374
374
  * @throws {RequiredError}
@@ -376,7 +376,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
376
376
  apiV1PatientsPatientIdReactivatePut(patientId: string, options?: any): AxiosPromise<boolean>;
377
377
  /**
378
378
  *
379
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
379
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
380
380
  * @param {CreatePatientCommand} [createPatientCommand]
381
381
  * @param {*} [options] Override http request option.
382
382
  * @throws {RequiredError}
@@ -384,7 +384,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
384
384
  apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel>;
385
385
  /**
386
386
  *
387
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
387
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
388
388
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
389
389
  * @param {*} [options] Override http request option.
390
390
  * @throws {RequiredError}
@@ -682,7 +682,7 @@ export interface PatientsApiApiV1PatientsWalkinPostRequest {
682
682
  export declare class PatientsApi extends BaseAPI {
683
683
  /**
684
684
  *
685
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
685
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
686
686
  * @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
@@ -691,7 +691,7 @@ export declare class PatientsApi extends BaseAPI {
691
691
  apiV1PatientsGet(requestParameters?: PatientsApiApiV1PatientsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientsModel, any>>;
692
692
  /**
693
693
  *
694
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
694
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
695
695
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
696
696
  * @param {*} [options] Override http request option.
697
697
  * @throws {RequiredError}
@@ -700,7 +700,7 @@ export declare class PatientsApi extends BaseAPI {
700
700
  apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
701
701
  /**
702
702
  *
703
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
703
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
704
704
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest} requestParameters Request parameters.
705
705
  * @param {*} [options] Override http request option.
706
706
  * @throws {RequiredError}
@@ -709,7 +709,7 @@ export declare class PatientsApi extends BaseAPI {
709
709
  apiV1PatientsPatientIdAffiliationsHospitalIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientAffiliationModel, any>>;
710
710
  /**
711
711
  *
712
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
712
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
713
713
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
714
714
  * @param {*} [options] Override http request option.
715
715
  * @throws {RequiredError}
@@ -718,7 +718,7 @@ export declare class PatientsApi extends BaseAPI {
718
718
  apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
719
719
  /**
720
720
  *
721
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
721
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
722
722
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest} requestParameters Request parameters.
723
723
  * @param {*} [options] Override http request option.
724
724
  * @throws {RequiredError}
@@ -727,7 +727,7 @@ export declare class PatientsApi extends BaseAPI {
727
727
  apiV1PatientsPatientIdAffiliationsHospitalIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
728
728
  /**
729
729
  *
730
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
730
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
731
731
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
732
732
  * @param {*} [options] Override http request option.
733
733
  * @throws {RequiredError}
@@ -736,7 +736,7 @@ export declare class PatientsApi extends BaseAPI {
736
736
  apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
737
737
  /**
738
738
  *
739
- * @summary Delete Patient. (Auth roles: Admin,Manager)
739
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
740
740
  * @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
741
741
  * @param {*} [options] Override http request option.
742
742
  * @throws {RequiredError}
@@ -745,7 +745,7 @@ export declare class PatientsApi extends BaseAPI {
745
745
  apiV1PatientsPatientIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
746
746
  /**
747
747
  *
748
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
748
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
749
749
  * @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
750
750
  * @param {*} [options] Override http request option.
751
751
  * @throws {RequiredError}
@@ -754,7 +754,7 @@ export declare class PatientsApi extends BaseAPI {
754
754
  apiV1PatientsPatientIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
755
755
  /**
756
756
  *
757
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
757
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
758
758
  * @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
759
759
  * @param {*} [options] Override http request option.
760
760
  * @throws {RequiredError}
@@ -763,7 +763,7 @@ export declare class PatientsApi extends BaseAPI {
763
763
  apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
764
764
  /**
765
765
  *
766
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
766
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
767
767
  * @param {PatientsApiApiV1PatientsPatientIdReactivatePutRequest} requestParameters Request parameters.
768
768
  * @param {*} [options] Override http request option.
769
769
  * @throws {RequiredError}
@@ -772,7 +772,7 @@ export declare class PatientsApi extends BaseAPI {
772
772
  apiV1PatientsPatientIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
773
773
  /**
774
774
  *
775
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
775
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
776
776
  * @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
777
777
  * @param {*} [options] Override http request option.
778
778
  * @throws {RequiredError}
@@ -781,7 +781,7 @@ export declare class PatientsApi extends BaseAPI {
781
781
  apiV1PatientsPost(requestParameters?: PatientsApiApiV1PatientsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
782
782
  /**
783
783
  *
784
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
784
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
785
785
  * @param {PatientsApiApiV1PatientsWalkinPostRequest} requestParameters Request parameters.
786
786
  * @param {*} [options] Override http request option.
787
787
  * @throws {RequiredError}