procbay-schema 1.0.164 → 1.0.166
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 +9 -2
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +55 -0
- package/prisma/schema.prisma +26 -19
- package/prisma/seeders/city.seed.js +2 -1
- package/prisma/seeders/country.seed.js +2 -1
- package/prisma/seeders/region.seed.js +2 -1
- package/prisma/seeders/state.seed.js +4 -6
- package/prisma/seeders/subregion.seed.js +2 -1
- package/src/create-prisma-client.js +1 -1
- package/src/generated/prisma/browser.ts +2 -2
- package/src/generated/prisma/client.bundle.mjs +6725 -0
- package/src/generated/prisma/client.ts +2 -2
- package/src/generated/prisma/commonInputTypes.ts +24 -24
- package/src/generated/prisma/enums.ts +2 -2
- package/src/generated/prisma/internal/class.ts +8 -8
- package/src/generated/prisma/internal/prismaNamespace.ts +48 -45
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +8 -5
- package/src/generated/prisma/models/ApprovalManagement.ts +1728 -0
- package/src/generated/prisma/models/User.ts +221 -221
- package/src/generated/prisma/models.ts +1 -1
- package/src/prisma/index.js +1 -1
- package/src/generated/prisma/models/UserApprovalManagement.ts +0 -1617
|
@@ -0,0 +1,1728 @@
|
|
|
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 `ApprovalManagement` 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 ApprovalManagement
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ApprovalManagementModel = runtime.Types.Result.DefaultSelection<Prisma.$ApprovalManagementPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateApprovalManagement = {
|
|
22
|
+
_count: ApprovalManagementCountAggregateOutputType | null
|
|
23
|
+
_avg: ApprovalManagementAvgAggregateOutputType | null
|
|
24
|
+
_sum: ApprovalManagementSumAggregateOutputType | null
|
|
25
|
+
_min: ApprovalManagementMinAggregateOutputType | null
|
|
26
|
+
_max: ApprovalManagementMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ApprovalManagementAvgAggregateOutputType = {
|
|
30
|
+
id: number | null
|
|
31
|
+
user_id: number | null
|
|
32
|
+
estimated_budget: runtime.Decimal | null
|
|
33
|
+
created_by: number | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type ApprovalManagementSumAggregateOutputType = {
|
|
37
|
+
id: number | null
|
|
38
|
+
user_id: number | null
|
|
39
|
+
estimated_budget: runtime.Decimal | null
|
|
40
|
+
created_by: number | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type ApprovalManagementMinAggregateOutputType = {
|
|
44
|
+
id: number | null
|
|
45
|
+
uuid: string | null
|
|
46
|
+
journy_type: string | null
|
|
47
|
+
journey_task: string | null
|
|
48
|
+
parent_id: string | null
|
|
49
|
+
user_id: number | null
|
|
50
|
+
estimated_budget: runtime.Decimal | null
|
|
51
|
+
batch_id: string | null
|
|
52
|
+
request_status: $Enums.ApprovalManagementStatusEnum | null
|
|
53
|
+
reject_reason: string | null
|
|
54
|
+
created_at: Date | null
|
|
55
|
+
created_by: number | null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type ApprovalManagementMaxAggregateOutputType = {
|
|
59
|
+
id: number | null
|
|
60
|
+
uuid: string | null
|
|
61
|
+
journy_type: string | null
|
|
62
|
+
journey_task: string | null
|
|
63
|
+
parent_id: string | null
|
|
64
|
+
user_id: number | null
|
|
65
|
+
estimated_budget: runtime.Decimal | null
|
|
66
|
+
batch_id: string | null
|
|
67
|
+
request_status: $Enums.ApprovalManagementStatusEnum | null
|
|
68
|
+
reject_reason: string | null
|
|
69
|
+
created_at: Date | null
|
|
70
|
+
created_by: number | null
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type ApprovalManagementCountAggregateOutputType = {
|
|
74
|
+
id: number
|
|
75
|
+
uuid: number
|
|
76
|
+
journy_type: number
|
|
77
|
+
journey_task: number
|
|
78
|
+
parent_id: number
|
|
79
|
+
user_id: number
|
|
80
|
+
proposed_payload: number
|
|
81
|
+
previous_snapshot: number
|
|
82
|
+
estimated_budget: number
|
|
83
|
+
batch_id: number
|
|
84
|
+
request_status: number
|
|
85
|
+
reject_reason: number
|
|
86
|
+
created_at: number
|
|
87
|
+
created_by: number
|
|
88
|
+
_all: number
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
export type ApprovalManagementAvgAggregateInputType = {
|
|
93
|
+
id?: true
|
|
94
|
+
user_id?: true
|
|
95
|
+
estimated_budget?: true
|
|
96
|
+
created_by?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type ApprovalManagementSumAggregateInputType = {
|
|
100
|
+
id?: true
|
|
101
|
+
user_id?: true
|
|
102
|
+
estimated_budget?: true
|
|
103
|
+
created_by?: true
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type ApprovalManagementMinAggregateInputType = {
|
|
107
|
+
id?: true
|
|
108
|
+
uuid?: true
|
|
109
|
+
journy_type?: true
|
|
110
|
+
journey_task?: true
|
|
111
|
+
parent_id?: true
|
|
112
|
+
user_id?: true
|
|
113
|
+
estimated_budget?: true
|
|
114
|
+
batch_id?: true
|
|
115
|
+
request_status?: true
|
|
116
|
+
reject_reason?: true
|
|
117
|
+
created_at?: true
|
|
118
|
+
created_by?: true
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type ApprovalManagementMaxAggregateInputType = {
|
|
122
|
+
id?: true
|
|
123
|
+
uuid?: true
|
|
124
|
+
journy_type?: true
|
|
125
|
+
journey_task?: true
|
|
126
|
+
parent_id?: true
|
|
127
|
+
user_id?: true
|
|
128
|
+
estimated_budget?: true
|
|
129
|
+
batch_id?: true
|
|
130
|
+
request_status?: true
|
|
131
|
+
reject_reason?: true
|
|
132
|
+
created_at?: true
|
|
133
|
+
created_by?: true
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export type ApprovalManagementCountAggregateInputType = {
|
|
137
|
+
id?: true
|
|
138
|
+
uuid?: true
|
|
139
|
+
journy_type?: true
|
|
140
|
+
journey_task?: true
|
|
141
|
+
parent_id?: true
|
|
142
|
+
user_id?: true
|
|
143
|
+
proposed_payload?: true
|
|
144
|
+
previous_snapshot?: true
|
|
145
|
+
estimated_budget?: true
|
|
146
|
+
batch_id?: true
|
|
147
|
+
request_status?: true
|
|
148
|
+
reject_reason?: true
|
|
149
|
+
created_at?: true
|
|
150
|
+
created_by?: true
|
|
151
|
+
_all?: true
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type ApprovalManagementAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
155
|
+
/**
|
|
156
|
+
* Filter which ApprovalManagement to aggregate.
|
|
157
|
+
*/
|
|
158
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
161
|
+
*
|
|
162
|
+
* Determine the order of ApprovalManagements to fetch.
|
|
163
|
+
*/
|
|
164
|
+
orderBy?: Prisma.ApprovalManagementOrderByWithRelationInput | Prisma.ApprovalManagementOrderByWithRelationInput[]
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
167
|
+
*
|
|
168
|
+
* Sets the start position
|
|
169
|
+
*/
|
|
170
|
+
cursor?: Prisma.ApprovalManagementWhereUniqueInput
|
|
171
|
+
/**
|
|
172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
173
|
+
*
|
|
174
|
+
* Take `±n` ApprovalManagements from the position of the cursor.
|
|
175
|
+
*/
|
|
176
|
+
take?: number
|
|
177
|
+
/**
|
|
178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
179
|
+
*
|
|
180
|
+
* Skip the first `n` ApprovalManagements.
|
|
181
|
+
*/
|
|
182
|
+
skip?: number
|
|
183
|
+
/**
|
|
184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
185
|
+
*
|
|
186
|
+
* Count returned ApprovalManagements
|
|
187
|
+
**/
|
|
188
|
+
_count?: true | ApprovalManagementCountAggregateInputType
|
|
189
|
+
/**
|
|
190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
191
|
+
*
|
|
192
|
+
* Select which fields to average
|
|
193
|
+
**/
|
|
194
|
+
_avg?: ApprovalManagementAvgAggregateInputType
|
|
195
|
+
/**
|
|
196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
197
|
+
*
|
|
198
|
+
* Select which fields to sum
|
|
199
|
+
**/
|
|
200
|
+
_sum?: ApprovalManagementSumAggregateInputType
|
|
201
|
+
/**
|
|
202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
203
|
+
*
|
|
204
|
+
* Select which fields to find the minimum value
|
|
205
|
+
**/
|
|
206
|
+
_min?: ApprovalManagementMinAggregateInputType
|
|
207
|
+
/**
|
|
208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
209
|
+
*
|
|
210
|
+
* Select which fields to find the maximum value
|
|
211
|
+
**/
|
|
212
|
+
_max?: ApprovalManagementMaxAggregateInputType
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type GetApprovalManagementAggregateType<T extends ApprovalManagementAggregateArgs> = {
|
|
216
|
+
[P in keyof T & keyof AggregateApprovalManagement]: P extends '_count' | 'count'
|
|
217
|
+
? T[P] extends true
|
|
218
|
+
? number
|
|
219
|
+
: Prisma.GetScalarType<T[P], AggregateApprovalManagement[P]>
|
|
220
|
+
: Prisma.GetScalarType<T[P], AggregateApprovalManagement[P]>
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
export type ApprovalManagementGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
227
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
228
|
+
orderBy?: Prisma.ApprovalManagementOrderByWithAggregationInput | Prisma.ApprovalManagementOrderByWithAggregationInput[]
|
|
229
|
+
by: Prisma.ApprovalManagementScalarFieldEnum[] | Prisma.ApprovalManagementScalarFieldEnum
|
|
230
|
+
having?: Prisma.ApprovalManagementScalarWhereWithAggregatesInput
|
|
231
|
+
take?: number
|
|
232
|
+
skip?: number
|
|
233
|
+
_count?: ApprovalManagementCountAggregateInputType | true
|
|
234
|
+
_avg?: ApprovalManagementAvgAggregateInputType
|
|
235
|
+
_sum?: ApprovalManagementSumAggregateInputType
|
|
236
|
+
_min?: ApprovalManagementMinAggregateInputType
|
|
237
|
+
_max?: ApprovalManagementMaxAggregateInputType
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type ApprovalManagementGroupByOutputType = {
|
|
241
|
+
id: number
|
|
242
|
+
uuid: string
|
|
243
|
+
journy_type: string | null
|
|
244
|
+
journey_task: string | null
|
|
245
|
+
parent_id: string | null
|
|
246
|
+
user_id: number | null
|
|
247
|
+
proposed_payload: runtime.JsonValue | null
|
|
248
|
+
previous_snapshot: runtime.JsonValue | null
|
|
249
|
+
estimated_budget: runtime.Decimal | null
|
|
250
|
+
batch_id: string | null
|
|
251
|
+
request_status: $Enums.ApprovalManagementStatusEnum
|
|
252
|
+
reject_reason: string | null
|
|
253
|
+
created_at: Date
|
|
254
|
+
created_by: number | null
|
|
255
|
+
_count: ApprovalManagementCountAggregateOutputType | null
|
|
256
|
+
_avg: ApprovalManagementAvgAggregateOutputType | null
|
|
257
|
+
_sum: ApprovalManagementSumAggregateOutputType | null
|
|
258
|
+
_min: ApprovalManagementMinAggregateOutputType | null
|
|
259
|
+
_max: ApprovalManagementMaxAggregateOutputType | null
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type GetApprovalManagementGroupByPayload<T extends ApprovalManagementGroupByArgs> = Prisma.PrismaPromise<
|
|
263
|
+
Array<
|
|
264
|
+
Prisma.PickEnumerable<ApprovalManagementGroupByOutputType, T['by']> &
|
|
265
|
+
{
|
|
266
|
+
[P in ((keyof T) & (keyof ApprovalManagementGroupByOutputType))]: P extends '_count'
|
|
267
|
+
? T[P] extends boolean
|
|
268
|
+
? number
|
|
269
|
+
: Prisma.GetScalarType<T[P], ApprovalManagementGroupByOutputType[P]>
|
|
270
|
+
: Prisma.GetScalarType<T[P], ApprovalManagementGroupByOutputType[P]>
|
|
271
|
+
}
|
|
272
|
+
>
|
|
273
|
+
>
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
export type ApprovalManagementWhereInput = {
|
|
278
|
+
AND?: Prisma.ApprovalManagementWhereInput | Prisma.ApprovalManagementWhereInput[]
|
|
279
|
+
OR?: Prisma.ApprovalManagementWhereInput[]
|
|
280
|
+
NOT?: Prisma.ApprovalManagementWhereInput | Prisma.ApprovalManagementWhereInput[]
|
|
281
|
+
id?: Prisma.IntFilter<"ApprovalManagement"> | number
|
|
282
|
+
uuid?: Prisma.StringFilter<"ApprovalManagement"> | string
|
|
283
|
+
journy_type?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
284
|
+
journey_task?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
285
|
+
parent_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
286
|
+
user_id?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
287
|
+
proposed_payload?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
288
|
+
previous_snapshot?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
289
|
+
estimated_budget?: Prisma.DecimalNullableFilter<"ApprovalManagement"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
290
|
+
batch_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
291
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFilter<"ApprovalManagement"> | $Enums.ApprovalManagementStatusEnum
|
|
292
|
+
reject_reason?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
293
|
+
created_at?: Prisma.DateTimeFilter<"ApprovalManagement"> | Date | string
|
|
294
|
+
created_by?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
295
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type ApprovalManagementOrderByWithRelationInput = {
|
|
299
|
+
id?: Prisma.SortOrder
|
|
300
|
+
uuid?: Prisma.SortOrder
|
|
301
|
+
journy_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
+
journey_task?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
303
|
+
parent_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
304
|
+
user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
305
|
+
proposed_payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
306
|
+
previous_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
307
|
+
estimated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
308
|
+
batch_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
309
|
+
request_status?: Prisma.SortOrder
|
|
310
|
+
reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
311
|
+
created_at?: Prisma.SortOrder
|
|
312
|
+
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type ApprovalManagementWhereUniqueInput = Prisma.AtLeast<{
|
|
317
|
+
id?: number
|
|
318
|
+
uuid?: string
|
|
319
|
+
AND?: Prisma.ApprovalManagementWhereInput | Prisma.ApprovalManagementWhereInput[]
|
|
320
|
+
OR?: Prisma.ApprovalManagementWhereInput[]
|
|
321
|
+
NOT?: Prisma.ApprovalManagementWhereInput | Prisma.ApprovalManagementWhereInput[]
|
|
322
|
+
journy_type?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
323
|
+
journey_task?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
324
|
+
parent_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
325
|
+
user_id?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
326
|
+
proposed_payload?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
327
|
+
previous_snapshot?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
328
|
+
estimated_budget?: Prisma.DecimalNullableFilter<"ApprovalManagement"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
329
|
+
batch_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
330
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFilter<"ApprovalManagement"> | $Enums.ApprovalManagementStatusEnum
|
|
331
|
+
reject_reason?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
332
|
+
created_at?: Prisma.DateTimeFilter<"ApprovalManagement"> | Date | string
|
|
333
|
+
created_by?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
334
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
335
|
+
}, "id" | "uuid">
|
|
336
|
+
|
|
337
|
+
export type ApprovalManagementOrderByWithAggregationInput = {
|
|
338
|
+
id?: Prisma.SortOrder
|
|
339
|
+
uuid?: Prisma.SortOrder
|
|
340
|
+
journy_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
341
|
+
journey_task?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
+
parent_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
+
user_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
+
proposed_payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
+
previous_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
346
|
+
estimated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
+
batch_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
+
request_status?: Prisma.SortOrder
|
|
349
|
+
reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
+
created_at?: Prisma.SortOrder
|
|
351
|
+
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
352
|
+
_count?: Prisma.ApprovalManagementCountOrderByAggregateInput
|
|
353
|
+
_avg?: Prisma.ApprovalManagementAvgOrderByAggregateInput
|
|
354
|
+
_max?: Prisma.ApprovalManagementMaxOrderByAggregateInput
|
|
355
|
+
_min?: Prisma.ApprovalManagementMinOrderByAggregateInput
|
|
356
|
+
_sum?: Prisma.ApprovalManagementSumOrderByAggregateInput
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type ApprovalManagementScalarWhereWithAggregatesInput = {
|
|
360
|
+
AND?: Prisma.ApprovalManagementScalarWhereWithAggregatesInput | Prisma.ApprovalManagementScalarWhereWithAggregatesInput[]
|
|
361
|
+
OR?: Prisma.ApprovalManagementScalarWhereWithAggregatesInput[]
|
|
362
|
+
NOT?: Prisma.ApprovalManagementScalarWhereWithAggregatesInput | Prisma.ApprovalManagementScalarWhereWithAggregatesInput[]
|
|
363
|
+
id?: Prisma.IntWithAggregatesFilter<"ApprovalManagement"> | number
|
|
364
|
+
uuid?: Prisma.StringWithAggregatesFilter<"ApprovalManagement"> | string
|
|
365
|
+
journy_type?: Prisma.StringNullableWithAggregatesFilter<"ApprovalManagement"> | string | null
|
|
366
|
+
journey_task?: Prisma.StringNullableWithAggregatesFilter<"ApprovalManagement"> | string | null
|
|
367
|
+
parent_id?: Prisma.StringNullableWithAggregatesFilter<"ApprovalManagement"> | string | null
|
|
368
|
+
user_id?: Prisma.IntNullableWithAggregatesFilter<"ApprovalManagement"> | number | null
|
|
369
|
+
proposed_payload?: Prisma.JsonNullableWithAggregatesFilter<"ApprovalManagement">
|
|
370
|
+
previous_snapshot?: Prisma.JsonNullableWithAggregatesFilter<"ApprovalManagement">
|
|
371
|
+
estimated_budget?: Prisma.DecimalNullableWithAggregatesFilter<"ApprovalManagement"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
372
|
+
batch_id?: Prisma.StringNullableWithAggregatesFilter<"ApprovalManagement"> | string | null
|
|
373
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumWithAggregatesFilter<"ApprovalManagement"> | $Enums.ApprovalManagementStatusEnum
|
|
374
|
+
reject_reason?: Prisma.StringNullableWithAggregatesFilter<"ApprovalManagement"> | string | null
|
|
375
|
+
created_at?: Prisma.DateTimeWithAggregatesFilter<"ApprovalManagement"> | Date | string
|
|
376
|
+
created_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalManagement"> | number | null
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type ApprovalManagementCreateInput = {
|
|
380
|
+
uuid?: string
|
|
381
|
+
journy_type?: string | null
|
|
382
|
+
journey_task?: string | null
|
|
383
|
+
parent_id?: string | null
|
|
384
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
385
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
386
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
387
|
+
batch_id?: string | null
|
|
388
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
389
|
+
reject_reason?: string | null
|
|
390
|
+
created_at?: Date | string
|
|
391
|
+
created_by?: number | null
|
|
392
|
+
user?: Prisma.UserCreateNestedOneWithoutApproval_managementInput
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type ApprovalManagementUncheckedCreateInput = {
|
|
396
|
+
id?: number
|
|
397
|
+
uuid?: string
|
|
398
|
+
journy_type?: string | null
|
|
399
|
+
journey_task?: string | null
|
|
400
|
+
parent_id?: string | null
|
|
401
|
+
user_id?: number | null
|
|
402
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
403
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
404
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
405
|
+
batch_id?: string | null
|
|
406
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
407
|
+
reject_reason?: string | null
|
|
408
|
+
created_at?: Date | string
|
|
409
|
+
created_by?: number | null
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type ApprovalManagementUpdateInput = {
|
|
413
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
414
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
415
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
416
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
417
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
418
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
419
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
420
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
421
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
422
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
423
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
424
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
425
|
+
user?: Prisma.UserUpdateOneWithoutApproval_managementNestedInput
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type ApprovalManagementUncheckedUpdateInput = {
|
|
429
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
430
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
431
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
+
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
435
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
436
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
437
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
438
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
439
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
440
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
441
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
442
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export type ApprovalManagementCreateManyInput = {
|
|
446
|
+
id?: number
|
|
447
|
+
uuid?: string
|
|
448
|
+
journy_type?: string | null
|
|
449
|
+
journey_task?: string | null
|
|
450
|
+
parent_id?: string | null
|
|
451
|
+
user_id?: number | null
|
|
452
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
453
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
454
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
455
|
+
batch_id?: string | null
|
|
456
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
457
|
+
reject_reason?: string | null
|
|
458
|
+
created_at?: Date | string
|
|
459
|
+
created_by?: number | null
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type ApprovalManagementUpdateManyMutationInput = {
|
|
463
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
465
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
466
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
467
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
468
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
469
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
470
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
471
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
472
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
473
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
474
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type ApprovalManagementUncheckedUpdateManyInput = {
|
|
478
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
479
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
480
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
481
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
482
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
483
|
+
user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
484
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
485
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
486
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
487
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
488
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
489
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
490
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
491
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type ApprovalManagementListRelationFilter = {
|
|
495
|
+
every?: Prisma.ApprovalManagementWhereInput
|
|
496
|
+
some?: Prisma.ApprovalManagementWhereInput
|
|
497
|
+
none?: Prisma.ApprovalManagementWhereInput
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type ApprovalManagementOrderByRelationAggregateInput = {
|
|
501
|
+
_count?: Prisma.SortOrder
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type ApprovalManagementCountOrderByAggregateInput = {
|
|
505
|
+
id?: Prisma.SortOrder
|
|
506
|
+
uuid?: Prisma.SortOrder
|
|
507
|
+
journy_type?: Prisma.SortOrder
|
|
508
|
+
journey_task?: Prisma.SortOrder
|
|
509
|
+
parent_id?: Prisma.SortOrder
|
|
510
|
+
user_id?: Prisma.SortOrder
|
|
511
|
+
proposed_payload?: Prisma.SortOrder
|
|
512
|
+
previous_snapshot?: Prisma.SortOrder
|
|
513
|
+
estimated_budget?: Prisma.SortOrder
|
|
514
|
+
batch_id?: Prisma.SortOrder
|
|
515
|
+
request_status?: Prisma.SortOrder
|
|
516
|
+
reject_reason?: Prisma.SortOrder
|
|
517
|
+
created_at?: Prisma.SortOrder
|
|
518
|
+
created_by?: Prisma.SortOrder
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export type ApprovalManagementAvgOrderByAggregateInput = {
|
|
522
|
+
id?: Prisma.SortOrder
|
|
523
|
+
user_id?: Prisma.SortOrder
|
|
524
|
+
estimated_budget?: Prisma.SortOrder
|
|
525
|
+
created_by?: Prisma.SortOrder
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export type ApprovalManagementMaxOrderByAggregateInput = {
|
|
529
|
+
id?: Prisma.SortOrder
|
|
530
|
+
uuid?: Prisma.SortOrder
|
|
531
|
+
journy_type?: Prisma.SortOrder
|
|
532
|
+
journey_task?: Prisma.SortOrder
|
|
533
|
+
parent_id?: Prisma.SortOrder
|
|
534
|
+
user_id?: Prisma.SortOrder
|
|
535
|
+
estimated_budget?: Prisma.SortOrder
|
|
536
|
+
batch_id?: Prisma.SortOrder
|
|
537
|
+
request_status?: Prisma.SortOrder
|
|
538
|
+
reject_reason?: Prisma.SortOrder
|
|
539
|
+
created_at?: Prisma.SortOrder
|
|
540
|
+
created_by?: Prisma.SortOrder
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type ApprovalManagementMinOrderByAggregateInput = {
|
|
544
|
+
id?: Prisma.SortOrder
|
|
545
|
+
uuid?: Prisma.SortOrder
|
|
546
|
+
journy_type?: Prisma.SortOrder
|
|
547
|
+
journey_task?: Prisma.SortOrder
|
|
548
|
+
parent_id?: Prisma.SortOrder
|
|
549
|
+
user_id?: Prisma.SortOrder
|
|
550
|
+
estimated_budget?: Prisma.SortOrder
|
|
551
|
+
batch_id?: Prisma.SortOrder
|
|
552
|
+
request_status?: Prisma.SortOrder
|
|
553
|
+
reject_reason?: Prisma.SortOrder
|
|
554
|
+
created_at?: Prisma.SortOrder
|
|
555
|
+
created_by?: Prisma.SortOrder
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export type ApprovalManagementSumOrderByAggregateInput = {
|
|
559
|
+
id?: Prisma.SortOrder
|
|
560
|
+
user_id?: Prisma.SortOrder
|
|
561
|
+
estimated_budget?: Prisma.SortOrder
|
|
562
|
+
created_by?: Prisma.SortOrder
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type ApprovalManagementCreateNestedManyWithoutUserInput = {
|
|
566
|
+
create?: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput> | Prisma.ApprovalManagementCreateWithoutUserInput[] | Prisma.ApprovalManagementUncheckedCreateWithoutUserInput[]
|
|
567
|
+
connectOrCreate?: Prisma.ApprovalManagementCreateOrConnectWithoutUserInput | Prisma.ApprovalManagementCreateOrConnectWithoutUserInput[]
|
|
568
|
+
createMany?: Prisma.ApprovalManagementCreateManyUserInputEnvelope
|
|
569
|
+
connect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type ApprovalManagementUncheckedCreateNestedManyWithoutUserInput = {
|
|
573
|
+
create?: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput> | Prisma.ApprovalManagementCreateWithoutUserInput[] | Prisma.ApprovalManagementUncheckedCreateWithoutUserInput[]
|
|
574
|
+
connectOrCreate?: Prisma.ApprovalManagementCreateOrConnectWithoutUserInput | Prisma.ApprovalManagementCreateOrConnectWithoutUserInput[]
|
|
575
|
+
createMany?: Prisma.ApprovalManagementCreateManyUserInputEnvelope
|
|
576
|
+
connect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type ApprovalManagementUpdateManyWithoutUserNestedInput = {
|
|
580
|
+
create?: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput> | Prisma.ApprovalManagementCreateWithoutUserInput[] | Prisma.ApprovalManagementUncheckedCreateWithoutUserInput[]
|
|
581
|
+
connectOrCreate?: Prisma.ApprovalManagementCreateOrConnectWithoutUserInput | Prisma.ApprovalManagementCreateOrConnectWithoutUserInput[]
|
|
582
|
+
upsert?: Prisma.ApprovalManagementUpsertWithWhereUniqueWithoutUserInput | Prisma.ApprovalManagementUpsertWithWhereUniqueWithoutUserInput[]
|
|
583
|
+
createMany?: Prisma.ApprovalManagementCreateManyUserInputEnvelope
|
|
584
|
+
set?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
585
|
+
disconnect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
586
|
+
delete?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
587
|
+
connect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
588
|
+
update?: Prisma.ApprovalManagementUpdateWithWhereUniqueWithoutUserInput | Prisma.ApprovalManagementUpdateWithWhereUniqueWithoutUserInput[]
|
|
589
|
+
updateMany?: Prisma.ApprovalManagementUpdateManyWithWhereWithoutUserInput | Prisma.ApprovalManagementUpdateManyWithWhereWithoutUserInput[]
|
|
590
|
+
deleteMany?: Prisma.ApprovalManagementScalarWhereInput | Prisma.ApprovalManagementScalarWhereInput[]
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export type ApprovalManagementUncheckedUpdateManyWithoutUserNestedInput = {
|
|
594
|
+
create?: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput> | Prisma.ApprovalManagementCreateWithoutUserInput[] | Prisma.ApprovalManagementUncheckedCreateWithoutUserInput[]
|
|
595
|
+
connectOrCreate?: Prisma.ApprovalManagementCreateOrConnectWithoutUserInput | Prisma.ApprovalManagementCreateOrConnectWithoutUserInput[]
|
|
596
|
+
upsert?: Prisma.ApprovalManagementUpsertWithWhereUniqueWithoutUserInput | Prisma.ApprovalManagementUpsertWithWhereUniqueWithoutUserInput[]
|
|
597
|
+
createMany?: Prisma.ApprovalManagementCreateManyUserInputEnvelope
|
|
598
|
+
set?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
599
|
+
disconnect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
600
|
+
delete?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
601
|
+
connect?: Prisma.ApprovalManagementWhereUniqueInput | Prisma.ApprovalManagementWhereUniqueInput[]
|
|
602
|
+
update?: Prisma.ApprovalManagementUpdateWithWhereUniqueWithoutUserInput | Prisma.ApprovalManagementUpdateWithWhereUniqueWithoutUserInput[]
|
|
603
|
+
updateMany?: Prisma.ApprovalManagementUpdateManyWithWhereWithoutUserInput | Prisma.ApprovalManagementUpdateManyWithWhereWithoutUserInput[]
|
|
604
|
+
deleteMany?: Prisma.ApprovalManagementScalarWhereInput | Prisma.ApprovalManagementScalarWhereInput[]
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export type EnumApprovalManagementStatusEnumFieldUpdateOperationsInput = {
|
|
608
|
+
set?: $Enums.ApprovalManagementStatusEnum
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type ApprovalManagementCreateWithoutUserInput = {
|
|
612
|
+
uuid?: string
|
|
613
|
+
journy_type?: string | null
|
|
614
|
+
journey_task?: string | null
|
|
615
|
+
parent_id?: string | null
|
|
616
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
617
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
618
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
619
|
+
batch_id?: string | null
|
|
620
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
621
|
+
reject_reason?: string | null
|
|
622
|
+
created_at?: Date | string
|
|
623
|
+
created_by?: number | null
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export type ApprovalManagementUncheckedCreateWithoutUserInput = {
|
|
627
|
+
id?: number
|
|
628
|
+
uuid?: string
|
|
629
|
+
journy_type?: string | null
|
|
630
|
+
journey_task?: string | null
|
|
631
|
+
parent_id?: string | null
|
|
632
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
633
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
634
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
635
|
+
batch_id?: string | null
|
|
636
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
637
|
+
reject_reason?: string | null
|
|
638
|
+
created_at?: Date | string
|
|
639
|
+
created_by?: number | null
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export type ApprovalManagementCreateOrConnectWithoutUserInput = {
|
|
643
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
644
|
+
create: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput>
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export type ApprovalManagementCreateManyUserInputEnvelope = {
|
|
648
|
+
data: Prisma.ApprovalManagementCreateManyUserInput | Prisma.ApprovalManagementCreateManyUserInput[]
|
|
649
|
+
skipDuplicates?: boolean
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export type ApprovalManagementUpsertWithWhereUniqueWithoutUserInput = {
|
|
653
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
654
|
+
update: Prisma.XOR<Prisma.ApprovalManagementUpdateWithoutUserInput, Prisma.ApprovalManagementUncheckedUpdateWithoutUserInput>
|
|
655
|
+
create: Prisma.XOR<Prisma.ApprovalManagementCreateWithoutUserInput, Prisma.ApprovalManagementUncheckedCreateWithoutUserInput>
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export type ApprovalManagementUpdateWithWhereUniqueWithoutUserInput = {
|
|
659
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
660
|
+
data: Prisma.XOR<Prisma.ApprovalManagementUpdateWithoutUserInput, Prisma.ApprovalManagementUncheckedUpdateWithoutUserInput>
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export type ApprovalManagementUpdateManyWithWhereWithoutUserInput = {
|
|
664
|
+
where: Prisma.ApprovalManagementScalarWhereInput
|
|
665
|
+
data: Prisma.XOR<Prisma.ApprovalManagementUpdateManyMutationInput, Prisma.ApprovalManagementUncheckedUpdateManyWithoutUserInput>
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export type ApprovalManagementScalarWhereInput = {
|
|
669
|
+
AND?: Prisma.ApprovalManagementScalarWhereInput | Prisma.ApprovalManagementScalarWhereInput[]
|
|
670
|
+
OR?: Prisma.ApprovalManagementScalarWhereInput[]
|
|
671
|
+
NOT?: Prisma.ApprovalManagementScalarWhereInput | Prisma.ApprovalManagementScalarWhereInput[]
|
|
672
|
+
id?: Prisma.IntFilter<"ApprovalManagement"> | number
|
|
673
|
+
uuid?: Prisma.StringFilter<"ApprovalManagement"> | string
|
|
674
|
+
journy_type?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
675
|
+
journey_task?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
676
|
+
parent_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
677
|
+
user_id?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
678
|
+
proposed_payload?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
679
|
+
previous_snapshot?: Prisma.JsonNullableFilter<"ApprovalManagement">
|
|
680
|
+
estimated_budget?: Prisma.DecimalNullableFilter<"ApprovalManagement"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
681
|
+
batch_id?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
682
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFilter<"ApprovalManagement"> | $Enums.ApprovalManagementStatusEnum
|
|
683
|
+
reject_reason?: Prisma.StringNullableFilter<"ApprovalManagement"> | string | null
|
|
684
|
+
created_at?: Prisma.DateTimeFilter<"ApprovalManagement"> | Date | string
|
|
685
|
+
created_by?: Prisma.IntNullableFilter<"ApprovalManagement"> | number | null
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type ApprovalManagementCreateManyUserInput = {
|
|
689
|
+
id?: number
|
|
690
|
+
uuid?: string
|
|
691
|
+
journy_type?: string | null
|
|
692
|
+
journey_task?: string | null
|
|
693
|
+
parent_id?: string | null
|
|
694
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
695
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
696
|
+
estimated_budget?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
697
|
+
batch_id?: string | null
|
|
698
|
+
request_status?: $Enums.ApprovalManagementStatusEnum
|
|
699
|
+
reject_reason?: string | null
|
|
700
|
+
created_at?: Date | string
|
|
701
|
+
created_by?: number | null
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export type ApprovalManagementUpdateWithoutUserInput = {
|
|
705
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
706
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
707
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
708
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
709
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
710
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
711
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
712
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
713
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
714
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
715
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
716
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export type ApprovalManagementUncheckedUpdateWithoutUserInput = {
|
|
720
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
721
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
722
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
723
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
724
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
725
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
726
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
727
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
728
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
729
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
730
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
731
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
732
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export type ApprovalManagementUncheckedUpdateManyWithoutUserInput = {
|
|
736
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
737
|
+
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
+
journy_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
739
|
+
journey_task?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
740
|
+
parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
741
|
+
proposed_payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
742
|
+
previous_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
743
|
+
estimated_budget?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
744
|
+
batch_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
745
|
+
request_status?: Prisma.EnumApprovalManagementStatusEnumFieldUpdateOperationsInput | $Enums.ApprovalManagementStatusEnum
|
|
746
|
+
reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
747
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
748
|
+
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
export type ApprovalManagementSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
754
|
+
id?: boolean
|
|
755
|
+
uuid?: boolean
|
|
756
|
+
journy_type?: boolean
|
|
757
|
+
journey_task?: boolean
|
|
758
|
+
parent_id?: boolean
|
|
759
|
+
user_id?: boolean
|
|
760
|
+
proposed_payload?: boolean
|
|
761
|
+
previous_snapshot?: boolean
|
|
762
|
+
estimated_budget?: boolean
|
|
763
|
+
batch_id?: boolean
|
|
764
|
+
request_status?: boolean
|
|
765
|
+
reject_reason?: boolean
|
|
766
|
+
created_at?: boolean
|
|
767
|
+
created_by?: boolean
|
|
768
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
769
|
+
}, ExtArgs["result"]["approvalManagement"]>
|
|
770
|
+
|
|
771
|
+
export type ApprovalManagementSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
772
|
+
id?: boolean
|
|
773
|
+
uuid?: boolean
|
|
774
|
+
journy_type?: boolean
|
|
775
|
+
journey_task?: boolean
|
|
776
|
+
parent_id?: boolean
|
|
777
|
+
user_id?: boolean
|
|
778
|
+
proposed_payload?: boolean
|
|
779
|
+
previous_snapshot?: boolean
|
|
780
|
+
estimated_budget?: boolean
|
|
781
|
+
batch_id?: boolean
|
|
782
|
+
request_status?: boolean
|
|
783
|
+
reject_reason?: boolean
|
|
784
|
+
created_at?: boolean
|
|
785
|
+
created_by?: boolean
|
|
786
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
787
|
+
}, ExtArgs["result"]["approvalManagement"]>
|
|
788
|
+
|
|
789
|
+
export type ApprovalManagementSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
790
|
+
id?: boolean
|
|
791
|
+
uuid?: boolean
|
|
792
|
+
journy_type?: boolean
|
|
793
|
+
journey_task?: boolean
|
|
794
|
+
parent_id?: boolean
|
|
795
|
+
user_id?: boolean
|
|
796
|
+
proposed_payload?: boolean
|
|
797
|
+
previous_snapshot?: boolean
|
|
798
|
+
estimated_budget?: boolean
|
|
799
|
+
batch_id?: boolean
|
|
800
|
+
request_status?: boolean
|
|
801
|
+
reject_reason?: boolean
|
|
802
|
+
created_at?: boolean
|
|
803
|
+
created_by?: boolean
|
|
804
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
805
|
+
}, ExtArgs["result"]["approvalManagement"]>
|
|
806
|
+
|
|
807
|
+
export type ApprovalManagementSelectScalar = {
|
|
808
|
+
id?: boolean
|
|
809
|
+
uuid?: boolean
|
|
810
|
+
journy_type?: boolean
|
|
811
|
+
journey_task?: boolean
|
|
812
|
+
parent_id?: boolean
|
|
813
|
+
user_id?: boolean
|
|
814
|
+
proposed_payload?: boolean
|
|
815
|
+
previous_snapshot?: boolean
|
|
816
|
+
estimated_budget?: boolean
|
|
817
|
+
batch_id?: boolean
|
|
818
|
+
request_status?: boolean
|
|
819
|
+
reject_reason?: boolean
|
|
820
|
+
created_at?: boolean
|
|
821
|
+
created_by?: boolean
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export type ApprovalManagementOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "journy_type" | "journey_task" | "parent_id" | "user_id" | "proposed_payload" | "previous_snapshot" | "estimated_budget" | "batch_id" | "request_status" | "reject_reason" | "created_at" | "created_by", ExtArgs["result"]["approvalManagement"]>
|
|
825
|
+
export type ApprovalManagementInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
826
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
827
|
+
}
|
|
828
|
+
export type ApprovalManagementIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
829
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
830
|
+
}
|
|
831
|
+
export type ApprovalManagementIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
832
|
+
user?: boolean | Prisma.ApprovalManagement$userArgs<ExtArgs>
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type $ApprovalManagementPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
836
|
+
name: "ApprovalManagement"
|
|
837
|
+
objects: {
|
|
838
|
+
user: Prisma.$UserPayload<ExtArgs> | null
|
|
839
|
+
}
|
|
840
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
841
|
+
id: number
|
|
842
|
+
uuid: string
|
|
843
|
+
journy_type: string | null
|
|
844
|
+
journey_task: string | null
|
|
845
|
+
parent_id: string | null
|
|
846
|
+
user_id: number | null
|
|
847
|
+
proposed_payload: runtime.JsonValue | null
|
|
848
|
+
previous_snapshot: runtime.JsonValue | null
|
|
849
|
+
estimated_budget: runtime.Decimal | null
|
|
850
|
+
batch_id: string | null
|
|
851
|
+
request_status: $Enums.ApprovalManagementStatusEnum
|
|
852
|
+
reject_reason: string | null
|
|
853
|
+
created_at: Date
|
|
854
|
+
created_by: number | null
|
|
855
|
+
}, ExtArgs["result"]["approvalManagement"]>
|
|
856
|
+
composites: {}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export type ApprovalManagementGetPayload<S extends boolean | null | undefined | ApprovalManagementDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload, S>
|
|
860
|
+
|
|
861
|
+
export type ApprovalManagementCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
862
|
+
Omit<ApprovalManagementFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
863
|
+
select?: ApprovalManagementCountAggregateInputType | true
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export interface ApprovalManagementDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
867
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalManagement'], meta: { name: 'ApprovalManagement' } }
|
|
868
|
+
/**
|
|
869
|
+
* Find zero or one ApprovalManagement that matches the filter.
|
|
870
|
+
* @param {ApprovalManagementFindUniqueArgs} args - Arguments to find a ApprovalManagement
|
|
871
|
+
* @example
|
|
872
|
+
* // Get one ApprovalManagement
|
|
873
|
+
* const approvalManagement = await prisma.approvalManagement.findUnique({
|
|
874
|
+
* where: {
|
|
875
|
+
* // ... provide filter here
|
|
876
|
+
* }
|
|
877
|
+
* })
|
|
878
|
+
*/
|
|
879
|
+
findUnique<T extends ApprovalManagementFindUniqueArgs>(args: Prisma.SelectSubset<T, ApprovalManagementFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Find one ApprovalManagement that matches the filter or throw an error with `error.code='P2025'`
|
|
883
|
+
* if no matches were found.
|
|
884
|
+
* @param {ApprovalManagementFindUniqueOrThrowArgs} args - Arguments to find a ApprovalManagement
|
|
885
|
+
* @example
|
|
886
|
+
* // Get one ApprovalManagement
|
|
887
|
+
* const approvalManagement = await prisma.approvalManagement.findUniqueOrThrow({
|
|
888
|
+
* where: {
|
|
889
|
+
* // ... provide filter here
|
|
890
|
+
* }
|
|
891
|
+
* })
|
|
892
|
+
*/
|
|
893
|
+
findUniqueOrThrow<T extends ApprovalManagementFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApprovalManagementFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Find the first ApprovalManagement that matches the filter.
|
|
897
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
898
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
899
|
+
* @param {ApprovalManagementFindFirstArgs} args - Arguments to find a ApprovalManagement
|
|
900
|
+
* @example
|
|
901
|
+
* // Get one ApprovalManagement
|
|
902
|
+
* const approvalManagement = await prisma.approvalManagement.findFirst({
|
|
903
|
+
* where: {
|
|
904
|
+
* // ... provide filter here
|
|
905
|
+
* }
|
|
906
|
+
* })
|
|
907
|
+
*/
|
|
908
|
+
findFirst<T extends ApprovalManagementFindFirstArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Find the first ApprovalManagement that matches the filter or
|
|
912
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
913
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
914
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
915
|
+
* @param {ApprovalManagementFindFirstOrThrowArgs} args - Arguments to find a ApprovalManagement
|
|
916
|
+
* @example
|
|
917
|
+
* // Get one ApprovalManagement
|
|
918
|
+
* const approvalManagement = await prisma.approvalManagement.findFirstOrThrow({
|
|
919
|
+
* where: {
|
|
920
|
+
* // ... provide filter here
|
|
921
|
+
* }
|
|
922
|
+
* })
|
|
923
|
+
*/
|
|
924
|
+
findFirstOrThrow<T extends ApprovalManagementFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Find zero or more ApprovalManagements that matches the filter.
|
|
928
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
929
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
930
|
+
* @param {ApprovalManagementFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
931
|
+
* @example
|
|
932
|
+
* // Get all ApprovalManagements
|
|
933
|
+
* const approvalManagements = await prisma.approvalManagement.findMany()
|
|
934
|
+
*
|
|
935
|
+
* // Get first 10 ApprovalManagements
|
|
936
|
+
* const approvalManagements = await prisma.approvalManagement.findMany({ take: 10 })
|
|
937
|
+
*
|
|
938
|
+
* // Only select the `id`
|
|
939
|
+
* const approvalManagementWithIdOnly = await prisma.approvalManagement.findMany({ select: { id: true } })
|
|
940
|
+
*
|
|
941
|
+
*/
|
|
942
|
+
findMany<T extends ApprovalManagementFindManyArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Create a ApprovalManagement.
|
|
946
|
+
* @param {ApprovalManagementCreateArgs} args - Arguments to create a ApprovalManagement.
|
|
947
|
+
* @example
|
|
948
|
+
* // Create one ApprovalManagement
|
|
949
|
+
* const ApprovalManagement = await prisma.approvalManagement.create({
|
|
950
|
+
* data: {
|
|
951
|
+
* // ... data to create a ApprovalManagement
|
|
952
|
+
* }
|
|
953
|
+
* })
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
956
|
+
create<T extends ApprovalManagementCreateArgs>(args: Prisma.SelectSubset<T, ApprovalManagementCreateArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Create many ApprovalManagements.
|
|
960
|
+
* @param {ApprovalManagementCreateManyArgs} args - Arguments to create many ApprovalManagements.
|
|
961
|
+
* @example
|
|
962
|
+
* // Create many ApprovalManagements
|
|
963
|
+
* const approvalManagement = await prisma.approvalManagement.createMany({
|
|
964
|
+
* data: [
|
|
965
|
+
* // ... provide data here
|
|
966
|
+
* ]
|
|
967
|
+
* })
|
|
968
|
+
*
|
|
969
|
+
*/
|
|
970
|
+
createMany<T extends ApprovalManagementCreateManyArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Create many ApprovalManagements and returns the data saved in the database.
|
|
974
|
+
* @param {ApprovalManagementCreateManyAndReturnArgs} args - Arguments to create many ApprovalManagements.
|
|
975
|
+
* @example
|
|
976
|
+
* // Create many ApprovalManagements
|
|
977
|
+
* const approvalManagement = await prisma.approvalManagement.createManyAndReturn({
|
|
978
|
+
* data: [
|
|
979
|
+
* // ... provide data here
|
|
980
|
+
* ]
|
|
981
|
+
* })
|
|
982
|
+
*
|
|
983
|
+
* // Create many ApprovalManagements and only return the `id`
|
|
984
|
+
* const approvalManagementWithIdOnly = await prisma.approvalManagement.createManyAndReturn({
|
|
985
|
+
* select: { id: true },
|
|
986
|
+
* data: [
|
|
987
|
+
* // ... provide data here
|
|
988
|
+
* ]
|
|
989
|
+
* })
|
|
990
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
991
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
992
|
+
*
|
|
993
|
+
*/
|
|
994
|
+
createManyAndReturn<T extends ApprovalManagementCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Delete a ApprovalManagement.
|
|
998
|
+
* @param {ApprovalManagementDeleteArgs} args - Arguments to delete one ApprovalManagement.
|
|
999
|
+
* @example
|
|
1000
|
+
* // Delete one ApprovalManagement
|
|
1001
|
+
* const ApprovalManagement = await prisma.approvalManagement.delete({
|
|
1002
|
+
* where: {
|
|
1003
|
+
* // ... filter to delete one ApprovalManagement
|
|
1004
|
+
* }
|
|
1005
|
+
* })
|
|
1006
|
+
*
|
|
1007
|
+
*/
|
|
1008
|
+
delete<T extends ApprovalManagementDeleteArgs>(args: Prisma.SelectSubset<T, ApprovalManagementDeleteArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Update one ApprovalManagement.
|
|
1012
|
+
* @param {ApprovalManagementUpdateArgs} args - Arguments to update one ApprovalManagement.
|
|
1013
|
+
* @example
|
|
1014
|
+
* // Update one ApprovalManagement
|
|
1015
|
+
* const approvalManagement = await prisma.approvalManagement.update({
|
|
1016
|
+
* where: {
|
|
1017
|
+
* // ... provide filter here
|
|
1018
|
+
* },
|
|
1019
|
+
* data: {
|
|
1020
|
+
* // ... provide data here
|
|
1021
|
+
* }
|
|
1022
|
+
* })
|
|
1023
|
+
*
|
|
1024
|
+
*/
|
|
1025
|
+
update<T extends ApprovalManagementUpdateArgs>(args: Prisma.SelectSubset<T, ApprovalManagementUpdateArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Delete zero or more ApprovalManagements.
|
|
1029
|
+
* @param {ApprovalManagementDeleteManyArgs} args - Arguments to filter ApprovalManagements to delete.
|
|
1030
|
+
* @example
|
|
1031
|
+
* // Delete a few ApprovalManagements
|
|
1032
|
+
* const { count } = await prisma.approvalManagement.deleteMany({
|
|
1033
|
+
* where: {
|
|
1034
|
+
* // ... provide filter here
|
|
1035
|
+
* }
|
|
1036
|
+
* })
|
|
1037
|
+
*
|
|
1038
|
+
*/
|
|
1039
|
+
deleteMany<T extends ApprovalManagementDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApprovalManagementDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* Update zero or more ApprovalManagements.
|
|
1043
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1044
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1045
|
+
* @param {ApprovalManagementUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1046
|
+
* @example
|
|
1047
|
+
* // Update many ApprovalManagements
|
|
1048
|
+
* const approvalManagement = await prisma.approvalManagement.updateMany({
|
|
1049
|
+
* where: {
|
|
1050
|
+
* // ... provide filter here
|
|
1051
|
+
* },
|
|
1052
|
+
* data: {
|
|
1053
|
+
* // ... provide data here
|
|
1054
|
+
* }
|
|
1055
|
+
* })
|
|
1056
|
+
*
|
|
1057
|
+
*/
|
|
1058
|
+
updateMany<T extends ApprovalManagementUpdateManyArgs>(args: Prisma.SelectSubset<T, ApprovalManagementUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Update zero or more ApprovalManagements and returns the data updated in the database.
|
|
1062
|
+
* @param {ApprovalManagementUpdateManyAndReturnArgs} args - Arguments to update many ApprovalManagements.
|
|
1063
|
+
* @example
|
|
1064
|
+
* // Update many ApprovalManagements
|
|
1065
|
+
* const approvalManagement = await prisma.approvalManagement.updateManyAndReturn({
|
|
1066
|
+
* where: {
|
|
1067
|
+
* // ... provide filter here
|
|
1068
|
+
* },
|
|
1069
|
+
* data: [
|
|
1070
|
+
* // ... provide data here
|
|
1071
|
+
* ]
|
|
1072
|
+
* })
|
|
1073
|
+
*
|
|
1074
|
+
* // Update zero or more ApprovalManagements and only return the `id`
|
|
1075
|
+
* const approvalManagementWithIdOnly = await prisma.approvalManagement.updateManyAndReturn({
|
|
1076
|
+
* select: { id: true },
|
|
1077
|
+
* where: {
|
|
1078
|
+
* // ... provide filter here
|
|
1079
|
+
* },
|
|
1080
|
+
* data: [
|
|
1081
|
+
* // ... provide data here
|
|
1082
|
+
* ]
|
|
1083
|
+
* })
|
|
1084
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1085
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1086
|
+
*
|
|
1087
|
+
*/
|
|
1088
|
+
updateManyAndReturn<T extends ApprovalManagementUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApprovalManagementUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Create or update one ApprovalManagement.
|
|
1092
|
+
* @param {ApprovalManagementUpsertArgs} args - Arguments to update or create a ApprovalManagement.
|
|
1093
|
+
* @example
|
|
1094
|
+
* // Update or create a ApprovalManagement
|
|
1095
|
+
* const approvalManagement = await prisma.approvalManagement.upsert({
|
|
1096
|
+
* create: {
|
|
1097
|
+
* // ... data to create a ApprovalManagement
|
|
1098
|
+
* },
|
|
1099
|
+
* update: {
|
|
1100
|
+
* // ... in case it already exists, update
|
|
1101
|
+
* },
|
|
1102
|
+
* where: {
|
|
1103
|
+
* // ... the filter for the ApprovalManagement we want to update
|
|
1104
|
+
* }
|
|
1105
|
+
* })
|
|
1106
|
+
*/
|
|
1107
|
+
upsert<T extends ApprovalManagementUpsertArgs>(args: Prisma.SelectSubset<T, ApprovalManagementUpsertArgs<ExtArgs>>): Prisma.Prisma__ApprovalManagementClient<runtime.Types.Result.GetResult<Prisma.$ApprovalManagementPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Count the number of ApprovalManagements.
|
|
1112
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1113
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1114
|
+
* @param {ApprovalManagementCountArgs} args - Arguments to filter ApprovalManagements to count.
|
|
1115
|
+
* @example
|
|
1116
|
+
* // Count the number of ApprovalManagements
|
|
1117
|
+
* const count = await prisma.approvalManagement.count({
|
|
1118
|
+
* where: {
|
|
1119
|
+
* // ... the filter for the ApprovalManagements we want to count
|
|
1120
|
+
* }
|
|
1121
|
+
* })
|
|
1122
|
+
**/
|
|
1123
|
+
count<T extends ApprovalManagementCountArgs>(
|
|
1124
|
+
args?: Prisma.Subset<T, ApprovalManagementCountArgs>,
|
|
1125
|
+
): Prisma.PrismaPromise<
|
|
1126
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1127
|
+
? T['select'] extends true
|
|
1128
|
+
? number
|
|
1129
|
+
: Prisma.GetScalarType<T['select'], ApprovalManagementCountAggregateOutputType>
|
|
1130
|
+
: number
|
|
1131
|
+
>
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Allows you to perform aggregations operations on a ApprovalManagement.
|
|
1135
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1136
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1137
|
+
* @param {ApprovalManagementAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1138
|
+
* @example
|
|
1139
|
+
* // Ordered by age ascending
|
|
1140
|
+
* // Where email contains prisma.io
|
|
1141
|
+
* // Limited to the 10 users
|
|
1142
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1143
|
+
* _avg: {
|
|
1144
|
+
* age: true,
|
|
1145
|
+
* },
|
|
1146
|
+
* where: {
|
|
1147
|
+
* email: {
|
|
1148
|
+
* contains: "prisma.io",
|
|
1149
|
+
* },
|
|
1150
|
+
* },
|
|
1151
|
+
* orderBy: {
|
|
1152
|
+
* age: "asc",
|
|
1153
|
+
* },
|
|
1154
|
+
* take: 10,
|
|
1155
|
+
* })
|
|
1156
|
+
**/
|
|
1157
|
+
aggregate<T extends ApprovalManagementAggregateArgs>(args: Prisma.Subset<T, ApprovalManagementAggregateArgs>): Prisma.PrismaPromise<GetApprovalManagementAggregateType<T>>
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Group by ApprovalManagement.
|
|
1161
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1162
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1163
|
+
* @param {ApprovalManagementGroupByArgs} args - Group by arguments.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Group by city, order by createdAt, get count
|
|
1166
|
+
* const result = await prisma.user.groupBy({
|
|
1167
|
+
* by: ['city', 'createdAt'],
|
|
1168
|
+
* orderBy: {
|
|
1169
|
+
* createdAt: true
|
|
1170
|
+
* },
|
|
1171
|
+
* _count: {
|
|
1172
|
+
* _all: true
|
|
1173
|
+
* },
|
|
1174
|
+
* })
|
|
1175
|
+
*
|
|
1176
|
+
**/
|
|
1177
|
+
groupBy<
|
|
1178
|
+
T extends ApprovalManagementGroupByArgs,
|
|
1179
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1180
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1181
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1182
|
+
>,
|
|
1183
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1184
|
+
? { orderBy: ApprovalManagementGroupByArgs['orderBy'] }
|
|
1185
|
+
: { orderBy?: ApprovalManagementGroupByArgs['orderBy'] },
|
|
1186
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1187
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1188
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1189
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1190
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1191
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1192
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1193
|
+
? `Error: "by" must not be empty.`
|
|
1194
|
+
: HavingValid extends Prisma.False
|
|
1195
|
+
? {
|
|
1196
|
+
[P in HavingFields]: P extends ByFields
|
|
1197
|
+
? never
|
|
1198
|
+
: P extends string
|
|
1199
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1200
|
+
: [
|
|
1201
|
+
Error,
|
|
1202
|
+
'Field ',
|
|
1203
|
+
P,
|
|
1204
|
+
` in "having" needs to be provided in "by"`,
|
|
1205
|
+
]
|
|
1206
|
+
}[HavingFields]
|
|
1207
|
+
: 'take' extends Prisma.Keys<T>
|
|
1208
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1209
|
+
? ByValid extends Prisma.True
|
|
1210
|
+
? {}
|
|
1211
|
+
: {
|
|
1212
|
+
[P in OrderFields]: P extends ByFields
|
|
1213
|
+
? never
|
|
1214
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1215
|
+
}[OrderFields]
|
|
1216
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1217
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1218
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1219
|
+
? ByValid extends Prisma.True
|
|
1220
|
+
? {}
|
|
1221
|
+
: {
|
|
1222
|
+
[P in OrderFields]: P extends ByFields
|
|
1223
|
+
? never
|
|
1224
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1225
|
+
}[OrderFields]
|
|
1226
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1227
|
+
: ByValid extends Prisma.True
|
|
1228
|
+
? {}
|
|
1229
|
+
: {
|
|
1230
|
+
[P in OrderFields]: P extends ByFields
|
|
1231
|
+
? never
|
|
1232
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1233
|
+
}[OrderFields]
|
|
1234
|
+
>(args: Prisma.SubsetIntersection<T, ApprovalManagementGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalManagementGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1235
|
+
/**
|
|
1236
|
+
* Fields of the ApprovalManagement model
|
|
1237
|
+
*/
|
|
1238
|
+
readonly fields: ApprovalManagementFieldRefs;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* The delegate class that acts as a "Promise-like" for ApprovalManagement.
|
|
1243
|
+
* Why is this prefixed with `Prisma__`?
|
|
1244
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1245
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1246
|
+
*/
|
|
1247
|
+
export interface Prisma__ApprovalManagementClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1248
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1249
|
+
user<T extends Prisma.ApprovalManagement$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalManagement$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1250
|
+
/**
|
|
1251
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1252
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1253
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1254
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1255
|
+
*/
|
|
1256
|
+
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>
|
|
1257
|
+
/**
|
|
1258
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1259
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1260
|
+
* @returns A Promise for the completion of the callback.
|
|
1261
|
+
*/
|
|
1262
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1263
|
+
/**
|
|
1264
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1265
|
+
* resolved value cannot be modified from the callback.
|
|
1266
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1267
|
+
* @returns A Promise for the completion of the callback.
|
|
1268
|
+
*/
|
|
1269
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Fields of the ApprovalManagement model
|
|
1277
|
+
*/
|
|
1278
|
+
export interface ApprovalManagementFieldRefs {
|
|
1279
|
+
readonly id: Prisma.FieldRef<"ApprovalManagement", 'Int'>
|
|
1280
|
+
readonly uuid: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1281
|
+
readonly journy_type: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1282
|
+
readonly journey_task: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1283
|
+
readonly parent_id: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1284
|
+
readonly user_id: Prisma.FieldRef<"ApprovalManagement", 'Int'>
|
|
1285
|
+
readonly proposed_payload: Prisma.FieldRef<"ApprovalManagement", 'Json'>
|
|
1286
|
+
readonly previous_snapshot: Prisma.FieldRef<"ApprovalManagement", 'Json'>
|
|
1287
|
+
readonly estimated_budget: Prisma.FieldRef<"ApprovalManagement", 'Decimal'>
|
|
1288
|
+
readonly batch_id: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1289
|
+
readonly request_status: Prisma.FieldRef<"ApprovalManagement", 'ApprovalManagementStatusEnum'>
|
|
1290
|
+
readonly reject_reason: Prisma.FieldRef<"ApprovalManagement", 'String'>
|
|
1291
|
+
readonly created_at: Prisma.FieldRef<"ApprovalManagement", 'DateTime'>
|
|
1292
|
+
readonly created_by: Prisma.FieldRef<"ApprovalManagement", 'Int'>
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
// Custom InputTypes
|
|
1297
|
+
/**
|
|
1298
|
+
* ApprovalManagement findUnique
|
|
1299
|
+
*/
|
|
1300
|
+
export type ApprovalManagementFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1301
|
+
/**
|
|
1302
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1303
|
+
*/
|
|
1304
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1305
|
+
/**
|
|
1306
|
+
* Omit specific fields from the ApprovalManagement
|
|
1307
|
+
*/
|
|
1308
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1309
|
+
/**
|
|
1310
|
+
* Choose, which related nodes to fetch as well
|
|
1311
|
+
*/
|
|
1312
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1313
|
+
/**
|
|
1314
|
+
* Filter, which ApprovalManagement to fetch.
|
|
1315
|
+
*/
|
|
1316
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* ApprovalManagement findUniqueOrThrow
|
|
1321
|
+
*/
|
|
1322
|
+
export type ApprovalManagementFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1323
|
+
/**
|
|
1324
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1325
|
+
*/
|
|
1326
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1327
|
+
/**
|
|
1328
|
+
* Omit specific fields from the ApprovalManagement
|
|
1329
|
+
*/
|
|
1330
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1331
|
+
/**
|
|
1332
|
+
* Choose, which related nodes to fetch as well
|
|
1333
|
+
*/
|
|
1334
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1335
|
+
/**
|
|
1336
|
+
* Filter, which ApprovalManagement to fetch.
|
|
1337
|
+
*/
|
|
1338
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* ApprovalManagement findFirst
|
|
1343
|
+
*/
|
|
1344
|
+
export type ApprovalManagementFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1345
|
+
/**
|
|
1346
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1347
|
+
*/
|
|
1348
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* Omit specific fields from the ApprovalManagement
|
|
1351
|
+
*/
|
|
1352
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1353
|
+
/**
|
|
1354
|
+
* Choose, which related nodes to fetch as well
|
|
1355
|
+
*/
|
|
1356
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1357
|
+
/**
|
|
1358
|
+
* Filter, which ApprovalManagement to fetch.
|
|
1359
|
+
*/
|
|
1360
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1361
|
+
/**
|
|
1362
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1363
|
+
*
|
|
1364
|
+
* Determine the order of ApprovalManagements to fetch.
|
|
1365
|
+
*/
|
|
1366
|
+
orderBy?: Prisma.ApprovalManagementOrderByWithRelationInput | Prisma.ApprovalManagementOrderByWithRelationInput[]
|
|
1367
|
+
/**
|
|
1368
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1369
|
+
*
|
|
1370
|
+
* Sets the position for searching for ApprovalManagements.
|
|
1371
|
+
*/
|
|
1372
|
+
cursor?: Prisma.ApprovalManagementWhereUniqueInput
|
|
1373
|
+
/**
|
|
1374
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1375
|
+
*
|
|
1376
|
+
* Take `±n` ApprovalManagements from the position of the cursor.
|
|
1377
|
+
*/
|
|
1378
|
+
take?: number
|
|
1379
|
+
/**
|
|
1380
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1381
|
+
*
|
|
1382
|
+
* Skip the first `n` ApprovalManagements.
|
|
1383
|
+
*/
|
|
1384
|
+
skip?: number
|
|
1385
|
+
/**
|
|
1386
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1387
|
+
*
|
|
1388
|
+
* Filter by unique combinations of ApprovalManagements.
|
|
1389
|
+
*/
|
|
1390
|
+
distinct?: Prisma.ApprovalManagementScalarFieldEnum | Prisma.ApprovalManagementScalarFieldEnum[]
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* ApprovalManagement findFirstOrThrow
|
|
1395
|
+
*/
|
|
1396
|
+
export type ApprovalManagementFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1397
|
+
/**
|
|
1398
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1399
|
+
*/
|
|
1400
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1401
|
+
/**
|
|
1402
|
+
* Omit specific fields from the ApprovalManagement
|
|
1403
|
+
*/
|
|
1404
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1405
|
+
/**
|
|
1406
|
+
* Choose, which related nodes to fetch as well
|
|
1407
|
+
*/
|
|
1408
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1409
|
+
/**
|
|
1410
|
+
* Filter, which ApprovalManagement to fetch.
|
|
1411
|
+
*/
|
|
1412
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1413
|
+
/**
|
|
1414
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1415
|
+
*
|
|
1416
|
+
* Determine the order of ApprovalManagements to fetch.
|
|
1417
|
+
*/
|
|
1418
|
+
orderBy?: Prisma.ApprovalManagementOrderByWithRelationInput | Prisma.ApprovalManagementOrderByWithRelationInput[]
|
|
1419
|
+
/**
|
|
1420
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1421
|
+
*
|
|
1422
|
+
* Sets the position for searching for ApprovalManagements.
|
|
1423
|
+
*/
|
|
1424
|
+
cursor?: Prisma.ApprovalManagementWhereUniqueInput
|
|
1425
|
+
/**
|
|
1426
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1427
|
+
*
|
|
1428
|
+
* Take `±n` ApprovalManagements from the position of the cursor.
|
|
1429
|
+
*/
|
|
1430
|
+
take?: number
|
|
1431
|
+
/**
|
|
1432
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1433
|
+
*
|
|
1434
|
+
* Skip the first `n` ApprovalManagements.
|
|
1435
|
+
*/
|
|
1436
|
+
skip?: number
|
|
1437
|
+
/**
|
|
1438
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1439
|
+
*
|
|
1440
|
+
* Filter by unique combinations of ApprovalManagements.
|
|
1441
|
+
*/
|
|
1442
|
+
distinct?: Prisma.ApprovalManagementScalarFieldEnum | Prisma.ApprovalManagementScalarFieldEnum[]
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* ApprovalManagement findMany
|
|
1447
|
+
*/
|
|
1448
|
+
export type ApprovalManagementFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1449
|
+
/**
|
|
1450
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1451
|
+
*/
|
|
1452
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1453
|
+
/**
|
|
1454
|
+
* Omit specific fields from the ApprovalManagement
|
|
1455
|
+
*/
|
|
1456
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1457
|
+
/**
|
|
1458
|
+
* Choose, which related nodes to fetch as well
|
|
1459
|
+
*/
|
|
1460
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1461
|
+
/**
|
|
1462
|
+
* Filter, which ApprovalManagements to fetch.
|
|
1463
|
+
*/
|
|
1464
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1465
|
+
/**
|
|
1466
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1467
|
+
*
|
|
1468
|
+
* Determine the order of ApprovalManagements to fetch.
|
|
1469
|
+
*/
|
|
1470
|
+
orderBy?: Prisma.ApprovalManagementOrderByWithRelationInput | Prisma.ApprovalManagementOrderByWithRelationInput[]
|
|
1471
|
+
/**
|
|
1472
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1473
|
+
*
|
|
1474
|
+
* Sets the position for listing ApprovalManagements.
|
|
1475
|
+
*/
|
|
1476
|
+
cursor?: Prisma.ApprovalManagementWhereUniqueInput
|
|
1477
|
+
/**
|
|
1478
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1479
|
+
*
|
|
1480
|
+
* Take `±n` ApprovalManagements from the position of the cursor.
|
|
1481
|
+
*/
|
|
1482
|
+
take?: number
|
|
1483
|
+
/**
|
|
1484
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1485
|
+
*
|
|
1486
|
+
* Skip the first `n` ApprovalManagements.
|
|
1487
|
+
*/
|
|
1488
|
+
skip?: number
|
|
1489
|
+
/**
|
|
1490
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1491
|
+
*
|
|
1492
|
+
* Filter by unique combinations of ApprovalManagements.
|
|
1493
|
+
*/
|
|
1494
|
+
distinct?: Prisma.ApprovalManagementScalarFieldEnum | Prisma.ApprovalManagementScalarFieldEnum[]
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* ApprovalManagement create
|
|
1499
|
+
*/
|
|
1500
|
+
export type ApprovalManagementCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1501
|
+
/**
|
|
1502
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1503
|
+
*/
|
|
1504
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1505
|
+
/**
|
|
1506
|
+
* Omit specific fields from the ApprovalManagement
|
|
1507
|
+
*/
|
|
1508
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1509
|
+
/**
|
|
1510
|
+
* Choose, which related nodes to fetch as well
|
|
1511
|
+
*/
|
|
1512
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1513
|
+
/**
|
|
1514
|
+
* The data needed to create a ApprovalManagement.
|
|
1515
|
+
*/
|
|
1516
|
+
data?: Prisma.XOR<Prisma.ApprovalManagementCreateInput, Prisma.ApprovalManagementUncheckedCreateInput>
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* ApprovalManagement createMany
|
|
1521
|
+
*/
|
|
1522
|
+
export type ApprovalManagementCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1523
|
+
/**
|
|
1524
|
+
* The data used to create many ApprovalManagements.
|
|
1525
|
+
*/
|
|
1526
|
+
data: Prisma.ApprovalManagementCreateManyInput | Prisma.ApprovalManagementCreateManyInput[]
|
|
1527
|
+
skipDuplicates?: boolean
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* ApprovalManagement createManyAndReturn
|
|
1532
|
+
*/
|
|
1533
|
+
export type ApprovalManagementCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1534
|
+
/**
|
|
1535
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1536
|
+
*/
|
|
1537
|
+
select?: Prisma.ApprovalManagementSelectCreateManyAndReturn<ExtArgs> | null
|
|
1538
|
+
/**
|
|
1539
|
+
* Omit specific fields from the ApprovalManagement
|
|
1540
|
+
*/
|
|
1541
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1542
|
+
/**
|
|
1543
|
+
* The data used to create many ApprovalManagements.
|
|
1544
|
+
*/
|
|
1545
|
+
data: Prisma.ApprovalManagementCreateManyInput | Prisma.ApprovalManagementCreateManyInput[]
|
|
1546
|
+
skipDuplicates?: boolean
|
|
1547
|
+
/**
|
|
1548
|
+
* Choose, which related nodes to fetch as well
|
|
1549
|
+
*/
|
|
1550
|
+
include?: Prisma.ApprovalManagementIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* ApprovalManagement update
|
|
1555
|
+
*/
|
|
1556
|
+
export type ApprovalManagementUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1557
|
+
/**
|
|
1558
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1559
|
+
*/
|
|
1560
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1561
|
+
/**
|
|
1562
|
+
* Omit specific fields from the ApprovalManagement
|
|
1563
|
+
*/
|
|
1564
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1565
|
+
/**
|
|
1566
|
+
* Choose, which related nodes to fetch as well
|
|
1567
|
+
*/
|
|
1568
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1569
|
+
/**
|
|
1570
|
+
* The data needed to update a ApprovalManagement.
|
|
1571
|
+
*/
|
|
1572
|
+
data: Prisma.XOR<Prisma.ApprovalManagementUpdateInput, Prisma.ApprovalManagementUncheckedUpdateInput>
|
|
1573
|
+
/**
|
|
1574
|
+
* Choose, which ApprovalManagement to update.
|
|
1575
|
+
*/
|
|
1576
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* ApprovalManagement updateMany
|
|
1581
|
+
*/
|
|
1582
|
+
export type ApprovalManagementUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1583
|
+
/**
|
|
1584
|
+
* The data used to update ApprovalManagements.
|
|
1585
|
+
*/
|
|
1586
|
+
data: Prisma.XOR<Prisma.ApprovalManagementUpdateManyMutationInput, Prisma.ApprovalManagementUncheckedUpdateManyInput>
|
|
1587
|
+
/**
|
|
1588
|
+
* Filter which ApprovalManagements to update
|
|
1589
|
+
*/
|
|
1590
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1591
|
+
/**
|
|
1592
|
+
* Limit how many ApprovalManagements to update.
|
|
1593
|
+
*/
|
|
1594
|
+
limit?: number
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* ApprovalManagement updateManyAndReturn
|
|
1599
|
+
*/
|
|
1600
|
+
export type ApprovalManagementUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1601
|
+
/**
|
|
1602
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1603
|
+
*/
|
|
1604
|
+
select?: Prisma.ApprovalManagementSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1605
|
+
/**
|
|
1606
|
+
* Omit specific fields from the ApprovalManagement
|
|
1607
|
+
*/
|
|
1608
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1609
|
+
/**
|
|
1610
|
+
* The data used to update ApprovalManagements.
|
|
1611
|
+
*/
|
|
1612
|
+
data: Prisma.XOR<Prisma.ApprovalManagementUpdateManyMutationInput, Prisma.ApprovalManagementUncheckedUpdateManyInput>
|
|
1613
|
+
/**
|
|
1614
|
+
* Filter which ApprovalManagements to update
|
|
1615
|
+
*/
|
|
1616
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1617
|
+
/**
|
|
1618
|
+
* Limit how many ApprovalManagements to update.
|
|
1619
|
+
*/
|
|
1620
|
+
limit?: number
|
|
1621
|
+
/**
|
|
1622
|
+
* Choose, which related nodes to fetch as well
|
|
1623
|
+
*/
|
|
1624
|
+
include?: Prisma.ApprovalManagementIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* ApprovalManagement upsert
|
|
1629
|
+
*/
|
|
1630
|
+
export type ApprovalManagementUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1631
|
+
/**
|
|
1632
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1633
|
+
*/
|
|
1634
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1635
|
+
/**
|
|
1636
|
+
* Omit specific fields from the ApprovalManagement
|
|
1637
|
+
*/
|
|
1638
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1639
|
+
/**
|
|
1640
|
+
* Choose, which related nodes to fetch as well
|
|
1641
|
+
*/
|
|
1642
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1643
|
+
/**
|
|
1644
|
+
* The filter to search for the ApprovalManagement to update in case it exists.
|
|
1645
|
+
*/
|
|
1646
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
1647
|
+
/**
|
|
1648
|
+
* In case the ApprovalManagement found by the `where` argument doesn't exist, create a new ApprovalManagement with this data.
|
|
1649
|
+
*/
|
|
1650
|
+
create: Prisma.XOR<Prisma.ApprovalManagementCreateInput, Prisma.ApprovalManagementUncheckedCreateInput>
|
|
1651
|
+
/**
|
|
1652
|
+
* In case the ApprovalManagement was found with the provided `where` argument, update it with this data.
|
|
1653
|
+
*/
|
|
1654
|
+
update: Prisma.XOR<Prisma.ApprovalManagementUpdateInput, Prisma.ApprovalManagementUncheckedUpdateInput>
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* ApprovalManagement delete
|
|
1659
|
+
*/
|
|
1660
|
+
export type ApprovalManagementDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1661
|
+
/**
|
|
1662
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1663
|
+
*/
|
|
1664
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1665
|
+
/**
|
|
1666
|
+
* Omit specific fields from the ApprovalManagement
|
|
1667
|
+
*/
|
|
1668
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1669
|
+
/**
|
|
1670
|
+
* Choose, which related nodes to fetch as well
|
|
1671
|
+
*/
|
|
1672
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1673
|
+
/**
|
|
1674
|
+
* Filter which ApprovalManagement to delete.
|
|
1675
|
+
*/
|
|
1676
|
+
where: Prisma.ApprovalManagementWhereUniqueInput
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* ApprovalManagement deleteMany
|
|
1681
|
+
*/
|
|
1682
|
+
export type ApprovalManagementDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1683
|
+
/**
|
|
1684
|
+
* Filter which ApprovalManagements to delete
|
|
1685
|
+
*/
|
|
1686
|
+
where?: Prisma.ApprovalManagementWhereInput
|
|
1687
|
+
/**
|
|
1688
|
+
* Limit how many ApprovalManagements to delete.
|
|
1689
|
+
*/
|
|
1690
|
+
limit?: number
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* ApprovalManagement.user
|
|
1695
|
+
*/
|
|
1696
|
+
export type ApprovalManagement$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Select specific fields to fetch from the User
|
|
1699
|
+
*/
|
|
1700
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1701
|
+
/**
|
|
1702
|
+
* Omit specific fields from the User
|
|
1703
|
+
*/
|
|
1704
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1705
|
+
/**
|
|
1706
|
+
* Choose, which related nodes to fetch as well
|
|
1707
|
+
*/
|
|
1708
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1709
|
+
where?: Prisma.UserWhereInput
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* ApprovalManagement without action
|
|
1714
|
+
*/
|
|
1715
|
+
export type ApprovalManagementDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1716
|
+
/**
|
|
1717
|
+
* Select specific fields to fetch from the ApprovalManagement
|
|
1718
|
+
*/
|
|
1719
|
+
select?: Prisma.ApprovalManagementSelect<ExtArgs> | null
|
|
1720
|
+
/**
|
|
1721
|
+
* Omit specific fields from the ApprovalManagement
|
|
1722
|
+
*/
|
|
1723
|
+
omit?: Prisma.ApprovalManagementOmit<ExtArgs> | null
|
|
1724
|
+
/**
|
|
1725
|
+
* Choose, which related nodes to fetch as well
|
|
1726
|
+
*/
|
|
1727
|
+
include?: Prisma.ApprovalManagementInclude<ExtArgs> | null
|
|
1728
|
+
}
|