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,2335 +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 `ApprovalLevel` 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 ApprovalLevel
17
- *
18
- */
19
- export type ApprovalLevelModel = runtime.Types.Result.DefaultSelection<Prisma.$ApprovalLevelPayload>
20
-
21
- export type AggregateApprovalLevel = {
22
- _count: ApprovalLevelCountAggregateOutputType | null
23
- _avg: ApprovalLevelAvgAggregateOutputType | null
24
- _sum: ApprovalLevelSumAggregateOutputType | null
25
- _min: ApprovalLevelMinAggregateOutputType | null
26
- _max: ApprovalLevelMaxAggregateOutputType | null
27
- }
28
-
29
- export type ApprovalLevelAvgAggregateOutputType = {
30
- id: number | null
31
- approval_hierarchy_id: number | null
32
- approval_condition_id: number | null
33
- valid_till_hours: number | null
34
- valid_till_minutes: number | null
35
- created_by: number | null
36
- updated_by: number | null
37
- deleted_by: number | null
38
- }
39
-
40
- export type ApprovalLevelSumAggregateOutputType = {
41
- id: number | null
42
- approval_hierarchy_id: number | null
43
- approval_condition_id: number | null
44
- valid_till_hours: number | null
45
- valid_till_minutes: number | null
46
- created_by: number | null
47
- updated_by: number | null
48
- deleted_by: number | null
49
- }
50
-
51
- export type ApprovalLevelMinAggregateOutputType = {
52
- id: number | null
53
- uuid: string | null
54
- approval_hierarchy_id: number | null
55
- approval_condition_id: number | null
56
- level: string | null
57
- valid_till_hours: number | null
58
- valid_till_minutes: number | null
59
- is_active: boolean | null
60
- is_deleted: boolean | null
61
- created_at: Date | null
62
- created_by: number | null
63
- updated_at: Date | null
64
- updated_by: number | null
65
- deleted_at: Date | null
66
- deleted_by: number | null
67
- }
68
-
69
- export type ApprovalLevelMaxAggregateOutputType = {
70
- id: number | null
71
- uuid: string | null
72
- approval_hierarchy_id: number | null
73
- approval_condition_id: number | null
74
- level: string | null
75
- valid_till_hours: number | null
76
- valid_till_minutes: number | null
77
- is_active: boolean | null
78
- is_deleted: boolean | null
79
- created_at: Date | null
80
- created_by: number | null
81
- updated_at: Date | null
82
- updated_by: number | null
83
- deleted_at: Date | null
84
- deleted_by: number | null
85
- }
86
-
87
- export type ApprovalLevelCountAggregateOutputType = {
88
- id: number
89
- uuid: number
90
- approval_hierarchy_id: number
91
- approval_condition_id: number
92
- level: number
93
- valid_till_hours: number
94
- valid_till_minutes: number
95
- is_active: number
96
- is_deleted: number
97
- created_at: number
98
- created_by: number
99
- updated_at: number
100
- updated_by: number
101
- deleted_at: number
102
- deleted_by: number
103
- _all: number
104
- }
105
-
106
-
107
- export type ApprovalLevelAvgAggregateInputType = {
108
- id?: true
109
- approval_hierarchy_id?: true
110
- approval_condition_id?: true
111
- valid_till_hours?: true
112
- valid_till_minutes?: true
113
- created_by?: true
114
- updated_by?: true
115
- deleted_by?: true
116
- }
117
-
118
- export type ApprovalLevelSumAggregateInputType = {
119
- id?: true
120
- approval_hierarchy_id?: true
121
- approval_condition_id?: true
122
- valid_till_hours?: true
123
- valid_till_minutes?: true
124
- created_by?: true
125
- updated_by?: true
126
- deleted_by?: true
127
- }
128
-
129
- export type ApprovalLevelMinAggregateInputType = {
130
- id?: true
131
- uuid?: true
132
- approval_hierarchy_id?: true
133
- approval_condition_id?: true
134
- level?: true
135
- valid_till_hours?: true
136
- valid_till_minutes?: true
137
- is_active?: true
138
- is_deleted?: true
139
- created_at?: true
140
- created_by?: true
141
- updated_at?: true
142
- updated_by?: true
143
- deleted_at?: true
144
- deleted_by?: true
145
- }
146
-
147
- export type ApprovalLevelMaxAggregateInputType = {
148
- id?: true
149
- uuid?: true
150
- approval_hierarchy_id?: true
151
- approval_condition_id?: true
152
- level?: true
153
- valid_till_hours?: true
154
- valid_till_minutes?: true
155
- is_active?: true
156
- is_deleted?: true
157
- created_at?: true
158
- created_by?: true
159
- updated_at?: true
160
- updated_by?: true
161
- deleted_at?: true
162
- deleted_by?: true
163
- }
164
-
165
- export type ApprovalLevelCountAggregateInputType = {
166
- id?: true
167
- uuid?: true
168
- approval_hierarchy_id?: true
169
- approval_condition_id?: true
170
- level?: true
171
- valid_till_hours?: true
172
- valid_till_minutes?: true
173
- is_active?: true
174
- is_deleted?: true
175
- created_at?: true
176
- created_by?: true
177
- updated_at?: true
178
- updated_by?: true
179
- deleted_at?: true
180
- deleted_by?: true
181
- _all?: true
182
- }
183
-
184
- export type ApprovalLevelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
185
- /**
186
- * Filter which ApprovalLevel to aggregate.
187
- */
188
- where?: Prisma.ApprovalLevelWhereInput
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
191
- *
192
- * Determine the order of ApprovalLevels to fetch.
193
- */
194
- orderBy?: Prisma.ApprovalLevelOrderByWithRelationInput | Prisma.ApprovalLevelOrderByWithRelationInput[]
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
197
- *
198
- * Sets the start position
199
- */
200
- cursor?: Prisma.ApprovalLevelWhereUniqueInput
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
203
- *
204
- * Take `±n` ApprovalLevels from the position of the cursor.
205
- */
206
- take?: number
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
209
- *
210
- * Skip the first `n` ApprovalLevels.
211
- */
212
- skip?: number
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
- *
216
- * Count returned ApprovalLevels
217
- **/
218
- _count?: true | ApprovalLevelCountAggregateInputType
219
- /**
220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
221
- *
222
- * Select which fields to average
223
- **/
224
- _avg?: ApprovalLevelAvgAggregateInputType
225
- /**
226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
- *
228
- * Select which fields to sum
229
- **/
230
- _sum?: ApprovalLevelSumAggregateInputType
231
- /**
232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
- *
234
- * Select which fields to find the minimum value
235
- **/
236
- _min?: ApprovalLevelMinAggregateInputType
237
- /**
238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
- *
240
- * Select which fields to find the maximum value
241
- **/
242
- _max?: ApprovalLevelMaxAggregateInputType
243
- }
244
-
245
- export type GetApprovalLevelAggregateType<T extends ApprovalLevelAggregateArgs> = {
246
- [P in keyof T & keyof AggregateApprovalLevel]: P extends '_count' | 'count'
247
- ? T[P] extends true
248
- ? number
249
- : Prisma.GetScalarType<T[P], AggregateApprovalLevel[P]>
250
- : Prisma.GetScalarType<T[P], AggregateApprovalLevel[P]>
251
- }
252
-
253
-
254
-
255
-
256
- export type ApprovalLevelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
257
- where?: Prisma.ApprovalLevelWhereInput
258
- orderBy?: Prisma.ApprovalLevelOrderByWithAggregationInput | Prisma.ApprovalLevelOrderByWithAggregationInput[]
259
- by: Prisma.ApprovalLevelScalarFieldEnum[] | Prisma.ApprovalLevelScalarFieldEnum
260
- having?: Prisma.ApprovalLevelScalarWhereWithAggregatesInput
261
- take?: number
262
- skip?: number
263
- _count?: ApprovalLevelCountAggregateInputType | true
264
- _avg?: ApprovalLevelAvgAggregateInputType
265
- _sum?: ApprovalLevelSumAggregateInputType
266
- _min?: ApprovalLevelMinAggregateInputType
267
- _max?: ApprovalLevelMaxAggregateInputType
268
- }
269
-
270
- export type ApprovalLevelGroupByOutputType = {
271
- id: number
272
- uuid: string | null
273
- approval_hierarchy_id: number | null
274
- approval_condition_id: number | null
275
- level: string | null
276
- valid_till_hours: number | null
277
- valid_till_minutes: number | null
278
- is_active: boolean
279
- is_deleted: boolean
280
- created_at: Date
281
- created_by: number | null
282
- updated_at: Date | null
283
- updated_by: number | null
284
- deleted_at: Date | null
285
- deleted_by: number | null
286
- _count: ApprovalLevelCountAggregateOutputType | null
287
- _avg: ApprovalLevelAvgAggregateOutputType | null
288
- _sum: ApprovalLevelSumAggregateOutputType | null
289
- _min: ApprovalLevelMinAggregateOutputType | null
290
- _max: ApprovalLevelMaxAggregateOutputType | null
291
- }
292
-
293
- export type GetApprovalLevelGroupByPayload<T extends ApprovalLevelGroupByArgs> = Prisma.PrismaPromise<
294
- Array<
295
- Prisma.PickEnumerable<ApprovalLevelGroupByOutputType, T['by']> &
296
- {
297
- [P in ((keyof T) & (keyof ApprovalLevelGroupByOutputType))]: P extends '_count'
298
- ? T[P] extends boolean
299
- ? number
300
- : Prisma.GetScalarType<T[P], ApprovalLevelGroupByOutputType[P]>
301
- : Prisma.GetScalarType<T[P], ApprovalLevelGroupByOutputType[P]>
302
- }
303
- >
304
- >
305
-
306
-
307
-
308
- export type ApprovalLevelWhereInput = {
309
- AND?: Prisma.ApprovalLevelWhereInput | Prisma.ApprovalLevelWhereInput[]
310
- OR?: Prisma.ApprovalLevelWhereInput[]
311
- NOT?: Prisma.ApprovalLevelWhereInput | Prisma.ApprovalLevelWhereInput[]
312
- id?: Prisma.IntFilter<"ApprovalLevel"> | number
313
- uuid?: Prisma.StringNullableFilter<"ApprovalLevel"> | string | null
314
- approval_hierarchy_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
315
- approval_condition_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
316
- level?: Prisma.StringNullableFilter<"ApprovalLevel"> | string | null
317
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
318
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
319
- is_active?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
320
- is_deleted?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
321
- created_at?: Prisma.DateTimeFilter<"ApprovalLevel"> | Date | string
322
- created_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
323
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
324
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
325
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
326
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
327
- approval_hierarchy?: Prisma.XOR<Prisma.ApprovalHierarchyNullableScalarRelationFilter, Prisma.ApprovalHierarchyWhereInput> | null
328
- approval_condition?: Prisma.XOR<Prisma.ApprovalConditionNullableScalarRelationFilter, Prisma.ApprovalConditionWhereInput> | null
329
- approval_level_escalation?: Prisma.ApprovalLevelEscalationListRelationFilter
330
- approval_level_users?: Prisma.ApprovalLevelUserListRelationFilter
331
- }
332
-
333
- export type ApprovalLevelOrderByWithRelationInput = {
334
- id?: Prisma.SortOrder
335
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
336
- approval_hierarchy_id?: Prisma.SortOrderInput | Prisma.SortOrder
337
- approval_condition_id?: Prisma.SortOrderInput | Prisma.SortOrder
338
- level?: Prisma.SortOrderInput | Prisma.SortOrder
339
- valid_till_hours?: Prisma.SortOrderInput | Prisma.SortOrder
340
- valid_till_minutes?: Prisma.SortOrderInput | Prisma.SortOrder
341
- is_active?: Prisma.SortOrder
342
- is_deleted?: Prisma.SortOrder
343
- created_at?: Prisma.SortOrder
344
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
345
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
346
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
347
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
348
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
349
- approval_hierarchy?: Prisma.ApprovalHierarchyOrderByWithRelationInput
350
- approval_condition?: Prisma.ApprovalConditionOrderByWithRelationInput
351
- approval_level_escalation?: Prisma.ApprovalLevelEscalationOrderByRelationAggregateInput
352
- approval_level_users?: Prisma.ApprovalLevelUserOrderByRelationAggregateInput
353
- }
354
-
355
- export type ApprovalLevelWhereUniqueInput = Prisma.AtLeast<{
356
- id?: number
357
- uuid?: string
358
- AND?: Prisma.ApprovalLevelWhereInput | Prisma.ApprovalLevelWhereInput[]
359
- OR?: Prisma.ApprovalLevelWhereInput[]
360
- NOT?: Prisma.ApprovalLevelWhereInput | Prisma.ApprovalLevelWhereInput[]
361
- approval_hierarchy_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
362
- approval_condition_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
363
- level?: Prisma.StringNullableFilter<"ApprovalLevel"> | string | null
364
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
365
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
366
- is_active?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
367
- is_deleted?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
368
- created_at?: Prisma.DateTimeFilter<"ApprovalLevel"> | Date | string
369
- created_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
370
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
371
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
372
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
373
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
374
- approval_hierarchy?: Prisma.XOR<Prisma.ApprovalHierarchyNullableScalarRelationFilter, Prisma.ApprovalHierarchyWhereInput> | null
375
- approval_condition?: Prisma.XOR<Prisma.ApprovalConditionNullableScalarRelationFilter, Prisma.ApprovalConditionWhereInput> | null
376
- approval_level_escalation?: Prisma.ApprovalLevelEscalationListRelationFilter
377
- approval_level_users?: Prisma.ApprovalLevelUserListRelationFilter
378
- }, "id" | "uuid">
379
-
380
- export type ApprovalLevelOrderByWithAggregationInput = {
381
- id?: Prisma.SortOrder
382
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
383
- approval_hierarchy_id?: Prisma.SortOrderInput | Prisma.SortOrder
384
- approval_condition_id?: Prisma.SortOrderInput | Prisma.SortOrder
385
- level?: Prisma.SortOrderInput | Prisma.SortOrder
386
- valid_till_hours?: Prisma.SortOrderInput | Prisma.SortOrder
387
- valid_till_minutes?: Prisma.SortOrderInput | Prisma.SortOrder
388
- is_active?: Prisma.SortOrder
389
- is_deleted?: Prisma.SortOrder
390
- created_at?: Prisma.SortOrder
391
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
392
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
393
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
394
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
395
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
396
- _count?: Prisma.ApprovalLevelCountOrderByAggregateInput
397
- _avg?: Prisma.ApprovalLevelAvgOrderByAggregateInput
398
- _max?: Prisma.ApprovalLevelMaxOrderByAggregateInput
399
- _min?: Prisma.ApprovalLevelMinOrderByAggregateInput
400
- _sum?: Prisma.ApprovalLevelSumOrderByAggregateInput
401
- }
402
-
403
- export type ApprovalLevelScalarWhereWithAggregatesInput = {
404
- AND?: Prisma.ApprovalLevelScalarWhereWithAggregatesInput | Prisma.ApprovalLevelScalarWhereWithAggregatesInput[]
405
- OR?: Prisma.ApprovalLevelScalarWhereWithAggregatesInput[]
406
- NOT?: Prisma.ApprovalLevelScalarWhereWithAggregatesInput | Prisma.ApprovalLevelScalarWhereWithAggregatesInput[]
407
- id?: Prisma.IntWithAggregatesFilter<"ApprovalLevel"> | number
408
- uuid?: Prisma.StringNullableWithAggregatesFilter<"ApprovalLevel"> | string | null
409
- approval_hierarchy_id?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
410
- approval_condition_id?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
411
- level?: Prisma.StringNullableWithAggregatesFilter<"ApprovalLevel"> | string | null
412
- valid_till_hours?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
413
- valid_till_minutes?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
414
- is_active?: Prisma.BoolWithAggregatesFilter<"ApprovalLevel"> | boolean
415
- is_deleted?: Prisma.BoolWithAggregatesFilter<"ApprovalLevel"> | boolean
416
- created_at?: Prisma.DateTimeWithAggregatesFilter<"ApprovalLevel"> | Date | string
417
- created_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
418
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalLevel"> | Date | string | null
419
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
420
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalLevel"> | Date | string | null
421
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevel"> | number | null
422
- }
423
-
424
- export type ApprovalLevelCreateInput = {
425
- uuid?: string | null
426
- level?: string | null
427
- valid_till_hours?: number | null
428
- valid_till_minutes?: number | null
429
- is_active?: boolean
430
- is_deleted?: boolean
431
- created_at?: Date | string
432
- created_by?: number | null
433
- updated_at?: Date | string | null
434
- updated_by?: number | null
435
- deleted_at?: Date | string | null
436
- deleted_by?: number | null
437
- approval_hierarchy?: Prisma.ApprovalHierarchyCreateNestedOneWithoutApproval_levelInput
438
- approval_condition?: Prisma.ApprovalConditionCreateNestedOneWithoutApproval_levelInput
439
- approval_level_escalation?: Prisma.ApprovalLevelEscalationCreateNestedManyWithoutApproval_levelInput
440
- approval_level_users?: Prisma.ApprovalLevelUserCreateNestedManyWithoutApproval_levelInput
441
- }
442
-
443
- export type ApprovalLevelUncheckedCreateInput = {
444
- id?: number
445
- uuid?: string | null
446
- approval_hierarchy_id?: number | null
447
- approval_condition_id?: number | null
448
- level?: string | null
449
- valid_till_hours?: number | null
450
- valid_till_minutes?: number | null
451
- is_active?: boolean
452
- is_deleted?: boolean
453
- created_at?: Date | string
454
- created_by?: number | null
455
- updated_at?: Date | string | null
456
- updated_by?: number | null
457
- deleted_at?: Date | string | null
458
- deleted_by?: number | null
459
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedCreateNestedManyWithoutApproval_levelInput
460
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedCreateNestedManyWithoutApproval_levelInput
461
- }
462
-
463
- export type ApprovalLevelUpdateInput = {
464
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
465
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
466
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
467
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
468
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
469
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
470
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
471
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
472
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
473
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
474
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
475
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
476
- approval_hierarchy?: Prisma.ApprovalHierarchyUpdateOneWithoutApproval_levelNestedInput
477
- approval_condition?: Prisma.ApprovalConditionUpdateOneWithoutApproval_levelNestedInput
478
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUpdateManyWithoutApproval_levelNestedInput
479
- approval_level_users?: Prisma.ApprovalLevelUserUpdateManyWithoutApproval_levelNestedInput
480
- }
481
-
482
- export type ApprovalLevelUncheckedUpdateInput = {
483
- id?: Prisma.IntFieldUpdateOperationsInput | number
484
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
485
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
486
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
487
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
488
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
489
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
490
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
491
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
492
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
493
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
494
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
495
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
496
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
497
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
498
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelNestedInput
499
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedUpdateManyWithoutApproval_levelNestedInput
500
- }
501
-
502
- export type ApprovalLevelCreateManyInput = {
503
- id?: number
504
- uuid?: string | null
505
- approval_hierarchy_id?: number | null
506
- approval_condition_id?: number | null
507
- level?: string | null
508
- valid_till_hours?: number | null
509
- valid_till_minutes?: number | null
510
- is_active?: boolean
511
- is_deleted?: boolean
512
- created_at?: Date | string
513
- created_by?: number | null
514
- updated_at?: Date | string | null
515
- updated_by?: number | null
516
- deleted_at?: Date | string | null
517
- deleted_by?: number | null
518
- }
519
-
520
- export type ApprovalLevelUpdateManyMutationInput = {
521
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
522
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
523
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
524
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
525
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
526
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
527
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
528
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
529
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
530
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
531
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
532
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
533
- }
534
-
535
- export type ApprovalLevelUncheckedUpdateManyInput = {
536
- id?: Prisma.IntFieldUpdateOperationsInput | number
537
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
538
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
539
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
540
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
541
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
542
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
543
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
544
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
545
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
546
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
547
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
548
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
549
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
550
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
551
- }
552
-
553
- export type ApprovalLevelListRelationFilter = {
554
- every?: Prisma.ApprovalLevelWhereInput
555
- some?: Prisma.ApprovalLevelWhereInput
556
- none?: Prisma.ApprovalLevelWhereInput
557
- }
558
-
559
- export type ApprovalLevelOrderByRelationAggregateInput = {
560
- _count?: Prisma.SortOrder
561
- }
562
-
563
- export type ApprovalLevelCountOrderByAggregateInput = {
564
- id?: Prisma.SortOrder
565
- uuid?: Prisma.SortOrder
566
- approval_hierarchy_id?: Prisma.SortOrder
567
- approval_condition_id?: Prisma.SortOrder
568
- level?: Prisma.SortOrder
569
- valid_till_hours?: Prisma.SortOrder
570
- valid_till_minutes?: Prisma.SortOrder
571
- is_active?: Prisma.SortOrder
572
- is_deleted?: Prisma.SortOrder
573
- created_at?: Prisma.SortOrder
574
- created_by?: Prisma.SortOrder
575
- updated_at?: Prisma.SortOrder
576
- updated_by?: Prisma.SortOrder
577
- deleted_at?: Prisma.SortOrder
578
- deleted_by?: Prisma.SortOrder
579
- }
580
-
581
- export type ApprovalLevelAvgOrderByAggregateInput = {
582
- id?: Prisma.SortOrder
583
- approval_hierarchy_id?: Prisma.SortOrder
584
- approval_condition_id?: Prisma.SortOrder
585
- valid_till_hours?: Prisma.SortOrder
586
- valid_till_minutes?: Prisma.SortOrder
587
- created_by?: Prisma.SortOrder
588
- updated_by?: Prisma.SortOrder
589
- deleted_by?: Prisma.SortOrder
590
- }
591
-
592
- export type ApprovalLevelMaxOrderByAggregateInput = {
593
- id?: Prisma.SortOrder
594
- uuid?: Prisma.SortOrder
595
- approval_hierarchy_id?: Prisma.SortOrder
596
- approval_condition_id?: Prisma.SortOrder
597
- level?: Prisma.SortOrder
598
- valid_till_hours?: Prisma.SortOrder
599
- valid_till_minutes?: Prisma.SortOrder
600
- is_active?: Prisma.SortOrder
601
- is_deleted?: Prisma.SortOrder
602
- created_at?: Prisma.SortOrder
603
- created_by?: Prisma.SortOrder
604
- updated_at?: Prisma.SortOrder
605
- updated_by?: Prisma.SortOrder
606
- deleted_at?: Prisma.SortOrder
607
- deleted_by?: Prisma.SortOrder
608
- }
609
-
610
- export type ApprovalLevelMinOrderByAggregateInput = {
611
- id?: Prisma.SortOrder
612
- uuid?: Prisma.SortOrder
613
- approval_hierarchy_id?: Prisma.SortOrder
614
- approval_condition_id?: Prisma.SortOrder
615
- level?: Prisma.SortOrder
616
- valid_till_hours?: Prisma.SortOrder
617
- valid_till_minutes?: Prisma.SortOrder
618
- is_active?: Prisma.SortOrder
619
- is_deleted?: Prisma.SortOrder
620
- created_at?: Prisma.SortOrder
621
- created_by?: Prisma.SortOrder
622
- updated_at?: Prisma.SortOrder
623
- updated_by?: Prisma.SortOrder
624
- deleted_at?: Prisma.SortOrder
625
- deleted_by?: Prisma.SortOrder
626
- }
627
-
628
- export type ApprovalLevelSumOrderByAggregateInput = {
629
- id?: Prisma.SortOrder
630
- approval_hierarchy_id?: Prisma.SortOrder
631
- approval_condition_id?: Prisma.SortOrder
632
- valid_till_hours?: Prisma.SortOrder
633
- valid_till_minutes?: Prisma.SortOrder
634
- created_by?: Prisma.SortOrder
635
- updated_by?: Prisma.SortOrder
636
- deleted_by?: Prisma.SortOrder
637
- }
638
-
639
- export type ApprovalLevelNullableScalarRelationFilter = {
640
- is?: Prisma.ApprovalLevelWhereInput | null
641
- isNot?: Prisma.ApprovalLevelWhereInput | null
642
- }
643
-
644
- export type ApprovalLevelCreateNestedManyWithoutApproval_hierarchyInput = {
645
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput> | Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput[]
646
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput[]
647
- createMany?: Prisma.ApprovalLevelCreateManyApproval_hierarchyInputEnvelope
648
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
649
- }
650
-
651
- export type ApprovalLevelUncheckedCreateNestedManyWithoutApproval_hierarchyInput = {
652
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput> | Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput[]
653
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput[]
654
- createMany?: Prisma.ApprovalLevelCreateManyApproval_hierarchyInputEnvelope
655
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
656
- }
657
-
658
- export type ApprovalLevelUpdateManyWithoutApproval_hierarchyNestedInput = {
659
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput> | Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput[]
660
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput[]
661
- upsert?: Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_hierarchyInput[]
662
- createMany?: Prisma.ApprovalLevelCreateManyApproval_hierarchyInputEnvelope
663
- set?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
664
- disconnect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
665
- delete?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
666
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
667
- update?: Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_hierarchyInput[]
668
- updateMany?: Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_hierarchyInput[]
669
- deleteMany?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
670
- }
671
-
672
- export type ApprovalLevelUncheckedUpdateManyWithoutApproval_hierarchyNestedInput = {
673
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput> | Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput[]
674
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput[]
675
- upsert?: Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_hierarchyInput[]
676
- createMany?: Prisma.ApprovalLevelCreateManyApproval_hierarchyInputEnvelope
677
- set?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
678
- disconnect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
679
- delete?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
680
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
681
- update?: Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_hierarchyInput[]
682
- updateMany?: Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_hierarchyInput | Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_hierarchyInput[]
683
- deleteMany?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
684
- }
685
-
686
- export type ApprovalLevelCreateNestedManyWithoutApproval_conditionInput = {
687
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput> | Prisma.ApprovalLevelCreateWithoutApproval_conditionInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput[]
688
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput[]
689
- createMany?: Prisma.ApprovalLevelCreateManyApproval_conditionInputEnvelope
690
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
691
- }
692
-
693
- export type ApprovalLevelUncheckedCreateNestedManyWithoutApproval_conditionInput = {
694
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput> | Prisma.ApprovalLevelCreateWithoutApproval_conditionInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput[]
695
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput[]
696
- createMany?: Prisma.ApprovalLevelCreateManyApproval_conditionInputEnvelope
697
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
698
- }
699
-
700
- export type ApprovalLevelUpdateManyWithoutApproval_conditionNestedInput = {
701
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput> | Prisma.ApprovalLevelCreateWithoutApproval_conditionInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput[]
702
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput[]
703
- upsert?: Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_conditionInput | Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_conditionInput[]
704
- createMany?: Prisma.ApprovalLevelCreateManyApproval_conditionInputEnvelope
705
- set?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
706
- disconnect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
707
- delete?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
708
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
709
- update?: Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_conditionInput | Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_conditionInput[]
710
- updateMany?: Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_conditionInput | Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_conditionInput[]
711
- deleteMany?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
712
- }
713
-
714
- export type ApprovalLevelUncheckedUpdateManyWithoutApproval_conditionNestedInput = {
715
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput> | Prisma.ApprovalLevelCreateWithoutApproval_conditionInput[] | Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput[]
716
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput | Prisma.ApprovalLevelCreateOrConnectWithoutApproval_conditionInput[]
717
- upsert?: Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_conditionInput | Prisma.ApprovalLevelUpsertWithWhereUniqueWithoutApproval_conditionInput[]
718
- createMany?: Prisma.ApprovalLevelCreateManyApproval_conditionInputEnvelope
719
- set?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
720
- disconnect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
721
- delete?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
722
- connect?: Prisma.ApprovalLevelWhereUniqueInput | Prisma.ApprovalLevelWhereUniqueInput[]
723
- update?: Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_conditionInput | Prisma.ApprovalLevelUpdateWithWhereUniqueWithoutApproval_conditionInput[]
724
- updateMany?: Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_conditionInput | Prisma.ApprovalLevelUpdateManyWithWhereWithoutApproval_conditionInput[]
725
- deleteMany?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
726
- }
727
-
728
- export type ApprovalLevelCreateNestedOneWithoutApproval_level_usersInput = {
729
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_usersInput>
730
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_level_usersInput
731
- connect?: Prisma.ApprovalLevelWhereUniqueInput
732
- }
733
-
734
- export type ApprovalLevelUpdateOneWithoutApproval_level_usersNestedInput = {
735
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_usersInput>
736
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_level_usersInput
737
- upsert?: Prisma.ApprovalLevelUpsertWithoutApproval_level_usersInput
738
- disconnect?: Prisma.ApprovalLevelWhereInput | boolean
739
- delete?: Prisma.ApprovalLevelWhereInput | boolean
740
- connect?: Prisma.ApprovalLevelWhereUniqueInput
741
- update?: Prisma.XOR<Prisma.XOR<Prisma.ApprovalLevelUpdateToOneWithWhereWithoutApproval_level_usersInput, Prisma.ApprovalLevelUpdateWithoutApproval_level_usersInput>, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_usersInput>
742
- }
743
-
744
- export type ApprovalLevelCreateNestedOneWithoutApproval_level_escalationInput = {
745
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_escalationInput>
746
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_level_escalationInput
747
- connect?: Prisma.ApprovalLevelWhereUniqueInput
748
- }
749
-
750
- export type ApprovalLevelUpdateOneWithoutApproval_level_escalationNestedInput = {
751
- create?: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_escalationInput>
752
- connectOrCreate?: Prisma.ApprovalLevelCreateOrConnectWithoutApproval_level_escalationInput
753
- upsert?: Prisma.ApprovalLevelUpsertWithoutApproval_level_escalationInput
754
- disconnect?: Prisma.ApprovalLevelWhereInput | boolean
755
- delete?: Prisma.ApprovalLevelWhereInput | boolean
756
- connect?: Prisma.ApprovalLevelWhereUniqueInput
757
- update?: Prisma.XOR<Prisma.XOR<Prisma.ApprovalLevelUpdateToOneWithWhereWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUpdateWithoutApproval_level_escalationInput>, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_escalationInput>
758
- }
759
-
760
- export type ApprovalLevelCreateWithoutApproval_hierarchyInput = {
761
- uuid?: string | null
762
- level?: string | null
763
- valid_till_hours?: number | null
764
- valid_till_minutes?: number | null
765
- is_active?: boolean
766
- is_deleted?: boolean
767
- created_at?: Date | string
768
- created_by?: number | null
769
- updated_at?: Date | string | null
770
- updated_by?: number | null
771
- deleted_at?: Date | string | null
772
- deleted_by?: number | null
773
- approval_condition?: Prisma.ApprovalConditionCreateNestedOneWithoutApproval_levelInput
774
- approval_level_escalation?: Prisma.ApprovalLevelEscalationCreateNestedManyWithoutApproval_levelInput
775
- approval_level_users?: Prisma.ApprovalLevelUserCreateNestedManyWithoutApproval_levelInput
776
- }
777
-
778
- export type ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput = {
779
- id?: number
780
- uuid?: string | null
781
- approval_condition_id?: number | null
782
- level?: string | null
783
- valid_till_hours?: number | null
784
- valid_till_minutes?: number | null
785
- is_active?: boolean
786
- is_deleted?: boolean
787
- created_at?: Date | string
788
- created_by?: number | null
789
- updated_at?: Date | string | null
790
- updated_by?: number | null
791
- deleted_at?: Date | string | null
792
- deleted_by?: number | null
793
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedCreateNestedManyWithoutApproval_levelInput
794
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedCreateNestedManyWithoutApproval_levelInput
795
- }
796
-
797
- export type ApprovalLevelCreateOrConnectWithoutApproval_hierarchyInput = {
798
- where: Prisma.ApprovalLevelWhereUniqueInput
799
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput>
800
- }
801
-
802
- export type ApprovalLevelCreateManyApproval_hierarchyInputEnvelope = {
803
- data: Prisma.ApprovalLevelCreateManyApproval_hierarchyInput | Prisma.ApprovalLevelCreateManyApproval_hierarchyInput[]
804
- skipDuplicates?: boolean
805
- }
806
-
807
- export type ApprovalLevelUpsertWithWhereUniqueWithoutApproval_hierarchyInput = {
808
- where: Prisma.ApprovalLevelWhereUniqueInput
809
- update: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_hierarchyInput>
810
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_hierarchyInput>
811
- }
812
-
813
- export type ApprovalLevelUpdateWithWhereUniqueWithoutApproval_hierarchyInput = {
814
- where: Prisma.ApprovalLevelWhereUniqueInput
815
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_hierarchyInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_hierarchyInput>
816
- }
817
-
818
- export type ApprovalLevelUpdateManyWithWhereWithoutApproval_hierarchyInput = {
819
- where: Prisma.ApprovalLevelScalarWhereInput
820
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateManyMutationInput, Prisma.ApprovalLevelUncheckedUpdateManyWithoutApproval_hierarchyInput>
821
- }
822
-
823
- export type ApprovalLevelScalarWhereInput = {
824
- AND?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
825
- OR?: Prisma.ApprovalLevelScalarWhereInput[]
826
- NOT?: Prisma.ApprovalLevelScalarWhereInput | Prisma.ApprovalLevelScalarWhereInput[]
827
- id?: Prisma.IntFilter<"ApprovalLevel"> | number
828
- uuid?: Prisma.StringNullableFilter<"ApprovalLevel"> | string | null
829
- approval_hierarchy_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
830
- approval_condition_id?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
831
- level?: Prisma.StringNullableFilter<"ApprovalLevel"> | string | null
832
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
833
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
834
- is_active?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
835
- is_deleted?: Prisma.BoolFilter<"ApprovalLevel"> | boolean
836
- created_at?: Prisma.DateTimeFilter<"ApprovalLevel"> | Date | string
837
- created_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
838
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
839
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
840
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevel"> | Date | string | null
841
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevel"> | number | null
842
- }
843
-
844
- export type ApprovalLevelCreateWithoutApproval_conditionInput = {
845
- uuid?: string | null
846
- level?: string | null
847
- valid_till_hours?: number | null
848
- valid_till_minutes?: number | null
849
- is_active?: boolean
850
- is_deleted?: boolean
851
- created_at?: Date | string
852
- created_by?: number | null
853
- updated_at?: Date | string | null
854
- updated_by?: number | null
855
- deleted_at?: Date | string | null
856
- deleted_by?: number | null
857
- approval_hierarchy?: Prisma.ApprovalHierarchyCreateNestedOneWithoutApproval_levelInput
858
- approval_level_escalation?: Prisma.ApprovalLevelEscalationCreateNestedManyWithoutApproval_levelInput
859
- approval_level_users?: Prisma.ApprovalLevelUserCreateNestedManyWithoutApproval_levelInput
860
- }
861
-
862
- export type ApprovalLevelUncheckedCreateWithoutApproval_conditionInput = {
863
- id?: number
864
- uuid?: string | null
865
- approval_hierarchy_id?: number | null
866
- level?: string | null
867
- valid_till_hours?: number | null
868
- valid_till_minutes?: number | null
869
- is_active?: boolean
870
- is_deleted?: boolean
871
- created_at?: Date | string
872
- created_by?: number | null
873
- updated_at?: Date | string | null
874
- updated_by?: number | null
875
- deleted_at?: Date | string | null
876
- deleted_by?: number | null
877
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedCreateNestedManyWithoutApproval_levelInput
878
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedCreateNestedManyWithoutApproval_levelInput
879
- }
880
-
881
- export type ApprovalLevelCreateOrConnectWithoutApproval_conditionInput = {
882
- where: Prisma.ApprovalLevelWhereUniqueInput
883
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput>
884
- }
885
-
886
- export type ApprovalLevelCreateManyApproval_conditionInputEnvelope = {
887
- data: Prisma.ApprovalLevelCreateManyApproval_conditionInput | Prisma.ApprovalLevelCreateManyApproval_conditionInput[]
888
- skipDuplicates?: boolean
889
- }
890
-
891
- export type ApprovalLevelUpsertWithWhereUniqueWithoutApproval_conditionInput = {
892
- where: Prisma.ApprovalLevelWhereUniqueInput
893
- update: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_conditionInput>
894
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_conditionInput>
895
- }
896
-
897
- export type ApprovalLevelUpdateWithWhereUniqueWithoutApproval_conditionInput = {
898
- where: Prisma.ApprovalLevelWhereUniqueInput
899
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_conditionInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_conditionInput>
900
- }
901
-
902
- export type ApprovalLevelUpdateManyWithWhereWithoutApproval_conditionInput = {
903
- where: Prisma.ApprovalLevelScalarWhereInput
904
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateManyMutationInput, Prisma.ApprovalLevelUncheckedUpdateManyWithoutApproval_conditionInput>
905
- }
906
-
907
- export type ApprovalLevelCreateWithoutApproval_level_usersInput = {
908
- uuid?: string | null
909
- level?: string | null
910
- valid_till_hours?: number | null
911
- valid_till_minutes?: number | null
912
- is_active?: boolean
913
- is_deleted?: boolean
914
- created_at?: Date | string
915
- created_by?: number | null
916
- updated_at?: Date | string | null
917
- updated_by?: number | null
918
- deleted_at?: Date | string | null
919
- deleted_by?: number | null
920
- approval_hierarchy?: Prisma.ApprovalHierarchyCreateNestedOneWithoutApproval_levelInput
921
- approval_condition?: Prisma.ApprovalConditionCreateNestedOneWithoutApproval_levelInput
922
- approval_level_escalation?: Prisma.ApprovalLevelEscalationCreateNestedManyWithoutApproval_levelInput
923
- }
924
-
925
- export type ApprovalLevelUncheckedCreateWithoutApproval_level_usersInput = {
926
- id?: number
927
- uuid?: string | null
928
- approval_hierarchy_id?: number | null
929
- approval_condition_id?: number | null
930
- level?: string | null
931
- valid_till_hours?: number | null
932
- valid_till_minutes?: number | null
933
- is_active?: boolean
934
- is_deleted?: boolean
935
- created_at?: Date | string
936
- created_by?: number | null
937
- updated_at?: Date | string | null
938
- updated_by?: number | null
939
- deleted_at?: Date | string | null
940
- deleted_by?: number | null
941
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedCreateNestedManyWithoutApproval_levelInput
942
- }
943
-
944
- export type ApprovalLevelCreateOrConnectWithoutApproval_level_usersInput = {
945
- where: Prisma.ApprovalLevelWhereUniqueInput
946
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_usersInput>
947
- }
948
-
949
- export type ApprovalLevelUpsertWithoutApproval_level_usersInput = {
950
- update: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_usersInput>
951
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_usersInput>
952
- where?: Prisma.ApprovalLevelWhereInput
953
- }
954
-
955
- export type ApprovalLevelUpdateToOneWithWhereWithoutApproval_level_usersInput = {
956
- where?: Prisma.ApprovalLevelWhereInput
957
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_level_usersInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_usersInput>
958
- }
959
-
960
- export type ApprovalLevelUpdateWithoutApproval_level_usersInput = {
961
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
962
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
963
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
964
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
965
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
966
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
967
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
968
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
969
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
970
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
971
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
972
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
973
- approval_hierarchy?: Prisma.ApprovalHierarchyUpdateOneWithoutApproval_levelNestedInput
974
- approval_condition?: Prisma.ApprovalConditionUpdateOneWithoutApproval_levelNestedInput
975
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUpdateManyWithoutApproval_levelNestedInput
976
- }
977
-
978
- export type ApprovalLevelUncheckedUpdateWithoutApproval_level_usersInput = {
979
- id?: Prisma.IntFieldUpdateOperationsInput | number
980
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
981
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
982
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
983
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
984
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
985
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
986
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
987
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
988
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
989
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
990
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
991
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
992
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
993
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
994
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelNestedInput
995
- }
996
-
997
- export type ApprovalLevelCreateWithoutApproval_level_escalationInput = {
998
- uuid?: string | null
999
- level?: string | null
1000
- valid_till_hours?: number | null
1001
- valid_till_minutes?: number | null
1002
- is_active?: boolean
1003
- is_deleted?: boolean
1004
- created_at?: Date | string
1005
- created_by?: number | null
1006
- updated_at?: Date | string | null
1007
- updated_by?: number | null
1008
- deleted_at?: Date | string | null
1009
- deleted_by?: number | null
1010
- approval_hierarchy?: Prisma.ApprovalHierarchyCreateNestedOneWithoutApproval_levelInput
1011
- approval_condition?: Prisma.ApprovalConditionCreateNestedOneWithoutApproval_levelInput
1012
- approval_level_users?: Prisma.ApprovalLevelUserCreateNestedManyWithoutApproval_levelInput
1013
- }
1014
-
1015
- export type ApprovalLevelUncheckedCreateWithoutApproval_level_escalationInput = {
1016
- id?: number
1017
- uuid?: string | null
1018
- approval_hierarchy_id?: number | null
1019
- approval_condition_id?: number | null
1020
- level?: string | null
1021
- valid_till_hours?: number | null
1022
- valid_till_minutes?: number | null
1023
- is_active?: boolean
1024
- is_deleted?: boolean
1025
- created_at?: Date | string
1026
- created_by?: number | null
1027
- updated_at?: Date | string | null
1028
- updated_by?: number | null
1029
- deleted_at?: Date | string | null
1030
- deleted_by?: number | null
1031
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedCreateNestedManyWithoutApproval_levelInput
1032
- }
1033
-
1034
- export type ApprovalLevelCreateOrConnectWithoutApproval_level_escalationInput = {
1035
- where: Prisma.ApprovalLevelWhereUniqueInput
1036
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_escalationInput>
1037
- }
1038
-
1039
- export type ApprovalLevelUpsertWithoutApproval_level_escalationInput = {
1040
- update: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_escalationInput>
1041
- create: Prisma.XOR<Prisma.ApprovalLevelCreateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedCreateWithoutApproval_level_escalationInput>
1042
- where?: Prisma.ApprovalLevelWhereInput
1043
- }
1044
-
1045
- export type ApprovalLevelUpdateToOneWithWhereWithoutApproval_level_escalationInput = {
1046
- where?: Prisma.ApprovalLevelWhereInput
1047
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateWithoutApproval_level_escalationInput, Prisma.ApprovalLevelUncheckedUpdateWithoutApproval_level_escalationInput>
1048
- }
1049
-
1050
- export type ApprovalLevelUpdateWithoutApproval_level_escalationInput = {
1051
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1052
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1054
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1055
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1056
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1057
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1058
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1059
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1060
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1061
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1062
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1063
- approval_hierarchy?: Prisma.ApprovalHierarchyUpdateOneWithoutApproval_levelNestedInput
1064
- approval_condition?: Prisma.ApprovalConditionUpdateOneWithoutApproval_levelNestedInput
1065
- approval_level_users?: Prisma.ApprovalLevelUserUpdateManyWithoutApproval_levelNestedInput
1066
- }
1067
-
1068
- export type ApprovalLevelUncheckedUpdateWithoutApproval_level_escalationInput = {
1069
- id?: Prisma.IntFieldUpdateOperationsInput | number
1070
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1071
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1072
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1073
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1074
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1075
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1076
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1077
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1078
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1079
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1080
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1081
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1082
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1083
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1084
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedUpdateManyWithoutApproval_levelNestedInput
1085
- }
1086
-
1087
- export type ApprovalLevelCreateManyApproval_hierarchyInput = {
1088
- id?: number
1089
- uuid?: string | null
1090
- approval_condition_id?: number | null
1091
- level?: string | null
1092
- valid_till_hours?: number | null
1093
- valid_till_minutes?: number | null
1094
- is_active?: boolean
1095
- is_deleted?: boolean
1096
- created_at?: Date | string
1097
- created_by?: number | null
1098
- updated_at?: Date | string | null
1099
- updated_by?: number | null
1100
- deleted_at?: Date | string | null
1101
- deleted_by?: number | null
1102
- }
1103
-
1104
- export type ApprovalLevelUpdateWithoutApproval_hierarchyInput = {
1105
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1106
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1107
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1108
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1109
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1110
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1111
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1112
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1113
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1114
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1115
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1116
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1117
- approval_condition?: Prisma.ApprovalConditionUpdateOneWithoutApproval_levelNestedInput
1118
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUpdateManyWithoutApproval_levelNestedInput
1119
- approval_level_users?: Prisma.ApprovalLevelUserUpdateManyWithoutApproval_levelNestedInput
1120
- }
1121
-
1122
- export type ApprovalLevelUncheckedUpdateWithoutApproval_hierarchyInput = {
1123
- id?: Prisma.IntFieldUpdateOperationsInput | number
1124
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1125
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1126
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1128
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1129
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1130
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1131
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1132
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1133
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1134
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1135
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1136
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1137
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelNestedInput
1138
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedUpdateManyWithoutApproval_levelNestedInput
1139
- }
1140
-
1141
- export type ApprovalLevelUncheckedUpdateManyWithoutApproval_hierarchyInput = {
1142
- id?: Prisma.IntFieldUpdateOperationsInput | number
1143
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1144
- approval_condition_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1145
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1146
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1147
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1148
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1149
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1150
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1151
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1152
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1153
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1154
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1155
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1156
- }
1157
-
1158
- export type ApprovalLevelCreateManyApproval_conditionInput = {
1159
- id?: number
1160
- uuid?: string | null
1161
- approval_hierarchy_id?: number | null
1162
- level?: string | null
1163
- valid_till_hours?: number | null
1164
- valid_till_minutes?: number | null
1165
- is_active?: boolean
1166
- is_deleted?: boolean
1167
- created_at?: Date | string
1168
- created_by?: number | null
1169
- updated_at?: Date | string | null
1170
- updated_by?: number | null
1171
- deleted_at?: Date | string | null
1172
- deleted_by?: number | null
1173
- }
1174
-
1175
- export type ApprovalLevelUpdateWithoutApproval_conditionInput = {
1176
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1177
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1178
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1179
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1180
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1181
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1182
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1183
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1184
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1185
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1186
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1187
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1188
- approval_hierarchy?: Prisma.ApprovalHierarchyUpdateOneWithoutApproval_levelNestedInput
1189
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUpdateManyWithoutApproval_levelNestedInput
1190
- approval_level_users?: Prisma.ApprovalLevelUserUpdateManyWithoutApproval_levelNestedInput
1191
- }
1192
-
1193
- export type ApprovalLevelUncheckedUpdateWithoutApproval_conditionInput = {
1194
- id?: Prisma.IntFieldUpdateOperationsInput | number
1195
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1196
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1197
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1198
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1199
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1200
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1201
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1202
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1203
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1204
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1205
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1206
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1207
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1208
- approval_level_escalation?: Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelNestedInput
1209
- approval_level_users?: Prisma.ApprovalLevelUserUncheckedUpdateManyWithoutApproval_levelNestedInput
1210
- }
1211
-
1212
- export type ApprovalLevelUncheckedUpdateManyWithoutApproval_conditionInput = {
1213
- id?: Prisma.IntFieldUpdateOperationsInput | number
1214
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1215
- approval_hierarchy_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1216
- level?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1217
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1218
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1219
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1220
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1221
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1222
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1223
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1224
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1225
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1226
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1227
- }
1228
-
1229
-
1230
- /**
1231
- * Count Type ApprovalLevelCountOutputType
1232
- */
1233
-
1234
- export type ApprovalLevelCountOutputType = {
1235
- approval_level_escalation: number
1236
- approval_level_users: number
1237
- }
1238
-
1239
- export type ApprovalLevelCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
- approval_level_escalation?: boolean | ApprovalLevelCountOutputTypeCountApproval_level_escalationArgs
1241
- approval_level_users?: boolean | ApprovalLevelCountOutputTypeCountApproval_level_usersArgs
1242
- }
1243
-
1244
- /**
1245
- * ApprovalLevelCountOutputType without action
1246
- */
1247
- export type ApprovalLevelCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
- /**
1249
- * Select specific fields to fetch from the ApprovalLevelCountOutputType
1250
- */
1251
- select?: Prisma.ApprovalLevelCountOutputTypeSelect<ExtArgs> | null
1252
- }
1253
-
1254
- /**
1255
- * ApprovalLevelCountOutputType without action
1256
- */
1257
- export type ApprovalLevelCountOutputTypeCountApproval_level_escalationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1258
- where?: Prisma.ApprovalLevelEscalationWhereInput
1259
- }
1260
-
1261
- /**
1262
- * ApprovalLevelCountOutputType without action
1263
- */
1264
- export type ApprovalLevelCountOutputTypeCountApproval_level_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1265
- where?: Prisma.ApprovalLevelUserWhereInput
1266
- }
1267
-
1268
-
1269
- export type ApprovalLevelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1270
- id?: boolean
1271
- uuid?: boolean
1272
- approval_hierarchy_id?: boolean
1273
- approval_condition_id?: boolean
1274
- level?: boolean
1275
- valid_till_hours?: boolean
1276
- valid_till_minutes?: boolean
1277
- is_active?: boolean
1278
- is_deleted?: boolean
1279
- created_at?: boolean
1280
- created_by?: boolean
1281
- updated_at?: boolean
1282
- updated_by?: boolean
1283
- deleted_at?: boolean
1284
- deleted_by?: boolean
1285
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1286
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1287
- approval_level_escalation?: boolean | Prisma.ApprovalLevel$approval_level_escalationArgs<ExtArgs>
1288
- approval_level_users?: boolean | Prisma.ApprovalLevel$approval_level_usersArgs<ExtArgs>
1289
- _count?: boolean | Prisma.ApprovalLevelCountOutputTypeDefaultArgs<ExtArgs>
1290
- }, ExtArgs["result"]["approvalLevel"]>
1291
-
1292
- export type ApprovalLevelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1293
- id?: boolean
1294
- uuid?: boolean
1295
- approval_hierarchy_id?: boolean
1296
- approval_condition_id?: boolean
1297
- level?: boolean
1298
- valid_till_hours?: boolean
1299
- valid_till_minutes?: boolean
1300
- is_active?: boolean
1301
- is_deleted?: boolean
1302
- created_at?: boolean
1303
- created_by?: boolean
1304
- updated_at?: boolean
1305
- updated_by?: boolean
1306
- deleted_at?: boolean
1307
- deleted_by?: boolean
1308
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1309
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1310
- }, ExtArgs["result"]["approvalLevel"]>
1311
-
1312
- export type ApprovalLevelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1313
- id?: boolean
1314
- uuid?: boolean
1315
- approval_hierarchy_id?: boolean
1316
- approval_condition_id?: boolean
1317
- level?: boolean
1318
- valid_till_hours?: boolean
1319
- valid_till_minutes?: boolean
1320
- is_active?: boolean
1321
- is_deleted?: boolean
1322
- created_at?: boolean
1323
- created_by?: boolean
1324
- updated_at?: boolean
1325
- updated_by?: boolean
1326
- deleted_at?: boolean
1327
- deleted_by?: boolean
1328
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1329
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1330
- }, ExtArgs["result"]["approvalLevel"]>
1331
-
1332
- export type ApprovalLevelSelectScalar = {
1333
- id?: boolean
1334
- uuid?: boolean
1335
- approval_hierarchy_id?: boolean
1336
- approval_condition_id?: boolean
1337
- level?: boolean
1338
- valid_till_hours?: boolean
1339
- valid_till_minutes?: boolean
1340
- is_active?: boolean
1341
- is_deleted?: boolean
1342
- created_at?: boolean
1343
- created_by?: boolean
1344
- updated_at?: boolean
1345
- updated_by?: boolean
1346
- deleted_at?: boolean
1347
- deleted_by?: boolean
1348
- }
1349
-
1350
- export type ApprovalLevelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "approval_hierarchy_id" | "approval_condition_id" | "level" | "valid_till_hours" | "valid_till_minutes" | "is_active" | "is_deleted" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["approvalLevel"]>
1351
- export type ApprovalLevelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1352
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1353
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1354
- approval_level_escalation?: boolean | Prisma.ApprovalLevel$approval_level_escalationArgs<ExtArgs>
1355
- approval_level_users?: boolean | Prisma.ApprovalLevel$approval_level_usersArgs<ExtArgs>
1356
- _count?: boolean | Prisma.ApprovalLevelCountOutputTypeDefaultArgs<ExtArgs>
1357
- }
1358
- export type ApprovalLevelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1360
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1361
- }
1362
- export type ApprovalLevelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1363
- approval_hierarchy?: boolean | Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>
1364
- approval_condition?: boolean | Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>
1365
- }
1366
-
1367
- export type $ApprovalLevelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1368
- name: "ApprovalLevel"
1369
- objects: {
1370
- approval_hierarchy: Prisma.$ApprovalHierarchyPayload<ExtArgs> | null
1371
- approval_condition: Prisma.$ApprovalConditionPayload<ExtArgs> | null
1372
- approval_level_escalation: Prisma.$ApprovalLevelEscalationPayload<ExtArgs>[]
1373
- approval_level_users: Prisma.$ApprovalLevelUserPayload<ExtArgs>[]
1374
- }
1375
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1376
- id: number
1377
- uuid: string | null
1378
- approval_hierarchy_id: number | null
1379
- approval_condition_id: number | null
1380
- level: string | null
1381
- valid_till_hours: number | null
1382
- valid_till_minutes: number | null
1383
- is_active: boolean
1384
- is_deleted: boolean
1385
- created_at: Date
1386
- created_by: number | null
1387
- updated_at: Date | null
1388
- updated_by: number | null
1389
- deleted_at: Date | null
1390
- deleted_by: number | null
1391
- }, ExtArgs["result"]["approvalLevel"]>
1392
- composites: {}
1393
- }
1394
-
1395
- export type ApprovalLevelGetPayload<S extends boolean | null | undefined | ApprovalLevelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload, S>
1396
-
1397
- export type ApprovalLevelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1398
- Omit<ApprovalLevelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1399
- select?: ApprovalLevelCountAggregateInputType | true
1400
- }
1401
-
1402
- export interface ApprovalLevelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1403
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalLevel'], meta: { name: 'ApprovalLevel' } }
1404
- /**
1405
- * Find zero or one ApprovalLevel that matches the filter.
1406
- * @param {ApprovalLevelFindUniqueArgs} args - Arguments to find a ApprovalLevel
1407
- * @example
1408
- * // Get one ApprovalLevel
1409
- * const approvalLevel = await prisma.approvalLevel.findUnique({
1410
- * where: {
1411
- * // ... provide filter here
1412
- * }
1413
- * })
1414
- */
1415
- findUnique<T extends ApprovalLevelFindUniqueArgs>(args: Prisma.SelectSubset<T, ApprovalLevelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1416
-
1417
- /**
1418
- * Find one ApprovalLevel that matches the filter or throw an error with `error.code='P2025'`
1419
- * if no matches were found.
1420
- * @param {ApprovalLevelFindUniqueOrThrowArgs} args - Arguments to find a ApprovalLevel
1421
- * @example
1422
- * // Get one ApprovalLevel
1423
- * const approvalLevel = await prisma.approvalLevel.findUniqueOrThrow({
1424
- * where: {
1425
- * // ... provide filter here
1426
- * }
1427
- * })
1428
- */
1429
- findUniqueOrThrow<T extends ApprovalLevelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApprovalLevelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1430
-
1431
- /**
1432
- * Find the first ApprovalLevel that matches the filter.
1433
- * Note, that providing `undefined` is treated as the value not being there.
1434
- * Read more here: https://pris.ly/d/null-undefined
1435
- * @param {ApprovalLevelFindFirstArgs} args - Arguments to find a ApprovalLevel
1436
- * @example
1437
- * // Get one ApprovalLevel
1438
- * const approvalLevel = await prisma.approvalLevel.findFirst({
1439
- * where: {
1440
- * // ... provide filter here
1441
- * }
1442
- * })
1443
- */
1444
- findFirst<T extends ApprovalLevelFindFirstArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1445
-
1446
- /**
1447
- * Find the first ApprovalLevel that matches the filter or
1448
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1449
- * Note, that providing `undefined` is treated as the value not being there.
1450
- * Read more here: https://pris.ly/d/null-undefined
1451
- * @param {ApprovalLevelFindFirstOrThrowArgs} args - Arguments to find a ApprovalLevel
1452
- * @example
1453
- * // Get one ApprovalLevel
1454
- * const approvalLevel = await prisma.approvalLevel.findFirstOrThrow({
1455
- * where: {
1456
- * // ... provide filter here
1457
- * }
1458
- * })
1459
- */
1460
- findFirstOrThrow<T extends ApprovalLevelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1461
-
1462
- /**
1463
- * Find zero or more ApprovalLevels that matches the filter.
1464
- * Note, that providing `undefined` is treated as the value not being there.
1465
- * Read more here: https://pris.ly/d/null-undefined
1466
- * @param {ApprovalLevelFindManyArgs} args - Arguments to filter and select certain fields only.
1467
- * @example
1468
- * // Get all ApprovalLevels
1469
- * const approvalLevels = await prisma.approvalLevel.findMany()
1470
- *
1471
- * // Get first 10 ApprovalLevels
1472
- * const approvalLevels = await prisma.approvalLevel.findMany({ take: 10 })
1473
- *
1474
- * // Only select the `id`
1475
- * const approvalLevelWithIdOnly = await prisma.approvalLevel.findMany({ select: { id: true } })
1476
- *
1477
- */
1478
- findMany<T extends ApprovalLevelFindManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1479
-
1480
- /**
1481
- * Create a ApprovalLevel.
1482
- * @param {ApprovalLevelCreateArgs} args - Arguments to create a ApprovalLevel.
1483
- * @example
1484
- * // Create one ApprovalLevel
1485
- * const ApprovalLevel = await prisma.approvalLevel.create({
1486
- * data: {
1487
- * // ... data to create a ApprovalLevel
1488
- * }
1489
- * })
1490
- *
1491
- */
1492
- create<T extends ApprovalLevelCreateArgs>(args: Prisma.SelectSubset<T, ApprovalLevelCreateArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1493
-
1494
- /**
1495
- * Create many ApprovalLevels.
1496
- * @param {ApprovalLevelCreateManyArgs} args - Arguments to create many ApprovalLevels.
1497
- * @example
1498
- * // Create many ApprovalLevels
1499
- * const approvalLevel = await prisma.approvalLevel.createMany({
1500
- * data: [
1501
- * // ... provide data here
1502
- * ]
1503
- * })
1504
- *
1505
- */
1506
- createMany<T extends ApprovalLevelCreateManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1507
-
1508
- /**
1509
- * Create many ApprovalLevels and returns the data saved in the database.
1510
- * @param {ApprovalLevelCreateManyAndReturnArgs} args - Arguments to create many ApprovalLevels.
1511
- * @example
1512
- * // Create many ApprovalLevels
1513
- * const approvalLevel = await prisma.approvalLevel.createManyAndReturn({
1514
- * data: [
1515
- * // ... provide data here
1516
- * ]
1517
- * })
1518
- *
1519
- * // Create many ApprovalLevels and only return the `id`
1520
- * const approvalLevelWithIdOnly = await prisma.approvalLevel.createManyAndReturn({
1521
- * select: { id: true },
1522
- * data: [
1523
- * // ... provide data here
1524
- * ]
1525
- * })
1526
- * Note, that providing `undefined` is treated as the value not being there.
1527
- * Read more here: https://pris.ly/d/null-undefined
1528
- *
1529
- */
1530
- createManyAndReturn<T extends ApprovalLevelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1531
-
1532
- /**
1533
- * Delete a ApprovalLevel.
1534
- * @param {ApprovalLevelDeleteArgs} args - Arguments to delete one ApprovalLevel.
1535
- * @example
1536
- * // Delete one ApprovalLevel
1537
- * const ApprovalLevel = await prisma.approvalLevel.delete({
1538
- * where: {
1539
- * // ... filter to delete one ApprovalLevel
1540
- * }
1541
- * })
1542
- *
1543
- */
1544
- delete<T extends ApprovalLevelDeleteArgs>(args: Prisma.SelectSubset<T, ApprovalLevelDeleteArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1545
-
1546
- /**
1547
- * Update one ApprovalLevel.
1548
- * @param {ApprovalLevelUpdateArgs} args - Arguments to update one ApprovalLevel.
1549
- * @example
1550
- * // Update one ApprovalLevel
1551
- * const approvalLevel = await prisma.approvalLevel.update({
1552
- * where: {
1553
- * // ... provide filter here
1554
- * },
1555
- * data: {
1556
- * // ... provide data here
1557
- * }
1558
- * })
1559
- *
1560
- */
1561
- update<T extends ApprovalLevelUpdateArgs>(args: Prisma.SelectSubset<T, ApprovalLevelUpdateArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1562
-
1563
- /**
1564
- * Delete zero or more ApprovalLevels.
1565
- * @param {ApprovalLevelDeleteManyArgs} args - Arguments to filter ApprovalLevels to delete.
1566
- * @example
1567
- * // Delete a few ApprovalLevels
1568
- * const { count } = await prisma.approvalLevel.deleteMany({
1569
- * where: {
1570
- * // ... provide filter here
1571
- * }
1572
- * })
1573
- *
1574
- */
1575
- deleteMany<T extends ApprovalLevelDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1576
-
1577
- /**
1578
- * Update zero or more ApprovalLevels.
1579
- * Note, that providing `undefined` is treated as the value not being there.
1580
- * Read more here: https://pris.ly/d/null-undefined
1581
- * @param {ApprovalLevelUpdateManyArgs} args - Arguments to update one or more rows.
1582
- * @example
1583
- * // Update many ApprovalLevels
1584
- * const approvalLevel = await prisma.approvalLevel.updateMany({
1585
- * where: {
1586
- * // ... provide filter here
1587
- * },
1588
- * data: {
1589
- * // ... provide data here
1590
- * }
1591
- * })
1592
- *
1593
- */
1594
- updateMany<T extends ApprovalLevelUpdateManyArgs>(args: Prisma.SelectSubset<T, ApprovalLevelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1595
-
1596
- /**
1597
- * Update zero or more ApprovalLevels and returns the data updated in the database.
1598
- * @param {ApprovalLevelUpdateManyAndReturnArgs} args - Arguments to update many ApprovalLevels.
1599
- * @example
1600
- * // Update many ApprovalLevels
1601
- * const approvalLevel = await prisma.approvalLevel.updateManyAndReturn({
1602
- * where: {
1603
- * // ... provide filter here
1604
- * },
1605
- * data: [
1606
- * // ... provide data here
1607
- * ]
1608
- * })
1609
- *
1610
- * // Update zero or more ApprovalLevels and only return the `id`
1611
- * const approvalLevelWithIdOnly = await prisma.approvalLevel.updateManyAndReturn({
1612
- * select: { id: true },
1613
- * where: {
1614
- * // ... provide filter here
1615
- * },
1616
- * data: [
1617
- * // ... provide data here
1618
- * ]
1619
- * })
1620
- * Note, that providing `undefined` is treated as the value not being there.
1621
- * Read more here: https://pris.ly/d/null-undefined
1622
- *
1623
- */
1624
- updateManyAndReturn<T extends ApprovalLevelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApprovalLevelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1625
-
1626
- /**
1627
- * Create or update one ApprovalLevel.
1628
- * @param {ApprovalLevelUpsertArgs} args - Arguments to update or create a ApprovalLevel.
1629
- * @example
1630
- * // Update or create a ApprovalLevel
1631
- * const approvalLevel = await prisma.approvalLevel.upsert({
1632
- * create: {
1633
- * // ... data to create a ApprovalLevel
1634
- * },
1635
- * update: {
1636
- * // ... in case it already exists, update
1637
- * },
1638
- * where: {
1639
- * // ... the filter for the ApprovalLevel we want to update
1640
- * }
1641
- * })
1642
- */
1643
- upsert<T extends ApprovalLevelUpsertArgs>(args: Prisma.SelectSubset<T, ApprovalLevelUpsertArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1644
-
1645
-
1646
- /**
1647
- * Count the number of ApprovalLevels.
1648
- * Note, that providing `undefined` is treated as the value not being there.
1649
- * Read more here: https://pris.ly/d/null-undefined
1650
- * @param {ApprovalLevelCountArgs} args - Arguments to filter ApprovalLevels to count.
1651
- * @example
1652
- * // Count the number of ApprovalLevels
1653
- * const count = await prisma.approvalLevel.count({
1654
- * where: {
1655
- * // ... the filter for the ApprovalLevels we want to count
1656
- * }
1657
- * })
1658
- **/
1659
- count<T extends ApprovalLevelCountArgs>(
1660
- args?: Prisma.Subset<T, ApprovalLevelCountArgs>,
1661
- ): Prisma.PrismaPromise<
1662
- T extends runtime.Types.Utils.Record<'select', any>
1663
- ? T['select'] extends true
1664
- ? number
1665
- : Prisma.GetScalarType<T['select'], ApprovalLevelCountAggregateOutputType>
1666
- : number
1667
- >
1668
-
1669
- /**
1670
- * Allows you to perform aggregations operations on a ApprovalLevel.
1671
- * Note, that providing `undefined` is treated as the value not being there.
1672
- * Read more here: https://pris.ly/d/null-undefined
1673
- * @param {ApprovalLevelAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1674
- * @example
1675
- * // Ordered by age ascending
1676
- * // Where email contains prisma.io
1677
- * // Limited to the 10 users
1678
- * const aggregations = await prisma.user.aggregate({
1679
- * _avg: {
1680
- * age: true,
1681
- * },
1682
- * where: {
1683
- * email: {
1684
- * contains: "prisma.io",
1685
- * },
1686
- * },
1687
- * orderBy: {
1688
- * age: "asc",
1689
- * },
1690
- * take: 10,
1691
- * })
1692
- **/
1693
- aggregate<T extends ApprovalLevelAggregateArgs>(args: Prisma.Subset<T, ApprovalLevelAggregateArgs>): Prisma.PrismaPromise<GetApprovalLevelAggregateType<T>>
1694
-
1695
- /**
1696
- * Group by ApprovalLevel.
1697
- * Note, that providing `undefined` is treated as the value not being there.
1698
- * Read more here: https://pris.ly/d/null-undefined
1699
- * @param {ApprovalLevelGroupByArgs} args - Group by arguments.
1700
- * @example
1701
- * // Group by city, order by createdAt, get count
1702
- * const result = await prisma.user.groupBy({
1703
- * by: ['city', 'createdAt'],
1704
- * orderBy: {
1705
- * createdAt: true
1706
- * },
1707
- * _count: {
1708
- * _all: true
1709
- * },
1710
- * })
1711
- *
1712
- **/
1713
- groupBy<
1714
- T extends ApprovalLevelGroupByArgs,
1715
- HasSelectOrTake extends Prisma.Or<
1716
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1717
- Prisma.Extends<'take', Prisma.Keys<T>>
1718
- >,
1719
- OrderByArg extends Prisma.True extends HasSelectOrTake
1720
- ? { orderBy: ApprovalLevelGroupByArgs['orderBy'] }
1721
- : { orderBy?: ApprovalLevelGroupByArgs['orderBy'] },
1722
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1723
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1724
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1725
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1726
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1727
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1728
- InputErrors extends ByEmpty extends Prisma.True
1729
- ? `Error: "by" must not be empty.`
1730
- : HavingValid extends Prisma.False
1731
- ? {
1732
- [P in HavingFields]: P extends ByFields
1733
- ? never
1734
- : P extends string
1735
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1736
- : [
1737
- Error,
1738
- 'Field ',
1739
- P,
1740
- ` in "having" needs to be provided in "by"`,
1741
- ]
1742
- }[HavingFields]
1743
- : 'take' extends Prisma.Keys<T>
1744
- ? 'orderBy' extends Prisma.Keys<T>
1745
- ? ByValid extends Prisma.True
1746
- ? {}
1747
- : {
1748
- [P in OrderFields]: P extends ByFields
1749
- ? never
1750
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1751
- }[OrderFields]
1752
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1753
- : 'skip' extends Prisma.Keys<T>
1754
- ? 'orderBy' extends Prisma.Keys<T>
1755
- ? ByValid extends Prisma.True
1756
- ? {}
1757
- : {
1758
- [P in OrderFields]: P extends ByFields
1759
- ? never
1760
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1761
- }[OrderFields]
1762
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1763
- : ByValid extends Prisma.True
1764
- ? {}
1765
- : {
1766
- [P in OrderFields]: P extends ByFields
1767
- ? never
1768
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1769
- }[OrderFields]
1770
- >(args: Prisma.SubsetIntersection<T, ApprovalLevelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalLevelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1771
- /**
1772
- * Fields of the ApprovalLevel model
1773
- */
1774
- readonly fields: ApprovalLevelFieldRefs;
1775
- }
1776
-
1777
- /**
1778
- * The delegate class that acts as a "Promise-like" for ApprovalLevel.
1779
- * Why is this prefixed with `Prisma__`?
1780
- * Because we want to prevent naming conflicts as mentioned in
1781
- * https://github.com/prisma/prisma-client-js/issues/707
1782
- */
1783
- export interface Prisma__ApprovalLevelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1784
- readonly [Symbol.toStringTag]: "PrismaPromise"
1785
- approval_hierarchy<T extends Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevel$approval_hierarchyArgs<ExtArgs>>): Prisma.Prisma__ApprovalHierarchyClient<runtime.Types.Result.GetResult<Prisma.$ApprovalHierarchyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1786
- approval_condition<T extends Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevel$approval_conditionArgs<ExtArgs>>): Prisma.Prisma__ApprovalConditionClient<runtime.Types.Result.GetResult<Prisma.$ApprovalConditionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1787
- approval_level_escalation<T extends Prisma.ApprovalLevel$approval_level_escalationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevel$approval_level_escalationArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1788
- approval_level_users<T extends Prisma.ApprovalLevel$approval_level_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevel$approval_level_usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1789
- /**
1790
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1791
- * @param onfulfilled The callback to execute when the Promise is resolved.
1792
- * @param onrejected The callback to execute when the Promise is rejected.
1793
- * @returns A Promise for the completion of which ever callback is executed.
1794
- */
1795
- 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>
1796
- /**
1797
- * Attaches a callback for only the rejection of the Promise.
1798
- * @param onrejected The callback to execute when the Promise is rejected.
1799
- * @returns A Promise for the completion of the callback.
1800
- */
1801
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1802
- /**
1803
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1804
- * resolved value cannot be modified from the callback.
1805
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1806
- * @returns A Promise for the completion of the callback.
1807
- */
1808
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1809
- }
1810
-
1811
-
1812
-
1813
-
1814
- /**
1815
- * Fields of the ApprovalLevel model
1816
- */
1817
- export interface ApprovalLevelFieldRefs {
1818
- readonly id: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1819
- readonly uuid: Prisma.FieldRef<"ApprovalLevel", 'String'>
1820
- readonly approval_hierarchy_id: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1821
- readonly approval_condition_id: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1822
- readonly level: Prisma.FieldRef<"ApprovalLevel", 'String'>
1823
- readonly valid_till_hours: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1824
- readonly valid_till_minutes: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1825
- readonly is_active: Prisma.FieldRef<"ApprovalLevel", 'Boolean'>
1826
- readonly is_deleted: Prisma.FieldRef<"ApprovalLevel", 'Boolean'>
1827
- readonly created_at: Prisma.FieldRef<"ApprovalLevel", 'DateTime'>
1828
- readonly created_by: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1829
- readonly updated_at: Prisma.FieldRef<"ApprovalLevel", 'DateTime'>
1830
- readonly updated_by: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1831
- readonly deleted_at: Prisma.FieldRef<"ApprovalLevel", 'DateTime'>
1832
- readonly deleted_by: Prisma.FieldRef<"ApprovalLevel", 'Int'>
1833
- }
1834
-
1835
-
1836
- // Custom InputTypes
1837
- /**
1838
- * ApprovalLevel findUnique
1839
- */
1840
- export type ApprovalLevelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1841
- /**
1842
- * Select specific fields to fetch from the ApprovalLevel
1843
- */
1844
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
1845
- /**
1846
- * Omit specific fields from the ApprovalLevel
1847
- */
1848
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
1849
- /**
1850
- * Choose, which related nodes to fetch as well
1851
- */
1852
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
1853
- /**
1854
- * Filter, which ApprovalLevel to fetch.
1855
- */
1856
- where: Prisma.ApprovalLevelWhereUniqueInput
1857
- }
1858
-
1859
- /**
1860
- * ApprovalLevel findUniqueOrThrow
1861
- */
1862
- export type ApprovalLevelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1863
- /**
1864
- * Select specific fields to fetch from the ApprovalLevel
1865
- */
1866
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
1867
- /**
1868
- * Omit specific fields from the ApprovalLevel
1869
- */
1870
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
1871
- /**
1872
- * Choose, which related nodes to fetch as well
1873
- */
1874
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
1875
- /**
1876
- * Filter, which ApprovalLevel to fetch.
1877
- */
1878
- where: Prisma.ApprovalLevelWhereUniqueInput
1879
- }
1880
-
1881
- /**
1882
- * ApprovalLevel findFirst
1883
- */
1884
- export type ApprovalLevelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1885
- /**
1886
- * Select specific fields to fetch from the ApprovalLevel
1887
- */
1888
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
1889
- /**
1890
- * Omit specific fields from the ApprovalLevel
1891
- */
1892
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
1893
- /**
1894
- * Choose, which related nodes to fetch as well
1895
- */
1896
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
1897
- /**
1898
- * Filter, which ApprovalLevel to fetch.
1899
- */
1900
- where?: Prisma.ApprovalLevelWhereInput
1901
- /**
1902
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1903
- *
1904
- * Determine the order of ApprovalLevels to fetch.
1905
- */
1906
- orderBy?: Prisma.ApprovalLevelOrderByWithRelationInput | Prisma.ApprovalLevelOrderByWithRelationInput[]
1907
- /**
1908
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1909
- *
1910
- * Sets the position for searching for ApprovalLevels.
1911
- */
1912
- cursor?: Prisma.ApprovalLevelWhereUniqueInput
1913
- /**
1914
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1915
- *
1916
- * Take `±n` ApprovalLevels from the position of the cursor.
1917
- */
1918
- take?: number
1919
- /**
1920
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1921
- *
1922
- * Skip the first `n` ApprovalLevels.
1923
- */
1924
- skip?: number
1925
- /**
1926
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1927
- *
1928
- * Filter by unique combinations of ApprovalLevels.
1929
- */
1930
- distinct?: Prisma.ApprovalLevelScalarFieldEnum | Prisma.ApprovalLevelScalarFieldEnum[]
1931
- }
1932
-
1933
- /**
1934
- * ApprovalLevel findFirstOrThrow
1935
- */
1936
- export type ApprovalLevelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1937
- /**
1938
- * Select specific fields to fetch from the ApprovalLevel
1939
- */
1940
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
1941
- /**
1942
- * Omit specific fields from the ApprovalLevel
1943
- */
1944
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
1945
- /**
1946
- * Choose, which related nodes to fetch as well
1947
- */
1948
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
1949
- /**
1950
- * Filter, which ApprovalLevel to fetch.
1951
- */
1952
- where?: Prisma.ApprovalLevelWhereInput
1953
- /**
1954
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1955
- *
1956
- * Determine the order of ApprovalLevels to fetch.
1957
- */
1958
- orderBy?: Prisma.ApprovalLevelOrderByWithRelationInput | Prisma.ApprovalLevelOrderByWithRelationInput[]
1959
- /**
1960
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1961
- *
1962
- * Sets the position for searching for ApprovalLevels.
1963
- */
1964
- cursor?: Prisma.ApprovalLevelWhereUniqueInput
1965
- /**
1966
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1967
- *
1968
- * Take `±n` ApprovalLevels from the position of the cursor.
1969
- */
1970
- take?: number
1971
- /**
1972
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1973
- *
1974
- * Skip the first `n` ApprovalLevels.
1975
- */
1976
- skip?: number
1977
- /**
1978
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1979
- *
1980
- * Filter by unique combinations of ApprovalLevels.
1981
- */
1982
- distinct?: Prisma.ApprovalLevelScalarFieldEnum | Prisma.ApprovalLevelScalarFieldEnum[]
1983
- }
1984
-
1985
- /**
1986
- * ApprovalLevel findMany
1987
- */
1988
- export type ApprovalLevelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1989
- /**
1990
- * Select specific fields to fetch from the ApprovalLevel
1991
- */
1992
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
1993
- /**
1994
- * Omit specific fields from the ApprovalLevel
1995
- */
1996
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
1997
- /**
1998
- * Choose, which related nodes to fetch as well
1999
- */
2000
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2001
- /**
2002
- * Filter, which ApprovalLevels to fetch.
2003
- */
2004
- where?: Prisma.ApprovalLevelWhereInput
2005
- /**
2006
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2007
- *
2008
- * Determine the order of ApprovalLevels to fetch.
2009
- */
2010
- orderBy?: Prisma.ApprovalLevelOrderByWithRelationInput | Prisma.ApprovalLevelOrderByWithRelationInput[]
2011
- /**
2012
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2013
- *
2014
- * Sets the position for listing ApprovalLevels.
2015
- */
2016
- cursor?: Prisma.ApprovalLevelWhereUniqueInput
2017
- /**
2018
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2019
- *
2020
- * Take `±n` ApprovalLevels from the position of the cursor.
2021
- */
2022
- take?: number
2023
- /**
2024
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2025
- *
2026
- * Skip the first `n` ApprovalLevels.
2027
- */
2028
- skip?: number
2029
- /**
2030
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2031
- *
2032
- * Filter by unique combinations of ApprovalLevels.
2033
- */
2034
- distinct?: Prisma.ApprovalLevelScalarFieldEnum | Prisma.ApprovalLevelScalarFieldEnum[]
2035
- }
2036
-
2037
- /**
2038
- * ApprovalLevel create
2039
- */
2040
- export type ApprovalLevelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2041
- /**
2042
- * Select specific fields to fetch from the ApprovalLevel
2043
- */
2044
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2045
- /**
2046
- * Omit specific fields from the ApprovalLevel
2047
- */
2048
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2049
- /**
2050
- * Choose, which related nodes to fetch as well
2051
- */
2052
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2053
- /**
2054
- * The data needed to create a ApprovalLevel.
2055
- */
2056
- data?: Prisma.XOR<Prisma.ApprovalLevelCreateInput, Prisma.ApprovalLevelUncheckedCreateInput>
2057
- }
2058
-
2059
- /**
2060
- * ApprovalLevel createMany
2061
- */
2062
- export type ApprovalLevelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2063
- /**
2064
- * The data used to create many ApprovalLevels.
2065
- */
2066
- data: Prisma.ApprovalLevelCreateManyInput | Prisma.ApprovalLevelCreateManyInput[]
2067
- skipDuplicates?: boolean
2068
- }
2069
-
2070
- /**
2071
- * ApprovalLevel createManyAndReturn
2072
- */
2073
- export type ApprovalLevelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2074
- /**
2075
- * Select specific fields to fetch from the ApprovalLevel
2076
- */
2077
- select?: Prisma.ApprovalLevelSelectCreateManyAndReturn<ExtArgs> | null
2078
- /**
2079
- * Omit specific fields from the ApprovalLevel
2080
- */
2081
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2082
- /**
2083
- * The data used to create many ApprovalLevels.
2084
- */
2085
- data: Prisma.ApprovalLevelCreateManyInput | Prisma.ApprovalLevelCreateManyInput[]
2086
- skipDuplicates?: boolean
2087
- /**
2088
- * Choose, which related nodes to fetch as well
2089
- */
2090
- include?: Prisma.ApprovalLevelIncludeCreateManyAndReturn<ExtArgs> | null
2091
- }
2092
-
2093
- /**
2094
- * ApprovalLevel update
2095
- */
2096
- export type ApprovalLevelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2097
- /**
2098
- * Select specific fields to fetch from the ApprovalLevel
2099
- */
2100
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2101
- /**
2102
- * Omit specific fields from the ApprovalLevel
2103
- */
2104
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2105
- /**
2106
- * Choose, which related nodes to fetch as well
2107
- */
2108
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2109
- /**
2110
- * The data needed to update a ApprovalLevel.
2111
- */
2112
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateInput, Prisma.ApprovalLevelUncheckedUpdateInput>
2113
- /**
2114
- * Choose, which ApprovalLevel to update.
2115
- */
2116
- where: Prisma.ApprovalLevelWhereUniqueInput
2117
- }
2118
-
2119
- /**
2120
- * ApprovalLevel updateMany
2121
- */
2122
- export type ApprovalLevelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2123
- /**
2124
- * The data used to update ApprovalLevels.
2125
- */
2126
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateManyMutationInput, Prisma.ApprovalLevelUncheckedUpdateManyInput>
2127
- /**
2128
- * Filter which ApprovalLevels to update
2129
- */
2130
- where?: Prisma.ApprovalLevelWhereInput
2131
- /**
2132
- * Limit how many ApprovalLevels to update.
2133
- */
2134
- limit?: number
2135
- }
2136
-
2137
- /**
2138
- * ApprovalLevel updateManyAndReturn
2139
- */
2140
- export type ApprovalLevelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2141
- /**
2142
- * Select specific fields to fetch from the ApprovalLevel
2143
- */
2144
- select?: Prisma.ApprovalLevelSelectUpdateManyAndReturn<ExtArgs> | null
2145
- /**
2146
- * Omit specific fields from the ApprovalLevel
2147
- */
2148
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2149
- /**
2150
- * The data used to update ApprovalLevels.
2151
- */
2152
- data: Prisma.XOR<Prisma.ApprovalLevelUpdateManyMutationInput, Prisma.ApprovalLevelUncheckedUpdateManyInput>
2153
- /**
2154
- * Filter which ApprovalLevels to update
2155
- */
2156
- where?: Prisma.ApprovalLevelWhereInput
2157
- /**
2158
- * Limit how many ApprovalLevels to update.
2159
- */
2160
- limit?: number
2161
- /**
2162
- * Choose, which related nodes to fetch as well
2163
- */
2164
- include?: Prisma.ApprovalLevelIncludeUpdateManyAndReturn<ExtArgs> | null
2165
- }
2166
-
2167
- /**
2168
- * ApprovalLevel upsert
2169
- */
2170
- export type ApprovalLevelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2171
- /**
2172
- * Select specific fields to fetch from the ApprovalLevel
2173
- */
2174
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2175
- /**
2176
- * Omit specific fields from the ApprovalLevel
2177
- */
2178
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2179
- /**
2180
- * Choose, which related nodes to fetch as well
2181
- */
2182
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2183
- /**
2184
- * The filter to search for the ApprovalLevel to update in case it exists.
2185
- */
2186
- where: Prisma.ApprovalLevelWhereUniqueInput
2187
- /**
2188
- * In case the ApprovalLevel found by the `where` argument doesn't exist, create a new ApprovalLevel with this data.
2189
- */
2190
- create: Prisma.XOR<Prisma.ApprovalLevelCreateInput, Prisma.ApprovalLevelUncheckedCreateInput>
2191
- /**
2192
- * In case the ApprovalLevel was found with the provided `where` argument, update it with this data.
2193
- */
2194
- update: Prisma.XOR<Prisma.ApprovalLevelUpdateInput, Prisma.ApprovalLevelUncheckedUpdateInput>
2195
- }
2196
-
2197
- /**
2198
- * ApprovalLevel delete
2199
- */
2200
- export type ApprovalLevelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2201
- /**
2202
- * Select specific fields to fetch from the ApprovalLevel
2203
- */
2204
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2205
- /**
2206
- * Omit specific fields from the ApprovalLevel
2207
- */
2208
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2209
- /**
2210
- * Choose, which related nodes to fetch as well
2211
- */
2212
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2213
- /**
2214
- * Filter which ApprovalLevel to delete.
2215
- */
2216
- where: Prisma.ApprovalLevelWhereUniqueInput
2217
- }
2218
-
2219
- /**
2220
- * ApprovalLevel deleteMany
2221
- */
2222
- export type ApprovalLevelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2223
- /**
2224
- * Filter which ApprovalLevels to delete
2225
- */
2226
- where?: Prisma.ApprovalLevelWhereInput
2227
- /**
2228
- * Limit how many ApprovalLevels to delete.
2229
- */
2230
- limit?: number
2231
- }
2232
-
2233
- /**
2234
- * ApprovalLevel.approval_hierarchy
2235
- */
2236
- export type ApprovalLevel$approval_hierarchyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2237
- /**
2238
- * Select specific fields to fetch from the ApprovalHierarchy
2239
- */
2240
- select?: Prisma.ApprovalHierarchySelect<ExtArgs> | null
2241
- /**
2242
- * Omit specific fields from the ApprovalHierarchy
2243
- */
2244
- omit?: Prisma.ApprovalHierarchyOmit<ExtArgs> | null
2245
- /**
2246
- * Choose, which related nodes to fetch as well
2247
- */
2248
- include?: Prisma.ApprovalHierarchyInclude<ExtArgs> | null
2249
- where?: Prisma.ApprovalHierarchyWhereInput
2250
- }
2251
-
2252
- /**
2253
- * ApprovalLevel.approval_condition
2254
- */
2255
- export type ApprovalLevel$approval_conditionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2256
- /**
2257
- * Select specific fields to fetch from the ApprovalCondition
2258
- */
2259
- select?: Prisma.ApprovalConditionSelect<ExtArgs> | null
2260
- /**
2261
- * Omit specific fields from the ApprovalCondition
2262
- */
2263
- omit?: Prisma.ApprovalConditionOmit<ExtArgs> | null
2264
- /**
2265
- * Choose, which related nodes to fetch as well
2266
- */
2267
- include?: Prisma.ApprovalConditionInclude<ExtArgs> | null
2268
- where?: Prisma.ApprovalConditionWhereInput
2269
- }
2270
-
2271
- /**
2272
- * ApprovalLevel.approval_level_escalation
2273
- */
2274
- export type ApprovalLevel$approval_level_escalationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2275
- /**
2276
- * Select specific fields to fetch from the ApprovalLevelEscalation
2277
- */
2278
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
2279
- /**
2280
- * Omit specific fields from the ApprovalLevelEscalation
2281
- */
2282
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
2283
- /**
2284
- * Choose, which related nodes to fetch as well
2285
- */
2286
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
2287
- where?: Prisma.ApprovalLevelEscalationWhereInput
2288
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithRelationInput | Prisma.ApprovalLevelEscalationOrderByWithRelationInput[]
2289
- cursor?: Prisma.ApprovalLevelEscalationWhereUniqueInput
2290
- take?: number
2291
- skip?: number
2292
- distinct?: Prisma.ApprovalLevelEscalationScalarFieldEnum | Prisma.ApprovalLevelEscalationScalarFieldEnum[]
2293
- }
2294
-
2295
- /**
2296
- * ApprovalLevel.approval_level_users
2297
- */
2298
- export type ApprovalLevel$approval_level_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2299
- /**
2300
- * Select specific fields to fetch from the ApprovalLevelUser
2301
- */
2302
- select?: Prisma.ApprovalLevelUserSelect<ExtArgs> | null
2303
- /**
2304
- * Omit specific fields from the ApprovalLevelUser
2305
- */
2306
- omit?: Prisma.ApprovalLevelUserOmit<ExtArgs> | null
2307
- /**
2308
- * Choose, which related nodes to fetch as well
2309
- */
2310
- include?: Prisma.ApprovalLevelUserInclude<ExtArgs> | null
2311
- where?: Prisma.ApprovalLevelUserWhereInput
2312
- orderBy?: Prisma.ApprovalLevelUserOrderByWithRelationInput | Prisma.ApprovalLevelUserOrderByWithRelationInput[]
2313
- cursor?: Prisma.ApprovalLevelUserWhereUniqueInput
2314
- take?: number
2315
- skip?: number
2316
- distinct?: Prisma.ApprovalLevelUserScalarFieldEnum | Prisma.ApprovalLevelUserScalarFieldEnum[]
2317
- }
2318
-
2319
- /**
2320
- * ApprovalLevel without action
2321
- */
2322
- export type ApprovalLevelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2323
- /**
2324
- * Select specific fields to fetch from the ApprovalLevel
2325
- */
2326
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2327
- /**
2328
- * Omit specific fields from the ApprovalLevel
2329
- */
2330
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2331
- /**
2332
- * Choose, which related nodes to fetch as well
2333
- */
2334
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2335
- }