procbay-schema 1.0.171 → 1.0.175

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/package.json +13 -22
  2. package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
  3. package/prisma/schema.prisma +17 -7
  4. package/scripts/sync-schemas.js +1 -5
  5. package/src/create-prisma-client.js +9 -49
  6. package/src/prisma/client.d.ts +1 -0
  7. package/src/prisma/client.js +4 -0
  8. package/src/prisma/default.d.ts +1 -0
  9. package/src/prisma/default.js +4 -0
  10. package/src/prisma/edge.d.ts +1 -0
  11. package/src/prisma/edge.js +2911 -0
  12. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
  13. package/src/prisma/index.d.ts +286785 -0
  14. package/src/prisma/index.js +2940 -2
  15. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  16. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  17. package/src/prisma/package.json +140 -0
  18. package/src/prisma/query_engine-windows.dll.node +0 -0
  19. package/src/prisma/runtime/edge-esm.js +34 -0
  20. package/src/prisma/runtime/edge.js +34 -0
  21. package/src/prisma/runtime/index-browser.d.ts +370 -0
  22. package/src/prisma/runtime/index-browser.js +16 -0
  23. package/src/prisma/runtime/library.d.ts +3647 -0
  24. package/src/prisma/runtime/library.js +146 -0
  25. package/src/prisma/runtime/react-native.js +83 -0
  26. package/src/prisma/runtime/wasm.js +35 -0
  27. package/src/prisma/schema.prisma +3831 -0
  28. package/src/prisma/wasm.d.ts +1 -0
  29. package/src/prisma/wasm.js +2873 -0
  30. package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
  31. package/prisma.config.js +0 -19
  32. package/src/generated/prisma/browser.ts +0 -574
  33. package/src/generated/prisma/client.bundle.mjs +0 -6733
  34. package/src/generated/prisma/client.ts +0 -598
  35. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  36. package/src/generated/prisma/enums.ts +0 -730
  37. package/src/generated/prisma/internal/class.ts +0 -1304
  38. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  39. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  40. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  41. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  42. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  43. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  44. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  45. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  46. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  47. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  48. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  49. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  50. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  51. package/src/generated/prisma/models/Attribute.ts +0 -2075
  52. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  53. package/src/generated/prisma/models/Bid.ts +0 -2719
  54. package/src/generated/prisma/models/BidLog.ts +0 -3560
  55. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  56. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  57. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  58. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  59. package/src/generated/prisma/models/Budget.ts +0 -1954
  60. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  61. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  62. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  63. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  64. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  65. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  66. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  67. package/src/generated/prisma/models/Category.ts +0 -3091
  68. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  69. package/src/generated/prisma/models/City.ts +0 -2180
  70. package/src/generated/prisma/models/Cms.ts +0 -1492
  71. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  72. package/src/generated/prisma/models/Conversation.ts +0 -2389
  73. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  74. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  75. package/src/generated/prisma/models/Country.ts +0 -3394
  76. package/src/generated/prisma/models/Currency.ts +0 -1642
  77. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  78. package/src/generated/prisma/models/Department.ts +0 -2372
  79. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  80. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  81. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  82. package/src/generated/prisma/models/Event.ts +0 -6819
  83. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  84. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  85. package/src/generated/prisma/models/EventItems.ts +0 -2821
  86. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  87. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  88. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  89. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  90. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  91. package/src/generated/prisma/models/Expense.ts +0 -1625
  92. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  93. package/src/generated/prisma/models/Faq.ts +0 -1753
  94. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  95. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  96. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  97. package/src/generated/prisma/models/GRN.ts +0 -3354
  98. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  99. package/src/generated/prisma/models/Industry.ts +0 -1642
  100. package/src/generated/prisma/models/Invoice.ts +0 -2949
  101. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  102. package/src/generated/prisma/models/Item.ts +0 -10644
  103. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  104. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  105. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  106. package/src/generated/prisma/models/Location.ts +0 -2711
  107. package/src/generated/prisma/models/Message.ts +0 -2744
  108. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  109. package/src/generated/prisma/models/Module.ts +0 -1630
  110. package/src/generated/prisma/models/Permission.ts +0 -1640
  111. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  112. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  113. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  114. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  115. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  116. package/src/generated/prisma/models/Quotation.ts +0 -3207
  117. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  118. package/src/generated/prisma/models/Region.ts +0 -1746
  119. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  120. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  121. package/src/generated/prisma/models/Role.ts +0 -1907
  122. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  123. package/src/generated/prisma/models/SendBack.ts +0 -1830
  124. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  125. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  126. package/src/generated/prisma/models/State.ts +0 -2174
  127. package/src/generated/prisma/models/Strategies.ts +0 -1791
  128. package/src/generated/prisma/models/SubModule.ts +0 -1450
  129. package/src/generated/prisma/models/Subregion.ts +0 -1870
  130. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  131. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  132. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  133. package/src/generated/prisma/models/Template.ts +0 -2429
  134. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  135. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  136. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  137. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  138. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  139. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  140. package/src/generated/prisma/models/Uom.ts +0 -1752
  141. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  142. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  143. package/src/generated/prisma/models/User.ts +0 -19397
  144. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  145. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  146. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  147. package/src/generated/prisma/models/UserRole.ts +0 -1696
  148. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  149. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  150. package/src/generated/prisma/models.ts +0 -122
