@allbluecn/database 0.9.1 → 0.9.3

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 (150) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/desktop-init.ts +2 -2
  5. package/dist/cf-env-stub.d.ts +1 -0
  6. package/dist/cf-env-stub.js +4 -0
  7. package/dist/cf-env.d.ts +1 -0
  8. package/dist/cf-env.js +8 -0
  9. package/dist/lib/share-utils.js +3 -3
  10. package/generated/browser.ts +143 -38
  11. package/generated/client.ts +143 -38
  12. package/generated/commonInputTypes.ts +34 -0
  13. package/generated/enums.ts +14 -0
  14. package/generated/internal/class.ts +290 -80
  15. package/generated/internal/prismaNamespace.ts +3756 -1797
  16. package/generated/internal/prismaNamespaceBrowser.ts +478 -108
  17. package/generated/models/AgentConversation.ts +89 -89
  18. package/generated/models/AiProvider.ts +3 -3
  19. package/generated/models/AiStreamChunk.ts +3 -3
  20. package/generated/models/AiTask.ts +2481 -0
  21. package/generated/models/AiTaskRun.ts +1564 -0
  22. package/generated/models/AnyHubMarketApp.ts +8 -8
  23. package/generated/models/AuditLog.ts +6 -6
  24. package/generated/models/BlockInstance.ts +17 -17
  25. package/generated/models/Bug.ts +5116 -0
  26. package/generated/models/BugActivity.ts +1765 -0
  27. package/generated/models/BugComment.ts +1992 -0
  28. package/generated/models/BugCommentReaction.ts +1472 -0
  29. package/generated/models/BugEvent.ts +1339 -0
  30. package/generated/models/BugFilterView.ts +1438 -0
  31. package/generated/models/BugFixRun.ts +1479 -0
  32. package/generated/models/BugLabel.ts +1349 -0
  33. package/generated/models/BugProjectSettings.ts +1403 -0
  34. package/generated/models/BugReproRun.ts +1582 -0
  35. package/generated/models/ChatPersistenceMeta.ts +3 -3
  36. package/generated/models/CollabClient.ts +1199 -0
  37. package/generated/models/CollabDocument.ts +1121 -0
  38. package/generated/models/CollabUpdate.ts +1149 -0
  39. package/generated/models/Comment.ts +99 -99
  40. package/generated/models/Component.ts +7 -201
  41. package/generated/models/ComponentInstance.ts +17 -17
  42. package/generated/models/CustomRole.ts +8 -8
  43. package/generated/models/Design.ts +2682 -0
  44. package/generated/models/DesignPage.ts +2402 -0
  45. package/generated/models/DesignVersion.ts +2121 -0
  46. package/generated/models/DesktopSetting.ts +3 -3
  47. package/generated/models/Iteration.ts +148 -0
  48. package/generated/models/Label.ts +118 -0
  49. package/generated/models/LicenseKey.ts +16 -16
  50. package/generated/models/NotificationPreference.ts +5 -5
  51. package/generated/models/PageVersion.ts +49 -49
  52. package/generated/models/Plan.ts +5 -5
  53. package/generated/models/Project.ts +2240 -67
  54. package/generated/models/ProjectAccessToken.ts +1705 -0
  55. package/generated/models/ProjectWebhook.ts +1409 -0
  56. package/generated/models/Review.ts +118 -118
  57. package/generated/models/Share.ts +83 -83
  58. package/generated/models/ShareVersion.ts +15 -15
  59. package/generated/models/SsoProvider.ts +8 -8
  60. package/generated/models/Story.ts +973 -87
  61. package/generated/models/StoryDesignLink.ts +1430 -0
  62. package/generated/models/StoryFilterView.ts +12 -12
  63. package/generated/models/SystemPromptVersion.ts +6 -6
  64. package/generated/models/TestAutomationArtifact.ts +1790 -0
  65. package/generated/models/TestCase.ts +3645 -0
  66. package/generated/models/TestCaseFilterView.ts +1587 -0
  67. package/generated/models/TestCaseFolder.ts +1795 -0
  68. package/generated/models/TestExecRun.ts +1673 -0
  69. package/generated/models/TestGenerationRun.ts +1952 -0
  70. package/generated/models/TestPlan.ts +1950 -0
  71. package/generated/models/TestPlanCase.ts +1430 -0
  72. package/generated/models/TestRun.ts +1979 -0
  73. package/generated/models/TestRunCase.ts +2772 -0
  74. package/generated/models/ThirdPartyDependency.ts +19 -15
  75. package/generated/models/User.ts +13573 -3351
  76. package/generated/models/Workspace.ts +204 -0
  77. package/generated/models.ts +31 -10
  78. package/generated-sqlite/browser.ts +6 -36
  79. package/generated-sqlite/client.ts +6 -36
  80. package/generated-sqlite/internal/class.ts +16 -76
  81. package/generated-sqlite/internal/prismaNamespace.ts +127 -659
  82. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
  83. package/generated-sqlite/models/AgentConversation.ts +89 -89
  84. package/generated-sqlite/models/AiProvider.ts +3 -3
  85. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  86. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  87. package/generated-sqlite/models/BlockInstance.ts +17 -17
  88. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  89. package/generated-sqlite/models/Comment.ts +99 -99
  90. package/generated-sqlite/models/Component.ts +7 -201
  91. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  92. package/generated-sqlite/models/Design.ts +2497 -0
  93. package/generated-sqlite/models/DesignPage.ts +2398 -0
  94. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  95. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  96. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  97. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  98. package/generated-sqlite/models/PageVersion.ts +49 -49
  99. package/generated-sqlite/models/Review.ts +118 -118
  100. package/generated-sqlite/models/Share.ts +83 -83
  101. package/generated-sqlite/models/ShareVersion.ts +15 -15
  102. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  103. package/generated-sqlite/models/User.ts +1310 -2016
  104. package/generated-sqlite/models/Workspace.ts +164 -0
  105. package/generated-sqlite/models.ts +3 -9
  106. package/index.ts +31 -3
  107. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  108. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  109. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  110. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  111. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  112. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  113. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  114. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  115. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  116. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  117. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  118. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  119. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  120. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  121. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  122. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  123. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  124. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  125. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  126. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  127. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  128. package/package.json +17 -6
  129. package/schema.prisma +777 -222
  130. package/schema.sqlite.prisma +140 -196
  131. package/src/lib/share-utils.ts +2 -2
  132. package/generated/models/Artboard.ts +0 -1811
  133. package/generated/models/ArtboardExport.ts +0 -1548
  134. package/generated/models/ComponentTag.ts +0 -1281
  135. package/generated/models/DesignProject.ts +0 -1643
  136. package/generated/models/PRD.ts +0 -2805
  137. package/generated/models/PRDPage.ts +0 -2402
  138. package/generated/models/PRDTag.ts +0 -1430
  139. package/generated/models/PRDVersion.ts +0 -2121
  140. package/generated/models/StoryPrdLink.ts +0 -1430
  141. package/generated/models/Tag.ts +0 -1655
  142. package/generated-sqlite/models/Artboard.ts +0 -1808
  143. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  144. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  145. package/generated-sqlite/models/DesignProject.ts +0 -1640
  146. package/generated-sqlite/models/PRD.ts +0 -2616
  147. package/generated-sqlite/models/PRDPage.ts +0 -2398
  148. package/generated-sqlite/models/PRDTag.ts +0 -1426
  149. package/generated-sqlite/models/PRDVersion.ts +0 -2117
  150. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -0,0 +1,1409 @@
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 `ProjectWebhook` 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.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model ProjectWebhook
17
+ *
18
+ */
19
+ export type ProjectWebhookModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectWebhookPayload>
20
+
21
+ export type AggregateProjectWebhook = {
22
+ _count: ProjectWebhookCountAggregateOutputType | null
23
+ _min: ProjectWebhookMinAggregateOutputType | null
24
+ _max: ProjectWebhookMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type ProjectWebhookMinAggregateOutputType = {
28
+ id: string | null
29
+ projectId: string | null
30
+ url: string | null
31
+ secret: string | null
32
+ enabled: boolean | null
33
+ createdAt: Date | null
34
+ }
35
+
36
+ export type ProjectWebhookMaxAggregateOutputType = {
37
+ id: string | null
38
+ projectId: string | null
39
+ url: string | null
40
+ secret: string | null
41
+ enabled: boolean | null
42
+ createdAt: Date | null
43
+ }
44
+
45
+ export type ProjectWebhookCountAggregateOutputType = {
46
+ id: number
47
+ projectId: number
48
+ url: number
49
+ secret: number
50
+ events: number
51
+ enabled: number
52
+ createdAt: number
53
+ _all: number
54
+ }
55
+
56
+
57
+ export type ProjectWebhookMinAggregateInputType = {
58
+ id?: true
59
+ projectId?: true
60
+ url?: true
61
+ secret?: true
62
+ enabled?: true
63
+ createdAt?: true
64
+ }
65
+
66
+ export type ProjectWebhookMaxAggregateInputType = {
67
+ id?: true
68
+ projectId?: true
69
+ url?: true
70
+ secret?: true
71
+ enabled?: true
72
+ createdAt?: true
73
+ }
74
+
75
+ export type ProjectWebhookCountAggregateInputType = {
76
+ id?: true
77
+ projectId?: true
78
+ url?: true
79
+ secret?: true
80
+ events?: true
81
+ enabled?: true
82
+ createdAt?: true
83
+ _all?: true
84
+ }
85
+
86
+ export type ProjectWebhookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
87
+ /**
88
+ * Filter which ProjectWebhook to aggregate.
89
+ */
90
+ where?: Prisma.ProjectWebhookWhereInput
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
93
+ *
94
+ * Determine the order of ProjectWebhooks to fetch.
95
+ */
96
+ orderBy?: Prisma.ProjectWebhookOrderByWithRelationInput | Prisma.ProjectWebhookOrderByWithRelationInput[]
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
99
+ *
100
+ * Sets the start position
101
+ */
102
+ cursor?: Prisma.ProjectWebhookWhereUniqueInput
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105
+ *
106
+ * Take `±n` ProjectWebhooks from the position of the cursor.
107
+ */
108
+ take?: number
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
111
+ *
112
+ * Skip the first `n` ProjectWebhooks.
113
+ */
114
+ skip?: number
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
117
+ *
118
+ * Count returned ProjectWebhooks
119
+ **/
120
+ _count?: true | ProjectWebhookCountAggregateInputType
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
123
+ *
124
+ * Select which fields to find the minimum value
125
+ **/
126
+ _min?: ProjectWebhookMinAggregateInputType
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Select which fields to find the maximum value
131
+ **/
132
+ _max?: ProjectWebhookMaxAggregateInputType
133
+ }
134
+
135
+ export type GetProjectWebhookAggregateType<T extends ProjectWebhookAggregateArgs> = {
136
+ [P in keyof T & keyof AggregateProjectWebhook]: P extends '_count' | 'count'
137
+ ? T[P] extends true
138
+ ? number
139
+ : Prisma.GetScalarType<T[P], AggregateProjectWebhook[P]>
140
+ : Prisma.GetScalarType<T[P], AggregateProjectWebhook[P]>
141
+ }
142
+
143
+
144
+
145
+
146
+ export type ProjectWebhookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
147
+ where?: Prisma.ProjectWebhookWhereInput
148
+ orderBy?: Prisma.ProjectWebhookOrderByWithAggregationInput | Prisma.ProjectWebhookOrderByWithAggregationInput[]
149
+ by: Prisma.ProjectWebhookScalarFieldEnum[] | Prisma.ProjectWebhookScalarFieldEnum
150
+ having?: Prisma.ProjectWebhookScalarWhereWithAggregatesInput
151
+ take?: number
152
+ skip?: number
153
+ _count?: ProjectWebhookCountAggregateInputType | true
154
+ _min?: ProjectWebhookMinAggregateInputType
155
+ _max?: ProjectWebhookMaxAggregateInputType
156
+ }
157
+
158
+ export type ProjectWebhookGroupByOutputType = {
159
+ id: string
160
+ projectId: string
161
+ url: string
162
+ secret: string
163
+ events: runtime.JsonValue
164
+ enabled: boolean
165
+ createdAt: Date
166
+ _count: ProjectWebhookCountAggregateOutputType | null
167
+ _min: ProjectWebhookMinAggregateOutputType | null
168
+ _max: ProjectWebhookMaxAggregateOutputType | null
169
+ }
170
+
171
+ export type GetProjectWebhookGroupByPayload<T extends ProjectWebhookGroupByArgs> = Prisma.PrismaPromise<
172
+ Array<
173
+ Prisma.PickEnumerable<ProjectWebhookGroupByOutputType, T['by']> &
174
+ {
175
+ [P in ((keyof T) & (keyof ProjectWebhookGroupByOutputType))]: P extends '_count'
176
+ ? T[P] extends boolean
177
+ ? number
178
+ : Prisma.GetScalarType<T[P], ProjectWebhookGroupByOutputType[P]>
179
+ : Prisma.GetScalarType<T[P], ProjectWebhookGroupByOutputType[P]>
180
+ }
181
+ >
182
+ >
183
+
184
+
185
+
186
+ export type ProjectWebhookWhereInput = {
187
+ AND?: Prisma.ProjectWebhookWhereInput | Prisma.ProjectWebhookWhereInput[]
188
+ OR?: Prisma.ProjectWebhookWhereInput[]
189
+ NOT?: Prisma.ProjectWebhookWhereInput | Prisma.ProjectWebhookWhereInput[]
190
+ id?: Prisma.StringFilter<"ProjectWebhook"> | string
191
+ projectId?: Prisma.StringFilter<"ProjectWebhook"> | string
192
+ url?: Prisma.StringFilter<"ProjectWebhook"> | string
193
+ secret?: Prisma.StringFilter<"ProjectWebhook"> | string
194
+ events?: Prisma.JsonFilter<"ProjectWebhook">
195
+ enabled?: Prisma.BoolFilter<"ProjectWebhook"> | boolean
196
+ createdAt?: Prisma.DateTimeFilter<"ProjectWebhook"> | Date | string
197
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
198
+ }
199
+
200
+ export type ProjectWebhookOrderByWithRelationInput = {
201
+ id?: Prisma.SortOrder
202
+ projectId?: Prisma.SortOrder
203
+ url?: Prisma.SortOrder
204
+ secret?: Prisma.SortOrder
205
+ events?: Prisma.SortOrder
206
+ enabled?: Prisma.SortOrder
207
+ createdAt?: Prisma.SortOrder
208
+ project?: Prisma.ProjectOrderByWithRelationInput
209
+ }
210
+
211
+ export type ProjectWebhookWhereUniqueInput = Prisma.AtLeast<{
212
+ id?: string
213
+ AND?: Prisma.ProjectWebhookWhereInput | Prisma.ProjectWebhookWhereInput[]
214
+ OR?: Prisma.ProjectWebhookWhereInput[]
215
+ NOT?: Prisma.ProjectWebhookWhereInput | Prisma.ProjectWebhookWhereInput[]
216
+ projectId?: Prisma.StringFilter<"ProjectWebhook"> | string
217
+ url?: Prisma.StringFilter<"ProjectWebhook"> | string
218
+ secret?: Prisma.StringFilter<"ProjectWebhook"> | string
219
+ events?: Prisma.JsonFilter<"ProjectWebhook">
220
+ enabled?: Prisma.BoolFilter<"ProjectWebhook"> | boolean
221
+ createdAt?: Prisma.DateTimeFilter<"ProjectWebhook"> | Date | string
222
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
223
+ }, "id">
224
+
225
+ export type ProjectWebhookOrderByWithAggregationInput = {
226
+ id?: Prisma.SortOrder
227
+ projectId?: Prisma.SortOrder
228
+ url?: Prisma.SortOrder
229
+ secret?: Prisma.SortOrder
230
+ events?: Prisma.SortOrder
231
+ enabled?: Prisma.SortOrder
232
+ createdAt?: Prisma.SortOrder
233
+ _count?: Prisma.ProjectWebhookCountOrderByAggregateInput
234
+ _max?: Prisma.ProjectWebhookMaxOrderByAggregateInput
235
+ _min?: Prisma.ProjectWebhookMinOrderByAggregateInput
236
+ }
237
+
238
+ export type ProjectWebhookScalarWhereWithAggregatesInput = {
239
+ AND?: Prisma.ProjectWebhookScalarWhereWithAggregatesInput | Prisma.ProjectWebhookScalarWhereWithAggregatesInput[]
240
+ OR?: Prisma.ProjectWebhookScalarWhereWithAggregatesInput[]
241
+ NOT?: Prisma.ProjectWebhookScalarWhereWithAggregatesInput | Prisma.ProjectWebhookScalarWhereWithAggregatesInput[]
242
+ id?: Prisma.StringWithAggregatesFilter<"ProjectWebhook"> | string
243
+ projectId?: Prisma.StringWithAggregatesFilter<"ProjectWebhook"> | string
244
+ url?: Prisma.StringWithAggregatesFilter<"ProjectWebhook"> | string
245
+ secret?: Prisma.StringWithAggregatesFilter<"ProjectWebhook"> | string
246
+ events?: Prisma.JsonWithAggregatesFilter<"ProjectWebhook">
247
+ enabled?: Prisma.BoolWithAggregatesFilter<"ProjectWebhook"> | boolean
248
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProjectWebhook"> | Date | string
249
+ }
250
+
251
+ export type ProjectWebhookCreateInput = {
252
+ id?: string
253
+ url: string
254
+ secret: string
255
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
256
+ enabled?: boolean
257
+ createdAt?: Date | string
258
+ project: Prisma.ProjectCreateNestedOneWithoutWebhooksInput
259
+ }
260
+
261
+ export type ProjectWebhookUncheckedCreateInput = {
262
+ id?: string
263
+ projectId: string
264
+ url: string
265
+ secret: string
266
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
267
+ enabled?: boolean
268
+ createdAt?: Date | string
269
+ }
270
+
271
+ export type ProjectWebhookUpdateInput = {
272
+ id?: Prisma.StringFieldUpdateOperationsInput | string
273
+ url?: Prisma.StringFieldUpdateOperationsInput | string
274
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
275
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
276
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
277
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
278
+ project?: Prisma.ProjectUpdateOneRequiredWithoutWebhooksNestedInput
279
+ }
280
+
281
+ export type ProjectWebhookUncheckedUpdateInput = {
282
+ id?: Prisma.StringFieldUpdateOperationsInput | string
283
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
284
+ url?: Prisma.StringFieldUpdateOperationsInput | string
285
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
286
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
287
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
288
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
289
+ }
290
+
291
+ export type ProjectWebhookCreateManyInput = {
292
+ id?: string
293
+ projectId: string
294
+ url: string
295
+ secret: string
296
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
297
+ enabled?: boolean
298
+ createdAt?: Date | string
299
+ }
300
+
301
+ export type ProjectWebhookUpdateManyMutationInput = {
302
+ id?: Prisma.StringFieldUpdateOperationsInput | string
303
+ url?: Prisma.StringFieldUpdateOperationsInput | string
304
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
305
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
306
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
307
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
308
+ }
309
+
310
+ export type ProjectWebhookUncheckedUpdateManyInput = {
311
+ id?: Prisma.StringFieldUpdateOperationsInput | string
312
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
313
+ url?: Prisma.StringFieldUpdateOperationsInput | string
314
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
315
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
316
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
317
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
318
+ }
319
+
320
+ export type ProjectWebhookListRelationFilter = {
321
+ every?: Prisma.ProjectWebhookWhereInput
322
+ some?: Prisma.ProjectWebhookWhereInput
323
+ none?: Prisma.ProjectWebhookWhereInput
324
+ }
325
+
326
+ export type ProjectWebhookOrderByRelationAggregateInput = {
327
+ _count?: Prisma.SortOrder
328
+ }
329
+
330
+ export type ProjectWebhookCountOrderByAggregateInput = {
331
+ id?: Prisma.SortOrder
332
+ projectId?: Prisma.SortOrder
333
+ url?: Prisma.SortOrder
334
+ secret?: Prisma.SortOrder
335
+ events?: Prisma.SortOrder
336
+ enabled?: Prisma.SortOrder
337
+ createdAt?: Prisma.SortOrder
338
+ }
339
+
340
+ export type ProjectWebhookMaxOrderByAggregateInput = {
341
+ id?: Prisma.SortOrder
342
+ projectId?: Prisma.SortOrder
343
+ url?: Prisma.SortOrder
344
+ secret?: Prisma.SortOrder
345
+ enabled?: Prisma.SortOrder
346
+ createdAt?: Prisma.SortOrder
347
+ }
348
+
349
+ export type ProjectWebhookMinOrderByAggregateInput = {
350
+ id?: Prisma.SortOrder
351
+ projectId?: Prisma.SortOrder
352
+ url?: Prisma.SortOrder
353
+ secret?: Prisma.SortOrder
354
+ enabled?: Prisma.SortOrder
355
+ createdAt?: Prisma.SortOrder
356
+ }
357
+
358
+ export type ProjectWebhookCreateNestedManyWithoutProjectInput = {
359
+ create?: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput> | Prisma.ProjectWebhookCreateWithoutProjectInput[] | Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput[]
360
+ connectOrCreate?: Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput | Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput[]
361
+ createMany?: Prisma.ProjectWebhookCreateManyProjectInputEnvelope
362
+ connect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
363
+ }
364
+
365
+ export type ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput = {
366
+ create?: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput> | Prisma.ProjectWebhookCreateWithoutProjectInput[] | Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput[]
367
+ connectOrCreate?: Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput | Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput[]
368
+ createMany?: Prisma.ProjectWebhookCreateManyProjectInputEnvelope
369
+ connect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
370
+ }
371
+
372
+ export type ProjectWebhookUpdateManyWithoutProjectNestedInput = {
373
+ create?: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput> | Prisma.ProjectWebhookCreateWithoutProjectInput[] | Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput[]
374
+ connectOrCreate?: Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput | Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput[]
375
+ upsert?: Prisma.ProjectWebhookUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectWebhookUpsertWithWhereUniqueWithoutProjectInput[]
376
+ createMany?: Prisma.ProjectWebhookCreateManyProjectInputEnvelope
377
+ set?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
378
+ disconnect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
379
+ delete?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
380
+ connect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
381
+ update?: Prisma.ProjectWebhookUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectWebhookUpdateWithWhereUniqueWithoutProjectInput[]
382
+ updateMany?: Prisma.ProjectWebhookUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectWebhookUpdateManyWithWhereWithoutProjectInput[]
383
+ deleteMany?: Prisma.ProjectWebhookScalarWhereInput | Prisma.ProjectWebhookScalarWhereInput[]
384
+ }
385
+
386
+ export type ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput = {
387
+ create?: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput> | Prisma.ProjectWebhookCreateWithoutProjectInput[] | Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput[]
388
+ connectOrCreate?: Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput | Prisma.ProjectWebhookCreateOrConnectWithoutProjectInput[]
389
+ upsert?: Prisma.ProjectWebhookUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectWebhookUpsertWithWhereUniqueWithoutProjectInput[]
390
+ createMany?: Prisma.ProjectWebhookCreateManyProjectInputEnvelope
391
+ set?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
392
+ disconnect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
393
+ delete?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
394
+ connect?: Prisma.ProjectWebhookWhereUniqueInput | Prisma.ProjectWebhookWhereUniqueInput[]
395
+ update?: Prisma.ProjectWebhookUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectWebhookUpdateWithWhereUniqueWithoutProjectInput[]
396
+ updateMany?: Prisma.ProjectWebhookUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectWebhookUpdateManyWithWhereWithoutProjectInput[]
397
+ deleteMany?: Prisma.ProjectWebhookScalarWhereInput | Prisma.ProjectWebhookScalarWhereInput[]
398
+ }
399
+
400
+ export type ProjectWebhookCreateWithoutProjectInput = {
401
+ id?: string
402
+ url: string
403
+ secret: string
404
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
405
+ enabled?: boolean
406
+ createdAt?: Date | string
407
+ }
408
+
409
+ export type ProjectWebhookUncheckedCreateWithoutProjectInput = {
410
+ id?: string
411
+ url: string
412
+ secret: string
413
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
414
+ enabled?: boolean
415
+ createdAt?: Date | string
416
+ }
417
+
418
+ export type ProjectWebhookCreateOrConnectWithoutProjectInput = {
419
+ where: Prisma.ProjectWebhookWhereUniqueInput
420
+ create: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput>
421
+ }
422
+
423
+ export type ProjectWebhookCreateManyProjectInputEnvelope = {
424
+ data: Prisma.ProjectWebhookCreateManyProjectInput | Prisma.ProjectWebhookCreateManyProjectInput[]
425
+ skipDuplicates?: boolean
426
+ }
427
+
428
+ export type ProjectWebhookUpsertWithWhereUniqueWithoutProjectInput = {
429
+ where: Prisma.ProjectWebhookWhereUniqueInput
430
+ update: Prisma.XOR<Prisma.ProjectWebhookUpdateWithoutProjectInput, Prisma.ProjectWebhookUncheckedUpdateWithoutProjectInput>
431
+ create: Prisma.XOR<Prisma.ProjectWebhookCreateWithoutProjectInput, Prisma.ProjectWebhookUncheckedCreateWithoutProjectInput>
432
+ }
433
+
434
+ export type ProjectWebhookUpdateWithWhereUniqueWithoutProjectInput = {
435
+ where: Prisma.ProjectWebhookWhereUniqueInput
436
+ data: Prisma.XOR<Prisma.ProjectWebhookUpdateWithoutProjectInput, Prisma.ProjectWebhookUncheckedUpdateWithoutProjectInput>
437
+ }
438
+
439
+ export type ProjectWebhookUpdateManyWithWhereWithoutProjectInput = {
440
+ where: Prisma.ProjectWebhookScalarWhereInput
441
+ data: Prisma.XOR<Prisma.ProjectWebhookUpdateManyMutationInput, Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectInput>
442
+ }
443
+
444
+ export type ProjectWebhookScalarWhereInput = {
445
+ AND?: Prisma.ProjectWebhookScalarWhereInput | Prisma.ProjectWebhookScalarWhereInput[]
446
+ OR?: Prisma.ProjectWebhookScalarWhereInput[]
447
+ NOT?: Prisma.ProjectWebhookScalarWhereInput | Prisma.ProjectWebhookScalarWhereInput[]
448
+ id?: Prisma.StringFilter<"ProjectWebhook"> | string
449
+ projectId?: Prisma.StringFilter<"ProjectWebhook"> | string
450
+ url?: Prisma.StringFilter<"ProjectWebhook"> | string
451
+ secret?: Prisma.StringFilter<"ProjectWebhook"> | string
452
+ events?: Prisma.JsonFilter<"ProjectWebhook">
453
+ enabled?: Prisma.BoolFilter<"ProjectWebhook"> | boolean
454
+ createdAt?: Prisma.DateTimeFilter<"ProjectWebhook"> | Date | string
455
+ }
456
+
457
+ export type ProjectWebhookCreateManyProjectInput = {
458
+ id?: string
459
+ url: string
460
+ secret: string
461
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
462
+ enabled?: boolean
463
+ createdAt?: Date | string
464
+ }
465
+
466
+ export type ProjectWebhookUpdateWithoutProjectInput = {
467
+ id?: Prisma.StringFieldUpdateOperationsInput | string
468
+ url?: Prisma.StringFieldUpdateOperationsInput | string
469
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
470
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
471
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
472
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
473
+ }
474
+
475
+ export type ProjectWebhookUncheckedUpdateWithoutProjectInput = {
476
+ id?: Prisma.StringFieldUpdateOperationsInput | string
477
+ url?: Prisma.StringFieldUpdateOperationsInput | string
478
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
479
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
480
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
481
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
482
+ }
483
+
484
+ export type ProjectWebhookUncheckedUpdateManyWithoutProjectInput = {
485
+ id?: Prisma.StringFieldUpdateOperationsInput | string
486
+ url?: Prisma.StringFieldUpdateOperationsInput | string
487
+ secret?: Prisma.StringFieldUpdateOperationsInput | string
488
+ events?: Prisma.JsonNullValueInput | runtime.InputJsonValue
489
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
490
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
491
+ }
492
+
493
+
494
+
495
+ export type ProjectWebhookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
496
+ id?: boolean
497
+ projectId?: boolean
498
+ url?: boolean
499
+ secret?: boolean
500
+ events?: boolean
501
+ enabled?: boolean
502
+ createdAt?: boolean
503
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
504
+ }, ExtArgs["result"]["projectWebhook"]>
505
+
506
+ export type ProjectWebhookSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
507
+ id?: boolean
508
+ projectId?: boolean
509
+ url?: boolean
510
+ secret?: boolean
511
+ events?: boolean
512
+ enabled?: boolean
513
+ createdAt?: boolean
514
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
515
+ }, ExtArgs["result"]["projectWebhook"]>
516
+
517
+ export type ProjectWebhookSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
518
+ id?: boolean
519
+ projectId?: boolean
520
+ url?: boolean
521
+ secret?: boolean
522
+ events?: boolean
523
+ enabled?: boolean
524
+ createdAt?: boolean
525
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
526
+ }, ExtArgs["result"]["projectWebhook"]>
527
+
528
+ export type ProjectWebhookSelectScalar = {
529
+ id?: boolean
530
+ projectId?: boolean
531
+ url?: boolean
532
+ secret?: boolean
533
+ events?: boolean
534
+ enabled?: boolean
535
+ createdAt?: boolean
536
+ }
537
+
538
+ export type ProjectWebhookOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "url" | "secret" | "events" | "enabled" | "createdAt", ExtArgs["result"]["projectWebhook"]>
539
+ export type ProjectWebhookInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
540
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
541
+ }
542
+ export type ProjectWebhookIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
543
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
544
+ }
545
+ export type ProjectWebhookIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
546
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
547
+ }
548
+
549
+ export type $ProjectWebhookPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
550
+ name: "ProjectWebhook"
551
+ objects: {
552
+ project: Prisma.$ProjectPayload<ExtArgs>
553
+ }
554
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
555
+ id: string
556
+ projectId: string
557
+ url: string
558
+ secret: string
559
+ events: runtime.JsonValue
560
+ enabled: boolean
561
+ createdAt: Date
562
+ }, ExtArgs["result"]["projectWebhook"]>
563
+ composites: {}
564
+ }
565
+
566
+ export type ProjectWebhookGetPayload<S extends boolean | null | undefined | ProjectWebhookDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload, S>
567
+
568
+ export type ProjectWebhookCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
569
+ Omit<ProjectWebhookFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
570
+ select?: ProjectWebhookCountAggregateInputType | true
571
+ }
572
+
573
+ export interface ProjectWebhookDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
574
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProjectWebhook'], meta: { name: 'ProjectWebhook' } }
575
+ /**
576
+ * Find zero or one ProjectWebhook that matches the filter.
577
+ * @param {ProjectWebhookFindUniqueArgs} args - Arguments to find a ProjectWebhook
578
+ * @example
579
+ * // Get one ProjectWebhook
580
+ * const projectWebhook = await prisma.projectWebhook.findUnique({
581
+ * where: {
582
+ * // ... provide filter here
583
+ * }
584
+ * })
585
+ */
586
+ findUnique<T extends ProjectWebhookFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectWebhookFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
587
+
588
+ /**
589
+ * Find one ProjectWebhook that matches the filter or throw an error with `error.code='P2025'`
590
+ * if no matches were found.
591
+ * @param {ProjectWebhookFindUniqueOrThrowArgs} args - Arguments to find a ProjectWebhook
592
+ * @example
593
+ * // Get one ProjectWebhook
594
+ * const projectWebhook = await prisma.projectWebhook.findUniqueOrThrow({
595
+ * where: {
596
+ * // ... provide filter here
597
+ * }
598
+ * })
599
+ */
600
+ findUniqueOrThrow<T extends ProjectWebhookFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectWebhookFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
601
+
602
+ /**
603
+ * Find the first ProjectWebhook that matches the filter.
604
+ * Note, that providing `undefined` is treated as the value not being there.
605
+ * Read more here: https://pris.ly/d/null-undefined
606
+ * @param {ProjectWebhookFindFirstArgs} args - Arguments to find a ProjectWebhook
607
+ * @example
608
+ * // Get one ProjectWebhook
609
+ * const projectWebhook = await prisma.projectWebhook.findFirst({
610
+ * where: {
611
+ * // ... provide filter here
612
+ * }
613
+ * })
614
+ */
615
+ findFirst<T extends ProjectWebhookFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
616
+
617
+ /**
618
+ * Find the first ProjectWebhook that matches the filter or
619
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
620
+ * Note, that providing `undefined` is treated as the value not being there.
621
+ * Read more here: https://pris.ly/d/null-undefined
622
+ * @param {ProjectWebhookFindFirstOrThrowArgs} args - Arguments to find a ProjectWebhook
623
+ * @example
624
+ * // Get one ProjectWebhook
625
+ * const projectWebhook = await prisma.projectWebhook.findFirstOrThrow({
626
+ * where: {
627
+ * // ... provide filter here
628
+ * }
629
+ * })
630
+ */
631
+ findFirstOrThrow<T extends ProjectWebhookFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
632
+
633
+ /**
634
+ * Find zero or more ProjectWebhooks that matches the filter.
635
+ * Note, that providing `undefined` is treated as the value not being there.
636
+ * Read more here: https://pris.ly/d/null-undefined
637
+ * @param {ProjectWebhookFindManyArgs} args - Arguments to filter and select certain fields only.
638
+ * @example
639
+ * // Get all ProjectWebhooks
640
+ * const projectWebhooks = await prisma.projectWebhook.findMany()
641
+ *
642
+ * // Get first 10 ProjectWebhooks
643
+ * const projectWebhooks = await prisma.projectWebhook.findMany({ take: 10 })
644
+ *
645
+ * // Only select the `id`
646
+ * const projectWebhookWithIdOnly = await prisma.projectWebhook.findMany({ select: { id: true } })
647
+ *
648
+ */
649
+ findMany<T extends ProjectWebhookFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
650
+
651
+ /**
652
+ * Create a ProjectWebhook.
653
+ * @param {ProjectWebhookCreateArgs} args - Arguments to create a ProjectWebhook.
654
+ * @example
655
+ * // Create one ProjectWebhook
656
+ * const ProjectWebhook = await prisma.projectWebhook.create({
657
+ * data: {
658
+ * // ... data to create a ProjectWebhook
659
+ * }
660
+ * })
661
+ *
662
+ */
663
+ create<T extends ProjectWebhookCreateArgs>(args: Prisma.SelectSubset<T, ProjectWebhookCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
664
+
665
+ /**
666
+ * Create many ProjectWebhooks.
667
+ * @param {ProjectWebhookCreateManyArgs} args - Arguments to create many ProjectWebhooks.
668
+ * @example
669
+ * // Create many ProjectWebhooks
670
+ * const projectWebhook = await prisma.projectWebhook.createMany({
671
+ * data: [
672
+ * // ... provide data here
673
+ * ]
674
+ * })
675
+ *
676
+ */
677
+ createMany<T extends ProjectWebhookCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
678
+
679
+ /**
680
+ * Create many ProjectWebhooks and returns the data saved in the database.
681
+ * @param {ProjectWebhookCreateManyAndReturnArgs} args - Arguments to create many ProjectWebhooks.
682
+ * @example
683
+ * // Create many ProjectWebhooks
684
+ * const projectWebhook = await prisma.projectWebhook.createManyAndReturn({
685
+ * data: [
686
+ * // ... provide data here
687
+ * ]
688
+ * })
689
+ *
690
+ * // Create many ProjectWebhooks and only return the `id`
691
+ * const projectWebhookWithIdOnly = await prisma.projectWebhook.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 ProjectWebhookCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
702
+
703
+ /**
704
+ * Delete a ProjectWebhook.
705
+ * @param {ProjectWebhookDeleteArgs} args - Arguments to delete one ProjectWebhook.
706
+ * @example
707
+ * // Delete one ProjectWebhook
708
+ * const ProjectWebhook = await prisma.projectWebhook.delete({
709
+ * where: {
710
+ * // ... filter to delete one ProjectWebhook
711
+ * }
712
+ * })
713
+ *
714
+ */
715
+ delete<T extends ProjectWebhookDeleteArgs>(args: Prisma.SelectSubset<T, ProjectWebhookDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
716
+
717
+ /**
718
+ * Update one ProjectWebhook.
719
+ * @param {ProjectWebhookUpdateArgs} args - Arguments to update one ProjectWebhook.
720
+ * @example
721
+ * // Update one ProjectWebhook
722
+ * const projectWebhook = await prisma.projectWebhook.update({
723
+ * where: {
724
+ * // ... provide filter here
725
+ * },
726
+ * data: {
727
+ * // ... provide data here
728
+ * }
729
+ * })
730
+ *
731
+ */
732
+ update<T extends ProjectWebhookUpdateArgs>(args: Prisma.SelectSubset<T, ProjectWebhookUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
733
+
734
+ /**
735
+ * Delete zero or more ProjectWebhooks.
736
+ * @param {ProjectWebhookDeleteManyArgs} args - Arguments to filter ProjectWebhooks to delete.
737
+ * @example
738
+ * // Delete a few ProjectWebhooks
739
+ * const { count } = await prisma.projectWebhook.deleteMany({
740
+ * where: {
741
+ * // ... provide filter here
742
+ * }
743
+ * })
744
+ *
745
+ */
746
+ deleteMany<T extends ProjectWebhookDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectWebhookDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
747
+
748
+ /**
749
+ * Update zero or more ProjectWebhooks.
750
+ * Note, that providing `undefined` is treated as the value not being there.
751
+ * Read more here: https://pris.ly/d/null-undefined
752
+ * @param {ProjectWebhookUpdateManyArgs} args - Arguments to update one or more rows.
753
+ * @example
754
+ * // Update many ProjectWebhooks
755
+ * const projectWebhook = await prisma.projectWebhook.updateMany({
756
+ * where: {
757
+ * // ... provide filter here
758
+ * },
759
+ * data: {
760
+ * // ... provide data here
761
+ * }
762
+ * })
763
+ *
764
+ */
765
+ updateMany<T extends ProjectWebhookUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectWebhookUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
766
+
767
+ /**
768
+ * Update zero or more ProjectWebhooks and returns the data updated in the database.
769
+ * @param {ProjectWebhookUpdateManyAndReturnArgs} args - Arguments to update many ProjectWebhooks.
770
+ * @example
771
+ * // Update many ProjectWebhooks
772
+ * const projectWebhook = await prisma.projectWebhook.updateManyAndReturn({
773
+ * where: {
774
+ * // ... provide filter here
775
+ * },
776
+ * data: [
777
+ * // ... provide data here
778
+ * ]
779
+ * })
780
+ *
781
+ * // Update zero or more ProjectWebhooks and only return the `id`
782
+ * const projectWebhookWithIdOnly = await prisma.projectWebhook.updateManyAndReturn({
783
+ * select: { id: true },
784
+ * where: {
785
+ * // ... provide filter here
786
+ * },
787
+ * data: [
788
+ * // ... provide data here
789
+ * ]
790
+ * })
791
+ * Note, that providing `undefined` is treated as the value not being there.
792
+ * Read more here: https://pris.ly/d/null-undefined
793
+ *
794
+ */
795
+ updateManyAndReturn<T extends ProjectWebhookUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectWebhookUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
796
+
797
+ /**
798
+ * Create or update one ProjectWebhook.
799
+ * @param {ProjectWebhookUpsertArgs} args - Arguments to update or create a ProjectWebhook.
800
+ * @example
801
+ * // Update or create a ProjectWebhook
802
+ * const projectWebhook = await prisma.projectWebhook.upsert({
803
+ * create: {
804
+ * // ... data to create a ProjectWebhook
805
+ * },
806
+ * update: {
807
+ * // ... in case it already exists, update
808
+ * },
809
+ * where: {
810
+ * // ... the filter for the ProjectWebhook we want to update
811
+ * }
812
+ * })
813
+ */
814
+ upsert<T extends ProjectWebhookUpsertArgs>(args: Prisma.SelectSubset<T, ProjectWebhookUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectWebhookClient<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
815
+
816
+
817
+ /**
818
+ * Count the number of ProjectWebhooks.
819
+ * Note, that providing `undefined` is treated as the value not being there.
820
+ * Read more here: https://pris.ly/d/null-undefined
821
+ * @param {ProjectWebhookCountArgs} args - Arguments to filter ProjectWebhooks to count.
822
+ * @example
823
+ * // Count the number of ProjectWebhooks
824
+ * const count = await prisma.projectWebhook.count({
825
+ * where: {
826
+ * // ... the filter for the ProjectWebhooks we want to count
827
+ * }
828
+ * })
829
+ **/
830
+ count<T extends ProjectWebhookCountArgs>(
831
+ args?: Prisma.Subset<T, ProjectWebhookCountArgs>,
832
+ ): Prisma.PrismaPromise<
833
+ T extends runtime.Types.Utils.Record<'select', any>
834
+ ? T['select'] extends true
835
+ ? number
836
+ : Prisma.GetScalarType<T['select'], ProjectWebhookCountAggregateOutputType>
837
+ : number
838
+ >
839
+
840
+ /**
841
+ * Allows you to perform aggregations operations on a ProjectWebhook.
842
+ * Note, that providing `undefined` is treated as the value not being there.
843
+ * Read more here: https://pris.ly/d/null-undefined
844
+ * @param {ProjectWebhookAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
845
+ * @example
846
+ * // Ordered by age ascending
847
+ * // Where email contains prisma.io
848
+ * // Limited to the 10 users
849
+ * const aggregations = await prisma.user.aggregate({
850
+ * _avg: {
851
+ * age: true,
852
+ * },
853
+ * where: {
854
+ * email: {
855
+ * contains: "prisma.io",
856
+ * },
857
+ * },
858
+ * orderBy: {
859
+ * age: "asc",
860
+ * },
861
+ * take: 10,
862
+ * })
863
+ **/
864
+ aggregate<T extends ProjectWebhookAggregateArgs>(args: Prisma.Subset<T, ProjectWebhookAggregateArgs>): Prisma.PrismaPromise<GetProjectWebhookAggregateType<T>>
865
+
866
+ /**
867
+ * Group by ProjectWebhook.
868
+ * Note, that providing `undefined` is treated as the value not being there.
869
+ * Read more here: https://pris.ly/d/null-undefined
870
+ * @param {ProjectWebhookGroupByArgs} args - Group by arguments.
871
+ * @example
872
+ * // Group by city, order by createdAt, get count
873
+ * const result = await prisma.user.groupBy({
874
+ * by: ['city', 'createdAt'],
875
+ * orderBy: {
876
+ * createdAt: true
877
+ * },
878
+ * _count: {
879
+ * _all: true
880
+ * },
881
+ * })
882
+ *
883
+ **/
884
+ groupBy<
885
+ T extends ProjectWebhookGroupByArgs,
886
+ HasSelectOrTake extends Prisma.Or<
887
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
888
+ Prisma.Extends<'take', Prisma.Keys<T>>
889
+ >,
890
+ OrderByArg extends Prisma.True extends HasSelectOrTake
891
+ ? { orderBy: ProjectWebhookGroupByArgs['orderBy'] }
892
+ : { orderBy?: ProjectWebhookGroupByArgs['orderBy'] },
893
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
894
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
895
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
896
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
897
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
898
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
899
+ InputErrors extends ByEmpty extends Prisma.True
900
+ ? `Error: "by" must not be empty.`
901
+ : HavingValid extends Prisma.False
902
+ ? {
903
+ [P in HavingFields]: P extends ByFields
904
+ ? never
905
+ : P extends string
906
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
907
+ : [
908
+ Error,
909
+ 'Field ',
910
+ P,
911
+ ` in "having" needs to be provided in "by"`,
912
+ ]
913
+ }[HavingFields]
914
+ : 'take' extends Prisma.Keys<T>
915
+ ? 'orderBy' extends Prisma.Keys<T>
916
+ ? ByValid extends Prisma.True
917
+ ? {}
918
+ : {
919
+ [P in OrderFields]: P extends ByFields
920
+ ? never
921
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
922
+ }[OrderFields]
923
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
924
+ : 'skip' extends Prisma.Keys<T>
925
+ ? 'orderBy' extends Prisma.Keys<T>
926
+ ? ByValid extends Prisma.True
927
+ ? {}
928
+ : {
929
+ [P in OrderFields]: P extends ByFields
930
+ ? never
931
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
932
+ }[OrderFields]
933
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
934
+ : ByValid extends Prisma.True
935
+ ? {}
936
+ : {
937
+ [P in OrderFields]: P extends ByFields
938
+ ? never
939
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
940
+ }[OrderFields]
941
+ >(args: Prisma.SubsetIntersection<T, ProjectWebhookGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectWebhookGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
942
+ /**
943
+ * Fields of the ProjectWebhook model
944
+ */
945
+ readonly fields: ProjectWebhookFieldRefs;
946
+ }
947
+
948
+ /**
949
+ * The delegate class that acts as a "Promise-like" for ProjectWebhook.
950
+ * Why is this prefixed with `Prisma__`?
951
+ * Because we want to prevent naming conflicts as mentioned in
952
+ * https://github.com/prisma/prisma-client-js/issues/707
953
+ */
954
+ export interface Prisma__ProjectWebhookClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
955
+ readonly [Symbol.toStringTag]: "PrismaPromise"
956
+ project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
957
+ /**
958
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
959
+ * @param onfulfilled The callback to execute when the Promise is resolved.
960
+ * @param onrejected The callback to execute when the Promise is rejected.
961
+ * @returns A Promise for the completion of which ever callback is executed.
962
+ */
963
+ 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>
964
+ /**
965
+ * Attaches a callback for only the rejection of the Promise.
966
+ * @param onrejected The callback to execute when the Promise is rejected.
967
+ * @returns A Promise for the completion of the callback.
968
+ */
969
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
970
+ /**
971
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
972
+ * resolved value cannot be modified from the callback.
973
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
974
+ * @returns A Promise for the completion of the callback.
975
+ */
976
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
977
+ }
978
+
979
+
980
+
981
+
982
+ /**
983
+ * Fields of the ProjectWebhook model
984
+ */
985
+ export interface ProjectWebhookFieldRefs {
986
+ readonly id: Prisma.FieldRef<"ProjectWebhook", 'String'>
987
+ readonly projectId: Prisma.FieldRef<"ProjectWebhook", 'String'>
988
+ readonly url: Prisma.FieldRef<"ProjectWebhook", 'String'>
989
+ readonly secret: Prisma.FieldRef<"ProjectWebhook", 'String'>
990
+ readonly events: Prisma.FieldRef<"ProjectWebhook", 'Json'>
991
+ readonly enabled: Prisma.FieldRef<"ProjectWebhook", 'Boolean'>
992
+ readonly createdAt: Prisma.FieldRef<"ProjectWebhook", 'DateTime'>
993
+ }
994
+
995
+
996
+ // Custom InputTypes
997
+ /**
998
+ * ProjectWebhook findUnique
999
+ */
1000
+ export type ProjectWebhookFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1001
+ /**
1002
+ * Select specific fields to fetch from the ProjectWebhook
1003
+ */
1004
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1005
+ /**
1006
+ * Omit specific fields from the ProjectWebhook
1007
+ */
1008
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1009
+ /**
1010
+ * Choose, which related nodes to fetch as well
1011
+ */
1012
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1013
+ /**
1014
+ * Filter, which ProjectWebhook to fetch.
1015
+ */
1016
+ where: Prisma.ProjectWebhookWhereUniqueInput
1017
+ }
1018
+
1019
+ /**
1020
+ * ProjectWebhook findUniqueOrThrow
1021
+ */
1022
+ export type ProjectWebhookFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1023
+ /**
1024
+ * Select specific fields to fetch from the ProjectWebhook
1025
+ */
1026
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1027
+ /**
1028
+ * Omit specific fields from the ProjectWebhook
1029
+ */
1030
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1031
+ /**
1032
+ * Choose, which related nodes to fetch as well
1033
+ */
1034
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1035
+ /**
1036
+ * Filter, which ProjectWebhook to fetch.
1037
+ */
1038
+ where: Prisma.ProjectWebhookWhereUniqueInput
1039
+ }
1040
+
1041
+ /**
1042
+ * ProjectWebhook findFirst
1043
+ */
1044
+ export type ProjectWebhookFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1045
+ /**
1046
+ * Select specific fields to fetch from the ProjectWebhook
1047
+ */
1048
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1049
+ /**
1050
+ * Omit specific fields from the ProjectWebhook
1051
+ */
1052
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1053
+ /**
1054
+ * Choose, which related nodes to fetch as well
1055
+ */
1056
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1057
+ /**
1058
+ * Filter, which ProjectWebhook to fetch.
1059
+ */
1060
+ where?: Prisma.ProjectWebhookWhereInput
1061
+ /**
1062
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1063
+ *
1064
+ * Determine the order of ProjectWebhooks to fetch.
1065
+ */
1066
+ orderBy?: Prisma.ProjectWebhookOrderByWithRelationInput | Prisma.ProjectWebhookOrderByWithRelationInput[]
1067
+ /**
1068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1069
+ *
1070
+ * Sets the position for searching for ProjectWebhooks.
1071
+ */
1072
+ cursor?: Prisma.ProjectWebhookWhereUniqueInput
1073
+ /**
1074
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1075
+ *
1076
+ * Take `±n` ProjectWebhooks from the position of the cursor.
1077
+ */
1078
+ take?: number
1079
+ /**
1080
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1081
+ *
1082
+ * Skip the first `n` ProjectWebhooks.
1083
+ */
1084
+ skip?: number
1085
+ /**
1086
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1087
+ *
1088
+ * Filter by unique combinations of ProjectWebhooks.
1089
+ */
1090
+ distinct?: Prisma.ProjectWebhookScalarFieldEnum | Prisma.ProjectWebhookScalarFieldEnum[]
1091
+ }
1092
+
1093
+ /**
1094
+ * ProjectWebhook findFirstOrThrow
1095
+ */
1096
+ export type ProjectWebhookFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1097
+ /**
1098
+ * Select specific fields to fetch from the ProjectWebhook
1099
+ */
1100
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1101
+ /**
1102
+ * Omit specific fields from the ProjectWebhook
1103
+ */
1104
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1105
+ /**
1106
+ * Choose, which related nodes to fetch as well
1107
+ */
1108
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1109
+ /**
1110
+ * Filter, which ProjectWebhook to fetch.
1111
+ */
1112
+ where?: Prisma.ProjectWebhookWhereInput
1113
+ /**
1114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1115
+ *
1116
+ * Determine the order of ProjectWebhooks to fetch.
1117
+ */
1118
+ orderBy?: Prisma.ProjectWebhookOrderByWithRelationInput | Prisma.ProjectWebhookOrderByWithRelationInput[]
1119
+ /**
1120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1121
+ *
1122
+ * Sets the position for searching for ProjectWebhooks.
1123
+ */
1124
+ cursor?: Prisma.ProjectWebhookWhereUniqueInput
1125
+ /**
1126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1127
+ *
1128
+ * Take `±n` ProjectWebhooks from the position of the cursor.
1129
+ */
1130
+ take?: number
1131
+ /**
1132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1133
+ *
1134
+ * Skip the first `n` ProjectWebhooks.
1135
+ */
1136
+ skip?: number
1137
+ /**
1138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1139
+ *
1140
+ * Filter by unique combinations of ProjectWebhooks.
1141
+ */
1142
+ distinct?: Prisma.ProjectWebhookScalarFieldEnum | Prisma.ProjectWebhookScalarFieldEnum[]
1143
+ }
1144
+
1145
+ /**
1146
+ * ProjectWebhook findMany
1147
+ */
1148
+ export type ProjectWebhookFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1149
+ /**
1150
+ * Select specific fields to fetch from the ProjectWebhook
1151
+ */
1152
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1153
+ /**
1154
+ * Omit specific fields from the ProjectWebhook
1155
+ */
1156
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1157
+ /**
1158
+ * Choose, which related nodes to fetch as well
1159
+ */
1160
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1161
+ /**
1162
+ * Filter, which ProjectWebhooks to fetch.
1163
+ */
1164
+ where?: Prisma.ProjectWebhookWhereInput
1165
+ /**
1166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1167
+ *
1168
+ * Determine the order of ProjectWebhooks to fetch.
1169
+ */
1170
+ orderBy?: Prisma.ProjectWebhookOrderByWithRelationInput | Prisma.ProjectWebhookOrderByWithRelationInput[]
1171
+ /**
1172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1173
+ *
1174
+ * Sets the position for listing ProjectWebhooks.
1175
+ */
1176
+ cursor?: Prisma.ProjectWebhookWhereUniqueInput
1177
+ /**
1178
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1179
+ *
1180
+ * Take `±n` ProjectWebhooks from the position of the cursor.
1181
+ */
1182
+ take?: number
1183
+ /**
1184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1185
+ *
1186
+ * Skip the first `n` ProjectWebhooks.
1187
+ */
1188
+ skip?: number
1189
+ /**
1190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1191
+ *
1192
+ * Filter by unique combinations of ProjectWebhooks.
1193
+ */
1194
+ distinct?: Prisma.ProjectWebhookScalarFieldEnum | Prisma.ProjectWebhookScalarFieldEnum[]
1195
+ }
1196
+
1197
+ /**
1198
+ * ProjectWebhook create
1199
+ */
1200
+ export type ProjectWebhookCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1201
+ /**
1202
+ * Select specific fields to fetch from the ProjectWebhook
1203
+ */
1204
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1205
+ /**
1206
+ * Omit specific fields from the ProjectWebhook
1207
+ */
1208
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1209
+ /**
1210
+ * Choose, which related nodes to fetch as well
1211
+ */
1212
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1213
+ /**
1214
+ * The data needed to create a ProjectWebhook.
1215
+ */
1216
+ data: Prisma.XOR<Prisma.ProjectWebhookCreateInput, Prisma.ProjectWebhookUncheckedCreateInput>
1217
+ }
1218
+
1219
+ /**
1220
+ * ProjectWebhook createMany
1221
+ */
1222
+ export type ProjectWebhookCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1223
+ /**
1224
+ * The data used to create many ProjectWebhooks.
1225
+ */
1226
+ data: Prisma.ProjectWebhookCreateManyInput | Prisma.ProjectWebhookCreateManyInput[]
1227
+ skipDuplicates?: boolean
1228
+ }
1229
+
1230
+ /**
1231
+ * ProjectWebhook createManyAndReturn
1232
+ */
1233
+ export type ProjectWebhookCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1234
+ /**
1235
+ * Select specific fields to fetch from the ProjectWebhook
1236
+ */
1237
+ select?: Prisma.ProjectWebhookSelectCreateManyAndReturn<ExtArgs> | null
1238
+ /**
1239
+ * Omit specific fields from the ProjectWebhook
1240
+ */
1241
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1242
+ /**
1243
+ * The data used to create many ProjectWebhooks.
1244
+ */
1245
+ data: Prisma.ProjectWebhookCreateManyInput | Prisma.ProjectWebhookCreateManyInput[]
1246
+ skipDuplicates?: boolean
1247
+ /**
1248
+ * Choose, which related nodes to fetch as well
1249
+ */
1250
+ include?: Prisma.ProjectWebhookIncludeCreateManyAndReturn<ExtArgs> | null
1251
+ }
1252
+
1253
+ /**
1254
+ * ProjectWebhook update
1255
+ */
1256
+ export type ProjectWebhookUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1257
+ /**
1258
+ * Select specific fields to fetch from the ProjectWebhook
1259
+ */
1260
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1261
+ /**
1262
+ * Omit specific fields from the ProjectWebhook
1263
+ */
1264
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1265
+ /**
1266
+ * Choose, which related nodes to fetch as well
1267
+ */
1268
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1269
+ /**
1270
+ * The data needed to update a ProjectWebhook.
1271
+ */
1272
+ data: Prisma.XOR<Prisma.ProjectWebhookUpdateInput, Prisma.ProjectWebhookUncheckedUpdateInput>
1273
+ /**
1274
+ * Choose, which ProjectWebhook to update.
1275
+ */
1276
+ where: Prisma.ProjectWebhookWhereUniqueInput
1277
+ }
1278
+
1279
+ /**
1280
+ * ProjectWebhook updateMany
1281
+ */
1282
+ export type ProjectWebhookUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1283
+ /**
1284
+ * The data used to update ProjectWebhooks.
1285
+ */
1286
+ data: Prisma.XOR<Prisma.ProjectWebhookUpdateManyMutationInput, Prisma.ProjectWebhookUncheckedUpdateManyInput>
1287
+ /**
1288
+ * Filter which ProjectWebhooks to update
1289
+ */
1290
+ where?: Prisma.ProjectWebhookWhereInput
1291
+ /**
1292
+ * Limit how many ProjectWebhooks to update.
1293
+ */
1294
+ limit?: number
1295
+ }
1296
+
1297
+ /**
1298
+ * ProjectWebhook updateManyAndReturn
1299
+ */
1300
+ export type ProjectWebhookUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1301
+ /**
1302
+ * Select specific fields to fetch from the ProjectWebhook
1303
+ */
1304
+ select?: Prisma.ProjectWebhookSelectUpdateManyAndReturn<ExtArgs> | null
1305
+ /**
1306
+ * Omit specific fields from the ProjectWebhook
1307
+ */
1308
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1309
+ /**
1310
+ * The data used to update ProjectWebhooks.
1311
+ */
1312
+ data: Prisma.XOR<Prisma.ProjectWebhookUpdateManyMutationInput, Prisma.ProjectWebhookUncheckedUpdateManyInput>
1313
+ /**
1314
+ * Filter which ProjectWebhooks to update
1315
+ */
1316
+ where?: Prisma.ProjectWebhookWhereInput
1317
+ /**
1318
+ * Limit how many ProjectWebhooks to update.
1319
+ */
1320
+ limit?: number
1321
+ /**
1322
+ * Choose, which related nodes to fetch as well
1323
+ */
1324
+ include?: Prisma.ProjectWebhookIncludeUpdateManyAndReturn<ExtArgs> | null
1325
+ }
1326
+
1327
+ /**
1328
+ * ProjectWebhook upsert
1329
+ */
1330
+ export type ProjectWebhookUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1331
+ /**
1332
+ * Select specific fields to fetch from the ProjectWebhook
1333
+ */
1334
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1335
+ /**
1336
+ * Omit specific fields from the ProjectWebhook
1337
+ */
1338
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1339
+ /**
1340
+ * Choose, which related nodes to fetch as well
1341
+ */
1342
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1343
+ /**
1344
+ * The filter to search for the ProjectWebhook to update in case it exists.
1345
+ */
1346
+ where: Prisma.ProjectWebhookWhereUniqueInput
1347
+ /**
1348
+ * In case the ProjectWebhook found by the `where` argument doesn't exist, create a new ProjectWebhook with this data.
1349
+ */
1350
+ create: Prisma.XOR<Prisma.ProjectWebhookCreateInput, Prisma.ProjectWebhookUncheckedCreateInput>
1351
+ /**
1352
+ * In case the ProjectWebhook was found with the provided `where` argument, update it with this data.
1353
+ */
1354
+ update: Prisma.XOR<Prisma.ProjectWebhookUpdateInput, Prisma.ProjectWebhookUncheckedUpdateInput>
1355
+ }
1356
+
1357
+ /**
1358
+ * ProjectWebhook delete
1359
+ */
1360
+ export type ProjectWebhookDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1361
+ /**
1362
+ * Select specific fields to fetch from the ProjectWebhook
1363
+ */
1364
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1365
+ /**
1366
+ * Omit specific fields from the ProjectWebhook
1367
+ */
1368
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1369
+ /**
1370
+ * Choose, which related nodes to fetch as well
1371
+ */
1372
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1373
+ /**
1374
+ * Filter which ProjectWebhook to delete.
1375
+ */
1376
+ where: Prisma.ProjectWebhookWhereUniqueInput
1377
+ }
1378
+
1379
+ /**
1380
+ * ProjectWebhook deleteMany
1381
+ */
1382
+ export type ProjectWebhookDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1383
+ /**
1384
+ * Filter which ProjectWebhooks to delete
1385
+ */
1386
+ where?: Prisma.ProjectWebhookWhereInput
1387
+ /**
1388
+ * Limit how many ProjectWebhooks to delete.
1389
+ */
1390
+ limit?: number
1391
+ }
1392
+
1393
+ /**
1394
+ * ProjectWebhook without action
1395
+ */
1396
+ export type ProjectWebhookDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1397
+ /**
1398
+ * Select specific fields to fetch from the ProjectWebhook
1399
+ */
1400
+ select?: Prisma.ProjectWebhookSelect<ExtArgs> | null
1401
+ /**
1402
+ * Omit specific fields from the ProjectWebhook
1403
+ */
1404
+ omit?: Prisma.ProjectWebhookOmit<ExtArgs> | null
1405
+ /**
1406
+ * Choose, which related nodes to fetch as well
1407
+ */
1408
+ include?: Prisma.ProjectWebhookInclude<ExtArgs> | null
1409
+ }