@allbluecn/database 0.4.0 → 0.4.2

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 (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,1343 @@
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 `ComplianceExport` 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"
13
+ import type * as Prisma from "../internal/prismaNamespace"
14
+
15
+ /**
16
+ * Model ComplianceExport
17
+ *
18
+ */
19
+ export type ComplianceExportModel = runtime.Types.Result.DefaultSelection<Prisma.$ComplianceExportPayload>
20
+
21
+ export type AggregateComplianceExport = {
22
+ _count: ComplianceExportCountAggregateOutputType | null
23
+ _min: ComplianceExportMinAggregateOutputType | null
24
+ _max: ComplianceExportMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type ComplianceExportMinAggregateOutputType = {
28
+ id: string | null
29
+ type: string | null
30
+ scope: string | null
31
+ targetId: string | null
32
+ status: string | null
33
+ downloadUrl: string | null
34
+ expiresAt: Date | null
35
+ error: string | null
36
+ content: string | null
37
+ requestedBy: string | null
38
+ createdAt: Date | null
39
+ completedAt: Date | null
40
+ }
41
+
42
+ export type ComplianceExportMaxAggregateOutputType = {
43
+ id: string | null
44
+ type: string | null
45
+ scope: string | null
46
+ targetId: string | null
47
+ status: string | null
48
+ downloadUrl: string | null
49
+ expiresAt: Date | null
50
+ error: string | null
51
+ content: string | null
52
+ requestedBy: string | null
53
+ createdAt: Date | null
54
+ completedAt: Date | null
55
+ }
56
+
57
+ export type ComplianceExportCountAggregateOutputType = {
58
+ id: number
59
+ type: number
60
+ scope: number
61
+ targetId: number
62
+ status: number
63
+ downloadUrl: number
64
+ expiresAt: number
65
+ error: number
66
+ content: number
67
+ requestedBy: number
68
+ createdAt: number
69
+ completedAt: number
70
+ _all: number
71
+ }
72
+
73
+
74
+ export type ComplianceExportMinAggregateInputType = {
75
+ id?: true
76
+ type?: true
77
+ scope?: true
78
+ targetId?: true
79
+ status?: true
80
+ downloadUrl?: true
81
+ expiresAt?: true
82
+ error?: true
83
+ content?: true
84
+ requestedBy?: true
85
+ createdAt?: true
86
+ completedAt?: true
87
+ }
88
+
89
+ export type ComplianceExportMaxAggregateInputType = {
90
+ id?: true
91
+ type?: true
92
+ scope?: true
93
+ targetId?: true
94
+ status?: true
95
+ downloadUrl?: true
96
+ expiresAt?: true
97
+ error?: true
98
+ content?: true
99
+ requestedBy?: true
100
+ createdAt?: true
101
+ completedAt?: true
102
+ }
103
+
104
+ export type ComplianceExportCountAggregateInputType = {
105
+ id?: true
106
+ type?: true
107
+ scope?: true
108
+ targetId?: true
109
+ status?: true
110
+ downloadUrl?: true
111
+ expiresAt?: true
112
+ error?: true
113
+ content?: true
114
+ requestedBy?: true
115
+ createdAt?: true
116
+ completedAt?: true
117
+ _all?: true
118
+ }
119
+
120
+ export type ComplianceExportAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ /**
122
+ * Filter which ComplianceExport to aggregate.
123
+ */
124
+ where?: Prisma.ComplianceExportWhereInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
127
+ *
128
+ * Determine the order of ComplianceExports to fetch.
129
+ */
130
+ orderBy?: Prisma.ComplianceExportOrderByWithRelationInput | Prisma.ComplianceExportOrderByWithRelationInput[]
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
133
+ *
134
+ * Sets the start position
135
+ */
136
+ cursor?: Prisma.ComplianceExportWhereUniqueInput
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
+ *
140
+ * Take `±n` ComplianceExports from the position of the cursor.
141
+ */
142
+ take?: number
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
+ *
146
+ * Skip the first `n` ComplianceExports.
147
+ */
148
+ skip?: number
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Count returned ComplianceExports
153
+ **/
154
+ _count?: true | ComplianceExportCountAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to find the minimum value
159
+ **/
160
+ _min?: ComplianceExportMinAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the maximum value
165
+ **/
166
+ _max?: ComplianceExportMaxAggregateInputType
167
+ }
168
+
169
+ export type GetComplianceExportAggregateType<T extends ComplianceExportAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateComplianceExport]: P extends '_count' | 'count'
171
+ ? T[P] extends true
172
+ ? number
173
+ : Prisma.GetScalarType<T[P], AggregateComplianceExport[P]>
174
+ : Prisma.GetScalarType<T[P], AggregateComplianceExport[P]>
175
+ }
176
+
177
+
178
+
179
+
180
+ export type ComplianceExportGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
+ where?: Prisma.ComplianceExportWhereInput
182
+ orderBy?: Prisma.ComplianceExportOrderByWithAggregationInput | Prisma.ComplianceExportOrderByWithAggregationInput[]
183
+ by: Prisma.ComplianceExportScalarFieldEnum[] | Prisma.ComplianceExportScalarFieldEnum
184
+ having?: Prisma.ComplianceExportScalarWhereWithAggregatesInput
185
+ take?: number
186
+ skip?: number
187
+ _count?: ComplianceExportCountAggregateInputType | true
188
+ _min?: ComplianceExportMinAggregateInputType
189
+ _max?: ComplianceExportMaxAggregateInputType
190
+ }
191
+
192
+ export type ComplianceExportGroupByOutputType = {
193
+ id: string
194
+ type: string
195
+ scope: string
196
+ targetId: string
197
+ status: string
198
+ downloadUrl: string | null
199
+ expiresAt: Date | null
200
+ error: string | null
201
+ content: string | null
202
+ requestedBy: string | null
203
+ createdAt: Date
204
+ completedAt: Date | null
205
+ _count: ComplianceExportCountAggregateOutputType | null
206
+ _min: ComplianceExportMinAggregateOutputType | null
207
+ _max: ComplianceExportMaxAggregateOutputType | null
208
+ }
209
+
210
+ export type GetComplianceExportGroupByPayload<T extends ComplianceExportGroupByArgs> = Prisma.PrismaPromise<
211
+ Array<
212
+ Prisma.PickEnumerable<ComplianceExportGroupByOutputType, T['by']> &
213
+ {
214
+ [P in ((keyof T) & (keyof ComplianceExportGroupByOutputType))]: P extends '_count'
215
+ ? T[P] extends boolean
216
+ ? number
217
+ : Prisma.GetScalarType<T[P], ComplianceExportGroupByOutputType[P]>
218
+ : Prisma.GetScalarType<T[P], ComplianceExportGroupByOutputType[P]>
219
+ }
220
+ >
221
+ >
222
+
223
+
224
+
225
+ export type ComplianceExportWhereInput = {
226
+ AND?: Prisma.ComplianceExportWhereInput | Prisma.ComplianceExportWhereInput[]
227
+ OR?: Prisma.ComplianceExportWhereInput[]
228
+ NOT?: Prisma.ComplianceExportWhereInput | Prisma.ComplianceExportWhereInput[]
229
+ id?: Prisma.StringFilter<"ComplianceExport"> | string
230
+ type?: Prisma.StringFilter<"ComplianceExport"> | string
231
+ scope?: Prisma.StringFilter<"ComplianceExport"> | string
232
+ targetId?: Prisma.StringFilter<"ComplianceExport"> | string
233
+ status?: Prisma.StringFilter<"ComplianceExport"> | string
234
+ downloadUrl?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
235
+ expiresAt?: Prisma.DateTimeNullableFilter<"ComplianceExport"> | Date | string | null
236
+ error?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
237
+ content?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
238
+ requestedBy?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
239
+ createdAt?: Prisma.DateTimeFilter<"ComplianceExport"> | Date | string
240
+ completedAt?: Prisma.DateTimeNullableFilter<"ComplianceExport"> | Date | string | null
241
+ }
242
+
243
+ export type ComplianceExportOrderByWithRelationInput = {
244
+ id?: Prisma.SortOrder
245
+ type?: Prisma.SortOrder
246
+ scope?: Prisma.SortOrder
247
+ targetId?: Prisma.SortOrder
248
+ status?: Prisma.SortOrder
249
+ downloadUrl?: Prisma.SortOrderInput | Prisma.SortOrder
250
+ expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
251
+ error?: Prisma.SortOrderInput | Prisma.SortOrder
252
+ content?: Prisma.SortOrderInput | Prisma.SortOrder
253
+ requestedBy?: Prisma.SortOrderInput | Prisma.SortOrder
254
+ createdAt?: Prisma.SortOrder
255
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
256
+ }
257
+
258
+ export type ComplianceExportWhereUniqueInput = Prisma.AtLeast<{
259
+ id?: string
260
+ AND?: Prisma.ComplianceExportWhereInput | Prisma.ComplianceExportWhereInput[]
261
+ OR?: Prisma.ComplianceExportWhereInput[]
262
+ NOT?: Prisma.ComplianceExportWhereInput | Prisma.ComplianceExportWhereInput[]
263
+ type?: Prisma.StringFilter<"ComplianceExport"> | string
264
+ scope?: Prisma.StringFilter<"ComplianceExport"> | string
265
+ targetId?: Prisma.StringFilter<"ComplianceExport"> | string
266
+ status?: Prisma.StringFilter<"ComplianceExport"> | string
267
+ downloadUrl?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
268
+ expiresAt?: Prisma.DateTimeNullableFilter<"ComplianceExport"> | Date | string | null
269
+ error?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
270
+ content?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
271
+ requestedBy?: Prisma.StringNullableFilter<"ComplianceExport"> | string | null
272
+ createdAt?: Prisma.DateTimeFilter<"ComplianceExport"> | Date | string
273
+ completedAt?: Prisma.DateTimeNullableFilter<"ComplianceExport"> | Date | string | null
274
+ }, "id">
275
+
276
+ export type ComplianceExportOrderByWithAggregationInput = {
277
+ id?: Prisma.SortOrder
278
+ type?: Prisma.SortOrder
279
+ scope?: Prisma.SortOrder
280
+ targetId?: Prisma.SortOrder
281
+ status?: Prisma.SortOrder
282
+ downloadUrl?: Prisma.SortOrderInput | Prisma.SortOrder
283
+ expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
284
+ error?: Prisma.SortOrderInput | Prisma.SortOrder
285
+ content?: Prisma.SortOrderInput | Prisma.SortOrder
286
+ requestedBy?: Prisma.SortOrderInput | Prisma.SortOrder
287
+ createdAt?: Prisma.SortOrder
288
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
289
+ _count?: Prisma.ComplianceExportCountOrderByAggregateInput
290
+ _max?: Prisma.ComplianceExportMaxOrderByAggregateInput
291
+ _min?: Prisma.ComplianceExportMinOrderByAggregateInput
292
+ }
293
+
294
+ export type ComplianceExportScalarWhereWithAggregatesInput = {
295
+ AND?: Prisma.ComplianceExportScalarWhereWithAggregatesInput | Prisma.ComplianceExportScalarWhereWithAggregatesInput[]
296
+ OR?: Prisma.ComplianceExportScalarWhereWithAggregatesInput[]
297
+ NOT?: Prisma.ComplianceExportScalarWhereWithAggregatesInput | Prisma.ComplianceExportScalarWhereWithAggregatesInput[]
298
+ id?: Prisma.StringWithAggregatesFilter<"ComplianceExport"> | string
299
+ type?: Prisma.StringWithAggregatesFilter<"ComplianceExport"> | string
300
+ scope?: Prisma.StringWithAggregatesFilter<"ComplianceExport"> | string
301
+ targetId?: Prisma.StringWithAggregatesFilter<"ComplianceExport"> | string
302
+ status?: Prisma.StringWithAggregatesFilter<"ComplianceExport"> | string
303
+ downloadUrl?: Prisma.StringNullableWithAggregatesFilter<"ComplianceExport"> | string | null
304
+ expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ComplianceExport"> | Date | string | null
305
+ error?: Prisma.StringNullableWithAggregatesFilter<"ComplianceExport"> | string | null
306
+ content?: Prisma.StringNullableWithAggregatesFilter<"ComplianceExport"> | string | null
307
+ requestedBy?: Prisma.StringNullableWithAggregatesFilter<"ComplianceExport"> | string | null
308
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ComplianceExport"> | Date | string
309
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ComplianceExport"> | Date | string | null
310
+ }
311
+
312
+ export type ComplianceExportCreateInput = {
313
+ id?: string
314
+ type: string
315
+ scope: string
316
+ targetId: string
317
+ status?: string
318
+ downloadUrl?: string | null
319
+ expiresAt?: Date | string | null
320
+ error?: string | null
321
+ content?: string | null
322
+ requestedBy?: string | null
323
+ createdAt?: Date | string
324
+ completedAt?: Date | string | null
325
+ }
326
+
327
+ export type ComplianceExportUncheckedCreateInput = {
328
+ id?: string
329
+ type: string
330
+ scope: string
331
+ targetId: string
332
+ status?: string
333
+ downloadUrl?: string | null
334
+ expiresAt?: Date | string | null
335
+ error?: string | null
336
+ content?: string | null
337
+ requestedBy?: string | null
338
+ createdAt?: Date | string
339
+ completedAt?: Date | string | null
340
+ }
341
+
342
+ export type ComplianceExportUpdateInput = {
343
+ id?: Prisma.StringFieldUpdateOperationsInput | string
344
+ type?: Prisma.StringFieldUpdateOperationsInput | string
345
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
346
+ targetId?: Prisma.StringFieldUpdateOperationsInput | string
347
+ status?: Prisma.StringFieldUpdateOperationsInput | string
348
+ downloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
349
+ expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
350
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
351
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
352
+ requestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
353
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
354
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
355
+ }
356
+
357
+ export type ComplianceExportUncheckedUpdateInput = {
358
+ id?: Prisma.StringFieldUpdateOperationsInput | string
359
+ type?: Prisma.StringFieldUpdateOperationsInput | string
360
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
361
+ targetId?: Prisma.StringFieldUpdateOperationsInput | string
362
+ status?: Prisma.StringFieldUpdateOperationsInput | string
363
+ downloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
364
+ expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
365
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
366
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
367
+ requestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
368
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
369
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
370
+ }
371
+
372
+ export type ComplianceExportCreateManyInput = {
373
+ id?: string
374
+ type: string
375
+ scope: string
376
+ targetId: string
377
+ status?: string
378
+ downloadUrl?: string | null
379
+ expiresAt?: Date | string | null
380
+ error?: string | null
381
+ content?: string | null
382
+ requestedBy?: string | null
383
+ createdAt?: Date | string
384
+ completedAt?: Date | string | null
385
+ }
386
+
387
+ export type ComplianceExportUpdateManyMutationInput = {
388
+ id?: Prisma.StringFieldUpdateOperationsInput | string
389
+ type?: Prisma.StringFieldUpdateOperationsInput | string
390
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
391
+ targetId?: Prisma.StringFieldUpdateOperationsInput | string
392
+ status?: Prisma.StringFieldUpdateOperationsInput | string
393
+ downloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
394
+ expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
395
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
396
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
397
+ requestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
398
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
399
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
400
+ }
401
+
402
+ export type ComplianceExportUncheckedUpdateManyInput = {
403
+ id?: Prisma.StringFieldUpdateOperationsInput | string
404
+ type?: Prisma.StringFieldUpdateOperationsInput | string
405
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
406
+ targetId?: Prisma.StringFieldUpdateOperationsInput | string
407
+ status?: Prisma.StringFieldUpdateOperationsInput | string
408
+ downloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
409
+ expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
410
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
411
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
412
+ requestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
414
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
415
+ }
416
+
417
+ export type ComplianceExportCountOrderByAggregateInput = {
418
+ id?: Prisma.SortOrder
419
+ type?: Prisma.SortOrder
420
+ scope?: Prisma.SortOrder
421
+ targetId?: Prisma.SortOrder
422
+ status?: Prisma.SortOrder
423
+ downloadUrl?: Prisma.SortOrder
424
+ expiresAt?: Prisma.SortOrder
425
+ error?: Prisma.SortOrder
426
+ content?: Prisma.SortOrder
427
+ requestedBy?: Prisma.SortOrder
428
+ createdAt?: Prisma.SortOrder
429
+ completedAt?: Prisma.SortOrder
430
+ }
431
+
432
+ export type ComplianceExportMaxOrderByAggregateInput = {
433
+ id?: Prisma.SortOrder
434
+ type?: Prisma.SortOrder
435
+ scope?: Prisma.SortOrder
436
+ targetId?: Prisma.SortOrder
437
+ status?: Prisma.SortOrder
438
+ downloadUrl?: Prisma.SortOrder
439
+ expiresAt?: Prisma.SortOrder
440
+ error?: Prisma.SortOrder
441
+ content?: Prisma.SortOrder
442
+ requestedBy?: Prisma.SortOrder
443
+ createdAt?: Prisma.SortOrder
444
+ completedAt?: Prisma.SortOrder
445
+ }
446
+
447
+ export type ComplianceExportMinOrderByAggregateInput = {
448
+ id?: Prisma.SortOrder
449
+ type?: Prisma.SortOrder
450
+ scope?: Prisma.SortOrder
451
+ targetId?: Prisma.SortOrder
452
+ status?: Prisma.SortOrder
453
+ downloadUrl?: Prisma.SortOrder
454
+ expiresAt?: Prisma.SortOrder
455
+ error?: Prisma.SortOrder
456
+ content?: Prisma.SortOrder
457
+ requestedBy?: Prisma.SortOrder
458
+ createdAt?: Prisma.SortOrder
459
+ completedAt?: Prisma.SortOrder
460
+ }
461
+
462
+
463
+
464
+ export type ComplianceExportSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
465
+ id?: boolean
466
+ type?: boolean
467
+ scope?: boolean
468
+ targetId?: boolean
469
+ status?: boolean
470
+ downloadUrl?: boolean
471
+ expiresAt?: boolean
472
+ error?: boolean
473
+ content?: boolean
474
+ requestedBy?: boolean
475
+ createdAt?: boolean
476
+ completedAt?: boolean
477
+ }, ExtArgs["result"]["complianceExport"]>
478
+
479
+ export type ComplianceExportSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
480
+ id?: boolean
481
+ type?: boolean
482
+ scope?: boolean
483
+ targetId?: boolean
484
+ status?: boolean
485
+ downloadUrl?: boolean
486
+ expiresAt?: boolean
487
+ error?: boolean
488
+ content?: boolean
489
+ requestedBy?: boolean
490
+ createdAt?: boolean
491
+ completedAt?: boolean
492
+ }, ExtArgs["result"]["complianceExport"]>
493
+
494
+ export type ComplianceExportSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
495
+ id?: boolean
496
+ type?: boolean
497
+ scope?: boolean
498
+ targetId?: boolean
499
+ status?: boolean
500
+ downloadUrl?: boolean
501
+ expiresAt?: boolean
502
+ error?: boolean
503
+ content?: boolean
504
+ requestedBy?: boolean
505
+ createdAt?: boolean
506
+ completedAt?: boolean
507
+ }, ExtArgs["result"]["complianceExport"]>
508
+
509
+ export type ComplianceExportSelectScalar = {
510
+ id?: boolean
511
+ type?: boolean
512
+ scope?: boolean
513
+ targetId?: boolean
514
+ status?: boolean
515
+ downloadUrl?: boolean
516
+ expiresAt?: boolean
517
+ error?: boolean
518
+ content?: boolean
519
+ requestedBy?: boolean
520
+ createdAt?: boolean
521
+ completedAt?: boolean
522
+ }
523
+
524
+ export type ComplianceExportOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "type" | "scope" | "targetId" | "status" | "downloadUrl" | "expiresAt" | "error" | "content" | "requestedBy" | "createdAt" | "completedAt", ExtArgs["result"]["complianceExport"]>
525
+
526
+ export type $ComplianceExportPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
527
+ name: "ComplianceExport"
528
+ objects: {}
529
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
530
+ id: string
531
+ type: string
532
+ scope: string
533
+ targetId: string
534
+ status: string
535
+ downloadUrl: string | null
536
+ expiresAt: Date | null
537
+ error: string | null
538
+ content: string | null
539
+ requestedBy: string | null
540
+ createdAt: Date
541
+ completedAt: Date | null
542
+ }, ExtArgs["result"]["complianceExport"]>
543
+ composites: {}
544
+ }
545
+
546
+ export type ComplianceExportGetPayload<S extends boolean | null | undefined | ComplianceExportDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload, S>
547
+
548
+ export type ComplianceExportCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
549
+ Omit<ComplianceExportFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
550
+ select?: ComplianceExportCountAggregateInputType | true
551
+ }
552
+
553
+ export interface ComplianceExportDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
554
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ComplianceExport'], meta: { name: 'ComplianceExport' } }
555
+ /**
556
+ * Find zero or one ComplianceExport that matches the filter.
557
+ * @param {ComplianceExportFindUniqueArgs} args - Arguments to find a ComplianceExport
558
+ * @example
559
+ * // Get one ComplianceExport
560
+ * const complianceExport = await prisma.complianceExport.findUnique({
561
+ * where: {
562
+ * // ... provide filter here
563
+ * }
564
+ * })
565
+ */
566
+ findUnique<T extends ComplianceExportFindUniqueArgs>(args: Prisma.SelectSubset<T, ComplianceExportFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
567
+
568
+ /**
569
+ * Find one ComplianceExport that matches the filter or throw an error with `error.code='P2025'`
570
+ * if no matches were found.
571
+ * @param {ComplianceExportFindUniqueOrThrowArgs} args - Arguments to find a ComplianceExport
572
+ * @example
573
+ * // Get one ComplianceExport
574
+ * const complianceExport = await prisma.complianceExport.findUniqueOrThrow({
575
+ * where: {
576
+ * // ... provide filter here
577
+ * }
578
+ * })
579
+ */
580
+ findUniqueOrThrow<T extends ComplianceExportFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ComplianceExportFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
581
+
582
+ /**
583
+ * Find the first ComplianceExport that matches the filter.
584
+ * Note, that providing `undefined` is treated as the value not being there.
585
+ * Read more here: https://pris.ly/d/null-undefined
586
+ * @param {ComplianceExportFindFirstArgs} args - Arguments to find a ComplianceExport
587
+ * @example
588
+ * // Get one ComplianceExport
589
+ * const complianceExport = await prisma.complianceExport.findFirst({
590
+ * where: {
591
+ * // ... provide filter here
592
+ * }
593
+ * })
594
+ */
595
+ findFirst<T extends ComplianceExportFindFirstArgs>(args?: Prisma.SelectSubset<T, ComplianceExportFindFirstArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
596
+
597
+ /**
598
+ * Find the first ComplianceExport that matches the filter or
599
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
600
+ * Note, that providing `undefined` is treated as the value not being there.
601
+ * Read more here: https://pris.ly/d/null-undefined
602
+ * @param {ComplianceExportFindFirstOrThrowArgs} args - Arguments to find a ComplianceExport
603
+ * @example
604
+ * // Get one ComplianceExport
605
+ * const complianceExport = await prisma.complianceExport.findFirstOrThrow({
606
+ * where: {
607
+ * // ... provide filter here
608
+ * }
609
+ * })
610
+ */
611
+ findFirstOrThrow<T extends ComplianceExportFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ComplianceExportFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
612
+
613
+ /**
614
+ * Find zero or more ComplianceExports that matches the filter.
615
+ * Note, that providing `undefined` is treated as the value not being there.
616
+ * Read more here: https://pris.ly/d/null-undefined
617
+ * @param {ComplianceExportFindManyArgs} args - Arguments to filter and select certain fields only.
618
+ * @example
619
+ * // Get all ComplianceExports
620
+ * const complianceExports = await prisma.complianceExport.findMany()
621
+ *
622
+ * // Get first 10 ComplianceExports
623
+ * const complianceExports = await prisma.complianceExport.findMany({ take: 10 })
624
+ *
625
+ * // Only select the `id`
626
+ * const complianceExportWithIdOnly = await prisma.complianceExport.findMany({ select: { id: true } })
627
+ *
628
+ */
629
+ findMany<T extends ComplianceExportFindManyArgs>(args?: Prisma.SelectSubset<T, ComplianceExportFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
630
+
631
+ /**
632
+ * Create a ComplianceExport.
633
+ * @param {ComplianceExportCreateArgs} args - Arguments to create a ComplianceExport.
634
+ * @example
635
+ * // Create one ComplianceExport
636
+ * const ComplianceExport = await prisma.complianceExport.create({
637
+ * data: {
638
+ * // ... data to create a ComplianceExport
639
+ * }
640
+ * })
641
+ *
642
+ */
643
+ create<T extends ComplianceExportCreateArgs>(args: Prisma.SelectSubset<T, ComplianceExportCreateArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
644
+
645
+ /**
646
+ * Create many ComplianceExports.
647
+ * @param {ComplianceExportCreateManyArgs} args - Arguments to create many ComplianceExports.
648
+ * @example
649
+ * // Create many ComplianceExports
650
+ * const complianceExport = await prisma.complianceExport.createMany({
651
+ * data: [
652
+ * // ... provide data here
653
+ * ]
654
+ * })
655
+ *
656
+ */
657
+ createMany<T extends ComplianceExportCreateManyArgs>(args?: Prisma.SelectSubset<T, ComplianceExportCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
658
+
659
+ /**
660
+ * Create many ComplianceExports and returns the data saved in the database.
661
+ * @param {ComplianceExportCreateManyAndReturnArgs} args - Arguments to create many ComplianceExports.
662
+ * @example
663
+ * // Create many ComplianceExports
664
+ * const complianceExport = await prisma.complianceExport.createManyAndReturn({
665
+ * data: [
666
+ * // ... provide data here
667
+ * ]
668
+ * })
669
+ *
670
+ * // Create many ComplianceExports and only return the `id`
671
+ * const complianceExportWithIdOnly = await prisma.complianceExport.createManyAndReturn({
672
+ * select: { id: true },
673
+ * data: [
674
+ * // ... provide data here
675
+ * ]
676
+ * })
677
+ * Note, that providing `undefined` is treated as the value not being there.
678
+ * Read more here: https://pris.ly/d/null-undefined
679
+ *
680
+ */
681
+ createManyAndReturn<T extends ComplianceExportCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ComplianceExportCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
682
+
683
+ /**
684
+ * Delete a ComplianceExport.
685
+ * @param {ComplianceExportDeleteArgs} args - Arguments to delete one ComplianceExport.
686
+ * @example
687
+ * // Delete one ComplianceExport
688
+ * const ComplianceExport = await prisma.complianceExport.delete({
689
+ * where: {
690
+ * // ... filter to delete one ComplianceExport
691
+ * }
692
+ * })
693
+ *
694
+ */
695
+ delete<T extends ComplianceExportDeleteArgs>(args: Prisma.SelectSubset<T, ComplianceExportDeleteArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
696
+
697
+ /**
698
+ * Update one ComplianceExport.
699
+ * @param {ComplianceExportUpdateArgs} args - Arguments to update one ComplianceExport.
700
+ * @example
701
+ * // Update one ComplianceExport
702
+ * const complianceExport = await prisma.complianceExport.update({
703
+ * where: {
704
+ * // ... provide filter here
705
+ * },
706
+ * data: {
707
+ * // ... provide data here
708
+ * }
709
+ * })
710
+ *
711
+ */
712
+ update<T extends ComplianceExportUpdateArgs>(args: Prisma.SelectSubset<T, ComplianceExportUpdateArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
713
+
714
+ /**
715
+ * Delete zero or more ComplianceExports.
716
+ * @param {ComplianceExportDeleteManyArgs} args - Arguments to filter ComplianceExports to delete.
717
+ * @example
718
+ * // Delete a few ComplianceExports
719
+ * const { count } = await prisma.complianceExport.deleteMany({
720
+ * where: {
721
+ * // ... provide filter here
722
+ * }
723
+ * })
724
+ *
725
+ */
726
+ deleteMany<T extends ComplianceExportDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComplianceExportDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
727
+
728
+ /**
729
+ * Update zero or more ComplianceExports.
730
+ * Note, that providing `undefined` is treated as the value not being there.
731
+ * Read more here: https://pris.ly/d/null-undefined
732
+ * @param {ComplianceExportUpdateManyArgs} args - Arguments to update one or more rows.
733
+ * @example
734
+ * // Update many ComplianceExports
735
+ * const complianceExport = await prisma.complianceExport.updateMany({
736
+ * where: {
737
+ * // ... provide filter here
738
+ * },
739
+ * data: {
740
+ * // ... provide data here
741
+ * }
742
+ * })
743
+ *
744
+ */
745
+ updateMany<T extends ComplianceExportUpdateManyArgs>(args: Prisma.SelectSubset<T, ComplianceExportUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
746
+
747
+ /**
748
+ * Update zero or more ComplianceExports and returns the data updated in the database.
749
+ * @param {ComplianceExportUpdateManyAndReturnArgs} args - Arguments to update many ComplianceExports.
750
+ * @example
751
+ * // Update many ComplianceExports
752
+ * const complianceExport = await prisma.complianceExport.updateManyAndReturn({
753
+ * where: {
754
+ * // ... provide filter here
755
+ * },
756
+ * data: [
757
+ * // ... provide data here
758
+ * ]
759
+ * })
760
+ *
761
+ * // Update zero or more ComplianceExports and only return the `id`
762
+ * const complianceExportWithIdOnly = await prisma.complianceExport.updateManyAndReturn({
763
+ * select: { id: true },
764
+ * where: {
765
+ * // ... provide filter here
766
+ * },
767
+ * data: [
768
+ * // ... provide data here
769
+ * ]
770
+ * })
771
+ * Note, that providing `undefined` is treated as the value not being there.
772
+ * Read more here: https://pris.ly/d/null-undefined
773
+ *
774
+ */
775
+ updateManyAndReturn<T extends ComplianceExportUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ComplianceExportUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
776
+
777
+ /**
778
+ * Create or update one ComplianceExport.
779
+ * @param {ComplianceExportUpsertArgs} args - Arguments to update or create a ComplianceExport.
780
+ * @example
781
+ * // Update or create a ComplianceExport
782
+ * const complianceExport = await prisma.complianceExport.upsert({
783
+ * create: {
784
+ * // ... data to create a ComplianceExport
785
+ * },
786
+ * update: {
787
+ * // ... in case it already exists, update
788
+ * },
789
+ * where: {
790
+ * // ... the filter for the ComplianceExport we want to update
791
+ * }
792
+ * })
793
+ */
794
+ upsert<T extends ComplianceExportUpsertArgs>(args: Prisma.SelectSubset<T, ComplianceExportUpsertArgs<ExtArgs>>): Prisma.Prisma__ComplianceExportClient<runtime.Types.Result.GetResult<Prisma.$ComplianceExportPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
795
+
796
+
797
+ /**
798
+ * Count the number of ComplianceExports.
799
+ * Note, that providing `undefined` is treated as the value not being there.
800
+ * Read more here: https://pris.ly/d/null-undefined
801
+ * @param {ComplianceExportCountArgs} args - Arguments to filter ComplianceExports to count.
802
+ * @example
803
+ * // Count the number of ComplianceExports
804
+ * const count = await prisma.complianceExport.count({
805
+ * where: {
806
+ * // ... the filter for the ComplianceExports we want to count
807
+ * }
808
+ * })
809
+ **/
810
+ count<T extends ComplianceExportCountArgs>(
811
+ args?: Prisma.Subset<T, ComplianceExportCountArgs>,
812
+ ): Prisma.PrismaPromise<
813
+ T extends runtime.Types.Utils.Record<'select', any>
814
+ ? T['select'] extends true
815
+ ? number
816
+ : Prisma.GetScalarType<T['select'], ComplianceExportCountAggregateOutputType>
817
+ : number
818
+ >
819
+
820
+ /**
821
+ * Allows you to perform aggregations operations on a ComplianceExport.
822
+ * Note, that providing `undefined` is treated as the value not being there.
823
+ * Read more here: https://pris.ly/d/null-undefined
824
+ * @param {ComplianceExportAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
825
+ * @example
826
+ * // Ordered by age ascending
827
+ * // Where email contains prisma.io
828
+ * // Limited to the 10 users
829
+ * const aggregations = await prisma.user.aggregate({
830
+ * _avg: {
831
+ * age: true,
832
+ * },
833
+ * where: {
834
+ * email: {
835
+ * contains: "prisma.io",
836
+ * },
837
+ * },
838
+ * orderBy: {
839
+ * age: "asc",
840
+ * },
841
+ * take: 10,
842
+ * })
843
+ **/
844
+ aggregate<T extends ComplianceExportAggregateArgs>(args: Prisma.Subset<T, ComplianceExportAggregateArgs>): Prisma.PrismaPromise<GetComplianceExportAggregateType<T>>
845
+
846
+ /**
847
+ * Group by ComplianceExport.
848
+ * Note, that providing `undefined` is treated as the value not being there.
849
+ * Read more here: https://pris.ly/d/null-undefined
850
+ * @param {ComplianceExportGroupByArgs} args - Group by arguments.
851
+ * @example
852
+ * // Group by city, order by createdAt, get count
853
+ * const result = await prisma.user.groupBy({
854
+ * by: ['city', 'createdAt'],
855
+ * orderBy: {
856
+ * createdAt: true
857
+ * },
858
+ * _count: {
859
+ * _all: true
860
+ * },
861
+ * })
862
+ *
863
+ **/
864
+ groupBy<
865
+ T extends ComplianceExportGroupByArgs,
866
+ HasSelectOrTake extends Prisma.Or<
867
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
868
+ Prisma.Extends<'take', Prisma.Keys<T>>
869
+ >,
870
+ OrderByArg extends Prisma.True extends HasSelectOrTake
871
+ ? { orderBy: ComplianceExportGroupByArgs['orderBy'] }
872
+ : { orderBy?: ComplianceExportGroupByArgs['orderBy'] },
873
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
874
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
875
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
876
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
877
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
878
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
879
+ InputErrors extends ByEmpty extends Prisma.True
880
+ ? `Error: "by" must not be empty.`
881
+ : HavingValid extends Prisma.False
882
+ ? {
883
+ [P in HavingFields]: P extends ByFields
884
+ ? never
885
+ : P extends string
886
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
887
+ : [
888
+ Error,
889
+ 'Field ',
890
+ P,
891
+ ` in "having" needs to be provided in "by"`,
892
+ ]
893
+ }[HavingFields]
894
+ : 'take' extends Prisma.Keys<T>
895
+ ? 'orderBy' extends Prisma.Keys<T>
896
+ ? ByValid extends Prisma.True
897
+ ? {}
898
+ : {
899
+ [P in OrderFields]: P extends ByFields
900
+ ? never
901
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
902
+ }[OrderFields]
903
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
904
+ : 'skip' extends Prisma.Keys<T>
905
+ ? 'orderBy' extends Prisma.Keys<T>
906
+ ? ByValid extends Prisma.True
907
+ ? {}
908
+ : {
909
+ [P in OrderFields]: P extends ByFields
910
+ ? never
911
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
912
+ }[OrderFields]
913
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
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
+ >(args: Prisma.SubsetIntersection<T, ComplianceExportGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComplianceExportGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
922
+ /**
923
+ * Fields of the ComplianceExport model
924
+ */
925
+ readonly fields: ComplianceExportFieldRefs;
926
+ }
927
+
928
+ /**
929
+ * The delegate class that acts as a "Promise-like" for ComplianceExport.
930
+ * Why is this prefixed with `Prisma__`?
931
+ * Because we want to prevent naming conflicts as mentioned in
932
+ * https://github.com/prisma/prisma-client-js/issues/707
933
+ */
934
+ export interface Prisma__ComplianceExportClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
935
+ readonly [Symbol.toStringTag]: "PrismaPromise"
936
+ /**
937
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
938
+ * @param onfulfilled The callback to execute when the Promise is resolved.
939
+ * @param onrejected The callback to execute when the Promise is rejected.
940
+ * @returns A Promise for the completion of which ever callback is executed.
941
+ */
942
+ 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>
943
+ /**
944
+ * Attaches a callback for only the rejection of the Promise.
945
+ * @param onrejected The callback to execute when the Promise is rejected.
946
+ * @returns A Promise for the completion of the callback.
947
+ */
948
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
949
+ /**
950
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
951
+ * resolved value cannot be modified from the callback.
952
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
953
+ * @returns A Promise for the completion of the callback.
954
+ */
955
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
956
+ }
957
+
958
+
959
+
960
+
961
+ /**
962
+ * Fields of the ComplianceExport model
963
+ */
964
+ export interface ComplianceExportFieldRefs {
965
+ readonly id: Prisma.FieldRef<"ComplianceExport", 'String'>
966
+ readonly type: Prisma.FieldRef<"ComplianceExport", 'String'>
967
+ readonly scope: Prisma.FieldRef<"ComplianceExport", 'String'>
968
+ readonly targetId: Prisma.FieldRef<"ComplianceExport", 'String'>
969
+ readonly status: Prisma.FieldRef<"ComplianceExport", 'String'>
970
+ readonly downloadUrl: Prisma.FieldRef<"ComplianceExport", 'String'>
971
+ readonly expiresAt: Prisma.FieldRef<"ComplianceExport", 'DateTime'>
972
+ readonly error: Prisma.FieldRef<"ComplianceExport", 'String'>
973
+ readonly content: Prisma.FieldRef<"ComplianceExport", 'String'>
974
+ readonly requestedBy: Prisma.FieldRef<"ComplianceExport", 'String'>
975
+ readonly createdAt: Prisma.FieldRef<"ComplianceExport", 'DateTime'>
976
+ readonly completedAt: Prisma.FieldRef<"ComplianceExport", 'DateTime'>
977
+ }
978
+
979
+
980
+ // Custom InputTypes
981
+ /**
982
+ * ComplianceExport findUnique
983
+ */
984
+ export type ComplianceExportFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
985
+ /**
986
+ * Select specific fields to fetch from the ComplianceExport
987
+ */
988
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
989
+ /**
990
+ * Omit specific fields from the ComplianceExport
991
+ */
992
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
993
+ /**
994
+ * Filter, which ComplianceExport to fetch.
995
+ */
996
+ where: Prisma.ComplianceExportWhereUniqueInput
997
+ }
998
+
999
+ /**
1000
+ * ComplianceExport findUniqueOrThrow
1001
+ */
1002
+ export type ComplianceExportFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1003
+ /**
1004
+ * Select specific fields to fetch from the ComplianceExport
1005
+ */
1006
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1007
+ /**
1008
+ * Omit specific fields from the ComplianceExport
1009
+ */
1010
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1011
+ /**
1012
+ * Filter, which ComplianceExport to fetch.
1013
+ */
1014
+ where: Prisma.ComplianceExportWhereUniqueInput
1015
+ }
1016
+
1017
+ /**
1018
+ * ComplianceExport findFirst
1019
+ */
1020
+ export type ComplianceExportFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1021
+ /**
1022
+ * Select specific fields to fetch from the ComplianceExport
1023
+ */
1024
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1025
+ /**
1026
+ * Omit specific fields from the ComplianceExport
1027
+ */
1028
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1029
+ /**
1030
+ * Filter, which ComplianceExport to fetch.
1031
+ */
1032
+ where?: Prisma.ComplianceExportWhereInput
1033
+ /**
1034
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1035
+ *
1036
+ * Determine the order of ComplianceExports to fetch.
1037
+ */
1038
+ orderBy?: Prisma.ComplianceExportOrderByWithRelationInput | Prisma.ComplianceExportOrderByWithRelationInput[]
1039
+ /**
1040
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1041
+ *
1042
+ * Sets the position for searching for ComplianceExports.
1043
+ */
1044
+ cursor?: Prisma.ComplianceExportWhereUniqueInput
1045
+ /**
1046
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1047
+ *
1048
+ * Take `±n` ComplianceExports from the position of the cursor.
1049
+ */
1050
+ take?: number
1051
+ /**
1052
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1053
+ *
1054
+ * Skip the first `n` ComplianceExports.
1055
+ */
1056
+ skip?: number
1057
+ /**
1058
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1059
+ *
1060
+ * Filter by unique combinations of ComplianceExports.
1061
+ */
1062
+ distinct?: Prisma.ComplianceExportScalarFieldEnum | Prisma.ComplianceExportScalarFieldEnum[]
1063
+ }
1064
+
1065
+ /**
1066
+ * ComplianceExport findFirstOrThrow
1067
+ */
1068
+ export type ComplianceExportFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1069
+ /**
1070
+ * Select specific fields to fetch from the ComplianceExport
1071
+ */
1072
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1073
+ /**
1074
+ * Omit specific fields from the ComplianceExport
1075
+ */
1076
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1077
+ /**
1078
+ * Filter, which ComplianceExport to fetch.
1079
+ */
1080
+ where?: Prisma.ComplianceExportWhereInput
1081
+ /**
1082
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1083
+ *
1084
+ * Determine the order of ComplianceExports to fetch.
1085
+ */
1086
+ orderBy?: Prisma.ComplianceExportOrderByWithRelationInput | Prisma.ComplianceExportOrderByWithRelationInput[]
1087
+ /**
1088
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1089
+ *
1090
+ * Sets the position for searching for ComplianceExports.
1091
+ */
1092
+ cursor?: Prisma.ComplianceExportWhereUniqueInput
1093
+ /**
1094
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1095
+ *
1096
+ * Take `±n` ComplianceExports from the position of the cursor.
1097
+ */
1098
+ take?: number
1099
+ /**
1100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1101
+ *
1102
+ * Skip the first `n` ComplianceExports.
1103
+ */
1104
+ skip?: number
1105
+ /**
1106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1107
+ *
1108
+ * Filter by unique combinations of ComplianceExports.
1109
+ */
1110
+ distinct?: Prisma.ComplianceExportScalarFieldEnum | Prisma.ComplianceExportScalarFieldEnum[]
1111
+ }
1112
+
1113
+ /**
1114
+ * ComplianceExport findMany
1115
+ */
1116
+ export type ComplianceExportFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
+ /**
1118
+ * Select specific fields to fetch from the ComplianceExport
1119
+ */
1120
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1121
+ /**
1122
+ * Omit specific fields from the ComplianceExport
1123
+ */
1124
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1125
+ /**
1126
+ * Filter, which ComplianceExports to fetch.
1127
+ */
1128
+ where?: Prisma.ComplianceExportWhereInput
1129
+ /**
1130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1131
+ *
1132
+ * Determine the order of ComplianceExports to fetch.
1133
+ */
1134
+ orderBy?: Prisma.ComplianceExportOrderByWithRelationInput | Prisma.ComplianceExportOrderByWithRelationInput[]
1135
+ /**
1136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1137
+ *
1138
+ * Sets the position for listing ComplianceExports.
1139
+ */
1140
+ cursor?: Prisma.ComplianceExportWhereUniqueInput
1141
+ /**
1142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1143
+ *
1144
+ * Take `±n` ComplianceExports from the position of the cursor.
1145
+ */
1146
+ take?: number
1147
+ /**
1148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1149
+ *
1150
+ * Skip the first `n` ComplianceExports.
1151
+ */
1152
+ skip?: number
1153
+ /**
1154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1155
+ *
1156
+ * Filter by unique combinations of ComplianceExports.
1157
+ */
1158
+ distinct?: Prisma.ComplianceExportScalarFieldEnum | Prisma.ComplianceExportScalarFieldEnum[]
1159
+ }
1160
+
1161
+ /**
1162
+ * ComplianceExport create
1163
+ */
1164
+ export type ComplianceExportCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1165
+ /**
1166
+ * Select specific fields to fetch from the ComplianceExport
1167
+ */
1168
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1169
+ /**
1170
+ * Omit specific fields from the ComplianceExport
1171
+ */
1172
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1173
+ /**
1174
+ * The data needed to create a ComplianceExport.
1175
+ */
1176
+ data: Prisma.XOR<Prisma.ComplianceExportCreateInput, Prisma.ComplianceExportUncheckedCreateInput>
1177
+ }
1178
+
1179
+ /**
1180
+ * ComplianceExport createMany
1181
+ */
1182
+ export type ComplianceExportCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
+ /**
1184
+ * The data used to create many ComplianceExports.
1185
+ */
1186
+ data: Prisma.ComplianceExportCreateManyInput | Prisma.ComplianceExportCreateManyInput[]
1187
+ }
1188
+
1189
+ /**
1190
+ * ComplianceExport createManyAndReturn
1191
+ */
1192
+ export type ComplianceExportCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * Select specific fields to fetch from the ComplianceExport
1195
+ */
1196
+ select?: Prisma.ComplianceExportSelectCreateManyAndReturn<ExtArgs> | null
1197
+ /**
1198
+ * Omit specific fields from the ComplianceExport
1199
+ */
1200
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1201
+ /**
1202
+ * The data used to create many ComplianceExports.
1203
+ */
1204
+ data: Prisma.ComplianceExportCreateManyInput | Prisma.ComplianceExportCreateManyInput[]
1205
+ }
1206
+
1207
+ /**
1208
+ * ComplianceExport update
1209
+ */
1210
+ export type ComplianceExportUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1211
+ /**
1212
+ * Select specific fields to fetch from the ComplianceExport
1213
+ */
1214
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1215
+ /**
1216
+ * Omit specific fields from the ComplianceExport
1217
+ */
1218
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1219
+ /**
1220
+ * The data needed to update a ComplianceExport.
1221
+ */
1222
+ data: Prisma.XOR<Prisma.ComplianceExportUpdateInput, Prisma.ComplianceExportUncheckedUpdateInput>
1223
+ /**
1224
+ * Choose, which ComplianceExport to update.
1225
+ */
1226
+ where: Prisma.ComplianceExportWhereUniqueInput
1227
+ }
1228
+
1229
+ /**
1230
+ * ComplianceExport updateMany
1231
+ */
1232
+ export type ComplianceExportUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1233
+ /**
1234
+ * The data used to update ComplianceExports.
1235
+ */
1236
+ data: Prisma.XOR<Prisma.ComplianceExportUpdateManyMutationInput, Prisma.ComplianceExportUncheckedUpdateManyInput>
1237
+ /**
1238
+ * Filter which ComplianceExports to update
1239
+ */
1240
+ where?: Prisma.ComplianceExportWhereInput
1241
+ /**
1242
+ * Limit how many ComplianceExports to update.
1243
+ */
1244
+ limit?: number
1245
+ }
1246
+
1247
+ /**
1248
+ * ComplianceExport updateManyAndReturn
1249
+ */
1250
+ export type ComplianceExportUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1251
+ /**
1252
+ * Select specific fields to fetch from the ComplianceExport
1253
+ */
1254
+ select?: Prisma.ComplianceExportSelectUpdateManyAndReturn<ExtArgs> | null
1255
+ /**
1256
+ * Omit specific fields from the ComplianceExport
1257
+ */
1258
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1259
+ /**
1260
+ * The data used to update ComplianceExports.
1261
+ */
1262
+ data: Prisma.XOR<Prisma.ComplianceExportUpdateManyMutationInput, Prisma.ComplianceExportUncheckedUpdateManyInput>
1263
+ /**
1264
+ * Filter which ComplianceExports to update
1265
+ */
1266
+ where?: Prisma.ComplianceExportWhereInput
1267
+ /**
1268
+ * Limit how many ComplianceExports to update.
1269
+ */
1270
+ limit?: number
1271
+ }
1272
+
1273
+ /**
1274
+ * ComplianceExport upsert
1275
+ */
1276
+ export type ComplianceExportUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1277
+ /**
1278
+ * Select specific fields to fetch from the ComplianceExport
1279
+ */
1280
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1281
+ /**
1282
+ * Omit specific fields from the ComplianceExport
1283
+ */
1284
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1285
+ /**
1286
+ * The filter to search for the ComplianceExport to update in case it exists.
1287
+ */
1288
+ where: Prisma.ComplianceExportWhereUniqueInput
1289
+ /**
1290
+ * In case the ComplianceExport found by the `where` argument doesn't exist, create a new ComplianceExport with this data.
1291
+ */
1292
+ create: Prisma.XOR<Prisma.ComplianceExportCreateInput, Prisma.ComplianceExportUncheckedCreateInput>
1293
+ /**
1294
+ * In case the ComplianceExport was found with the provided `where` argument, update it with this data.
1295
+ */
1296
+ update: Prisma.XOR<Prisma.ComplianceExportUpdateInput, Prisma.ComplianceExportUncheckedUpdateInput>
1297
+ }
1298
+
1299
+ /**
1300
+ * ComplianceExport delete
1301
+ */
1302
+ export type ComplianceExportDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1303
+ /**
1304
+ * Select specific fields to fetch from the ComplianceExport
1305
+ */
1306
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1307
+ /**
1308
+ * Omit specific fields from the ComplianceExport
1309
+ */
1310
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1311
+ /**
1312
+ * Filter which ComplianceExport to delete.
1313
+ */
1314
+ where: Prisma.ComplianceExportWhereUniqueInput
1315
+ }
1316
+
1317
+ /**
1318
+ * ComplianceExport deleteMany
1319
+ */
1320
+ export type ComplianceExportDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
+ /**
1322
+ * Filter which ComplianceExports to delete
1323
+ */
1324
+ where?: Prisma.ComplianceExportWhereInput
1325
+ /**
1326
+ * Limit how many ComplianceExports to delete.
1327
+ */
1328
+ limit?: number
1329
+ }
1330
+
1331
+ /**
1332
+ * ComplianceExport without action
1333
+ */
1334
+ export type ComplianceExportDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1335
+ /**
1336
+ * Select specific fields to fetch from the ComplianceExport
1337
+ */
1338
+ select?: Prisma.ComplianceExportSelect<ExtArgs> | null
1339
+ /**
1340
+ * Omit specific fields from the ComplianceExport
1341
+ */
1342
+ omit?: Prisma.ComplianceExportOmit<ExtArgs> | null
1343
+ }