@prenta/core 8.9.2 → 8.10.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 (290) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/dist/actions.d.ts +25 -0
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +51 -4
  5. package/dist/actions.js.map +1 -1
  6. package/dist/ai/batch-links.d.ts +105 -0
  7. package/dist/ai/batch-links.d.ts.map +1 -0
  8. package/dist/ai/batch-links.js +667 -0
  9. package/dist/ai/batch-links.js.map +1 -0
  10. package/dist/ai/batch-list.d.ts +127 -4
  11. package/dist/ai/batch-list.d.ts.map +1 -1
  12. package/dist/ai/batch-list.js +250 -14
  13. package/dist/ai/batch-list.js.map +1 -1
  14. package/dist/ai/providers/http.d.ts +4 -0
  15. package/dist/ai/providers/http.d.ts.map +1 -1
  16. package/dist/ai/providers/http.js +9 -8
  17. package/dist/ai/providers/http.js.map +1 -1
  18. package/dist/ai/tasks/editor-text.d.ts +39 -0
  19. package/dist/ai/tasks/editor-text.d.ts.map +1 -0
  20. package/dist/ai/tasks/editor-text.js +45 -0
  21. package/dist/ai/tasks/editor-text.js.map +1 -0
  22. package/dist/ai/tasks/link-embeddings.d.ts +22 -0
  23. package/dist/ai/tasks/link-embeddings.d.ts.map +1 -1
  24. package/dist/ai/tasks/link-embeddings.js +24 -10
  25. package/dist/ai/tasks/link-embeddings.js.map +1 -1
  26. package/dist/ai/usage.d.ts +7 -0
  27. package/dist/ai/usage.d.ts.map +1 -1
  28. package/dist/ai/usage.js +11 -0
  29. package/dist/ai/usage.js.map +1 -1
  30. package/dist/api/guarded-db.d.ts +6 -0
  31. package/dist/api/guarded-db.d.ts.map +1 -1
  32. package/dist/api/guarded-db.js +13 -1
  33. package/dist/api/guarded-db.js.map +1 -1
  34. package/dist/api/handlers.d.ts.map +1 -1
  35. package/dist/api/handlers.js +2 -0
  36. package/dist/api/handlers.js.map +1 -1
  37. package/dist/api/openapi.d.ts.map +1 -1
  38. package/dist/api/openapi.js +47 -0
  39. package/dist/api/openapi.js.map +1 -1
  40. package/dist/api/route-helpers/forms.d.ts.map +1 -1
  41. package/dist/api/route-helpers/forms.js +7 -1
  42. package/dist/api/route-helpers/forms.js.map +1 -1
  43. package/dist/api/routes/ai-authoring.d.ts.map +1 -1
  44. package/dist/api/routes/ai-authoring.js +1 -0
  45. package/dist/api/routes/ai-authoring.js.map +1 -1
  46. package/dist/api/routes/ai-seo.d.ts.map +1 -1
  47. package/dist/api/routes/ai-seo.js +20 -18
  48. package/dist/api/routes/ai-seo.js.map +1 -1
  49. package/dist/api/routes/media.d.ts.map +1 -1
  50. package/dist/api/routes/media.js +3 -1
  51. package/dist/api/routes/media.js.map +1 -1
  52. package/dist/api/routes/scheduling.d.ts.map +1 -1
  53. package/dist/api/routes/scheduling.js +33 -2
  54. package/dist/api/routes/scheduling.js.map +1 -1
  55. package/dist/appearance/color.d.ts +17 -0
  56. package/dist/appearance/color.d.ts.map +1 -1
  57. package/dist/appearance/color.js +162 -1
  58. package/dist/appearance/color.js.map +1 -1
  59. package/dist/appearance/index.d.ts +3 -3
  60. package/dist/appearance/index.d.ts.map +1 -1
  61. package/dist/appearance/index.js +2 -2
  62. package/dist/appearance/index.js.map +1 -1
  63. package/dist/appearance/resolve.d.ts.map +1 -1
  64. package/dist/appearance/resolve.js +4 -2
  65. package/dist/appearance/resolve.js.map +1 -1
  66. package/dist/appearance/theme-tokens.d.ts +60 -11
  67. package/dist/appearance/theme-tokens.d.ts.map +1 -1
  68. package/dist/appearance/theme-tokens.js +184 -175
  69. package/dist/appearance/theme-tokens.js.map +1 -1
  70. package/dist/appearance/types.d.ts +16 -2
  71. package/dist/appearance/types.d.ts.map +1 -1
  72. package/dist/astro-site.d.ts +1 -11
  73. package/dist/astro-site.d.ts.map +1 -1
  74. package/dist/astro-site.js +4 -0
  75. package/dist/astro-site.js.map +1 -1
  76. package/dist/auth/team.d.ts +1 -0
  77. package/dist/auth/team.d.ts.map +1 -1
  78. package/dist/auth/team.js +1 -1
  79. package/dist/auth/team.js.map +1 -1
  80. package/dist/cache/http.d.ts +20 -0
  81. package/dist/cache/http.d.ts.map +1 -1
  82. package/dist/cache/http.js +42 -0
  83. package/dist/cache/http.js.map +1 -1
  84. package/dist/chrome/announcement.d.ts +30 -0
  85. package/dist/chrome/announcement.d.ts.map +1 -0
  86. package/dist/chrome/announcement.js +190 -0
  87. package/dist/chrome/announcement.js.map +1 -0
  88. package/dist/chrome/codegen.d.ts +17 -0
  89. package/dist/chrome/codegen.d.ts.map +1 -0
  90. package/dist/chrome/codegen.js +96 -0
  91. package/dist/chrome/codegen.js.map +1 -0
  92. package/dist/chrome/contract.d.ts +142 -0
  93. package/dist/chrome/contract.d.ts.map +1 -0
  94. package/dist/chrome/contract.js +2 -0
  95. package/dist/chrome/contract.js.map +1 -0
  96. package/dist/chrome/memory-store.d.ts +15 -0
  97. package/dist/chrome/memory-store.d.ts.map +1 -0
  98. package/dist/chrome/memory-store.js +54 -0
  99. package/dist/chrome/memory-store.js.map +1 -0
  100. package/dist/chrome/parse.d.ts +36 -0
  101. package/dist/chrome/parse.d.ts.map +1 -0
  102. package/dist/chrome/parse.js +277 -0
  103. package/dist/chrome/parse.js.map +1 -0
  104. package/dist/chrome/prisma-store.d.ts +11 -0
  105. package/dist/chrome/prisma-store.d.ts.map +1 -0
  106. package/dist/chrome/prisma-store.js +48 -0
  107. package/dist/chrome/prisma-store.js.map +1 -0
  108. package/dist/chrome/public.d.ts +22 -0
  109. package/dist/chrome/public.d.ts.map +1 -0
  110. package/dist/chrome/public.js +181 -0
  111. package/dist/chrome/public.js.map +1 -0
  112. package/dist/chrome/resolve.d.ts +36 -0
  113. package/dist/chrome/resolve.d.ts.map +1 -0
  114. package/dist/chrome/resolve.js +165 -0
  115. package/dist/chrome/resolve.js.map +1 -0
  116. package/dist/chrome/revalidate.d.ts +9 -0
  117. package/dist/chrome/revalidate.d.ts.map +1 -0
  118. package/dist/chrome/revalidate.js +51 -0
  119. package/dist/chrome/revalidate.js.map +1 -0
  120. package/dist/chrome/routes.d.ts +14 -0
  121. package/dist/chrome/routes.d.ts.map +1 -0
  122. package/dist/chrome/routes.js +306 -0
  123. package/dist/chrome/routes.js.map +1 -0
  124. package/dist/chrome/schema.d.ts +231 -0
  125. package/dist/chrome/schema.d.ts.map +1 -0
  126. package/dist/chrome/schema.js +73 -0
  127. package/dist/chrome/schema.js.map +1 -0
  128. package/dist/chrome/service.d.ts +76 -0
  129. package/dist/chrome/service.d.ts.map +1 -0
  130. package/dist/chrome/service.js +286 -0
  131. package/dist/chrome/service.js.map +1 -0
  132. package/dist/chrome/settings.d.ts +14 -0
  133. package/dist/chrome/settings.d.ts.map +1 -0
  134. package/dist/chrome/settings.js +142 -0
  135. package/dist/chrome/settings.js.map +1 -0
  136. package/dist/chrome/store.d.ts +48 -0
  137. package/dist/chrome/store.d.ts.map +1 -0
  138. package/dist/chrome/store.js +26 -0
  139. package/dist/chrome/store.js.map +1 -0
  140. package/dist/chrome/values.d.ts +98 -0
  141. package/dist/chrome/values.d.ts.map +1 -0
  142. package/dist/chrome/values.js +491 -0
  143. package/dist/chrome/values.js.map +1 -0
  144. package/dist/config/define.d.ts +2 -0
  145. package/dist/config/define.d.ts.map +1 -1
  146. package/dist/config/define.js +2 -0
  147. package/dist/config/define.js.map +1 -1
  148. package/dist/db/model-types.d.ts +62 -0
  149. package/dist/db/model-types.d.ts.map +1 -1
  150. package/dist/forms/attribution-settings.d.ts +23 -0
  151. package/dist/forms/attribution-settings.d.ts.map +1 -0
  152. package/dist/forms/attribution-settings.js +42 -0
  153. package/dist/forms/attribution-settings.js.map +1 -0
  154. package/dist/forms/attribution.d.ts +5 -1
  155. package/dist/forms/attribution.d.ts.map +1 -1
  156. package/dist/forms/attribution.js +6 -4
  157. package/dist/forms/attribution.js.map +1 -1
  158. package/dist/forms/client-validation.d.ts.map +1 -1
  159. package/dist/forms/client-validation.js +3 -0
  160. package/dist/forms/client-validation.js.map +1 -1
  161. package/dist/forms/form-model.d.ts +109 -0
  162. package/dist/forms/form-model.d.ts.map +1 -0
  163. package/dist/forms/form-model.js +192 -0
  164. package/dist/forms/form-model.js.map +1 -0
  165. package/dist/forms/index.d.ts +2 -2
  166. package/dist/forms/index.d.ts.map +1 -1
  167. package/dist/forms/index.js +1 -1
  168. package/dist/forms/index.js.map +1 -1
  169. package/dist/forms/service.d.ts +19 -1
  170. package/dist/forms/service.d.ts.map +1 -1
  171. package/dist/forms/service.js +152 -0
  172. package/dist/forms/service.js.map +1 -1
  173. package/dist/forms/spam.d.ts +0 -12
  174. package/dist/forms/spam.d.ts.map +1 -1
  175. package/dist/forms/spam.js +30 -0
  176. package/dist/forms/spam.js.map +1 -1
  177. package/dist/forms/submission.d.ts +7 -0
  178. package/dist/forms/submission.d.ts.map +1 -1
  179. package/dist/forms/submission.js +33 -0
  180. package/dist/forms/submission.js.map +1 -1
  181. package/dist/forms/types.d.ts +26 -1
  182. package/dist/forms/types.d.ts.map +1 -1
  183. package/dist/forms/types.js +9 -1
  184. package/dist/forms/types.js.map +1 -1
  185. package/dist/generated/browser.d.ts +35 -3
  186. package/dist/generated/client.d.ts +35 -3
  187. package/dist/generated/internal/class.d.ts +44 -0
  188. package/dist/generated/internal/class.js +4 -4
  189. package/dist/generated/internal/prismaNamespace.d.ts +403 -1
  190. package/dist/generated/internal/prismaNamespace.js +95 -1
  191. package/dist/generated/internal/prismaNamespaceBrowser.d.ts +102 -0
  192. package/dist/generated/internal/prismaNamespaceBrowser.js +95 -1
  193. package/dist/generated/models/ChromeRegion.d.ts +1203 -0
  194. package/dist/generated/models/ChromeRegion.js +1 -0
  195. package/dist/generated/models/Job.d.ts +732 -5
  196. package/dist/generated/models/JobEvent.d.ts +1339 -0
  197. package/dist/generated/models/JobEvent.js +1 -0
  198. package/dist/generated/models/JobReviewItem.d.ts +1470 -0
  199. package/dist/generated/models/JobReviewItem.js +1 -0
  200. package/dist/generated/models/SystemSetting.d.ts +952 -0
  201. package/dist/generated/models/SystemSetting.js +1 -0
  202. package/dist/generated/models.d.ts +4 -0
  203. package/dist/index.d.ts +12 -5
  204. package/dist/index.d.ts.map +1 -1
  205. package/dist/index.js +8 -3
  206. package/dist/index.js.map +1 -1
  207. package/dist/jobs/batch-ai.d.ts +53 -0
  208. package/dist/jobs/batch-ai.d.ts.map +1 -0
  209. package/dist/jobs/batch-ai.js +314 -0
  210. package/dist/jobs/batch-ai.js.map +1 -0
  211. package/dist/jobs/contract.d.ts +186 -0
  212. package/dist/jobs/contract.d.ts.map +1 -0
  213. package/dist/jobs/contract.js +2 -0
  214. package/dist/jobs/contract.js.map +1 -0
  215. package/dist/jobs/error-text.d.ts +23 -0
  216. package/dist/jobs/error-text.d.ts.map +1 -0
  217. package/dist/jobs/error-text.js +110 -0
  218. package/dist/jobs/error-text.js.map +1 -0
  219. package/dist/jobs/handlers.d.ts.map +1 -1
  220. package/dist/jobs/handlers.js +48 -7
  221. package/dist/jobs/handlers.js.map +1 -1
  222. package/dist/jobs/memory-store.d.ts +26 -2
  223. package/dist/jobs/memory-store.d.ts.map +1 -1
  224. package/dist/jobs/memory-store.js +157 -3
  225. package/dist/jobs/memory-store.js.map +1 -1
  226. package/dist/jobs/outcomes.d.ts +46 -0
  227. package/dist/jobs/outcomes.d.ts.map +1 -0
  228. package/dist/jobs/outcomes.js +251 -0
  229. package/dist/jobs/outcomes.js.map +1 -0
  230. package/dist/jobs/prisma-store.d.ts +14 -2
  231. package/dist/jobs/prisma-store.d.ts.map +1 -1
  232. package/dist/jobs/prisma-store.js +257 -15
  233. package/dist/jobs/prisma-store.js.map +1 -1
  234. package/dist/jobs/queue.d.ts +62 -2
  235. package/dist/jobs/queue.d.ts.map +1 -1
  236. package/dist/jobs/queue.js +412 -36
  237. package/dist/jobs/queue.js.map +1 -1
  238. package/dist/jobs/retention.d.ts +11 -0
  239. package/dist/jobs/retention.d.ts.map +1 -0
  240. package/dist/jobs/retention.js +18 -0
  241. package/dist/jobs/retention.js.map +1 -0
  242. package/dist/jobs/review.d.ts +111 -0
  243. package/dist/jobs/review.d.ts.map +1 -0
  244. package/dist/jobs/review.js +461 -0
  245. package/dist/jobs/review.js.map +1 -0
  246. package/dist/jobs/routes.d.ts.map +1 -1
  247. package/dist/jobs/routes.js +491 -16
  248. package/dist/jobs/routes.js.map +1 -1
  249. package/dist/jobs/serialize.d.ts +40 -0
  250. package/dist/jobs/serialize.d.ts.map +1 -0
  251. package/dist/jobs/serialize.js +270 -0
  252. package/dist/jobs/serialize.js.map +1 -0
  253. package/dist/jobs/types.d.ts +141 -2
  254. package/dist/jobs/types.d.ts.map +1 -1
  255. package/dist/jobs/worker-status.d.ts +27 -0
  256. package/dist/jobs/worker-status.d.ts.map +1 -0
  257. package/dist/jobs/worker-status.js +66 -0
  258. package/dist/jobs/worker-status.js.map +1 -0
  259. package/dist/media/optimize.d.ts.map +1 -1
  260. package/dist/media/optimize.js +4 -2
  261. package/dist/media/optimize.js.map +1 -1
  262. package/dist/next-site.d.ts +1 -0
  263. package/dist/next-site.d.ts.map +1 -1
  264. package/dist/next-site.js +3 -0
  265. package/dist/next-site.js.map +1 -1
  266. package/dist/seo/audit-runner.d.ts.map +1 -1
  267. package/dist/seo/audit-runner.js +23 -2
  268. package/dist/seo/audit-runner.js.map +1 -1
  269. package/dist/seo/issue-fix-link-insert.d.ts +11 -0
  270. package/dist/seo/issue-fix-link-insert.d.ts.map +1 -1
  271. package/dist/seo/issue-fix-link-insert.js +122 -8
  272. package/dist/seo/issue-fix-link-insert.js.map +1 -1
  273. package/dist/server-site.d.ts.map +1 -1
  274. package/dist/server-site.js +15 -0
  275. package/dist/server-site.js.map +1 -1
  276. package/dist/site.d.ts +8 -0
  277. package/dist/site.d.ts.map +1 -1
  278. package/dist/site.js +6 -0
  279. package/dist/site.js.map +1 -1
  280. package/dist/webhooks/index.d.ts +3 -1
  281. package/dist/webhooks/index.d.ts.map +1 -1
  282. package/dist/webhooks/index.js.map +1 -1
  283. package/package.json +6 -1
  284. package/prisma/migrations/0025_job_cancel_review/down.sql +60 -0
  285. package/prisma/migrations/0025_job_cancel_review/migration.sql +56 -0
  286. package/prisma/migrations/0026_job_creator_system_settings/down.sql +30 -0
  287. package/prisma/migrations/0026_job_creator_system_settings/migration.sql +14 -0
  288. package/prisma/migrations/0027_chrome_regions/down.sql +24 -0
  289. package/prisma/migrations/0027_chrome_regions/migration.sql +16 -0
  290. package/prisma/schema.prisma +105 -15
