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