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