@actuate-media/cms-core 0.90.1 → 0.91.1

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