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