procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2128 +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 `ApprovalLevelEscalation` 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 ApprovalLevelEscalation
17
- *
18
- */
19
- export type ApprovalLevelEscalationModel = runtime.Types.Result.DefaultSelection<Prisma.$ApprovalLevelEscalationPayload>
20
-
21
- export type AggregateApprovalLevelEscalation = {
22
- _count: ApprovalLevelEscalationCountAggregateOutputType | null
23
- _avg: ApprovalLevelEscalationAvgAggregateOutputType | null
24
- _sum: ApprovalLevelEscalationSumAggregateOutputType | null
25
- _min: ApprovalLevelEscalationMinAggregateOutputType | null
26
- _max: ApprovalLevelEscalationMaxAggregateOutputType | null
27
- }
28
-
29
- export type ApprovalLevelEscalationAvgAggregateOutputType = {
30
- id: number | null
31
- approval_level_id: number | null
32
- escalation_approver_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 ApprovalLevelEscalationSumAggregateOutputType = {
41
- id: number | null
42
- approval_level_id: number | null
43
- escalation_approver_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 ApprovalLevelEscalationMinAggregateOutputType = {
52
- id: number | null
53
- uuid: string | null
54
- approval_level_id: number | null
55
- escalation_approver_id: number | null
56
- valid_till_hours: number | null
57
- valid_till_minutes: number | null
58
- is_active: boolean | null
59
- is_deleted: boolean | null
60
- created_at: Date | null
61
- created_by: number | null
62
- updated_at: Date | null
63
- updated_by: number | null
64
- deleted_at: Date | null
65
- deleted_by: number | null
66
- }
67
-
68
- export type ApprovalLevelEscalationMaxAggregateOutputType = {
69
- id: number | null
70
- uuid: string | null
71
- approval_level_id: number | null
72
- escalation_approver_id: number | null
73
- valid_till_hours: number | null
74
- valid_till_minutes: number | null
75
- is_active: boolean | null
76
- is_deleted: boolean | null
77
- created_at: Date | null
78
- created_by: number | null
79
- updated_at: Date | null
80
- updated_by: number | null
81
- deleted_at: Date | null
82
- deleted_by: number | null
83
- }
84
-
85
- export type ApprovalLevelEscalationCountAggregateOutputType = {
86
- id: number
87
- uuid: number
88
- approval_level_id: number
89
- escalation_approver_id: number
90
- valid_till_hours: number
91
- valid_till_minutes: number
92
- is_active: number
93
- is_deleted: number
94
- created_at: number
95
- created_by: number
96
- updated_at: number
97
- updated_by: number
98
- deleted_at: number
99
- deleted_by: number
100
- _all: number
101
- }
102
-
103
-
104
- export type ApprovalLevelEscalationAvgAggregateInputType = {
105
- id?: true
106
- approval_level_id?: true
107
- escalation_approver_id?: true
108
- valid_till_hours?: true
109
- valid_till_minutes?: true
110
- created_by?: true
111
- updated_by?: true
112
- deleted_by?: true
113
- }
114
-
115
- export type ApprovalLevelEscalationSumAggregateInputType = {
116
- id?: true
117
- approval_level_id?: true
118
- escalation_approver_id?: true
119
- valid_till_hours?: true
120
- valid_till_minutes?: true
121
- created_by?: true
122
- updated_by?: true
123
- deleted_by?: true
124
- }
125
-
126
- export type ApprovalLevelEscalationMinAggregateInputType = {
127
- id?: true
128
- uuid?: true
129
- approval_level_id?: true
130
- escalation_approver_id?: true
131
- valid_till_hours?: true
132
- valid_till_minutes?: true
133
- is_active?: true
134
- is_deleted?: true
135
- created_at?: true
136
- created_by?: true
137
- updated_at?: true
138
- updated_by?: true
139
- deleted_at?: true
140
- deleted_by?: true
141
- }
142
-
143
- export type ApprovalLevelEscalationMaxAggregateInputType = {
144
- id?: true
145
- uuid?: true
146
- approval_level_id?: true
147
- escalation_approver_id?: true
148
- valid_till_hours?: true
149
- valid_till_minutes?: true
150
- is_active?: true
151
- is_deleted?: true
152
- created_at?: true
153
- created_by?: true
154
- updated_at?: true
155
- updated_by?: true
156
- deleted_at?: true
157
- deleted_by?: true
158
- }
159
-
160
- export type ApprovalLevelEscalationCountAggregateInputType = {
161
- id?: true
162
- uuid?: true
163
- approval_level_id?: true
164
- escalation_approver_id?: true
165
- valid_till_hours?: true
166
- valid_till_minutes?: true
167
- is_active?: true
168
- is_deleted?: true
169
- created_at?: true
170
- created_by?: true
171
- updated_at?: true
172
- updated_by?: true
173
- deleted_at?: true
174
- deleted_by?: true
175
- _all?: true
176
- }
177
-
178
- export type ApprovalLevelEscalationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
179
- /**
180
- * Filter which ApprovalLevelEscalation to aggregate.
181
- */
182
- where?: Prisma.ApprovalLevelEscalationWhereInput
183
- /**
184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
185
- *
186
- * Determine the order of ApprovalLevelEscalations to fetch.
187
- */
188
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithRelationInput | Prisma.ApprovalLevelEscalationOrderByWithRelationInput[]
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
191
- *
192
- * Sets the start position
193
- */
194
- cursor?: Prisma.ApprovalLevelEscalationWhereUniqueInput
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
197
- *
198
- * Take `±n` ApprovalLevelEscalations from the position of the cursor.
199
- */
200
- take?: number
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
203
- *
204
- * Skip the first `n` ApprovalLevelEscalations.
205
- */
206
- skip?: number
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
209
- *
210
- * Count returned ApprovalLevelEscalations
211
- **/
212
- _count?: true | ApprovalLevelEscalationCountAggregateInputType
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
- *
216
- * Select which fields to average
217
- **/
218
- _avg?: ApprovalLevelEscalationAvgAggregateInputType
219
- /**
220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
221
- *
222
- * Select which fields to sum
223
- **/
224
- _sum?: ApprovalLevelEscalationSumAggregateInputType
225
- /**
226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
- *
228
- * Select which fields to find the minimum value
229
- **/
230
- _min?: ApprovalLevelEscalationMinAggregateInputType
231
- /**
232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
- *
234
- * Select which fields to find the maximum value
235
- **/
236
- _max?: ApprovalLevelEscalationMaxAggregateInputType
237
- }
238
-
239
- export type GetApprovalLevelEscalationAggregateType<T extends ApprovalLevelEscalationAggregateArgs> = {
240
- [P in keyof T & keyof AggregateApprovalLevelEscalation]: P extends '_count' | 'count'
241
- ? T[P] extends true
242
- ? number
243
- : Prisma.GetScalarType<T[P], AggregateApprovalLevelEscalation[P]>
244
- : Prisma.GetScalarType<T[P], AggregateApprovalLevelEscalation[P]>
245
- }
246
-
247
-
248
-
249
-
250
- export type ApprovalLevelEscalationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
251
- where?: Prisma.ApprovalLevelEscalationWhereInput
252
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithAggregationInput | Prisma.ApprovalLevelEscalationOrderByWithAggregationInput[]
253
- by: Prisma.ApprovalLevelEscalationScalarFieldEnum[] | Prisma.ApprovalLevelEscalationScalarFieldEnum
254
- having?: Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput
255
- take?: number
256
- skip?: number
257
- _count?: ApprovalLevelEscalationCountAggregateInputType | true
258
- _avg?: ApprovalLevelEscalationAvgAggregateInputType
259
- _sum?: ApprovalLevelEscalationSumAggregateInputType
260
- _min?: ApprovalLevelEscalationMinAggregateInputType
261
- _max?: ApprovalLevelEscalationMaxAggregateInputType
262
- }
263
-
264
- export type ApprovalLevelEscalationGroupByOutputType = {
265
- id: number
266
- uuid: string | null
267
- approval_level_id: number | null
268
- escalation_approver_id: number | null
269
- valid_till_hours: number | null
270
- valid_till_minutes: number | null
271
- is_active: boolean
272
- is_deleted: boolean
273
- created_at: Date
274
- created_by: number | null
275
- updated_at: Date | null
276
- updated_by: number | null
277
- deleted_at: Date | null
278
- deleted_by: number | null
279
- _count: ApprovalLevelEscalationCountAggregateOutputType | null
280
- _avg: ApprovalLevelEscalationAvgAggregateOutputType | null
281
- _sum: ApprovalLevelEscalationSumAggregateOutputType | null
282
- _min: ApprovalLevelEscalationMinAggregateOutputType | null
283
- _max: ApprovalLevelEscalationMaxAggregateOutputType | null
284
- }
285
-
286
- export type GetApprovalLevelEscalationGroupByPayload<T extends ApprovalLevelEscalationGroupByArgs> = Prisma.PrismaPromise<
287
- Array<
288
- Prisma.PickEnumerable<ApprovalLevelEscalationGroupByOutputType, T['by']> &
289
- {
290
- [P in ((keyof T) & (keyof ApprovalLevelEscalationGroupByOutputType))]: P extends '_count'
291
- ? T[P] extends boolean
292
- ? number
293
- : Prisma.GetScalarType<T[P], ApprovalLevelEscalationGroupByOutputType[P]>
294
- : Prisma.GetScalarType<T[P], ApprovalLevelEscalationGroupByOutputType[P]>
295
- }
296
- >
297
- >
298
-
299
-
300
-
301
- export type ApprovalLevelEscalationWhereInput = {
302
- AND?: Prisma.ApprovalLevelEscalationWhereInput | Prisma.ApprovalLevelEscalationWhereInput[]
303
- OR?: Prisma.ApprovalLevelEscalationWhereInput[]
304
- NOT?: Prisma.ApprovalLevelEscalationWhereInput | Prisma.ApprovalLevelEscalationWhereInput[]
305
- id?: Prisma.IntFilter<"ApprovalLevelEscalation"> | number
306
- uuid?: Prisma.StringNullableFilter<"ApprovalLevelEscalation"> | string | null
307
- approval_level_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
308
- escalation_approver_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
309
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
310
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
311
- is_active?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
312
- is_deleted?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
313
- created_at?: Prisma.DateTimeFilter<"ApprovalLevelEscalation"> | Date | string
314
- created_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
315
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
316
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
317
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
318
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
319
- approval_level?: Prisma.XOR<Prisma.ApprovalLevelNullableScalarRelationFilter, Prisma.ApprovalLevelWhereInput> | null
320
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
321
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserListRelationFilter
322
- }
323
-
324
- export type ApprovalLevelEscalationOrderByWithRelationInput = {
325
- id?: Prisma.SortOrder
326
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
327
- approval_level_id?: Prisma.SortOrderInput | Prisma.SortOrder
328
- escalation_approver_id?: Prisma.SortOrderInput | Prisma.SortOrder
329
- valid_till_hours?: Prisma.SortOrderInput | Prisma.SortOrder
330
- valid_till_minutes?: Prisma.SortOrderInput | Prisma.SortOrder
331
- is_active?: Prisma.SortOrder
332
- is_deleted?: Prisma.SortOrder
333
- created_at?: Prisma.SortOrder
334
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
335
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
336
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
337
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
338
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
339
- approval_level?: Prisma.ApprovalLevelOrderByWithRelationInput
340
- user?: Prisma.UserOrderByWithRelationInput
341
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserOrderByRelationAggregateInput
342
- }
343
-
344
- export type ApprovalLevelEscalationWhereUniqueInput = Prisma.AtLeast<{
345
- id?: number
346
- uuid?: string
347
- AND?: Prisma.ApprovalLevelEscalationWhereInput | Prisma.ApprovalLevelEscalationWhereInput[]
348
- OR?: Prisma.ApprovalLevelEscalationWhereInput[]
349
- NOT?: Prisma.ApprovalLevelEscalationWhereInput | Prisma.ApprovalLevelEscalationWhereInput[]
350
- approval_level_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
351
- escalation_approver_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
352
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
353
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
354
- is_active?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
355
- is_deleted?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
356
- created_at?: Prisma.DateTimeFilter<"ApprovalLevelEscalation"> | Date | string
357
- created_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
358
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
359
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
360
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
361
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
362
- approval_level?: Prisma.XOR<Prisma.ApprovalLevelNullableScalarRelationFilter, Prisma.ApprovalLevelWhereInput> | null
363
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
364
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserListRelationFilter
365
- }, "id" | "uuid">
366
-
367
- export type ApprovalLevelEscalationOrderByWithAggregationInput = {
368
- id?: Prisma.SortOrder
369
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
370
- approval_level_id?: Prisma.SortOrderInput | Prisma.SortOrder
371
- escalation_approver_id?: Prisma.SortOrderInput | Prisma.SortOrder
372
- valid_till_hours?: Prisma.SortOrderInput | Prisma.SortOrder
373
- valid_till_minutes?: Prisma.SortOrderInput | Prisma.SortOrder
374
- is_active?: Prisma.SortOrder
375
- is_deleted?: Prisma.SortOrder
376
- created_at?: Prisma.SortOrder
377
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
378
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
379
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
380
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
381
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
382
- _count?: Prisma.ApprovalLevelEscalationCountOrderByAggregateInput
383
- _avg?: Prisma.ApprovalLevelEscalationAvgOrderByAggregateInput
384
- _max?: Prisma.ApprovalLevelEscalationMaxOrderByAggregateInput
385
- _min?: Prisma.ApprovalLevelEscalationMinOrderByAggregateInput
386
- _sum?: Prisma.ApprovalLevelEscalationSumOrderByAggregateInput
387
- }
388
-
389
- export type ApprovalLevelEscalationScalarWhereWithAggregatesInput = {
390
- AND?: Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput | Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput[]
391
- OR?: Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput[]
392
- NOT?: Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput | Prisma.ApprovalLevelEscalationScalarWhereWithAggregatesInput[]
393
- id?: Prisma.IntWithAggregatesFilter<"ApprovalLevelEscalation"> | number
394
- uuid?: Prisma.StringNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | string | null
395
- approval_level_id?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
396
- escalation_approver_id?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
397
- valid_till_hours?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
398
- valid_till_minutes?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
399
- is_active?: Prisma.BoolWithAggregatesFilter<"ApprovalLevelEscalation"> | boolean
400
- is_deleted?: Prisma.BoolWithAggregatesFilter<"ApprovalLevelEscalation"> | boolean
401
- created_at?: Prisma.DateTimeWithAggregatesFilter<"ApprovalLevelEscalation"> | Date | string
402
- created_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
403
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | Date | string | null
404
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
405
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | Date | string | null
406
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalLevelEscalation"> | number | null
407
- }
408
-
409
- export type ApprovalLevelEscalationCreateInput = {
410
- uuid?: string | null
411
- valid_till_hours?: number | null
412
- valid_till_minutes?: number | null
413
- is_active?: boolean
414
- is_deleted?: boolean
415
- created_at?: Date | string
416
- created_by?: number | null
417
- updated_at?: Date | string | null
418
- updated_by?: number | null
419
- deleted_at?: Date | string | null
420
- deleted_by?: number | null
421
- approval_level?: Prisma.ApprovalLevelCreateNestedOneWithoutApproval_level_escalationInput
422
- user?: Prisma.UserCreateNestedOneWithoutApproval_level_escalationInput
423
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserCreateNestedManyWithoutApproval_level_escalationInput
424
- }
425
-
426
- export type ApprovalLevelEscalationUncheckedCreateInput = {
427
- id?: number
428
- uuid?: string | null
429
- approval_level_id?: number | null
430
- escalation_approver_id?: number | null
431
- valid_till_hours?: number | null
432
- valid_till_minutes?: number | null
433
- is_active?: boolean
434
- is_deleted?: boolean
435
- created_at?: Date | string
436
- created_by?: number | null
437
- updated_at?: Date | string | null
438
- updated_by?: number | null
439
- deleted_at?: Date | string | null
440
- deleted_by?: number | null
441
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedCreateNestedManyWithoutApproval_level_escalationInput
442
- }
443
-
444
- export type ApprovalLevelEscalationUpdateInput = {
445
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
446
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
447
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
448
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
449
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
450
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
451
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
452
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
453
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
454
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
455
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
456
- approval_level?: Prisma.ApprovalLevelUpdateOneWithoutApproval_level_escalationNestedInput
457
- user?: Prisma.UserUpdateOneWithoutApproval_level_escalationNestedInput
458
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUpdateManyWithoutApproval_level_escalationNestedInput
459
- }
460
-
461
- export type ApprovalLevelEscalationUncheckedUpdateInput = {
462
- id?: Prisma.IntFieldUpdateOperationsInput | number
463
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
- approval_level_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
465
- escalation_approver_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | 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_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedUpdateManyWithoutApproval_level_escalationNestedInput
477
- }
478
-
479
- export type ApprovalLevelEscalationCreateManyInput = {
480
- id?: number
481
- uuid?: string | null
482
- approval_level_id?: number | null
483
- escalation_approver_id?: number | null
484
- valid_till_hours?: number | null
485
- valid_till_minutes?: number | null
486
- is_active?: boolean
487
- is_deleted?: boolean
488
- created_at?: Date | string
489
- created_by?: number | null
490
- updated_at?: Date | string | null
491
- updated_by?: number | null
492
- deleted_at?: Date | string | null
493
- deleted_by?: number | null
494
- }
495
-
496
- export type ApprovalLevelEscalationUpdateManyMutationInput = {
497
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
498
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
499
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
500
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
501
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
502
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
503
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
504
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
505
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
506
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
507
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
508
- }
509
-
510
- export type ApprovalLevelEscalationUncheckedUpdateManyInput = {
511
- id?: Prisma.IntFieldUpdateOperationsInput | number
512
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
513
- approval_level_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
514
- escalation_approver_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
515
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
516
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
517
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
518
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
519
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
520
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
521
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
522
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
523
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
524
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
525
- }
526
-
527
- export type ApprovalLevelEscalationListRelationFilter = {
528
- every?: Prisma.ApprovalLevelEscalationWhereInput
529
- some?: Prisma.ApprovalLevelEscalationWhereInput
530
- none?: Prisma.ApprovalLevelEscalationWhereInput
531
- }
532
-
533
- export type ApprovalLevelEscalationOrderByRelationAggregateInput = {
534
- _count?: Prisma.SortOrder
535
- }
536
-
537
- export type ApprovalLevelEscalationCountOrderByAggregateInput = {
538
- id?: Prisma.SortOrder
539
- uuid?: Prisma.SortOrder
540
- approval_level_id?: Prisma.SortOrder
541
- escalation_approver_id?: Prisma.SortOrder
542
- valid_till_hours?: Prisma.SortOrder
543
- valid_till_minutes?: Prisma.SortOrder
544
- is_active?: Prisma.SortOrder
545
- is_deleted?: Prisma.SortOrder
546
- created_at?: Prisma.SortOrder
547
- created_by?: Prisma.SortOrder
548
- updated_at?: Prisma.SortOrder
549
- updated_by?: Prisma.SortOrder
550
- deleted_at?: Prisma.SortOrder
551
- deleted_by?: Prisma.SortOrder
552
- }
553
-
554
- export type ApprovalLevelEscalationAvgOrderByAggregateInput = {
555
- id?: Prisma.SortOrder
556
- approval_level_id?: Prisma.SortOrder
557
- escalation_approver_id?: Prisma.SortOrder
558
- valid_till_hours?: Prisma.SortOrder
559
- valid_till_minutes?: Prisma.SortOrder
560
- created_by?: Prisma.SortOrder
561
- updated_by?: Prisma.SortOrder
562
- deleted_by?: Prisma.SortOrder
563
- }
564
-
565
- export type ApprovalLevelEscalationMaxOrderByAggregateInput = {
566
- id?: Prisma.SortOrder
567
- uuid?: Prisma.SortOrder
568
- approval_level_id?: Prisma.SortOrder
569
- escalation_approver_id?: Prisma.SortOrder
570
- valid_till_hours?: Prisma.SortOrder
571
- valid_till_minutes?: Prisma.SortOrder
572
- is_active?: Prisma.SortOrder
573
- is_deleted?: Prisma.SortOrder
574
- created_at?: Prisma.SortOrder
575
- created_by?: Prisma.SortOrder
576
- updated_at?: Prisma.SortOrder
577
- updated_by?: Prisma.SortOrder
578
- deleted_at?: Prisma.SortOrder
579
- deleted_by?: Prisma.SortOrder
580
- }
581
-
582
- export type ApprovalLevelEscalationMinOrderByAggregateInput = {
583
- id?: Prisma.SortOrder
584
- uuid?: Prisma.SortOrder
585
- approval_level_id?: Prisma.SortOrder
586
- escalation_approver_id?: Prisma.SortOrder
587
- valid_till_hours?: Prisma.SortOrder
588
- valid_till_minutes?: Prisma.SortOrder
589
- is_active?: Prisma.SortOrder
590
- is_deleted?: Prisma.SortOrder
591
- created_at?: Prisma.SortOrder
592
- created_by?: Prisma.SortOrder
593
- updated_at?: Prisma.SortOrder
594
- updated_by?: Prisma.SortOrder
595
- deleted_at?: Prisma.SortOrder
596
- deleted_by?: Prisma.SortOrder
597
- }
598
-
599
- export type ApprovalLevelEscalationSumOrderByAggregateInput = {
600
- id?: Prisma.SortOrder
601
- approval_level_id?: Prisma.SortOrder
602
- escalation_approver_id?: Prisma.SortOrder
603
- valid_till_hours?: Prisma.SortOrder
604
- valid_till_minutes?: Prisma.SortOrder
605
- created_by?: Prisma.SortOrder
606
- updated_by?: Prisma.SortOrder
607
- deleted_by?: Prisma.SortOrder
608
- }
609
-
610
- export type ApprovalLevelEscalationNullableScalarRelationFilter = {
611
- is?: Prisma.ApprovalLevelEscalationWhereInput | null
612
- isNot?: Prisma.ApprovalLevelEscalationWhereInput | null
613
- }
614
-
615
- export type ApprovalLevelEscalationCreateNestedManyWithoutUserInput = {
616
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput> | Prisma.ApprovalLevelEscalationCreateWithoutUserInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput[]
617
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput[]
618
- createMany?: Prisma.ApprovalLevelEscalationCreateManyUserInputEnvelope
619
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
620
- }
621
-
622
- export type ApprovalLevelEscalationUncheckedCreateNestedManyWithoutUserInput = {
623
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput> | Prisma.ApprovalLevelEscalationCreateWithoutUserInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput[]
624
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput[]
625
- createMany?: Prisma.ApprovalLevelEscalationCreateManyUserInputEnvelope
626
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
627
- }
628
-
629
- export type ApprovalLevelEscalationUpdateManyWithoutUserNestedInput = {
630
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput> | Prisma.ApprovalLevelEscalationCreateWithoutUserInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput[]
631
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput[]
632
- upsert?: Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutUserInput | Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutUserInput[]
633
- createMany?: Prisma.ApprovalLevelEscalationCreateManyUserInputEnvelope
634
- set?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
635
- disconnect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
636
- delete?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
637
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
638
- update?: Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutUserInput | Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutUserInput[]
639
- updateMany?: Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutUserInput | Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutUserInput[]
640
- deleteMany?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
641
- }
642
-
643
- export type ApprovalLevelEscalationUncheckedUpdateManyWithoutUserNestedInput = {
644
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput> | Prisma.ApprovalLevelEscalationCreateWithoutUserInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput[]
645
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutUserInput[]
646
- upsert?: Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutUserInput | Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutUserInput[]
647
- createMany?: Prisma.ApprovalLevelEscalationCreateManyUserInputEnvelope
648
- set?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
649
- disconnect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
650
- delete?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
651
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
652
- update?: Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutUserInput | Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutUserInput[]
653
- updateMany?: Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutUserInput | Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutUserInput[]
654
- deleteMany?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
655
- }
656
-
657
- export type ApprovalLevelEscalationCreateNestedManyWithoutApproval_levelInput = {
658
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput> | Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput[]
659
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput[]
660
- createMany?: Prisma.ApprovalLevelEscalationCreateManyApproval_levelInputEnvelope
661
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
662
- }
663
-
664
- export type ApprovalLevelEscalationUncheckedCreateNestedManyWithoutApproval_levelInput = {
665
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput> | Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput[]
666
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput[]
667
- createMany?: Prisma.ApprovalLevelEscalationCreateManyApproval_levelInputEnvelope
668
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
669
- }
670
-
671
- export type ApprovalLevelEscalationUpdateManyWithoutApproval_levelNestedInput = {
672
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput> | Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput[]
673
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput[]
674
- upsert?: Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutApproval_levelInput[]
675
- createMany?: Prisma.ApprovalLevelEscalationCreateManyApproval_levelInputEnvelope
676
- set?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
677
- disconnect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
678
- delete?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
679
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
680
- update?: Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutApproval_levelInput[]
681
- updateMany?: Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutApproval_levelInput[]
682
- deleteMany?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
683
- }
684
-
685
- export type ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelNestedInput = {
686
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput> | Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput[] | Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput[]
687
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput[]
688
- upsert?: Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpsertWithWhereUniqueWithoutApproval_levelInput[]
689
- createMany?: Prisma.ApprovalLevelEscalationCreateManyApproval_levelInputEnvelope
690
- set?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
691
- disconnect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
692
- delete?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
693
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput | Prisma.ApprovalLevelEscalationWhereUniqueInput[]
694
- update?: Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpdateWithWhereUniqueWithoutApproval_levelInput[]
695
- updateMany?: Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutApproval_levelInput | Prisma.ApprovalLevelEscalationUpdateManyWithWhereWithoutApproval_levelInput[]
696
- deleteMany?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
697
- }
698
-
699
- export type ApprovalLevelEscalationCreateNestedOneWithoutApproval_level_escalation_usersInput = {
700
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_level_escalation_usersInput>
701
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_level_escalation_usersInput
702
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput
703
- }
704
-
705
- export type ApprovalLevelEscalationUpdateOneWithoutApproval_level_escalation_usersNestedInput = {
706
- create?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_level_escalation_usersInput>
707
- connectOrCreate?: Prisma.ApprovalLevelEscalationCreateOrConnectWithoutApproval_level_escalation_usersInput
708
- upsert?: Prisma.ApprovalLevelEscalationUpsertWithoutApproval_level_escalation_usersInput
709
- disconnect?: Prisma.ApprovalLevelEscalationWhereInput | boolean
710
- delete?: Prisma.ApprovalLevelEscalationWhereInput | boolean
711
- connect?: Prisma.ApprovalLevelEscalationWhereUniqueInput
712
- update?: Prisma.XOR<Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateToOneWithWhereWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUpdateWithoutApproval_level_escalation_usersInput>, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutApproval_level_escalation_usersInput>
713
- }
714
-
715
- export type ApprovalLevelEscalationCreateWithoutUserInput = {
716
- uuid?: string | null
717
- valid_till_hours?: number | null
718
- valid_till_minutes?: number | null
719
- is_active?: boolean
720
- is_deleted?: boolean
721
- created_at?: Date | string
722
- created_by?: number | null
723
- updated_at?: Date | string | null
724
- updated_by?: number | null
725
- deleted_at?: Date | string | null
726
- deleted_by?: number | null
727
- approval_level?: Prisma.ApprovalLevelCreateNestedOneWithoutApproval_level_escalationInput
728
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserCreateNestedManyWithoutApproval_level_escalationInput
729
- }
730
-
731
- export type ApprovalLevelEscalationUncheckedCreateWithoutUserInput = {
732
- id?: number
733
- uuid?: string | null
734
- approval_level_id?: number | null
735
- valid_till_hours?: number | null
736
- valid_till_minutes?: number | null
737
- is_active?: boolean
738
- is_deleted?: boolean
739
- created_at?: Date | string
740
- created_by?: number | null
741
- updated_at?: Date | string | null
742
- updated_by?: number | null
743
- deleted_at?: Date | string | null
744
- deleted_by?: number | null
745
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedCreateNestedManyWithoutApproval_level_escalationInput
746
- }
747
-
748
- export type ApprovalLevelEscalationCreateOrConnectWithoutUserInput = {
749
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
750
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput>
751
- }
752
-
753
- export type ApprovalLevelEscalationCreateManyUserInputEnvelope = {
754
- data: Prisma.ApprovalLevelEscalationCreateManyUserInput | Prisma.ApprovalLevelEscalationCreateManyUserInput[]
755
- skipDuplicates?: boolean
756
- }
757
-
758
- export type ApprovalLevelEscalationUpsertWithWhereUniqueWithoutUserInput = {
759
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
760
- update: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutUserInput>
761
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutUserInput>
762
- }
763
-
764
- export type ApprovalLevelEscalationUpdateWithWhereUniqueWithoutUserInput = {
765
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
766
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutUserInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutUserInput>
767
- }
768
-
769
- export type ApprovalLevelEscalationUpdateManyWithWhereWithoutUserInput = {
770
- where: Prisma.ApprovalLevelEscalationScalarWhereInput
771
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateManyMutationInput, Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutUserInput>
772
- }
773
-
774
- export type ApprovalLevelEscalationScalarWhereInput = {
775
- AND?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
776
- OR?: Prisma.ApprovalLevelEscalationScalarWhereInput[]
777
- NOT?: Prisma.ApprovalLevelEscalationScalarWhereInput | Prisma.ApprovalLevelEscalationScalarWhereInput[]
778
- id?: Prisma.IntFilter<"ApprovalLevelEscalation"> | number
779
- uuid?: Prisma.StringNullableFilter<"ApprovalLevelEscalation"> | string | null
780
- approval_level_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
781
- escalation_approver_id?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
782
- valid_till_hours?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
783
- valid_till_minutes?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
784
- is_active?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
785
- is_deleted?: Prisma.BoolFilter<"ApprovalLevelEscalation"> | boolean
786
- created_at?: Prisma.DateTimeFilter<"ApprovalLevelEscalation"> | Date | string
787
- created_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
788
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
789
- updated_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
790
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalLevelEscalation"> | Date | string | null
791
- deleted_by?: Prisma.IntNullableFilter<"ApprovalLevelEscalation"> | number | null
792
- }
793
-
794
- export type ApprovalLevelEscalationCreateWithoutApproval_levelInput = {
795
- uuid?: string | null
796
- valid_till_hours?: number | null
797
- valid_till_minutes?: number | null
798
- is_active?: boolean
799
- is_deleted?: boolean
800
- created_at?: Date | string
801
- created_by?: number | null
802
- updated_at?: Date | string | null
803
- updated_by?: number | null
804
- deleted_at?: Date | string | null
805
- deleted_by?: number | null
806
- user?: Prisma.UserCreateNestedOneWithoutApproval_level_escalationInput
807
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserCreateNestedManyWithoutApproval_level_escalationInput
808
- }
809
-
810
- export type ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput = {
811
- id?: number
812
- uuid?: string | null
813
- escalation_approver_id?: number | null
814
- valid_till_hours?: number | null
815
- valid_till_minutes?: number | null
816
- is_active?: boolean
817
- is_deleted?: boolean
818
- created_at?: Date | string
819
- created_by?: number | null
820
- updated_at?: Date | string | null
821
- updated_by?: number | null
822
- deleted_at?: Date | string | null
823
- deleted_by?: number | null
824
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedCreateNestedManyWithoutApproval_level_escalationInput
825
- }
826
-
827
- export type ApprovalLevelEscalationCreateOrConnectWithoutApproval_levelInput = {
828
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
829
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput>
830
- }
831
-
832
- export type ApprovalLevelEscalationCreateManyApproval_levelInputEnvelope = {
833
- data: Prisma.ApprovalLevelEscalationCreateManyApproval_levelInput | Prisma.ApprovalLevelEscalationCreateManyApproval_levelInput[]
834
- skipDuplicates?: boolean
835
- }
836
-
837
- export type ApprovalLevelEscalationUpsertWithWhereUniqueWithoutApproval_levelInput = {
838
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
839
- update: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutApproval_levelInput>
840
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_levelInput>
841
- }
842
-
843
- export type ApprovalLevelEscalationUpdateWithWhereUniqueWithoutApproval_levelInput = {
844
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
845
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutApproval_levelInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutApproval_levelInput>
846
- }
847
-
848
- export type ApprovalLevelEscalationUpdateManyWithWhereWithoutApproval_levelInput = {
849
- where: Prisma.ApprovalLevelEscalationScalarWhereInput
850
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateManyMutationInput, Prisma.ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelInput>
851
- }
852
-
853
- export type ApprovalLevelEscalationCreateWithoutApproval_level_escalation_usersInput = {
854
- uuid?: string | null
855
- valid_till_hours?: number | null
856
- valid_till_minutes?: number | null
857
- is_active?: boolean
858
- is_deleted?: boolean
859
- created_at?: Date | string
860
- created_by?: number | null
861
- updated_at?: Date | string | null
862
- updated_by?: number | null
863
- deleted_at?: Date | string | null
864
- deleted_by?: number | null
865
- approval_level?: Prisma.ApprovalLevelCreateNestedOneWithoutApproval_level_escalationInput
866
- user?: Prisma.UserCreateNestedOneWithoutApproval_level_escalationInput
867
- }
868
-
869
- export type ApprovalLevelEscalationUncheckedCreateWithoutApproval_level_escalation_usersInput = {
870
- id?: number
871
- uuid?: string | null
872
- approval_level_id?: number | null
873
- escalation_approver_id?: number | null
874
- valid_till_hours?: number | null
875
- valid_till_minutes?: number | null
876
- is_active?: boolean
877
- is_deleted?: boolean
878
- created_at?: Date | string
879
- created_by?: number | null
880
- updated_at?: Date | string | null
881
- updated_by?: number | null
882
- deleted_at?: Date | string | null
883
- deleted_by?: number | null
884
- }
885
-
886
- export type ApprovalLevelEscalationCreateOrConnectWithoutApproval_level_escalation_usersInput = {
887
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
888
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_level_escalation_usersInput>
889
- }
890
-
891
- export type ApprovalLevelEscalationUpsertWithoutApproval_level_escalation_usersInput = {
892
- update: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutApproval_level_escalation_usersInput>
893
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedCreateWithoutApproval_level_escalation_usersInput>
894
- where?: Prisma.ApprovalLevelEscalationWhereInput
895
- }
896
-
897
- export type ApprovalLevelEscalationUpdateToOneWithWhereWithoutApproval_level_escalation_usersInput = {
898
- where?: Prisma.ApprovalLevelEscalationWhereInput
899
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateWithoutApproval_level_escalation_usersInput, Prisma.ApprovalLevelEscalationUncheckedUpdateWithoutApproval_level_escalation_usersInput>
900
- }
901
-
902
- export type ApprovalLevelEscalationUpdateWithoutApproval_level_escalation_usersInput = {
903
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
904
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
905
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
906
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
907
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
908
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
909
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
910
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
911
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
912
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
913
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
914
- approval_level?: Prisma.ApprovalLevelUpdateOneWithoutApproval_level_escalationNestedInput
915
- user?: Prisma.UserUpdateOneWithoutApproval_level_escalationNestedInput
916
- }
917
-
918
- export type ApprovalLevelEscalationUncheckedUpdateWithoutApproval_level_escalation_usersInput = {
919
- id?: Prisma.IntFieldUpdateOperationsInput | number
920
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
921
- approval_level_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
922
- escalation_approver_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
923
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
924
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
925
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
926
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
927
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
928
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
929
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
930
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
931
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
932
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
933
- }
934
-
935
- export type ApprovalLevelEscalationCreateManyUserInput = {
936
- id?: number
937
- uuid?: string | null
938
- approval_level_id?: number | null
939
- valid_till_hours?: number | null
940
- valid_till_minutes?: number | null
941
- is_active?: boolean
942
- is_deleted?: boolean
943
- created_at?: Date | string
944
- created_by?: number | null
945
- updated_at?: Date | string | null
946
- updated_by?: number | null
947
- deleted_at?: Date | string | null
948
- deleted_by?: number | null
949
- }
950
-
951
- export type ApprovalLevelEscalationUpdateWithoutUserInput = {
952
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
953
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
954
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
955
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
956
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
957
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
958
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
959
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
960
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
961
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
962
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
963
- approval_level?: Prisma.ApprovalLevelUpdateOneWithoutApproval_level_escalationNestedInput
964
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUpdateManyWithoutApproval_level_escalationNestedInput
965
- }
966
-
967
- export type ApprovalLevelEscalationUncheckedUpdateWithoutUserInput = {
968
- id?: Prisma.IntFieldUpdateOperationsInput | number
969
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
970
- approval_level_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
971
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
972
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
973
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
974
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
975
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
976
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
977
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
978
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
979
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
980
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
981
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedUpdateManyWithoutApproval_level_escalationNestedInput
982
- }
983
-
984
- export type ApprovalLevelEscalationUncheckedUpdateManyWithoutUserInput = {
985
- id?: Prisma.IntFieldUpdateOperationsInput | number
986
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
987
- approval_level_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
988
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
989
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
990
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
991
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
992
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
993
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
994
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
995
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
996
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
997
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
998
- }
999
-
1000
- export type ApprovalLevelEscalationCreateManyApproval_levelInput = {
1001
- id?: number
1002
- uuid?: string | null
1003
- escalation_approver_id?: number | null
1004
- valid_till_hours?: number | null
1005
- valid_till_minutes?: number | null
1006
- is_active?: boolean
1007
- is_deleted?: boolean
1008
- created_at?: Date | string
1009
- created_by?: number | null
1010
- updated_at?: Date | string | null
1011
- updated_by?: number | null
1012
- deleted_at?: Date | string | null
1013
- deleted_by?: number | null
1014
- }
1015
-
1016
- export type ApprovalLevelEscalationUpdateWithoutApproval_levelInput = {
1017
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1018
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1019
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1020
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1021
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1022
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1023
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1024
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1025
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1026
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1027
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1028
- user?: Prisma.UserUpdateOneWithoutApproval_level_escalationNestedInput
1029
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUpdateManyWithoutApproval_level_escalationNestedInput
1030
- }
1031
-
1032
- export type ApprovalLevelEscalationUncheckedUpdateWithoutApproval_levelInput = {
1033
- id?: Prisma.IntFieldUpdateOperationsInput | number
1034
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1035
- escalation_approver_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1036
- valid_till_hours?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1037
- valid_till_minutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1038
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1039
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1040
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1041
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1042
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1043
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1044
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1045
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1046
- approval_level_escalation_users?: Prisma.ApprovalLevelEscalationUserUncheckedUpdateManyWithoutApproval_level_escalationNestedInput
1047
- }
1048
-
1049
- export type ApprovalLevelEscalationUncheckedUpdateManyWithoutApproval_levelInput = {
1050
- id?: Prisma.IntFieldUpdateOperationsInput | number
1051
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1052
- escalation_approver_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | 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
- }
1064
-
1065
-
1066
- /**
1067
- * Count Type ApprovalLevelEscalationCountOutputType
1068
- */
1069
-
1070
- export type ApprovalLevelEscalationCountOutputType = {
1071
- approval_level_escalation_users: number
1072
- }
1073
-
1074
- export type ApprovalLevelEscalationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1075
- approval_level_escalation_users?: boolean | ApprovalLevelEscalationCountOutputTypeCountApproval_level_escalation_usersArgs
1076
- }
1077
-
1078
- /**
1079
- * ApprovalLevelEscalationCountOutputType without action
1080
- */
1081
- export type ApprovalLevelEscalationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1082
- /**
1083
- * Select specific fields to fetch from the ApprovalLevelEscalationCountOutputType
1084
- */
1085
- select?: Prisma.ApprovalLevelEscalationCountOutputTypeSelect<ExtArgs> | null
1086
- }
1087
-
1088
- /**
1089
- * ApprovalLevelEscalationCountOutputType without action
1090
- */
1091
- export type ApprovalLevelEscalationCountOutputTypeCountApproval_level_escalation_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1092
- where?: Prisma.ApprovalLevelEscalationUserWhereInput
1093
- }
1094
-
1095
-
1096
- export type ApprovalLevelEscalationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1097
- id?: boolean
1098
- uuid?: boolean
1099
- approval_level_id?: boolean
1100
- escalation_approver_id?: boolean
1101
- valid_till_hours?: boolean
1102
- valid_till_minutes?: boolean
1103
- is_active?: boolean
1104
- is_deleted?: boolean
1105
- created_at?: boolean
1106
- created_by?: boolean
1107
- updated_at?: boolean
1108
- updated_by?: boolean
1109
- deleted_at?: boolean
1110
- deleted_by?: boolean
1111
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1112
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1113
- approval_level_escalation_users?: boolean | Prisma.ApprovalLevelEscalation$approval_level_escalation_usersArgs<ExtArgs>
1114
- _count?: boolean | Prisma.ApprovalLevelEscalationCountOutputTypeDefaultArgs<ExtArgs>
1115
- }, ExtArgs["result"]["approvalLevelEscalation"]>
1116
-
1117
- export type ApprovalLevelEscalationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1118
- id?: boolean
1119
- uuid?: boolean
1120
- approval_level_id?: boolean
1121
- escalation_approver_id?: boolean
1122
- valid_till_hours?: boolean
1123
- valid_till_minutes?: boolean
1124
- is_active?: boolean
1125
- is_deleted?: boolean
1126
- created_at?: boolean
1127
- created_by?: boolean
1128
- updated_at?: boolean
1129
- updated_by?: boolean
1130
- deleted_at?: boolean
1131
- deleted_by?: boolean
1132
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1133
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1134
- }, ExtArgs["result"]["approvalLevelEscalation"]>
1135
-
1136
- export type ApprovalLevelEscalationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1137
- id?: boolean
1138
- uuid?: boolean
1139
- approval_level_id?: boolean
1140
- escalation_approver_id?: boolean
1141
- valid_till_hours?: boolean
1142
- valid_till_minutes?: boolean
1143
- is_active?: boolean
1144
- is_deleted?: boolean
1145
- created_at?: boolean
1146
- created_by?: boolean
1147
- updated_at?: boolean
1148
- updated_by?: boolean
1149
- deleted_at?: boolean
1150
- deleted_by?: boolean
1151
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1152
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1153
- }, ExtArgs["result"]["approvalLevelEscalation"]>
1154
-
1155
- export type ApprovalLevelEscalationSelectScalar = {
1156
- id?: boolean
1157
- uuid?: boolean
1158
- approval_level_id?: boolean
1159
- escalation_approver_id?: boolean
1160
- valid_till_hours?: boolean
1161
- valid_till_minutes?: boolean
1162
- is_active?: boolean
1163
- is_deleted?: boolean
1164
- created_at?: boolean
1165
- created_by?: boolean
1166
- updated_at?: boolean
1167
- updated_by?: boolean
1168
- deleted_at?: boolean
1169
- deleted_by?: boolean
1170
- }
1171
-
1172
- export type ApprovalLevelEscalationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "approval_level_id" | "escalation_approver_id" | "valid_till_hours" | "valid_till_minutes" | "is_active" | "is_deleted" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["approvalLevelEscalation"]>
1173
- export type ApprovalLevelEscalationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1175
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1176
- approval_level_escalation_users?: boolean | Prisma.ApprovalLevelEscalation$approval_level_escalation_usersArgs<ExtArgs>
1177
- _count?: boolean | Prisma.ApprovalLevelEscalationCountOutputTypeDefaultArgs<ExtArgs>
1178
- }
1179
- export type ApprovalLevelEscalationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1180
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1181
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1182
- }
1183
- export type ApprovalLevelEscalationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1184
- approval_level?: boolean | Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>
1185
- user?: boolean | Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>
1186
- }
1187
-
1188
- export type $ApprovalLevelEscalationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1189
- name: "ApprovalLevelEscalation"
1190
- objects: {
1191
- approval_level: Prisma.$ApprovalLevelPayload<ExtArgs> | null
1192
- user: Prisma.$UserPayload<ExtArgs> | null
1193
- approval_level_escalation_users: Prisma.$ApprovalLevelEscalationUserPayload<ExtArgs>[]
1194
- }
1195
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1196
- id: number
1197
- uuid: string | null
1198
- approval_level_id: number | null
1199
- escalation_approver_id: number | null
1200
- valid_till_hours: number | null
1201
- valid_till_minutes: number | null
1202
- is_active: boolean
1203
- is_deleted: boolean
1204
- created_at: Date
1205
- created_by: number | null
1206
- updated_at: Date | null
1207
- updated_by: number | null
1208
- deleted_at: Date | null
1209
- deleted_by: number | null
1210
- }, ExtArgs["result"]["approvalLevelEscalation"]>
1211
- composites: {}
1212
- }
1213
-
1214
- export type ApprovalLevelEscalationGetPayload<S extends boolean | null | undefined | ApprovalLevelEscalationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload, S>
1215
-
1216
- export type ApprovalLevelEscalationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1217
- Omit<ApprovalLevelEscalationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1218
- select?: ApprovalLevelEscalationCountAggregateInputType | true
1219
- }
1220
-
1221
- export interface ApprovalLevelEscalationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1222
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalLevelEscalation'], meta: { name: 'ApprovalLevelEscalation' } }
1223
- /**
1224
- * Find zero or one ApprovalLevelEscalation that matches the filter.
1225
- * @param {ApprovalLevelEscalationFindUniqueArgs} args - Arguments to find a ApprovalLevelEscalation
1226
- * @example
1227
- * // Get one ApprovalLevelEscalation
1228
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.findUnique({
1229
- * where: {
1230
- * // ... provide filter here
1231
- * }
1232
- * })
1233
- */
1234
- findUnique<T extends ApprovalLevelEscalationFindUniqueArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1235
-
1236
- /**
1237
- * Find one ApprovalLevelEscalation that matches the filter or throw an error with `error.code='P2025'`
1238
- * if no matches were found.
1239
- * @param {ApprovalLevelEscalationFindUniqueOrThrowArgs} args - Arguments to find a ApprovalLevelEscalation
1240
- * @example
1241
- * // Get one ApprovalLevelEscalation
1242
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.findUniqueOrThrow({
1243
- * where: {
1244
- * // ... provide filter here
1245
- * }
1246
- * })
1247
- */
1248
- findUniqueOrThrow<T extends ApprovalLevelEscalationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1249
-
1250
- /**
1251
- * Find the first ApprovalLevelEscalation that matches the filter.
1252
- * Note, that providing `undefined` is treated as the value not being there.
1253
- * Read more here: https://pris.ly/d/null-undefined
1254
- * @param {ApprovalLevelEscalationFindFirstArgs} args - Arguments to find a ApprovalLevelEscalation
1255
- * @example
1256
- * // Get one ApprovalLevelEscalation
1257
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.findFirst({
1258
- * where: {
1259
- * // ... provide filter here
1260
- * }
1261
- * })
1262
- */
1263
- findFirst<T extends ApprovalLevelEscalationFindFirstArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1264
-
1265
- /**
1266
- * Find the first ApprovalLevelEscalation that matches the filter or
1267
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1268
- * Note, that providing `undefined` is treated as the value not being there.
1269
- * Read more here: https://pris.ly/d/null-undefined
1270
- * @param {ApprovalLevelEscalationFindFirstOrThrowArgs} args - Arguments to find a ApprovalLevelEscalation
1271
- * @example
1272
- * // Get one ApprovalLevelEscalation
1273
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.findFirstOrThrow({
1274
- * where: {
1275
- * // ... provide filter here
1276
- * }
1277
- * })
1278
- */
1279
- findFirstOrThrow<T extends ApprovalLevelEscalationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1280
-
1281
- /**
1282
- * Find zero or more ApprovalLevelEscalations that matches the filter.
1283
- * Note, that providing `undefined` is treated as the value not being there.
1284
- * Read more here: https://pris.ly/d/null-undefined
1285
- * @param {ApprovalLevelEscalationFindManyArgs} args - Arguments to filter and select certain fields only.
1286
- * @example
1287
- * // Get all ApprovalLevelEscalations
1288
- * const approvalLevelEscalations = await prisma.approvalLevelEscalation.findMany()
1289
- *
1290
- * // Get first 10 ApprovalLevelEscalations
1291
- * const approvalLevelEscalations = await prisma.approvalLevelEscalation.findMany({ take: 10 })
1292
- *
1293
- * // Only select the `id`
1294
- * const approvalLevelEscalationWithIdOnly = await prisma.approvalLevelEscalation.findMany({ select: { id: true } })
1295
- *
1296
- */
1297
- findMany<T extends ApprovalLevelEscalationFindManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1298
-
1299
- /**
1300
- * Create a ApprovalLevelEscalation.
1301
- * @param {ApprovalLevelEscalationCreateArgs} args - Arguments to create a ApprovalLevelEscalation.
1302
- * @example
1303
- * // Create one ApprovalLevelEscalation
1304
- * const ApprovalLevelEscalation = await prisma.approvalLevelEscalation.create({
1305
- * data: {
1306
- * // ... data to create a ApprovalLevelEscalation
1307
- * }
1308
- * })
1309
- *
1310
- */
1311
- create<T extends ApprovalLevelEscalationCreateArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationCreateArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1312
-
1313
- /**
1314
- * Create many ApprovalLevelEscalations.
1315
- * @param {ApprovalLevelEscalationCreateManyArgs} args - Arguments to create many ApprovalLevelEscalations.
1316
- * @example
1317
- * // Create many ApprovalLevelEscalations
1318
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.createMany({
1319
- * data: [
1320
- * // ... provide data here
1321
- * ]
1322
- * })
1323
- *
1324
- */
1325
- createMany<T extends ApprovalLevelEscalationCreateManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1326
-
1327
- /**
1328
- * Create many ApprovalLevelEscalations and returns the data saved in the database.
1329
- * @param {ApprovalLevelEscalationCreateManyAndReturnArgs} args - Arguments to create many ApprovalLevelEscalations.
1330
- * @example
1331
- * // Create many ApprovalLevelEscalations
1332
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.createManyAndReturn({
1333
- * data: [
1334
- * // ... provide data here
1335
- * ]
1336
- * })
1337
- *
1338
- * // Create many ApprovalLevelEscalations and only return the `id`
1339
- * const approvalLevelEscalationWithIdOnly = await prisma.approvalLevelEscalation.createManyAndReturn({
1340
- * select: { id: true },
1341
- * data: [
1342
- * // ... provide data here
1343
- * ]
1344
- * })
1345
- * Note, that providing `undefined` is treated as the value not being there.
1346
- * Read more here: https://pris.ly/d/null-undefined
1347
- *
1348
- */
1349
- createManyAndReturn<T extends ApprovalLevelEscalationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1350
-
1351
- /**
1352
- * Delete a ApprovalLevelEscalation.
1353
- * @param {ApprovalLevelEscalationDeleteArgs} args - Arguments to delete one ApprovalLevelEscalation.
1354
- * @example
1355
- * // Delete one ApprovalLevelEscalation
1356
- * const ApprovalLevelEscalation = await prisma.approvalLevelEscalation.delete({
1357
- * where: {
1358
- * // ... filter to delete one ApprovalLevelEscalation
1359
- * }
1360
- * })
1361
- *
1362
- */
1363
- delete<T extends ApprovalLevelEscalationDeleteArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationDeleteArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1364
-
1365
- /**
1366
- * Update one ApprovalLevelEscalation.
1367
- * @param {ApprovalLevelEscalationUpdateArgs} args - Arguments to update one ApprovalLevelEscalation.
1368
- * @example
1369
- * // Update one ApprovalLevelEscalation
1370
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.update({
1371
- * where: {
1372
- * // ... provide filter here
1373
- * },
1374
- * data: {
1375
- * // ... provide data here
1376
- * }
1377
- * })
1378
- *
1379
- */
1380
- update<T extends ApprovalLevelEscalationUpdateArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationUpdateArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1381
-
1382
- /**
1383
- * Delete zero or more ApprovalLevelEscalations.
1384
- * @param {ApprovalLevelEscalationDeleteManyArgs} args - Arguments to filter ApprovalLevelEscalations to delete.
1385
- * @example
1386
- * // Delete a few ApprovalLevelEscalations
1387
- * const { count } = await prisma.approvalLevelEscalation.deleteMany({
1388
- * where: {
1389
- * // ... provide filter here
1390
- * }
1391
- * })
1392
- *
1393
- */
1394
- deleteMany<T extends ApprovalLevelEscalationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApprovalLevelEscalationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1395
-
1396
- /**
1397
- * Update zero or more ApprovalLevelEscalations.
1398
- * Note, that providing `undefined` is treated as the value not being there.
1399
- * Read more here: https://pris.ly/d/null-undefined
1400
- * @param {ApprovalLevelEscalationUpdateManyArgs} args - Arguments to update one or more rows.
1401
- * @example
1402
- * // Update many ApprovalLevelEscalations
1403
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.updateMany({
1404
- * where: {
1405
- * // ... provide filter here
1406
- * },
1407
- * data: {
1408
- * // ... provide data here
1409
- * }
1410
- * })
1411
- *
1412
- */
1413
- updateMany<T extends ApprovalLevelEscalationUpdateManyArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1414
-
1415
- /**
1416
- * Update zero or more ApprovalLevelEscalations and returns the data updated in the database.
1417
- * @param {ApprovalLevelEscalationUpdateManyAndReturnArgs} args - Arguments to update many ApprovalLevelEscalations.
1418
- * @example
1419
- * // Update many ApprovalLevelEscalations
1420
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.updateManyAndReturn({
1421
- * where: {
1422
- * // ... provide filter here
1423
- * },
1424
- * data: [
1425
- * // ... provide data here
1426
- * ]
1427
- * })
1428
- *
1429
- * // Update zero or more ApprovalLevelEscalations and only return the `id`
1430
- * const approvalLevelEscalationWithIdOnly = await prisma.approvalLevelEscalation.updateManyAndReturn({
1431
- * select: { id: true },
1432
- * where: {
1433
- * // ... provide filter here
1434
- * },
1435
- * data: [
1436
- * // ... provide data here
1437
- * ]
1438
- * })
1439
- * Note, that providing `undefined` is treated as the value not being there.
1440
- * Read more here: https://pris.ly/d/null-undefined
1441
- *
1442
- */
1443
- updateManyAndReturn<T extends ApprovalLevelEscalationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1444
-
1445
- /**
1446
- * Create or update one ApprovalLevelEscalation.
1447
- * @param {ApprovalLevelEscalationUpsertArgs} args - Arguments to update or create a ApprovalLevelEscalation.
1448
- * @example
1449
- * // Update or create a ApprovalLevelEscalation
1450
- * const approvalLevelEscalation = await prisma.approvalLevelEscalation.upsert({
1451
- * create: {
1452
- * // ... data to create a ApprovalLevelEscalation
1453
- * },
1454
- * update: {
1455
- * // ... in case it already exists, update
1456
- * },
1457
- * where: {
1458
- * // ... the filter for the ApprovalLevelEscalation we want to update
1459
- * }
1460
- * })
1461
- */
1462
- upsert<T extends ApprovalLevelEscalationUpsertArgs>(args: Prisma.SelectSubset<T, ApprovalLevelEscalationUpsertArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelEscalationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1463
-
1464
-
1465
- /**
1466
- * Count the number of ApprovalLevelEscalations.
1467
- * Note, that providing `undefined` is treated as the value not being there.
1468
- * Read more here: https://pris.ly/d/null-undefined
1469
- * @param {ApprovalLevelEscalationCountArgs} args - Arguments to filter ApprovalLevelEscalations to count.
1470
- * @example
1471
- * // Count the number of ApprovalLevelEscalations
1472
- * const count = await prisma.approvalLevelEscalation.count({
1473
- * where: {
1474
- * // ... the filter for the ApprovalLevelEscalations we want to count
1475
- * }
1476
- * })
1477
- **/
1478
- count<T extends ApprovalLevelEscalationCountArgs>(
1479
- args?: Prisma.Subset<T, ApprovalLevelEscalationCountArgs>,
1480
- ): Prisma.PrismaPromise<
1481
- T extends runtime.Types.Utils.Record<'select', any>
1482
- ? T['select'] extends true
1483
- ? number
1484
- : Prisma.GetScalarType<T['select'], ApprovalLevelEscalationCountAggregateOutputType>
1485
- : number
1486
- >
1487
-
1488
- /**
1489
- * Allows you to perform aggregations operations on a ApprovalLevelEscalation.
1490
- * Note, that providing `undefined` is treated as the value not being there.
1491
- * Read more here: https://pris.ly/d/null-undefined
1492
- * @param {ApprovalLevelEscalationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1493
- * @example
1494
- * // Ordered by age ascending
1495
- * // Where email contains prisma.io
1496
- * // Limited to the 10 users
1497
- * const aggregations = await prisma.user.aggregate({
1498
- * _avg: {
1499
- * age: true,
1500
- * },
1501
- * where: {
1502
- * email: {
1503
- * contains: "prisma.io",
1504
- * },
1505
- * },
1506
- * orderBy: {
1507
- * age: "asc",
1508
- * },
1509
- * take: 10,
1510
- * })
1511
- **/
1512
- aggregate<T extends ApprovalLevelEscalationAggregateArgs>(args: Prisma.Subset<T, ApprovalLevelEscalationAggregateArgs>): Prisma.PrismaPromise<GetApprovalLevelEscalationAggregateType<T>>
1513
-
1514
- /**
1515
- * Group by ApprovalLevelEscalation.
1516
- * Note, that providing `undefined` is treated as the value not being there.
1517
- * Read more here: https://pris.ly/d/null-undefined
1518
- * @param {ApprovalLevelEscalationGroupByArgs} args - Group by arguments.
1519
- * @example
1520
- * // Group by city, order by createdAt, get count
1521
- * const result = await prisma.user.groupBy({
1522
- * by: ['city', 'createdAt'],
1523
- * orderBy: {
1524
- * createdAt: true
1525
- * },
1526
- * _count: {
1527
- * _all: true
1528
- * },
1529
- * })
1530
- *
1531
- **/
1532
- groupBy<
1533
- T extends ApprovalLevelEscalationGroupByArgs,
1534
- HasSelectOrTake extends Prisma.Or<
1535
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1536
- Prisma.Extends<'take', Prisma.Keys<T>>
1537
- >,
1538
- OrderByArg extends Prisma.True extends HasSelectOrTake
1539
- ? { orderBy: ApprovalLevelEscalationGroupByArgs['orderBy'] }
1540
- : { orderBy?: ApprovalLevelEscalationGroupByArgs['orderBy'] },
1541
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1542
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1543
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1544
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1545
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1546
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1547
- InputErrors extends ByEmpty extends Prisma.True
1548
- ? `Error: "by" must not be empty.`
1549
- : HavingValid extends Prisma.False
1550
- ? {
1551
- [P in HavingFields]: P extends ByFields
1552
- ? never
1553
- : P extends string
1554
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1555
- : [
1556
- Error,
1557
- 'Field ',
1558
- P,
1559
- ` in "having" needs to be provided in "by"`,
1560
- ]
1561
- }[HavingFields]
1562
- : 'take' extends Prisma.Keys<T>
1563
- ? 'orderBy' extends Prisma.Keys<T>
1564
- ? ByValid extends Prisma.True
1565
- ? {}
1566
- : {
1567
- [P in OrderFields]: P extends ByFields
1568
- ? never
1569
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1570
- }[OrderFields]
1571
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1572
- : 'skip' extends Prisma.Keys<T>
1573
- ? 'orderBy' extends Prisma.Keys<T>
1574
- ? ByValid extends Prisma.True
1575
- ? {}
1576
- : {
1577
- [P in OrderFields]: P extends ByFields
1578
- ? never
1579
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1580
- }[OrderFields]
1581
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1582
- : ByValid extends Prisma.True
1583
- ? {}
1584
- : {
1585
- [P in OrderFields]: P extends ByFields
1586
- ? never
1587
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1588
- }[OrderFields]
1589
- >(args: Prisma.SubsetIntersection<T, ApprovalLevelEscalationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalLevelEscalationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1590
- /**
1591
- * Fields of the ApprovalLevelEscalation model
1592
- */
1593
- readonly fields: ApprovalLevelEscalationFieldRefs;
1594
- }
1595
-
1596
- /**
1597
- * The delegate class that acts as a "Promise-like" for ApprovalLevelEscalation.
1598
- * Why is this prefixed with `Prisma__`?
1599
- * Because we want to prevent naming conflicts as mentioned in
1600
- * https://github.com/prisma/prisma-client-js/issues/707
1601
- */
1602
- export interface Prisma__ApprovalLevelEscalationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1603
- readonly [Symbol.toStringTag]: "PrismaPromise"
1604
- approval_level<T extends Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevelEscalation$approval_levelArgs<ExtArgs>>): Prisma.Prisma__ApprovalLevelClient<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1605
- user<T extends Prisma.ApprovalLevelEscalation$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevelEscalation$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1606
- approval_level_escalation_users<T extends Prisma.ApprovalLevelEscalation$approval_level_escalation_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalLevelEscalation$approval_level_escalation_usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalLevelEscalationUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1607
- /**
1608
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1609
- * @param onfulfilled The callback to execute when the Promise is resolved.
1610
- * @param onrejected The callback to execute when the Promise is rejected.
1611
- * @returns A Promise for the completion of which ever callback is executed.
1612
- */
1613
- 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>
1614
- /**
1615
- * Attaches a callback for only the rejection of the Promise.
1616
- * @param onrejected The callback to execute when the Promise is rejected.
1617
- * @returns A Promise for the completion of the callback.
1618
- */
1619
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1620
- /**
1621
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1622
- * resolved value cannot be modified from the callback.
1623
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1624
- * @returns A Promise for the completion of the callback.
1625
- */
1626
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1627
- }
1628
-
1629
-
1630
-
1631
-
1632
- /**
1633
- * Fields of the ApprovalLevelEscalation model
1634
- */
1635
- export interface ApprovalLevelEscalationFieldRefs {
1636
- readonly id: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1637
- readonly uuid: Prisma.FieldRef<"ApprovalLevelEscalation", 'String'>
1638
- readonly approval_level_id: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1639
- readonly escalation_approver_id: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1640
- readonly valid_till_hours: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1641
- readonly valid_till_minutes: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1642
- readonly is_active: Prisma.FieldRef<"ApprovalLevelEscalation", 'Boolean'>
1643
- readonly is_deleted: Prisma.FieldRef<"ApprovalLevelEscalation", 'Boolean'>
1644
- readonly created_at: Prisma.FieldRef<"ApprovalLevelEscalation", 'DateTime'>
1645
- readonly created_by: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1646
- readonly updated_at: Prisma.FieldRef<"ApprovalLevelEscalation", 'DateTime'>
1647
- readonly updated_by: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1648
- readonly deleted_at: Prisma.FieldRef<"ApprovalLevelEscalation", 'DateTime'>
1649
- readonly deleted_by: Prisma.FieldRef<"ApprovalLevelEscalation", 'Int'>
1650
- }
1651
-
1652
-
1653
- // Custom InputTypes
1654
- /**
1655
- * ApprovalLevelEscalation findUnique
1656
- */
1657
- export type ApprovalLevelEscalationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1658
- /**
1659
- * Select specific fields to fetch from the ApprovalLevelEscalation
1660
- */
1661
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1662
- /**
1663
- * Omit specific fields from the ApprovalLevelEscalation
1664
- */
1665
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1666
- /**
1667
- * Choose, which related nodes to fetch as well
1668
- */
1669
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1670
- /**
1671
- * Filter, which ApprovalLevelEscalation to fetch.
1672
- */
1673
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
1674
- }
1675
-
1676
- /**
1677
- * ApprovalLevelEscalation findUniqueOrThrow
1678
- */
1679
- export type ApprovalLevelEscalationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1680
- /**
1681
- * Select specific fields to fetch from the ApprovalLevelEscalation
1682
- */
1683
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1684
- /**
1685
- * Omit specific fields from the ApprovalLevelEscalation
1686
- */
1687
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1688
- /**
1689
- * Choose, which related nodes to fetch as well
1690
- */
1691
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1692
- /**
1693
- * Filter, which ApprovalLevelEscalation to fetch.
1694
- */
1695
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
1696
- }
1697
-
1698
- /**
1699
- * ApprovalLevelEscalation findFirst
1700
- */
1701
- export type ApprovalLevelEscalationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1702
- /**
1703
- * Select specific fields to fetch from the ApprovalLevelEscalation
1704
- */
1705
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1706
- /**
1707
- * Omit specific fields from the ApprovalLevelEscalation
1708
- */
1709
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1710
- /**
1711
- * Choose, which related nodes to fetch as well
1712
- */
1713
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1714
- /**
1715
- * Filter, which ApprovalLevelEscalation to fetch.
1716
- */
1717
- where?: Prisma.ApprovalLevelEscalationWhereInput
1718
- /**
1719
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1720
- *
1721
- * Determine the order of ApprovalLevelEscalations to fetch.
1722
- */
1723
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithRelationInput | Prisma.ApprovalLevelEscalationOrderByWithRelationInput[]
1724
- /**
1725
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1726
- *
1727
- * Sets the position for searching for ApprovalLevelEscalations.
1728
- */
1729
- cursor?: Prisma.ApprovalLevelEscalationWhereUniqueInput
1730
- /**
1731
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1732
- *
1733
- * Take `±n` ApprovalLevelEscalations from the position of the cursor.
1734
- */
1735
- take?: number
1736
- /**
1737
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1738
- *
1739
- * Skip the first `n` ApprovalLevelEscalations.
1740
- */
1741
- skip?: number
1742
- /**
1743
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1744
- *
1745
- * Filter by unique combinations of ApprovalLevelEscalations.
1746
- */
1747
- distinct?: Prisma.ApprovalLevelEscalationScalarFieldEnum | Prisma.ApprovalLevelEscalationScalarFieldEnum[]
1748
- }
1749
-
1750
- /**
1751
- * ApprovalLevelEscalation findFirstOrThrow
1752
- */
1753
- export type ApprovalLevelEscalationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1754
- /**
1755
- * Select specific fields to fetch from the ApprovalLevelEscalation
1756
- */
1757
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1758
- /**
1759
- * Omit specific fields from the ApprovalLevelEscalation
1760
- */
1761
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1762
- /**
1763
- * Choose, which related nodes to fetch as well
1764
- */
1765
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1766
- /**
1767
- * Filter, which ApprovalLevelEscalation to fetch.
1768
- */
1769
- where?: Prisma.ApprovalLevelEscalationWhereInput
1770
- /**
1771
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1772
- *
1773
- * Determine the order of ApprovalLevelEscalations to fetch.
1774
- */
1775
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithRelationInput | Prisma.ApprovalLevelEscalationOrderByWithRelationInput[]
1776
- /**
1777
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1778
- *
1779
- * Sets the position for searching for ApprovalLevelEscalations.
1780
- */
1781
- cursor?: Prisma.ApprovalLevelEscalationWhereUniqueInput
1782
- /**
1783
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1784
- *
1785
- * Take `±n` ApprovalLevelEscalations from the position of the cursor.
1786
- */
1787
- take?: number
1788
- /**
1789
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1790
- *
1791
- * Skip the first `n` ApprovalLevelEscalations.
1792
- */
1793
- skip?: number
1794
- /**
1795
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1796
- *
1797
- * Filter by unique combinations of ApprovalLevelEscalations.
1798
- */
1799
- distinct?: Prisma.ApprovalLevelEscalationScalarFieldEnum | Prisma.ApprovalLevelEscalationScalarFieldEnum[]
1800
- }
1801
-
1802
- /**
1803
- * ApprovalLevelEscalation findMany
1804
- */
1805
- export type ApprovalLevelEscalationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1806
- /**
1807
- * Select specific fields to fetch from the ApprovalLevelEscalation
1808
- */
1809
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1810
- /**
1811
- * Omit specific fields from the ApprovalLevelEscalation
1812
- */
1813
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1814
- /**
1815
- * Choose, which related nodes to fetch as well
1816
- */
1817
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1818
- /**
1819
- * Filter, which ApprovalLevelEscalations to fetch.
1820
- */
1821
- where?: Prisma.ApprovalLevelEscalationWhereInput
1822
- /**
1823
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1824
- *
1825
- * Determine the order of ApprovalLevelEscalations to fetch.
1826
- */
1827
- orderBy?: Prisma.ApprovalLevelEscalationOrderByWithRelationInput | Prisma.ApprovalLevelEscalationOrderByWithRelationInput[]
1828
- /**
1829
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1830
- *
1831
- * Sets the position for listing ApprovalLevelEscalations.
1832
- */
1833
- cursor?: Prisma.ApprovalLevelEscalationWhereUniqueInput
1834
- /**
1835
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1836
- *
1837
- * Take `±n` ApprovalLevelEscalations from the position of the cursor.
1838
- */
1839
- take?: number
1840
- /**
1841
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1842
- *
1843
- * Skip the first `n` ApprovalLevelEscalations.
1844
- */
1845
- skip?: number
1846
- /**
1847
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1848
- *
1849
- * Filter by unique combinations of ApprovalLevelEscalations.
1850
- */
1851
- distinct?: Prisma.ApprovalLevelEscalationScalarFieldEnum | Prisma.ApprovalLevelEscalationScalarFieldEnum[]
1852
- }
1853
-
1854
- /**
1855
- * ApprovalLevelEscalation create
1856
- */
1857
- export type ApprovalLevelEscalationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1858
- /**
1859
- * Select specific fields to fetch from the ApprovalLevelEscalation
1860
- */
1861
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1862
- /**
1863
- * Omit specific fields from the ApprovalLevelEscalation
1864
- */
1865
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1866
- /**
1867
- * Choose, which related nodes to fetch as well
1868
- */
1869
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1870
- /**
1871
- * The data needed to create a ApprovalLevelEscalation.
1872
- */
1873
- data?: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateInput, Prisma.ApprovalLevelEscalationUncheckedCreateInput>
1874
- }
1875
-
1876
- /**
1877
- * ApprovalLevelEscalation createMany
1878
- */
1879
- export type ApprovalLevelEscalationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1880
- /**
1881
- * The data used to create many ApprovalLevelEscalations.
1882
- */
1883
- data: Prisma.ApprovalLevelEscalationCreateManyInput | Prisma.ApprovalLevelEscalationCreateManyInput[]
1884
- skipDuplicates?: boolean
1885
- }
1886
-
1887
- /**
1888
- * ApprovalLevelEscalation createManyAndReturn
1889
- */
1890
- export type ApprovalLevelEscalationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1891
- /**
1892
- * Select specific fields to fetch from the ApprovalLevelEscalation
1893
- */
1894
- select?: Prisma.ApprovalLevelEscalationSelectCreateManyAndReturn<ExtArgs> | null
1895
- /**
1896
- * Omit specific fields from the ApprovalLevelEscalation
1897
- */
1898
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1899
- /**
1900
- * The data used to create many ApprovalLevelEscalations.
1901
- */
1902
- data: Prisma.ApprovalLevelEscalationCreateManyInput | Prisma.ApprovalLevelEscalationCreateManyInput[]
1903
- skipDuplicates?: boolean
1904
- /**
1905
- * Choose, which related nodes to fetch as well
1906
- */
1907
- include?: Prisma.ApprovalLevelEscalationIncludeCreateManyAndReturn<ExtArgs> | null
1908
- }
1909
-
1910
- /**
1911
- * ApprovalLevelEscalation update
1912
- */
1913
- export type ApprovalLevelEscalationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1914
- /**
1915
- * Select specific fields to fetch from the ApprovalLevelEscalation
1916
- */
1917
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1918
- /**
1919
- * Omit specific fields from the ApprovalLevelEscalation
1920
- */
1921
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1922
- /**
1923
- * Choose, which related nodes to fetch as well
1924
- */
1925
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
1926
- /**
1927
- * The data needed to update a ApprovalLevelEscalation.
1928
- */
1929
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateInput, Prisma.ApprovalLevelEscalationUncheckedUpdateInput>
1930
- /**
1931
- * Choose, which ApprovalLevelEscalation to update.
1932
- */
1933
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
1934
- }
1935
-
1936
- /**
1937
- * ApprovalLevelEscalation updateMany
1938
- */
1939
- export type ApprovalLevelEscalationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1940
- /**
1941
- * The data used to update ApprovalLevelEscalations.
1942
- */
1943
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateManyMutationInput, Prisma.ApprovalLevelEscalationUncheckedUpdateManyInput>
1944
- /**
1945
- * Filter which ApprovalLevelEscalations to update
1946
- */
1947
- where?: Prisma.ApprovalLevelEscalationWhereInput
1948
- /**
1949
- * Limit how many ApprovalLevelEscalations to update.
1950
- */
1951
- limit?: number
1952
- }
1953
-
1954
- /**
1955
- * ApprovalLevelEscalation updateManyAndReturn
1956
- */
1957
- export type ApprovalLevelEscalationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1958
- /**
1959
- * Select specific fields to fetch from the ApprovalLevelEscalation
1960
- */
1961
- select?: Prisma.ApprovalLevelEscalationSelectUpdateManyAndReturn<ExtArgs> | null
1962
- /**
1963
- * Omit specific fields from the ApprovalLevelEscalation
1964
- */
1965
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1966
- /**
1967
- * The data used to update ApprovalLevelEscalations.
1968
- */
1969
- data: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateManyMutationInput, Prisma.ApprovalLevelEscalationUncheckedUpdateManyInput>
1970
- /**
1971
- * Filter which ApprovalLevelEscalations to update
1972
- */
1973
- where?: Prisma.ApprovalLevelEscalationWhereInput
1974
- /**
1975
- * Limit how many ApprovalLevelEscalations to update.
1976
- */
1977
- limit?: number
1978
- /**
1979
- * Choose, which related nodes to fetch as well
1980
- */
1981
- include?: Prisma.ApprovalLevelEscalationIncludeUpdateManyAndReturn<ExtArgs> | null
1982
- }
1983
-
1984
- /**
1985
- * ApprovalLevelEscalation upsert
1986
- */
1987
- export type ApprovalLevelEscalationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1988
- /**
1989
- * Select specific fields to fetch from the ApprovalLevelEscalation
1990
- */
1991
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
1992
- /**
1993
- * Omit specific fields from the ApprovalLevelEscalation
1994
- */
1995
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
1996
- /**
1997
- * Choose, which related nodes to fetch as well
1998
- */
1999
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
2000
- /**
2001
- * The filter to search for the ApprovalLevelEscalation to update in case it exists.
2002
- */
2003
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
2004
- /**
2005
- * In case the ApprovalLevelEscalation found by the `where` argument doesn't exist, create a new ApprovalLevelEscalation with this data.
2006
- */
2007
- create: Prisma.XOR<Prisma.ApprovalLevelEscalationCreateInput, Prisma.ApprovalLevelEscalationUncheckedCreateInput>
2008
- /**
2009
- * In case the ApprovalLevelEscalation was found with the provided `where` argument, update it with this data.
2010
- */
2011
- update: Prisma.XOR<Prisma.ApprovalLevelEscalationUpdateInput, Prisma.ApprovalLevelEscalationUncheckedUpdateInput>
2012
- }
2013
-
2014
- /**
2015
- * ApprovalLevelEscalation delete
2016
- */
2017
- export type ApprovalLevelEscalationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2018
- /**
2019
- * Select specific fields to fetch from the ApprovalLevelEscalation
2020
- */
2021
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
2022
- /**
2023
- * Omit specific fields from the ApprovalLevelEscalation
2024
- */
2025
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
2026
- /**
2027
- * Choose, which related nodes to fetch as well
2028
- */
2029
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
2030
- /**
2031
- * Filter which ApprovalLevelEscalation to delete.
2032
- */
2033
- where: Prisma.ApprovalLevelEscalationWhereUniqueInput
2034
- }
2035
-
2036
- /**
2037
- * ApprovalLevelEscalation deleteMany
2038
- */
2039
- export type ApprovalLevelEscalationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2040
- /**
2041
- * Filter which ApprovalLevelEscalations to delete
2042
- */
2043
- where?: Prisma.ApprovalLevelEscalationWhereInput
2044
- /**
2045
- * Limit how many ApprovalLevelEscalations to delete.
2046
- */
2047
- limit?: number
2048
- }
2049
-
2050
- /**
2051
- * ApprovalLevelEscalation.approval_level
2052
- */
2053
- export type ApprovalLevelEscalation$approval_levelArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2054
- /**
2055
- * Select specific fields to fetch from the ApprovalLevel
2056
- */
2057
- select?: Prisma.ApprovalLevelSelect<ExtArgs> | null
2058
- /**
2059
- * Omit specific fields from the ApprovalLevel
2060
- */
2061
- omit?: Prisma.ApprovalLevelOmit<ExtArgs> | null
2062
- /**
2063
- * Choose, which related nodes to fetch as well
2064
- */
2065
- include?: Prisma.ApprovalLevelInclude<ExtArgs> | null
2066
- where?: Prisma.ApprovalLevelWhereInput
2067
- }
2068
-
2069
- /**
2070
- * ApprovalLevelEscalation.user
2071
- */
2072
- export type ApprovalLevelEscalation$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2073
- /**
2074
- * Select specific fields to fetch from the User
2075
- */
2076
- select?: Prisma.UserSelect<ExtArgs> | null
2077
- /**
2078
- * Omit specific fields from the User
2079
- */
2080
- omit?: Prisma.UserOmit<ExtArgs> | null
2081
- /**
2082
- * Choose, which related nodes to fetch as well
2083
- */
2084
- include?: Prisma.UserInclude<ExtArgs> | null
2085
- where?: Prisma.UserWhereInput
2086
- }
2087
-
2088
- /**
2089
- * ApprovalLevelEscalation.approval_level_escalation_users
2090
- */
2091
- export type ApprovalLevelEscalation$approval_level_escalation_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2092
- /**
2093
- * Select specific fields to fetch from the ApprovalLevelEscalationUser
2094
- */
2095
- select?: Prisma.ApprovalLevelEscalationUserSelect<ExtArgs> | null
2096
- /**
2097
- * Omit specific fields from the ApprovalLevelEscalationUser
2098
- */
2099
- omit?: Prisma.ApprovalLevelEscalationUserOmit<ExtArgs> | null
2100
- /**
2101
- * Choose, which related nodes to fetch as well
2102
- */
2103
- include?: Prisma.ApprovalLevelEscalationUserInclude<ExtArgs> | null
2104
- where?: Prisma.ApprovalLevelEscalationUserWhereInput
2105
- orderBy?: Prisma.ApprovalLevelEscalationUserOrderByWithRelationInput | Prisma.ApprovalLevelEscalationUserOrderByWithRelationInput[]
2106
- cursor?: Prisma.ApprovalLevelEscalationUserWhereUniqueInput
2107
- take?: number
2108
- skip?: number
2109
- distinct?: Prisma.ApprovalLevelEscalationUserScalarFieldEnum | Prisma.ApprovalLevelEscalationUserScalarFieldEnum[]
2110
- }
2111
-
2112
- /**
2113
- * ApprovalLevelEscalation without action
2114
- */
2115
- export type ApprovalLevelEscalationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2116
- /**
2117
- * Select specific fields to fetch from the ApprovalLevelEscalation
2118
- */
2119
- select?: Prisma.ApprovalLevelEscalationSelect<ExtArgs> | null
2120
- /**
2121
- * Omit specific fields from the ApprovalLevelEscalation
2122
- */
2123
- omit?: Prisma.ApprovalLevelEscalationOmit<ExtArgs> | null
2124
- /**
2125
- * Choose, which related nodes to fetch as well
2126
- */
2127
- include?: Prisma.ApprovalLevelEscalationInclude<ExtArgs> | null
2128
- }