@prenta/core 4.3.2 → 5.0.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 (158) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/actions.d.ts +8 -0
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +60 -21
  5. package/dist/actions.js.map +1 -1
  6. package/dist/ai/brand-voice-document.d.ts.map +1 -1
  7. package/dist/ai/brand-voice-document.js +4 -2
  8. package/dist/ai/brand-voice-document.js.map +1 -1
  9. package/dist/ai/brand-voice-structured.d.ts.map +1 -1
  10. package/dist/ai/brand-voice-structured.js +24 -9
  11. package/dist/ai/brand-voice-structured.js.map +1 -1
  12. package/dist/api/auth-context.d.ts +3 -0
  13. package/dist/api/auth-context.d.ts.map +1 -0
  14. package/dist/api/auth-context.js +3 -0
  15. package/dist/api/auth-context.js.map +1 -0
  16. package/dist/api/handler-factory.d.ts.map +1 -1
  17. package/dist/api/handler-factory.js +8 -2
  18. package/dist/api/handler-factory.js.map +1 -1
  19. package/dist/api/index.d.ts +2 -0
  20. package/dist/api/index.d.ts.map +1 -1
  21. package/dist/api/index.js +2 -0
  22. package/dist/api/index.js.map +1 -1
  23. package/dist/api/limiters.d.ts +3 -0
  24. package/dist/api/limiters.d.ts.map +1 -0
  25. package/dist/api/limiters.js +3 -0
  26. package/dist/api/limiters.js.map +1 -0
  27. package/dist/api/pagination.d.ts +3 -0
  28. package/dist/api/pagination.d.ts.map +1 -0
  29. package/dist/api/pagination.js +3 -0
  30. package/dist/api/pagination.js.map +1 -0
  31. package/dist/api/responses.d.ts +3 -0
  32. package/dist/api/responses.d.ts.map +1 -0
  33. package/dist/api/responses.js +3 -0
  34. package/dist/api/responses.js.map +1 -0
  35. package/dist/api/route-helpers.d.ts +12 -0
  36. package/dist/api/route-helpers.d.ts.map +1 -1
  37. package/dist/api/route-helpers.js +47 -2
  38. package/dist/api/route-helpers.js.map +1 -1
  39. package/dist/api/routes/auth.d.ts.map +1 -1
  40. package/dist/api/routes/auth.js +103 -30
  41. package/dist/api/routes/auth.js.map +1 -1
  42. package/dist/api/routes/dashboard.d.ts.map +1 -1
  43. package/dist/api/routes/dashboard.js +11 -4
  44. package/dist/api/routes/dashboard.js.map +1 -1
  45. package/dist/api/routes/documents.d.ts.map +1 -1
  46. package/dist/api/routes/documents.js +11 -1
  47. package/dist/api/routes/documents.js.map +1 -1
  48. package/dist/api/routes/media.d.ts.map +1 -1
  49. package/dist/api/routes/media.js +7 -24
  50. package/dist/api/routes/media.js.map +1 -1
  51. package/dist/api/routes/meta.js +1 -1
  52. package/dist/api/routes/meta.js.map +1 -1
  53. package/dist/api/routes/seo-public.d.ts.map +1 -1
  54. package/dist/api/routes/seo-public.js +12 -4
  55. package/dist/api/routes/seo-public.js.map +1 -1
  56. package/dist/api/routes/seo.d.ts.map +1 -1
  57. package/dist/api/routes/seo.js +4 -0
  58. package/dist/api/routes/seo.js.map +1 -1
  59. package/dist/api/routes/system.d.ts.map +1 -1
  60. package/dist/api/routes/system.js +101 -1
  61. package/dist/api/routes/system.js.map +1 -1
  62. package/dist/api/routes/users.d.ts.map +1 -1
  63. package/dist/api/routes/users.js +4 -1
  64. package/dist/api/routes/users.js.map +1 -1
  65. package/dist/auth/oauth.js +2 -2
  66. package/dist/auth/oauth.js.map +1 -1
  67. package/dist/auth/session.d.ts +2 -0
  68. package/dist/auth/session.d.ts.map +1 -1
  69. package/dist/auth/session.js +5 -0
  70. package/dist/auth/session.js.map +1 -1
  71. package/dist/auth/user-admin.d.ts +2 -0
  72. package/dist/auth/user-admin.d.ts.map +1 -1
  73. package/dist/auth/user-admin.js +16 -0
  74. package/dist/auth/user-admin.js.map +1 -1
  75. package/dist/cache/http.d.ts.map +1 -1
  76. package/dist/cache/http.js +4 -2
  77. package/dist/cache/http.js.map +1 -1
  78. package/dist/content/extract.js +1 -1
  79. package/dist/content/extract.js.map +1 -1
  80. package/dist/content-health/scanner.d.ts.map +1 -1
  81. package/dist/content-health/scanner.js +5 -4
  82. package/dist/content-health/scanner.js.map +1 -1
  83. package/dist/db/model-types.d.ts +0 -36
  84. package/dist/db/model-types.d.ts.map +1 -1
  85. package/dist/diagnostics/logger.d.ts.map +1 -1
  86. package/dist/diagnostics/logger.js +22 -28
  87. package/dist/diagnostics/logger.js.map +1 -1
  88. package/dist/diagnostics/sentry.d.ts.map +1 -1
  89. package/dist/diagnostics/sentry.js +12 -0
  90. package/dist/diagnostics/sentry.js.map +1 -1
  91. package/dist/forms/files.d.ts +2 -2
  92. package/dist/forms/files.d.ts.map +1 -1
  93. package/dist/forms/files.js +2 -14
  94. package/dist/forms/files.js.map +1 -1
  95. package/dist/forms/submission.d.ts.map +1 -1
  96. package/dist/forms/submission.js +6 -4
  97. package/dist/forms/submission.js.map +1 -1
  98. package/dist/generated/browser.d.ts +0 -15
  99. package/dist/generated/client.d.ts +0 -15
  100. package/dist/generated/internal/class.d.ts +0 -33
  101. package/dist/generated/internal/class.js +4 -4
  102. package/dist/generated/internal/prismaNamespace.d.ts +1 -282
  103. package/dist/generated/internal/prismaNamespace.js +0 -50
  104. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +0 -56
  105. package/dist/generated/internal/prismaNamespaceBrowser.js +0 -50
  106. package/dist/generated/models/ContentLock.d.ts +2 -2
  107. package/dist/generated/models/Document.d.ts +1 -274
  108. package/dist/generated/models/User.d.ts +0 -281
  109. package/dist/generated/models.d.ts +0 -3
  110. package/dist/index.d.ts +1 -1
  111. package/dist/index.d.ts.map +1 -1
  112. package/dist/index.js +1 -1
  113. package/dist/index.js.map +1 -1
  114. package/dist/presence/index.d.ts.map +1 -1
  115. package/dist/presence/index.js +6 -2
  116. package/dist/presence/index.js.map +1 -1
  117. package/dist/security/access.d.ts +9 -5
  118. package/dist/security/access.d.ts.map +1 -1
  119. package/dist/security/access.js +28 -15
  120. package/dist/security/access.js.map +1 -1
  121. package/dist/security/audit.d.ts.map +1 -1
  122. package/dist/security/audit.js +1 -0
  123. package/dist/security/audit.js.map +1 -1
  124. package/dist/security/center/index.d.ts +2 -2
  125. package/dist/security/center/index.d.ts.map +1 -1
  126. package/dist/security/center/index.js +1 -1
  127. package/dist/security/center/index.js.map +1 -1
  128. package/dist/security/center/settings.d.ts +2 -0
  129. package/dist/security/center/settings.d.ts.map +1 -1
  130. package/dist/security/center/settings.js +38 -0
  131. package/dist/security/center/settings.js.map +1 -1
  132. package/dist/security/center/types.d.ts +8 -0
  133. package/dist/security/center/types.d.ts.map +1 -1
  134. package/dist/security/encrypted-fields.d.ts +1 -1
  135. package/dist/security/encrypted-fields.d.ts.map +1 -1
  136. package/dist/security/encrypted-fields.js +4 -3
  137. package/dist/security/encrypted-fields.js.map +1 -1
  138. package/dist/security/index.d.ts +1 -1
  139. package/dist/security/index.d.ts.map +1 -1
  140. package/dist/security/index.js +1 -1
  141. package/dist/security/index.js.map +1 -1
  142. package/dist/security/upload.d.ts +10 -0
  143. package/dist/security/upload.d.ts.map +1 -1
  144. package/dist/security/upload.js +32 -0
  145. package/dist/security/upload.js.map +1 -1
  146. package/dist/seo/llms-txt.d.ts.map +1 -1
  147. package/dist/seo/llms-txt.js +1 -0
  148. package/dist/seo/llms-txt.js.map +1 -1
  149. package/package.json +2 -1
  150. package/prisma/migrations/0015_audit_remediation_indexes/migration.sql +79 -0
  151. package/prisma/schema.prisma +4 -47
  152. package/schema-fragments/cms-schema.prisma +0 -1
  153. package/dist/generated/models/BackupRecord.d.ts +0 -1100
  154. package/dist/generated/models/BackupRecord.js +0 -1
  155. package/dist/generated/models/Site.d.ts +0 -1062
  156. package/dist/generated/models/Site.js +0 -1
  157. package/dist/generated/models/WorkflowState.d.ts +0 -1436
  158. package/dist/generated/models/WorkflowState.js +0 -1
