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 PatientsApiAxiosParamCreator = function (configuration) {
103
103
  return {
104
104
  /**
105
105
  *
106
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
106
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
107
107
  * @param {string} [hospitalId]
108
108
  * @param {string} [id]
109
109
  * @param {string} [fullname]
@@ -196,7 +196,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
196
196
  },
197
197
  /**
198
198
  *
199
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
199
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
200
200
  * @param {string} patientId
201
201
  * @param {string} hospitalId
202
202
  * @param {boolean} [isPermanent]
@@ -251,7 +251,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
251
251
  },
252
252
  /**
253
253
  *
254
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
254
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
255
255
  * @param {string} patientId
256
256
  * @param {string} hospitalId
257
257
  * @param {string} [languageCode]
@@ -306,7 +306,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
306
306
  },
307
307
  /**
308
308
  *
309
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
309
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
310
310
  * @param {string} patientId
311
311
  * @param {string} hospitalId
312
312
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -360,7 +360,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
360
360
  },
361
361
  /**
362
362
  *
363
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
363
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
364
364
  * @param {string} patientId
365
365
  * @param {string} hospitalId
366
366
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -414,7 +414,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
414
414
  },
415
415
  /**
416
416
  *
417
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
417
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
418
418
  * @param {string} patientId
419
419
  * @param {string} hospitalId
420
420
  * @param {*} [options] Override http request option.
@@ -465,7 +465,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
465
465
  },
466
466
  /**
467
467
  *
468
- * @summary Delete Patient. (Auth roles: Admin,Manager)
468
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
469
469
  * @param {string} patientId
470
470
  * @param {boolean} [isPermanent]
471
471
  * @param {*} [options] Override http request option.
@@ -516,7 +516,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
516
516
  },
517
517
  /**
518
518
  *
519
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
519
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
520
520
  * @param {string} patientId
521
521
  * @param {*} [options] Override http request option.
522
522
  * @throws {RequiredError}
@@ -563,7 +563,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
563
563
  },
564
564
  /**
565
565
  *
566
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
566
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
567
567
  * @param {string} patientId
568
568
  * @param {UpdatePatientCommand} [updatePatientCommand]
569
569
  * @param {*} [options] Override http request option.
@@ -613,7 +613,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
613
613
  },
614
614
  /**
615
615
  *
616
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
616
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
617
617
  * @param {string} patientId
618
618
  * @param {*} [options] Override http request option.
619
619
  * @throws {RequiredError}
@@ -660,7 +660,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
660
660
  },
661
661
  /**
662
662
  *
663
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
663
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
664
664
  * @param {CreatePatientCommand} [createPatientCommand]
665
665
  * @param {*} [options] Override http request option.
666
666
  * @throws {RequiredError}
@@ -706,7 +706,7 @@ var PatientsApiAxiosParamCreator = function (configuration) {
706
706
  },
707
707
  /**
708
708
  *
709
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
709
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
710
710
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
711
711
  * @param {*} [options] Override http request option.
712
712
  * @throws {RequiredError}
@@ -762,7 +762,7 @@ var PatientsApiFp = function (configuration) {
762
762
  return {
763
763
  /**
764
764
  *
765
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
765
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
766
766
  * @param {string} [hospitalId]
767
767
  * @param {string} [id]
768
768
  * @param {string} [fullname]
@@ -792,7 +792,7 @@ var PatientsApiFp = function (configuration) {
792
792
  },
793
793
  /**
794
794
  *
795
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
795
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
796
796
  * @param {string} patientId
797
797
  * @param {string} hospitalId
798
798
  * @param {boolean} [isPermanent]
@@ -814,7 +814,7 @@ var PatientsApiFp = function (configuration) {
814
814
  },
815
815
  /**
816
816
  *
817
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
817
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
818
818
  * @param {string} patientId
819
819
  * @param {string} hospitalId
820
820
  * @param {string} [languageCode]
@@ -836,7 +836,7 @@ var PatientsApiFp = function (configuration) {
836
836
  },
837
837
  /**
838
838
  *
839
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
839
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
840
840
  * @param {string} patientId
841
841
  * @param {string} hospitalId
842
842
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -858,7 +858,7 @@ var PatientsApiFp = function (configuration) {
858
858
  },
859
859
  /**
860
860
  *
861
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
861
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
862
862
  * @param {string} patientId
863
863
  * @param {string} hospitalId
864
864
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -880,7 +880,7 @@ var PatientsApiFp = function (configuration) {
880
880
  },
881
881
  /**
882
882
  *
883
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
883
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
884
884
  * @param {string} patientId
885
885
  * @param {string} hospitalId
886
886
  * @param {*} [options] Override http request option.
@@ -901,7 +901,7 @@ var PatientsApiFp = function (configuration) {
901
901
  },
902
902
  /**
903
903
  *
904
- * @summary Delete Patient. (Auth roles: Admin,Manager)
904
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
905
905
  * @param {string} patientId
906
906
  * @param {boolean} [isPermanent]
907
907
  * @param {*} [options] Override http request option.
@@ -922,7 +922,7 @@ var PatientsApiFp = function (configuration) {
922
922
  },
923
923
  /**
924
924
  *
925
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
925
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
926
926
  * @param {string} patientId
927
927
  * @param {*} [options] Override http request option.
928
928
  * @throws {RequiredError}
@@ -942,7 +942,7 @@ var PatientsApiFp = function (configuration) {
942
942
  },
943
943
  /**
944
944
  *
945
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
945
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
946
946
  * @param {string} patientId
947
947
  * @param {UpdatePatientCommand} [updatePatientCommand]
948
948
  * @param {*} [options] Override http request option.
@@ -963,7 +963,7 @@ var PatientsApiFp = function (configuration) {
963
963
  },
964
964
  /**
965
965
  *
966
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
966
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
967
967
  * @param {string} patientId
968
968
  * @param {*} [options] Override http request option.
969
969
  * @throws {RequiredError}
@@ -983,7 +983,7 @@ var PatientsApiFp = function (configuration) {
983
983
  },
984
984
  /**
985
985
  *
986
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
986
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
987
987
  * @param {CreatePatientCommand} [createPatientCommand]
988
988
  * @param {*} [options] Override http request option.
989
989
  * @throws {RequiredError}
@@ -1003,7 +1003,7 @@ var PatientsApiFp = function (configuration) {
1003
1003
  },
1004
1004
  /**
1005
1005
  *
1006
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1006
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
1007
1007
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
1008
1008
  * @param {*} [options] Override http request option.
1009
1009
  * @throws {RequiredError}
@@ -1033,7 +1033,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1033
1033
  return {
1034
1034
  /**
1035
1035
  *
1036
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1036
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
1037
1037
  * @param {string} [hospitalId]
1038
1038
  * @param {string} [id]
1039
1039
  * @param {string} [fullname]
@@ -1053,7 +1053,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1053
1053
  },
1054
1054
  /**
1055
1055
  *
1056
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
1056
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
1057
1057
  * @param {string} patientId
1058
1058
  * @param {string} hospitalId
1059
1059
  * @param {boolean} [isPermanent]
@@ -1065,7 +1065,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1065
1065
  },
1066
1066
  /**
1067
1067
  *
1068
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1068
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
1069
1069
  * @param {string} patientId
1070
1070
  * @param {string} hospitalId
1071
1071
  * @param {string} [languageCode]
@@ -1077,7 +1077,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1077
1077
  },
1078
1078
  /**
1079
1079
  *
1080
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1080
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
1081
1081
  * @param {string} patientId
1082
1082
  * @param {string} hospitalId
1083
1083
  * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
@@ -1089,7 +1089,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1089
1089
  },
1090
1090
  /**
1091
1091
  *
1092
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1092
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
1093
1093
  * @param {string} patientId
1094
1094
  * @param {string} hospitalId
1095
1095
  * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
@@ -1101,7 +1101,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1101
1101
  },
1102
1102
  /**
1103
1103
  *
1104
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
1104
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
1105
1105
  * @param {string} patientId
1106
1106
  * @param {string} hospitalId
1107
1107
  * @param {*} [options] Override http request option.
@@ -1112,7 +1112,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1112
1112
  },
1113
1113
  /**
1114
1114
  *
1115
- * @summary Delete Patient. (Auth roles: Admin,Manager)
1115
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
1116
1116
  * @param {string} patientId
1117
1117
  * @param {boolean} [isPermanent]
1118
1118
  * @param {*} [options] Override http request option.
@@ -1123,7 +1123,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1123
1123
  },
1124
1124
  /**
1125
1125
  *
1126
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1126
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
1127
1127
  * @param {string} patientId
1128
1128
  * @param {*} [options] Override http request option.
1129
1129
  * @throws {RequiredError}
@@ -1133,7 +1133,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1133
1133
  },
1134
1134
  /**
1135
1135
  *
1136
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
1136
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
1137
1137
  * @param {string} patientId
1138
1138
  * @param {UpdatePatientCommand} [updatePatientCommand]
1139
1139
  * @param {*} [options] Override http request option.
@@ -1144,7 +1144,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1144
1144
  },
1145
1145
  /**
1146
1146
  *
1147
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
1147
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
1148
1148
  * @param {string} patientId
1149
1149
  * @param {*} [options] Override http request option.
1150
1150
  * @throws {RequiredError}
@@ -1154,7 +1154,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1154
1154
  },
1155
1155
  /**
1156
1156
  *
1157
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1157
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
1158
1158
  * @param {CreatePatientCommand} [createPatientCommand]
1159
1159
  * @param {*} [options] Override http request option.
1160
1160
  * @throws {RequiredError}
@@ -1164,7 +1164,7 @@ var PatientsApiFactory = function (configuration, basePath, axios) {
1164
1164
  },
1165
1165
  /**
1166
1166
  *
1167
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1167
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
1168
1168
  * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
1169
1169
  * @param {*} [options] Override http request option.
1170
1170
  * @throws {RequiredError}
@@ -1188,7 +1188,7 @@ var PatientsApi = /** @class */ (function (_super) {
1188
1188
  }
1189
1189
  /**
1190
1190
  *
1191
- * @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1191
+ * @summary Get all Patients. (Auth policies: RequireDoctorOrPatientManagerRole)
1192
1192
  * @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
1193
1193
  * @param {*} [options] Override http request option.
1194
1194
  * @throws {RequiredError}
@@ -1201,7 +1201,7 @@ var PatientsApi = /** @class */ (function (_super) {
1201
1201
  };
1202
1202
  /**
1203
1203
  *
1204
- * @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
1204
+ * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
1205
1205
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
1206
1206
  * @param {*} [options] Override http request option.
1207
1207
  * @throws {RequiredError}
@@ -1213,7 +1213,7 @@ var PatientsApi = /** @class */ (function (_super) {
1213
1213
  };
1214
1214
  /**
1215
1215
  *
1216
- * @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1216
+ * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorOrPatientManagerRole)
1217
1217
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest} requestParameters Request parameters.
1218
1218
  * @param {*} [options] Override http request option.
1219
1219
  * @throws {RequiredError}
@@ -1225,7 +1225,7 @@ var PatientsApi = /** @class */ (function (_super) {
1225
1225
  };
1226
1226
  /**
1227
1227
  *
1228
- * @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1228
+ * @summary Create patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
1229
1229
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
1230
1230
  * @param {*} [options] Override http request option.
1231
1231
  * @throws {RequiredError}
@@ -1237,7 +1237,7 @@ var PatientsApi = /** @class */ (function (_super) {
1237
1237
  };
1238
1238
  /**
1239
1239
  *
1240
- * @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1240
+ * @summary Update patient affiliation (Auth policies: RequireDoctorOrPatientManagerRole)
1241
1241
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest} requestParameters Request parameters.
1242
1242
  * @param {*} [options] Override http request option.
1243
1243
  * @throws {RequiredError}
@@ -1249,7 +1249,7 @@ var PatientsApi = /** @class */ (function (_super) {
1249
1249
  };
1250
1250
  /**
1251
1251
  *
1252
- * @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
1252
+ * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
1253
1253
  * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
1254
1254
  * @param {*} [options] Override http request option.
1255
1255
  * @throws {RequiredError}
@@ -1261,7 +1261,7 @@ var PatientsApi = /** @class */ (function (_super) {
1261
1261
  };
1262
1262
  /**
1263
1263
  *
1264
- * @summary Delete Patient. (Auth roles: Admin,Manager)
1264
+ * @summary Delete Patient. (Auth policies: RequireManagerRole)
1265
1265
  * @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
1266
1266
  * @param {*} [options] Override http request option.
1267
1267
  * @throws {RequiredError}
@@ -1273,7 +1273,7 @@ var PatientsApi = /** @class */ (function (_super) {
1273
1273
  };
1274
1274
  /**
1275
1275
  *
1276
- * @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1276
+ * @summary Get Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
1277
1277
  * @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
1278
1278
  * @param {*} [options] Override http request option.
1279
1279
  * @throws {RequiredError}
@@ -1285,7 +1285,7 @@ var PatientsApi = /** @class */ (function (_super) {
1285
1285
  };
1286
1286
  /**
1287
1287
  *
1288
- * @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
1288
+ * @summary Update Patient. (Auth policies: RequirePatientManagerRole)
1289
1289
  * @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
1290
1290
  * @param {*} [options] Override http request option.
1291
1291
  * @throws {RequiredError}
@@ -1297,7 +1297,7 @@ var PatientsApi = /** @class */ (function (_super) {
1297
1297
  };
1298
1298
  /**
1299
1299
  *
1300
- * @summary Reactive Patient. (Auth roles: Admin,Manager)
1300
+ * @summary Reactive Patient. (Auth policies: RequireManagerRole)
1301
1301
  * @param {PatientsApiApiV1PatientsPatientIdReactivatePutRequest} requestParameters Request parameters.
1302
1302
  * @param {*} [options] Override http request option.
1303
1303
  * @throws {RequiredError}
@@ -1309,7 +1309,7 @@ var PatientsApi = /** @class */ (function (_super) {
1309
1309
  };
1310
1310
  /**
1311
1311
  *
1312
- * @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1312
+ * @summary Create a Patient. (Auth policies: RequireDoctorOrPatientManagerRole)
1313
1313
  * @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
1314
1314
  * @param {*} [options] Override http request option.
1315
1315
  * @throws {RequiredError}
@@ -1322,7 +1322,7 @@ var PatientsApi = /** @class */ (function (_super) {
1322
1322
  };
1323
1323
  /**
1324
1324
  *
1325
- * @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
1325
+ * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorOrPatientManagerRole)
1326
1326
  * @param {PatientsApiApiV1PatientsWalkinPostRequest} requestParameters Request parameters.
1327
1327
  * @param {*} [options] Override http request option.
1328
1328
  * @throws {RequiredError}
@@ -24,7 +24,7 @@ import { UserModel } from '../models';
24
24
  export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuration) => {
25
25
  /**
26
26
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
27
- * @summary Change user\'s email on both Identity and Api. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
27
+ * @summary Change user\'s email on both Identity and Api. (Auth policies: RequireDefaultAdminAppRole)
28
28
  * @param {ChangeEmailCommand} [changeEmailCommand]
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
@@ -32,7 +32,7 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
32
32
  apiV1ProfilesChangeemailPost: (changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
34
  *
35
- * @summary Configm email. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
35
+ * @summary Configm email. (Auth policies: RequireDefaultAdminAppRole)
36
36
  * @param {ConfirmEmailCommand} [confirmEmailCommand]
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
@@ -40,14 +40,14 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
40
40
  apiV1ProfilesConfirmemailPost: (confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
41
  /**
42
42
  *
43
- * @summary Get Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
43
+ * @summary Get Profile. (Auth policies: RequireDefaultAdminAppRole)
44
44
  * @param {*} [options] Override http request option.
45
45
  * @throws {RequiredError}
46
46
  */
47
47
  apiV1ProfilesGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
48
  /**
49
49
  *
50
- * @summary Create a Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
50
+ * @summary Create a Profile. (Auth policies: RequireDefaultAdminAppRole)
51
51
  * @param {CreateProfileCommand} [createProfileCommand]
52
52
  * @param {*} [options] Override http request option.
53
53
  * @throws {RequiredError}
@@ -55,7 +55,7 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
55
55
  apiV1ProfilesPost: (createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
56
  /**
57
57
  *
58
- * @summary Delete Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
58
+ * @summary Delete Profile. (Auth policies: RequireDefaultAdminAppRole)
59
59
  * @param {string} profileId
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
@@ -63,7 +63,7 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
63
63
  apiV1ProfilesProfileIdDelete: (profileId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
64
  /**
65
65
  *
66
- * @summary Update Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
66
+ * @summary Update Profile. (Auth policies: RequireDefaultAdminAppRole)
67
67
  * @param {UpdateProfileCommand} [updateProfileCommand]
68
68
  * @param {*} [options] Override http request option.
69
69
  * @throws {RequiredError}
@@ -77,7 +77,7 @@ export declare const ProfilesApiAxiosParamCreator: (configuration?: Configuratio
77
77
  export declare const ProfilesApiFp: (configuration?: Configuration) => {
78
78
  /**
79
79
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
80
- * @summary Change user\'s email on both Identity and Api. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
80
+ * @summary Change user\'s email on both Identity and Api. (Auth policies: RequireDefaultAdminAppRole)
81
81
  * @param {ChangeEmailCommand} [changeEmailCommand]
82
82
  * @param {*} [options] Override http request option.
83
83
  * @throws {RequiredError}
@@ -85,7 +85,7 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
85
85
  apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
86
86
  /**
87
87
  *
88
- * @summary Configm email. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
88
+ * @summary Configm email. (Auth policies: RequireDefaultAdminAppRole)
89
89
  * @param {ConfirmEmailCommand} [confirmEmailCommand]
90
90
  * @param {*} [options] Override http request option.
91
91
  * @throws {RequiredError}
@@ -93,14 +93,14 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
93
93
  apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
94
94
  /**
95
95
  *
96
- * @summary Get Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
96
+ * @summary Get Profile. (Auth policies: RequireDefaultAdminAppRole)
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
99
99
  */
100
100
  apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>>;
101
101
  /**
102
102
  *
103
- * @summary Create a Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
103
+ * @summary Create a Profile. (Auth policies: RequireDefaultAdminAppRole)
104
104
  * @param {CreateProfileCommand} [createProfileCommand]
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
@@ -108,7 +108,7 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
108
108
  apiV1ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserModel>>;
109
109
  /**
110
110
  *
111
- * @summary Delete Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
111
+ * @summary Delete Profile. (Auth policies: RequireDefaultAdminAppRole)
112
112
  * @param {string} profileId
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
@@ -116,7 +116,7 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
116
116
  apiV1ProfilesProfileIdDelete(profileId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
117
117
  /**
118
118
  *
119
- * @summary Update Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
119
+ * @summary Update Profile. (Auth policies: RequireDefaultAdminAppRole)
120
120
  * @param {UpdateProfileCommand} [updateProfileCommand]
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
@@ -130,7 +130,7 @@ export declare const ProfilesApiFp: (configuration?: Configuration) => {
130
130
  export declare const ProfilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
131
131
  /**
132
132
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
133
- * @summary Change user\'s email on both Identity and Api. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
133
+ * @summary Change user\'s email on both Identity and Api. (Auth policies: RequireDefaultAdminAppRole)
134
134
  * @param {ChangeEmailCommand} [changeEmailCommand]
135
135
  * @param {*} [options] Override http request option.
136
136
  * @throws {RequiredError}
@@ -138,7 +138,7 @@ export declare const ProfilesApiFactory: (configuration?: Configuration, basePat
138
138
  apiV1ProfilesChangeemailPost(changeEmailCommand?: ChangeEmailCommand, options?: any): AxiosPromise<boolean>;
139
139
  /**
140
140
  *
141
- * @summary Configm email. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
141
+ * @summary Configm email. (Auth policies: RequireDefaultAdminAppRole)
142
142
  * @param {ConfirmEmailCommand} [confirmEmailCommand]
143
143
  * @param {*} [options] Override http request option.
144
144
  * @throws {RequiredError}
@@ -146,14 +146,14 @@ export declare const ProfilesApiFactory: (configuration?: Configuration, basePat
146
146
  apiV1ProfilesConfirmemailPost(confirmEmailCommand?: ConfirmEmailCommand, options?: any): AxiosPromise<boolean>;
147
147
  /**
148
148
  *
149
- * @summary Get Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
149
+ * @summary Get Profile. (Auth policies: RequireDefaultAdminAppRole)
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
152
152
  */
153
153
  apiV1ProfilesGet(options?: any): AxiosPromise<UserModel>;
154
154
  /**
155
155
  *
156
- * @summary Create a Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
156
+ * @summary Create a Profile. (Auth policies: RequireDefaultAdminAppRole)
157
157
  * @param {CreateProfileCommand} [createProfileCommand]
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
@@ -161,7 +161,7 @@ export declare const ProfilesApiFactory: (configuration?: Configuration, basePat
161
161
  apiV1ProfilesPost(createProfileCommand?: CreateProfileCommand, options?: any): AxiosPromise<UserModel>;
162
162
  /**
163
163
  *
164
- * @summary Delete Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
164
+ * @summary Delete Profile. (Auth policies: RequireDefaultAdminAppRole)
165
165
  * @param {string} profileId
166
166
  * @param {*} [options] Override http request option.
167
167
  * @throws {RequiredError}
@@ -169,7 +169,7 @@ export declare const ProfilesApiFactory: (configuration?: Configuration, basePat
169
169
  apiV1ProfilesProfileIdDelete(profileId: string, options?: any): AxiosPromise<boolean>;
170
170
  /**
171
171
  *
172
- * @summary Update Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
172
+ * @summary Update Profile. (Auth policies: RequireDefaultAdminAppRole)
173
173
  * @param {UpdateProfileCommand} [updateProfileCommand]
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
@@ -250,7 +250,7 @@ export interface ProfilesApiApiV1ProfilesPutRequest {
250
250
  export declare class ProfilesApi extends BaseAPI {
251
251
  /**
252
252
  * Sample request: POST /api/v1/profiles/changeEmail { \"email\": \"user@example.com\" }
253
- * @summary Change user\'s email on both Identity and Api. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
253
+ * @summary Change user\'s email on both Identity and Api. (Auth policies: RequireDefaultAdminAppRole)
254
254
  * @param {ProfilesApiApiV1ProfilesChangeemailPostRequest} requestParameters Request parameters.
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
@@ -259,7 +259,7 @@ export declare class ProfilesApi extends BaseAPI {
259
259
  apiV1ProfilesChangeemailPost(requestParameters?: ProfilesApiApiV1ProfilesChangeemailPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
260
260
  /**
261
261
  *
262
- * @summary Configm email. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
262
+ * @summary Configm email. (Auth policies: RequireDefaultAdminAppRole)
263
263
  * @param {ProfilesApiApiV1ProfilesConfirmemailPostRequest} requestParameters Request parameters.
264
264
  * @param {*} [options] Override http request option.
265
265
  * @throws {RequiredError}
@@ -268,7 +268,7 @@ export declare class ProfilesApi extends BaseAPI {
268
268
  apiV1ProfilesConfirmemailPost(requestParameters?: ProfilesApiApiV1ProfilesConfirmemailPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
269
269
  /**
270
270
  *
271
- * @summary Get Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
271
+ * @summary Get Profile. (Auth policies: RequireDefaultAdminAppRole)
272
272
  * @param {*} [options] Override http request option.
273
273
  * @throws {RequiredError}
274
274
  * @memberof ProfilesApi
@@ -276,7 +276,7 @@ export declare class ProfilesApi extends BaseAPI {
276
276
  apiV1ProfilesGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel, any>>;
277
277
  /**
278
278
  *
279
- * @summary Create a Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
279
+ * @summary Create a Profile. (Auth policies: RequireDefaultAdminAppRole)
280
280
  * @param {ProfilesApiApiV1ProfilesPostRequest} requestParameters Request parameters.
281
281
  * @param {*} [options] Override http request option.
282
282
  * @throws {RequiredError}
@@ -285,7 +285,7 @@ export declare class ProfilesApi extends BaseAPI {
285
285
  apiV1ProfilesPost(requestParameters?: ProfilesApiApiV1ProfilesPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserModel, any>>;
286
286
  /**
287
287
  *
288
- * @summary Delete Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
288
+ * @summary Delete Profile. (Auth policies: RequireDefaultAdminAppRole)
289
289
  * @param {ProfilesApiApiV1ProfilesProfileIdDeleteRequest} requestParameters Request parameters.
290
290
  * @param {*} [options] Override http request option.
291
291
  * @throws {RequiredError}
@@ -294,7 +294,7 @@ export declare class ProfilesApi extends BaseAPI {
294
294
  apiV1ProfilesProfileIdDelete(requestParameters: ProfilesApiApiV1ProfilesProfileIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
295
295
  /**
296
296
  *
297
- * @summary Update Profile. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager, ContentManager)
297
+ * @summary Update Profile. (Auth policies: RequireDefaultAdminAppRole)
298
298
  * @param {ProfilesApiApiV1ProfilesPutRequest} requestParameters Request parameters.
299
299
  * @param {*} [options] Override http request option.
300
300
  * @throws {RequiredError}