procbay-schema 1.0.171 → 1.0.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
- package/prisma/schema.prisma +17 -7
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2911 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
- package/src/prisma/index.d.ts +286785 -0
- package/src/prisma/index.js +2940 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3831 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2873 -0
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,1904 +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 `BudgetHold` 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 BudgetHold
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type BudgetHoldModel = runtime.Types.Result.DefaultSelection<Prisma.$BudgetHoldPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateBudgetHold = {
|
|
22
|
-
_count: BudgetHoldCountAggregateOutputType | null
|
|
23
|
-
_avg: BudgetHoldAvgAggregateOutputType | null
|
|
24
|
-
_sum: BudgetHoldSumAggregateOutputType | null
|
|
25
|
-
_min: BudgetHoldMinAggregateOutputType | null
|
|
26
|
-
_max: BudgetHoldMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type BudgetHoldAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
category_budget_id: number | null
|
|
32
|
-
hold_amount: runtime.Decimal | null
|
|
33
|
-
consumed_amount: runtime.Decimal | null
|
|
34
|
-
reference_id: number | null
|
|
35
|
-
created_by: number | null
|
|
36
|
-
updated_by: number | null
|
|
37
|
-
deleted_by: number | null
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type BudgetHoldSumAggregateOutputType = {
|
|
41
|
-
id: number | null
|
|
42
|
-
category_budget_id: number | null
|
|
43
|
-
hold_amount: runtime.Decimal | null
|
|
44
|
-
consumed_amount: runtime.Decimal | null
|
|
45
|
-
reference_id: number | null
|
|
46
|
-
created_by: number | null
|
|
47
|
-
updated_by: number | null
|
|
48
|
-
deleted_by: number | null
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type BudgetHoldMinAggregateOutputType = {
|
|
52
|
-
id: number | null
|
|
53
|
-
uuid: string | null
|
|
54
|
-
category_budget_id: number | null
|
|
55
|
-
hold_amount: runtime.Decimal | null
|
|
56
|
-
consumed_amount: runtime.Decimal | null
|
|
57
|
-
status: $Enums.BudgetHoldStatus | null
|
|
58
|
-
reference_type: string | null
|
|
59
|
-
reference_id: number | null
|
|
60
|
-
reason: string | null
|
|
61
|
-
held_at: Date | null
|
|
62
|
-
resolved_at: Date | null
|
|
63
|
-
created_by: number | null
|
|
64
|
-
created_at: Date | null
|
|
65
|
-
updated_by: number | null
|
|
66
|
-
updated_at: Date | null
|
|
67
|
-
is_deleted: boolean | null
|
|
68
|
-
deleted_by: number | null
|
|
69
|
-
deleted_at: Date | null
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export type BudgetHoldMaxAggregateOutputType = {
|
|
73
|
-
id: number | null
|
|
74
|
-
uuid: string | null
|
|
75
|
-
category_budget_id: number | null
|
|
76
|
-
hold_amount: runtime.Decimal | null
|
|
77
|
-
consumed_amount: runtime.Decimal | null
|
|
78
|
-
status: $Enums.BudgetHoldStatus | null
|
|
79
|
-
reference_type: string | null
|
|
80
|
-
reference_id: number | null
|
|
81
|
-
reason: string | null
|
|
82
|
-
held_at: Date | null
|
|
83
|
-
resolved_at: Date | null
|
|
84
|
-
created_by: number | null
|
|
85
|
-
created_at: Date | null
|
|
86
|
-
updated_by: number | null
|
|
87
|
-
updated_at: Date | null
|
|
88
|
-
is_deleted: boolean | null
|
|
89
|
-
deleted_by: number | null
|
|
90
|
-
deleted_at: Date | null
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type BudgetHoldCountAggregateOutputType = {
|
|
94
|
-
id: number
|
|
95
|
-
uuid: number
|
|
96
|
-
category_budget_id: number
|
|
97
|
-
hold_amount: number
|
|
98
|
-
consumed_amount: number
|
|
99
|
-
status: number
|
|
100
|
-
reference_type: number
|
|
101
|
-
reference_id: number
|
|
102
|
-
reason: number
|
|
103
|
-
held_at: number
|
|
104
|
-
resolved_at: number
|
|
105
|
-
created_by: number
|
|
106
|
-
created_at: number
|
|
107
|
-
updated_by: number
|
|
108
|
-
updated_at: number
|
|
109
|
-
is_deleted: number
|
|
110
|
-
deleted_by: number
|
|
111
|
-
deleted_at: number
|
|
112
|
-
_all: number
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
export type BudgetHoldAvgAggregateInputType = {
|
|
117
|
-
id?: true
|
|
118
|
-
category_budget_id?: true
|
|
119
|
-
hold_amount?: true
|
|
120
|
-
consumed_amount?: true
|
|
121
|
-
reference_id?: true
|
|
122
|
-
created_by?: true
|
|
123
|
-
updated_by?: true
|
|
124
|
-
deleted_by?: true
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export type BudgetHoldSumAggregateInputType = {
|
|
128
|
-
id?: true
|
|
129
|
-
category_budget_id?: true
|
|
130
|
-
hold_amount?: true
|
|
131
|
-
consumed_amount?: true
|
|
132
|
-
reference_id?: true
|
|
133
|
-
created_by?: true
|
|
134
|
-
updated_by?: true
|
|
135
|
-
deleted_by?: true
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export type BudgetHoldMinAggregateInputType = {
|
|
139
|
-
id?: true
|
|
140
|
-
uuid?: true
|
|
141
|
-
category_budget_id?: true
|
|
142
|
-
hold_amount?: true
|
|
143
|
-
consumed_amount?: true
|
|
144
|
-
status?: true
|
|
145
|
-
reference_type?: true
|
|
146
|
-
reference_id?: true
|
|
147
|
-
reason?: true
|
|
148
|
-
held_at?: true
|
|
149
|
-
resolved_at?: true
|
|
150
|
-
created_by?: true
|
|
151
|
-
created_at?: true
|
|
152
|
-
updated_by?: true
|
|
153
|
-
updated_at?: true
|
|
154
|
-
is_deleted?: true
|
|
155
|
-
deleted_by?: true
|
|
156
|
-
deleted_at?: true
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export type BudgetHoldMaxAggregateInputType = {
|
|
160
|
-
id?: true
|
|
161
|
-
uuid?: true
|
|
162
|
-
category_budget_id?: true
|
|
163
|
-
hold_amount?: true
|
|
164
|
-
consumed_amount?: true
|
|
165
|
-
status?: true
|
|
166
|
-
reference_type?: true
|
|
167
|
-
reference_id?: true
|
|
168
|
-
reason?: true
|
|
169
|
-
held_at?: true
|
|
170
|
-
resolved_at?: true
|
|
171
|
-
created_by?: true
|
|
172
|
-
created_at?: true
|
|
173
|
-
updated_by?: true
|
|
174
|
-
updated_at?: true
|
|
175
|
-
is_deleted?: true
|
|
176
|
-
deleted_by?: true
|
|
177
|
-
deleted_at?: true
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export type BudgetHoldCountAggregateInputType = {
|
|
181
|
-
id?: true
|
|
182
|
-
uuid?: true
|
|
183
|
-
category_budget_id?: true
|
|
184
|
-
hold_amount?: true
|
|
185
|
-
consumed_amount?: true
|
|
186
|
-
status?: true
|
|
187
|
-
reference_type?: true
|
|
188
|
-
reference_id?: true
|
|
189
|
-
reason?: true
|
|
190
|
-
held_at?: true
|
|
191
|
-
resolved_at?: true
|
|
192
|
-
created_by?: true
|
|
193
|
-
created_at?: true
|
|
194
|
-
updated_by?: true
|
|
195
|
-
updated_at?: true
|
|
196
|
-
is_deleted?: true
|
|
197
|
-
deleted_by?: true
|
|
198
|
-
deleted_at?: true
|
|
199
|
-
_all?: true
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export type BudgetHoldAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
203
|
-
/**
|
|
204
|
-
* Filter which BudgetHold to aggregate.
|
|
205
|
-
*/
|
|
206
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
207
|
-
/**
|
|
208
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
209
|
-
*
|
|
210
|
-
* Determine the order of BudgetHolds to fetch.
|
|
211
|
-
*/
|
|
212
|
-
orderBy?: Prisma.BudgetHoldOrderByWithRelationInput | Prisma.BudgetHoldOrderByWithRelationInput[]
|
|
213
|
-
/**
|
|
214
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
215
|
-
*
|
|
216
|
-
* Sets the start position
|
|
217
|
-
*/
|
|
218
|
-
cursor?: Prisma.BudgetHoldWhereUniqueInput
|
|
219
|
-
/**
|
|
220
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
221
|
-
*
|
|
222
|
-
* Take `±n` BudgetHolds from the position of the cursor.
|
|
223
|
-
*/
|
|
224
|
-
take?: number
|
|
225
|
-
/**
|
|
226
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
227
|
-
*
|
|
228
|
-
* Skip the first `n` BudgetHolds.
|
|
229
|
-
*/
|
|
230
|
-
skip?: number
|
|
231
|
-
/**
|
|
232
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
233
|
-
*
|
|
234
|
-
* Count returned BudgetHolds
|
|
235
|
-
**/
|
|
236
|
-
_count?: true | BudgetHoldCountAggregateInputType
|
|
237
|
-
/**
|
|
238
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
239
|
-
*
|
|
240
|
-
* Select which fields to average
|
|
241
|
-
**/
|
|
242
|
-
_avg?: BudgetHoldAvgAggregateInputType
|
|
243
|
-
/**
|
|
244
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
245
|
-
*
|
|
246
|
-
* Select which fields to sum
|
|
247
|
-
**/
|
|
248
|
-
_sum?: BudgetHoldSumAggregateInputType
|
|
249
|
-
/**
|
|
250
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
251
|
-
*
|
|
252
|
-
* Select which fields to find the minimum value
|
|
253
|
-
**/
|
|
254
|
-
_min?: BudgetHoldMinAggregateInputType
|
|
255
|
-
/**
|
|
256
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
257
|
-
*
|
|
258
|
-
* Select which fields to find the maximum value
|
|
259
|
-
**/
|
|
260
|
-
_max?: BudgetHoldMaxAggregateInputType
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type GetBudgetHoldAggregateType<T extends BudgetHoldAggregateArgs> = {
|
|
264
|
-
[P in keyof T & keyof AggregateBudgetHold]: P extends '_count' | 'count'
|
|
265
|
-
? T[P] extends true
|
|
266
|
-
? number
|
|
267
|
-
: Prisma.GetScalarType<T[P], AggregateBudgetHold[P]>
|
|
268
|
-
: Prisma.GetScalarType<T[P], AggregateBudgetHold[P]>
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
export type BudgetHoldGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
275
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
276
|
-
orderBy?: Prisma.BudgetHoldOrderByWithAggregationInput | Prisma.BudgetHoldOrderByWithAggregationInput[]
|
|
277
|
-
by: Prisma.BudgetHoldScalarFieldEnum[] | Prisma.BudgetHoldScalarFieldEnum
|
|
278
|
-
having?: Prisma.BudgetHoldScalarWhereWithAggregatesInput
|
|
279
|
-
take?: number
|
|
280
|
-
skip?: number
|
|
281
|
-
_count?: BudgetHoldCountAggregateInputType | true
|
|
282
|
-
_avg?: BudgetHoldAvgAggregateInputType
|
|
283
|
-
_sum?: BudgetHoldSumAggregateInputType
|
|
284
|
-
_min?: BudgetHoldMinAggregateInputType
|
|
285
|
-
_max?: BudgetHoldMaxAggregateInputType
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export type BudgetHoldGroupByOutputType = {
|
|
289
|
-
id: number
|
|
290
|
-
uuid: string | null
|
|
291
|
-
category_budget_id: number | null
|
|
292
|
-
hold_amount: runtime.Decimal | null
|
|
293
|
-
consumed_amount: runtime.Decimal | null
|
|
294
|
-
status: $Enums.BudgetHoldStatus
|
|
295
|
-
reference_type: string | null
|
|
296
|
-
reference_id: number | null
|
|
297
|
-
reason: string | null
|
|
298
|
-
held_at: Date
|
|
299
|
-
resolved_at: Date | null
|
|
300
|
-
created_by: number | null
|
|
301
|
-
created_at: Date
|
|
302
|
-
updated_by: number | null
|
|
303
|
-
updated_at: Date
|
|
304
|
-
is_deleted: boolean
|
|
305
|
-
deleted_by: number | null
|
|
306
|
-
deleted_at: Date | null
|
|
307
|
-
_count: BudgetHoldCountAggregateOutputType | null
|
|
308
|
-
_avg: BudgetHoldAvgAggregateOutputType | null
|
|
309
|
-
_sum: BudgetHoldSumAggregateOutputType | null
|
|
310
|
-
_min: BudgetHoldMinAggregateOutputType | null
|
|
311
|
-
_max: BudgetHoldMaxAggregateOutputType | null
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
export type GetBudgetHoldGroupByPayload<T extends BudgetHoldGroupByArgs> = Prisma.PrismaPromise<
|
|
315
|
-
Array<
|
|
316
|
-
Prisma.PickEnumerable<BudgetHoldGroupByOutputType, T['by']> &
|
|
317
|
-
{
|
|
318
|
-
[P in ((keyof T) & (keyof BudgetHoldGroupByOutputType))]: P extends '_count'
|
|
319
|
-
? T[P] extends boolean
|
|
320
|
-
? number
|
|
321
|
-
: Prisma.GetScalarType<T[P], BudgetHoldGroupByOutputType[P]>
|
|
322
|
-
: Prisma.GetScalarType<T[P], BudgetHoldGroupByOutputType[P]>
|
|
323
|
-
}
|
|
324
|
-
>
|
|
325
|
-
>
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
export type BudgetHoldWhereInput = {
|
|
330
|
-
AND?: Prisma.BudgetHoldWhereInput | Prisma.BudgetHoldWhereInput[]
|
|
331
|
-
OR?: Prisma.BudgetHoldWhereInput[]
|
|
332
|
-
NOT?: Prisma.BudgetHoldWhereInput | Prisma.BudgetHoldWhereInput[]
|
|
333
|
-
id?: Prisma.IntFilter<"BudgetHold"> | number
|
|
334
|
-
uuid?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
335
|
-
category_budget_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
336
|
-
hold_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
337
|
-
consumed_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
338
|
-
status?: Prisma.EnumBudgetHoldStatusFilter<"BudgetHold"> | $Enums.BudgetHoldStatus
|
|
339
|
-
reference_type?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
340
|
-
reference_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
341
|
-
reason?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
342
|
-
held_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
343
|
-
resolved_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
344
|
-
created_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
345
|
-
created_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
346
|
-
updated_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
347
|
-
updated_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
348
|
-
is_deleted?: Prisma.BoolFilter<"BudgetHold"> | boolean
|
|
349
|
-
deleted_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
350
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
351
|
-
category_budget?: Prisma.XOR<Prisma.CategoryBudgetNullableScalarRelationFilter, Prisma.CategoryBudgetWhereInput> | null
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export type BudgetHoldOrderByWithRelationInput = {
|
|
355
|
-
id?: Prisma.SortOrder
|
|
356
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
357
|
-
category_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
358
|
-
hold_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
359
|
-
consumed_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
360
|
-
status?: Prisma.SortOrder
|
|
361
|
-
reference_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
362
|
-
reference_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
363
|
-
reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
364
|
-
held_at?: Prisma.SortOrder
|
|
365
|
-
resolved_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
366
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
367
|
-
created_at?: Prisma.SortOrder
|
|
368
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
369
|
-
updated_at?: Prisma.SortOrder
|
|
370
|
-
is_deleted?: Prisma.SortOrder
|
|
371
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
372
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
373
|
-
category_budget?: Prisma.CategoryBudgetOrderByWithRelationInput
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export type BudgetHoldWhereUniqueInput = Prisma.AtLeast<{
|
|
377
|
-
id?: number
|
|
378
|
-
uuid?: string
|
|
379
|
-
AND?: Prisma.BudgetHoldWhereInput | Prisma.BudgetHoldWhereInput[]
|
|
380
|
-
OR?: Prisma.BudgetHoldWhereInput[]
|
|
381
|
-
NOT?: Prisma.BudgetHoldWhereInput | Prisma.BudgetHoldWhereInput[]
|
|
382
|
-
category_budget_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
383
|
-
hold_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
384
|
-
consumed_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
385
|
-
status?: Prisma.EnumBudgetHoldStatusFilter<"BudgetHold"> | $Enums.BudgetHoldStatus
|
|
386
|
-
reference_type?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
387
|
-
reference_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
388
|
-
reason?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
389
|
-
held_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
390
|
-
resolved_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
391
|
-
created_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
392
|
-
created_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
393
|
-
updated_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
394
|
-
updated_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
395
|
-
is_deleted?: Prisma.BoolFilter<"BudgetHold"> | boolean
|
|
396
|
-
deleted_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
397
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
398
|
-
category_budget?: Prisma.XOR<Prisma.CategoryBudgetNullableScalarRelationFilter, Prisma.CategoryBudgetWhereInput> | null
|
|
399
|
-
}, "id" | "uuid">
|
|
400
|
-
|
|
401
|
-
export type BudgetHoldOrderByWithAggregationInput = {
|
|
402
|
-
id?: Prisma.SortOrder
|
|
403
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
404
|
-
category_budget_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
405
|
-
hold_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
406
|
-
consumed_amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
407
|
-
status?: Prisma.SortOrder
|
|
408
|
-
reference_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
409
|
-
reference_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
410
|
-
reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
411
|
-
held_at?: Prisma.SortOrder
|
|
412
|
-
resolved_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
413
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
414
|
-
created_at?: Prisma.SortOrder
|
|
415
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
416
|
-
updated_at?: Prisma.SortOrder
|
|
417
|
-
is_deleted?: Prisma.SortOrder
|
|
418
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
419
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
420
|
-
_count?: Prisma.BudgetHoldCountOrderByAggregateInput
|
|
421
|
-
_avg?: Prisma.BudgetHoldAvgOrderByAggregateInput
|
|
422
|
-
_max?: Prisma.BudgetHoldMaxOrderByAggregateInput
|
|
423
|
-
_min?: Prisma.BudgetHoldMinOrderByAggregateInput
|
|
424
|
-
_sum?: Prisma.BudgetHoldSumOrderByAggregateInput
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export type BudgetHoldScalarWhereWithAggregatesInput = {
|
|
428
|
-
AND?: Prisma.BudgetHoldScalarWhereWithAggregatesInput | Prisma.BudgetHoldScalarWhereWithAggregatesInput[]
|
|
429
|
-
OR?: Prisma.BudgetHoldScalarWhereWithAggregatesInput[]
|
|
430
|
-
NOT?: Prisma.BudgetHoldScalarWhereWithAggregatesInput | Prisma.BudgetHoldScalarWhereWithAggregatesInput[]
|
|
431
|
-
id?: Prisma.IntWithAggregatesFilter<"BudgetHold"> | number
|
|
432
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"BudgetHold"> | string | null
|
|
433
|
-
category_budget_id?: Prisma.IntNullableWithAggregatesFilter<"BudgetHold"> | number | null
|
|
434
|
-
hold_amount?: Prisma.DecimalNullableWithAggregatesFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
435
|
-
consumed_amount?: Prisma.DecimalNullableWithAggregatesFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
436
|
-
status?: Prisma.EnumBudgetHoldStatusWithAggregatesFilter<"BudgetHold"> | $Enums.BudgetHoldStatus
|
|
437
|
-
reference_type?: Prisma.StringNullableWithAggregatesFilter<"BudgetHold"> | string | null
|
|
438
|
-
reference_id?: Prisma.IntNullableWithAggregatesFilter<"BudgetHold"> | number | null
|
|
439
|
-
reason?: Prisma.StringNullableWithAggregatesFilter<"BudgetHold"> | string | null
|
|
440
|
-
held_at?: Prisma.DateTimeWithAggregatesFilter<"BudgetHold"> | Date | string
|
|
441
|
-
resolved_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BudgetHold"> | Date | string | null
|
|
442
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"BudgetHold"> | number | null
|
|
443
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"BudgetHold"> | Date | string
|
|
444
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"BudgetHold"> | number | null
|
|
445
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"BudgetHold"> | Date | string
|
|
446
|
-
is_deleted?: Prisma.BoolWithAggregatesFilter<"BudgetHold"> | boolean
|
|
447
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"BudgetHold"> | number | null
|
|
448
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BudgetHold"> | Date | string | null
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
export type BudgetHoldCreateInput = {
|
|
452
|
-
uuid?: string | null
|
|
453
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
454
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
455
|
-
status?: $Enums.BudgetHoldStatus
|
|
456
|
-
reference_type?: string | null
|
|
457
|
-
reference_id?: number | null
|
|
458
|
-
reason?: string | null
|
|
459
|
-
held_at?: Date | string
|
|
460
|
-
resolved_at?: Date | string | null
|
|
461
|
-
created_by?: number | null
|
|
462
|
-
created_at?: Date | string
|
|
463
|
-
updated_by?: number | null
|
|
464
|
-
updated_at?: Date | string
|
|
465
|
-
is_deleted?: boolean
|
|
466
|
-
deleted_by?: number | null
|
|
467
|
-
deleted_at?: Date | string | null
|
|
468
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedOneWithoutBudget_holdsInput
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
export type BudgetHoldUncheckedCreateInput = {
|
|
472
|
-
id?: number
|
|
473
|
-
uuid?: string | null
|
|
474
|
-
category_budget_id?: number | null
|
|
475
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
476
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
477
|
-
status?: $Enums.BudgetHoldStatus
|
|
478
|
-
reference_type?: string | null
|
|
479
|
-
reference_id?: number | null
|
|
480
|
-
reason?: string | null
|
|
481
|
-
held_at?: Date | string
|
|
482
|
-
resolved_at?: Date | string | null
|
|
483
|
-
created_by?: number | null
|
|
484
|
-
created_at?: Date | string
|
|
485
|
-
updated_by?: number | null
|
|
486
|
-
updated_at?: Date | string
|
|
487
|
-
is_deleted?: boolean
|
|
488
|
-
deleted_by?: number | null
|
|
489
|
-
deleted_at?: Date | string | null
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export type BudgetHoldUpdateInput = {
|
|
493
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
494
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
495
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
496
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
497
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
498
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
499
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
500
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
501
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
502
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
503
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
504
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
505
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
506
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
507
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
508
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
509
|
-
category_budget?: Prisma.CategoryBudgetUpdateOneWithoutBudget_holdsNestedInput
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export type BudgetHoldUncheckedUpdateInput = {
|
|
513
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
514
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
515
|
-
category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
516
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
517
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
518
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
519
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
520
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
521
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
522
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
523
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
524
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
525
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
526
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
527
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
528
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
529
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
530
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
export type BudgetHoldCreateManyInput = {
|
|
534
|
-
id?: number
|
|
535
|
-
uuid?: string | null
|
|
536
|
-
category_budget_id?: number | null
|
|
537
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
538
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
539
|
-
status?: $Enums.BudgetHoldStatus
|
|
540
|
-
reference_type?: string | null
|
|
541
|
-
reference_id?: number | null
|
|
542
|
-
reason?: string | null
|
|
543
|
-
held_at?: Date | string
|
|
544
|
-
resolved_at?: Date | string | null
|
|
545
|
-
created_by?: number | null
|
|
546
|
-
created_at?: Date | string
|
|
547
|
-
updated_by?: number | null
|
|
548
|
-
updated_at?: Date | string
|
|
549
|
-
is_deleted?: boolean
|
|
550
|
-
deleted_by?: number | null
|
|
551
|
-
deleted_at?: Date | string | null
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
export type BudgetHoldUpdateManyMutationInput = {
|
|
555
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
556
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
557
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
558
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
559
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
560
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
561
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
562
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
563
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
564
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
565
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
566
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
567
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
568
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
569
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
570
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export type BudgetHoldUncheckedUpdateManyInput = {
|
|
574
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
575
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
576
|
-
category_budget_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
577
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
578
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
579
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
580
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
581
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
582
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
583
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
584
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
585
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
586
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
587
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
588
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
589
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
590
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
591
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
export type BudgetHoldListRelationFilter = {
|
|
595
|
-
every?: Prisma.BudgetHoldWhereInput
|
|
596
|
-
some?: Prisma.BudgetHoldWhereInput
|
|
597
|
-
none?: Prisma.BudgetHoldWhereInput
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
export type BudgetHoldOrderByRelationAggregateInput = {
|
|
601
|
-
_count?: Prisma.SortOrder
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
export type BudgetHoldCountOrderByAggregateInput = {
|
|
605
|
-
id?: Prisma.SortOrder
|
|
606
|
-
uuid?: Prisma.SortOrder
|
|
607
|
-
category_budget_id?: Prisma.SortOrder
|
|
608
|
-
hold_amount?: Prisma.SortOrder
|
|
609
|
-
consumed_amount?: Prisma.SortOrder
|
|
610
|
-
status?: Prisma.SortOrder
|
|
611
|
-
reference_type?: Prisma.SortOrder
|
|
612
|
-
reference_id?: Prisma.SortOrder
|
|
613
|
-
reason?: Prisma.SortOrder
|
|
614
|
-
held_at?: Prisma.SortOrder
|
|
615
|
-
resolved_at?: Prisma.SortOrder
|
|
616
|
-
created_by?: Prisma.SortOrder
|
|
617
|
-
created_at?: Prisma.SortOrder
|
|
618
|
-
updated_by?: Prisma.SortOrder
|
|
619
|
-
updated_at?: Prisma.SortOrder
|
|
620
|
-
is_deleted?: Prisma.SortOrder
|
|
621
|
-
deleted_by?: Prisma.SortOrder
|
|
622
|
-
deleted_at?: Prisma.SortOrder
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
export type BudgetHoldAvgOrderByAggregateInput = {
|
|
626
|
-
id?: Prisma.SortOrder
|
|
627
|
-
category_budget_id?: Prisma.SortOrder
|
|
628
|
-
hold_amount?: Prisma.SortOrder
|
|
629
|
-
consumed_amount?: Prisma.SortOrder
|
|
630
|
-
reference_id?: Prisma.SortOrder
|
|
631
|
-
created_by?: Prisma.SortOrder
|
|
632
|
-
updated_by?: Prisma.SortOrder
|
|
633
|
-
deleted_by?: Prisma.SortOrder
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export type BudgetHoldMaxOrderByAggregateInput = {
|
|
637
|
-
id?: Prisma.SortOrder
|
|
638
|
-
uuid?: Prisma.SortOrder
|
|
639
|
-
category_budget_id?: Prisma.SortOrder
|
|
640
|
-
hold_amount?: Prisma.SortOrder
|
|
641
|
-
consumed_amount?: Prisma.SortOrder
|
|
642
|
-
status?: Prisma.SortOrder
|
|
643
|
-
reference_type?: Prisma.SortOrder
|
|
644
|
-
reference_id?: Prisma.SortOrder
|
|
645
|
-
reason?: Prisma.SortOrder
|
|
646
|
-
held_at?: Prisma.SortOrder
|
|
647
|
-
resolved_at?: Prisma.SortOrder
|
|
648
|
-
created_by?: Prisma.SortOrder
|
|
649
|
-
created_at?: Prisma.SortOrder
|
|
650
|
-
updated_by?: Prisma.SortOrder
|
|
651
|
-
updated_at?: Prisma.SortOrder
|
|
652
|
-
is_deleted?: Prisma.SortOrder
|
|
653
|
-
deleted_by?: Prisma.SortOrder
|
|
654
|
-
deleted_at?: Prisma.SortOrder
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
export type BudgetHoldMinOrderByAggregateInput = {
|
|
658
|
-
id?: Prisma.SortOrder
|
|
659
|
-
uuid?: Prisma.SortOrder
|
|
660
|
-
category_budget_id?: Prisma.SortOrder
|
|
661
|
-
hold_amount?: Prisma.SortOrder
|
|
662
|
-
consumed_amount?: Prisma.SortOrder
|
|
663
|
-
status?: Prisma.SortOrder
|
|
664
|
-
reference_type?: Prisma.SortOrder
|
|
665
|
-
reference_id?: Prisma.SortOrder
|
|
666
|
-
reason?: Prisma.SortOrder
|
|
667
|
-
held_at?: Prisma.SortOrder
|
|
668
|
-
resolved_at?: Prisma.SortOrder
|
|
669
|
-
created_by?: Prisma.SortOrder
|
|
670
|
-
created_at?: Prisma.SortOrder
|
|
671
|
-
updated_by?: Prisma.SortOrder
|
|
672
|
-
updated_at?: Prisma.SortOrder
|
|
673
|
-
is_deleted?: Prisma.SortOrder
|
|
674
|
-
deleted_by?: Prisma.SortOrder
|
|
675
|
-
deleted_at?: Prisma.SortOrder
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
export type BudgetHoldSumOrderByAggregateInput = {
|
|
679
|
-
id?: Prisma.SortOrder
|
|
680
|
-
category_budget_id?: Prisma.SortOrder
|
|
681
|
-
hold_amount?: Prisma.SortOrder
|
|
682
|
-
consumed_amount?: Prisma.SortOrder
|
|
683
|
-
reference_id?: Prisma.SortOrder
|
|
684
|
-
created_by?: Prisma.SortOrder
|
|
685
|
-
updated_by?: Prisma.SortOrder
|
|
686
|
-
deleted_by?: Prisma.SortOrder
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
export type BudgetHoldCreateNestedManyWithoutCategory_budgetInput = {
|
|
690
|
-
create?: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput> | Prisma.BudgetHoldCreateWithoutCategory_budgetInput[] | Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput[]
|
|
691
|
-
connectOrCreate?: Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput | Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput[]
|
|
692
|
-
createMany?: Prisma.BudgetHoldCreateManyCategory_budgetInputEnvelope
|
|
693
|
-
connect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
export type BudgetHoldUncheckedCreateNestedManyWithoutCategory_budgetInput = {
|
|
697
|
-
create?: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput> | Prisma.BudgetHoldCreateWithoutCategory_budgetInput[] | Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput[]
|
|
698
|
-
connectOrCreate?: Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput | Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput[]
|
|
699
|
-
createMany?: Prisma.BudgetHoldCreateManyCategory_budgetInputEnvelope
|
|
700
|
-
connect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
export type BudgetHoldUpdateManyWithoutCategory_budgetNestedInput = {
|
|
704
|
-
create?: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput> | Prisma.BudgetHoldCreateWithoutCategory_budgetInput[] | Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput[]
|
|
705
|
-
connectOrCreate?: Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput | Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput[]
|
|
706
|
-
upsert?: Prisma.BudgetHoldUpsertWithWhereUniqueWithoutCategory_budgetInput | Prisma.BudgetHoldUpsertWithWhereUniqueWithoutCategory_budgetInput[]
|
|
707
|
-
createMany?: Prisma.BudgetHoldCreateManyCategory_budgetInputEnvelope
|
|
708
|
-
set?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
709
|
-
disconnect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
710
|
-
delete?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
711
|
-
connect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
712
|
-
update?: Prisma.BudgetHoldUpdateWithWhereUniqueWithoutCategory_budgetInput | Prisma.BudgetHoldUpdateWithWhereUniqueWithoutCategory_budgetInput[]
|
|
713
|
-
updateMany?: Prisma.BudgetHoldUpdateManyWithWhereWithoutCategory_budgetInput | Prisma.BudgetHoldUpdateManyWithWhereWithoutCategory_budgetInput[]
|
|
714
|
-
deleteMany?: Prisma.BudgetHoldScalarWhereInput | Prisma.BudgetHoldScalarWhereInput[]
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
export type BudgetHoldUncheckedUpdateManyWithoutCategory_budgetNestedInput = {
|
|
718
|
-
create?: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput> | Prisma.BudgetHoldCreateWithoutCategory_budgetInput[] | Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput[]
|
|
719
|
-
connectOrCreate?: Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput | Prisma.BudgetHoldCreateOrConnectWithoutCategory_budgetInput[]
|
|
720
|
-
upsert?: Prisma.BudgetHoldUpsertWithWhereUniqueWithoutCategory_budgetInput | Prisma.BudgetHoldUpsertWithWhereUniqueWithoutCategory_budgetInput[]
|
|
721
|
-
createMany?: Prisma.BudgetHoldCreateManyCategory_budgetInputEnvelope
|
|
722
|
-
set?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
723
|
-
disconnect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
724
|
-
delete?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
725
|
-
connect?: Prisma.BudgetHoldWhereUniqueInput | Prisma.BudgetHoldWhereUniqueInput[]
|
|
726
|
-
update?: Prisma.BudgetHoldUpdateWithWhereUniqueWithoutCategory_budgetInput | Prisma.BudgetHoldUpdateWithWhereUniqueWithoutCategory_budgetInput[]
|
|
727
|
-
updateMany?: Prisma.BudgetHoldUpdateManyWithWhereWithoutCategory_budgetInput | Prisma.BudgetHoldUpdateManyWithWhereWithoutCategory_budgetInput[]
|
|
728
|
-
deleteMany?: Prisma.BudgetHoldScalarWhereInput | Prisma.BudgetHoldScalarWhereInput[]
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
export type EnumBudgetHoldStatusFieldUpdateOperationsInput = {
|
|
732
|
-
set?: $Enums.BudgetHoldStatus
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
export type BudgetHoldCreateWithoutCategory_budgetInput = {
|
|
736
|
-
uuid?: string | null
|
|
737
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
738
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
739
|
-
status?: $Enums.BudgetHoldStatus
|
|
740
|
-
reference_type?: string | null
|
|
741
|
-
reference_id?: number | null
|
|
742
|
-
reason?: string | null
|
|
743
|
-
held_at?: Date | string
|
|
744
|
-
resolved_at?: Date | string | null
|
|
745
|
-
created_by?: number | null
|
|
746
|
-
created_at?: Date | string
|
|
747
|
-
updated_by?: number | null
|
|
748
|
-
updated_at?: Date | string
|
|
749
|
-
is_deleted?: boolean
|
|
750
|
-
deleted_by?: number | null
|
|
751
|
-
deleted_at?: Date | string | null
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
export type BudgetHoldUncheckedCreateWithoutCategory_budgetInput = {
|
|
755
|
-
id?: number
|
|
756
|
-
uuid?: string | null
|
|
757
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
758
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
759
|
-
status?: $Enums.BudgetHoldStatus
|
|
760
|
-
reference_type?: string | null
|
|
761
|
-
reference_id?: number | null
|
|
762
|
-
reason?: string | null
|
|
763
|
-
held_at?: Date | string
|
|
764
|
-
resolved_at?: Date | string | null
|
|
765
|
-
created_by?: number | null
|
|
766
|
-
created_at?: Date | string
|
|
767
|
-
updated_by?: number | null
|
|
768
|
-
updated_at?: Date | string
|
|
769
|
-
is_deleted?: boolean
|
|
770
|
-
deleted_by?: number | null
|
|
771
|
-
deleted_at?: Date | string | null
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
export type BudgetHoldCreateOrConnectWithoutCategory_budgetInput = {
|
|
775
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
776
|
-
create: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput>
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
export type BudgetHoldCreateManyCategory_budgetInputEnvelope = {
|
|
780
|
-
data: Prisma.BudgetHoldCreateManyCategory_budgetInput | Prisma.BudgetHoldCreateManyCategory_budgetInput[]
|
|
781
|
-
skipDuplicates?: boolean
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
export type BudgetHoldUpsertWithWhereUniqueWithoutCategory_budgetInput = {
|
|
785
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
786
|
-
update: Prisma.XOR<Prisma.BudgetHoldUpdateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedUpdateWithoutCategory_budgetInput>
|
|
787
|
-
create: Prisma.XOR<Prisma.BudgetHoldCreateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedCreateWithoutCategory_budgetInput>
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
export type BudgetHoldUpdateWithWhereUniqueWithoutCategory_budgetInput = {
|
|
791
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
792
|
-
data: Prisma.XOR<Prisma.BudgetHoldUpdateWithoutCategory_budgetInput, Prisma.BudgetHoldUncheckedUpdateWithoutCategory_budgetInput>
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
export type BudgetHoldUpdateManyWithWhereWithoutCategory_budgetInput = {
|
|
796
|
-
where: Prisma.BudgetHoldScalarWhereInput
|
|
797
|
-
data: Prisma.XOR<Prisma.BudgetHoldUpdateManyMutationInput, Prisma.BudgetHoldUncheckedUpdateManyWithoutCategory_budgetInput>
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
export type BudgetHoldScalarWhereInput = {
|
|
801
|
-
AND?: Prisma.BudgetHoldScalarWhereInput | Prisma.BudgetHoldScalarWhereInput[]
|
|
802
|
-
OR?: Prisma.BudgetHoldScalarWhereInput[]
|
|
803
|
-
NOT?: Prisma.BudgetHoldScalarWhereInput | Prisma.BudgetHoldScalarWhereInput[]
|
|
804
|
-
id?: Prisma.IntFilter<"BudgetHold"> | number
|
|
805
|
-
uuid?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
806
|
-
category_budget_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
807
|
-
hold_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
808
|
-
consumed_amount?: Prisma.DecimalNullableFilter<"BudgetHold"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
809
|
-
status?: Prisma.EnumBudgetHoldStatusFilter<"BudgetHold"> | $Enums.BudgetHoldStatus
|
|
810
|
-
reference_type?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
811
|
-
reference_id?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
812
|
-
reason?: Prisma.StringNullableFilter<"BudgetHold"> | string | null
|
|
813
|
-
held_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
814
|
-
resolved_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
815
|
-
created_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
816
|
-
created_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
817
|
-
updated_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
818
|
-
updated_at?: Prisma.DateTimeFilter<"BudgetHold"> | Date | string
|
|
819
|
-
is_deleted?: Prisma.BoolFilter<"BudgetHold"> | boolean
|
|
820
|
-
deleted_by?: Prisma.IntNullableFilter<"BudgetHold"> | number | null
|
|
821
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"BudgetHold"> | Date | string | null
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
export type BudgetHoldCreateManyCategory_budgetInput = {
|
|
825
|
-
id?: number
|
|
826
|
-
uuid?: string | null
|
|
827
|
-
hold_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
828
|
-
consumed_amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
829
|
-
status?: $Enums.BudgetHoldStatus
|
|
830
|
-
reference_type?: string | null
|
|
831
|
-
reference_id?: number | null
|
|
832
|
-
reason?: string | null
|
|
833
|
-
held_at?: Date | string
|
|
834
|
-
resolved_at?: Date | string | null
|
|
835
|
-
created_by?: number | null
|
|
836
|
-
created_at?: Date | string
|
|
837
|
-
updated_by?: number | null
|
|
838
|
-
updated_at?: Date | string
|
|
839
|
-
is_deleted?: boolean
|
|
840
|
-
deleted_by?: number | null
|
|
841
|
-
deleted_at?: Date | string | null
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
export type BudgetHoldUpdateWithoutCategory_budgetInput = {
|
|
845
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
846
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
847
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
848
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
849
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
850
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
851
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
852
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
853
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
854
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
855
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
856
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
857
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
858
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
859
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
860
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
export type BudgetHoldUncheckedUpdateWithoutCategory_budgetInput = {
|
|
864
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
865
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
866
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
867
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
868
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
869
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
870
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
871
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
872
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
873
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
874
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
875
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
876
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
877
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
878
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
879
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
880
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
export type BudgetHoldUncheckedUpdateManyWithoutCategory_budgetInput = {
|
|
884
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
885
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
886
|
-
hold_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
887
|
-
consumed_amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
888
|
-
status?: Prisma.EnumBudgetHoldStatusFieldUpdateOperationsInput | $Enums.BudgetHoldStatus
|
|
889
|
-
reference_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
890
|
-
reference_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
891
|
-
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
892
|
-
held_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
893
|
-
resolved_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
894
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
895
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
896
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
897
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
898
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
899
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
900
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
export type BudgetHoldSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
906
|
-
id?: boolean
|
|
907
|
-
uuid?: boolean
|
|
908
|
-
category_budget_id?: boolean
|
|
909
|
-
hold_amount?: boolean
|
|
910
|
-
consumed_amount?: boolean
|
|
911
|
-
status?: boolean
|
|
912
|
-
reference_type?: boolean
|
|
913
|
-
reference_id?: boolean
|
|
914
|
-
reason?: boolean
|
|
915
|
-
held_at?: boolean
|
|
916
|
-
resolved_at?: boolean
|
|
917
|
-
created_by?: boolean
|
|
918
|
-
created_at?: boolean
|
|
919
|
-
updated_by?: boolean
|
|
920
|
-
updated_at?: boolean
|
|
921
|
-
is_deleted?: boolean
|
|
922
|
-
deleted_by?: boolean
|
|
923
|
-
deleted_at?: boolean
|
|
924
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
925
|
-
}, ExtArgs["result"]["budgetHold"]>
|
|
926
|
-
|
|
927
|
-
export type BudgetHoldSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
928
|
-
id?: boolean
|
|
929
|
-
uuid?: boolean
|
|
930
|
-
category_budget_id?: boolean
|
|
931
|
-
hold_amount?: boolean
|
|
932
|
-
consumed_amount?: boolean
|
|
933
|
-
status?: boolean
|
|
934
|
-
reference_type?: boolean
|
|
935
|
-
reference_id?: boolean
|
|
936
|
-
reason?: boolean
|
|
937
|
-
held_at?: boolean
|
|
938
|
-
resolved_at?: boolean
|
|
939
|
-
created_by?: boolean
|
|
940
|
-
created_at?: boolean
|
|
941
|
-
updated_by?: boolean
|
|
942
|
-
updated_at?: boolean
|
|
943
|
-
is_deleted?: boolean
|
|
944
|
-
deleted_by?: boolean
|
|
945
|
-
deleted_at?: boolean
|
|
946
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
947
|
-
}, ExtArgs["result"]["budgetHold"]>
|
|
948
|
-
|
|
949
|
-
export type BudgetHoldSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
950
|
-
id?: boolean
|
|
951
|
-
uuid?: boolean
|
|
952
|
-
category_budget_id?: boolean
|
|
953
|
-
hold_amount?: boolean
|
|
954
|
-
consumed_amount?: boolean
|
|
955
|
-
status?: boolean
|
|
956
|
-
reference_type?: boolean
|
|
957
|
-
reference_id?: boolean
|
|
958
|
-
reason?: boolean
|
|
959
|
-
held_at?: boolean
|
|
960
|
-
resolved_at?: boolean
|
|
961
|
-
created_by?: boolean
|
|
962
|
-
created_at?: boolean
|
|
963
|
-
updated_by?: boolean
|
|
964
|
-
updated_at?: boolean
|
|
965
|
-
is_deleted?: boolean
|
|
966
|
-
deleted_by?: boolean
|
|
967
|
-
deleted_at?: boolean
|
|
968
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
969
|
-
}, ExtArgs["result"]["budgetHold"]>
|
|
970
|
-
|
|
971
|
-
export type BudgetHoldSelectScalar = {
|
|
972
|
-
id?: boolean
|
|
973
|
-
uuid?: boolean
|
|
974
|
-
category_budget_id?: boolean
|
|
975
|
-
hold_amount?: boolean
|
|
976
|
-
consumed_amount?: boolean
|
|
977
|
-
status?: boolean
|
|
978
|
-
reference_type?: boolean
|
|
979
|
-
reference_id?: boolean
|
|
980
|
-
reason?: boolean
|
|
981
|
-
held_at?: boolean
|
|
982
|
-
resolved_at?: boolean
|
|
983
|
-
created_by?: boolean
|
|
984
|
-
created_at?: boolean
|
|
985
|
-
updated_by?: boolean
|
|
986
|
-
updated_at?: boolean
|
|
987
|
-
is_deleted?: boolean
|
|
988
|
-
deleted_by?: boolean
|
|
989
|
-
deleted_at?: boolean
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export type BudgetHoldOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "category_budget_id" | "hold_amount" | "consumed_amount" | "status" | "reference_type" | "reference_id" | "reason" | "held_at" | "resolved_at" | "created_by" | "created_at" | "updated_by" | "updated_at" | "is_deleted" | "deleted_by" | "deleted_at", ExtArgs["result"]["budgetHold"]>
|
|
993
|
-
export type BudgetHoldInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
994
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
995
|
-
}
|
|
996
|
-
export type BudgetHoldIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
998
|
-
}
|
|
999
|
-
export type BudgetHoldIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1000
|
-
category_budget?: boolean | Prisma.BudgetHold$category_budgetArgs<ExtArgs>
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
export type $BudgetHoldPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1004
|
-
name: "BudgetHold"
|
|
1005
|
-
objects: {
|
|
1006
|
-
category_budget: Prisma.$CategoryBudgetPayload<ExtArgs> | null
|
|
1007
|
-
}
|
|
1008
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1009
|
-
id: number
|
|
1010
|
-
uuid: string | null
|
|
1011
|
-
category_budget_id: number | null
|
|
1012
|
-
hold_amount: runtime.Decimal | null
|
|
1013
|
-
consumed_amount: runtime.Decimal | null
|
|
1014
|
-
status: $Enums.BudgetHoldStatus
|
|
1015
|
-
reference_type: string | null
|
|
1016
|
-
reference_id: number | null
|
|
1017
|
-
reason: string | null
|
|
1018
|
-
held_at: Date
|
|
1019
|
-
resolved_at: Date | null
|
|
1020
|
-
created_by: number | null
|
|
1021
|
-
created_at: Date
|
|
1022
|
-
updated_by: number | null
|
|
1023
|
-
updated_at: Date
|
|
1024
|
-
is_deleted: boolean
|
|
1025
|
-
deleted_by: number | null
|
|
1026
|
-
deleted_at: Date | null
|
|
1027
|
-
}, ExtArgs["result"]["budgetHold"]>
|
|
1028
|
-
composites: {}
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
export type BudgetHoldGetPayload<S extends boolean | null | undefined | BudgetHoldDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload, S>
|
|
1032
|
-
|
|
1033
|
-
export type BudgetHoldCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1034
|
-
Omit<BudgetHoldFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1035
|
-
select?: BudgetHoldCountAggregateInputType | true
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface BudgetHoldDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1039
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BudgetHold'], meta: { name: 'BudgetHold' } }
|
|
1040
|
-
/**
|
|
1041
|
-
* Find zero or one BudgetHold that matches the filter.
|
|
1042
|
-
* @param {BudgetHoldFindUniqueArgs} args - Arguments to find a BudgetHold
|
|
1043
|
-
* @example
|
|
1044
|
-
* // Get one BudgetHold
|
|
1045
|
-
* const budgetHold = await prisma.budgetHold.findUnique({
|
|
1046
|
-
* where: {
|
|
1047
|
-
* // ... provide filter here
|
|
1048
|
-
* }
|
|
1049
|
-
* })
|
|
1050
|
-
*/
|
|
1051
|
-
findUnique<T extends BudgetHoldFindUniqueArgs>(args: Prisma.SelectSubset<T, BudgetHoldFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* Find one BudgetHold that matches the filter or throw an error with `error.code='P2025'`
|
|
1055
|
-
* if no matches were found.
|
|
1056
|
-
* @param {BudgetHoldFindUniqueOrThrowArgs} args - Arguments to find a BudgetHold
|
|
1057
|
-
* @example
|
|
1058
|
-
* // Get one BudgetHold
|
|
1059
|
-
* const budgetHold = await prisma.budgetHold.findUniqueOrThrow({
|
|
1060
|
-
* where: {
|
|
1061
|
-
* // ... provide filter here
|
|
1062
|
-
* }
|
|
1063
|
-
* })
|
|
1064
|
-
*/
|
|
1065
|
-
findUniqueOrThrow<T extends BudgetHoldFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BudgetHoldFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* Find the first BudgetHold that matches the filter.
|
|
1069
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1070
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1071
|
-
* @param {BudgetHoldFindFirstArgs} args - Arguments to find a BudgetHold
|
|
1072
|
-
* @example
|
|
1073
|
-
* // Get one BudgetHold
|
|
1074
|
-
* const budgetHold = await prisma.budgetHold.findFirst({
|
|
1075
|
-
* where: {
|
|
1076
|
-
* // ... provide filter here
|
|
1077
|
-
* }
|
|
1078
|
-
* })
|
|
1079
|
-
*/
|
|
1080
|
-
findFirst<T extends BudgetHoldFindFirstArgs>(args?: Prisma.SelectSubset<T, BudgetHoldFindFirstArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Find the first BudgetHold that matches the filter or
|
|
1084
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1085
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1086
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1087
|
-
* @param {BudgetHoldFindFirstOrThrowArgs} args - Arguments to find a BudgetHold
|
|
1088
|
-
* @example
|
|
1089
|
-
* // Get one BudgetHold
|
|
1090
|
-
* const budgetHold = await prisma.budgetHold.findFirstOrThrow({
|
|
1091
|
-
* where: {
|
|
1092
|
-
* // ... provide filter here
|
|
1093
|
-
* }
|
|
1094
|
-
* })
|
|
1095
|
-
*/
|
|
1096
|
-
findFirstOrThrow<T extends BudgetHoldFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BudgetHoldFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Find zero or more BudgetHolds that matches the filter.
|
|
1100
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1101
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1102
|
-
* @param {BudgetHoldFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1103
|
-
* @example
|
|
1104
|
-
* // Get all BudgetHolds
|
|
1105
|
-
* const budgetHolds = await prisma.budgetHold.findMany()
|
|
1106
|
-
*
|
|
1107
|
-
* // Get first 10 BudgetHolds
|
|
1108
|
-
* const budgetHolds = await prisma.budgetHold.findMany({ take: 10 })
|
|
1109
|
-
*
|
|
1110
|
-
* // Only select the `id`
|
|
1111
|
-
* const budgetHoldWithIdOnly = await prisma.budgetHold.findMany({ select: { id: true } })
|
|
1112
|
-
*
|
|
1113
|
-
*/
|
|
1114
|
-
findMany<T extends BudgetHoldFindManyArgs>(args?: Prisma.SelectSubset<T, BudgetHoldFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Create a BudgetHold.
|
|
1118
|
-
* @param {BudgetHoldCreateArgs} args - Arguments to create a BudgetHold.
|
|
1119
|
-
* @example
|
|
1120
|
-
* // Create one BudgetHold
|
|
1121
|
-
* const BudgetHold = await prisma.budgetHold.create({
|
|
1122
|
-
* data: {
|
|
1123
|
-
* // ... data to create a BudgetHold
|
|
1124
|
-
* }
|
|
1125
|
-
* })
|
|
1126
|
-
*
|
|
1127
|
-
*/
|
|
1128
|
-
create<T extends BudgetHoldCreateArgs>(args: Prisma.SelectSubset<T, BudgetHoldCreateArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Create many BudgetHolds.
|
|
1132
|
-
* @param {BudgetHoldCreateManyArgs} args - Arguments to create many BudgetHolds.
|
|
1133
|
-
* @example
|
|
1134
|
-
* // Create many BudgetHolds
|
|
1135
|
-
* const budgetHold = await prisma.budgetHold.createMany({
|
|
1136
|
-
* data: [
|
|
1137
|
-
* // ... provide data here
|
|
1138
|
-
* ]
|
|
1139
|
-
* })
|
|
1140
|
-
*
|
|
1141
|
-
*/
|
|
1142
|
-
createMany<T extends BudgetHoldCreateManyArgs>(args?: Prisma.SelectSubset<T, BudgetHoldCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Create many BudgetHolds and returns the data saved in the database.
|
|
1146
|
-
* @param {BudgetHoldCreateManyAndReturnArgs} args - Arguments to create many BudgetHolds.
|
|
1147
|
-
* @example
|
|
1148
|
-
* // Create many BudgetHolds
|
|
1149
|
-
* const budgetHold = await prisma.budgetHold.createManyAndReturn({
|
|
1150
|
-
* data: [
|
|
1151
|
-
* // ... provide data here
|
|
1152
|
-
* ]
|
|
1153
|
-
* })
|
|
1154
|
-
*
|
|
1155
|
-
* // Create many BudgetHolds and only return the `id`
|
|
1156
|
-
* const budgetHoldWithIdOnly = await prisma.budgetHold.createManyAndReturn({
|
|
1157
|
-
* select: { id: true },
|
|
1158
|
-
* data: [
|
|
1159
|
-
* // ... provide data here
|
|
1160
|
-
* ]
|
|
1161
|
-
* })
|
|
1162
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1163
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1164
|
-
*
|
|
1165
|
-
*/
|
|
1166
|
-
createManyAndReturn<T extends BudgetHoldCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BudgetHoldCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* Delete a BudgetHold.
|
|
1170
|
-
* @param {BudgetHoldDeleteArgs} args - Arguments to delete one BudgetHold.
|
|
1171
|
-
* @example
|
|
1172
|
-
* // Delete one BudgetHold
|
|
1173
|
-
* const BudgetHold = await prisma.budgetHold.delete({
|
|
1174
|
-
* where: {
|
|
1175
|
-
* // ... filter to delete one BudgetHold
|
|
1176
|
-
* }
|
|
1177
|
-
* })
|
|
1178
|
-
*
|
|
1179
|
-
*/
|
|
1180
|
-
delete<T extends BudgetHoldDeleteArgs>(args: Prisma.SelectSubset<T, BudgetHoldDeleteArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* Update one BudgetHold.
|
|
1184
|
-
* @param {BudgetHoldUpdateArgs} args - Arguments to update one BudgetHold.
|
|
1185
|
-
* @example
|
|
1186
|
-
* // Update one BudgetHold
|
|
1187
|
-
* const budgetHold = await prisma.budgetHold.update({
|
|
1188
|
-
* where: {
|
|
1189
|
-
* // ... provide filter here
|
|
1190
|
-
* },
|
|
1191
|
-
* data: {
|
|
1192
|
-
* // ... provide data here
|
|
1193
|
-
* }
|
|
1194
|
-
* })
|
|
1195
|
-
*
|
|
1196
|
-
*/
|
|
1197
|
-
update<T extends BudgetHoldUpdateArgs>(args: Prisma.SelectSubset<T, BudgetHoldUpdateArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Delete zero or more BudgetHolds.
|
|
1201
|
-
* @param {BudgetHoldDeleteManyArgs} args - Arguments to filter BudgetHolds to delete.
|
|
1202
|
-
* @example
|
|
1203
|
-
* // Delete a few BudgetHolds
|
|
1204
|
-
* const { count } = await prisma.budgetHold.deleteMany({
|
|
1205
|
-
* where: {
|
|
1206
|
-
* // ... provide filter here
|
|
1207
|
-
* }
|
|
1208
|
-
* })
|
|
1209
|
-
*
|
|
1210
|
-
*/
|
|
1211
|
-
deleteMany<T extends BudgetHoldDeleteManyArgs>(args?: Prisma.SelectSubset<T, BudgetHoldDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* Update zero or more BudgetHolds.
|
|
1215
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1216
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1217
|
-
* @param {BudgetHoldUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1218
|
-
* @example
|
|
1219
|
-
* // Update many BudgetHolds
|
|
1220
|
-
* const budgetHold = await prisma.budgetHold.updateMany({
|
|
1221
|
-
* where: {
|
|
1222
|
-
* // ... provide filter here
|
|
1223
|
-
* },
|
|
1224
|
-
* data: {
|
|
1225
|
-
* // ... provide data here
|
|
1226
|
-
* }
|
|
1227
|
-
* })
|
|
1228
|
-
*
|
|
1229
|
-
*/
|
|
1230
|
-
updateMany<T extends BudgetHoldUpdateManyArgs>(args: Prisma.SelectSubset<T, BudgetHoldUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* Update zero or more BudgetHolds and returns the data updated in the database.
|
|
1234
|
-
* @param {BudgetHoldUpdateManyAndReturnArgs} args - Arguments to update many BudgetHolds.
|
|
1235
|
-
* @example
|
|
1236
|
-
* // Update many BudgetHolds
|
|
1237
|
-
* const budgetHold = await prisma.budgetHold.updateManyAndReturn({
|
|
1238
|
-
* where: {
|
|
1239
|
-
* // ... provide filter here
|
|
1240
|
-
* },
|
|
1241
|
-
* data: [
|
|
1242
|
-
* // ... provide data here
|
|
1243
|
-
* ]
|
|
1244
|
-
* })
|
|
1245
|
-
*
|
|
1246
|
-
* // Update zero or more BudgetHolds and only return the `id`
|
|
1247
|
-
* const budgetHoldWithIdOnly = await prisma.budgetHold.updateManyAndReturn({
|
|
1248
|
-
* select: { id: true },
|
|
1249
|
-
* where: {
|
|
1250
|
-
* // ... provide filter here
|
|
1251
|
-
* },
|
|
1252
|
-
* data: [
|
|
1253
|
-
* // ... provide data here
|
|
1254
|
-
* ]
|
|
1255
|
-
* })
|
|
1256
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1257
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1258
|
-
*
|
|
1259
|
-
*/
|
|
1260
|
-
updateManyAndReturn<T extends BudgetHoldUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BudgetHoldUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Create or update one BudgetHold.
|
|
1264
|
-
* @param {BudgetHoldUpsertArgs} args - Arguments to update or create a BudgetHold.
|
|
1265
|
-
* @example
|
|
1266
|
-
* // Update or create a BudgetHold
|
|
1267
|
-
* const budgetHold = await prisma.budgetHold.upsert({
|
|
1268
|
-
* create: {
|
|
1269
|
-
* // ... data to create a BudgetHold
|
|
1270
|
-
* },
|
|
1271
|
-
* update: {
|
|
1272
|
-
* // ... in case it already exists, update
|
|
1273
|
-
* },
|
|
1274
|
-
* where: {
|
|
1275
|
-
* // ... the filter for the BudgetHold we want to update
|
|
1276
|
-
* }
|
|
1277
|
-
* })
|
|
1278
|
-
*/
|
|
1279
|
-
upsert<T extends BudgetHoldUpsertArgs>(args: Prisma.SelectSubset<T, BudgetHoldUpsertArgs<ExtArgs>>): Prisma.Prisma__BudgetHoldClient<runtime.Types.Result.GetResult<Prisma.$BudgetHoldPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Count the number of BudgetHolds.
|
|
1284
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1285
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1286
|
-
* @param {BudgetHoldCountArgs} args - Arguments to filter BudgetHolds to count.
|
|
1287
|
-
* @example
|
|
1288
|
-
* // Count the number of BudgetHolds
|
|
1289
|
-
* const count = await prisma.budgetHold.count({
|
|
1290
|
-
* where: {
|
|
1291
|
-
* // ... the filter for the BudgetHolds we want to count
|
|
1292
|
-
* }
|
|
1293
|
-
* })
|
|
1294
|
-
**/
|
|
1295
|
-
count<T extends BudgetHoldCountArgs>(
|
|
1296
|
-
args?: Prisma.Subset<T, BudgetHoldCountArgs>,
|
|
1297
|
-
): Prisma.PrismaPromise<
|
|
1298
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1299
|
-
? T['select'] extends true
|
|
1300
|
-
? number
|
|
1301
|
-
: Prisma.GetScalarType<T['select'], BudgetHoldCountAggregateOutputType>
|
|
1302
|
-
: number
|
|
1303
|
-
>
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Allows you to perform aggregations operations on a BudgetHold.
|
|
1307
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1308
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1309
|
-
* @param {BudgetHoldAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1310
|
-
* @example
|
|
1311
|
-
* // Ordered by age ascending
|
|
1312
|
-
* // Where email contains prisma.io
|
|
1313
|
-
* // Limited to the 10 users
|
|
1314
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1315
|
-
* _avg: {
|
|
1316
|
-
* age: true,
|
|
1317
|
-
* },
|
|
1318
|
-
* where: {
|
|
1319
|
-
* email: {
|
|
1320
|
-
* contains: "prisma.io",
|
|
1321
|
-
* },
|
|
1322
|
-
* },
|
|
1323
|
-
* orderBy: {
|
|
1324
|
-
* age: "asc",
|
|
1325
|
-
* },
|
|
1326
|
-
* take: 10,
|
|
1327
|
-
* })
|
|
1328
|
-
**/
|
|
1329
|
-
aggregate<T extends BudgetHoldAggregateArgs>(args: Prisma.Subset<T, BudgetHoldAggregateArgs>): Prisma.PrismaPromise<GetBudgetHoldAggregateType<T>>
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* Group by BudgetHold.
|
|
1333
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1334
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1335
|
-
* @param {BudgetHoldGroupByArgs} args - Group by arguments.
|
|
1336
|
-
* @example
|
|
1337
|
-
* // Group by city, order by createdAt, get count
|
|
1338
|
-
* const result = await prisma.user.groupBy({
|
|
1339
|
-
* by: ['city', 'createdAt'],
|
|
1340
|
-
* orderBy: {
|
|
1341
|
-
* createdAt: true
|
|
1342
|
-
* },
|
|
1343
|
-
* _count: {
|
|
1344
|
-
* _all: true
|
|
1345
|
-
* },
|
|
1346
|
-
* })
|
|
1347
|
-
*
|
|
1348
|
-
**/
|
|
1349
|
-
groupBy<
|
|
1350
|
-
T extends BudgetHoldGroupByArgs,
|
|
1351
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1352
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1353
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1354
|
-
>,
|
|
1355
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1356
|
-
? { orderBy: BudgetHoldGroupByArgs['orderBy'] }
|
|
1357
|
-
: { orderBy?: BudgetHoldGroupByArgs['orderBy'] },
|
|
1358
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1359
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1360
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1361
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1362
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1363
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1364
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1365
|
-
? `Error: "by" must not be empty.`
|
|
1366
|
-
: HavingValid extends Prisma.False
|
|
1367
|
-
? {
|
|
1368
|
-
[P in HavingFields]: P extends ByFields
|
|
1369
|
-
? never
|
|
1370
|
-
: P extends string
|
|
1371
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1372
|
-
: [
|
|
1373
|
-
Error,
|
|
1374
|
-
'Field ',
|
|
1375
|
-
P,
|
|
1376
|
-
` in "having" needs to be provided in "by"`,
|
|
1377
|
-
]
|
|
1378
|
-
}[HavingFields]
|
|
1379
|
-
: 'take' extends Prisma.Keys<T>
|
|
1380
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1381
|
-
? ByValid extends Prisma.True
|
|
1382
|
-
? {}
|
|
1383
|
-
: {
|
|
1384
|
-
[P in OrderFields]: P extends ByFields
|
|
1385
|
-
? never
|
|
1386
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1387
|
-
}[OrderFields]
|
|
1388
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1389
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1390
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1391
|
-
? ByValid extends Prisma.True
|
|
1392
|
-
? {}
|
|
1393
|
-
: {
|
|
1394
|
-
[P in OrderFields]: P extends ByFields
|
|
1395
|
-
? never
|
|
1396
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1397
|
-
}[OrderFields]
|
|
1398
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1399
|
-
: ByValid extends Prisma.True
|
|
1400
|
-
? {}
|
|
1401
|
-
: {
|
|
1402
|
-
[P in OrderFields]: P extends ByFields
|
|
1403
|
-
? never
|
|
1404
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1405
|
-
}[OrderFields]
|
|
1406
|
-
>(args: Prisma.SubsetIntersection<T, BudgetHoldGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBudgetHoldGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1407
|
-
/**
|
|
1408
|
-
* Fields of the BudgetHold model
|
|
1409
|
-
*/
|
|
1410
|
-
readonly fields: BudgetHoldFieldRefs;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
* The delegate class that acts as a "Promise-like" for BudgetHold.
|
|
1415
|
-
* Why is this prefixed with `Prisma__`?
|
|
1416
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1417
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1418
|
-
*/
|
|
1419
|
-
export interface Prisma__BudgetHoldClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1420
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1421
|
-
category_budget<T extends Prisma.BudgetHold$category_budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BudgetHold$category_budgetArgs<ExtArgs>>): Prisma.Prisma__CategoryBudgetClient<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1422
|
-
/**
|
|
1423
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1424
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1425
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1426
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1427
|
-
*/
|
|
1428
|
-
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>
|
|
1429
|
-
/**
|
|
1430
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1431
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1432
|
-
* @returns A Promise for the completion of the callback.
|
|
1433
|
-
*/
|
|
1434
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1435
|
-
/**
|
|
1436
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1437
|
-
* resolved value cannot be modified from the callback.
|
|
1438
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1439
|
-
* @returns A Promise for the completion of the callback.
|
|
1440
|
-
*/
|
|
1441
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* Fields of the BudgetHold model
|
|
1449
|
-
*/
|
|
1450
|
-
export interface BudgetHoldFieldRefs {
|
|
1451
|
-
readonly id: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1452
|
-
readonly uuid: Prisma.FieldRef<"BudgetHold", 'String'>
|
|
1453
|
-
readonly category_budget_id: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1454
|
-
readonly hold_amount: Prisma.FieldRef<"BudgetHold", 'Decimal'>
|
|
1455
|
-
readonly consumed_amount: Prisma.FieldRef<"BudgetHold", 'Decimal'>
|
|
1456
|
-
readonly status: Prisma.FieldRef<"BudgetHold", 'BudgetHoldStatus'>
|
|
1457
|
-
readonly reference_type: Prisma.FieldRef<"BudgetHold", 'String'>
|
|
1458
|
-
readonly reference_id: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1459
|
-
readonly reason: Prisma.FieldRef<"BudgetHold", 'String'>
|
|
1460
|
-
readonly held_at: Prisma.FieldRef<"BudgetHold", 'DateTime'>
|
|
1461
|
-
readonly resolved_at: Prisma.FieldRef<"BudgetHold", 'DateTime'>
|
|
1462
|
-
readonly created_by: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1463
|
-
readonly created_at: Prisma.FieldRef<"BudgetHold", 'DateTime'>
|
|
1464
|
-
readonly updated_by: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1465
|
-
readonly updated_at: Prisma.FieldRef<"BudgetHold", 'DateTime'>
|
|
1466
|
-
readonly is_deleted: Prisma.FieldRef<"BudgetHold", 'Boolean'>
|
|
1467
|
-
readonly deleted_by: Prisma.FieldRef<"BudgetHold", 'Int'>
|
|
1468
|
-
readonly deleted_at: Prisma.FieldRef<"BudgetHold", 'DateTime'>
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
// Custom InputTypes
|
|
1473
|
-
/**
|
|
1474
|
-
* BudgetHold findUnique
|
|
1475
|
-
*/
|
|
1476
|
-
export type BudgetHoldFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1477
|
-
/**
|
|
1478
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1479
|
-
*/
|
|
1480
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1481
|
-
/**
|
|
1482
|
-
* Omit specific fields from the BudgetHold
|
|
1483
|
-
*/
|
|
1484
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1485
|
-
/**
|
|
1486
|
-
* Choose, which related nodes to fetch as well
|
|
1487
|
-
*/
|
|
1488
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1489
|
-
/**
|
|
1490
|
-
* Filter, which BudgetHold to fetch.
|
|
1491
|
-
*/
|
|
1492
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
/**
|
|
1496
|
-
* BudgetHold findUniqueOrThrow
|
|
1497
|
-
*/
|
|
1498
|
-
export type BudgetHoldFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
-
/**
|
|
1500
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1501
|
-
*/
|
|
1502
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1503
|
-
/**
|
|
1504
|
-
* Omit specific fields from the BudgetHold
|
|
1505
|
-
*/
|
|
1506
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1507
|
-
/**
|
|
1508
|
-
* Choose, which related nodes to fetch as well
|
|
1509
|
-
*/
|
|
1510
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1511
|
-
/**
|
|
1512
|
-
* Filter, which BudgetHold to fetch.
|
|
1513
|
-
*/
|
|
1514
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* BudgetHold findFirst
|
|
1519
|
-
*/
|
|
1520
|
-
export type BudgetHoldFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1521
|
-
/**
|
|
1522
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1523
|
-
*/
|
|
1524
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1525
|
-
/**
|
|
1526
|
-
* Omit specific fields from the BudgetHold
|
|
1527
|
-
*/
|
|
1528
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1529
|
-
/**
|
|
1530
|
-
* Choose, which related nodes to fetch as well
|
|
1531
|
-
*/
|
|
1532
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1533
|
-
/**
|
|
1534
|
-
* Filter, which BudgetHold to fetch.
|
|
1535
|
-
*/
|
|
1536
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1537
|
-
/**
|
|
1538
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1539
|
-
*
|
|
1540
|
-
* Determine the order of BudgetHolds to fetch.
|
|
1541
|
-
*/
|
|
1542
|
-
orderBy?: Prisma.BudgetHoldOrderByWithRelationInput | Prisma.BudgetHoldOrderByWithRelationInput[]
|
|
1543
|
-
/**
|
|
1544
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1545
|
-
*
|
|
1546
|
-
* Sets the position for searching for BudgetHolds.
|
|
1547
|
-
*/
|
|
1548
|
-
cursor?: Prisma.BudgetHoldWhereUniqueInput
|
|
1549
|
-
/**
|
|
1550
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1551
|
-
*
|
|
1552
|
-
* Take `±n` BudgetHolds from the position of the cursor.
|
|
1553
|
-
*/
|
|
1554
|
-
take?: number
|
|
1555
|
-
/**
|
|
1556
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1557
|
-
*
|
|
1558
|
-
* Skip the first `n` BudgetHolds.
|
|
1559
|
-
*/
|
|
1560
|
-
skip?: number
|
|
1561
|
-
/**
|
|
1562
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1563
|
-
*
|
|
1564
|
-
* Filter by unique combinations of BudgetHolds.
|
|
1565
|
-
*/
|
|
1566
|
-
distinct?: Prisma.BudgetHoldScalarFieldEnum | Prisma.BudgetHoldScalarFieldEnum[]
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
/**
|
|
1570
|
-
* BudgetHold findFirstOrThrow
|
|
1571
|
-
*/
|
|
1572
|
-
export type BudgetHoldFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1573
|
-
/**
|
|
1574
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1575
|
-
*/
|
|
1576
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1577
|
-
/**
|
|
1578
|
-
* Omit specific fields from the BudgetHold
|
|
1579
|
-
*/
|
|
1580
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1581
|
-
/**
|
|
1582
|
-
* Choose, which related nodes to fetch as well
|
|
1583
|
-
*/
|
|
1584
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1585
|
-
/**
|
|
1586
|
-
* Filter, which BudgetHold to fetch.
|
|
1587
|
-
*/
|
|
1588
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1589
|
-
/**
|
|
1590
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1591
|
-
*
|
|
1592
|
-
* Determine the order of BudgetHolds to fetch.
|
|
1593
|
-
*/
|
|
1594
|
-
orderBy?: Prisma.BudgetHoldOrderByWithRelationInput | Prisma.BudgetHoldOrderByWithRelationInput[]
|
|
1595
|
-
/**
|
|
1596
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1597
|
-
*
|
|
1598
|
-
* Sets the position for searching for BudgetHolds.
|
|
1599
|
-
*/
|
|
1600
|
-
cursor?: Prisma.BudgetHoldWhereUniqueInput
|
|
1601
|
-
/**
|
|
1602
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1603
|
-
*
|
|
1604
|
-
* Take `±n` BudgetHolds from the position of the cursor.
|
|
1605
|
-
*/
|
|
1606
|
-
take?: number
|
|
1607
|
-
/**
|
|
1608
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1609
|
-
*
|
|
1610
|
-
* Skip the first `n` BudgetHolds.
|
|
1611
|
-
*/
|
|
1612
|
-
skip?: number
|
|
1613
|
-
/**
|
|
1614
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1615
|
-
*
|
|
1616
|
-
* Filter by unique combinations of BudgetHolds.
|
|
1617
|
-
*/
|
|
1618
|
-
distinct?: Prisma.BudgetHoldScalarFieldEnum | Prisma.BudgetHoldScalarFieldEnum[]
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* BudgetHold findMany
|
|
1623
|
-
*/
|
|
1624
|
-
export type BudgetHoldFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1625
|
-
/**
|
|
1626
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1627
|
-
*/
|
|
1628
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1629
|
-
/**
|
|
1630
|
-
* Omit specific fields from the BudgetHold
|
|
1631
|
-
*/
|
|
1632
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1633
|
-
/**
|
|
1634
|
-
* Choose, which related nodes to fetch as well
|
|
1635
|
-
*/
|
|
1636
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1637
|
-
/**
|
|
1638
|
-
* Filter, which BudgetHolds to fetch.
|
|
1639
|
-
*/
|
|
1640
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1641
|
-
/**
|
|
1642
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1643
|
-
*
|
|
1644
|
-
* Determine the order of BudgetHolds to fetch.
|
|
1645
|
-
*/
|
|
1646
|
-
orderBy?: Prisma.BudgetHoldOrderByWithRelationInput | Prisma.BudgetHoldOrderByWithRelationInput[]
|
|
1647
|
-
/**
|
|
1648
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1649
|
-
*
|
|
1650
|
-
* Sets the position for listing BudgetHolds.
|
|
1651
|
-
*/
|
|
1652
|
-
cursor?: Prisma.BudgetHoldWhereUniqueInput
|
|
1653
|
-
/**
|
|
1654
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1655
|
-
*
|
|
1656
|
-
* Take `±n` BudgetHolds from the position of the cursor.
|
|
1657
|
-
*/
|
|
1658
|
-
take?: number
|
|
1659
|
-
/**
|
|
1660
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1661
|
-
*
|
|
1662
|
-
* Skip the first `n` BudgetHolds.
|
|
1663
|
-
*/
|
|
1664
|
-
skip?: number
|
|
1665
|
-
/**
|
|
1666
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1667
|
-
*
|
|
1668
|
-
* Filter by unique combinations of BudgetHolds.
|
|
1669
|
-
*/
|
|
1670
|
-
distinct?: Prisma.BudgetHoldScalarFieldEnum | Prisma.BudgetHoldScalarFieldEnum[]
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
/**
|
|
1674
|
-
* BudgetHold create
|
|
1675
|
-
*/
|
|
1676
|
-
export type BudgetHoldCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1677
|
-
/**
|
|
1678
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1679
|
-
*/
|
|
1680
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1681
|
-
/**
|
|
1682
|
-
* Omit specific fields from the BudgetHold
|
|
1683
|
-
*/
|
|
1684
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1685
|
-
/**
|
|
1686
|
-
* Choose, which related nodes to fetch as well
|
|
1687
|
-
*/
|
|
1688
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1689
|
-
/**
|
|
1690
|
-
* The data needed to create a BudgetHold.
|
|
1691
|
-
*/
|
|
1692
|
-
data: Prisma.XOR<Prisma.BudgetHoldCreateInput, Prisma.BudgetHoldUncheckedCreateInput>
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
/**
|
|
1696
|
-
* BudgetHold createMany
|
|
1697
|
-
*/
|
|
1698
|
-
export type BudgetHoldCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1699
|
-
/**
|
|
1700
|
-
* The data used to create many BudgetHolds.
|
|
1701
|
-
*/
|
|
1702
|
-
data: Prisma.BudgetHoldCreateManyInput | Prisma.BudgetHoldCreateManyInput[]
|
|
1703
|
-
skipDuplicates?: boolean
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* BudgetHold createManyAndReturn
|
|
1708
|
-
*/
|
|
1709
|
-
export type BudgetHoldCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1710
|
-
/**
|
|
1711
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1712
|
-
*/
|
|
1713
|
-
select?: Prisma.BudgetHoldSelectCreateManyAndReturn<ExtArgs> | null
|
|
1714
|
-
/**
|
|
1715
|
-
* Omit specific fields from the BudgetHold
|
|
1716
|
-
*/
|
|
1717
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1718
|
-
/**
|
|
1719
|
-
* The data used to create many BudgetHolds.
|
|
1720
|
-
*/
|
|
1721
|
-
data: Prisma.BudgetHoldCreateManyInput | Prisma.BudgetHoldCreateManyInput[]
|
|
1722
|
-
skipDuplicates?: boolean
|
|
1723
|
-
/**
|
|
1724
|
-
* Choose, which related nodes to fetch as well
|
|
1725
|
-
*/
|
|
1726
|
-
include?: Prisma.BudgetHoldIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
/**
|
|
1730
|
-
* BudgetHold update
|
|
1731
|
-
*/
|
|
1732
|
-
export type BudgetHoldUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1733
|
-
/**
|
|
1734
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1735
|
-
*/
|
|
1736
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1737
|
-
/**
|
|
1738
|
-
* Omit specific fields from the BudgetHold
|
|
1739
|
-
*/
|
|
1740
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1741
|
-
/**
|
|
1742
|
-
* Choose, which related nodes to fetch as well
|
|
1743
|
-
*/
|
|
1744
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1745
|
-
/**
|
|
1746
|
-
* The data needed to update a BudgetHold.
|
|
1747
|
-
*/
|
|
1748
|
-
data: Prisma.XOR<Prisma.BudgetHoldUpdateInput, Prisma.BudgetHoldUncheckedUpdateInput>
|
|
1749
|
-
/**
|
|
1750
|
-
* Choose, which BudgetHold to update.
|
|
1751
|
-
*/
|
|
1752
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* BudgetHold updateMany
|
|
1757
|
-
*/
|
|
1758
|
-
export type BudgetHoldUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1759
|
-
/**
|
|
1760
|
-
* The data used to update BudgetHolds.
|
|
1761
|
-
*/
|
|
1762
|
-
data: Prisma.XOR<Prisma.BudgetHoldUpdateManyMutationInput, Prisma.BudgetHoldUncheckedUpdateManyInput>
|
|
1763
|
-
/**
|
|
1764
|
-
* Filter which BudgetHolds to update
|
|
1765
|
-
*/
|
|
1766
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1767
|
-
/**
|
|
1768
|
-
* Limit how many BudgetHolds to update.
|
|
1769
|
-
*/
|
|
1770
|
-
limit?: number
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* BudgetHold updateManyAndReturn
|
|
1775
|
-
*/
|
|
1776
|
-
export type BudgetHoldUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1777
|
-
/**
|
|
1778
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1779
|
-
*/
|
|
1780
|
-
select?: Prisma.BudgetHoldSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1781
|
-
/**
|
|
1782
|
-
* Omit specific fields from the BudgetHold
|
|
1783
|
-
*/
|
|
1784
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1785
|
-
/**
|
|
1786
|
-
* The data used to update BudgetHolds.
|
|
1787
|
-
*/
|
|
1788
|
-
data: Prisma.XOR<Prisma.BudgetHoldUpdateManyMutationInput, Prisma.BudgetHoldUncheckedUpdateManyInput>
|
|
1789
|
-
/**
|
|
1790
|
-
* Filter which BudgetHolds to update
|
|
1791
|
-
*/
|
|
1792
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1793
|
-
/**
|
|
1794
|
-
* Limit how many BudgetHolds to update.
|
|
1795
|
-
*/
|
|
1796
|
-
limit?: number
|
|
1797
|
-
/**
|
|
1798
|
-
* Choose, which related nodes to fetch as well
|
|
1799
|
-
*/
|
|
1800
|
-
include?: Prisma.BudgetHoldIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
/**
|
|
1804
|
-
* BudgetHold upsert
|
|
1805
|
-
*/
|
|
1806
|
-
export type BudgetHoldUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1807
|
-
/**
|
|
1808
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1809
|
-
*/
|
|
1810
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1811
|
-
/**
|
|
1812
|
-
* Omit specific fields from the BudgetHold
|
|
1813
|
-
*/
|
|
1814
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1815
|
-
/**
|
|
1816
|
-
* Choose, which related nodes to fetch as well
|
|
1817
|
-
*/
|
|
1818
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1819
|
-
/**
|
|
1820
|
-
* The filter to search for the BudgetHold to update in case it exists.
|
|
1821
|
-
*/
|
|
1822
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
1823
|
-
/**
|
|
1824
|
-
* In case the BudgetHold found by the `where` argument doesn't exist, create a new BudgetHold with this data.
|
|
1825
|
-
*/
|
|
1826
|
-
create: Prisma.XOR<Prisma.BudgetHoldCreateInput, Prisma.BudgetHoldUncheckedCreateInput>
|
|
1827
|
-
/**
|
|
1828
|
-
* In case the BudgetHold was found with the provided `where` argument, update it with this data.
|
|
1829
|
-
*/
|
|
1830
|
-
update: Prisma.XOR<Prisma.BudgetHoldUpdateInput, Prisma.BudgetHoldUncheckedUpdateInput>
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
/**
|
|
1834
|
-
* BudgetHold delete
|
|
1835
|
-
*/
|
|
1836
|
-
export type BudgetHoldDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1837
|
-
/**
|
|
1838
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1839
|
-
*/
|
|
1840
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1841
|
-
/**
|
|
1842
|
-
* Omit specific fields from the BudgetHold
|
|
1843
|
-
*/
|
|
1844
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1845
|
-
/**
|
|
1846
|
-
* Choose, which related nodes to fetch as well
|
|
1847
|
-
*/
|
|
1848
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1849
|
-
/**
|
|
1850
|
-
* Filter which BudgetHold to delete.
|
|
1851
|
-
*/
|
|
1852
|
-
where: Prisma.BudgetHoldWhereUniqueInput
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
* BudgetHold deleteMany
|
|
1857
|
-
*/
|
|
1858
|
-
export type BudgetHoldDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1859
|
-
/**
|
|
1860
|
-
* Filter which BudgetHolds to delete
|
|
1861
|
-
*/
|
|
1862
|
-
where?: Prisma.BudgetHoldWhereInput
|
|
1863
|
-
/**
|
|
1864
|
-
* Limit how many BudgetHolds to delete.
|
|
1865
|
-
*/
|
|
1866
|
-
limit?: number
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
/**
|
|
1870
|
-
* BudgetHold.category_budget
|
|
1871
|
-
*/
|
|
1872
|
-
export type BudgetHold$category_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1873
|
-
/**
|
|
1874
|
-
* Select specific fields to fetch from the CategoryBudget
|
|
1875
|
-
*/
|
|
1876
|
-
select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
|
|
1877
|
-
/**
|
|
1878
|
-
* Omit specific fields from the CategoryBudget
|
|
1879
|
-
*/
|
|
1880
|
-
omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
|
|
1881
|
-
/**
|
|
1882
|
-
* Choose, which related nodes to fetch as well
|
|
1883
|
-
*/
|
|
1884
|
-
include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
|
|
1885
|
-
where?: Prisma.CategoryBudgetWhereInput
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* BudgetHold without action
|
|
1890
|
-
*/
|
|
1891
|
-
export type BudgetHoldDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1892
|
-
/**
|
|
1893
|
-
* Select specific fields to fetch from the BudgetHold
|
|
1894
|
-
*/
|
|
1895
|
-
select?: Prisma.BudgetHoldSelect<ExtArgs> | null
|
|
1896
|
-
/**
|
|
1897
|
-
* Omit specific fields from the BudgetHold
|
|
1898
|
-
*/
|
|
1899
|
-
omit?: Prisma.BudgetHoldOmit<ExtArgs> | null
|
|
1900
|
-
/**
|
|
1901
|
-
* Choose, which related nodes to fetch as well
|
|
1902
|
-
*/
|
|
1903
|
-
include?: Prisma.BudgetHoldInclude<ExtArgs> | null
|
|
1904
|
-
}
|