@@ -339,7 +339,6 @@ export type UserWhereInput = {
339
339
  contentLocks?: Prisma.ContentLockListRelationFilter;
340
340
  notifications?: Prisma.InAppNotificationListRelationFilter;
341
341
  contentTemplates?: Prisma.ContentTemplateListRelationFilter;
342
- workflowAssigned?: Prisma.WorkflowStateListRelationFilter;
343
342
  passwordResetTokens?: Prisma.PasswordResetTokenListRelationFilter;
344
343
  documentComments?: Prisma.DocumentCommentListRelationFilter;
345
344
  documentNotifications?: Prisma.DocumentNotificationListRelationFilter;
@@ -380,7 +379,6 @@ export type UserOrderByWithRelationInput = {
380
379
  contentLocks?: Prisma.ContentLockOrderByRelationAggregateInput;
381
380
  notifications?: Prisma.InAppNotificationOrderByRelationAggregateInput;
382
381
  contentTemplates?: Prisma.ContentTemplateOrderByRelationAggregateInput;
383
- workflowAssigned?: Prisma.WorkflowStateOrderByRelationAggregateInput;
384
382
  passwordResetTokens?: Prisma.PasswordResetTokenOrderByRelationAggregateInput;
385
383
  documentComments?: Prisma.DocumentCommentOrderByRelationAggregateInput;
386
384
  documentNotifications?: Prisma.DocumentNotificationOrderByRelationAggregateInput;
@@ -425,7 +423,6 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
425
423
  contentLocks?: Prisma.ContentLockListRelationFilter;
426
424
  notifications?: Prisma.InAppNotificationListRelationFilter;
427
425
  contentTemplates?: Prisma.ContentTemplateListRelationFilter;
428
- workflowAssigned?: Prisma.WorkflowStateListRelationFilter;
429
426
  passwordResetTokens?: Prisma.PasswordResetTokenListRelationFilter;
430
427
  documentComments?: Prisma.DocumentCommentListRelationFilter;
431
428
  documentNotifications?: Prisma.DocumentNotificationListRelationFilter;
@@ -528,7 +525,6 @@ export type UserCreateInput = {
528
525
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
529
526
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
530
527
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
531
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
532
528
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
533
529
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
534
530
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -569,7 +565,6 @@ export type UserUncheckedCreateInput = {
569
565
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
570
566
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
571
567
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
572
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
573
568
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
574
569
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
575
570
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -610,7 +605,6 @@ export type UserUpdateInput = {
610
605
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
611
606
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
612
607
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
613
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
614
608
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
615
609
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
616
610
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -651,7 +645,6 @@ export type UserUncheckedUpdateInput = {
651
645
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
652
646
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
653
647
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
654
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
655
648
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
656
649
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
657
650
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -989,20 +982,6 @@ export type UserUpdateOneRequiredWithoutContentTemplatesNestedInput = {
989
982
  connect?: Prisma.UserWhereUniqueInput;
990
983
  update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutContentTemplatesInput, Prisma.UserUpdateWithoutContentTemplatesInput>, Prisma.UserUncheckedUpdateWithoutContentTemplatesInput>;
991
984
  };
992
- export type UserCreateNestedOneWithoutWorkflowAssignedInput = {
993
- create?: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>;
994
- connectOrCreate?: Prisma.UserCreateOrConnectWithoutWorkflowAssignedInput;
995
- connect?: Prisma.UserWhereUniqueInput;
996
- };
997
- export type UserUpdateOneWithoutWorkflowAssignedNestedInput = {
998
- create?: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>;
999
- connectOrCreate?: Prisma.UserCreateOrConnectWithoutWorkflowAssignedInput;
1000
- upsert?: Prisma.UserUpsertWithoutWorkflowAssignedInput;
1001
- disconnect?: Prisma.UserWhereInput | boolean;
1002
- delete?: Prisma.UserWhereInput | boolean;
1003
- connect?: Prisma.UserWhereUniqueInput;
1004
- update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutWorkflowAssignedInput, Prisma.UserUpdateWithoutWorkflowAssignedInput>, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>;
1005
- };
1006
985
  export type UserCreateNestedOneWithoutPasswordResetTokensInput = {
1007
986
  create?: Prisma.XOR<Prisma.UserCreateWithoutPasswordResetTokensInput, Prisma.UserUncheckedCreateWithoutPasswordResetTokensInput>;
1008
987
  connectOrCreate?: Prisma.UserCreateOrConnectWithoutPasswordResetTokensInput;
@@ -1076,7 +1055,6 @@ export type UserCreateWithoutOauthAccountsInput = {
1076
1055
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1077
1056
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1078
1057
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1079
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1080
1058
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1081
1059
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1082
1060
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1116,7 +1094,6 @@ export type UserUncheckedCreateWithoutOauthAccountsInput = {
1116
1094
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1117
1095
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1118
1096
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1119
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1120
1097
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1121
1098
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1122
1099
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -1169,7 +1146,6 @@ export type UserUpdateWithoutOauthAccountsInput = {
1169
1146
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
1170
1147
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
1171
1148
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
1172
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
1173
1149
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
1174
1150
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
1175
1151
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -1209,7 +1185,6 @@ export type UserUncheckedUpdateWithoutOauthAccountsInput = {
1209
1185
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
1210
1186
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
1211
1187
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
1212
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
1213
1188
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
1214
1189
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
1215
1190
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -1249,7 +1224,6 @@ export type UserCreateWithoutSessionsInput = {
1249
1224
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1250
1225
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1251
1226
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1252
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1253
1227
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1254
1228
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1255
1229
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1289,7 +1263,6 @@ export type UserUncheckedCreateWithoutSessionsInput = {
1289
1263
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1290
1264
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1291
1265
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1292
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1293
1266
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1294
1267
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1295
1268
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -1342,7 +1315,6 @@ export type UserUpdateWithoutSessionsInput = {
1342
1315
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
1343
1316
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
1344
1317
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
1345
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
1346
1318
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
1347
1319
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
1348
1320
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -1382,7 +1354,6 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
1382
1354
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
1383
1355
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
1384
1356
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
1385
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
1386
1357
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
1387
1358
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
1388
1359
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -1422,7 +1393,6 @@ export type UserCreateWithoutApiKeysInput = {
1422
1393
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1423
1394
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1424
1395
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1425
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1426
1396
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1427
1397
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1428
1398
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1462,7 +1432,6 @@ export type UserUncheckedCreateWithoutApiKeysInput = {
1462
1432
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1463
1433
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1464
1434
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1465
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1466
1435
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1467
1436
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1468
1437
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -1515,7 +1484,6 @@ export type UserUpdateWithoutApiKeysInput = {
1515
1484
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
1516
1485
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
1517
1486
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
1518
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
1519
1487
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
1520
1488
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
1521
1489
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -1555,7 +1523,6 @@ export type UserUncheckedUpdateWithoutApiKeysInput = {
1555
1523
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
1556
1524
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
1557
1525
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
1558
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
1559
1526
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
1560
1527
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
1561
1528
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -1595,7 +1562,6 @@ export type UserCreateWithoutDocumentsInput = {
1595
1562
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1596
1563
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1597
1564
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1598
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1599
1565
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1600
1566
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1601
1567
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1635,7 +1601,6 @@ export type UserUncheckedCreateWithoutDocumentsInput = {
1635
1601
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1636
1602
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1637
1603
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1638
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1639
1604
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1640
1605
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1641
1606
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -1679,7 +1644,6 @@ export type UserCreateWithoutUpdatedDocumentsInput = {
1679
1644
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1680
1645
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1681
1646
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1682
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1683
1647
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1684
1648
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1685
1649
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1719,7 +1683,6 @@ export type UserUncheckedCreateWithoutUpdatedDocumentsInput = {
1719
1683
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1720
1684
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1721
1685
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1722
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1723
1686
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1724
1687
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1725
1688
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -1772,7 +1735,6 @@ export type UserUpdateWithoutDocumentsInput = {
1772
1735
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
1773
1736
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
1774
1737
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
1775
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
1776
1738
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
1777
1739
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
1778
1740
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -1812,7 +1774,6 @@ export type UserUncheckedUpdateWithoutDocumentsInput = {
1812
1774
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
1813
1775
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
1814
1776
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
1815
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
1816
1777
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
1817
1778
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
1818
1779
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -1861,7 +1822,6 @@ export type UserUpdateWithoutUpdatedDocumentsInput = {
1861
1822
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
1862
1823
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
1863
1824
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
1864
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
1865
1825
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
1866
1826
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
1867
1827
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -1901,7 +1861,6 @@ export type UserUncheckedUpdateWithoutUpdatedDocumentsInput = {
1901
1861
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
1902
1862
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
1903
1863
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
1904
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
1905
1864
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
1906
1865
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
1907
1866
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -1941,7 +1900,6 @@ export type UserCreateWithoutVersionsInput = {
1941
1900
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
1942
1901
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
1943
1902
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
1944
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
1945
1903
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
1946
1904
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
1947
1905
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -1981,7 +1939,6 @@ export type UserUncheckedCreateWithoutVersionsInput = {
1981
1939
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
1982
1940
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
1983
1941
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
1984
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
1985
1942
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
1986
1943
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
1987
1944
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -2034,7 +1991,6 @@ export type UserUpdateWithoutVersionsInput = {
2034
1991
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
2035
1992
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
2036
1993
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
2037
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
2038
1994
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2039
1995
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2040
1996
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -2074,7 +2030,6 @@ export type UserUncheckedUpdateWithoutVersionsInput = {
2074
2030
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
2075
2031
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
2076
2032
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
2077
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
2078
2033
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2079
2034
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2080
2035
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -2114,7 +2069,6 @@ export type UserCreateWithoutMediaInput = {
2114
2069
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
2115
2070
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
2116
2071
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
2117
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
2118
2072
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
2119
2073
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2120
2074
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -2154,7 +2108,6 @@ export type UserUncheckedCreateWithoutMediaInput = {
2154
2108
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
2155
2109
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
2156
2110
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
2157
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
2158
2111
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
2159
2112
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
2160
2113
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -2207,7 +2160,6 @@ export type UserUpdateWithoutMediaInput = {
2207
2160
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
2208
2161
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
2209
2162
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
2210
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
2211
2163
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2212
2164
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2213
2165
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -2247,7 +2199,6 @@ export type UserUncheckedUpdateWithoutMediaInput = {
2247
2199
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
2248
2200
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
2249
2201
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
2250
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
2251
2202
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2252
2203
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2253
2204
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -2287,7 +2238,6 @@ export type UserCreateWithoutContentLocksInput = {
2287
2238
  media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
2288
2239
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
2289
2240
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
2290
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
2291
2241
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
2292
2242
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2293
2243
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -2327,7 +2277,6 @@ export type UserUncheckedCreateWithoutContentLocksInput = {
2327
2277
  media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
2328
2278
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
2329
2279
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
2330
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
2331
2280
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
2332
2281
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
2333
2282
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -2380,7 +2329,6 @@ export type UserUpdateWithoutContentLocksInput = {
2380
2329
  media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
2381
2330
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
2382
2331
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
2383
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
2384
2332
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2385
2333
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2386
2334
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -2420,7 +2368,6 @@ export type UserUncheckedUpdateWithoutContentLocksInput = {
2420
2368
  media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
2421
2369
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
2422
2370
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
2423
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
2424
2371
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2425
2372
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2426
2373
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -2460,7 +2407,6 @@ export type UserCreateWithoutNotificationsInput = {
2460
2407
  media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
2461
2408
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
2462
2409
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
2463
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
2464
2410
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
2465
2411
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2466
2412
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -2500,7 +2446,6 @@ export type UserUncheckedCreateWithoutNotificationsInput = {
2500
2446
  media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
2501
2447
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
2502
2448
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
2503
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
2504
2449
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
2505
2450
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
2506
2451
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -2553,7 +2498,6 @@ export type UserUpdateWithoutNotificationsInput = {
2553
2498
  media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
2554
2499
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
2555
2500
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
2556
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
2557
2501
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2558
2502
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2559
2503
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -2593,7 +2537,6 @@ export type UserUncheckedUpdateWithoutNotificationsInput = {
2593
2537
  media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
2594
2538
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
2595
2539
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
2596
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
2597
2540
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2598
2541
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2599
2542
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -2633,7 +2576,6 @@ export type UserCreateWithoutContentTemplatesInput = {
2633
2576
  media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
2634
2577
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
2635
2578
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
2636
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
2637
2579
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
2638
2580
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2639
2581
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
@@ -2673,7 +2615,6 @@ export type UserUncheckedCreateWithoutContentTemplatesInput = {
2673
2615
  media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
2674
2616
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
2675
2617
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
2676
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
2677
2618
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
2678
2619
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
2679
2620
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
@@ -2726,7 +2667,6 @@ export type UserUpdateWithoutContentTemplatesInput = {
2726
2667
  media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
2727
2668
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
2728
2669
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
2729
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
2730
2670
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2731
2671
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2732
2672
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
@@ -2766,180 +2706,6 @@ export type UserUncheckedUpdateWithoutContentTemplatesInput = {
2766
2706
  media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
2767
2707
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
2768
2708
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
2769
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
2770
- passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2771
- documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2772
- documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
2773
- };
2774
- export type UserCreateWithoutWorkflowAssignedInput = {
2775
- id?: string;
2776
- email: string;
2777
- name: string;
2778
- avatarUrl?: string | null;
2779
- role?: $Enums.UserRole;
2780
- passwordHash?: string | null;
2781
- totpSecret?: string | null;
2782
- totpEnabled?: boolean;
2783
- lastTotpStep?: number | null;
2784
- backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2785
- authProvider?: string | null;
2786
- isActive?: boolean;
2787
- isApproved?: boolean;
2788
- emailVerified?: boolean;
2789
- lastLoginAt?: Date | string | null;
2790
- createdAt?: Date | string;
2791
- updatedAt?: Date | string;
2792
- suspendedAt?: Date | string | null;
2793
- lockedAt?: Date | string | null;
2794
- forcePasswordReset?: boolean;
2795
- mfaRequired?: boolean;
2796
- failedLoginCount?: number;
2797
- lastActiveAt?: Date | string | null;
2798
- invitedById?: string | null;
2799
- acceptedInviteAt?: Date | string | null;
2800
- sessions?: Prisma.SessionCreateNestedManyWithoutUserInput;
2801
- oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput;
2802
- apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput;
2803
- documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput;
2804
- updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput;
2805
- versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput;
2806
- media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput;
2807
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
2808
- notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
2809
- contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
2810
- passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
2811
- documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2812
- documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
2813
- };
2814
- export type UserUncheckedCreateWithoutWorkflowAssignedInput = {
2815
- id?: string;
2816
- email: string;
2817
- name: string;
2818
- avatarUrl?: string | null;
2819
- role?: $Enums.UserRole;
2820
- passwordHash?: string | null;
2821
- totpSecret?: string | null;
2822
- totpEnabled?: boolean;
2823
- lastTotpStep?: number | null;
2824
- backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2825
- authProvider?: string | null;
2826
- isActive?: boolean;
2827
- isApproved?: boolean;
2828
- emailVerified?: boolean;
2829
- lastLoginAt?: Date | string | null;
2830
- createdAt?: Date | string;
2831
- updatedAt?: Date | string;
2832
- suspendedAt?: Date | string | null;
2833
- lockedAt?: Date | string | null;
2834
- forcePasswordReset?: boolean;
2835
- mfaRequired?: boolean;
2836
- failedLoginCount?: number;
2837
- lastActiveAt?: Date | string | null;
2838
- invitedById?: string | null;
2839
- acceptedInviteAt?: Date | string | null;
2840
- sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput;
2841
- oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput;
2842
- apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput;
2843
- documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput;
2844
- updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput;
2845
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput;
2846
- media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput;
2847
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
2848
- notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
2849
- contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
2850
- passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
2851
- documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
2852
- documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
2853
- };
2854
- export type UserCreateOrConnectWithoutWorkflowAssignedInput = {
2855
- where: Prisma.UserWhereUniqueInput;
2856
- create: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>;
2857
- };
2858
- export type UserUpsertWithoutWorkflowAssignedInput = {
2859
- update: Prisma.XOR<Prisma.UserUpdateWithoutWorkflowAssignedInput, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>;
2860
- create: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>;
2861
- where?: Prisma.UserWhereInput;
2862
- };
2863
- export type UserUpdateToOneWithWhereWithoutWorkflowAssignedInput = {
2864
- where?: Prisma.UserWhereInput;
2865
- data: Prisma.XOR<Prisma.UserUpdateWithoutWorkflowAssignedInput, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>;
2866
- };
2867
- export type UserUpdateWithoutWorkflowAssignedInput = {
2868
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2869
- email?: Prisma.StringFieldUpdateOperationsInput | string;
2870
- name?: Prisma.StringFieldUpdateOperationsInput | string;
2871
- avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2872
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole;
2873
- passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2874
- totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2875
- totpEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2876
- lastTotpStep?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2877
- backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2878
- authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2879
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2880
- isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2881
- emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2882
- lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2883
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2884
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2885
- suspendedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2886
- lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2887
- forcePasswordReset?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2888
- mfaRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2889
- failedLoginCount?: Prisma.IntFieldUpdateOperationsInput | number;
2890
- lastActiveAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2891
- invitedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2892
- acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2893
- sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput;
2894
- oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput;
2895
- apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput;
2896
- documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput;
2897
- updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput;
2898
- versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput;
2899
- media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput;
2900
- contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
2901
- notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
2902
- contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
2903
- passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
2904
- documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
2905
- documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
2906
- };
2907
- export type UserUncheckedUpdateWithoutWorkflowAssignedInput = {
2908
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2909
- email?: Prisma.StringFieldUpdateOperationsInput | string;
2910
- name?: Prisma.StringFieldUpdateOperationsInput | string;
2911
- avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2912
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole;
2913
- passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2914
- totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2915
- totpEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2916
- lastTotpStep?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2917
- backupCodes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2918
- authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2919
- isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2920
- isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2921
- emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2922
- lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2923
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2924
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2925
- suspendedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2926
- lockedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2927
- forcePasswordReset?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2928
- mfaRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2929
- failedLoginCount?: Prisma.IntFieldUpdateOperationsInput | number;
2930
- lastActiveAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2931
- invitedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2932
- acceptedInviteAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2933
- sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput;
2934
- oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput;
2935
- apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput;
2936
- documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput;
2937
- updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput;
2938
- versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput;
2939
- media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput;
2940
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
2941
- notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
2942
- contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
2943
2709
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
2944
2710
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
2945
2711
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
@@ -2980,7 +2746,6 @@ export type UserCreateWithoutPasswordResetTokensInput = {
2980
2746
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
2981
2747
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
2982
2748
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
2983
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
2984
2749
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
2985
2750
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
2986
2751
  };
@@ -3020,7 +2785,6 @@ export type UserUncheckedCreateWithoutPasswordResetTokensInput = {
3020
2785
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
3021
2786
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
3022
2787
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
3023
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
3024
2788
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
3025
2789
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
3026
2790
  };
@@ -3073,7 +2837,6 @@ export type UserUpdateWithoutPasswordResetTokensInput = {
3073
2837
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
3074
2838
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
3075
2839
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
3076
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
3077
2840
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
3078
2841
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
3079
2842
  };
@@ -3113,7 +2876,6 @@ export type UserUncheckedUpdateWithoutPasswordResetTokensInput = {
3113
2876
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
3114
2877
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
3115
2878
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
3116
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
3117
2879
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
3118
2880
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
3119
2881
  };
@@ -3153,7 +2915,6 @@ export type UserCreateWithoutDocumentCommentsInput = {
3153
2915
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
3154
2916
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
3155
2917
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
3156
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
3157
2918
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
3158
2919
  documentNotifications?: Prisma.DocumentNotificationCreateNestedManyWithoutUserInput;
3159
2920
  };
@@ -3193,7 +2954,6 @@ export type UserUncheckedCreateWithoutDocumentCommentsInput = {
3193
2954
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
3194
2955
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
3195
2956
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
3196
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
3197
2957
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
3198
2958
  documentNotifications?: Prisma.DocumentNotificationUncheckedCreateNestedManyWithoutUserInput;
3199
2959
  };
@@ -3246,7 +3006,6 @@ export type UserUpdateWithoutDocumentCommentsInput = {
3246
3006
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
3247
3007
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
3248
3008
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
3249
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
3250
3009
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
3251
3010
  documentNotifications?: Prisma.DocumentNotificationUpdateManyWithoutUserNestedInput;
3252
3011
  };
@@ -3286,7 +3045,6 @@ export type UserUncheckedUpdateWithoutDocumentCommentsInput = {
3286
3045
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
3287
3046
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
3288
3047
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
3289
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
3290
3048
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
3291
3049
  documentNotifications?: Prisma.DocumentNotificationUncheckedUpdateManyWithoutUserNestedInput;
3292
3050
  };
@@ -3326,7 +3084,6 @@ export type UserCreateWithoutDocumentNotificationsInput = {
3326
3084
  contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput;
3327
3085
  notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput;
3328
3086
  contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput;
3329
- workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput;
3330
3087
  passwordResetTokens?: Prisma.PasswordResetTokenCreateNestedManyWithoutUserInput;
3331
3088
  documentComments?: Prisma.DocumentCommentCreateNestedManyWithoutUserInput;
3332
3089
  };
@@ -3366,7 +3123,6 @@ export type UserUncheckedCreateWithoutDocumentNotificationsInput = {
3366
3123
  contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput;
3367
3124
  notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput;
3368
3125
  contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput;
3369
- workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput;
3370
3126
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput;
3371
3127
  documentComments?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutUserInput;
3372
3128
  };
@@ -3419,7 +3175,6 @@ export type UserUpdateWithoutDocumentNotificationsInput = {
3419
3175
  contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput;
3420
3176
  notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput;
3421
3177
  contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput;
3422
- workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput;
3423
3178
  passwordResetTokens?: Prisma.PasswordResetTokenUpdateManyWithoutUserNestedInput;
3424
3179
  documentComments?: Prisma.DocumentCommentUpdateManyWithoutUserNestedInput;
3425
3180
  };
@@ -3459,7 +3214,6 @@ export type UserUncheckedUpdateWithoutDocumentNotificationsInput = {
3459
3214
  contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput;
3460
3215
  notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput;
3461
3216
  contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput;
3462
- workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput;
3463
3217
  passwordResetTokens?: Prisma.PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput;
3464
3218
  documentComments?: Prisma.DocumentCommentUncheckedUpdateManyWithoutUserNestedInput;
3465
3219
  };
@@ -3477,7 +3231,6 @@ export type UserCountOutputType = {
3477
3231
  contentLocks: number;
3478
3232
  notifications: number;
3479
3233
  contentTemplates: number;
3480
- workflowAssigned: number;
3481
3234
  passwordResetTokens: number;
3482
3235
  documentComments: number;
3483
3236
  documentNotifications: number;
@@ -3493,7 +3246,6 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
3493
3246
  contentLocks?: boolean | UserCountOutputTypeCountContentLocksArgs;
3494
3247
  notifications?: boolean | UserCountOutputTypeCountNotificationsArgs;
3495
3248
  contentTemplates?: boolean | UserCountOutputTypeCountContentTemplatesArgs;
3496
- workflowAssigned?: boolean | UserCountOutputTypeCountWorkflowAssignedArgs;
3497
3249
  passwordResetTokens?: boolean | UserCountOutputTypeCountPasswordResetTokensArgs;
3498
3250
  documentComments?: boolean | UserCountOutputTypeCountDocumentCommentsArgs;
3499
3251
  documentNotifications?: boolean | UserCountOutputTypeCountDocumentNotificationsArgs;
@@ -3567,12 +3319,6 @@ export type UserCountOutputTypeCountNotificationsArgs<ExtArgs extends runtime.Ty
3567
3319
  export type UserCountOutputTypeCountContentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3568
3320
  where?: Prisma.ContentTemplateWhereInput;
3569
3321
  };
3570
- /**
3571
- * UserCountOutputType without action
3572
- */
3573
- export type UserCountOutputTypeCountWorkflowAssignedArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3574
- where?: Prisma.WorkflowStateWhereInput;
3575
- };
3576
3322
  /**
3577
3323
  * UserCountOutputType without action
3578
3324
  */
@@ -3627,7 +3373,6 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
3627
3373
  contentLocks?: boolean | Prisma.User$contentLocksArgs<ExtArgs>;
3628
3374
  notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>;
3629
3375
  contentTemplates?: boolean | Prisma.User$contentTemplatesArgs<ExtArgs>;
3630
- workflowAssigned?: boolean | Prisma.User$workflowAssignedArgs<ExtArgs>;
3631
3376
  passwordResetTokens?: boolean | Prisma.User$passwordResetTokensArgs<ExtArgs>;
3632
3377
  documentComments?: boolean | Prisma.User$documentCommentsArgs<ExtArgs>;
3633
3378
  documentNotifications?: boolean | Prisma.User$documentNotificationsArgs<ExtArgs>;
@@ -3726,7 +3471,6 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3726
3471
  contentLocks?: boolean | Prisma.User$contentLocksArgs<ExtArgs>;
3727
3472
  notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>;
3728
3473
  contentTemplates?: boolean | Prisma.User$contentTemplatesArgs<ExtArgs>;
3729
- workflowAssigned?: boolean | Prisma.User$workflowAssignedArgs<ExtArgs>;
3730
3474
  passwordResetTokens?: boolean | Prisma.User$passwordResetTokensArgs<ExtArgs>;
3731
3475
  documentComments?: boolean | Prisma.User$documentCommentsArgs<ExtArgs>;
3732
3476
  documentNotifications?: boolean | Prisma.User$documentNotificationsArgs<ExtArgs>;
@@ -3747,7 +3491,6 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3747
3491
  contentLocks: Prisma.$ContentLockPayload<ExtArgs>[];
3748
3492
  notifications: Prisma.$InAppNotificationPayload<ExtArgs>[];
3749
3493
  contentTemplates: Prisma.$ContentTemplatePayload<ExtArgs>[];
3750
- workflowAssigned: Prisma.$WorkflowStatePayload<ExtArgs>[];
3751
3494
  passwordResetTokens: Prisma.$PasswordResetTokenPayload<ExtArgs>[];
3752
3495
  documentComments: Prisma.$DocumentCommentPayload<ExtArgs>[];
3753
3496
  documentNotifications: Prisma.$DocumentNotificationPayload<ExtArgs>[];
@@ -4117,7 +3860,6 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
4117
3860
  contentLocks<T extends Prisma.User$contentLocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$contentLocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContentLockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4118
3861
  notifications<T extends Prisma.User$notificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$notificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InAppNotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4119
3862
  contentTemplates<T extends Prisma.User$contentTemplatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$contentTemplatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContentTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4120
- workflowAssigned<T extends Prisma.User$workflowAssignedArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$workflowAssignedArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4121
3863
  passwordResetTokens<T extends Prisma.User$passwordResetTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$passwordResetTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PasswordResetTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4122
3864
  documentComments<T extends Prisma.User$documentCommentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentCommentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
4123
3865
  documentNotifications<T extends Prisma.User$documentNotificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentNotificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentNotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -4785,29 +4527,6 @@ export type User$contentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.I
4785
4527
  skip?: number;
4786
4528
  distinct?: Prisma.ContentTemplateScalarFieldEnum | Prisma.ContentTemplateScalarFieldEnum[];
4787
4529
  };
4788
- /**
4789
- * User.workflowAssigned
4790
- */
4791
- export type User$workflowAssignedArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4792
- /**
4793
- * Select specific fields to fetch from the WorkflowState
4794
- */
4795
- select?: Prisma.WorkflowStateSelect<ExtArgs> | null;
4796
- /**
4797
- * Omit specific fields from the WorkflowState
4798
- */
4799
- omit?: Prisma.WorkflowStateOmit<ExtArgs> | null;
4800
- /**
4801
- * Choose, which related nodes to fetch as well
4802
- */
4803
- include?: Prisma.WorkflowStateInclude<ExtArgs> | null;
4804
- where?: Prisma.WorkflowStateWhereInput;
4805
- orderBy?: Prisma.WorkflowStateOrderByWithRelationInput | Prisma.WorkflowStateOrderByWithRelationInput[];
4806
- cursor?: Prisma.WorkflowStateWhereUniqueInput;
4807
- take?: number;
4808
- skip?: number;
4809
- distinct?: Prisma.WorkflowStateScalarFieldEnum | Prisma.WorkflowStateScalarFieldEnum[];
4810
- };
4811
4530
  /**
4812
4531
  * User.passwordResetTokens
4813
4532
  */