procbay-schema 1.0.171 → 1.0.174

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 (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2690 +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 `CategoryBudget` 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 CategoryBudget
17
- *
18
- */
19
- export type CategoryBudgetModel = runtime.Types.Result.DefaultSelection<Prisma.$CategoryBudgetPayload>
20
-
21
- export type AggregateCategoryBudget = {
22
- _count: CategoryBudgetCountAggregateOutputType | null
23
- _avg: CategoryBudgetAvgAggregateOutputType | null
24
- _sum: CategoryBudgetSumAggregateOutputType | null
25
- _min: CategoryBudgetMinAggregateOutputType | null
26
- _max: CategoryBudgetMaxAggregateOutputType | null
27
- }
28
-
29
- export type CategoryBudgetAvgAggregateOutputType = {
30
- id: number | null
31
- department_budget_id: number | null
32
- category_id: number | null
33
- initial_allocated_budget: runtime.Decimal | null
34
- allocated_budget: runtime.Decimal | null
35
- remaining_budget: runtime.Decimal | null
36
- total_held_amount: runtime.Decimal | null
37
- crated_by: number | null
38
- updated_by: number | null
39
- deleted_by: number | null
40
- }
41
-
42
- export type CategoryBudgetSumAggregateOutputType = {
43
- id: number | null
44
- department_budget_id: number | null
45
- category_id: number | null
46
- initial_allocated_budget: runtime.Decimal | null
47
- allocated_budget: runtime.Decimal | null
48
- remaining_budget: runtime.Decimal | null
49
- total_held_amount: runtime.Decimal | null
50
- crated_by: number | null
51
- updated_by: number | null
52
- deleted_by: number | null
53
- }
54
-
55
- export type CategoryBudgetMinAggregateOutputType = {
56
- id: number | null
57
- uuid: string | null
58
- department_budget_id: number | null
59
- category_id: number | null
60
- initial_allocated_budget: runtime.Decimal | null
61
- allocated_budget: runtime.Decimal | null
62
- remaining_budget: runtime.Decimal | null
63
- fiscal_year: string | null
64
- notes: string | null
65
- description: string | null
66
- total_held_amount: runtime.Decimal | null
67
- crated_by: number | null
68
- created_at: Date | null
69
- updated_by: number | null
70
- updated_at: Date | null
71
- is_deleted: boolean | null
72
- deleted_by: number | null
73
- deleted_at: Date | null
74
- }
75
-
76
- export type CategoryBudgetMaxAggregateOutputType = {
77
- id: number | null
78
- uuid: string | null
79
- department_budget_id: number | null
80
- category_id: number | null
81
- initial_allocated_budget: runtime.Decimal | null
82
- allocated_budget: runtime.Decimal | null
83
- remaining_budget: runtime.Decimal | null
84
- fiscal_year: string | null
85
- notes: string | null
86
- description: string | null
87
- total_held_amount: runtime.Decimal | null
88
- crated_by: number | null
89
- created_at: Date | null
90
- updated_by: number | null
91
- updated_at: Date | null
92
- is_deleted: boolean | null
93
- deleted_by: number | null
94
- deleted_at: Date | null
95
- }
96
-
97
- export type CategoryBudgetCountAggregateOutputType = {
98
- id: number
99
- uuid: number
100
- department_budget_id: number
101
- category_id: number
102
- initial_allocated_budget: number
103
- allocated_budget: number
104
- remaining_budget: number
105
- fiscal_year: number
106
- notes: number
107
- description: number
108
- total_held_amount: number
109
- crated_by: number
110
- created_at: number
111
- updated_by: number
112
- updated_at: number
113
- is_deleted: number
114
- deleted_by: number
115
- deleted_at: number
116
- _all: number
117
- }
118
-
119
-
120
- export type CategoryBudgetAvgAggregateInputType = {
121
- id?: true
122
- department_budget_id?: true
123
- category_id?: true
124
- initial_allocated_budget?: true
125
- allocated_budget?: true
126
- remaining_budget?: true
127
- total_held_amount?: true
128
- crated_by?: true
129
- updated_by?: true
130
- deleted_by?: true
131
- }
132
-
133
- export type CategoryBudgetSumAggregateInputType = {
134
- id?: true
135
- department_budget_id?: true
136
- category_id?: true
137
- initial_allocated_budget?: true
138
- allocated_budget?: true
139
- remaining_budget?: true
140
- total_held_amount?: true
141
- crated_by?: true
142
- updated_by?: true
143
- deleted_by?: true
144
- }
145
-
146
- export type CategoryBudgetMinAggregateInputType = {
147
- id?: true
148
- uuid?: true
149
- department_budget_id?: true
150
- category_id?: true
151
- initial_allocated_budget?: true
152
- allocated_budget?: true
153
- remaining_budget?: true
154
- fiscal_year?: true
155
- notes?: true
156
- description?: true
157
- total_held_amount?: true
158
- crated_by?: true
159
- created_at?: true
160
- updated_by?: true
161
- updated_at?: true
162
- is_deleted?: true
163
- deleted_by?: true
164
- deleted_at?: true
165
- }
166
-
167
- export type CategoryBudgetMaxAggregateInputType = {
168
- id?: true
169
- uuid?: true
170
- department_budget_id?: true
171
- category_id?: true
172
- initial_allocated_budget?: true
173
- allocated_budget?: true
174
- remaining_budget?: true
175
- fiscal_year?: true
176
- notes?: true
177
- description?: true
178
- total_held_amount?: true
179
- crated_by?: true
180
- created_at?: true
181
- updated_by?: true
182
- updated_at?: true
183
- is_deleted?: true
184
- deleted_by?: true
185
- deleted_at?: true
186
- }
187
-
188
- export type CategoryBudgetCountAggregateInputType = {
189
- id?: true
190
- uuid?: true
191
- department_budget_id?: true
192
- category_id?: true
193
- initial_allocated_budget?: true
194
- allocated_budget?: true
195
- remaining_budget?: true
196
- fiscal_year?: true
197
- notes?: true
198
- description?: true
199
- total_held_amount?: true
200
- crated_by?: true
201
- created_at?: true
202
- updated_by?: true
203
- updated_at?: true
204
- is_deleted?: true
205
- deleted_by?: true
206
- deleted_at?: true
207
- _all?: true
208
- }
209
-
210
- export type CategoryBudgetAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
211
- /**
212
- * Filter which CategoryBudget to aggregate.
213
- */
214
- where?: Prisma.CategoryBudgetWhereInput
215
- /**
216
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
217
- *
218
- * Determine the order of CategoryBudgets to fetch.
219
- */
220
- orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
221
- /**
222
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
223
- *
224
- * Sets the start position
225
- */
226
- cursor?: Prisma.CategoryBudgetWhereUniqueInput
227
- /**
228
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
229
- *
230
- * Take `±n` CategoryBudgets from the position of the cursor.
231
- */
232
- take?: number
233
- /**
234
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
235
- *
236
- * Skip the first `n` CategoryBudgets.
237
- */
238
- skip?: number
239
- /**
240
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
241
- *
242
- * Count returned CategoryBudgets
243
- **/
244
- _count?: true | CategoryBudgetCountAggregateInputType
245
- /**
246
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
247
- *
248
- * Select which fields to average
249
- **/
250
- _avg?: CategoryBudgetAvgAggregateInputType
251
- /**
252
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
253
- *
254
- * Select which fields to sum
255
- **/
256
- _sum?: CategoryBudgetSumAggregateInputType
257
- /**
258
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
259
- *
260
- * Select which fields to find the minimum value
261
- **/
262
- _min?: CategoryBudgetMinAggregateInputType
263
- /**
264
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
265
- *
266
- * Select which fields to find the maximum value
267
- **/
268
- _max?: CategoryBudgetMaxAggregateInputType
269
- }
270
-
271
- export type GetCategoryBudgetAggregateType<T extends CategoryBudgetAggregateArgs> = {
272
- [P in keyof T & keyof AggregateCategoryBudget]: P extends '_count' | 'count'
273
- ? T[P] extends true
274
- ? number
275
- : Prisma.GetScalarType<T[P], AggregateCategoryBudget[P]>
276
- : Prisma.GetScalarType<T[P], AggregateCategoryBudget[P]>
277
- }
278
-
279
-
280
-
281
-
282
- export type CategoryBudgetGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
283
- where?: Prisma.CategoryBudgetWhereInput
284
- orderBy?: Prisma.CategoryBudgetOrderByWithAggregationInput | Prisma.CategoryBudgetOrderByWithAggregationInput[]
285
- by: Prisma.CategoryBudgetScalarFieldEnum[] | Prisma.CategoryBudgetScalarFieldEnum
286
- having?: Prisma.CategoryBudgetScalarWhereWithAggregatesInput
287
- take?: number
288
- skip?: number
289
- _count?: CategoryBudgetCountAggregateInputType | true
290
- _avg?: CategoryBudgetAvgAggregateInputType
291
- _sum?: CategoryBudgetSumAggregateInputType
292
- _min?: CategoryBudgetMinAggregateInputType
293
- _max?: CategoryBudgetMaxAggregateInputType
294
- }
295
-
296
- export type CategoryBudgetGroupByOutputType = {
297
- id: number
298
- uuid: string | null
299
- department_budget_id: number | null
300
- category_id: number | null
301
- initial_allocated_budget: runtime.Decimal | null
302
- allocated_budget: runtime.Decimal
303
- remaining_budget: runtime.Decimal
304
- fiscal_year: string | null
305
- notes: string | null
306
- description: string | null
307
- total_held_amount: runtime.Decimal
308
- crated_by: number | null
309
- created_at: Date
310
- updated_by: number | null
311
- updated_at: Date
312
- is_deleted: boolean
313
- deleted_by: number | null
314
- deleted_at: Date | null
315
- _count: CategoryBudgetCountAggregateOutputType | null
316
- _avg: CategoryBudgetAvgAggregateOutputType | null
317
- _sum: CategoryBudgetSumAggregateOutputType | null
318
- _min: CategoryBudgetMinAggregateOutputType | null
319
- _max: CategoryBudgetMaxAggregateOutputType | null
320
- }
321
-
322
- export type GetCategoryBudgetGroupByPayload<T extends CategoryBudgetGroupByArgs> = Prisma.PrismaPromise<
323
- Array<
324
- Prisma.PickEnumerable<CategoryBudgetGroupByOutputType, T['by']> &
325
- {
326
- [P in ((keyof T) & (keyof CategoryBudgetGroupByOutputType))]: P extends '_count'
327
- ? T[P] extends boolean
328
- ? number
329
- : Prisma.GetScalarType<T[P], CategoryBudgetGroupByOutputType[P]>
330
- : Prisma.GetScalarType<T[P], CategoryBudgetGroupByOutputType[P]>
331
- }
332
- >
333
- >
334
-
335
-
336
-
337
- export type CategoryBudgetWhereInput = {
338
- AND?: Prisma.CategoryBudgetWhereInput | Prisma.CategoryBudgetWhereInput[]
339
- OR?: Prisma.CategoryBudgetWhereInput[]
340
- NOT?: Prisma.CategoryBudgetWhereInput | Prisma.CategoryBudgetWhereInput[]
341
- id?: Prisma.IntFilter<"CategoryBudget"> | number
342
- uuid?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
343
- department_budget_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
344
- category_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
345
- initial_allocated_budget?: Prisma.DecimalNullableFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
346
- allocated_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
347
- remaining_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
348
- fiscal_year?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
349
- notes?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
350
- description?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
351
- total_held_amount?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
352
- crated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
353
- created_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
354
- updated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
355
- updated_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
356
- is_deleted?: Prisma.BoolFilter<"CategoryBudget"> | boolean
357
- deleted_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
358
- deleted_at?: Prisma.DateTimeNullableFilter<"CategoryBudget"> | Date | string | null
359
- department_budget?: Prisma.XOR<Prisma.DepartmentBudgetNullableScalarRelationFilter, Prisma.DepartmentBudgetWhereInput> | null
360
- category?: Prisma.XOR<Prisma.CategoryNullableScalarRelationFilter, Prisma.CategoryWhereInput> | null
361
- expenses?: Prisma.ExpenseListRelationFilter
362
- supporting_documents?: Prisma.SupportingDocumentListRelationFilter
363
- budget_holds?: Prisma.BudgetHoldListRelationFilter
364
- }
365
-
366
- export type CategoryBudgetOrderByWithRelationInput = {
367
- id?: Prisma.SortOrder
368
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
369
- department_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
370
- category_id?: Prisma.SortOrderInput | Prisma.SortOrder
371
- initial_allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
372
- allocated_budget?: Prisma.SortOrder
373
- remaining_budget?: Prisma.SortOrder
374
- fiscal_year?: Prisma.SortOrderInput | Prisma.SortOrder
375
- notes?: Prisma.SortOrderInput | Prisma.SortOrder
376
- description?: Prisma.SortOrderInput | Prisma.SortOrder
377
- total_held_amount?: Prisma.SortOrder
378
- crated_by?: Prisma.SortOrderInput | Prisma.SortOrder
379
- created_at?: Prisma.SortOrder
380
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
381
- updated_at?: Prisma.SortOrder
382
- is_deleted?: Prisma.SortOrder
383
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
384
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
385
- department_budget?: Prisma.DepartmentBudgetOrderByWithRelationInput
386
- category?: Prisma.CategoryOrderByWithRelationInput
387
- expenses?: Prisma.ExpenseOrderByRelationAggregateInput
388
- supporting_documents?: Prisma.SupportingDocumentOrderByRelationAggregateInput
389
- budget_holds?: Prisma.BudgetHoldOrderByRelationAggregateInput
390
- }
391
-
392
- export type CategoryBudgetWhereUniqueInput = Prisma.AtLeast<{
393
- id?: number
394
- uuid?: string
395
- department_budget_id_category_id?: Prisma.CategoryBudgetDepartment_budget_idCategory_idCompoundUniqueInput
396
- AND?: Prisma.CategoryBudgetWhereInput | Prisma.CategoryBudgetWhereInput[]
397
- OR?: Prisma.CategoryBudgetWhereInput[]
398
- NOT?: Prisma.CategoryBudgetWhereInput | Prisma.CategoryBudgetWhereInput[]
399
- department_budget_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
400
- category_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
401
- initial_allocated_budget?: Prisma.DecimalNullableFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
402
- allocated_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
403
- remaining_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
404
- fiscal_year?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
405
- notes?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
406
- description?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
407
- total_held_amount?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
408
- crated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
409
- created_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
410
- updated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
411
- updated_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
412
- is_deleted?: Prisma.BoolFilter<"CategoryBudget"> | boolean
413
- deleted_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
414
- deleted_at?: Prisma.DateTimeNullableFilter<"CategoryBudget"> | Date | string | null
415
- department_budget?: Prisma.XOR<Prisma.DepartmentBudgetNullableScalarRelationFilter, Prisma.DepartmentBudgetWhereInput> | null
416
- category?: Prisma.XOR<Prisma.CategoryNullableScalarRelationFilter, Prisma.CategoryWhereInput> | null
417
- expenses?: Prisma.ExpenseListRelationFilter
418
- supporting_documents?: Prisma.SupportingDocumentListRelationFilter
419
- budget_holds?: Prisma.BudgetHoldListRelationFilter
420
- }, "id" | "uuid" | "department_budget_id_category_id">
421
-
422
- export type CategoryBudgetOrderByWithAggregationInput = {
423
- id?: Prisma.SortOrder
424
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
425
- department_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
426
- category_id?: Prisma.SortOrderInput | Prisma.SortOrder
427
- initial_allocated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
428
- allocated_budget?: Prisma.SortOrder
429
- remaining_budget?: Prisma.SortOrder
430
- fiscal_year?: Prisma.SortOrderInput | Prisma.SortOrder
431
- notes?: Prisma.SortOrderInput | Prisma.SortOrder
432
- description?: Prisma.SortOrderInput | Prisma.SortOrder
433
- total_held_amount?: Prisma.SortOrder
434
- crated_by?: Prisma.SortOrderInput | Prisma.SortOrder
435
- created_at?: Prisma.SortOrder
436
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
437
- updated_at?: Prisma.SortOrder
438
- is_deleted?: Prisma.SortOrder
439
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
440
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
441
- _count?: Prisma.CategoryBudgetCountOrderByAggregateInput
442
- _avg?: Prisma.CategoryBudgetAvgOrderByAggregateInput
443
- _max?: Prisma.CategoryBudgetMaxOrderByAggregateInput
444
- _min?: Prisma.CategoryBudgetMinOrderByAggregateInput
445
- _sum?: Prisma.CategoryBudgetSumOrderByAggregateInput
446
- }
447
-
448
- export type CategoryBudgetScalarWhereWithAggregatesInput = {
449
- AND?: Prisma.CategoryBudgetScalarWhereWithAggregatesInput | Prisma.CategoryBudgetScalarWhereWithAggregatesInput[]
450
- OR?: Prisma.CategoryBudgetScalarWhereWithAggregatesInput[]
451
- NOT?: Prisma.CategoryBudgetScalarWhereWithAggregatesInput | Prisma.CategoryBudgetScalarWhereWithAggregatesInput[]
452
- id?: Prisma.IntWithAggregatesFilter<"CategoryBudget"> | number
453
- uuid?: Prisma.StringNullableWithAggregatesFilter<"CategoryBudget"> | string | null
454
- department_budget_id?: Prisma.IntNullableWithAggregatesFilter<"CategoryBudget"> | number | null
455
- category_id?: Prisma.IntNullableWithAggregatesFilter<"CategoryBudget"> | number | null
456
- initial_allocated_budget?: Prisma.DecimalNullableWithAggregatesFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
457
- allocated_budget?: Prisma.DecimalWithAggregatesFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
458
- remaining_budget?: Prisma.DecimalWithAggregatesFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
459
- fiscal_year?: Prisma.StringNullableWithAggregatesFilter<"CategoryBudget"> | string | null
460
- notes?: Prisma.StringNullableWithAggregatesFilter<"CategoryBudget"> | string | null
461
- description?: Prisma.StringNullableWithAggregatesFilter<"CategoryBudget"> | string | null
462
- total_held_amount?: Prisma.DecimalWithAggregatesFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
463
- crated_by?: Prisma.IntNullableWithAggregatesFilter<"CategoryBudget"> | number | null
464
- created_at?: Prisma.DateTimeWithAggregatesFilter<"CategoryBudget"> | Date | string
465
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"CategoryBudget"> | number | null
466
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"CategoryBudget"> | Date | string
467
- is_deleted?: Prisma.BoolWithAggregatesFilter<"CategoryBudget"> | boolean
468
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"CategoryBudget"> | number | null
469
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"CategoryBudget"> | Date | string | null
470
- }
471
-
472
- export type CategoryBudgetCreateInput = {
473
- uuid?: string | null
474
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
475
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
476
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
477
- fiscal_year?: string | null
478
- notes?: string | null
479
- description?: string | null
480
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
481
- crated_by?: number | null
482
- created_at?: Date | string
483
- updated_by?: number | null
484
- updated_at?: Date | string
485
- is_deleted?: boolean
486
- deleted_by?: number | null
487
- deleted_at?: Date | string | null
488
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput
489
- category?: Prisma.CategoryCreateNestedOneWithoutCategory_budgetInput
490
- expenses?: Prisma.ExpenseCreateNestedManyWithoutCategory_budgetInput
491
- supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutCategory_budgetInput
492
- budget_holds?: Prisma.BudgetHoldCreateNestedManyWithoutCategory_budgetInput
493
- }
494
-
495
- export type CategoryBudgetUncheckedCreateInput = {
496
- id?: number
497
- uuid?: string | null
498
- department_budget_id?: number | null
499
- category_id?: number | null
500
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
501
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
502
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
503
- fiscal_year?: string | null
504
- notes?: string | null
505
- description?: string | null
506
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
507
- crated_by?: number | null
508
- created_at?: Date | string
509
- updated_by?: number | null
510
- updated_at?: Date | string
511
- is_deleted?: boolean
512
- deleted_by?: number | null
513
- deleted_at?: Date | string | null
514
- expenses?: Prisma.ExpenseUncheckedCreateNestedManyWithoutCategory_budgetInput
515
- supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput
516
- budget_holds?: Prisma.BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput
517
- }
518
-
519
- export type CategoryBudgetUpdateInput = {
520
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
521
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
522
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
523
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
524
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
525
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
526
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
527
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
528
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
529
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
530
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
531
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
532
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
533
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
534
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
535
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput
536
- category?: Prisma.CategoryUpdateOneWithoutCategory_budgetNestedInput
537
- expenses?: Prisma.ExpenseUpdateManyWithoutCategory_budgetNestedInput
538
- supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput
539
- budget_holds?: Prisma.BudgetHoldUpdateManyWithoutCategory_budgetNestedInput
540
- }
541
-
542
- export type CategoryBudgetUncheckedUpdateInput = {
543
- id?: Prisma.IntFieldUpdateOperationsInput | number
544
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
545
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
546
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
547
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
548
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
549
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
550
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
551
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
552
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
553
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
554
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
555
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
556
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
557
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
558
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
559
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
560
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
561
- expenses?: Prisma.ExpenseUncheckedUpdateManyWithoutCategory_budgetNestedInput
562
- supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput
563
- budget_holds?: Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput
564
- }
565
-
566
- export type CategoryBudgetCreateManyInput = {
567
- id?: number
568
- uuid?: string | null
569
- department_budget_id?: number | null
570
- category_id?: number | null
571
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
572
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
573
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
574
- fiscal_year?: string | null
575
- notes?: string | null
576
- description?: string | null
577
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
578
- crated_by?: number | null
579
- created_at?: Date | string
580
- updated_by?: number | null
581
- updated_at?: Date | string
582
- is_deleted?: boolean
583
- deleted_by?: number | null
584
- deleted_at?: Date | string | null
585
- }
586
-
587
- export type CategoryBudgetUpdateManyMutationInput = {
588
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
589
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
590
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
591
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
592
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
593
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
594
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
595
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
596
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
597
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
598
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
599
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
600
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
601
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
602
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
603
- }
604
-
605
- export type CategoryBudgetUncheckedUpdateManyInput = {
606
- id?: Prisma.IntFieldUpdateOperationsInput | number
607
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
608
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
609
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
610
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
611
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
612
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
613
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
615
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
616
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
617
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
618
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
619
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
620
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
621
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
622
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
623
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
624
- }
625
-
626
- export type CategoryBudgetListRelationFilter = {
627
- every?: Prisma.CategoryBudgetWhereInput
628
- some?: Prisma.CategoryBudgetWhereInput
629
- none?: Prisma.CategoryBudgetWhereInput
630
- }
631
-
632
- export type CategoryBudgetOrderByRelationAggregateInput = {
633
- _count?: Prisma.SortOrder
634
- }
635
-
636
- export type CategoryBudgetDepartment_budget_idCategory_idCompoundUniqueInput = {
637
- department_budget_id: number
638
- category_id: number
639
- }
640
-
641
- export type CategoryBudgetCountOrderByAggregateInput = {
642
- id?: Prisma.SortOrder
643
- uuid?: Prisma.SortOrder
644
- department_budget_id?: Prisma.SortOrder
645
- category_id?: Prisma.SortOrder
646
- initial_allocated_budget?: Prisma.SortOrder
647
- allocated_budget?: Prisma.SortOrder
648
- remaining_budget?: Prisma.SortOrder
649
- fiscal_year?: Prisma.SortOrder
650
- notes?: Prisma.SortOrder
651
- description?: Prisma.SortOrder
652
- total_held_amount?: Prisma.SortOrder
653
- crated_by?: Prisma.SortOrder
654
- created_at?: Prisma.SortOrder
655
- updated_by?: Prisma.SortOrder
656
- updated_at?: Prisma.SortOrder
657
- is_deleted?: Prisma.SortOrder
658
- deleted_by?: Prisma.SortOrder
659
- deleted_at?: Prisma.SortOrder
660
- }
661
-
662
- export type CategoryBudgetAvgOrderByAggregateInput = {
663
- id?: Prisma.SortOrder
664
- department_budget_id?: Prisma.SortOrder
665
- category_id?: Prisma.SortOrder
666
- initial_allocated_budget?: Prisma.SortOrder
667
- allocated_budget?: Prisma.SortOrder
668
- remaining_budget?: Prisma.SortOrder
669
- total_held_amount?: Prisma.SortOrder
670
- crated_by?: Prisma.SortOrder
671
- updated_by?: Prisma.SortOrder
672
- deleted_by?: Prisma.SortOrder
673
- }
674
-
675
- export type CategoryBudgetMaxOrderByAggregateInput = {
676
- id?: Prisma.SortOrder
677
- uuid?: Prisma.SortOrder
678
- department_budget_id?: Prisma.SortOrder
679
- category_id?: Prisma.SortOrder
680
- initial_allocated_budget?: Prisma.SortOrder
681
- allocated_budget?: Prisma.SortOrder
682
- remaining_budget?: Prisma.SortOrder
683
- fiscal_year?: Prisma.SortOrder
684
- notes?: Prisma.SortOrder
685
- description?: Prisma.SortOrder
686
- total_held_amount?: Prisma.SortOrder
687
- crated_by?: Prisma.SortOrder
688
- created_at?: Prisma.SortOrder
689
- updated_by?: Prisma.SortOrder
690
- updated_at?: Prisma.SortOrder
691
- is_deleted?: Prisma.SortOrder
692
- deleted_by?: Prisma.SortOrder
693
- deleted_at?: Prisma.SortOrder
694
- }
695
-
696
- export type CategoryBudgetMinOrderByAggregateInput = {
697
- id?: Prisma.SortOrder
698
- uuid?: Prisma.SortOrder
699
- department_budget_id?: Prisma.SortOrder
700
- category_id?: Prisma.SortOrder
701
- initial_allocated_budget?: Prisma.SortOrder
702
- allocated_budget?: Prisma.SortOrder
703
- remaining_budget?: Prisma.SortOrder
704
- fiscal_year?: Prisma.SortOrder
705
- notes?: Prisma.SortOrder
706
- description?: Prisma.SortOrder
707
- total_held_amount?: Prisma.SortOrder
708
- crated_by?: Prisma.SortOrder
709
- created_at?: Prisma.SortOrder
710
- updated_by?: Prisma.SortOrder
711
- updated_at?: Prisma.SortOrder
712
- is_deleted?: Prisma.SortOrder
713
- deleted_by?: Prisma.SortOrder
714
- deleted_at?: Prisma.SortOrder
715
- }
716
-
717
- export type CategoryBudgetSumOrderByAggregateInput = {
718
- id?: Prisma.SortOrder
719
- department_budget_id?: Prisma.SortOrder
720
- category_id?: Prisma.SortOrder
721
- initial_allocated_budget?: Prisma.SortOrder
722
- allocated_budget?: Prisma.SortOrder
723
- remaining_budget?: Prisma.SortOrder
724
- total_held_amount?: Prisma.SortOrder
725
- crated_by?: Prisma.SortOrder
726
- updated_by?: Prisma.SortOrder
727
- deleted_by?: Prisma.SortOrder
728
- }
729
-
730
- export type CategoryBudgetNullableScalarRelationFilter = {
731
- is?: Prisma.CategoryBudgetWhereInput | null
732
- isNot?: Prisma.CategoryBudgetWhereInput | null
733
- }
734
-
735
- export type CategoryBudgetCreateNestedManyWithoutCategoryInput = {
736
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput> | Prisma.CategoryBudgetCreateWithoutCategoryInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput[]
737
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput | Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput[]
738
- createMany?: Prisma.CategoryBudgetCreateManyCategoryInputEnvelope
739
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
740
- }
741
-
742
- export type CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput = {
743
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput> | Prisma.CategoryBudgetCreateWithoutCategoryInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput[]
744
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput | Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput[]
745
- createMany?: Prisma.CategoryBudgetCreateManyCategoryInputEnvelope
746
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
747
- }
748
-
749
- export type CategoryBudgetUpdateManyWithoutCategoryNestedInput = {
750
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput> | Prisma.CategoryBudgetCreateWithoutCategoryInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput[]
751
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput | Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput[]
752
- upsert?: Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutCategoryInput | Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutCategoryInput[]
753
- createMany?: Prisma.CategoryBudgetCreateManyCategoryInputEnvelope
754
- set?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
755
- disconnect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
756
- delete?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
757
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
758
- update?: Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutCategoryInput | Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutCategoryInput[]
759
- updateMany?: Prisma.CategoryBudgetUpdateManyWithWhereWithoutCategoryInput | Prisma.CategoryBudgetUpdateManyWithWhereWithoutCategoryInput[]
760
- deleteMany?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
761
- }
762
-
763
- export type CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput = {
764
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput> | Prisma.CategoryBudgetCreateWithoutCategoryInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput[]
765
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput | Prisma.CategoryBudgetCreateOrConnectWithoutCategoryInput[]
766
- upsert?: Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutCategoryInput | Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutCategoryInput[]
767
- createMany?: Prisma.CategoryBudgetCreateManyCategoryInputEnvelope
768
- set?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
769
- disconnect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
770
- delete?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
771
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
772
- update?: Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutCategoryInput | Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutCategoryInput[]
773
- updateMany?: Prisma.CategoryBudgetUpdateManyWithWhereWithoutCategoryInput | Prisma.CategoryBudgetUpdateManyWithWhereWithoutCategoryInput[]
774
- deleteMany?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
775
- }
776
-
777
- export type CategoryBudgetCreateNestedManyWithoutDepartment_budgetInput = {
778
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput> | Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput[]
779
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput | Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput[]
780
- createMany?: Prisma.CategoryBudgetCreateManyDepartment_budgetInputEnvelope
781
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
782
- }
783
-
784
- export type CategoryBudgetUncheckedCreateNestedManyWithoutDepartment_budgetInput = {
785
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput> | Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput[]
786
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput | Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput[]
787
- createMany?: Prisma.CategoryBudgetCreateManyDepartment_budgetInputEnvelope
788
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
789
- }
790
-
791
- export type CategoryBudgetUpdateManyWithoutDepartment_budgetNestedInput = {
792
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput> | Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput[]
793
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput | Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput[]
794
- upsert?: Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutDepartment_budgetInput[]
795
- createMany?: Prisma.CategoryBudgetCreateManyDepartment_budgetInputEnvelope
796
- set?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
797
- disconnect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
798
- delete?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
799
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
800
- update?: Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutDepartment_budgetInput[]
801
- updateMany?: Prisma.CategoryBudgetUpdateManyWithWhereWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpdateManyWithWhereWithoutDepartment_budgetInput[]
802
- deleteMany?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
803
- }
804
-
805
- export type CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetNestedInput = {
806
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput> | Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput[] | Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput[]
807
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput | Prisma.CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput[]
808
- upsert?: Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpsertWithWhereUniqueWithoutDepartment_budgetInput[]
809
- createMany?: Prisma.CategoryBudgetCreateManyDepartment_budgetInputEnvelope
810
- set?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
811
- disconnect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
812
- delete?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
813
- connect?: Prisma.CategoryBudgetWhereUniqueInput | Prisma.CategoryBudgetWhereUniqueInput[]
814
- update?: Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpdateWithWhereUniqueWithoutDepartment_budgetInput[]
815
- updateMany?: Prisma.CategoryBudgetUpdateManyWithWhereWithoutDepartment_budgetInput | Prisma.CategoryBudgetUpdateManyWithWhereWithoutDepartment_budgetInput[]
816
- deleteMany?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
817
- }
818
-
819
- export type DecimalFieldUpdateOperationsInput = {
820
- set?: runtime.Decimal | runtime.DecimalJsLike | number | string
821
- increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
822
- decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
823
- multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
824
- divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
825
- }
826
-
827
- export type CategoryBudgetCreateNestedOneWithoutBudget_holdsInput = {
828
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedCreateWithoutBudget_holdsInput>
829
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutBudget_holdsInput
830
- connect?: Prisma.CategoryBudgetWhereUniqueInput
831
- }
832
-
833
- export type CategoryBudgetUpdateOneWithoutBudget_holdsNestedInput = {
834
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedCreateWithoutBudget_holdsInput>
835
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutBudget_holdsInput
836
- upsert?: Prisma.CategoryBudgetUpsertWithoutBudget_holdsInput
837
- disconnect?: Prisma.CategoryBudgetWhereInput | boolean
838
- delete?: Prisma.CategoryBudgetWhereInput | boolean
839
- connect?: Prisma.CategoryBudgetWhereUniqueInput
840
- update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryBudgetUpdateToOneWithWhereWithoutBudget_holdsInput, Prisma.CategoryBudgetUpdateWithoutBudget_holdsInput>, Prisma.CategoryBudgetUncheckedUpdateWithoutBudget_holdsInput>
841
- }
842
-
843
- export type CategoryBudgetCreateNestedOneWithoutSupporting_documentsInput = {
844
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedCreateWithoutSupporting_documentsInput>
845
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutSupporting_documentsInput
846
- connect?: Prisma.CategoryBudgetWhereUniqueInput
847
- }
848
-
849
- export type CategoryBudgetUpdateOneWithoutSupporting_documentsNestedInput = {
850
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedCreateWithoutSupporting_documentsInput>
851
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutSupporting_documentsInput
852
- upsert?: Prisma.CategoryBudgetUpsertWithoutSupporting_documentsInput
853
- disconnect?: Prisma.CategoryBudgetWhereInput | boolean
854
- delete?: Prisma.CategoryBudgetWhereInput | boolean
855
- connect?: Prisma.CategoryBudgetWhereUniqueInput
856
- update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryBudgetUpdateToOneWithWhereWithoutSupporting_documentsInput, Prisma.CategoryBudgetUpdateWithoutSupporting_documentsInput>, Prisma.CategoryBudgetUncheckedUpdateWithoutSupporting_documentsInput>
857
- }
858
-
859
- export type CategoryBudgetCreateNestedOneWithoutExpensesInput = {
860
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedCreateWithoutExpensesInput>
861
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutExpensesInput
862
- connect?: Prisma.CategoryBudgetWhereUniqueInput
863
- }
864
-
865
- export type CategoryBudgetUpdateOneWithoutExpensesNestedInput = {
866
- create?: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedCreateWithoutExpensesInput>
867
- connectOrCreate?: Prisma.CategoryBudgetCreateOrConnectWithoutExpensesInput
868
- upsert?: Prisma.CategoryBudgetUpsertWithoutExpensesInput
869
- disconnect?: Prisma.CategoryBudgetWhereInput | boolean
870
- delete?: Prisma.CategoryBudgetWhereInput | boolean
871
- connect?: Prisma.CategoryBudgetWhereUniqueInput
872
- update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryBudgetUpdateToOneWithWhereWithoutExpensesInput, Prisma.CategoryBudgetUpdateWithoutExpensesInput>, Prisma.CategoryBudgetUncheckedUpdateWithoutExpensesInput>
873
- }
874
-
875
- export type CategoryBudgetCreateWithoutCategoryInput = {
876
- uuid?: string | null
877
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
878
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
879
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
880
- fiscal_year?: string | null
881
- notes?: string | null
882
- description?: string | null
883
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
884
- crated_by?: number | null
885
- created_at?: Date | string
886
- updated_by?: number | null
887
- updated_at?: Date | string
888
- is_deleted?: boolean
889
- deleted_by?: number | null
890
- deleted_at?: Date | string | null
891
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput
892
- expenses?: Prisma.ExpenseCreateNestedManyWithoutCategory_budgetInput
893
- supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutCategory_budgetInput
894
- budget_holds?: Prisma.BudgetHoldCreateNestedManyWithoutCategory_budgetInput
895
- }
896
-
897
- export type CategoryBudgetUncheckedCreateWithoutCategoryInput = {
898
- id?: number
899
- uuid?: string | null
900
- department_budget_id?: number | null
901
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
902
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
903
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
904
- fiscal_year?: string | null
905
- notes?: string | null
906
- description?: string | null
907
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
908
- crated_by?: number | null
909
- created_at?: Date | string
910
- updated_by?: number | null
911
- updated_at?: Date | string
912
- is_deleted?: boolean
913
- deleted_by?: number | null
914
- deleted_at?: Date | string | null
915
- expenses?: Prisma.ExpenseUncheckedCreateNestedManyWithoutCategory_budgetInput
916
- supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput
917
- budget_holds?: Prisma.BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput
918
- }
919
-
920
- export type CategoryBudgetCreateOrConnectWithoutCategoryInput = {
921
- where: Prisma.CategoryBudgetWhereUniqueInput
922
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput>
923
- }
924
-
925
- export type CategoryBudgetCreateManyCategoryInputEnvelope = {
926
- data: Prisma.CategoryBudgetCreateManyCategoryInput | Prisma.CategoryBudgetCreateManyCategoryInput[]
927
- skipDuplicates?: boolean
928
- }
929
-
930
- export type CategoryBudgetUpsertWithWhereUniqueWithoutCategoryInput = {
931
- where: Prisma.CategoryBudgetWhereUniqueInput
932
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedUpdateWithoutCategoryInput>
933
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedCreateWithoutCategoryInput>
934
- }
935
-
936
- export type CategoryBudgetUpdateWithWhereUniqueWithoutCategoryInput = {
937
- where: Prisma.CategoryBudgetWhereUniqueInput
938
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutCategoryInput, Prisma.CategoryBudgetUncheckedUpdateWithoutCategoryInput>
939
- }
940
-
941
- export type CategoryBudgetUpdateManyWithWhereWithoutCategoryInput = {
942
- where: Prisma.CategoryBudgetScalarWhereInput
943
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateManyMutationInput, Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryInput>
944
- }
945
-
946
- export type CategoryBudgetScalarWhereInput = {
947
- AND?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
948
- OR?: Prisma.CategoryBudgetScalarWhereInput[]
949
- NOT?: Prisma.CategoryBudgetScalarWhereInput | Prisma.CategoryBudgetScalarWhereInput[]
950
- id?: Prisma.IntFilter<"CategoryBudget"> | number
951
- uuid?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
952
- department_budget_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
953
- category_id?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
954
- initial_allocated_budget?: Prisma.DecimalNullableFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
955
- allocated_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
956
- remaining_budget?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
957
- fiscal_year?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
958
- notes?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
959
- description?: Prisma.StringNullableFilter<"CategoryBudget"> | string | null
960
- total_held_amount?: Prisma.DecimalFilter<"CategoryBudget"> | runtime.Decimal | runtime.DecimalJsLike | number | string
961
- crated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
962
- created_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
963
- updated_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
964
- updated_at?: Prisma.DateTimeFilter<"CategoryBudget"> | Date | string
965
- is_deleted?: Prisma.BoolFilter<"CategoryBudget"> | boolean
966
- deleted_by?: Prisma.IntNullableFilter<"CategoryBudget"> | number | null
967
- deleted_at?: Prisma.DateTimeNullableFilter<"CategoryBudget"> | Date | string | null
968
- }
969
-
970
- export type CategoryBudgetCreateWithoutDepartment_budgetInput = {
971
- uuid?: string | null
972
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
973
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
974
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
975
- fiscal_year?: string | null
976
- notes?: string | null
977
- description?: string | null
978
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
979
- crated_by?: number | null
980
- created_at?: Date | string
981
- updated_by?: number | null
982
- updated_at?: Date | string
983
- is_deleted?: boolean
984
- deleted_by?: number | null
985
- deleted_at?: Date | string | null
986
- category?: Prisma.CategoryCreateNestedOneWithoutCategory_budgetInput
987
- expenses?: Prisma.ExpenseCreateNestedManyWithoutCategory_budgetInput
988
- supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutCategory_budgetInput
989
- budget_holds?: Prisma.BudgetHoldCreateNestedManyWithoutCategory_budgetInput
990
- }
991
-
992
- export type CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput = {
993
- id?: number
994
- uuid?: string | null
995
- category_id?: number | null
996
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
997
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
998
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
999
- fiscal_year?: string | null
1000
- notes?: string | null
1001
- description?: string | null
1002
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1003
- crated_by?: number | null
1004
- created_at?: Date | string
1005
- updated_by?: number | null
1006
- updated_at?: Date | string
1007
- is_deleted?: boolean
1008
- deleted_by?: number | null
1009
- deleted_at?: Date | string | null
1010
- expenses?: Prisma.ExpenseUncheckedCreateNestedManyWithoutCategory_budgetInput
1011
- supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput
1012
- budget_holds?: Prisma.BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput
1013
- }
1014
-
1015
- export type CategoryBudgetCreateOrConnectWithoutDepartment_budgetInput = {
1016
- where: Prisma.CategoryBudgetWhereUniqueInput
1017
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput>
1018
- }
1019
-
1020
- export type CategoryBudgetCreateManyDepartment_budgetInputEnvelope = {
1021
- data: Prisma.CategoryBudgetCreateManyDepartment_budgetInput | Prisma.CategoryBudgetCreateManyDepartment_budgetInput[]
1022
- skipDuplicates?: boolean
1023
- }
1024
-
1025
- export type CategoryBudgetUpsertWithWhereUniqueWithoutDepartment_budgetInput = {
1026
- where: Prisma.CategoryBudgetWhereUniqueInput
1027
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedUpdateWithoutDepartment_budgetInput>
1028
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedCreateWithoutDepartment_budgetInput>
1029
- }
1030
-
1031
- export type CategoryBudgetUpdateWithWhereUniqueWithoutDepartment_budgetInput = {
1032
- where: Prisma.CategoryBudgetWhereUniqueInput
1033
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutDepartment_budgetInput, Prisma.CategoryBudgetUncheckedUpdateWithoutDepartment_budgetInput>
1034
- }
1035
-
1036
- export type CategoryBudgetUpdateManyWithWhereWithoutDepartment_budgetInput = {
1037
- where: Prisma.CategoryBudgetScalarWhereInput
1038
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateManyMutationInput, Prisma.CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetInput>
1039
- }
1040
-
1041
- export type CategoryBudgetCreateWithoutBudget_holdsInput = {
1042
- uuid?: string | null
1043
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1044
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1045
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1046
- fiscal_year?: string | null
1047
- notes?: string | null
1048
- description?: string | null
1049
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1050
- crated_by?: number | null
1051
- created_at?: Date | string
1052
- updated_by?: number | null
1053
- updated_at?: Date | string
1054
- is_deleted?: boolean
1055
- deleted_by?: number | null
1056
- deleted_at?: Date | string | null
1057
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput
1058
- category?: Prisma.CategoryCreateNestedOneWithoutCategory_budgetInput
1059
- expenses?: Prisma.ExpenseCreateNestedManyWithoutCategory_budgetInput
1060
- supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutCategory_budgetInput
1061
- }
1062
-
1063
- export type CategoryBudgetUncheckedCreateWithoutBudget_holdsInput = {
1064
- id?: number
1065
- uuid?: string | null
1066
- department_budget_id?: number | null
1067
- category_id?: number | null
1068
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1069
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1070
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1071
- fiscal_year?: string | null
1072
- notes?: string | null
1073
- description?: string | null
1074
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1075
- crated_by?: number | null
1076
- created_at?: Date | string
1077
- updated_by?: number | null
1078
- updated_at?: Date | string
1079
- is_deleted?: boolean
1080
- deleted_by?: number | null
1081
- deleted_at?: Date | string | null
1082
- expenses?: Prisma.ExpenseUncheckedCreateNestedManyWithoutCategory_budgetInput
1083
- supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput
1084
- }
1085
-
1086
- export type CategoryBudgetCreateOrConnectWithoutBudget_holdsInput = {
1087
- where: Prisma.CategoryBudgetWhereUniqueInput
1088
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedCreateWithoutBudget_holdsInput>
1089
- }
1090
-
1091
- export type CategoryBudgetUpsertWithoutBudget_holdsInput = {
1092
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedUpdateWithoutBudget_holdsInput>
1093
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedCreateWithoutBudget_holdsInput>
1094
- where?: Prisma.CategoryBudgetWhereInput
1095
- }
1096
-
1097
- export type CategoryBudgetUpdateToOneWithWhereWithoutBudget_holdsInput = {
1098
- where?: Prisma.CategoryBudgetWhereInput
1099
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutBudget_holdsInput, Prisma.CategoryBudgetUncheckedUpdateWithoutBudget_holdsInput>
1100
- }
1101
-
1102
- export type CategoryBudgetUpdateWithoutBudget_holdsInput = {
1103
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1104
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1105
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1106
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1107
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1109
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1110
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1111
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1112
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1113
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1114
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1115
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1116
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1117
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1118
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput
1119
- category?: Prisma.CategoryUpdateOneWithoutCategory_budgetNestedInput
1120
- expenses?: Prisma.ExpenseUpdateManyWithoutCategory_budgetNestedInput
1121
- supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput
1122
- }
1123
-
1124
- export type CategoryBudgetUncheckedUpdateWithoutBudget_holdsInput = {
1125
- id?: Prisma.IntFieldUpdateOperationsInput | number
1126
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1128
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1129
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1130
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1131
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1132
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1133
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1134
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1135
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1136
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1137
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1138
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1139
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1140
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1141
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1142
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1143
- expenses?: Prisma.ExpenseUncheckedUpdateManyWithoutCategory_budgetNestedInput
1144
- supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput
1145
- }
1146
-
1147
- export type CategoryBudgetCreateWithoutSupporting_documentsInput = {
1148
- uuid?: string | null
1149
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1150
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1151
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1152
- fiscal_year?: string | null
1153
- notes?: string | null
1154
- description?: string | null
1155
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1156
- crated_by?: number | null
1157
- created_at?: Date | string
1158
- updated_by?: number | null
1159
- updated_at?: Date | string
1160
- is_deleted?: boolean
1161
- deleted_by?: number | null
1162
- deleted_at?: Date | string | null
1163
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput
1164
- category?: Prisma.CategoryCreateNestedOneWithoutCategory_budgetInput
1165
- expenses?: Prisma.ExpenseCreateNestedManyWithoutCategory_budgetInput
1166
- budget_holds?: Prisma.BudgetHoldCreateNestedManyWithoutCategory_budgetInput
1167
- }
1168
-
1169
- export type CategoryBudgetUncheckedCreateWithoutSupporting_documentsInput = {
1170
- id?: number
1171
- uuid?: string | null
1172
- department_budget_id?: number | null
1173
- category_id?: number | null
1174
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1175
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1176
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1177
- fiscal_year?: string | null
1178
- notes?: string | null
1179
- description?: string | null
1180
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1181
- crated_by?: number | null
1182
- created_at?: Date | string
1183
- updated_by?: number | null
1184
- updated_at?: Date | string
1185
- is_deleted?: boolean
1186
- deleted_by?: number | null
1187
- deleted_at?: Date | string | null
1188
- expenses?: Prisma.ExpenseUncheckedCreateNestedManyWithoutCategory_budgetInput
1189
- budget_holds?: Prisma.BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput
1190
- }
1191
-
1192
- export type CategoryBudgetCreateOrConnectWithoutSupporting_documentsInput = {
1193
- where: Prisma.CategoryBudgetWhereUniqueInput
1194
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedCreateWithoutSupporting_documentsInput>
1195
- }
1196
-
1197
- export type CategoryBudgetUpsertWithoutSupporting_documentsInput = {
1198
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedUpdateWithoutSupporting_documentsInput>
1199
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedCreateWithoutSupporting_documentsInput>
1200
- where?: Prisma.CategoryBudgetWhereInput
1201
- }
1202
-
1203
- export type CategoryBudgetUpdateToOneWithWhereWithoutSupporting_documentsInput = {
1204
- where?: Prisma.CategoryBudgetWhereInput
1205
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutSupporting_documentsInput, Prisma.CategoryBudgetUncheckedUpdateWithoutSupporting_documentsInput>
1206
- }
1207
-
1208
- export type CategoryBudgetUpdateWithoutSupporting_documentsInput = {
1209
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1210
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1211
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1212
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1213
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1214
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1215
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1216
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1217
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1218
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1219
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1220
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1221
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1222
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1223
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1224
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput
1225
- category?: Prisma.CategoryUpdateOneWithoutCategory_budgetNestedInput
1226
- expenses?: Prisma.ExpenseUpdateManyWithoutCategory_budgetNestedInput
1227
- budget_holds?: Prisma.BudgetHoldUpdateManyWithoutCategory_budgetNestedInput
1228
- }
1229
-
1230
- export type CategoryBudgetUncheckedUpdateWithoutSupporting_documentsInput = {
1231
- id?: Prisma.IntFieldUpdateOperationsInput | number
1232
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1233
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1234
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1235
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1236
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1237
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1238
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1239
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1240
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1241
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1242
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1243
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1244
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1245
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1246
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1247
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1248
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1249
- expenses?: Prisma.ExpenseUncheckedUpdateManyWithoutCategory_budgetNestedInput
1250
- budget_holds?: Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput
1251
- }
1252
-
1253
- export type CategoryBudgetCreateWithoutExpensesInput = {
1254
- uuid?: string | null
1255
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1256
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1257
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1258
- fiscal_year?: string | null
1259
- notes?: string | null
1260
- description?: string | null
1261
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1262
- crated_by?: number | null
1263
- created_at?: Date | string
1264
- updated_by?: number | null
1265
- updated_at?: Date | string
1266
- is_deleted?: boolean
1267
- deleted_by?: number | null
1268
- deleted_at?: Date | string | null
1269
- department_budget?: Prisma.DepartmentBudgetCreateNestedOneWithoutCategory_budgetsInput
1270
- category?: Prisma.CategoryCreateNestedOneWithoutCategory_budgetInput
1271
- supporting_documents?: Prisma.SupportingDocumentCreateNestedManyWithoutCategory_budgetInput
1272
- budget_holds?: Prisma.BudgetHoldCreateNestedManyWithoutCategory_budgetInput
1273
- }
1274
-
1275
- export type CategoryBudgetUncheckedCreateWithoutExpensesInput = {
1276
- id?: number
1277
- uuid?: string | null
1278
- department_budget_id?: number | null
1279
- category_id?: number | null
1280
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1281
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1282
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1283
- fiscal_year?: string | null
1284
- notes?: string | null
1285
- description?: string | null
1286
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1287
- crated_by?: number | null
1288
- created_at?: Date | string
1289
- updated_by?: number | null
1290
- updated_at?: Date | string
1291
- is_deleted?: boolean
1292
- deleted_by?: number | null
1293
- deleted_at?: Date | string | null
1294
- supporting_documents?: Prisma.SupportingDocumentUncheckedCreateNestedManyWithoutCategory_budgetInput
1295
- budget_holds?: Prisma.BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput
1296
- }
1297
-
1298
- export type CategoryBudgetCreateOrConnectWithoutExpensesInput = {
1299
- where: Prisma.CategoryBudgetWhereUniqueInput
1300
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedCreateWithoutExpensesInput>
1301
- }
1302
-
1303
- export type CategoryBudgetUpsertWithoutExpensesInput = {
1304
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedUpdateWithoutExpensesInput>
1305
- create: Prisma.XOR<Prisma.CategoryBudgetCreateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedCreateWithoutExpensesInput>
1306
- where?: Prisma.CategoryBudgetWhereInput
1307
- }
1308
-
1309
- export type CategoryBudgetUpdateToOneWithWhereWithoutExpensesInput = {
1310
- where?: Prisma.CategoryBudgetWhereInput
1311
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateWithoutExpensesInput, Prisma.CategoryBudgetUncheckedUpdateWithoutExpensesInput>
1312
- }
1313
-
1314
- export type CategoryBudgetUpdateWithoutExpensesInput = {
1315
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1316
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1317
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1318
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1319
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1320
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1321
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1322
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1323
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1324
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1325
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1326
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1327
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1328
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1329
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1330
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput
1331
- category?: Prisma.CategoryUpdateOneWithoutCategory_budgetNestedInput
1332
- supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput
1333
- budget_holds?: Prisma.BudgetHoldUpdateManyWithoutCategory_budgetNestedInput
1334
- }
1335
-
1336
- export type CategoryBudgetUncheckedUpdateWithoutExpensesInput = {
1337
- id?: Prisma.IntFieldUpdateOperationsInput | number
1338
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1339
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1340
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1341
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1342
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1343
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1344
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1345
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1346
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1347
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1348
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1349
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1350
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1351
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1352
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1353
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1354
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1355
- supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput
1356
- budget_holds?: Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput
1357
- }
1358
-
1359
- export type CategoryBudgetCreateManyCategoryInput = {
1360
- id?: number
1361
- uuid?: string | null
1362
- department_budget_id?: number | null
1363
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1364
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1365
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1366
- fiscal_year?: string | null
1367
- notes?: string | null
1368
- description?: string | null
1369
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1370
- crated_by?: number | null
1371
- created_at?: Date | string
1372
- updated_by?: number | null
1373
- updated_at?: Date | string
1374
- is_deleted?: boolean
1375
- deleted_by?: number | null
1376
- deleted_at?: Date | string | null
1377
- }
1378
-
1379
- export type CategoryBudgetUpdateWithoutCategoryInput = {
1380
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1381
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1382
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1383
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1384
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1385
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1386
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1387
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1388
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1389
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1390
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1391
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1392
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1393
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1394
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1395
- department_budget?: Prisma.DepartmentBudgetUpdateOneWithoutCategory_budgetsNestedInput
1396
- expenses?: Prisma.ExpenseUpdateManyWithoutCategory_budgetNestedInput
1397
- supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput
1398
- budget_holds?: Prisma.BudgetHoldUpdateManyWithoutCategory_budgetNestedInput
1399
- }
1400
-
1401
- export type CategoryBudgetUncheckedUpdateWithoutCategoryInput = {
1402
- id?: Prisma.IntFieldUpdateOperationsInput | number
1403
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1404
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1405
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1406
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1407
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1408
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1409
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1410
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1411
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1412
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1413
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1414
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1415
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1416
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1417
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1418
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1419
- expenses?: Prisma.ExpenseUncheckedUpdateManyWithoutCategory_budgetNestedInput
1420
- supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput
1421
- budget_holds?: Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput
1422
- }
1423
-
1424
- export type CategoryBudgetUncheckedUpdateManyWithoutCategoryInput = {
1425
- id?: Prisma.IntFieldUpdateOperationsInput | number
1426
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1427
- department_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1428
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1429
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1430
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1431
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1432
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1433
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1434
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1435
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1436
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1437
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1438
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1439
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1440
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1441
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1442
- }
1443
-
1444
- export type CategoryBudgetCreateManyDepartment_budgetInput = {
1445
- id?: number
1446
- uuid?: string | null
1447
- category_id?: number | null
1448
- initial_allocated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
1449
- allocated_budget: runtime.Decimal | runtime.DecimalJsLike | number | string
1450
- remaining_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string
1451
- fiscal_year?: string | null
1452
- notes?: string | null
1453
- description?: string | null
1454
- total_held_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string
1455
- crated_by?: number | null
1456
- created_at?: Date | string
1457
- updated_by?: number | null
1458
- updated_at?: Date | string
1459
- is_deleted?: boolean
1460
- deleted_by?: number | null
1461
- deleted_at?: Date | string | null
1462
- }
1463
-
1464
- export type CategoryBudgetUpdateWithoutDepartment_budgetInput = {
1465
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1466
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1467
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1468
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1469
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1470
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1471
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1472
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1473
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1474
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1475
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1476
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1477
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1478
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1479
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1480
- category?: Prisma.CategoryUpdateOneWithoutCategory_budgetNestedInput
1481
- expenses?: Prisma.ExpenseUpdateManyWithoutCategory_budgetNestedInput
1482
- supporting_documents?: Prisma.SupportingDocumentUpdateManyWithoutCategory_budgetNestedInput
1483
- budget_holds?: Prisma.BudgetHoldUpdateManyWithoutCategory_budgetNestedInput
1484
- }
1485
-
1486
- export type CategoryBudgetUncheckedUpdateWithoutDepartment_budgetInput = {
1487
- id?: Prisma.IntFieldUpdateOperationsInput | number
1488
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1489
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1490
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1491
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1492
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1493
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1494
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1495
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1496
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1497
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1498
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1499
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1500
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1501
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1502
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1503
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1504
- expenses?: Prisma.ExpenseUncheckedUpdateManyWithoutCategory_budgetNestedInput
1505
- supporting_documents?: Prisma.SupportingDocumentUncheckedUpdateManyWithoutCategory_budgetNestedInput
1506
- budget_holds?: Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput
1507
- }
1508
-
1509
- export type CategoryBudgetUncheckedUpdateManyWithoutDepartment_budgetInput = {
1510
- id?: Prisma.IntFieldUpdateOperationsInput | number
1511
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1513
- initial_allocated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
1514
- allocated_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1515
- remaining_budget?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1516
- fiscal_year?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1517
- notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1518
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1519
- total_held_amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
1520
- crated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1521
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1522
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1523
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1524
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1525
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1526
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1527
- }
1528
-
1529
-
1530
- /**
1531
- * Count Type CategoryBudgetCountOutputType
1532
- */
1533
-
1534
- export type CategoryBudgetCountOutputType = {
1535
- expenses: number
1536
- supporting_documents: number
1537
- budget_holds: number
1538
- }
1539
-
1540
- export type CategoryBudgetCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1541
- expenses?: boolean | CategoryBudgetCountOutputTypeCountExpensesArgs
1542
- supporting_documents?: boolean | CategoryBudgetCountOutputTypeCountSupporting_documentsArgs
1543
- budget_holds?: boolean | CategoryBudgetCountOutputTypeCountBudget_holdsArgs
1544
- }
1545
-
1546
- /**
1547
- * CategoryBudgetCountOutputType without action
1548
- */
1549
- export type CategoryBudgetCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1550
- /**
1551
- * Select specific fields to fetch from the CategoryBudgetCountOutputType
1552
- */
1553
- select?: Prisma.CategoryBudgetCountOutputTypeSelect<ExtArgs> | null
1554
- }
1555
-
1556
- /**
1557
- * CategoryBudgetCountOutputType without action
1558
- */
1559
- export type CategoryBudgetCountOutputTypeCountExpensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1560
- where?: Prisma.ExpenseWhereInput
1561
- }
1562
-
1563
- /**
1564
- * CategoryBudgetCountOutputType without action
1565
- */
1566
- export type CategoryBudgetCountOutputTypeCountSupporting_documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1567
- where?: Prisma.SupportingDocumentWhereInput
1568
- }
1569
-
1570
- /**
1571
- * CategoryBudgetCountOutputType without action
1572
- */
1573
- export type CategoryBudgetCountOutputTypeCountBudget_holdsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1574
- where?: Prisma.BudgetHoldWhereInput
1575
- }
1576
-
1577
-
1578
- export type CategoryBudgetSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1579
- id?: boolean
1580
- uuid?: boolean
1581
- department_budget_id?: boolean
1582
- category_id?: boolean
1583
- initial_allocated_budget?: boolean
1584
- allocated_budget?: boolean
1585
- remaining_budget?: boolean
1586
- fiscal_year?: boolean
1587
- notes?: boolean
1588
- description?: boolean
1589
- total_held_amount?: boolean
1590
- crated_by?: boolean
1591
- created_at?: boolean
1592
- updated_by?: boolean
1593
- updated_at?: boolean
1594
- is_deleted?: boolean
1595
- deleted_by?: boolean
1596
- deleted_at?: boolean
1597
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1598
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1599
- expenses?: boolean | Prisma.CategoryBudget$expensesArgs<ExtArgs>
1600
- supporting_documents?: boolean | Prisma.CategoryBudget$supporting_documentsArgs<ExtArgs>
1601
- budget_holds?: boolean | Prisma.CategoryBudget$budget_holdsArgs<ExtArgs>
1602
- _count?: boolean | Prisma.CategoryBudgetCountOutputTypeDefaultArgs<ExtArgs>
1603
- }, ExtArgs["result"]["categoryBudget"]>
1604
-
1605
- export type CategoryBudgetSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1606
- id?: boolean
1607
- uuid?: boolean
1608
- department_budget_id?: boolean
1609
- category_id?: boolean
1610
- initial_allocated_budget?: boolean
1611
- allocated_budget?: boolean
1612
- remaining_budget?: boolean
1613
- fiscal_year?: boolean
1614
- notes?: boolean
1615
- description?: boolean
1616
- total_held_amount?: boolean
1617
- crated_by?: boolean
1618
- created_at?: boolean
1619
- updated_by?: boolean
1620
- updated_at?: boolean
1621
- is_deleted?: boolean
1622
- deleted_by?: boolean
1623
- deleted_at?: boolean
1624
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1625
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1626
- }, ExtArgs["result"]["categoryBudget"]>
1627
-
1628
- export type CategoryBudgetSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1629
- id?: boolean
1630
- uuid?: boolean
1631
- department_budget_id?: boolean
1632
- category_id?: boolean
1633
- initial_allocated_budget?: boolean
1634
- allocated_budget?: boolean
1635
- remaining_budget?: boolean
1636
- fiscal_year?: boolean
1637
- notes?: boolean
1638
- description?: boolean
1639
- total_held_amount?: boolean
1640
- crated_by?: boolean
1641
- created_at?: boolean
1642
- updated_by?: boolean
1643
- updated_at?: boolean
1644
- is_deleted?: boolean
1645
- deleted_by?: boolean
1646
- deleted_at?: boolean
1647
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1648
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1649
- }, ExtArgs["result"]["categoryBudget"]>
1650
-
1651
- export type CategoryBudgetSelectScalar = {
1652
- id?: boolean
1653
- uuid?: boolean
1654
- department_budget_id?: boolean
1655
- category_id?: boolean
1656
- initial_allocated_budget?: boolean
1657
- allocated_budget?: boolean
1658
- remaining_budget?: boolean
1659
- fiscal_year?: boolean
1660
- notes?: boolean
1661
- description?: boolean
1662
- total_held_amount?: boolean
1663
- crated_by?: boolean
1664
- created_at?: boolean
1665
- updated_by?: boolean
1666
- updated_at?: boolean
1667
- is_deleted?: boolean
1668
- deleted_by?: boolean
1669
- deleted_at?: boolean
1670
- }
1671
-
1672
- export type CategoryBudgetOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "department_budget_id" | "category_id" | "initial_allocated_budget" | "allocated_budget" | "remaining_budget" | "fiscal_year" | "notes" | "description" | "total_held_amount" | "crated_by" | "created_at" | "updated_by" | "updated_at" | "is_deleted" | "deleted_by" | "deleted_at", ExtArgs["result"]["categoryBudget"]>
1673
- export type CategoryBudgetInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1674
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1675
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1676
- expenses?: boolean | Prisma.CategoryBudget$expensesArgs<ExtArgs>
1677
- supporting_documents?: boolean | Prisma.CategoryBudget$supporting_documentsArgs<ExtArgs>
1678
- budget_holds?: boolean | Prisma.CategoryBudget$budget_holdsArgs<ExtArgs>
1679
- _count?: boolean | Prisma.CategoryBudgetCountOutputTypeDefaultArgs<ExtArgs>
1680
- }
1681
- export type CategoryBudgetIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1682
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1683
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1684
- }
1685
- export type CategoryBudgetIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
- department_budget?: boolean | Prisma.CategoryBudget$department_budgetArgs<ExtArgs>
1687
- category?: boolean | Prisma.CategoryBudget$categoryArgs<ExtArgs>
1688
- }
1689
-
1690
- export type $CategoryBudgetPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1691
- name: "CategoryBudget"
1692
- objects: {
1693
- department_budget: Prisma.$DepartmentBudgetPayload<ExtArgs> | null
1694
- category: Prisma.$CategoryPayload<ExtArgs> | null
1695
- expenses: Prisma.$ExpensePayload<ExtArgs>[]
1696
- supporting_documents: Prisma.$SupportingDocumentPayload<ExtArgs>[]
1697
- budget_holds: Prisma.$BudgetHoldPayload<ExtArgs>[]
1698
- }
1699
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1700
- id: number
1701
- uuid: string | null
1702
- department_budget_id: number | null
1703
- category_id: number | null
1704
- initial_allocated_budget: runtime.Decimal | null
1705
- allocated_budget: runtime.Decimal
1706
- remaining_budget: runtime.Decimal
1707
- fiscal_year: string | null
1708
- notes: string | null
1709
- description: string | null
1710
- total_held_amount: runtime.Decimal
1711
- crated_by: number | null
1712
- created_at: Date
1713
- updated_by: number | null
1714
- updated_at: Date
1715
- is_deleted: boolean
1716
- deleted_by: number | null
1717
- deleted_at: Date | null
1718
- }, ExtArgs["result"]["categoryBudget"]>
1719
- composites: {}
1720
- }
1721
-
1722
- export type CategoryBudgetGetPayload<S extends boolean | null | undefined | CategoryBudgetDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload, S>
1723
-
1724
- export type CategoryBudgetCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1725
- Omit<CategoryBudgetFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1726
- select?: CategoryBudgetCountAggregateInputType | true
1727
- }
1728
-
1729
- export interface CategoryBudgetDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1730
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CategoryBudget'], meta: { name: 'CategoryBudget' } }
1731
- /**
1732
- * Find zero or one CategoryBudget that matches the filter.
1733
- * @param {CategoryBudgetFindUniqueArgs} args - Arguments to find a CategoryBudget
1734
- * @example
1735
- * // Get one CategoryBudget
1736
- * const categoryBudget = await prisma.categoryBudget.findUnique({
1737
- * where: {
1738
- * // ... provide filter here
1739
- * }
1740
- * })
1741
- */
1742
- findUnique<T extends CategoryBudgetFindUniqueArgs>(args: Prisma.SelectSubset<T, CategoryBudgetFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1743
-
1744
- /**
1745
- * Find one CategoryBudget that matches the filter or throw an error with `error.code='P2025'`
1746
- * if no matches were found.
1747
- * @param {CategoryBudgetFindUniqueOrThrowArgs} args - Arguments to find a CategoryBudget
1748
- * @example
1749
- * // Get one CategoryBudget
1750
- * const categoryBudget = await prisma.categoryBudget.findUniqueOrThrow({
1751
- * where: {
1752
- * // ... provide filter here
1753
- * }
1754
- * })
1755
- */
1756
- findUniqueOrThrow<T extends CategoryBudgetFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CategoryBudgetFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1757
-
1758
- /**
1759
- * Find the first CategoryBudget that matches the filter.
1760
- * Note, that providing `undefined` is treated as the value not being there.
1761
- * Read more here: https://pris.ly/d/null-undefined
1762
- * @param {CategoryBudgetFindFirstArgs} args - Arguments to find a CategoryBudget
1763
- * @example
1764
- * // Get one CategoryBudget
1765
- * const categoryBudget = await prisma.categoryBudget.findFirst({
1766
- * where: {
1767
- * // ... provide filter here
1768
- * }
1769
- * })
1770
- */
1771
- findFirst<T extends CategoryBudgetFindFirstArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetFindFirstArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1772
-
1773
- /**
1774
- * Find the first CategoryBudget that matches the filter or
1775
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1776
- * Note, that providing `undefined` is treated as the value not being there.
1777
- * Read more here: https://pris.ly/d/null-undefined
1778
- * @param {CategoryBudgetFindFirstOrThrowArgs} args - Arguments to find a CategoryBudget
1779
- * @example
1780
- * // Get one CategoryBudget
1781
- * const categoryBudget = await prisma.categoryBudget.findFirstOrThrow({
1782
- * where: {
1783
- * // ... provide filter here
1784
- * }
1785
- * })
1786
- */
1787
- findFirstOrThrow<T extends CategoryBudgetFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1788
-
1789
- /**
1790
- * Find zero or more CategoryBudgets that matches the filter.
1791
- * Note, that providing `undefined` is treated as the value not being there.
1792
- * Read more here: https://pris.ly/d/null-undefined
1793
- * @param {CategoryBudgetFindManyArgs} args - Arguments to filter and select certain fields only.
1794
- * @example
1795
- * // Get all CategoryBudgets
1796
- * const categoryBudgets = await prisma.categoryBudget.findMany()
1797
- *
1798
- * // Get first 10 CategoryBudgets
1799
- * const categoryBudgets = await prisma.categoryBudget.findMany({ take: 10 })
1800
- *
1801
- * // Only select the `id`
1802
- * const categoryBudgetWithIdOnly = await prisma.categoryBudget.findMany({ select: { id: true } })
1803
- *
1804
- */
1805
- findMany<T extends CategoryBudgetFindManyArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1806
-
1807
- /**
1808
- * Create a CategoryBudget.
1809
- * @param {CategoryBudgetCreateArgs} args - Arguments to create a CategoryBudget.
1810
- * @example
1811
- * // Create one CategoryBudget
1812
- * const CategoryBudget = await prisma.categoryBudget.create({
1813
- * data: {
1814
- * // ... data to create a CategoryBudget
1815
- * }
1816
- * })
1817
- *
1818
- */
1819
- create<T extends CategoryBudgetCreateArgs>(args: Prisma.SelectSubset<T, CategoryBudgetCreateArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1820
-
1821
- /**
1822
- * Create many CategoryBudgets.
1823
- * @param {CategoryBudgetCreateManyArgs} args - Arguments to create many CategoryBudgets.
1824
- * @example
1825
- * // Create many CategoryBudgets
1826
- * const categoryBudget = await prisma.categoryBudget.createMany({
1827
- * data: [
1828
- * // ... provide data here
1829
- * ]
1830
- * })
1831
- *
1832
- */
1833
- createMany<T extends CategoryBudgetCreateManyArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1834
-
1835
- /**
1836
- * Create many CategoryBudgets and returns the data saved in the database.
1837
- * @param {CategoryBudgetCreateManyAndReturnArgs} args - Arguments to create many CategoryBudgets.
1838
- * @example
1839
- * // Create many CategoryBudgets
1840
- * const categoryBudget = await prisma.categoryBudget.createManyAndReturn({
1841
- * data: [
1842
- * // ... provide data here
1843
- * ]
1844
- * })
1845
- *
1846
- * // Create many CategoryBudgets and only return the `id`
1847
- * const categoryBudgetWithIdOnly = await prisma.categoryBudget.createManyAndReturn({
1848
- * select: { id: true },
1849
- * data: [
1850
- * // ... provide data here
1851
- * ]
1852
- * })
1853
- * Note, that providing `undefined` is treated as the value not being there.
1854
- * Read more here: https://pris.ly/d/null-undefined
1855
- *
1856
- */
1857
- createManyAndReturn<T extends CategoryBudgetCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1858
-
1859
- /**
1860
- * Delete a CategoryBudget.
1861
- * @param {CategoryBudgetDeleteArgs} args - Arguments to delete one CategoryBudget.
1862
- * @example
1863
- * // Delete one CategoryBudget
1864
- * const CategoryBudget = await prisma.categoryBudget.delete({
1865
- * where: {
1866
- * // ... filter to delete one CategoryBudget
1867
- * }
1868
- * })
1869
- *
1870
- */
1871
- delete<T extends CategoryBudgetDeleteArgs>(args: Prisma.SelectSubset<T, CategoryBudgetDeleteArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1872
-
1873
- /**
1874
- * Update one CategoryBudget.
1875
- * @param {CategoryBudgetUpdateArgs} args - Arguments to update one CategoryBudget.
1876
- * @example
1877
- * // Update one CategoryBudget
1878
- * const categoryBudget = await prisma.categoryBudget.update({
1879
- * where: {
1880
- * // ... provide filter here
1881
- * },
1882
- * data: {
1883
- * // ... provide data here
1884
- * }
1885
- * })
1886
- *
1887
- */
1888
- update<T extends CategoryBudgetUpdateArgs>(args: Prisma.SelectSubset<T, CategoryBudgetUpdateArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1889
-
1890
- /**
1891
- * Delete zero or more CategoryBudgets.
1892
- * @param {CategoryBudgetDeleteManyArgs} args - Arguments to filter CategoryBudgets to delete.
1893
- * @example
1894
- * // Delete a few CategoryBudgets
1895
- * const { count } = await prisma.categoryBudget.deleteMany({
1896
- * where: {
1897
- * // ... provide filter here
1898
- * }
1899
- * })
1900
- *
1901
- */
1902
- deleteMany<T extends CategoryBudgetDeleteManyArgs>(args?: Prisma.SelectSubset<T, CategoryBudgetDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1903
-
1904
- /**
1905
- * Update zero or more CategoryBudgets.
1906
- * Note, that providing `undefined` is treated as the value not being there.
1907
- * Read more here: https://pris.ly/d/null-undefined
1908
- * @param {CategoryBudgetUpdateManyArgs} args - Arguments to update one or more rows.
1909
- * @example
1910
- * // Update many CategoryBudgets
1911
- * const categoryBudget = await prisma.categoryBudget.updateMany({
1912
- * where: {
1913
- * // ... provide filter here
1914
- * },
1915
- * data: {
1916
- * // ... provide data here
1917
- * }
1918
- * })
1919
- *
1920
- */
1921
- updateMany<T extends CategoryBudgetUpdateManyArgs>(args: Prisma.SelectSubset<T, CategoryBudgetUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1922
-
1923
- /**
1924
- * Update zero or more CategoryBudgets and returns the data updated in the database.
1925
- * @param {CategoryBudgetUpdateManyAndReturnArgs} args - Arguments to update many CategoryBudgets.
1926
- * @example
1927
- * // Update many CategoryBudgets
1928
- * const categoryBudget = await prisma.categoryBudget.updateManyAndReturn({
1929
- * where: {
1930
- * // ... provide filter here
1931
- * },
1932
- * data: [
1933
- * // ... provide data here
1934
- * ]
1935
- * })
1936
- *
1937
- * // Update zero or more CategoryBudgets and only return the `id`
1938
- * const categoryBudgetWithIdOnly = await prisma.categoryBudget.updateManyAndReturn({
1939
- * select: { id: true },
1940
- * where: {
1941
- * // ... provide filter here
1942
- * },
1943
- * data: [
1944
- * // ... provide data here
1945
- * ]
1946
- * })
1947
- * Note, that providing `undefined` is treated as the value not being there.
1948
- * Read more here: https://pris.ly/d/null-undefined
1949
- *
1950
- */
1951
- updateManyAndReturn<T extends CategoryBudgetUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CategoryBudgetUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1952
-
1953
- /**
1954
- * Create or update one CategoryBudget.
1955
- * @param {CategoryBudgetUpsertArgs} args - Arguments to update or create a CategoryBudget.
1956
- * @example
1957
- * // Update or create a CategoryBudget
1958
- * const categoryBudget = await prisma.categoryBudget.upsert({
1959
- * create: {
1960
- * // ... data to create a CategoryBudget
1961
- * },
1962
- * update: {
1963
- * // ... in case it already exists, update
1964
- * },
1965
- * where: {
1966
- * // ... the filter for the CategoryBudget we want to update
1967
- * }
1968
- * })
1969
- */
1970
- upsert<T extends CategoryBudgetUpsertArgs>(args: Prisma.SelectSubset<T, CategoryBudgetUpsertArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1971
-
1972
-
1973
- /**
1974
- * Count the number of CategoryBudgets.
1975
- * Note, that providing `undefined` is treated as the value not being there.
1976
- * Read more here: https://pris.ly/d/null-undefined
1977
- * @param {CategoryBudgetCountArgs} args - Arguments to filter CategoryBudgets to count.
1978
- * @example
1979
- * // Count the number of CategoryBudgets
1980
- * const count = await prisma.categoryBudget.count({
1981
- * where: {
1982
- * // ... the filter for the CategoryBudgets we want to count
1983
- * }
1984
- * })
1985
- **/
1986
- count<T extends CategoryBudgetCountArgs>(
1987
- args?: Prisma.Subset<T, CategoryBudgetCountArgs>,
1988
- ): Prisma.PrismaPromise<
1989
- T extends runtime.Types.Utils.Record<'select', any>
1990
- ? T['select'] extends true
1991
- ? number
1992
- : Prisma.GetScalarType<T['select'], CategoryBudgetCountAggregateOutputType>
1993
- : number
1994
- >
1995
-
1996
- /**
1997
- * Allows you to perform aggregations operations on a CategoryBudget.
1998
- * Note, that providing `undefined` is treated as the value not being there.
1999
- * Read more here: https://pris.ly/d/null-undefined
2000
- * @param {CategoryBudgetAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2001
- * @example
2002
- * // Ordered by age ascending
2003
- * // Where email contains prisma.io
2004
- * // Limited to the 10 users
2005
- * const aggregations = await prisma.user.aggregate({
2006
- * _avg: {
2007
- * age: true,
2008
- * },
2009
- * where: {
2010
- * email: {
2011
- * contains: "prisma.io",
2012
- * },
2013
- * },
2014
- * orderBy: {
2015
- * age: "asc",
2016
- * },
2017
- * take: 10,
2018
- * })
2019
- **/
2020
- aggregate<T extends CategoryBudgetAggregateArgs>(args: Prisma.Subset<T, CategoryBudgetAggregateArgs>): Prisma.PrismaPromise<GetCategoryBudgetAggregateType<T>>
2021
-
2022
- /**
2023
- * Group by CategoryBudget.
2024
- * Note, that providing `undefined` is treated as the value not being there.
2025
- * Read more here: https://pris.ly/d/null-undefined
2026
- * @param {CategoryBudgetGroupByArgs} args - Group by arguments.
2027
- * @example
2028
- * // Group by city, order by createdAt, get count
2029
- * const result = await prisma.user.groupBy({
2030
- * by: ['city', 'createdAt'],
2031
- * orderBy: {
2032
- * createdAt: true
2033
- * },
2034
- * _count: {
2035
- * _all: true
2036
- * },
2037
- * })
2038
- *
2039
- **/
2040
- groupBy<
2041
- T extends CategoryBudgetGroupByArgs,
2042
- HasSelectOrTake extends Prisma.Or<
2043
- Prisma.Extends<'skip', Prisma.Keys<T>>,
2044
- Prisma.Extends<'take', Prisma.Keys<T>>
2045
- >,
2046
- OrderByArg extends Prisma.True extends HasSelectOrTake
2047
- ? { orderBy: CategoryBudgetGroupByArgs['orderBy'] }
2048
- : { orderBy?: CategoryBudgetGroupByArgs['orderBy'] },
2049
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2050
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2051
- ByValid extends Prisma.Has<ByFields, OrderFields>,
2052
- HavingFields extends Prisma.GetHavingFields<T['having']>,
2053
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
2054
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2055
- InputErrors extends ByEmpty extends Prisma.True
2056
- ? `Error: "by" must not be empty.`
2057
- : HavingValid extends Prisma.False
2058
- ? {
2059
- [P in HavingFields]: P extends ByFields
2060
- ? never
2061
- : P extends string
2062
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2063
- : [
2064
- Error,
2065
- 'Field ',
2066
- P,
2067
- ` in "having" needs to be provided in "by"`,
2068
- ]
2069
- }[HavingFields]
2070
- : 'take' extends Prisma.Keys<T>
2071
- ? 'orderBy' extends Prisma.Keys<T>
2072
- ? ByValid extends Prisma.True
2073
- ? {}
2074
- : {
2075
- [P in OrderFields]: P extends ByFields
2076
- ? never
2077
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2078
- }[OrderFields]
2079
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2080
- : 'skip' extends Prisma.Keys<T>
2081
- ? 'orderBy' extends Prisma.Keys<T>
2082
- ? ByValid extends Prisma.True
2083
- ? {}
2084
- : {
2085
- [P in OrderFields]: P extends ByFields
2086
- ? never
2087
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2088
- }[OrderFields]
2089
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2090
- : ByValid extends Prisma.True
2091
- ? {}
2092
- : {
2093
- [P in OrderFields]: P extends ByFields
2094
- ? never
2095
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2096
- }[OrderFields]
2097
- >(args: Prisma.SubsetIntersection<T, CategoryBudgetGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCategoryBudgetGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2098
- /**
2099
- * Fields of the CategoryBudget model
2100
- */
2101
- readonly fields: CategoryBudgetFieldRefs;
2102
- }
2103
-
2104
- /**
2105
- * The delegate class that acts as a "Promise-like" for CategoryBudget.
2106
- * Why is this prefixed with `Prisma__`?
2107
- * Because we want to prevent naming conflicts as mentioned in
2108
- * https://github.com/prisma/prisma-client-js/issues/707
2109
- */
2110
- export interface Prisma__CategoryBudgetClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2111
- readonly [Symbol.toStringTag]: "PrismaPromise"
2112
- department_budget<T extends Prisma.CategoryBudget$department_budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CategoryBudget$department_budgetArgs<ExtArgs>>): Prisma.Prisma__DepartmentBudgetClient<runtime.Types.Result.GetResult<Prisma.$DepartmentBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2113
- category<T extends Prisma.CategoryBudget$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CategoryBudget$categoryArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2114
- expenses<T extends Prisma.CategoryBudget$expensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CategoryBudget$expensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExpensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2115
- supporting_documents<T extends Prisma.CategoryBudget$supporting_documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CategoryBudget$supporting_documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportingDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2116
- budget_holds<T extends Prisma.CategoryBudget$budget_holdsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CategoryBudget$budget_holdsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2117
- /**
2118
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2119
- * @param onfulfilled The callback to execute when the Promise is resolved.
2120
- * @param onrejected The callback to execute when the Promise is rejected.
2121
- * @returns A Promise for the completion of which ever callback is executed.
2122
- */
2123
- 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>
2124
- /**
2125
- * Attaches a callback for only the rejection of the Promise.
2126
- * @param onrejected The callback to execute when the Promise is rejected.
2127
- * @returns A Promise for the completion of the callback.
2128
- */
2129
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2130
- /**
2131
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2132
- * resolved value cannot be modified from the callback.
2133
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2134
- * @returns A Promise for the completion of the callback.
2135
- */
2136
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2137
- }
2138
-
2139
-
2140
-
2141
-
2142
- /**
2143
- * Fields of the CategoryBudget model
2144
- */
2145
- export interface CategoryBudgetFieldRefs {
2146
- readonly id: Prisma.FieldRef<"CategoryBudget", 'Int'>
2147
- readonly uuid: Prisma.FieldRef<"CategoryBudget", 'String'>
2148
- readonly department_budget_id: Prisma.FieldRef<"CategoryBudget", 'Int'>
2149
- readonly category_id: Prisma.FieldRef<"CategoryBudget", 'Int'>
2150
- readonly initial_allocated_budget: Prisma.FieldRef<"CategoryBudget", 'Decimal'>
2151
- readonly allocated_budget: Prisma.FieldRef<"CategoryBudget", 'Decimal'>
2152
- readonly remaining_budget: Prisma.FieldRef<"CategoryBudget", 'Decimal'>
2153
- readonly fiscal_year: Prisma.FieldRef<"CategoryBudget", 'String'>
2154
- readonly notes: Prisma.FieldRef<"CategoryBudget", 'String'>
2155
- readonly description: Prisma.FieldRef<"CategoryBudget", 'String'>
2156
- readonly total_held_amount: Prisma.FieldRef<"CategoryBudget", 'Decimal'>
2157
- readonly crated_by: Prisma.FieldRef<"CategoryBudget", 'Int'>
2158
- readonly created_at: Prisma.FieldRef<"CategoryBudget", 'DateTime'>
2159
- readonly updated_by: Prisma.FieldRef<"CategoryBudget", 'Int'>
2160
- readonly updated_at: Prisma.FieldRef<"CategoryBudget", 'DateTime'>
2161
- readonly is_deleted: Prisma.FieldRef<"CategoryBudget", 'Boolean'>
2162
- readonly deleted_by: Prisma.FieldRef<"CategoryBudget", 'Int'>
2163
- readonly deleted_at: Prisma.FieldRef<"CategoryBudget", 'DateTime'>
2164
- }
2165
-
2166
-
2167
- // Custom InputTypes
2168
- /**
2169
- * CategoryBudget findUnique
2170
- */
2171
- export type CategoryBudgetFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2172
- /**
2173
- * Select specific fields to fetch from the CategoryBudget
2174
- */
2175
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2176
- /**
2177
- * Omit specific fields from the CategoryBudget
2178
- */
2179
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2180
- /**
2181
- * Choose, which related nodes to fetch as well
2182
- */
2183
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2184
- /**
2185
- * Filter, which CategoryBudget to fetch.
2186
- */
2187
- where: Prisma.CategoryBudgetWhereUniqueInput
2188
- }
2189
-
2190
- /**
2191
- * CategoryBudget findUniqueOrThrow
2192
- */
2193
- export type CategoryBudgetFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2194
- /**
2195
- * Select specific fields to fetch from the CategoryBudget
2196
- */
2197
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2198
- /**
2199
- * Omit specific fields from the CategoryBudget
2200
- */
2201
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2202
- /**
2203
- * Choose, which related nodes to fetch as well
2204
- */
2205
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2206
- /**
2207
- * Filter, which CategoryBudget to fetch.
2208
- */
2209
- where: Prisma.CategoryBudgetWhereUniqueInput
2210
- }
2211
-
2212
- /**
2213
- * CategoryBudget findFirst
2214
- */
2215
- export type CategoryBudgetFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2216
- /**
2217
- * Select specific fields to fetch from the CategoryBudget
2218
- */
2219
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2220
- /**
2221
- * Omit specific fields from the CategoryBudget
2222
- */
2223
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2224
- /**
2225
- * Choose, which related nodes to fetch as well
2226
- */
2227
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2228
- /**
2229
- * Filter, which CategoryBudget to fetch.
2230
- */
2231
- where?: Prisma.CategoryBudgetWhereInput
2232
- /**
2233
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2234
- *
2235
- * Determine the order of CategoryBudgets to fetch.
2236
- */
2237
- orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
2238
- /**
2239
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2240
- *
2241
- * Sets the position for searching for CategoryBudgets.
2242
- */
2243
- cursor?: Prisma.CategoryBudgetWhereUniqueInput
2244
- /**
2245
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2246
- *
2247
- * Take `±n` CategoryBudgets from the position of the cursor.
2248
- */
2249
- take?: number
2250
- /**
2251
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2252
- *
2253
- * Skip the first `n` CategoryBudgets.
2254
- */
2255
- skip?: number
2256
- /**
2257
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2258
- *
2259
- * Filter by unique combinations of CategoryBudgets.
2260
- */
2261
- distinct?: Prisma.CategoryBudgetScalarFieldEnum | Prisma.CategoryBudgetScalarFieldEnum[]
2262
- }
2263
-
2264
- /**
2265
- * CategoryBudget findFirstOrThrow
2266
- */
2267
- export type CategoryBudgetFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2268
- /**
2269
- * Select specific fields to fetch from the CategoryBudget
2270
- */
2271
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2272
- /**
2273
- * Omit specific fields from the CategoryBudget
2274
- */
2275
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2276
- /**
2277
- * Choose, which related nodes to fetch as well
2278
- */
2279
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2280
- /**
2281
- * Filter, which CategoryBudget to fetch.
2282
- */
2283
- where?: Prisma.CategoryBudgetWhereInput
2284
- /**
2285
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2286
- *
2287
- * Determine the order of CategoryBudgets to fetch.
2288
- */
2289
- orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
2290
- /**
2291
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2292
- *
2293
- * Sets the position for searching for CategoryBudgets.
2294
- */
2295
- cursor?: Prisma.CategoryBudgetWhereUniqueInput
2296
- /**
2297
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2298
- *
2299
- * Take `±n` CategoryBudgets from the position of the cursor.
2300
- */
2301
- take?: number
2302
- /**
2303
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2304
- *
2305
- * Skip the first `n` CategoryBudgets.
2306
- */
2307
- skip?: number
2308
- /**
2309
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2310
- *
2311
- * Filter by unique combinations of CategoryBudgets.
2312
- */
2313
- distinct?: Prisma.CategoryBudgetScalarFieldEnum | Prisma.CategoryBudgetScalarFieldEnum[]
2314
- }
2315
-
2316
- /**
2317
- * CategoryBudget findMany
2318
- */
2319
- export type CategoryBudgetFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2320
- /**
2321
- * Select specific fields to fetch from the CategoryBudget
2322
- */
2323
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2324
- /**
2325
- * Omit specific fields from the CategoryBudget
2326
- */
2327
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2328
- /**
2329
- * Choose, which related nodes to fetch as well
2330
- */
2331
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2332
- /**
2333
- * Filter, which CategoryBudgets to fetch.
2334
- */
2335
- where?: Prisma.CategoryBudgetWhereInput
2336
- /**
2337
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2338
- *
2339
- * Determine the order of CategoryBudgets to fetch.
2340
- */
2341
- orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
2342
- /**
2343
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2344
- *
2345
- * Sets the position for listing CategoryBudgets.
2346
- */
2347
- cursor?: Prisma.CategoryBudgetWhereUniqueInput
2348
- /**
2349
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2350
- *
2351
- * Take `±n` CategoryBudgets from the position of the cursor.
2352
- */
2353
- take?: number
2354
- /**
2355
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2356
- *
2357
- * Skip the first `n` CategoryBudgets.
2358
- */
2359
- skip?: number
2360
- /**
2361
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2362
- *
2363
- * Filter by unique combinations of CategoryBudgets.
2364
- */
2365
- distinct?: Prisma.CategoryBudgetScalarFieldEnum | Prisma.CategoryBudgetScalarFieldEnum[]
2366
- }
2367
-
2368
- /**
2369
- * CategoryBudget create
2370
- */
2371
- export type CategoryBudgetCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2372
- /**
2373
- * Select specific fields to fetch from the CategoryBudget
2374
- */
2375
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2376
- /**
2377
- * Omit specific fields from the CategoryBudget
2378
- */
2379
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2380
- /**
2381
- * Choose, which related nodes to fetch as well
2382
- */
2383
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2384
- /**
2385
- * The data needed to create a CategoryBudget.
2386
- */
2387
- data: Prisma.XOR<Prisma.CategoryBudgetCreateInput, Prisma.CategoryBudgetUncheckedCreateInput>
2388
- }
2389
-
2390
- /**
2391
- * CategoryBudget createMany
2392
- */
2393
- export type CategoryBudgetCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2394
- /**
2395
- * The data used to create many CategoryBudgets.
2396
- */
2397
- data: Prisma.CategoryBudgetCreateManyInput | Prisma.CategoryBudgetCreateManyInput[]
2398
- skipDuplicates?: boolean
2399
- }
2400
-
2401
- /**
2402
- * CategoryBudget createManyAndReturn
2403
- */
2404
- export type CategoryBudgetCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2405
- /**
2406
- * Select specific fields to fetch from the CategoryBudget
2407
- */
2408
- select?: Prisma.CategoryBudgetSelectCreateManyAndReturn<ExtArgs> | null
2409
- /**
2410
- * Omit specific fields from the CategoryBudget
2411
- */
2412
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2413
- /**
2414
- * The data used to create many CategoryBudgets.
2415
- */
2416
- data: Prisma.CategoryBudgetCreateManyInput | Prisma.CategoryBudgetCreateManyInput[]
2417
- skipDuplicates?: boolean
2418
- /**
2419
- * Choose, which related nodes to fetch as well
2420
- */
2421
- include?: Prisma.CategoryBudgetIncludeCreateManyAndReturn<ExtArgs> | null
2422
- }
2423
-
2424
- /**
2425
- * CategoryBudget update
2426
- */
2427
- export type CategoryBudgetUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2428
- /**
2429
- * Select specific fields to fetch from the CategoryBudget
2430
- */
2431
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2432
- /**
2433
- * Omit specific fields from the CategoryBudget
2434
- */
2435
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2436
- /**
2437
- * Choose, which related nodes to fetch as well
2438
- */
2439
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2440
- /**
2441
- * The data needed to update a CategoryBudget.
2442
- */
2443
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateInput, Prisma.CategoryBudgetUncheckedUpdateInput>
2444
- /**
2445
- * Choose, which CategoryBudget to update.
2446
- */
2447
- where: Prisma.CategoryBudgetWhereUniqueInput
2448
- }
2449
-
2450
- /**
2451
- * CategoryBudget updateMany
2452
- */
2453
- export type CategoryBudgetUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2454
- /**
2455
- * The data used to update CategoryBudgets.
2456
- */
2457
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateManyMutationInput, Prisma.CategoryBudgetUncheckedUpdateManyInput>
2458
- /**
2459
- * Filter which CategoryBudgets to update
2460
- */
2461
- where?: Prisma.CategoryBudgetWhereInput
2462
- /**
2463
- * Limit how many CategoryBudgets to update.
2464
- */
2465
- limit?: number
2466
- }
2467
-
2468
- /**
2469
- * CategoryBudget updateManyAndReturn
2470
- */
2471
- export type CategoryBudgetUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2472
- /**
2473
- * Select specific fields to fetch from the CategoryBudget
2474
- */
2475
- select?: Prisma.CategoryBudgetSelectUpdateManyAndReturn<ExtArgs> | null
2476
- /**
2477
- * Omit specific fields from the CategoryBudget
2478
- */
2479
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2480
- /**
2481
- * The data used to update CategoryBudgets.
2482
- */
2483
- data: Prisma.XOR<Prisma.CategoryBudgetUpdateManyMutationInput, Prisma.CategoryBudgetUncheckedUpdateManyInput>
2484
- /**
2485
- * Filter which CategoryBudgets to update
2486
- */
2487
- where?: Prisma.CategoryBudgetWhereInput
2488
- /**
2489
- * Limit how many CategoryBudgets to update.
2490
- */
2491
- limit?: number
2492
- /**
2493
- * Choose, which related nodes to fetch as well
2494
- */
2495
- include?: Prisma.CategoryBudgetIncludeUpdateManyAndReturn<ExtArgs> | null
2496
- }
2497
-
2498
- /**
2499
- * CategoryBudget upsert
2500
- */
2501
- export type CategoryBudgetUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2502
- /**
2503
- * Select specific fields to fetch from the CategoryBudget
2504
- */
2505
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2506
- /**
2507
- * Omit specific fields from the CategoryBudget
2508
- */
2509
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2510
- /**
2511
- * Choose, which related nodes to fetch as well
2512
- */
2513
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2514
- /**
2515
- * The filter to search for the CategoryBudget to update in case it exists.
2516
- */
2517
- where: Prisma.CategoryBudgetWhereUniqueInput
2518
- /**
2519
- * In case the CategoryBudget found by the `where` argument doesn't exist, create a new CategoryBudget with this data.
2520
- */
2521
- create: Prisma.XOR<Prisma.CategoryBudgetCreateInput, Prisma.CategoryBudgetUncheckedCreateInput>
2522
- /**
2523
- * In case the CategoryBudget was found with the provided `where` argument, update it with this data.
2524
- */
2525
- update: Prisma.XOR<Prisma.CategoryBudgetUpdateInput, Prisma.CategoryBudgetUncheckedUpdateInput>
2526
- }
2527
-
2528
- /**
2529
- * CategoryBudget delete
2530
- */
2531
- export type CategoryBudgetDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2532
- /**
2533
- * Select specific fields to fetch from the CategoryBudget
2534
- */
2535
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2536
- /**
2537
- * Omit specific fields from the CategoryBudget
2538
- */
2539
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2540
- /**
2541
- * Choose, which related nodes to fetch as well
2542
- */
2543
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2544
- /**
2545
- * Filter which CategoryBudget to delete.
2546
- */
2547
- where: Prisma.CategoryBudgetWhereUniqueInput
2548
- }
2549
-
2550
- /**
2551
- * CategoryBudget deleteMany
2552
- */
2553
- export type CategoryBudgetDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2554
- /**
2555
- * Filter which CategoryBudgets to delete
2556
- */
2557
- where?: Prisma.CategoryBudgetWhereInput
2558
- /**
2559
- * Limit how many CategoryBudgets to delete.
2560
- */
2561
- limit?: number
2562
- }
2563
-
2564
- /**
2565
- * CategoryBudget.department_budget
2566
- */
2567
- export type CategoryBudget$department_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2568
- /**
2569
- * Select specific fields to fetch from the DepartmentBudget
2570
- */
2571
- select?: Prisma.DepartmentBudgetSelect<ExtArgs> | null
2572
- /**
2573
- * Omit specific fields from the DepartmentBudget
2574
- */
2575
- omit?: Prisma.DepartmentBudgetOmit<ExtArgs> | null
2576
- /**
2577
- * Choose, which related nodes to fetch as well
2578
- */
2579
- include?: Prisma.DepartmentBudgetInclude<ExtArgs> | null
2580
- where?: Prisma.DepartmentBudgetWhereInput
2581
- }
2582
-
2583
- /**
2584
- * CategoryBudget.category
2585
- */
2586
- export type CategoryBudget$categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2587
- /**
2588
- * Select specific fields to fetch from the Category
2589
- */
2590
- select?: Prisma.CategorySelect<ExtArgs> | null
2591
- /**
2592
- * Omit specific fields from the Category
2593
- */
2594
- omit?: Prisma.CategoryOmit<ExtArgs> | null
2595
- /**
2596
- * Choose, which related nodes to fetch as well
2597
- */
2598
- include?: Prisma.CategoryInclude<ExtArgs> | null
2599
- where?: Prisma.CategoryWhereInput
2600
- }
2601
-
2602
- /**
2603
- * CategoryBudget.expenses
2604
- */
2605
- export type CategoryBudget$expensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2606
- /**
2607
- * Select specific fields to fetch from the Expense
2608
- */
2609
- select?: Prisma.ExpenseSelect<ExtArgs> | null
2610
- /**
2611
- * Omit specific fields from the Expense
2612
- */
2613
- omit?: Prisma.ExpenseOmit<ExtArgs> | null
2614
- /**
2615
- * Choose, which related nodes to fetch as well
2616
- */
2617
- include?: Prisma.ExpenseInclude<ExtArgs> | null
2618
- where?: Prisma.ExpenseWhereInput
2619
- orderBy?: Prisma.ExpenseOrderByWithRelationInput | Prisma.ExpenseOrderByWithRelationInput[]
2620
- cursor?: Prisma.ExpenseWhereUniqueInput
2621
- take?: number
2622
- skip?: number
2623
- distinct?: Prisma.ExpenseScalarFieldEnum | Prisma.ExpenseScalarFieldEnum[]
2624
- }
2625
-
2626
- /**
2627
- * CategoryBudget.supporting_documents
2628
- */
2629
- export type CategoryBudget$supporting_documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2630
- /**
2631
- * Select specific fields to fetch from the SupportingDocument
2632
- */
2633
- select?: Prisma.SupportingDocumentSelect<ExtArgs> | null
2634
- /**
2635
- * Omit specific fields from the SupportingDocument
2636
- */
2637
- omit?: Prisma.SupportingDocumentOmit<ExtArgs> | null
2638
- /**
2639
- * Choose, which related nodes to fetch as well
2640
- */
2641
- include?: Prisma.SupportingDocumentInclude<ExtArgs> | null
2642
- where?: Prisma.SupportingDocumentWhereInput
2643
- orderBy?: Prisma.SupportingDocumentOrderByWithRelationInput | Prisma.SupportingDocumentOrderByWithRelationInput[]
2644
- cursor?: Prisma.SupportingDocumentWhereUniqueInput
2645
- take?: number
2646
- skip?: number
2647
- distinct?: Prisma.SupportingDocumentScalarFieldEnum | Prisma.SupportingDocumentScalarFieldEnum[]
2648
- }
2649
-
2650
- /**
2651
- * CategoryBudget.budget_holds
2652
- */
2653
- export type CategoryBudget$budget_holdsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2654
- /**
2655
- * Select specific fields to fetch from the BudgetHold
2656
- */
2657
- select?: Prisma.BudgetHoldSelect<ExtArgs> | null
2658
- /**
2659
- * Omit specific fields from the BudgetHold
2660
- */
2661
- omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
2662
- /**
2663
- * Choose, which related nodes to fetch as well
2664
- */
2665
- include?: Prisma.BudgetHoldInclude<ExtArgs> | null
2666
- where?: Prisma.BudgetHoldWhereInput
2667
- orderBy?: Prisma.BudgetHoldOrderByWithRelationInput | Prisma.BudgetHoldOrderByWithRelationInput[]
2668
- cursor?: Prisma.BudgetHoldWhereUniqueInput
2669
- take?: number
2670
- skip?: number
2671
- distinct?: Prisma.BudgetHoldScalarFieldEnum | Prisma.BudgetHoldScalarFieldEnum[]
2672
- }
2673
-
2674
- /**
2675
- * CategoryBudget without action
2676
- */
2677
- export type CategoryBudgetDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2678
- /**
2679
- * Select specific fields to fetch from the CategoryBudget
2680
- */
2681
- select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
2682
- /**
2683
- * Omit specific fields from the CategoryBudget
2684
- */
2685
- omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
2686
- /**
2687
- * Choose, which related nodes to fetch as well
2688
- */
2689
- include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
2690
- }