@@ -1,2283 +0,0 @@
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 `SupportingDocument` 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 SupportingDocument
17
- *
18
- */
19
- export type SupportingDocumentModel = runtime.Types.Result.DefaultSelection<Prisma.$SupportingDocumentPayload>
20
-
21
- export type AggregateSupportingDocument = {
22
- _count: SupportingDocumentCountAggregateOutputType | null
23
- _avg: SupportingDocumentAvgAggregateOutputType | null
24
- _sum: SupportingDocumentSumAggregateOutputType | null
25
- _min: SupportingDocumentMinAggregateOutputType | null
26
- _max: SupportingDocumentMaxAggregateOutputType | null
27
- }
28
-
29
- export type SupportingDocumentAvgAggregateOutputType = {
30
- id: number | null
31
- budget_id: number | null
32
- department_budget_id: number | null
33
- category_budget_id: number | null
34
- file_size: number | null
35
- created_by: number | null
36
- updated_by: number | null
37
- deleted_by: number | null
38
- }
39
-
40
- export type SupportingDocumentSumAggregateOutputType = {
41
- id: number | null
42
- budget_id: number | null
43
- department_budget_id: number | null
44
- category_budget_id: number | null
45
- file_size: number | null
46
- created_by: number | null
47
- updated_by: number | null
48
- deleted_by: number | null
49
- }
50
-
51
- export type SupportingDocumentMinAggregateOutputType = {
52
- id: number | null
53
- uuid: string | null
54
- budget_id: number | null
55
- department_budget_id: number | null
56
- category_budget_id: number | null
57
- file_name: string | null
58
- original_name: string | null
59
- file_path: string | null
60
- file_size: number | null
61
- mime_type: string | null
62
- created_by: number | null
63
- created_at: Date | null
64
- updated_by: number | null
65
- updated_at: Date | null
66
- is_deleted: boolean | null
67
- deleted_by: number | null
68
- deleted_at: Date | null
69
- }
70
-
71
- export type SupportingDocumentMaxAggregateOutputType = {
72
- id: number | null
73
- uuid: string | null
74
- budget_id: number | null
75
- department_budget_id: number | null
76
- category_budget_id: number | null
77
- file_name: string | null
78
- original_name: string | null
79
- file_path: string | null
80
- file_size: number | null
81
- mime_type: string | null
82
- created_by: number | null
83
- created_at: Date | null
84
- updated_by: number | null
85
- updated_at: Date | null
86
- is_deleted: boolean | null
87
- deleted_by: number | null
88
- deleted_at: Date | null
89
- }
90
-
91
- export type SupportingDocumentCountAggregateOutputType = {
92
- id: number
93
- uuid: number
94
- budget_id: number
95
- department_budget_id: number
96
- category_budget_id: number
97
- file_name: number
98
- original_name: number
99
- file_path: number
100
- file_size: number
101
- mime_type: number
102
- created_by: number
103
- created_at: number
104
- updated_by: number
105
- updated_at: number
106
- is_deleted: number
107
- deleted_by: number
108
- deleted_at: number
109
- _all: number
110
- }
111
-
112
-
113
- export type SupportingDocumentAvgAggregateInputType = {
114
- id?: true
115
- budget_id?: true
116
- department_budget_id?: true
117
- category_budget_id?: true
118
- file_size?: true
119
- created_by?: true
120
- updated_by?: true
121
- deleted_by?: true
122
- }
123
-
124
- export type SupportingDocumentSumAggregateInputType = {
125
- id?: true
126
- budget_id?: true
127
- department_budget_id?: true
128
- category_budget_id?: true
129
- file_size?: true
130
- created_by?: true
131
- updated_by?: true
132
- deleted_by?: true
133
- }
134
-
135
- export type SupportingDocumentMinAggregateInputType = {
136
- id?: true
137
- uuid?: true
138
- budget_id?: true
139
- department_budget_id?: true
140
- category_budget_id?: true
141
- file_name?: true
142
- original_name?: true
143
- file_path?: true
144
- file_size?: true
145
- mime_type?: true
146
- created_by?: true
147
- created_at?: true
148
- updated_by?: true
149
- updated_at?: true
150
- is_deleted?: true
151
- deleted_by?: true
152
- deleted_at?: true
153
- }
154
-
155
- export type SupportingDocumentMaxAggregateInputType = {
156
- id?: true
157
- uuid?: true
158
- budget_id?: true
159
- department_budget_id?: true
160
- category_budget_id?: true
161
- file_name?: true
162
- original_name?: true
163
- file_path?: true
164
- file_size?: true
165
- mime_type?: true
166
- created_by?: true
167
- created_at?: true
168
- updated_by?: true
169
- updated_at?: true
170
- is_deleted?: true
171
- deleted_by?: true
172
- deleted_at?: true
173
- }
174
-
175
- export type SupportingDocumentCountAggregateInputType = {
176
- id?: true
177
- uuid?: true
178
- budget_id?: true
179
- department_budget_id?: true
180
- category_budget_id?: true
181
- file_name?: true
182
- original_name?: true
183
- file_path?: true
184
- file_size?: true
185
- mime_type?: true
186
- created_by?: true
187
- created_at?: true
188
- updated_by?: true
189
- updated_at?: true
190
- is_deleted?: true
191
- deleted_by?: true
192
- deleted_at?: true
193
- _all?: true
194
- }
195
-
196
- export type SupportingDocumentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
197
- /**
198
- * Filter which SupportingDocument to aggregate.
199
- */
200
- where?: Prisma.SupportingDocumentWhereInput
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
203
- *
204
- * Determine the order of SupportingDocuments to fetch.
205
- */
206
- orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
209
- *
210
- * Sets the start position
211
- */
212
- cursor?: Prisma.SupportingDocumentWhereUniqueInput
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
215
- *
216
- * Take `±n` SupportingDocuments from the position of the cursor.
217
- */
218
- take?: number
219
- /**
220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
221
- *
222
- * Skip the first `n` SupportingDocuments.
223
- */
224
- skip?: number
225
- /**
226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
- *
228
- * Count returned SupportingDocuments
229
- **/
230
- _count?: true | SupportingDocumentCountAggregateInputType
231
- /**
232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
- *
234
- * Select which fields to average
235
- **/
236
- _avg?: SupportingDocumentAvgAggregateInputType
237
- /**
238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
- *
240
- * Select which fields to sum
241
- **/
242
- _sum?: SupportingDocumentSumAggregateInputType
243
- /**
244
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
245
- *
246
- * Select which fields to find the minimum value
247
- **/
248
- _min?: SupportingDocumentMinAggregateInputType
249
- /**
250
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
251
- *
252
- * Select which fields to find the maximum value
253
- **/
254
- _max?: SupportingDocumentMaxAggregateInputType
255
- }
256
-
257
- export type GetSupportingDocumentAggregateType<T extends SupportingDocumentAggregateArgs> = {
258
- [P in keyof T & keyof AggregateSupportingDocument]: P extends '_count' | 'count'
259
- ? T[P] extends true
260
- ? number
261
- : Prisma.GetScalarType<T[P], AggregateSupportingDocument[P]>
262
- : Prisma.GetScalarType<T[P], AggregateSupportingDocument[P]>
263
- }
264
-
265
-
266
-
267
-
268
- export type SupportingDocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
269
- where?: Prisma.SupportingDocumentWhereInput
270
- orderBy?: Prisma.SupportingDocumentOrderByWithAggregationInput | Prisma.SupportingDocumentOrderByWithAggregationInput[]
271
- by: Prisma.SupportingDocumentScalarFieldEnum[] | Prisma.SupportingDocumentScalarFieldEnum
272
- having?: Prisma.SupportingDocumentScalarWhereWithAggregatesInput
273
- take?: number
274
- skip?: number
275
- _count?: SupportingDocumentCountAggregateInputType | true
276
- _avg?: SupportingDocumentAvgAggregateInputType
277
- _sum?: SupportingDocumentSumAggregateInputType
278
- _min?: SupportingDocumentMinAggregateInputType
279
- _max?: SupportingDocumentMaxAggregateInputType
280
- }
281
-
282
- export type SupportingDocumentGroupByOutputType = {
283
- id: number
284
- uuid: string | null
285
- budget_id: number | null
286
- department_budget_id: number | null
287
- category_budget_id: number | null
288
- file_name: string | null
289
- original_name: string | null
290
- file_path: string | null
291
- file_size: number | null
292
- mime_type: string | null
293
- created_by: number | null
294
- created_at: Date
295
- updated_by: number | null
296
- updated_at: Date
297
- is_deleted: boolean
298
- deleted_by: number | null
299
- deleted_at: Date | null
300
- _count: SupportingDocumentCountAggregateOutputType | null
301
- _avg: SupportingDocumentAvgAggregateOutputType | null
302
- _sum: SupportingDocumentSumAggregateOutputType | null
303
- _min: SupportingDocumentMinAggregateOutputType | null
304
- _max: SupportingDocumentMaxAggregateOutputType | null
305
- }
306
-
307
- export type GetSupportingDocumentGroupByPayload<T extends SupportingDocumentGroupByArgs> = Prisma.PrismaPromise<
308
- Array<
309
- Prisma.PickEnumerable<SupportingDocumentGroupByOutputType, T['by']> &
310
- {
311
- [P in ((keyof T) & (keyof SupportingDocumentGroupByOutputType))]: P extends '_count'
312
- ? T[P] extends boolean
313
- ? number
314
- : Prisma.GetScalarType<T[P], SupportingDocumentGroupByOutputType[P]>
315
- : Prisma.GetScalarType<T[P], SupportingDocumentGroupByOutputType[P]>
316
- }
317
- >
318
- >
319
-
320
-
321
-
322
- export type SupportingDocumentWhereInput = {
323
- AND?: Prisma.SupportingDocumentWhereInput | Prisma.SupportingDocumentWhereInput[]
324
- OR?: Prisma.SupportingDocumentWhereInput[]
325
- NOT?: Prisma.SupportingDocumentWhereInput | Prisma.SupportingDocumentWhereInput[]
326
- id?: Prisma.IntFilter<"SupportingDocument"> | number
327
- uuid?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
328
- budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
329
- department_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
330
- category_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
331
- file_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
332
- original_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
333
- file_path?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
334
- file_size?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
335
- mime_type?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
336
- created_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
337
- created_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
338
- updated_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
339
- updated_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
340
- is_deleted?: Prisma.BoolFilter<"SupportingDocument"> | boolean
341
- deleted_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
342
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportingDocument"> | Date | string | null
343
- budget?: Prisma.XOR<Prisma.BudgetNullableScalarRelationFilter, Prisma.BudgetWhereInput> | null
344
- department_budget?: Prisma.XOR<Prisma.DepartmentBudgetNullableScalarRelationFilter, Prisma.DepartmentBudgetWhereInput> | null
345
- category_budget?: Prisma.XOR<Prisma.CategoryBudgetNullableScalarRelationFilter, Prisma.CategoryBudgetWhereInput> | null
346
- }
347
-
348
- export type SupportingDocumentOrderByWithRelationInput = {
349
- id?: Prisma.SortOrder
350
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
351
- budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
352
- department_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
353
- category_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
354
- file_name?: Prisma.SortOrderInput | Prisma.SortOrder
355
- original_name?: Prisma.SortOrderInput | Prisma.SortOrder
356
- file_path?: Prisma.SortOrderInput | Prisma.SortOrder
357
- file_size?: Prisma.SortOrderInput | Prisma.SortOrder
358
- mime_type?: Prisma.SortOrderInput | Prisma.SortOrder
359
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
360
- created_at?: Prisma.SortOrder
361
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
362
- updated_at?: Prisma.SortOrder
363
- is_deleted?: Prisma.SortOrder
364
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
365
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
366
- budget?: Prisma.BudgetOrderByWithRelationInput
367
- department_budget?: Prisma.DepartmentBudgetOrderByWithRelationInput
368
- category_budget?: Prisma.CategoryBudgetOrderByWithRelationInput
369
- }
370
-
371
- export type SupportingDocumentWhereUniqueInput = Prisma.AtLeast<{
372
- id?: number
373
- uuid?: string
374
- AND?: Prisma.SupportingDocumentWhereInput | Prisma.SupportingDocumentWhereInput[]
375
- OR?: Prisma.SupportingDocumentWhereInput[]
376
- NOT?: Prisma.SupportingDocumentWhereInput | Prisma.SupportingDocumentWhereInput[]
377
- budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
378
- department_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
379
- category_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
380
- file_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
381
- original_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
382
- file_path?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
383
- file_size?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
384
- mime_type?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
385
- created_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
386
- created_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
387
- updated_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
388
- updated_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
389
- is_deleted?: Prisma.BoolFilter<"SupportingDocument"> | boolean
390
- deleted_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
391
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportingDocument"> | Date | string | null
392
- budget?: Prisma.XOR<Prisma.BudgetNullableScalarRelationFilter, Prisma.BudgetWhereInput> | null
393
- department_budget?: Prisma.XOR<Prisma.DepartmentBudgetNullableScalarRelationFilter, Prisma.DepartmentBudgetWhereInput> | null
394
- category_budget?: Prisma.XOR<Prisma.CategoryBudgetNullableScalarRelationFilter, Prisma.CategoryBudgetWhereInput> | null
395
- }, "id" | "uuid">
396
-
397
- export type SupportingDocumentOrderByWithAggregationInput = {
398
- id?: Prisma.SortOrder
399
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
400
- budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
401
- department_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
402
- category_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
403
- file_name?: Prisma.SortOrderInput | Prisma.SortOrder
404
- original_name?: Prisma.SortOrderInput | Prisma.SortOrder
405
- file_path?: Prisma.SortOrderInput | Prisma.SortOrder
406
- file_size?: Prisma.SortOrderInput | Prisma.SortOrder
407
- mime_type?: Prisma.SortOrderInput | Prisma.SortOrder
408
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
409
- created_at?: Prisma.SortOrder
410
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
411
- updated_at?: Prisma.SortOrder
412
- is_deleted?: Prisma.SortOrder
413
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
414
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
415
- _count?: Prisma.SupportingDocumentCountOrderByAggregateInput
416
- _avg?: Prisma.SupportingDocumentAvgOrderByAggregateInput
417
- _max?: Prisma.SupportingDocumentMaxOrderByAggregateInput
418
- _min?: Prisma.SupportingDocumentMinOrderByAggregateInput
419
- _sum?: Prisma.SupportingDocumentSumOrderByAggregateInput
420
- }
421
-
422
- export type SupportingDocumentScalarWhereWithAggregatesInput = {
423
- AND?: Prisma.SupportingDocumentScalarWhereWithAggregatesInput | Prisma.SupportingDocumentScalarWhereWithAggregatesInput[]
424
- OR?: Prisma.SupportingDocumentScalarWhereWithAggregatesInput[]
425
- NOT?: Prisma.SupportingDocumentScalarWhereWithAggregatesInput | Prisma.SupportingDocumentScalarWhereWithAggregatesInput[]
426
- id?: Prisma.IntWithAggregatesFilter<"SupportingDocument"> | number
427
- uuid?: Prisma.StringNullableWithAggregatesFilter<"SupportingDocument"> | string | null
428
- budget_id?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
429
- department_budget_id?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
430
- category_budget_id?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
431
- file_name?: Prisma.StringNullableWithAggregatesFilter<"SupportingDocument"> | string | null
432
- original_name?: Prisma.StringNullableWithAggregatesFilter<"SupportingDocument"> | string | null
433
- file_path?: Prisma.StringNullableWithAggregatesFilter<"SupportingDocument"> | string | null
434
- file_size?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
435
- mime_type?: Prisma.StringNullableWithAggregatesFilter<"SupportingDocument"> | string | null
436
- created_by?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
437
- created_at?: Prisma.DateTimeWithAggregatesFilter<"SupportingDocument"> | Date | string
438
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
439
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"SupportingDocument"> | Date | string
440
- is_deleted?: Prisma.BoolWithAggregatesFilter<"SupportingDocument"> | boolean
441
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"SupportingDocument"> | number | null
442
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SupportingDocument"> | Date | string | null
443
- }
444
-
445
- export type SupportingDocumentCreateInput = {
446
- uuid?: string | null
447
- file_name?: string | null
448
- original_name?: string | null
449
- file_path?: string | null
450
- file_size?: number | null
451
- mime_type?: string | null
452
- created_by?: number | null
453
- created_at?: Date | string
454
- updated_by?: number | null
455
- updated_at?: Date | string
456
- is_deleted?: boolean
457
- deleted_by?: number | null
458
- deleted_at?: Date | string | null
459
- budget?: Prisma.BudgetCreateNestedOneWithoutSupporting_documentsInput
460
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutSupporting_documentsInput
461
- category_budget?: Prisma.CategoryBudgetCreateNestedOneWithoutSupporting_documentsInput
462
- }
463
-
464
- export type SupportingDocumentUncheckedCreateInput = {
465
- id?: number
466
- uuid?: string | null
467
- budget_id?: number | null
468
- department_budget_id?: number | null
469
- category_budget_id?: number | null
470
- file_name?: string | null
471
- original_name?: string | null
472
- file_path?: string | null
473
- file_size?: number | null
474
- mime_type?: string | null
475
- created_by?: number | null
476
- created_at?: Date | string
477
- updated_by?: number | null
478
- updated_at?: Date | string
479
- is_deleted?: boolean
480
- deleted_by?: number | null
481
- deleted_at?: Date | string | null
482
- }
483
-
484
- export type SupportingDocumentUpdateInput = {
485
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
486
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
487
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
488
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
489
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
490
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
491
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
492
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
493
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
494
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
495
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
496
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
497
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
498
- budget?: Prisma.BudgetUpdateOneWithoutSupporting_documentsNestedInput
499
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutSupporting_documentsNestedInput
500
- category_budget?: Prisma.CategoryBudgetUpdateOneWithoutSupporting_documentsNestedInput
501
- }
502
-
503
- export type SupportingDocumentUncheckedUpdateInput = {
504
- id?: Prisma.IntFieldUpdateOperationsInput | number
505
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
506
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
507
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
508
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
509
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
510
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
511
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
513
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
514
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
515
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
516
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
517
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
518
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
519
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
520
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
521
- }
522
-
523
- export type SupportingDocumentCreateManyInput = {
524
- id?: number
525
- uuid?: string | null
526
- budget_id?: number | null
527
- department_budget_id?: number | null
528
- category_budget_id?: number | null
529
- file_name?: string | null
530
- original_name?: string | null
531
- file_path?: string | null
532
- file_size?: number | null
533
- mime_type?: string | null
534
- created_by?: number | null
535
- created_at?: Date | string
536
- updated_by?: number | null
537
- updated_at?: Date | string
538
- is_deleted?: boolean
539
- deleted_by?: number | null
540
- deleted_at?: Date | string | null
541
- }
542
-
543
- export type SupportingDocumentUpdateManyMutationInput = {
544
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
545
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
546
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
547
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
548
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
549
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
550
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
551
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
552
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
553
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
554
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
555
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
556
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
557
- }
558
-
559
- export type SupportingDocumentUncheckedUpdateManyInput = {
560
- id?: Prisma.IntFieldUpdateOperationsInput | number
561
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
562
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
563
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
564
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
565
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
566
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
567
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
568
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
569
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
570
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
571
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
572
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
573
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
574
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
575
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
576
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
577
- }
578
-
579
- export type SupportingDocumentListRelationFilter = {
580
- every?: Prisma.SupportingDocumentWhereInput
581
- some?: Prisma.SupportingDocumentWhereInput
582
- none?: Prisma.SupportingDocumentWhereInput
583
- }
584
-
585
- export type SupportingDocumentOrderByRelationAggregateInput = {
586
- _count?: Prisma.SortOrder
587
- }
588
-
589
- export type SupportingDocumentCountOrderByAggregateInput = {
590
- id?: Prisma.SortOrder
591
- uuid?: Prisma.SortOrder
592
- budget_id?: Prisma.SortOrder
593
- department_budget_id?: Prisma.SortOrder
594
- category_budget_id?: Prisma.SortOrder
595
- file_name?: Prisma.SortOrder
596
- original_name?: Prisma.SortOrder
597
- file_path?: Prisma.SortOrder
598
- file_size?: Prisma.SortOrder
599
- mime_type?: Prisma.SortOrder
600
- created_by?: Prisma.SortOrder
601
- created_at?: Prisma.SortOrder
602
- updated_by?: Prisma.SortOrder
603
- updated_at?: Prisma.SortOrder
604
- is_deleted?: Prisma.SortOrder
605
- deleted_by?: Prisma.SortOrder
606
- deleted_at?: Prisma.SortOrder
607
- }
608
-
609
- export type SupportingDocumentAvgOrderByAggregateInput = {
610
- id?: Prisma.SortOrder
611
- budget_id?: Prisma.SortOrder
612
- department_budget_id?: Prisma.SortOrder
613
- category_budget_id?: Prisma.SortOrder
614
- file_size?: Prisma.SortOrder
615
- created_by?: Prisma.SortOrder
616
- updated_by?: Prisma.SortOrder
617
- deleted_by?: Prisma.SortOrder
618
- }
619
-
620
- export type SupportingDocumentMaxOrderByAggregateInput = {
621
- id?: Prisma.SortOrder
622
- uuid?: Prisma.SortOrder
623
- budget_id?: Prisma.SortOrder
624
- department_budget_id?: Prisma.SortOrder
625
- category_budget_id?: Prisma.SortOrder
626
- file_name?: Prisma.SortOrder
627
- original_name?: Prisma.SortOrder
628
- file_path?: Prisma.SortOrder
629
- file_size?: Prisma.SortOrder
630
- mime_type?: Prisma.SortOrder
631
- created_by?: Prisma.SortOrder
632
- created_at?: Prisma.SortOrder
633
- updated_by?: Prisma.SortOrder
634
- updated_at?: Prisma.SortOrder
635
- is_deleted?: Prisma.SortOrder
636
- deleted_by?: Prisma.SortOrder
637
- deleted_at?: Prisma.SortOrder
638
- }
639
-
640
- export type SupportingDocumentMinOrderByAggregateInput = {
641
- id?: Prisma.SortOrder
642
- uuid?: Prisma.SortOrder
643
- budget_id?: Prisma.SortOrder
644
- department_budget_id?: Prisma.SortOrder
645
- category_budget_id?: Prisma.SortOrder
646
- file_name?: Prisma.SortOrder
647
- original_name?: Prisma.SortOrder
648
- file_path?: Prisma.SortOrder
649
- file_size?: Prisma.SortOrder
650
- mime_type?: Prisma.SortOrder
651
- created_by?: Prisma.SortOrder
652
- created_at?: Prisma.SortOrder
653
- updated_by?: Prisma.SortOrder
654
- updated_at?: Prisma.SortOrder
655
- is_deleted?: Prisma.SortOrder
656
- deleted_by?: Prisma.SortOrder
657
- deleted_at?: Prisma.SortOrder
658
- }
659
-
660
- export type SupportingDocumentSumOrderByAggregateInput = {
661
- id?: Prisma.SortOrder
662
- budget_id?: Prisma.SortOrder
663
- department_budget_id?: Prisma.SortOrder
664
- category_budget_id?: Prisma.SortOrder
665
- file_size?: Prisma.SortOrder
666
- created_by?: Prisma.SortOrder
667
- updated_by?: Prisma.SortOrder
668
- deleted_by?: Prisma.SortOrder
669
- }
670
-
671
- export type SupportingDocumentCreateNestedManyWithoutBudgetInput = {
672
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput> | Prisma.SupportingDocumentCreateWithoutBudgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput[]
673
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput[]
674
- createMany?: Prisma.SupportingDocumentCreateManyBudgetInputEnvelope
675
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
676
- }
677
-
678
- export type SupportingDocumentUncheckedCreateNestedManyWithoutBudgetInput = {
679
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput> | Prisma.SupportingDocumentCreateWithoutBudgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput[]
680
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput[]
681
- createMany?: Prisma.SupportingDocumentCreateManyBudgetInputEnvelope
682
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
683
- }
684
-
685
- export type SupportingDocumentUpdateManyWithoutBudgetNestedInput = {
686
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput> | Prisma.SupportingDocumentCreateWithoutBudgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput[]
687
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput[]
688
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutBudgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutBudgetInput[]
689
- createMany?: Prisma.SupportingDocumentCreateManyBudgetInputEnvelope
690
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
691
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
692
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
693
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
694
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutBudgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutBudgetInput[]
695
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutBudgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutBudgetInput[]
696
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
697
- }
698
-
699
- export type SupportingDocumentUncheckedUpdateManyWithoutBudgetNestedInput = {
700
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput> | Prisma.SupportingDocumentCreateWithoutBudgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput[]
701
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutBudgetInput[]
702
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutBudgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutBudgetInput[]
703
- createMany?: Prisma.SupportingDocumentCreateManyBudgetInputEnvelope
704
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
705
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
706
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
707
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
708
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutBudgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutBudgetInput[]
709
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutBudgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutBudgetInput[]
710
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
711
- }
712
-
713
- export type SupportingDocumentCreateNestedManyWithoutDepartment_budgetInput = {
714
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput> | Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput[]
715
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput[]
716
- createMany?: Prisma.SupportingDocumentCreateManyDepartment_budgetInputEnvelope
717
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
718
- }
719
-
720
- export type SupportingDocumentUncheckedCreateNestedManyWithoutDepartment_budgetInput = {
721
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput> | Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput[]
722
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput[]
723
- createMany?: Prisma.SupportingDocumentCreateManyDepartment_budgetInputEnvelope
724
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
725
- }
726
-
727
- export type SupportingDocumentUpdateManyWithoutDepartment_budgetNestedInput = {
728
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput> | Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput[]
729
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput[]
730
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutDepartment_budgetInput[]
731
- createMany?: Prisma.SupportingDocumentCreateManyDepartment_budgetInputEnvelope
732
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
733
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
734
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
735
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
736
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutDepartment_budgetInput[]
737
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutDepartment_budgetInput[]
738
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
739
- }
740
-
741
- export type SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetNestedInput = {
742
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput> | Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput[]
743
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput[]
744
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutDepartment_budgetInput[]
745
- createMany?: Prisma.SupportingDocumentCreateManyDepartment_budgetInputEnvelope
746
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
747
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
748
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
749
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
750
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutDepartment_budgetInput[]
751
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutDepartment_budgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutDepartment_budgetInput[]
752
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
753
- }
754
-
755
- export type SupportingDocumentCreateNestedManyWithoutCategory_budgetInput = {
756
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput> | Prisma.SupportingDocumentCreateWithoutCategory_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput[]
757
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput[]
758
- createMany?: Prisma.SupportingDocumentCreateManyCategory_budgetInputEnvelope
759
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
760
- }
761
-
762
- export type SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput = {
763
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput> | Prisma.SupportingDocumentCreateWithoutCategory_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput[]
764
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput[]
765
- createMany?: Prisma.SupportingDocumentCreateManyCategory_budgetInputEnvelope
766
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
767
- }
768
-
769
- export type SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput = {
770
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput> | Prisma.SupportingDocumentCreateWithoutCategory_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput[]
771
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput[]
772
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutCategory_budgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutCategory_budgetInput[]
773
- createMany?: Prisma.SupportingDocumentCreateManyCategory_budgetInputEnvelope
774
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
775
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
776
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
777
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
778
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutCategory_budgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutCategory_budgetInput[]
779
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutCategory_budgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutCategory_budgetInput[]
780
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
781
- }
782
-
783
- export type SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput = {
784
- create?: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput> | Prisma.SupportingDocumentCreateWithoutCategory_budgetInput[] | Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput[]
785
- connectOrCreate?: Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput | Prisma.SupportingDocumentCreateOrConnectWithoutCategory_budgetInput[]
786
- upsert?: Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutCategory_budgetInput | Prisma.SupportingDocumentUpsertWithWhereUniqueWithoutCategory_budgetInput[]
787
- createMany?: Prisma.SupportingDocumentCreateManyCategory_budgetInputEnvelope
788
- set?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
789
- disconnect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
790
- delete?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
791
- connect?: Prisma.SupportingDocumentWhereUniqueInput | Prisma.SupportingDocumentWhereUniqueInput[]
792
- update?: Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutCategory_budgetInput | Prisma.SupportingDocumentUpdateWithWhereUniqueWithoutCategory_budgetInput[]
793
- updateMany?: Prisma.SupportingDocumentUpdateManyWithWhereWithoutCategory_budgetInput | Prisma.SupportingDocumentUpdateManyWithWhereWithoutCategory_budgetInput[]
794
- deleteMany?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
795
- }
796
-
797
- export type SupportingDocumentCreateWithoutBudgetInput = {
798
- uuid?: string | null
799
- file_name?: string | null
800
- original_name?: string | null
801
- file_path?: string | null
802
- file_size?: number | null
803
- mime_type?: string | null
804
- created_by?: number | null
805
- created_at?: Date | string
806
- updated_by?: number | null
807
- updated_at?: Date | string
808
- is_deleted?: boolean
809
- deleted_by?: number | null
810
- deleted_at?: Date | string | null
811
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutSupporting_documentsInput
812
- category_budget?: Prisma.CategoryBudgetCreateNestedOneWithoutSupporting_documentsInput
813
- }
814
-
815
- export type SupportingDocumentUncheckedCreateWithoutBudgetInput = {
816
- id?: number
817
- uuid?: string | null
818
- department_budget_id?: number | null
819
- category_budget_id?: number | null
820
- file_name?: string | null
821
- original_name?: string | null
822
- file_path?: string | null
823
- file_size?: number | null
824
- mime_type?: string | null
825
- created_by?: number | null
826
- created_at?: Date | string
827
- updated_by?: number | null
828
- updated_at?: Date | string
829
- is_deleted?: boolean
830
- deleted_by?: number | null
831
- deleted_at?: Date | string | null
832
- }
833
-
834
- export type SupportingDocumentCreateOrConnectWithoutBudgetInput = {
835
- where: Prisma.SupportingDocumentWhereUniqueInput
836
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput>
837
- }
838
-
839
- export type SupportingDocumentCreateManyBudgetInputEnvelope = {
840
- data: Prisma.SupportingDocumentCreateManyBudgetInput | Prisma.SupportingDocumentCreateManyBudgetInput[]
841
- skipDuplicates?: boolean
842
- }
843
-
844
- export type SupportingDocumentUpsertWithWhereUniqueWithoutBudgetInput = {
845
- where: Prisma.SupportingDocumentWhereUniqueInput
846
- update: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutBudgetInput>
847
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutBudgetInput>
848
- }
849
-
850
- export type SupportingDocumentUpdateWithWhereUniqueWithoutBudgetInput = {
851
- where: Prisma.SupportingDocumentWhereUniqueInput
852
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutBudgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutBudgetInput>
853
- }
854
-
855
- export type SupportingDocumentUpdateManyWithWhereWithoutBudgetInput = {
856
- where: Prisma.SupportingDocumentScalarWhereInput
857
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateManyMutationInput, Prisma.SupportingDocumentUncheckedUpdateManyWithoutBudgetInput>
858
- }
859
-
860
- export type SupportingDocumentScalarWhereInput = {
861
- AND?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
862
- OR?: Prisma.SupportingDocumentScalarWhereInput[]
863
- NOT?: Prisma.SupportingDocumentScalarWhereInput | Prisma.SupportingDocumentScalarWhereInput[]
864
- id?: Prisma.IntFilter<"SupportingDocument"> | number
865
- uuid?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
866
- budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
867
- department_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
868
- category_budget_id?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
869
- file_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
870
- original_name?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
871
- file_path?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
872
- file_size?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
873
- mime_type?: Prisma.StringNullableFilter<"SupportingDocument"> | string | null
874
- created_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
875
- created_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
876
- updated_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
877
- updated_at?: Prisma.DateTimeFilter<"SupportingDocument"> | Date | string
878
- is_deleted?: Prisma.BoolFilter<"SupportingDocument"> | boolean
879
- deleted_by?: Prisma.IntNullableFilter<"SupportingDocument"> | number | null
880
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportingDocument"> | Date | string | null
881
- }
882
-
883
- export type SupportingDocumentCreateWithoutDepartment_budgetInput = {
884
- uuid?: string | null
885
- file_name?: string | null
886
- original_name?: string | null
887
- file_path?: string | null
888
- file_size?: number | null
889
- mime_type?: string | null
890
- created_by?: number | null
891
- created_at?: Date | string
892
- updated_by?: number | null
893
- updated_at?: Date | string
894
- is_deleted?: boolean
895
- deleted_by?: number | null
896
- deleted_at?: Date | string | null
897
- budget?: Prisma.BudgetCreateNestedOneWithoutSupporting_documentsInput
898
- category_budget?: Prisma.CategoryBudgetCreateNestedOneWithoutSupporting_documentsInput
899
- }
900
-
901
- export type SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput = {
902
- id?: number
903
- uuid?: string | null
904
- budget_id?: number | null
905
- category_budget_id?: number | null
906
- file_name?: string | null
907
- original_name?: string | null
908
- file_path?: string | null
909
- file_size?: number | null
910
- mime_type?: string | null
911
- created_by?: number | null
912
- created_at?: Date | string
913
- updated_by?: number | null
914
- updated_at?: Date | string
915
- is_deleted?: boolean
916
- deleted_by?: number | null
917
- deleted_at?: Date | string | null
918
- }
919
-
920
- export type SupportingDocumentCreateOrConnectWithoutDepartment_budgetInput = {
921
- where: Prisma.SupportingDocumentWhereUniqueInput
922
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput>
923
- }
924
-
925
- export type SupportingDocumentCreateManyDepartment_budgetInputEnvelope = {
926
- data: Prisma.SupportingDocumentCreateManyDepartment_budgetInput | Prisma.SupportingDocumentCreateManyDepartment_budgetInput[]
927
- skipDuplicates?: boolean
928
- }
929
-
930
- export type SupportingDocumentUpsertWithWhereUniqueWithoutDepartment_budgetInput = {
931
- where: Prisma.SupportingDocumentWhereUniqueInput
932
- update: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutDepartment_budgetInput>
933
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutDepartment_budgetInput>
934
- }
935
-
936
- export type SupportingDocumentUpdateWithWhereUniqueWithoutDepartment_budgetInput = {
937
- where: Prisma.SupportingDocumentWhereUniqueInput
938
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutDepartment_budgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutDepartment_budgetInput>
939
- }
940
-
941
- export type SupportingDocumentUpdateManyWithWhereWithoutDepartment_budgetInput = {
942
- where: Prisma.SupportingDocumentScalarWhereInput
943
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateManyMutationInput, Prisma.SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetInput>
944
- }
945
-
946
- export type SupportingDocumentCreateWithoutCategory_budgetInput = {
947
- uuid?: string | null
948
- file_name?: string | null
949
- original_name?: string | null
950
- file_path?: string | null
951
- file_size?: number | null
952
- mime_type?: string | null
953
- created_by?: number | null
954
- created_at?: Date | string
955
- updated_by?: number | null
956
- updated_at?: Date | string
957
- is_deleted?: boolean
958
- deleted_by?: number | null
959
- deleted_at?: Date | string | null
960
- budget?: Prisma.BudgetCreateNestedOneWithoutSupporting_documentsInput
961
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutSupporting_documentsInput
962
- }
963
-
964
- export type SupportingDocumentUncheckedCreateWithoutCategory_budgetInput = {
965
- id?: number
966
- uuid?: string | null
967
- budget_id?: number | null
968
- department_budget_id?: number | null
969
- file_name?: string | null
970
- original_name?: string | null
971
- file_path?: string | null
972
- file_size?: number | null
973
- mime_type?: string | null
974
- created_by?: number | null
975
- created_at?: Date | string
976
- updated_by?: number | null
977
- updated_at?: Date | string
978
- is_deleted?: boolean
979
- deleted_by?: number | null
980
- deleted_at?: Date | string | null
981
- }
982
-
983
- export type SupportingDocumentCreateOrConnectWithoutCategory_budgetInput = {
984
- where: Prisma.SupportingDocumentWhereUniqueInput
985
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput>
986
- }
987
-
988
- export type SupportingDocumentCreateManyCategory_budgetInputEnvelope = {
989
- data: Prisma.SupportingDocumentCreateManyCategory_budgetInput | Prisma.SupportingDocumentCreateManyCategory_budgetInput[]
990
- skipDuplicates?: boolean
991
- }
992
-
993
- export type SupportingDocumentUpsertWithWhereUniqueWithoutCategory_budgetInput = {
994
- where: Prisma.SupportingDocumentWhereUniqueInput
995
- update: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutCategory_budgetInput>
996
- create: Prisma.XOR<Prisma.SupportingDocumentCreateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedCreateWithoutCategory_budgetInput>
997
- }
998
-
999
- export type SupportingDocumentUpdateWithWhereUniqueWithoutCategory_budgetInput = {
1000
- where: Prisma.SupportingDocumentWhereUniqueInput
1001
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateWithoutCategory_budgetInput, Prisma.SupportingDocumentUncheckedUpdateWithoutCategory_budgetInput>
1002
- }
1003
-
1004
- export type SupportingDocumentUpdateManyWithWhereWithoutCategory_budgetInput = {
1005
- where: Prisma.SupportingDocumentScalarWhereInput
1006
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateManyMutationInput, Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetInput>
1007
- }
1008
-
1009
- export type SupportingDocumentCreateManyBudgetInput = {
1010
- id?: number
1011
- uuid?: string | null
1012
- department_budget_id?: number | null
1013
- category_budget_id?: number | null
1014
- file_name?: string | null
1015
- original_name?: string | null
1016
- file_path?: string | null
1017
- file_size?: number | null
1018
- mime_type?: string | null
1019
- created_by?: number | null
1020
- created_at?: Date | string
1021
- updated_by?: number | null
1022
- updated_at?: Date | string
1023
- is_deleted?: boolean
1024
- deleted_by?: number | null
1025
- deleted_at?: Date | string | null
1026
- }
1027
-
1028
- export type SupportingDocumentUpdateWithoutBudgetInput = {
1029
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1030
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1031
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1032
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1033
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1034
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1035
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1036
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1037
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1038
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1039
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1040
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1041
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1042
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutSupporting_documentsNestedInput
1043
- category_budget?: Prisma.CategoryBudgetUpdateOneWithoutSupporting_documentsNestedInput
1044
- }
1045
-
1046
- export type SupportingDocumentUncheckedUpdateWithoutBudgetInput = {
1047
- id?: Prisma.IntFieldUpdateOperationsInput | number
1048
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1049
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1050
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1051
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1052
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1054
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1055
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1056
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1057
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1058
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1059
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1060
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1061
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1062
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1063
- }
1064
-
1065
- export type SupportingDocumentUncheckedUpdateManyWithoutBudgetInput = {
1066
- id?: Prisma.IntFieldUpdateOperationsInput | number
1067
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1068
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1069
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1070
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1071
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1072
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1073
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1074
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1075
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1076
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1077
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1078
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1079
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1080
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1081
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1082
- }
1083
-
1084
- export type SupportingDocumentCreateManyDepartment_budgetInput = {
1085
- id?: number
1086
- uuid?: string | null
1087
- budget_id?: number | null
1088
- category_budget_id?: number | null
1089
- file_name?: string | null
1090
- original_name?: string | null
1091
- file_path?: string | null
1092
- file_size?: number | null
1093
- mime_type?: string | null
1094
- created_by?: number | null
1095
- created_at?: Date | string
1096
- updated_by?: number | null
1097
- updated_at?: Date | string
1098
- is_deleted?: boolean
1099
- deleted_by?: number | null
1100
- deleted_at?: Date | string | null
1101
- }
1102
-
1103
- export type SupportingDocumentUpdateWithoutDepartment_budgetInput = {
1104
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1105
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1106
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1107
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1109
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1110
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1111
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1112
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1113
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1114
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1115
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1116
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1117
- budget?: Prisma.BudgetUpdateOneWithoutSupporting_documentsNestedInput
1118
- category_budget?: Prisma.CategoryBudgetUpdateOneWithoutSupporting_documentsNestedInput
1119
- }
1120
-
1121
- export type SupportingDocumentUncheckedUpdateWithoutDepartment_budgetInput = {
1122
- id?: Prisma.IntFieldUpdateOperationsInput | number
1123
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1124
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1125
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1126
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1128
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1129
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1130
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1131
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1132
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1133
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1134
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1135
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1136
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1137
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1138
- }
1139
-
1140
- export type SupportingDocumentUncheckedUpdateManyWithoutDepartment_budgetInput = {
1141
- id?: Prisma.IntFieldUpdateOperationsInput | number
1142
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1143
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1144
- category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1145
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1146
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1147
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1148
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1149
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1150
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1151
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1152
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1153
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1154
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1155
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1156
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1157
- }
1158
-
1159
- export type SupportingDocumentCreateManyCategory_budgetInput = {
1160
- id?: number
1161
- uuid?: string | null
1162
- budget_id?: number | null
1163
- department_budget_id?: number | null
1164
- file_name?: string | null
1165
- original_name?: string | null
1166
- file_path?: string | null
1167
- file_size?: number | null
1168
- mime_type?: string | null
1169
- created_by?: number | null
1170
- created_at?: Date | string
1171
- updated_by?: number | null
1172
- updated_at?: Date | string
1173
- is_deleted?: boolean
1174
- deleted_by?: number | null
1175
- deleted_at?: Date | string | null
1176
- }
1177
-
1178
- export type SupportingDocumentUpdateWithoutCategory_budgetInput = {
1179
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1180
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1181
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1182
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1183
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1184
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1185
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1186
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1187
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1188
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1189
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1190
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1191
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1192
- budget?: Prisma.BudgetUpdateOneWithoutSupporting_documentsNestedInput
1193
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutSupporting_documentsNestedInput
1194
- }
1195
-
1196
- export type SupportingDocumentUncheckedUpdateWithoutCategory_budgetInput = {
1197
- id?: Prisma.IntFieldUpdateOperationsInput | number
1198
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1199
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1200
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1201
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1202
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1203
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1204
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1205
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1206
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1207
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1208
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1209
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1210
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1211
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1212
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1213
- }
1214
-
1215
- export type SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetInput = {
1216
- id?: Prisma.IntFieldUpdateOperationsInput | number
1217
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1218
- budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1219
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1220
- file_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1221
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1222
- file_path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1223
- file_size?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1224
- mime_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1225
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1226
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1227
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1228
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1229
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1230
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1231
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1232
- }
1233
-
1234
-
1235
-
1236
- export type SupportingDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1237
- id?: boolean
1238
- uuid?: boolean
1239
- budget_id?: boolean
1240
- department_budget_id?: boolean
1241
- category_budget_id?: boolean
1242
- file_name?: boolean
1243
- original_name?: boolean
1244
- file_path?: boolean
1245
- file_size?: boolean
1246
- mime_type?: boolean
1247
- created_by?: boolean
1248
- created_at?: boolean
1249
- updated_by?: boolean
1250
- updated_at?: boolean
1251
- is_deleted?: boolean
1252
- deleted_by?: boolean
1253
- deleted_at?: boolean
1254
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1255
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1256
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1257
- }, ExtArgs["result"]["supportingDocument"]>
1258
-
1259
- export type SupportingDocumentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1260
- id?: boolean
1261
- uuid?: boolean
1262
- budget_id?: boolean
1263
- department_budget_id?: boolean
1264
- category_budget_id?: boolean
1265
- file_name?: boolean
1266
- original_name?: boolean
1267
- file_path?: boolean
1268
- file_size?: boolean
1269
- mime_type?: boolean
1270
- created_by?: boolean
1271
- created_at?: boolean
1272
- updated_by?: boolean
1273
- updated_at?: boolean
1274
- is_deleted?: boolean
1275
- deleted_by?: boolean
1276
- deleted_at?: boolean
1277
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1278
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1279
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1280
- }, ExtArgs["result"]["supportingDocument"]>
1281
-
1282
- export type SupportingDocumentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1283
- id?: boolean
1284
- uuid?: boolean
1285
- budget_id?: boolean
1286
- department_budget_id?: boolean
1287
- category_budget_id?: boolean
1288
- file_name?: boolean
1289
- original_name?: boolean
1290
- file_path?: boolean
1291
- file_size?: boolean
1292
- mime_type?: boolean
1293
- created_by?: boolean
1294
- created_at?: boolean
1295
- updated_by?: boolean
1296
- updated_at?: boolean
1297
- is_deleted?: boolean
1298
- deleted_by?: boolean
1299
- deleted_at?: boolean
1300
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1301
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1302
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1303
- }, ExtArgs["result"]["supportingDocument"]>
1304
-
1305
- export type SupportingDocumentSelectScalar = {
1306
- id?: boolean
1307
- uuid?: boolean
1308
- budget_id?: boolean
1309
- department_budget_id?: boolean
1310
- category_budget_id?: boolean
1311
- file_name?: boolean
1312
- original_name?: boolean
1313
- file_path?: boolean
1314
- file_size?: boolean
1315
- mime_type?: boolean
1316
- created_by?: boolean
1317
- created_at?: boolean
1318
- updated_by?: boolean
1319
- updated_at?: boolean
1320
- is_deleted?: boolean
1321
- deleted_by?: boolean
1322
- deleted_at?: boolean
1323
- }
1324
-
1325
- export type SupportingDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "budget_id" | "department_budget_id" | "category_budget_id" | "file_name" | "original_name" | "file_path" | "file_size" | "mime_type" | "created_by" | "created_at" | "updated_by" | "updated_at" | "is_deleted" | "deleted_by" | "deleted_at", ExtArgs["result"]["supportingDocument"]>
1326
- export type SupportingDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1328
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1329
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1330
- }
1331
- export type SupportingDocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1332
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1333
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1334
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1335
- }
1336
- export type SupportingDocumentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1337
- budget?: boolean | Prisma.SupportingDocument$budgetArgs<ExtArgs>
1338
- department_budget?: boolean | Prisma.SupportingDocument$department_budgetArgs<ExtArgs>
1339
- category_budget?: boolean | Prisma.SupportingDocument$category_budgetArgs<ExtArgs>
1340
- }
1341
-
1342
- export type $SupportingDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1343
- name: "SupportingDocument"
1344
- objects: {
1345
- budget: Prisma.$BudgetPayload<ExtArgs> | null
1346
- department_budget: Prisma.$DepartmentBudgetPayload<ExtArgs> | null
1347
- category_budget: Prisma.$CategoryBudgetPayload<ExtArgs> | null
1348
- }
1349
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1350
- id: number
1351
- uuid: string | null
1352
- budget_id: number | null
1353
- department_budget_id: number | null
1354
- category_budget_id: number | null
1355
- file_name: string | null
1356
- original_name: string | null
1357
- file_path: string | null
1358
- file_size: number | null
1359
- mime_type: string | null
1360
- created_by: number | null
1361
- created_at: Date
1362
- updated_by: number | null
1363
- updated_at: Date
1364
- is_deleted: boolean
1365
- deleted_by: number | null
1366
- deleted_at: Date | null
1367
- }, ExtArgs["result"]["supportingDocument"]>
1368
- composites: {}
1369
- }
1370
-
1371
- export type SupportingDocumentGetPayload<S extends boolean | null | undefined | SupportingDocumentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload, S>
1372
-
1373
- export type SupportingDocumentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1374
- Omit<SupportingDocumentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1375
- select?: SupportingDocumentCountAggregateInputType | true
1376
- }
1377
-
1378
- export interface SupportingDocumentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1379
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SupportingDocument'], meta: { name: 'SupportingDocument' } }
1380
- /**
1381
- * Find zero or one SupportingDocument that matches the filter.
1382
- * @param {SupportingDocumentFindUniqueArgs} args - Arguments to find a SupportingDocument
1383
- * @example
1384
- * // Get one SupportingDocument
1385
- * const supportingDocument = await prisma.supportingDocument.findUnique({
1386
- * where: {
1387
- * // ... provide filter here
1388
- * }
1389
- * })
1390
- */
1391
- findUnique<T extends SupportingDocumentFindUniqueArgs>(args: Prisma.SelectSubset<T, SupportingDocumentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1392
-
1393
- /**
1394
- * Find one SupportingDocument that matches the filter or throw an error with `error.code='P2025'`
1395
- * if no matches were found.
1396
- * @param {SupportingDocumentFindUniqueOrThrowArgs} args - Arguments to find a SupportingDocument
1397
- * @example
1398
- * // Get one SupportingDocument
1399
- * const supportingDocument = await prisma.supportingDocument.findUniqueOrThrow({
1400
- * where: {
1401
- * // ... provide filter here
1402
- * }
1403
- * })
1404
- */
1405
- findUniqueOrThrow<T extends SupportingDocumentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SupportingDocumentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1406
-
1407
- /**
1408
- * Find the first SupportingDocument that matches the filter.
1409
- * Note, that providing `undefined` is treated as the value not being there.
1410
- * Read more here: https://pris.ly/d/null-undefined
1411
- * @param {SupportingDocumentFindFirstArgs} args - Arguments to find a SupportingDocument
1412
- * @example
1413
- * // Get one SupportingDocument
1414
- * const supportingDocument = await prisma.supportingDocument.findFirst({
1415
- * where: {
1416
- * // ... provide filter here
1417
- * }
1418
- * })
1419
- */
1420
- findFirst<T extends SupportingDocumentFindFirstArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentFindFirstArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1421
-
1422
- /**
1423
- * Find the first SupportingDocument that matches the filter or
1424
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1425
- * Note, that providing `undefined` is treated as the value not being there.
1426
- * Read more here: https://pris.ly/d/null-undefined
1427
- * @param {SupportingDocumentFindFirstOrThrowArgs} args - Arguments to find a SupportingDocument
1428
- * @example
1429
- * // Get one SupportingDocument
1430
- * const supportingDocument = await prisma.supportingDocument.findFirstOrThrow({
1431
- * where: {
1432
- * // ... provide filter here
1433
- * }
1434
- * })
1435
- */
1436
- findFirstOrThrow<T extends SupportingDocumentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1437
-
1438
- /**
1439
- * Find zero or more SupportingDocuments that matches the filter.
1440
- * Note, that providing `undefined` is treated as the value not being there.
1441
- * Read more here: https://pris.ly/d/null-undefined
1442
- * @param {SupportingDocumentFindManyArgs} args - Arguments to filter and select certain fields only.
1443
- * @example
1444
- * // Get all SupportingDocuments
1445
- * const supportingDocuments = await prisma.supportingDocument.findMany()
1446
- *
1447
- * // Get first 10 SupportingDocuments
1448
- * const supportingDocuments = await prisma.supportingDocument.findMany({ take: 10 })
1449
- *
1450
- * // Only select the `id`
1451
- * const supportingDocumentWithIdOnly = await prisma.supportingDocument.findMany({ select: { id: true } })
1452
- *
1453
- */
1454
- findMany<T extends SupportingDocumentFindManyArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1455
-
1456
- /**
1457
- * Create a SupportingDocument.
1458
- * @param {SupportingDocumentCreateArgs} args - Arguments to create a SupportingDocument.
1459
- * @example
1460
- * // Create one SupportingDocument
1461
- * const SupportingDocument = await prisma.supportingDocument.create({
1462
- * data: {
1463
- * // ... data to create a SupportingDocument
1464
- * }
1465
- * })
1466
- *
1467
- */
1468
- create<T extends SupportingDocumentCreateArgs>(args: Prisma.SelectSubset<T, SupportingDocumentCreateArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1469
-
1470
- /**
1471
- * Create many SupportingDocuments.
1472
- * @param {SupportingDocumentCreateManyArgs} args - Arguments to create many SupportingDocuments.
1473
- * @example
1474
- * // Create many SupportingDocuments
1475
- * const supportingDocument = await prisma.supportingDocument.createMany({
1476
- * data: [
1477
- * // ... provide data here
1478
- * ]
1479
- * })
1480
- *
1481
- */
1482
- createMany<T extends SupportingDocumentCreateManyArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1483
-
1484
- /**
1485
- * Create many SupportingDocuments and returns the data saved in the database.
1486
- * @param {SupportingDocumentCreateManyAndReturnArgs} args - Arguments to create many SupportingDocuments.
1487
- * @example
1488
- * // Create many SupportingDocuments
1489
- * const supportingDocument = await prisma.supportingDocument.createManyAndReturn({
1490
- * data: [
1491
- * // ... provide data here
1492
- * ]
1493
- * })
1494
- *
1495
- * // Create many SupportingDocuments and only return the `id`
1496
- * const supportingDocumentWithIdOnly = await prisma.supportingDocument.createManyAndReturn({
1497
- * select: { id: true },
1498
- * data: [
1499
- * // ... provide data here
1500
- * ]
1501
- * })
1502
- * Note, that providing `undefined` is treated as the value not being there.
1503
- * Read more here: https://pris.ly/d/null-undefined
1504
- *
1505
- */
1506
- createManyAndReturn<T extends SupportingDocumentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1507
-
1508
- /**
1509
- * Delete a SupportingDocument.
1510
- * @param {SupportingDocumentDeleteArgs} args - Arguments to delete one SupportingDocument.
1511
- * @example
1512
- * // Delete one SupportingDocument
1513
- * const SupportingDocument = await prisma.supportingDocument.delete({
1514
- * where: {
1515
- * // ... filter to delete one SupportingDocument
1516
- * }
1517
- * })
1518
- *
1519
- */
1520
- delete<T extends SupportingDocumentDeleteArgs>(args: Prisma.SelectSubset<T, SupportingDocumentDeleteArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1521
-
1522
- /**
1523
- * Update one SupportingDocument.
1524
- * @param {SupportingDocumentUpdateArgs} args - Arguments to update one SupportingDocument.
1525
- * @example
1526
- * // Update one SupportingDocument
1527
- * const supportingDocument = await prisma.supportingDocument.update({
1528
- * where: {
1529
- * // ... provide filter here
1530
- * },
1531
- * data: {
1532
- * // ... provide data here
1533
- * }
1534
- * })
1535
- *
1536
- */
1537
- update<T extends SupportingDocumentUpdateArgs>(args: Prisma.SelectSubset<T, SupportingDocumentUpdateArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1538
-
1539
- /**
1540
- * Delete zero or more SupportingDocuments.
1541
- * @param {SupportingDocumentDeleteManyArgs} args - Arguments to filter SupportingDocuments to delete.
1542
- * @example
1543
- * // Delete a few SupportingDocuments
1544
- * const { count } = await prisma.supportingDocument.deleteMany({
1545
- * where: {
1546
- * // ... provide filter here
1547
- * }
1548
- * })
1549
- *
1550
- */
1551
- deleteMany<T extends SupportingDocumentDeleteManyArgs>(args?: Prisma.SelectSubset<T, SupportingDocumentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1552
-
1553
- /**
1554
- * Update zero or more SupportingDocuments.
1555
- * Note, that providing `undefined` is treated as the value not being there.
1556
- * Read more here: https://pris.ly/d/null-undefined
1557
- * @param {SupportingDocumentUpdateManyArgs} args - Arguments to update one or more rows.
1558
- * @example
1559
- * // Update many SupportingDocuments
1560
- * const supportingDocument = await prisma.supportingDocument.updateMany({
1561
- * where: {
1562
- * // ... provide filter here
1563
- * },
1564
- * data: {
1565
- * // ... provide data here
1566
- * }
1567
- * })
1568
- *
1569
- */
1570
- updateMany<T extends SupportingDocumentUpdateManyArgs>(args: Prisma.SelectSubset<T, SupportingDocumentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1571
-
1572
- /**
1573
- * Update zero or more SupportingDocuments and returns the data updated in the database.
1574
- * @param {SupportingDocumentUpdateManyAndReturnArgs} args - Arguments to update many SupportingDocuments.
1575
- * @example
1576
- * // Update many SupportingDocuments
1577
- * const supportingDocument = await prisma.supportingDocument.updateManyAndReturn({
1578
- * where: {
1579
- * // ... provide filter here
1580
- * },
1581
- * data: [
1582
- * // ... provide data here
1583
- * ]
1584
- * })
1585
- *
1586
- * // Update zero or more SupportingDocuments and only return the `id`
1587
- * const supportingDocumentWithIdOnly = await prisma.supportingDocument.updateManyAndReturn({
1588
- * select: { id: true },
1589
- * where: {
1590
- * // ... provide filter here
1591
- * },
1592
- * data: [
1593
- * // ... provide data here
1594
- * ]
1595
- * })
1596
- * Note, that providing `undefined` is treated as the value not being there.
1597
- * Read more here: https://pris.ly/d/null-undefined
1598
- *
1599
- */
1600
- updateManyAndReturn<T extends SupportingDocumentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SupportingDocumentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1601
-
1602
- /**
1603
- * Create or update one SupportingDocument.
1604
- * @param {SupportingDocumentUpsertArgs} args - Arguments to update or create a SupportingDocument.
1605
- * @example
1606
- * // Update or create a SupportingDocument
1607
- * const supportingDocument = await prisma.supportingDocument.upsert({
1608
- * create: {
1609
- * // ... data to create a SupportingDocument
1610
- * },
1611
- * update: {
1612
- * // ... in case it already exists, update
1613
- * },
1614
- * where: {
1615
- * // ... the filter for the SupportingDocument we want to update
1616
- * }
1617
- * })
1618
- */
1619
- upsert<T extends SupportingDocumentUpsertArgs>(args: Prisma.SelectSubset<T, SupportingDocumentUpsertArgs<ExtArgs>>): Prisma.Prisma__SupportingDocumentClient<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1620
-
1621
-
1622
- /**
1623
- * Count the number of SupportingDocuments.
1624
- * Note, that providing `undefined` is treated as the value not being there.
1625
- * Read more here: https://pris.ly/d/null-undefined
1626
- * @param {SupportingDocumentCountArgs} args - Arguments to filter SupportingDocuments to count.
1627
- * @example
1628
- * // Count the number of SupportingDocuments
1629
- * const count = await prisma.supportingDocument.count({
1630
- * where: {
1631
- * // ... the filter for the SupportingDocuments we want to count
1632
- * }
1633
- * })
1634
- **/
1635
- count<T extends SupportingDocumentCountArgs>(
1636
- args?: Prisma.Subset<T, SupportingDocumentCountArgs>,
1637
- ): Prisma.PrismaPromise<
1638
- T extends runtime.Types.Utils.Record<'select', any>
1639
- ? T['select'] extends true
1640
- ? number
1641
- : Prisma.GetScalarType<T['select'], SupportingDocumentCountAggregateOutputType>
1642
- : number
1643
- >
1644
-
1645
- /**
1646
- * Allows you to perform aggregations operations on a SupportingDocument.
1647
- * Note, that providing `undefined` is treated as the value not being there.
1648
- * Read more here: https://pris.ly/d/null-undefined
1649
- * @param {SupportingDocumentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1650
- * @example
1651
- * // Ordered by age ascending
1652
- * // Where email contains prisma.io
1653
- * // Limited to the 10 users
1654
- * const aggregations = await prisma.user.aggregate({
1655
- * _avg: {
1656
- * age: true,
1657
- * },
1658
- * where: {
1659
- * email: {
1660
- * contains: "prisma.io",
1661
- * },
1662
- * },
1663
- * orderBy: {
1664
- * age: "asc",
1665
- * },
1666
- * take: 10,
1667
- * })
1668
- **/
1669
- aggregate<T extends SupportingDocumentAggregateArgs>(args: Prisma.Subset<T, SupportingDocumentAggregateArgs>): Prisma.PrismaPromise<GetSupportingDocumentAggregateType<T>>
1670
-
1671
- /**
1672
- * Group by SupportingDocument.
1673
- * Note, that providing `undefined` is treated as the value not being there.
1674
- * Read more here: https://pris.ly/d/null-undefined
1675
- * @param {SupportingDocumentGroupByArgs} args - Group by arguments.
1676
- * @example
1677
- * // Group by city, order by createdAt, get count
1678
- * const result = await prisma.user.groupBy({
1679
- * by: ['city', 'createdAt'],
1680
- * orderBy: {
1681
- * createdAt: true
1682
- * },
1683
- * _count: {
1684
- * _all: true
1685
- * },
1686
- * })
1687
- *
1688
- **/
1689
- groupBy<
1690
- T extends SupportingDocumentGroupByArgs,
1691
- HasSelectOrTake extends Prisma.Or<
1692
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1693
- Prisma.Extends<'take', Prisma.Keys<T>>
1694
- >,
1695
- OrderByArg extends Prisma.True extends HasSelectOrTake
1696
- ? { orderBy: SupportingDocumentGroupByArgs['orderBy'] }
1697
- : { orderBy?: SupportingDocumentGroupByArgs['orderBy'] },
1698
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1699
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1700
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1701
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1702
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1703
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1704
- InputErrors extends ByEmpty extends Prisma.True
1705
- ? `Error: "by" must not be empty.`
1706
- : HavingValid extends Prisma.False
1707
- ? {
1708
- [P in HavingFields]: P extends ByFields
1709
- ? never
1710
- : P extends string
1711
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1712
- : [
1713
- Error,
1714
- 'Field ',
1715
- P,
1716
- ` in "having" needs to be provided in "by"`,
1717
- ]
1718
- }[HavingFields]
1719
- : 'take' extends Prisma.Keys<T>
1720
- ? 'orderBy' extends Prisma.Keys<T>
1721
- ? ByValid extends Prisma.True
1722
- ? {}
1723
- : {
1724
- [P in OrderFields]: P extends ByFields
1725
- ? never
1726
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1727
- }[OrderFields]
1728
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1729
- : 'skip' extends Prisma.Keys<T>
1730
- ? 'orderBy' extends Prisma.Keys<T>
1731
- ? ByValid extends Prisma.True
1732
- ? {}
1733
- : {
1734
- [P in OrderFields]: P extends ByFields
1735
- ? never
1736
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1737
- }[OrderFields]
1738
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1739
- : ByValid extends Prisma.True
1740
- ? {}
1741
- : {
1742
- [P in OrderFields]: P extends ByFields
1743
- ? never
1744
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1745
- }[OrderFields]
1746
- >(args: Prisma.SubsetIntersection<T, SupportingDocumentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSupportingDocumentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1747
- /**
1748
- * Fields of the SupportingDocument model
1749
- */
1750
- readonly fields: SupportingDocumentFieldRefs;
1751
- }
1752
-
1753
- /**
1754
- * The delegate class that acts as a "Promise-like" for SupportingDocument.
1755
- * Why is this prefixed with `Prisma__`?
1756
- * Because we want to prevent naming conflicts as mentioned in
1757
- * https://github.com/prisma/prisma-client-js/issues/707
1758
- */
1759
- export interface Prisma__SupportingDocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1760
- readonly [Symbol.toStringTag]: "PrismaPromise"
1761
- budget<T extends Prisma.SupportingDocument$budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportingDocument$budgetArgs<ExtArgs>>): Prisma.Prisma__BudgetClient<runtime.Types.Result.GetResult<Prisma.$BudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1762
- department_budget<T extends Prisma.SupportingDocument$department_budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportingDocument$department_budgetArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1763
- category_budget<T extends Prisma.SupportingDocument$category_budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportingDocument$category_budgetArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1764
- /**
1765
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1766
- * @param onfulfilled The callback to execute when the Promise is resolved.
1767
- * @param onrejected The callback to execute when the Promise is rejected.
1768
- * @returns A Promise for the completion of which ever callback is executed.
1769
- */
1770
- 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>
1771
- /**
1772
- * Attaches a callback for only the rejection of the Promise.
1773
- * @param onrejected The callback to execute when the Promise is rejected.
1774
- * @returns A Promise for the completion of the callback.
1775
- */
1776
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1777
- /**
1778
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1779
- * resolved value cannot be modified from the callback.
1780
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1781
- * @returns A Promise for the completion of the callback.
1782
- */
1783
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1784
- }
1785
-
1786
-
1787
-
1788
-
1789
- /**
1790
- * Fields of the SupportingDocument model
1791
- */
1792
- export interface SupportingDocumentFieldRefs {
1793
- readonly id: Prisma.FieldRef<"SupportingDocument", 'Int'>
1794
- readonly uuid: Prisma.FieldRef<"SupportingDocument", 'String'>
1795
- readonly budget_id: Prisma.FieldRef<"SupportingDocument", 'Int'>
1796
- readonly department_budget_id: Prisma.FieldRef<"SupportingDocument", 'Int'>
1797
- readonly category_budget_id: Prisma.FieldRef<"SupportingDocument", 'Int'>
1798
- readonly file_name: Prisma.FieldRef<"SupportingDocument", 'String'>
1799
- readonly original_name: Prisma.FieldRef<"SupportingDocument", 'String'>
1800
- readonly file_path: Prisma.FieldRef<"SupportingDocument", 'String'>
1801
- readonly file_size: Prisma.FieldRef<"SupportingDocument", 'Int'>
1802
- readonly mime_type: Prisma.FieldRef<"SupportingDocument", 'String'>
1803
- readonly created_by: Prisma.FieldRef<"SupportingDocument", 'Int'>
1804
- readonly created_at: Prisma.FieldRef<"SupportingDocument", 'DateTime'>
1805
- readonly updated_by: Prisma.FieldRef<"SupportingDocument", 'Int'>
1806
- readonly updated_at: Prisma.FieldRef<"SupportingDocument", 'DateTime'>
1807
- readonly is_deleted: Prisma.FieldRef<"SupportingDocument", 'Boolean'>
1808
- readonly deleted_by: Prisma.FieldRef<"SupportingDocument", 'Int'>
1809
- readonly deleted_at: Prisma.FieldRef<"SupportingDocument", 'DateTime'>
1810
- }
1811
-
1812
-
1813
- // Custom InputTypes
1814
- /**
1815
- * SupportingDocument findUnique
1816
- */
1817
- export type SupportingDocumentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1818
- /**
1819
- * Select specific fields to fetch from the SupportingDocument
1820
- */
1821
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
1822
- /**
1823
- * Omit specific fields from the SupportingDocument
1824
- */
1825
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
1826
- /**
1827
- * Choose, which related nodes to fetch as well
1828
- */
1829
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
1830
- /**
1831
- * Filter, which SupportingDocument to fetch.
1832
- */
1833
- where: Prisma.SupportingDocumentWhereUniqueInput
1834
- }
1835
-
1836
- /**
1837
- * SupportingDocument findUniqueOrThrow
1838
- */
1839
- export type SupportingDocumentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1840
- /**
1841
- * Select specific fields to fetch from the SupportingDocument
1842
- */
1843
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
1844
- /**
1845
- * Omit specific fields from the SupportingDocument
1846
- */
1847
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
1848
- /**
1849
- * Choose, which related nodes to fetch as well
1850
- */
1851
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
1852
- /**
1853
- * Filter, which SupportingDocument to fetch.
1854
- */
1855
- where: Prisma.SupportingDocumentWhereUniqueInput
1856
- }
1857
-
1858
- /**
1859
- * SupportingDocument findFirst
1860
- */
1861
- export type SupportingDocumentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1862
- /**
1863
- * Select specific fields to fetch from the SupportingDocument
1864
- */
1865
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
1866
- /**
1867
- * Omit specific fields from the SupportingDocument
1868
- */
1869
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
1870
- /**
1871
- * Choose, which related nodes to fetch as well
1872
- */
1873
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
1874
- /**
1875
- * Filter, which SupportingDocument to fetch.
1876
- */
1877
- where?: Prisma.SupportingDocumentWhereInput
1878
- /**
1879
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1880
- *
1881
- * Determine the order of SupportingDocuments to fetch.
1882
- */
1883
- orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
1884
- /**
1885
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1886
- *
1887
- * Sets the position for searching for SupportingDocuments.
1888
- */
1889
- cursor?: Prisma.SupportingDocumentWhereUniqueInput
1890
- /**
1891
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1892
- *
1893
- * Take `±n` SupportingDocuments from the position of the cursor.
1894
- */
1895
- take?: number
1896
- /**
1897
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1898
- *
1899
- * Skip the first `n` SupportingDocuments.
1900
- */
1901
- skip?: number
1902
- /**
1903
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1904
- *
1905
- * Filter by unique combinations of SupportingDocuments.
1906
- */
1907
- distinct?: Prisma.SupportingDocumentScalarFieldEnum | Prisma.SupportingDocumentScalarFieldEnum[]
1908
- }
1909
-
1910
- /**
1911
- * SupportingDocument findFirstOrThrow
1912
- */
1913
- export type SupportingDocumentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1914
- /**
1915
- * Select specific fields to fetch from the SupportingDocument
1916
- */
1917
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
1918
- /**
1919
- * Omit specific fields from the SupportingDocument
1920
- */
1921
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
1922
- /**
1923
- * Choose, which related nodes to fetch as well
1924
- */
1925
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
1926
- /**
1927
- * Filter, which SupportingDocument to fetch.
1928
- */
1929
- where?: Prisma.SupportingDocumentWhereInput
1930
- /**
1931
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1932
- *
1933
- * Determine the order of SupportingDocuments to fetch.
1934
- */
1935
- orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
1936
- /**
1937
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1938
- *
1939
- * Sets the position for searching for SupportingDocuments.
1940
- */
1941
- cursor?: Prisma.SupportingDocumentWhereUniqueInput
1942
- /**
1943
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1944
- *
1945
- * Take `±n` SupportingDocuments from the position of the cursor.
1946
- */
1947
- take?: number
1948
- /**
1949
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1950
- *
1951
- * Skip the first `n` SupportingDocuments.
1952
- */
1953
- skip?: number
1954
- /**
1955
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1956
- *
1957
- * Filter by unique combinations of SupportingDocuments.
1958
- */
1959
- distinct?: Prisma.SupportingDocumentScalarFieldEnum | Prisma.SupportingDocumentScalarFieldEnum[]
1960
- }
1961
-
1962
- /**
1963
- * SupportingDocument findMany
1964
- */
1965
- export type SupportingDocumentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1966
- /**
1967
- * Select specific fields to fetch from the SupportingDocument
1968
- */
1969
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
1970
- /**
1971
- * Omit specific fields from the SupportingDocument
1972
- */
1973
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
1974
- /**
1975
- * Choose, which related nodes to fetch as well
1976
- */
1977
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
1978
- /**
1979
- * Filter, which SupportingDocuments to fetch.
1980
- */
1981
- where?: Prisma.SupportingDocumentWhereInput
1982
- /**
1983
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1984
- *
1985
- * Determine the order of SupportingDocuments to fetch.
1986
- */
1987
- orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
1988
- /**
1989
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1990
- *
1991
- * Sets the position for listing SupportingDocuments.
1992
- */
1993
- cursor?: Prisma.SupportingDocumentWhereUniqueInput
1994
- /**
1995
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1996
- *
1997
- * Take `±n` SupportingDocuments from the position of the cursor.
1998
- */
1999
- take?: number
2000
- /**
2001
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2002
- *
2003
- * Skip the first `n` SupportingDocuments.
2004
- */
2005
- skip?: number
2006
- /**
2007
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2008
- *
2009
- * Filter by unique combinations of SupportingDocuments.
2010
- */
2011
- distinct?: Prisma.SupportingDocumentScalarFieldEnum | Prisma.SupportingDocumentScalarFieldEnum[]
2012
- }
2013
-
2014
- /**
2015
- * SupportingDocument create
2016
- */
2017
- export type SupportingDocumentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2018
- /**
2019
- * Select specific fields to fetch from the SupportingDocument
2020
- */
2021
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2022
- /**
2023
- * Omit specific fields from the SupportingDocument
2024
- */
2025
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2026
- /**
2027
- * Choose, which related nodes to fetch as well
2028
- */
2029
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2030
- /**
2031
- * The data needed to create a SupportingDocument.
2032
- */
2033
- data: Prisma.XOR<Prisma.SupportingDocumentCreateInput, Prisma.SupportingDocumentUncheckedCreateInput>
2034
- }
2035
-
2036
- /**
2037
- * SupportingDocument createMany
2038
- */
2039
- export type SupportingDocumentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2040
- /**
2041
- * The data used to create many SupportingDocuments.
2042
- */
2043
- data: Prisma.SupportingDocumentCreateManyInput | Prisma.SupportingDocumentCreateManyInput[]
2044
- skipDuplicates?: boolean
2045
- }
2046
-
2047
- /**
2048
- * SupportingDocument createManyAndReturn
2049
- */
2050
- export type SupportingDocumentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2051
- /**
2052
- * Select specific fields to fetch from the SupportingDocument
2053
- */
2054
- select?: Prisma.SupportingDocumentSelectCreateManyAndReturn<ExtArgs> | null
2055
- /**
2056
- * Omit specific fields from the SupportingDocument
2057
- */
2058
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2059
- /**
2060
- * The data used to create many SupportingDocuments.
2061
- */
2062
- data: Prisma.SupportingDocumentCreateManyInput | Prisma.SupportingDocumentCreateManyInput[]
2063
- skipDuplicates?: boolean
2064
- /**
2065
- * Choose, which related nodes to fetch as well
2066
- */
2067
- include?: Prisma.SupportingDocumentIncludeCreateManyAndReturn<ExtArgs> | null
2068
- }
2069
-
2070
- /**
2071
- * SupportingDocument update
2072
- */
2073
- export type SupportingDocumentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2074
- /**
2075
- * Select specific fields to fetch from the SupportingDocument
2076
- */
2077
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2078
- /**
2079
- * Omit specific fields from the SupportingDocument
2080
- */
2081
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2082
- /**
2083
- * Choose, which related nodes to fetch as well
2084
- */
2085
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2086
- /**
2087
- * The data needed to update a SupportingDocument.
2088
- */
2089
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateInput, Prisma.SupportingDocumentUncheckedUpdateInput>
2090
- /**
2091
- * Choose, which SupportingDocument to update.
2092
- */
2093
- where: Prisma.SupportingDocumentWhereUniqueInput
2094
- }
2095
-
2096
- /**
2097
- * SupportingDocument updateMany
2098
- */
2099
- export type SupportingDocumentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2100
- /**
2101
- * The data used to update SupportingDocuments.
2102
- */
2103
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateManyMutationInput, Prisma.SupportingDocumentUncheckedUpdateManyInput>
2104
- /**
2105
- * Filter which SupportingDocuments to update
2106
- */
2107
- where?: Prisma.SupportingDocumentWhereInput
2108
- /**
2109
- * Limit how many SupportingDocuments to update.
2110
- */
2111
- limit?: number
2112
- }
2113
-
2114
- /**
2115
- * SupportingDocument updateManyAndReturn
2116
- */
2117
- export type SupportingDocumentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2118
- /**
2119
- * Select specific fields to fetch from the SupportingDocument
2120
- */
2121
- select?: Prisma.SupportingDocumentSelectUpdateManyAndReturn<ExtArgs> | null
2122
- /**
2123
- * Omit specific fields from the SupportingDocument
2124
- */
2125
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2126
- /**
2127
- * The data used to update SupportingDocuments.
2128
- */
2129
- data: Prisma.XOR<Prisma.SupportingDocumentUpdateManyMutationInput, Prisma.SupportingDocumentUncheckedUpdateManyInput>
2130
- /**
2131
- * Filter which SupportingDocuments to update
2132
- */
2133
- where?: Prisma.SupportingDocumentWhereInput
2134
- /**
2135
- * Limit how many SupportingDocuments to update.
2136
- */
2137
- limit?: number
2138
- /**
2139
- * Choose, which related nodes to fetch as well
2140
- */
2141
- include?: Prisma.SupportingDocumentIncludeUpdateManyAndReturn<ExtArgs> | null
2142
- }
2143
-
2144
- /**
2145
- * SupportingDocument upsert
2146
- */
2147
- export type SupportingDocumentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2148
- /**
2149
- * Select specific fields to fetch from the SupportingDocument
2150
- */
2151
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2152
- /**
2153
- * Omit specific fields from the SupportingDocument
2154
- */
2155
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2156
- /**
2157
- * Choose, which related nodes to fetch as well
2158
- */
2159
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2160
- /**
2161
- * The filter to search for the SupportingDocument to update in case it exists.
2162
- */
2163
- where: Prisma.SupportingDocumentWhereUniqueInput
2164
- /**
2165
- * In case the SupportingDocument found by the `where` argument doesn't exist, create a new SupportingDocument with this data.
2166
- */
2167
- create: Prisma.XOR<Prisma.SupportingDocumentCreateInput, Prisma.SupportingDocumentUncheckedCreateInput>
2168
- /**
2169
- * In case the SupportingDocument was found with the provided `where` argument, update it with this data.
2170
- */
2171
- update: Prisma.XOR<Prisma.SupportingDocumentUpdateInput, Prisma.SupportingDocumentUncheckedUpdateInput>
2172
- }
2173
-
2174
- /**
2175
- * SupportingDocument delete
2176
- */
2177
- export type SupportingDocumentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2178
- /**
2179
- * Select specific fields to fetch from the SupportingDocument
2180
- */
2181
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2182
- /**
2183
- * Omit specific fields from the SupportingDocument
2184
- */
2185
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2186
- /**
2187
- * Choose, which related nodes to fetch as well
2188
- */
2189
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2190
- /**
2191
- * Filter which SupportingDocument to delete.
2192
- */
2193
- where: Prisma.SupportingDocumentWhereUniqueInput
2194
- }
2195
-
2196
- /**
2197
- * SupportingDocument deleteMany
2198
- */
2199
- export type SupportingDocumentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2200
- /**
2201
- * Filter which SupportingDocuments to delete
2202
- */
2203
- where?: Prisma.SupportingDocumentWhereInput
2204
- /**
2205
- * Limit how many SupportingDocuments to delete.
2206
- */
2207
- limit?: number
2208
- }
2209
-
2210
- /**
2211
- * SupportingDocument.budget
2212
- */
2213
- export type SupportingDocument$budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2214
- /**
2215
- * Select specific fields to fetch from the Budget
2216
- */
2217
- select?: Prisma.BudgetSelect<ExtArgs> | null
2218
- /**
2219
- * Omit specific fields from the Budget
2220
- */
2221
- omit?: Prisma.BudgetOmit<ExtArgs> | null
2222
- /**
2223
- * Choose, which related nodes to fetch as well
2224
- */
2225
- include?: Prisma.BudgetInclude<ExtArgs> | null
2226
- where?: Prisma.BudgetWhereInput
2227
- }
2228
-
2229
- /**
2230
- * SupportingDocument.department_budget
2231
- */
2232
- export type SupportingDocument$department_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2233
- /**
2234
- * Select specific fields to fetch from the DepartmentBudget
2235
- */
2236
- select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
2237
- /**
2238
- * Omit specific fields from the DepartmentBudget
2239
- */
2240
- omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
2241
- /**
2242
- * Choose, which related nodes to fetch as well
2243
- */
2244
- include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
2245
- where?: Prisma.DepartmentBudgetWhereInput
2246
- }
2247
-
2248
- /**
2249
- * SupportingDocument.category_budget
2250
- */
2251
- export type SupportingDocument$category_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2252
- /**
2253
- * Select specific fields to fetch from the CategoryBudget
2254
- */
2255
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2256
- /**
2257
- * Omit specific fields from the CategoryBudget
2258
- */
2259
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2260
- /**
2261
- * Choose, which related nodes to fetch as well
2262
- */
2263
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2264
- where?: Prisma.CategoryBudgetWhereInput
2265
- }
2266
-
2267
- /**
2268
- * SupportingDocument without action
2269
- */
2270
- export type SupportingDocumentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2271
- /**
2272
- * Select specific fields to fetch from the SupportingDocument
2273
- */
2274
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2275
- /**
2276
- * Omit specific fields from the SupportingDocument
2277
- */
2278
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2279
- /**
2280
- * Choose, which related nodes to fetch as well
2281
- */
2282
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2283
- }