procbay-schema 1.0.171 → 1.0.174

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