@@ -0,0 +1,1470 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model JobReviewItem
5
+ * One proposed document change from a review-first batch AI job.
6
+ */
7
+ export type JobReviewItemModel = runtime.Types.Result.DefaultSelection<Prisma.$JobReviewItemPayload>;
8
+ export type AggregateJobReviewItem = {
9
+ _count: JobReviewItemCountAggregateOutputType | null;
10
+ _min: JobReviewItemMinAggregateOutputType | null;
11
+ _max: JobReviewItemMaxAggregateOutputType | null;
12
+ };
13
+ export type JobReviewItemMinAggregateOutputType = {
14
+ id: string | null;
15
+ jobId: string | null;
16
+ documentId: string | null;
17
+ documentTitle: string | null;
18
+ url: string | null;
19
+ field: string | null;
20
+ before: string | null;
21
+ after: string | null;
22
+ editedAfter: string | null;
23
+ status: string | null;
24
+ decidedById: string | null;
25
+ decidedAt: Date | null;
26
+ appliedRevisionId: string | null;
27
+ };
28
+ export type JobReviewItemMaxAggregateOutputType = {
29
+ id: string | null;
30
+ jobId: string | null;
31
+ documentId: string | null;
32
+ documentTitle: string | null;
33
+ url: string | null;
34
+ field: string | null;
35
+ before: string | null;
36
+ after: string | null;
37
+ editedAfter: string | null;
38
+ status: string | null;
39
+ decidedById: string | null;
40
+ decidedAt: Date | null;
41
+ appliedRevisionId: string | null;
42
+ };
43
+ export type JobReviewItemCountAggregateOutputType = {
44
+ id: number;
45
+ jobId: number;
46
+ documentId: number;
47
+ documentTitle: number;
48
+ url: number;
49
+ field: number;
50
+ before: number;
51
+ after: number;
52
+ editedAfter: number;
53
+ status: number;
54
+ decidedById: number;
55
+ decidedAt: number;
56
+ appliedRevisionId: number;
57
+ _all: number;
58
+ };
59
+ export type JobReviewItemMinAggregateInputType = {
60
+ id?: true;
61
+ jobId?: true;
62
+ documentId?: true;
63
+ documentTitle?: true;
64
+ url?: true;
65
+ field?: true;
66
+ before?: true;
67
+ after?: true;
68
+ editedAfter?: true;
69
+ status?: true;
70
+ decidedById?: true;
71
+ decidedAt?: true;
72
+ appliedRevisionId?: true;
73
+ };
74
+ export type JobReviewItemMaxAggregateInputType = {
75
+ id?: true;
76
+ jobId?: true;
77
+ documentId?: true;
78
+ documentTitle?: true;
79
+ url?: true;
80
+ field?: true;
81
+ before?: true;
82
+ after?: true;
83
+ editedAfter?: true;
84
+ status?: true;
85
+ decidedById?: true;
86
+ decidedAt?: true;
87
+ appliedRevisionId?: true;
88
+ };
89
+ export type JobReviewItemCountAggregateInputType = {
90
+ id?: true;
91
+ jobId?: true;
92
+ documentId?: true;
93
+ documentTitle?: true;
94
+ url?: true;
95
+ field?: true;
96
+ before?: true;
97
+ after?: true;
98
+ editedAfter?: true;
99
+ status?: true;
100
+ decidedById?: true;
101
+ decidedAt?: true;
102
+ appliedRevisionId?: true;
103
+ _all?: true;
104
+ };
105
+ export type JobReviewItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
106
+ /**
107
+ * Filter which JobReviewItem to aggregate.
108
+ */
109
+ where?: Prisma.JobReviewItemWhereInput;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
112
+ *
113
+ * Determine the order of JobReviewItems to fetch.
114
+ */
115
+ orderBy?: Prisma.JobReviewItemOrderByWithRelationInput | Prisma.JobReviewItemOrderByWithRelationInput[];
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
118
+ *
119
+ * Sets the start position
120
+ */
121
+ cursor?: Prisma.JobReviewItemWhereUniqueInput;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
124
+ *
125
+ * Take `±n` JobReviewItems from the position of the cursor.
126
+ */
127
+ take?: number;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
130
+ *
131
+ * Skip the first `n` JobReviewItems.
132
+ */
133
+ skip?: number;
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
136
+ *
137
+ * Count returned JobReviewItems
138
+ **/
139
+ _count?: true | JobReviewItemCountAggregateInputType;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
+ *
143
+ * Select which fields to find the minimum value
144
+ **/
145
+ _min?: JobReviewItemMinAggregateInputType;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
+ *
149
+ * Select which fields to find the maximum value
150
+ **/
151
+ _max?: JobReviewItemMaxAggregateInputType;
152
+ };
153
+ export type GetJobReviewItemAggregateType<T extends JobReviewItemAggregateArgs> = {
154
+ [P in keyof T & keyof AggregateJobReviewItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateJobReviewItem[P]> : Prisma.GetScalarType<T[P], AggregateJobReviewItem[P]>;
155
+ };
156
+ export type JobReviewItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
157
+ where?: Prisma.JobReviewItemWhereInput;
158
+ orderBy?: Prisma.JobReviewItemOrderByWithAggregationInput | Prisma.JobReviewItemOrderByWithAggregationInput[];
159
+ by: Prisma.JobReviewItemScalarFieldEnum[] | Prisma.JobReviewItemScalarFieldEnum;
160
+ having?: Prisma.JobReviewItemScalarWhereWithAggregatesInput;
161
+ take?: number;
162
+ skip?: number;
163
+ _count?: JobReviewItemCountAggregateInputType | true;
164
+ _min?: JobReviewItemMinAggregateInputType;
165
+ _max?: JobReviewItemMaxAggregateInputType;
166
+ };
167
+ export type JobReviewItemGroupByOutputType = {
168
+ id: string;
169
+ jobId: string;
170
+ documentId: string;
171
+ documentTitle: string;
172
+ url: string;
173
+ field: string;
174
+ before: string;
175
+ after: string;
176
+ editedAfter: string | null;
177
+ status: string;
178
+ decidedById: string | null;
179
+ decidedAt: Date | null;
180
+ appliedRevisionId: string | null;
181
+ _count: JobReviewItemCountAggregateOutputType | null;
182
+ _min: JobReviewItemMinAggregateOutputType | null;
183
+ _max: JobReviewItemMaxAggregateOutputType | null;
184
+ };
185
+ export type GetJobReviewItemGroupByPayload<T extends JobReviewItemGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<JobReviewItemGroupByOutputType, T['by']> & {
186
+ [P in ((keyof T) & (keyof JobReviewItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], JobReviewItemGroupByOutputType[P]> : Prisma.GetScalarType<T[P], JobReviewItemGroupByOutputType[P]>;
187
+ }>>;
188
+ export type JobReviewItemWhereInput = {
189
+ AND?: Prisma.JobReviewItemWhereInput | Prisma.JobReviewItemWhereInput[];
190
+ OR?: Prisma.JobReviewItemWhereInput[];
191
+ NOT?: Prisma.JobReviewItemWhereInput | Prisma.JobReviewItemWhereInput[];
192
+ id?: Prisma.StringFilter<"JobReviewItem"> | string;
193
+ jobId?: Prisma.StringFilter<"JobReviewItem"> | string;
194
+ documentId?: Prisma.StringFilter<"JobReviewItem"> | string;
195
+ documentTitle?: Prisma.StringFilter<"JobReviewItem"> | string;
196
+ url?: Prisma.StringFilter<"JobReviewItem"> | string;
197
+ field?: Prisma.StringFilter<"JobReviewItem"> | string;
198
+ before?: Prisma.StringFilter<"JobReviewItem"> | string;
199
+ after?: Prisma.StringFilter<"JobReviewItem"> | string;
200
+ editedAfter?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
201
+ status?: Prisma.StringFilter<"JobReviewItem"> | string;
202
+ decidedById?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
203
+ decidedAt?: Prisma.DateTimeNullableFilter<"JobReviewItem"> | Date | string | null;
204
+ appliedRevisionId?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
205
+ job?: Prisma.XOR<Prisma.JobScalarRelationFilter, Prisma.JobWhereInput>;
206
+ };
207
+ export type JobReviewItemOrderByWithRelationInput = {
208
+ id?: Prisma.SortOrder;
209
+ jobId?: Prisma.SortOrder;
210
+ documentId?: Prisma.SortOrder;
211
+ documentTitle?: Prisma.SortOrder;
212
+ url?: Prisma.SortOrder;
213
+ field?: Prisma.SortOrder;
214
+ before?: Prisma.SortOrder;
215
+ after?: Prisma.SortOrder;
216
+ editedAfter?: Prisma.SortOrderInput | Prisma.SortOrder;
217
+ status?: Prisma.SortOrder;
218
+ decidedById?: Prisma.SortOrderInput | Prisma.SortOrder;
219
+ decidedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
220
+ appliedRevisionId?: Prisma.SortOrderInput | Prisma.SortOrder;
221
+ job?: Prisma.JobOrderByWithRelationInput;
222
+ _relevance?: Prisma.JobReviewItemOrderByRelevanceInput;
223
+ };
224
+ export type JobReviewItemWhereUniqueInput = Prisma.AtLeast<{
225
+ id?: string;
226
+ AND?: Prisma.JobReviewItemWhereInput | Prisma.JobReviewItemWhereInput[];
227
+ OR?: Prisma.JobReviewItemWhereInput[];
228
+ NOT?: Prisma.JobReviewItemWhereInput | Prisma.JobReviewItemWhereInput[];
229
+ jobId?: Prisma.StringFilter<"JobReviewItem"> | string;
230
+ documentId?: Prisma.StringFilter<"JobReviewItem"> | string;
231
+ documentTitle?: Prisma.StringFilter<"JobReviewItem"> | string;
232
+ url?: Prisma.StringFilter<"JobReviewItem"> | string;
233
+ field?: Prisma.StringFilter<"JobReviewItem"> | string;
234
+ before?: Prisma.StringFilter<"JobReviewItem"> | string;
235
+ after?: Prisma.StringFilter<"JobReviewItem"> | string;
236
+ editedAfter?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
237
+ status?: Prisma.StringFilter<"JobReviewItem"> | string;
238
+ decidedById?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
239
+ decidedAt?: Prisma.DateTimeNullableFilter<"JobReviewItem"> | Date | string | null;
240
+ appliedRevisionId?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
241
+ job?: Prisma.XOR<Prisma.JobScalarRelationFilter, Prisma.JobWhereInput>;
242
+ }, "id">;
243
+ export type JobReviewItemOrderByWithAggregationInput = {
244
+ id?: Prisma.SortOrder;
245
+ jobId?: Prisma.SortOrder;
246
+ documentId?: Prisma.SortOrder;
247
+ documentTitle?: Prisma.SortOrder;
248
+ url?: Prisma.SortOrder;
249
+ field?: Prisma.SortOrder;
250
+ before?: Prisma.SortOrder;
251
+ after?: Prisma.SortOrder;
252
+ editedAfter?: Prisma.SortOrderInput | Prisma.SortOrder;
253
+ status?: Prisma.SortOrder;
254
+ decidedById?: Prisma.SortOrderInput | Prisma.SortOrder;
255
+ decidedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
256
+ appliedRevisionId?: Prisma.SortOrderInput | Prisma.SortOrder;
257
+ _count?: Prisma.JobReviewItemCountOrderByAggregateInput;
258
+ _max?: Prisma.JobReviewItemMaxOrderByAggregateInput;
259
+ _min?: Prisma.JobReviewItemMinOrderByAggregateInput;
260
+ };
261
+ export type JobReviewItemScalarWhereWithAggregatesInput = {
262
+ AND?: Prisma.JobReviewItemScalarWhereWithAggregatesInput | Prisma.JobReviewItemScalarWhereWithAggregatesInput[];
263
+ OR?: Prisma.JobReviewItemScalarWhereWithAggregatesInput[];
264
+ NOT?: Prisma.JobReviewItemScalarWhereWithAggregatesInput | Prisma.JobReviewItemScalarWhereWithAggregatesInput[];
265
+ id?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
266
+ jobId?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
267
+ documentId?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
268
+ documentTitle?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
269
+ url?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
270
+ field?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
271
+ before?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
272
+ after?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
273
+ editedAfter?: Prisma.StringNullableWithAggregatesFilter<"JobReviewItem"> | string | null;
274
+ status?: Prisma.StringWithAggregatesFilter<"JobReviewItem"> | string;
275
+ decidedById?: Prisma.StringNullableWithAggregatesFilter<"JobReviewItem"> | string | null;
276
+ decidedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"JobReviewItem"> | Date | string | null;
277
+ appliedRevisionId?: Prisma.StringNullableWithAggregatesFilter<"JobReviewItem"> | string | null;
278
+ };
279
+ export type JobReviewItemCreateInput = {
280
+ id?: string;
281
+ documentId: string;
282
+ documentTitle: string;
283
+ url?: string;
284
+ field: string;
285
+ before: string;
286
+ after: string;
287
+ editedAfter?: string | null;
288
+ status?: string;
289
+ decidedById?: string | null;
290
+ decidedAt?: Date | string | null;
291
+ appliedRevisionId?: string | null;
292
+ job: Prisma.JobCreateNestedOneWithoutReviewItemsInput;
293
+ };
294
+ export type JobReviewItemUncheckedCreateInput = {
295
+ id?: string;
296
+ jobId: string;
297
+ documentId: string;
298
+ documentTitle: string;
299
+ url?: string;
300
+ field: string;
301
+ before: string;
302
+ after: string;
303
+ editedAfter?: string | null;
304
+ status?: string;
305
+ decidedById?: string | null;
306
+ decidedAt?: Date | string | null;
307
+ appliedRevisionId?: string | null;
308
+ };
309
+ export type JobReviewItemUpdateInput = {
310
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
311
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
312
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
313
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
314
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
316
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
318
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
320
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
321
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ job?: Prisma.JobUpdateOneRequiredWithoutReviewItemsNestedInput;
323
+ };
324
+ export type JobReviewItemUncheckedUpdateInput = {
325
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
326
+ jobId?: Prisma.StringFieldUpdateOperationsInput | string;
327
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
328
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
329
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
330
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
331
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
332
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
333
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
334
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
335
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
336
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
337
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
338
+ };
339
+ export type JobReviewItemCreateManyInput = {
340
+ id?: string;
341
+ jobId: string;
342
+ documentId: string;
343
+ documentTitle: string;
344
+ url?: string;
345
+ field: string;
346
+ before: string;
347
+ after: string;
348
+ editedAfter?: string | null;
349
+ status?: string;
350
+ decidedById?: string | null;
351
+ decidedAt?: Date | string | null;
352
+ appliedRevisionId?: string | null;
353
+ };
354
+ export type JobReviewItemUpdateManyMutationInput = {
355
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
356
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
357
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
358
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
359
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
360
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
361
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
362
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
363
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
364
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
365
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
366
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
367
+ };
368
+ export type JobReviewItemUncheckedUpdateManyInput = {
369
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
370
+ jobId?: Prisma.StringFieldUpdateOperationsInput | string;
371
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
372
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
373
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
374
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
375
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
376
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
377
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
378
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
379
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
380
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
381
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
382
+ };
383
+ export type JobReviewItemListRelationFilter = {
384
+ every?: Prisma.JobReviewItemWhereInput;
385
+ some?: Prisma.JobReviewItemWhereInput;
386
+ none?: Prisma.JobReviewItemWhereInput;
387
+ };
388
+ export type JobReviewItemOrderByRelationAggregateInput = {
389
+ _count?: Prisma.SortOrder;
390
+ };
391
+ export type JobReviewItemOrderByRelevanceInput = {
392
+ fields: Prisma.JobReviewItemOrderByRelevanceFieldEnum | Prisma.JobReviewItemOrderByRelevanceFieldEnum[];
393
+ sort: Prisma.SortOrder;
394
+ search: string;
395
+ };
396
+ export type JobReviewItemCountOrderByAggregateInput = {
397
+ id?: Prisma.SortOrder;
398
+ jobId?: Prisma.SortOrder;
399
+ documentId?: Prisma.SortOrder;
400
+ documentTitle?: Prisma.SortOrder;
401
+ url?: Prisma.SortOrder;
402
+ field?: Prisma.SortOrder;
403
+ before?: Prisma.SortOrder;
404
+ after?: Prisma.SortOrder;
405
+ editedAfter?: Prisma.SortOrder;
406
+ status?: Prisma.SortOrder;
407
+ decidedById?: Prisma.SortOrder;
408
+ decidedAt?: Prisma.SortOrder;
409
+ appliedRevisionId?: Prisma.SortOrder;
410
+ };
411
+ export type JobReviewItemMaxOrderByAggregateInput = {
412
+ id?: Prisma.SortOrder;
413
+ jobId?: Prisma.SortOrder;
414
+ documentId?: Prisma.SortOrder;
415
+ documentTitle?: Prisma.SortOrder;
416
+ url?: Prisma.SortOrder;
417
+ field?: Prisma.SortOrder;
418
+ before?: Prisma.SortOrder;
419
+ after?: Prisma.SortOrder;
420
+ editedAfter?: Prisma.SortOrder;
421
+ status?: Prisma.SortOrder;
422
+ decidedById?: Prisma.SortOrder;
423
+ decidedAt?: Prisma.SortOrder;
424
+ appliedRevisionId?: Prisma.SortOrder;
425
+ };
426
+ export type JobReviewItemMinOrderByAggregateInput = {
427
+ id?: Prisma.SortOrder;
428
+ jobId?: Prisma.SortOrder;
429
+ documentId?: Prisma.SortOrder;
430
+ documentTitle?: Prisma.SortOrder;
431
+ url?: Prisma.SortOrder;
432
+ field?: Prisma.SortOrder;
433
+ before?: Prisma.SortOrder;
434
+ after?: Prisma.SortOrder;
435
+ editedAfter?: Prisma.SortOrder;
436
+ status?: Prisma.SortOrder;
437
+ decidedById?: Prisma.SortOrder;
438
+ decidedAt?: Prisma.SortOrder;
439
+ appliedRevisionId?: Prisma.SortOrder;
440
+ };
441
+ export type JobReviewItemCreateNestedManyWithoutJobInput = {
442
+ create?: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput> | Prisma.JobReviewItemCreateWithoutJobInput[] | Prisma.JobReviewItemUncheckedCreateWithoutJobInput[];
443
+ connectOrCreate?: Prisma.JobReviewItemCreateOrConnectWithoutJobInput | Prisma.JobReviewItemCreateOrConnectWithoutJobInput[];
444
+ createMany?: Prisma.JobReviewItemCreateManyJobInputEnvelope;
445
+ connect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
446
+ };
447
+ export type JobReviewItemUncheckedCreateNestedManyWithoutJobInput = {
448
+ create?: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput> | Prisma.JobReviewItemCreateWithoutJobInput[] | Prisma.JobReviewItemUncheckedCreateWithoutJobInput[];
449
+ connectOrCreate?: Prisma.JobReviewItemCreateOrConnectWithoutJobInput | Prisma.JobReviewItemCreateOrConnectWithoutJobInput[];
450
+ createMany?: Prisma.JobReviewItemCreateManyJobInputEnvelope;
451
+ connect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
452
+ };
453
+ export type JobReviewItemUpdateManyWithoutJobNestedInput = {
454
+ create?: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput> | Prisma.JobReviewItemCreateWithoutJobInput[] | Prisma.JobReviewItemUncheckedCreateWithoutJobInput[];
455
+ connectOrCreate?: Prisma.JobReviewItemCreateOrConnectWithoutJobInput | Prisma.JobReviewItemCreateOrConnectWithoutJobInput[];
456
+ upsert?: Prisma.JobReviewItemUpsertWithWhereUniqueWithoutJobInput | Prisma.JobReviewItemUpsertWithWhereUniqueWithoutJobInput[];
457
+ createMany?: Prisma.JobReviewItemCreateManyJobInputEnvelope;
458
+ set?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
459
+ disconnect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
460
+ delete?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
461
+ connect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
462
+ update?: Prisma.JobReviewItemUpdateWithWhereUniqueWithoutJobInput | Prisma.JobReviewItemUpdateWithWhereUniqueWithoutJobInput[];
463
+ updateMany?: Prisma.JobReviewItemUpdateManyWithWhereWithoutJobInput | Prisma.JobReviewItemUpdateManyWithWhereWithoutJobInput[];
464
+ deleteMany?: Prisma.JobReviewItemScalarWhereInput | Prisma.JobReviewItemScalarWhereInput[];
465
+ };
466
+ export type JobReviewItemUncheckedUpdateManyWithoutJobNestedInput = {
467
+ create?: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput> | Prisma.JobReviewItemCreateWithoutJobInput[] | Prisma.JobReviewItemUncheckedCreateWithoutJobInput[];
468
+ connectOrCreate?: Prisma.JobReviewItemCreateOrConnectWithoutJobInput | Prisma.JobReviewItemCreateOrConnectWithoutJobInput[];
469
+ upsert?: Prisma.JobReviewItemUpsertWithWhereUniqueWithoutJobInput | Prisma.JobReviewItemUpsertWithWhereUniqueWithoutJobInput[];
470
+ createMany?: Prisma.JobReviewItemCreateManyJobInputEnvelope;
471
+ set?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
472
+ disconnect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
473
+ delete?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
474
+ connect?: Prisma.JobReviewItemWhereUniqueInput | Prisma.JobReviewItemWhereUniqueInput[];
475
+ update?: Prisma.JobReviewItemUpdateWithWhereUniqueWithoutJobInput | Prisma.JobReviewItemUpdateWithWhereUniqueWithoutJobInput[];
476
+ updateMany?: Prisma.JobReviewItemUpdateManyWithWhereWithoutJobInput | Prisma.JobReviewItemUpdateManyWithWhereWithoutJobInput[];
477
+ deleteMany?: Prisma.JobReviewItemScalarWhereInput | Prisma.JobReviewItemScalarWhereInput[];
478
+ };
479
+ export type JobReviewItemCreateWithoutJobInput = {
480
+ id?: string;
481
+ documentId: string;
482
+ documentTitle: string;
483
+ url?: string;
484
+ field: string;
485
+ before: string;
486
+ after: string;
487
+ editedAfter?: string | null;
488
+ status?: string;
489
+ decidedById?: string | null;
490
+ decidedAt?: Date | string | null;
491
+ appliedRevisionId?: string | null;
492
+ };
493
+ export type JobReviewItemUncheckedCreateWithoutJobInput = {
494
+ id?: string;
495
+ documentId: string;
496
+ documentTitle: string;
497
+ url?: string;
498
+ field: string;
499
+ before: string;
500
+ after: string;
501
+ editedAfter?: string | null;
502
+ status?: string;
503
+ decidedById?: string | null;
504
+ decidedAt?: Date | string | null;
505
+ appliedRevisionId?: string | null;
506
+ };
507
+ export type JobReviewItemCreateOrConnectWithoutJobInput = {
508
+ where: Prisma.JobReviewItemWhereUniqueInput;
509
+ create: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput>;
510
+ };
511
+ export type JobReviewItemCreateManyJobInputEnvelope = {
512
+ data: Prisma.JobReviewItemCreateManyJobInput | Prisma.JobReviewItemCreateManyJobInput[];
513
+ skipDuplicates?: boolean;
514
+ };
515
+ export type JobReviewItemUpsertWithWhereUniqueWithoutJobInput = {
516
+ where: Prisma.JobReviewItemWhereUniqueInput;
517
+ update: Prisma.XOR<Prisma.JobReviewItemUpdateWithoutJobInput, Prisma.JobReviewItemUncheckedUpdateWithoutJobInput>;
518
+ create: Prisma.XOR<Prisma.JobReviewItemCreateWithoutJobInput, Prisma.JobReviewItemUncheckedCreateWithoutJobInput>;
519
+ };
520
+ export type JobReviewItemUpdateWithWhereUniqueWithoutJobInput = {
521
+ where: Prisma.JobReviewItemWhereUniqueInput;
522
+ data: Prisma.XOR<Prisma.JobReviewItemUpdateWithoutJobInput, Prisma.JobReviewItemUncheckedUpdateWithoutJobInput>;
523
+ };
524
+ export type JobReviewItemUpdateManyWithWhereWithoutJobInput = {
525
+ where: Prisma.JobReviewItemScalarWhereInput;
526
+ data: Prisma.XOR<Prisma.JobReviewItemUpdateManyMutationInput, Prisma.JobReviewItemUncheckedUpdateManyWithoutJobInput>;
527
+ };
528
+ export type JobReviewItemScalarWhereInput = {
529
+ AND?: Prisma.JobReviewItemScalarWhereInput | Prisma.JobReviewItemScalarWhereInput[];
530
+ OR?: Prisma.JobReviewItemScalarWhereInput[];
531
+ NOT?: Prisma.JobReviewItemScalarWhereInput | Prisma.JobReviewItemScalarWhereInput[];
532
+ id?: Prisma.StringFilter<"JobReviewItem"> | string;
533
+ jobId?: Prisma.StringFilter<"JobReviewItem"> | string;
534
+ documentId?: Prisma.StringFilter<"JobReviewItem"> | string;
535
+ documentTitle?: Prisma.StringFilter<"JobReviewItem"> | string;
536
+ url?: Prisma.StringFilter<"JobReviewItem"> | string;
537
+ field?: Prisma.StringFilter<"JobReviewItem"> | string;
538
+ before?: Prisma.StringFilter<"JobReviewItem"> | string;
539
+ after?: Prisma.StringFilter<"JobReviewItem"> | string;
540
+ editedAfter?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
541
+ status?: Prisma.StringFilter<"JobReviewItem"> | string;
542
+ decidedById?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
543
+ decidedAt?: Prisma.DateTimeNullableFilter<"JobReviewItem"> | Date | string | null;
544
+ appliedRevisionId?: Prisma.StringNullableFilter<"JobReviewItem"> | string | null;
545
+ };
546
+ export type JobReviewItemCreateManyJobInput = {
547
+ id?: string;
548
+ documentId: string;
549
+ documentTitle: string;
550
+ url?: string;
551
+ field: string;
552
+ before: string;
553
+ after: string;
554
+ editedAfter?: string | null;
555
+ status?: string;
556
+ decidedById?: string | null;
557
+ decidedAt?: Date | string | null;
558
+ appliedRevisionId?: string | null;
559
+ };
560
+ export type JobReviewItemUpdateWithoutJobInput = {
561
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
562
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
563
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
564
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
565
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
566
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
567
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
568
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
569
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
570
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
571
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
572
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
573
+ };
574
+ export type JobReviewItemUncheckedUpdateWithoutJobInput = {
575
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
576
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
577
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
578
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
579
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
580
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
581
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
582
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
583
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
584
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
585
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
586
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
587
+ };
588
+ export type JobReviewItemUncheckedUpdateManyWithoutJobInput = {
589
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
590
+ documentId?: Prisma.StringFieldUpdateOperationsInput | string;
591
+ documentTitle?: Prisma.StringFieldUpdateOperationsInput | string;
592
+ url?: Prisma.StringFieldUpdateOperationsInput | string;
593
+ field?: Prisma.StringFieldUpdateOperationsInput | string;
594
+ before?: Prisma.StringFieldUpdateOperationsInput | string;
595
+ after?: Prisma.StringFieldUpdateOperationsInput | string;
596
+ editedAfter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
597
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
598
+ decidedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
599
+ decidedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
600
+ appliedRevisionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
601
+ };
602
+ export type JobReviewItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
603
+ id?: boolean;
604
+ jobId?: boolean;
605
+ documentId?: boolean;
606
+ documentTitle?: boolean;
607
+ url?: boolean;
608
+ field?: boolean;
609
+ before?: boolean;
610
+ after?: boolean;
611
+ editedAfter?: boolean;
612
+ status?: boolean;
613
+ decidedById?: boolean;
614
+ decidedAt?: boolean;
615
+ appliedRevisionId?: boolean;
616
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
617
+ }, ExtArgs["result"]["jobReviewItem"]>;
618
+ export type JobReviewItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
619
+ id?: boolean;
620
+ jobId?: boolean;
621
+ documentId?: boolean;
622
+ documentTitle?: boolean;
623
+ url?: boolean;
624
+ field?: boolean;
625
+ before?: boolean;
626
+ after?: boolean;
627
+ editedAfter?: boolean;
628
+ status?: boolean;
629
+ decidedById?: boolean;
630
+ decidedAt?: boolean;
631
+ appliedRevisionId?: boolean;
632
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
633
+ }, ExtArgs["result"]["jobReviewItem"]>;
634
+ export type JobReviewItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
635
+ id?: boolean;
636
+ jobId?: boolean;
637
+ documentId?: boolean;
638
+ documentTitle?: boolean;
639
+ url?: boolean;
640
+ field?: boolean;
641
+ before?: boolean;
642
+ after?: boolean;
643
+ editedAfter?: boolean;
644
+ status?: boolean;
645
+ decidedById?: boolean;
646
+ decidedAt?: boolean;
647
+ appliedRevisionId?: boolean;
648
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
649
+ }, ExtArgs["result"]["jobReviewItem"]>;
650
+ export type JobReviewItemSelectScalar = {
651
+ id?: boolean;
652
+ jobId?: boolean;
653
+ documentId?: boolean;
654
+ documentTitle?: boolean;
655
+ url?: boolean;
656
+ field?: boolean;
657
+ before?: boolean;
658
+ after?: boolean;
659
+ editedAfter?: boolean;
660
+ status?: boolean;
661
+ decidedById?: boolean;
662
+ decidedAt?: boolean;
663
+ appliedRevisionId?: boolean;
664
+ };
665
+ export type JobReviewItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "jobId" | "documentId" | "documentTitle" | "url" | "field" | "before" | "after" | "editedAfter" | "status" | "decidedById" | "decidedAt" | "appliedRevisionId", ExtArgs["result"]["jobReviewItem"]>;
666
+ export type JobReviewItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
667
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
668
+ };
669
+ export type JobReviewItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
670
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
671
+ };
672
+ export type JobReviewItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
673
+ job?: boolean | Prisma.JobDefaultArgs<ExtArgs>;
674
+ };
675
+ export type $JobReviewItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
676
+ name: "JobReviewItem";
677
+ objects: {
678
+ job: Prisma.$JobPayload<ExtArgs>;
679
+ };
680
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
681
+ id: string;
682
+ jobId: string;
683
+ documentId: string;
684
+ documentTitle: string;
685
+ url: string;
686
+ field: string;
687
+ before: string;
688
+ after: string;
689
+ editedAfter: string | null;
690
+ status: string;
691
+ decidedById: string | null;
692
+ decidedAt: Date | null;
693
+ appliedRevisionId: string | null;
694
+ }, ExtArgs["result"]["jobReviewItem"]>;
695
+ composites: {};
696
+ };
697
+ export type JobReviewItemGetPayload<S extends boolean | null | undefined | JobReviewItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload, S>;
698
+ export type JobReviewItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<JobReviewItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
699
+ select?: JobReviewItemCountAggregateInputType | true;
700
+ };
701
+ export interface JobReviewItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
702
+ [K: symbol]: {
703
+ types: Prisma.TypeMap<ExtArgs>['model']['JobReviewItem'];
704
+ meta: {
705
+ name: 'JobReviewItem';
706
+ };
707
+ };
708
+ /**
709
+ * Find zero or one JobReviewItem that matches the filter.
710
+ * @param {JobReviewItemFindUniqueArgs} args - Arguments to find a JobReviewItem
711
+ * @example
712
+ * // Get one JobReviewItem
713
+ * const jobReviewItem = await prisma.jobReviewItem.findUnique({
714
+ * where: {
715
+ * // ... provide filter here
716
+ * }
717
+ * })
718
+ */
719
+ findUnique<T extends JobReviewItemFindUniqueArgs>(args: Prisma.SelectSubset<T, JobReviewItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
720
+ /**
721
+ * Find one JobReviewItem that matches the filter or throw an error with `error.code='P2025'`
722
+ * if no matches were found.
723
+ * @param {JobReviewItemFindUniqueOrThrowArgs} args - Arguments to find a JobReviewItem
724
+ * @example
725
+ * // Get one JobReviewItem
726
+ * const jobReviewItem = await prisma.jobReviewItem.findUniqueOrThrow({
727
+ * where: {
728
+ * // ... provide filter here
729
+ * }
730
+ * })
731
+ */
732
+ findUniqueOrThrow<T extends JobReviewItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, JobReviewItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
733
+ /**
734
+ * Find the first JobReviewItem that matches the filter.
735
+ * Note, that providing `undefined` is treated as the value not being there.
736
+ * Read more here: https://pris.ly/d/null-undefined
737
+ * @param {JobReviewItemFindFirstArgs} args - Arguments to find a JobReviewItem
738
+ * @example
739
+ * // Get one JobReviewItem
740
+ * const jobReviewItem = await prisma.jobReviewItem.findFirst({
741
+ * where: {
742
+ * // ... provide filter here
743
+ * }
744
+ * })
745
+ */
746
+ findFirst<T extends JobReviewItemFindFirstArgs>(args?: Prisma.SelectSubset<T, JobReviewItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
747
+ /**
748
+ * Find the first JobReviewItem that matches the filter or
749
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
750
+ * Note, that providing `undefined` is treated as the value not being there.
751
+ * Read more here: https://pris.ly/d/null-undefined
752
+ * @param {JobReviewItemFindFirstOrThrowArgs} args - Arguments to find a JobReviewItem
753
+ * @example
754
+ * // Get one JobReviewItem
755
+ * const jobReviewItem = await prisma.jobReviewItem.findFirstOrThrow({
756
+ * where: {
757
+ * // ... provide filter here
758
+ * }
759
+ * })
760
+ */
761
+ findFirstOrThrow<T extends JobReviewItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, JobReviewItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
762
+ /**
763
+ * Find zero or more JobReviewItems that matches the filter.
764
+ * Note, that providing `undefined` is treated as the value not being there.
765
+ * Read more here: https://pris.ly/d/null-undefined
766
+ * @param {JobReviewItemFindManyArgs} args - Arguments to filter and select certain fields only.
767
+ * @example
768
+ * // Get all JobReviewItems
769
+ * const jobReviewItems = await prisma.jobReviewItem.findMany()
770
+ *
771
+ * // Get first 10 JobReviewItems
772
+ * const jobReviewItems = await prisma.jobReviewItem.findMany({ take: 10 })
773
+ *
774
+ * // Only select the `id`
775
+ * const jobReviewItemWithIdOnly = await prisma.jobReviewItem.findMany({ select: { id: true } })
776
+ *
777
+ */
778
+ findMany<T extends JobReviewItemFindManyArgs>(args?: Prisma.SelectSubset<T, JobReviewItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
779
+ /**
780
+ * Create a JobReviewItem.
781
+ * @param {JobReviewItemCreateArgs} args - Arguments to create a JobReviewItem.
782
+ * @example
783
+ * // Create one JobReviewItem
784
+ * const JobReviewItem = await prisma.jobReviewItem.create({
785
+ * data: {
786
+ * // ... data to create a JobReviewItem
787
+ * }
788
+ * })
789
+ *
790
+ */
791
+ create<T extends JobReviewItemCreateArgs>(args: Prisma.SelectSubset<T, JobReviewItemCreateArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
792
+ /**
793
+ * Create many JobReviewItems.
794
+ * @param {JobReviewItemCreateManyArgs} args - Arguments to create many JobReviewItems.
795
+ * @example
796
+ * // Create many JobReviewItems
797
+ * const jobReviewItem = await prisma.jobReviewItem.createMany({
798
+ * data: [
799
+ * // ... provide data here
800
+ * ]
801
+ * })
802
+ *
803
+ */
804
+ createMany<T extends JobReviewItemCreateManyArgs>(args?: Prisma.SelectSubset<T, JobReviewItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
805
+ /**
806
+ * Create many JobReviewItems and returns the data saved in the database.
807
+ * @param {JobReviewItemCreateManyAndReturnArgs} args - Arguments to create many JobReviewItems.
808
+ * @example
809
+ * // Create many JobReviewItems
810
+ * const jobReviewItem = await prisma.jobReviewItem.createManyAndReturn({
811
+ * data: [
812
+ * // ... provide data here
813
+ * ]
814
+ * })
815
+ *
816
+ * // Create many JobReviewItems and only return the `id`
817
+ * const jobReviewItemWithIdOnly = await prisma.jobReviewItem.createManyAndReturn({
818
+ * select: { id: true },
819
+ * data: [
820
+ * // ... provide data here
821
+ * ]
822
+ * })
823
+ * Note, that providing `undefined` is treated as the value not being there.
824
+ * Read more here: https://pris.ly/d/null-undefined
825
+ *
826
+ */
827
+ createManyAndReturn<T extends JobReviewItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, JobReviewItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
828
+ /**
829
+ * Delete a JobReviewItem.
830
+ * @param {JobReviewItemDeleteArgs} args - Arguments to delete one JobReviewItem.
831
+ * @example
832
+ * // Delete one JobReviewItem
833
+ * const JobReviewItem = await prisma.jobReviewItem.delete({
834
+ * where: {
835
+ * // ... filter to delete one JobReviewItem
836
+ * }
837
+ * })
838
+ *
839
+ */
840
+ delete<T extends JobReviewItemDeleteArgs>(args: Prisma.SelectSubset<T, JobReviewItemDeleteArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
841
+ /**
842
+ * Update one JobReviewItem.
843
+ * @param {JobReviewItemUpdateArgs} args - Arguments to update one JobReviewItem.
844
+ * @example
845
+ * // Update one JobReviewItem
846
+ * const jobReviewItem = await prisma.jobReviewItem.update({
847
+ * where: {
848
+ * // ... provide filter here
849
+ * },
850
+ * data: {
851
+ * // ... provide data here
852
+ * }
853
+ * })
854
+ *
855
+ */
856
+ update<T extends JobReviewItemUpdateArgs>(args: Prisma.SelectSubset<T, JobReviewItemUpdateArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
857
+ /**
858
+ * Delete zero or more JobReviewItems.
859
+ * @param {JobReviewItemDeleteManyArgs} args - Arguments to filter JobReviewItems to delete.
860
+ * @example
861
+ * // Delete a few JobReviewItems
862
+ * const { count } = await prisma.jobReviewItem.deleteMany({
863
+ * where: {
864
+ * // ... provide filter here
865
+ * }
866
+ * })
867
+ *
868
+ */
869
+ deleteMany<T extends JobReviewItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, JobReviewItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
870
+ /**
871
+ * Update zero or more JobReviewItems.
872
+ * Note, that providing `undefined` is treated as the value not being there.
873
+ * Read more here: https://pris.ly/d/null-undefined
874
+ * @param {JobReviewItemUpdateManyArgs} args - Arguments to update one or more rows.
875
+ * @example
876
+ * // Update many JobReviewItems
877
+ * const jobReviewItem = await prisma.jobReviewItem.updateMany({
878
+ * where: {
879
+ * // ... provide filter here
880
+ * },
881
+ * data: {
882
+ * // ... provide data here
883
+ * }
884
+ * })
885
+ *
886
+ */
887
+ updateMany<T extends JobReviewItemUpdateManyArgs>(args: Prisma.SelectSubset<T, JobReviewItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
888
+ /**
889
+ * Update zero or more JobReviewItems and returns the data updated in the database.
890
+ * @param {JobReviewItemUpdateManyAndReturnArgs} args - Arguments to update many JobReviewItems.
891
+ * @example
892
+ * // Update many JobReviewItems
893
+ * const jobReviewItem = await prisma.jobReviewItem.updateManyAndReturn({
894
+ * where: {
895
+ * // ... provide filter here
896
+ * },
897
+ * data: [
898
+ * // ... provide data here
899
+ * ]
900
+ * })
901
+ *
902
+ * // Update zero or more JobReviewItems and only return the `id`
903
+ * const jobReviewItemWithIdOnly = await prisma.jobReviewItem.updateManyAndReturn({
904
+ * select: { id: true },
905
+ * where: {
906
+ * // ... provide filter here
907
+ * },
908
+ * data: [
909
+ * // ... provide data here
910
+ * ]
911
+ * })
912
+ * Note, that providing `undefined` is treated as the value not being there.
913
+ * Read more here: https://pris.ly/d/null-undefined
914
+ *
915
+ */
916
+ updateManyAndReturn<T extends JobReviewItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, JobReviewItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
917
+ /**
918
+ * Create or update one JobReviewItem.
919
+ * @param {JobReviewItemUpsertArgs} args - Arguments to update or create a JobReviewItem.
920
+ * @example
921
+ * // Update or create a JobReviewItem
922
+ * const jobReviewItem = await prisma.jobReviewItem.upsert({
923
+ * create: {
924
+ * // ... data to create a JobReviewItem
925
+ * },
926
+ * update: {
927
+ * // ... in case it already exists, update
928
+ * },
929
+ * where: {
930
+ * // ... the filter for the JobReviewItem we want to update
931
+ * }
932
+ * })
933
+ */
934
+ upsert<T extends JobReviewItemUpsertArgs>(args: Prisma.SelectSubset<T, JobReviewItemUpsertArgs<ExtArgs>>): Prisma.Prisma__JobReviewItemClient<runtime.Types.Result.GetResult<Prisma.$JobReviewItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
935
+ /**
936
+ * Count the number of JobReviewItems.
937
+ * Note, that providing `undefined` is treated as the value not being there.
938
+ * Read more here: https://pris.ly/d/null-undefined
939
+ * @param {JobReviewItemCountArgs} args - Arguments to filter JobReviewItems to count.
940
+ * @example
941
+ * // Count the number of JobReviewItems
942
+ * const count = await prisma.jobReviewItem.count({
943
+ * where: {
944
+ * // ... the filter for the JobReviewItems we want to count
945
+ * }
946
+ * })
947
+ **/
948
+ count<T extends JobReviewItemCountArgs>(args?: Prisma.Subset<T, JobReviewItemCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], JobReviewItemCountAggregateOutputType> : number>;
949
+ /**
950
+ * Allows you to perform aggregations operations on a JobReviewItem.
951
+ * Note, that providing `undefined` is treated as the value not being there.
952
+ * Read more here: https://pris.ly/d/null-undefined
953
+ * @param {JobReviewItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
954
+ * @example
955
+ * // Ordered by age ascending
956
+ * // Where email contains prisma.io
957
+ * // Limited to the 10 users
958
+ * const aggregations = await prisma.user.aggregate({
959
+ * _avg: {
960
+ * age: true,
961
+ * },
962
+ * where: {
963
+ * email: {
964
+ * contains: "prisma.io",
965
+ * },
966
+ * },
967
+ * orderBy: {
968
+ * age: "asc",
969
+ * },
970
+ * take: 10,
971
+ * })
972
+ **/
973
+ aggregate<T extends JobReviewItemAggregateArgs>(args: Prisma.Subset<T, JobReviewItemAggregateArgs>): Prisma.PrismaPromise<GetJobReviewItemAggregateType<T>>;
974
+ /**
975
+ * Group by JobReviewItem.
976
+ * Note, that providing `undefined` is treated as the value not being there.
977
+ * Read more here: https://pris.ly/d/null-undefined
978
+ * @param {JobReviewItemGroupByArgs} args - Group by arguments.
979
+ * @example
980
+ * // Group by city, order by createdAt, get count
981
+ * const result = await prisma.user.groupBy({
982
+ * by: ['city', 'createdAt'],
983
+ * orderBy: {
984
+ * createdAt: true
985
+ * },
986
+ * _count: {
987
+ * _all: true
988
+ * },
989
+ * })
990
+ *
991
+ **/
992
+ groupBy<T extends JobReviewItemGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
993
+ orderBy: JobReviewItemGroupByArgs['orderBy'];
994
+ } : {
995
+ orderBy?: JobReviewItemGroupByArgs['orderBy'];
996
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
997
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
998
+ Error,
999
+ 'Field ',
1000
+ P,
1001
+ ` in "having" needs to be provided in "by"`
1002
+ ];
1003
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1004
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1005
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1006
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1007
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1008
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1009
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, JobReviewItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetJobReviewItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1010
+ /**
1011
+ * Fields of the JobReviewItem model
1012
+ */
1013
+ readonly fields: JobReviewItemFieldRefs;
1014
+ }
1015
+ /**
1016
+ * The delegate class that acts as a "Promise-like" for JobReviewItem.
1017
+ * Why is this prefixed with `Prisma__`?
1018
+ * Because we want to prevent naming conflicts as mentioned in
1019
+ * https://github.com/prisma/prisma-client-js/issues/707
1020
+ */
1021
+ export interface Prisma__JobReviewItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1022
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1023
+ job<T extends Prisma.JobDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.JobDefaultArgs<ExtArgs>>): Prisma.Prisma__JobClient<runtime.Types.Result.GetResult<Prisma.$JobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1024
+ /**
1025
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1026
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1027
+ * @param onrejected The callback to execute when the Promise is rejected.
1028
+ * @returns A Promise for the completion of which ever callback is executed.
1029
+ */
1030
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
1031
+ /**
1032
+ * Attaches a callback for only the rejection of the Promise.
1033
+ * @param onrejected The callback to execute when the Promise is rejected.
1034
+ * @returns A Promise for the completion of the callback.
1035
+ */
1036
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1037
+ /**
1038
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1039
+ * resolved value cannot be modified from the callback.
1040
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1041
+ * @returns A Promise for the completion of the callback.
1042
+ */
1043
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1044
+ }
1045
+ /**
1046
+ * Fields of the JobReviewItem model
1047
+ */
1048
+ export interface JobReviewItemFieldRefs {
1049
+ readonly id: Prisma.FieldRef<"JobReviewItem", 'String'>;
1050
+ readonly jobId: Prisma.FieldRef<"JobReviewItem", 'String'>;
1051
+ readonly documentId: Prisma.FieldRef<"JobReviewItem", 'String'>;
1052
+ readonly documentTitle: Prisma.FieldRef<"JobReviewItem", 'String'>;
1053
+ readonly url: Prisma.FieldRef<"JobReviewItem", 'String'>;
1054
+ readonly field: Prisma.FieldRef<"JobReviewItem", 'String'>;
1055
+ readonly before: Prisma.FieldRef<"JobReviewItem", 'String'>;
1056
+ readonly after: Prisma.FieldRef<"JobReviewItem", 'String'>;
1057
+ readonly editedAfter: Prisma.FieldRef<"JobReviewItem", 'String'>;
1058
+ readonly status: Prisma.FieldRef<"JobReviewItem", 'String'>;
1059
+ readonly decidedById: Prisma.FieldRef<"JobReviewItem", 'String'>;
1060
+ readonly decidedAt: Prisma.FieldRef<"JobReviewItem", 'DateTime'>;
1061
+ readonly appliedRevisionId: Prisma.FieldRef<"JobReviewItem", 'String'>;
1062
+ }
1063
+ /**
1064
+ * JobReviewItem findUnique
1065
+ */
1066
+ export type JobReviewItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
+ /**
1068
+ * Select specific fields to fetch from the JobReviewItem
1069
+ */
1070
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1071
+ /**
1072
+ * Omit specific fields from the JobReviewItem
1073
+ */
1074
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1075
+ /**
1076
+ * Choose, which related nodes to fetch as well
1077
+ */
1078
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1079
+ /**
1080
+ * Filter, which JobReviewItem to fetch.
1081
+ */
1082
+ where: Prisma.JobReviewItemWhereUniqueInput;
1083
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1084
+ };
1085
+ /**
1086
+ * JobReviewItem findUniqueOrThrow
1087
+ */
1088
+ export type JobReviewItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1089
+ /**
1090
+ * Select specific fields to fetch from the JobReviewItem
1091
+ */
1092
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1093
+ /**
1094
+ * Omit specific fields from the JobReviewItem
1095
+ */
1096
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1097
+ /**
1098
+ * Choose, which related nodes to fetch as well
1099
+ */
1100
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1101
+ /**
1102
+ * Filter, which JobReviewItem to fetch.
1103
+ */
1104
+ where: Prisma.JobReviewItemWhereUniqueInput;
1105
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1106
+ };
1107
+ /**
1108
+ * JobReviewItem findFirst
1109
+ */
1110
+ export type JobReviewItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1111
+ /**
1112
+ * Select specific fields to fetch from the JobReviewItem
1113
+ */
1114
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1115
+ /**
1116
+ * Omit specific fields from the JobReviewItem
1117
+ */
1118
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1119
+ /**
1120
+ * Choose, which related nodes to fetch as well
1121
+ */
1122
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1123
+ /**
1124
+ * Filter, which JobReviewItem to fetch.
1125
+ */
1126
+ where?: Prisma.JobReviewItemWhereInput;
1127
+ /**
1128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1129
+ *
1130
+ * Determine the order of JobReviewItems to fetch.
1131
+ */
1132
+ orderBy?: Prisma.JobReviewItemOrderByWithRelationInput | Prisma.JobReviewItemOrderByWithRelationInput[];
1133
+ /**
1134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1135
+ *
1136
+ * Sets the position for searching for JobReviewItems.
1137
+ */
1138
+ cursor?: Prisma.JobReviewItemWhereUniqueInput;
1139
+ /**
1140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1141
+ *
1142
+ * Take `±n` JobReviewItems from the position of the cursor.
1143
+ */
1144
+ take?: number;
1145
+ /**
1146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1147
+ *
1148
+ * Skip the first `n` JobReviewItems.
1149
+ */
1150
+ skip?: number;
1151
+ /**
1152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1153
+ *
1154
+ * Filter by unique combinations of JobReviewItems.
1155
+ */
1156
+ distinct?: Prisma.JobReviewItemScalarFieldEnum | Prisma.JobReviewItemScalarFieldEnum[];
1157
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1158
+ };
1159
+ /**
1160
+ * JobReviewItem findFirstOrThrow
1161
+ */
1162
+ export type JobReviewItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1163
+ /**
1164
+ * Select specific fields to fetch from the JobReviewItem
1165
+ */
1166
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1167
+ /**
1168
+ * Omit specific fields from the JobReviewItem
1169
+ */
1170
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1171
+ /**
1172
+ * Choose, which related nodes to fetch as well
1173
+ */
1174
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1175
+ /**
1176
+ * Filter, which JobReviewItem to fetch.
1177
+ */
1178
+ where?: Prisma.JobReviewItemWhereInput;
1179
+ /**
1180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1181
+ *
1182
+ * Determine the order of JobReviewItems to fetch.
1183
+ */
1184
+ orderBy?: Prisma.JobReviewItemOrderByWithRelationInput | Prisma.JobReviewItemOrderByWithRelationInput[];
1185
+ /**
1186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1187
+ *
1188
+ * Sets the position for searching for JobReviewItems.
1189
+ */
1190
+ cursor?: Prisma.JobReviewItemWhereUniqueInput;
1191
+ /**
1192
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1193
+ *
1194
+ * Take `±n` JobReviewItems from the position of the cursor.
1195
+ */
1196
+ take?: number;
1197
+ /**
1198
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1199
+ *
1200
+ * Skip the first `n` JobReviewItems.
1201
+ */
1202
+ skip?: number;
1203
+ /**
1204
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1205
+ *
1206
+ * Filter by unique combinations of JobReviewItems.
1207
+ */
1208
+ distinct?: Prisma.JobReviewItemScalarFieldEnum | Prisma.JobReviewItemScalarFieldEnum[];
1209
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1210
+ };
1211
+ /**
1212
+ * JobReviewItem findMany
1213
+ */
1214
+ export type JobReviewItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1215
+ /**
1216
+ * Select specific fields to fetch from the JobReviewItem
1217
+ */
1218
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1219
+ /**
1220
+ * Omit specific fields from the JobReviewItem
1221
+ */
1222
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1223
+ /**
1224
+ * Choose, which related nodes to fetch as well
1225
+ */
1226
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1227
+ /**
1228
+ * Filter, which JobReviewItems to fetch.
1229
+ */
1230
+ where?: Prisma.JobReviewItemWhereInput;
1231
+ /**
1232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1233
+ *
1234
+ * Determine the order of JobReviewItems to fetch.
1235
+ */
1236
+ orderBy?: Prisma.JobReviewItemOrderByWithRelationInput | Prisma.JobReviewItemOrderByWithRelationInput[];
1237
+ /**
1238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1239
+ *
1240
+ * Sets the position for listing JobReviewItems.
1241
+ */
1242
+ cursor?: Prisma.JobReviewItemWhereUniqueInput;
1243
+ /**
1244
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1245
+ *
1246
+ * Take `±n` JobReviewItems from the position of the cursor.
1247
+ */
1248
+ take?: number;
1249
+ /**
1250
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1251
+ *
1252
+ * Skip the first `n` JobReviewItems.
1253
+ */
1254
+ skip?: number;
1255
+ /**
1256
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1257
+ *
1258
+ * Filter by unique combinations of JobReviewItems.
1259
+ */
1260
+ distinct?: Prisma.JobReviewItemScalarFieldEnum | Prisma.JobReviewItemScalarFieldEnum[];
1261
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1262
+ };
1263
+ /**
1264
+ * JobReviewItem create
1265
+ */
1266
+ export type JobReviewItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1267
+ /**
1268
+ * Select specific fields to fetch from the JobReviewItem
1269
+ */
1270
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1271
+ /**
1272
+ * Omit specific fields from the JobReviewItem
1273
+ */
1274
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1275
+ /**
1276
+ * Choose, which related nodes to fetch as well
1277
+ */
1278
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1279
+ /**
1280
+ * The data needed to create a JobReviewItem.
1281
+ */
1282
+ data: Prisma.XOR<Prisma.JobReviewItemCreateInput, Prisma.JobReviewItemUncheckedCreateInput>;
1283
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1284
+ };
1285
+ /**
1286
+ * JobReviewItem createMany
1287
+ */
1288
+ export type JobReviewItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ /**
1290
+ * The data used to create many JobReviewItems.
1291
+ */
1292
+ data: Prisma.JobReviewItemCreateManyInput | Prisma.JobReviewItemCreateManyInput[];
1293
+ skipDuplicates?: boolean;
1294
+ };
1295
+ /**
1296
+ * JobReviewItem createManyAndReturn
1297
+ */
1298
+ export type JobReviewItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1299
+ /**
1300
+ * Select specific fields to fetch from the JobReviewItem
1301
+ */
1302
+ select?: Prisma.JobReviewItemSelectCreateManyAndReturn<ExtArgs> | null;
1303
+ /**
1304
+ * Omit specific fields from the JobReviewItem
1305
+ */
1306
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1307
+ /**
1308
+ * The data used to create many JobReviewItems.
1309
+ */
1310
+ data: Prisma.JobReviewItemCreateManyInput | Prisma.JobReviewItemCreateManyInput[];
1311
+ skipDuplicates?: boolean;
1312
+ /**
1313
+ * Choose, which related nodes to fetch as well
1314
+ */
1315
+ include?: Prisma.JobReviewItemIncludeCreateManyAndReturn<ExtArgs> | null;
1316
+ };
1317
+ /**
1318
+ * JobReviewItem update
1319
+ */
1320
+ export type JobReviewItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
+ /**
1322
+ * Select specific fields to fetch from the JobReviewItem
1323
+ */
1324
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1325
+ /**
1326
+ * Omit specific fields from the JobReviewItem
1327
+ */
1328
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1329
+ /**
1330
+ * Choose, which related nodes to fetch as well
1331
+ */
1332
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1333
+ /**
1334
+ * The data needed to update a JobReviewItem.
1335
+ */
1336
+ data: Prisma.XOR<Prisma.JobReviewItemUpdateInput, Prisma.JobReviewItemUncheckedUpdateInput>;
1337
+ /**
1338
+ * Choose, which JobReviewItem to update.
1339
+ */
1340
+ where: Prisma.JobReviewItemWhereUniqueInput;
1341
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1342
+ };
1343
+ /**
1344
+ * JobReviewItem updateMany
1345
+ */
1346
+ export type JobReviewItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1347
+ /**
1348
+ * The data used to update JobReviewItems.
1349
+ */
1350
+ data: Prisma.XOR<Prisma.JobReviewItemUpdateManyMutationInput, Prisma.JobReviewItemUncheckedUpdateManyInput>;
1351
+ /**
1352
+ * Filter which JobReviewItems to update
1353
+ */
1354
+ where?: Prisma.JobReviewItemWhereInput;
1355
+ /**
1356
+ * Limit how many JobReviewItems to update.
1357
+ */
1358
+ limit?: number;
1359
+ };
1360
+ /**
1361
+ * JobReviewItem updateManyAndReturn
1362
+ */
1363
+ export type JobReviewItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1364
+ /**
1365
+ * Select specific fields to fetch from the JobReviewItem
1366
+ */
1367
+ select?: Prisma.JobReviewItemSelectUpdateManyAndReturn<ExtArgs> | null;
1368
+ /**
1369
+ * Omit specific fields from the JobReviewItem
1370
+ */
1371
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1372
+ /**
1373
+ * The data used to update JobReviewItems.
1374
+ */
1375
+ data: Prisma.XOR<Prisma.JobReviewItemUpdateManyMutationInput, Prisma.JobReviewItemUncheckedUpdateManyInput>;
1376
+ /**
1377
+ * Filter which JobReviewItems to update
1378
+ */
1379
+ where?: Prisma.JobReviewItemWhereInput;
1380
+ /**
1381
+ * Limit how many JobReviewItems to update.
1382
+ */
1383
+ limit?: number;
1384
+ /**
1385
+ * Choose, which related nodes to fetch as well
1386
+ */
1387
+ include?: Prisma.JobReviewItemIncludeUpdateManyAndReturn<ExtArgs> | null;
1388
+ };
1389
+ /**
1390
+ * JobReviewItem upsert
1391
+ */
1392
+ export type JobReviewItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1393
+ /**
1394
+ * Select specific fields to fetch from the JobReviewItem
1395
+ */
1396
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1397
+ /**
1398
+ * Omit specific fields from the JobReviewItem
1399
+ */
1400
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1401
+ /**
1402
+ * Choose, which related nodes to fetch as well
1403
+ */
1404
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1405
+ /**
1406
+ * The filter to search for the JobReviewItem to update in case it exists.
1407
+ */
1408
+ where: Prisma.JobReviewItemWhereUniqueInput;
1409
+ /**
1410
+ * In case the JobReviewItem found by the `where` argument doesn't exist, create a new JobReviewItem with this data.
1411
+ */
1412
+ create: Prisma.XOR<Prisma.JobReviewItemCreateInput, Prisma.JobReviewItemUncheckedCreateInput>;
1413
+ /**
1414
+ * In case the JobReviewItem was found with the provided `where` argument, update it with this data.
1415
+ */
1416
+ update: Prisma.XOR<Prisma.JobReviewItemUpdateInput, Prisma.JobReviewItemUncheckedUpdateInput>;
1417
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1418
+ };
1419
+ /**
1420
+ * JobReviewItem delete
1421
+ */
1422
+ export type JobReviewItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1423
+ /**
1424
+ * Select specific fields to fetch from the JobReviewItem
1425
+ */
1426
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1427
+ /**
1428
+ * Omit specific fields from the JobReviewItem
1429
+ */
1430
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1431
+ /**
1432
+ * Choose, which related nodes to fetch as well
1433
+ */
1434
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1435
+ /**
1436
+ * Filter which JobReviewItem to delete.
1437
+ */
1438
+ where: Prisma.JobReviewItemWhereUniqueInput;
1439
+ relationLoadStrategy?: Prisma.RelationLoadStrategy;
1440
+ };
1441
+ /**
1442
+ * JobReviewItem deleteMany
1443
+ */
1444
+ export type JobReviewItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1445
+ /**
1446
+ * Filter which JobReviewItems to delete
1447
+ */
1448
+ where?: Prisma.JobReviewItemWhereInput;
1449
+ /**
1450
+ * Limit how many JobReviewItems to delete.
1451
+ */
1452
+ limit?: number;
1453
+ };
1454
+ /**
1455
+ * JobReviewItem without action
1456
+ */
1457
+ export type JobReviewItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1458
+ /**
1459
+ * Select specific fields to fetch from the JobReviewItem
1460
+ */
1461
+ select?: Prisma.JobReviewItemSelect<ExtArgs> | null;
1462
+ /**
1463
+ * Omit specific fields from the JobReviewItem
1464
+ */
1465
+ omit?: Prisma.JobReviewItemOmit<ExtArgs> | null;
1466
+ /**
1467
+ * Choose, which related nodes to fetch as well
1468
+ */
1469
+ include?: Prisma.JobReviewItemInclude<ExtArgs> | null;
1470
+ };