procbay-schema 1.0.171 → 1.0.175

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