procbay-schema 1.0.171 → 1.0.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/package.json +13 -22
  2. package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
  3. package/prisma/schema.prisma +17 -7
  4. package/scripts/sync-schemas.js +1 -5
  5. package/src/create-prisma-client.js +9 -49
  6. package/src/prisma/client.d.ts +1 -0
  7. package/src/prisma/client.js +4 -0
  8. package/src/prisma/default.d.ts +1 -0
  9. package/src/prisma/default.js +4 -0
  10. package/src/prisma/edge.d.ts +1 -0
  11. package/src/prisma/edge.js +2911 -0
  12. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
  13. package/src/prisma/index.d.ts +286785 -0
  14. package/src/prisma/index.js +2940 -2
  15. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  16. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  17. package/src/prisma/package.json +140 -0
  18. package/src/prisma/query_engine-windows.dll.node +0 -0
  19. package/src/prisma/runtime/edge-esm.js +34 -0
  20. package/src/prisma/runtime/edge.js +34 -0
  21. package/src/prisma/runtime/index-browser.d.ts +370 -0
  22. package/src/prisma/runtime/index-browser.js +16 -0
  23. package/src/prisma/runtime/library.d.ts +3647 -0
  24. package/src/prisma/runtime/library.js +146 -0
  25. package/src/prisma/runtime/react-native.js +83 -0
  26. package/src/prisma/runtime/wasm.js +35 -0
  27. package/src/prisma/schema.prisma +3831 -0
  28. package/src/prisma/wasm.d.ts +1 -0
  29. package/src/prisma/wasm.js +2873 -0
  30. package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
  31. package/prisma.config.js +0 -19
  32. package/src/generated/prisma/browser.ts +0 -574
  33. package/src/generated/prisma/client.bundle.mjs +0 -6733
  34. package/src/generated/prisma/client.ts +0 -598
  35. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  36. package/src/generated/prisma/enums.ts +0 -730
  37. package/src/generated/prisma/internal/class.ts +0 -1304
  38. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  39. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  40. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  41. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  42. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  43. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  44. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  45. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  46. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  47. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  48. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  49. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  50. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  51. package/src/generated/prisma/models/Attribute.ts +0 -2075
  52. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  53. package/src/generated/prisma/models/Bid.ts +0 -2719
  54. package/src/generated/prisma/models/BidLog.ts +0 -3560
  55. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  56. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  57. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  58. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  59. package/src/generated/prisma/models/Budget.ts +0 -1954
  60. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  61. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  62. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  63. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  64. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  65. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  66. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  67. package/src/generated/prisma/models/Category.ts +0 -3091
  68. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  69. package/src/generated/prisma/models/City.ts +0 -2180
  70. package/src/generated/prisma/models/Cms.ts +0 -1492
  71. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  72. package/src/generated/prisma/models/Conversation.ts +0 -2389
  73. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  74. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  75. package/src/generated/prisma/models/Country.ts +0 -3394
  76. package/src/generated/prisma/models/Currency.ts +0 -1642
  77. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  78. package/src/generated/prisma/models/Department.ts +0 -2372
  79. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  80. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  81. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  82. package/src/generated/prisma/models/Event.ts +0 -6819
  83. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  84. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  85. package/src/generated/prisma/models/EventItems.ts +0 -2821
  86. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  87. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  88. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  89. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  90. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  91. package/src/generated/prisma/models/Expense.ts +0 -1625
  92. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  93. package/src/generated/prisma/models/Faq.ts +0 -1753
  94. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  95. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  96. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  97. package/src/generated/prisma/models/GRN.ts +0 -3354
  98. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  99. package/src/generated/prisma/models/Industry.ts +0 -1642
  100. package/src/generated/prisma/models/Invoice.ts +0 -2949
  101. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  102. package/src/generated/prisma/models/Item.ts +0 -10644
  103. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  104. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  105. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  106. package/src/generated/prisma/models/Location.ts +0 -2711
  107. package/src/generated/prisma/models/Message.ts +0 -2744
  108. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  109. package/src/generated/prisma/models/Module.ts +0 -1630
  110. package/src/generated/prisma/models/Permission.ts +0 -1640
  111. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  112. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  113. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  114. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  115. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  116. package/src/generated/prisma/models/Quotation.ts +0 -3207
  117. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  118. package/src/generated/prisma/models/Region.ts +0 -1746
  119. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  120. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  121. package/src/generated/prisma/models/Role.ts +0 -1907
  122. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  123. package/src/generated/prisma/models/SendBack.ts +0 -1830
  124. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  125. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  126. package/src/generated/prisma/models/State.ts +0 -2174
  127. package/src/generated/prisma/models/Strategies.ts +0 -1791
  128. package/src/generated/prisma/models/SubModule.ts +0 -1450
  129. package/src/generated/prisma/models/Subregion.ts +0 -1870
  130. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  131. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  132. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  133. package/src/generated/prisma/models/Template.ts +0 -2429
  134. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  135. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  136. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  137. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  138. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  139. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  140. package/src/generated/prisma/models/Uom.ts +0 -1752
  141. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  142. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  143. package/src/generated/prisma/models/User.ts +0 -19397
  144. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  145. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  146. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  147. package/src/generated/prisma/models/UserRole.ts +0 -1696
  148. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  149. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  150. package/src/generated/prisma/models.ts +0 -122
@@ -1,1784 +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 `ApprovalDelegationDelegate` 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 ApprovalDelegationDelegate
17
- *
18
- */
19
- export type ApprovalDelegationDelegateModel = runtime.Types.Result.DefaultSelection<Prisma.$ApprovalDelegationDelegatePayload>
20
-
21
- export type AggregateApprovalDelegationDelegate = {
22
- _count: ApprovalDelegationDelegateCountAggregateOutputType | null
23
- _avg: ApprovalDelegationDelegateAvgAggregateOutputType | null
24
- _sum: ApprovalDelegationDelegateSumAggregateOutputType | null
25
- _min: ApprovalDelegationDelegateMinAggregateOutputType | null
26
- _max: ApprovalDelegationDelegateMaxAggregateOutputType | null
27
- }
28
-
29
- export type ApprovalDelegationDelegateAvgAggregateOutputType = {
30
- id: number | null
31
- delegation_id: number | null
32
- delegate_id: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type ApprovalDelegationDelegateSumAggregateOutputType = {
39
- id: number | null
40
- delegation_id: number | null
41
- delegate_id: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type ApprovalDelegationDelegateMinAggregateOutputType = {
48
- id: number | null
49
- delegation_id: number | null
50
- delegate_id: number | null
51
- is_deleted: boolean | null
52
- is_active: boolean | null
53
- created_at: Date | null
54
- created_by: number | null
55
- updated_at: Date | null
56
- updated_by: number | null
57
- deleted_at: Date | null
58
- deleted_by: number | null
59
- }
60
-
61
- export type ApprovalDelegationDelegateMaxAggregateOutputType = {
62
- id: number | null
63
- delegation_id: number | null
64
- delegate_id: number | null
65
- is_deleted: boolean | null
66
- is_active: boolean | null
67
- created_at: Date | null
68
- created_by: number | null
69
- updated_at: Date | null
70
- updated_by: number | null
71
- deleted_at: Date | null
72
- deleted_by: number | null
73
- }
74
-
75
- export type ApprovalDelegationDelegateCountAggregateOutputType = {
76
- id: number
77
- delegation_id: number
78
- delegate_id: number
79
- is_deleted: number
80
- is_active: number
81
- created_at: number
82
- created_by: number
83
- updated_at: number
84
- updated_by: number
85
- deleted_at: number
86
- deleted_by: number
87
- _all: number
88
- }
89
-
90
-
91
- export type ApprovalDelegationDelegateAvgAggregateInputType = {
92
- id?: true
93
- delegation_id?: true
94
- delegate_id?: true
95
- created_by?: true
96
- updated_by?: true
97
- deleted_by?: true
98
- }
99
-
100
- export type ApprovalDelegationDelegateSumAggregateInputType = {
101
- id?: true
102
- delegation_id?: true
103
- delegate_id?: true
104
- created_by?: true
105
- updated_by?: true
106
- deleted_by?: true
107
- }
108
-
109
- export type ApprovalDelegationDelegateMinAggregateInputType = {
110
- id?: true
111
- delegation_id?: true
112
- delegate_id?: true
113
- is_deleted?: true
114
- is_active?: true
115
- created_at?: true
116
- created_by?: true
117
- updated_at?: true
118
- updated_by?: true
119
- deleted_at?: true
120
- deleted_by?: true
121
- }
122
-
123
- export type ApprovalDelegationDelegateMaxAggregateInputType = {
124
- id?: true
125
- delegation_id?: true
126
- delegate_id?: true
127
- is_deleted?: true
128
- is_active?: true
129
- created_at?: true
130
- created_by?: true
131
- updated_at?: true
132
- updated_by?: true
133
- deleted_at?: true
134
- deleted_by?: true
135
- }
136
-
137
- export type ApprovalDelegationDelegateCountAggregateInputType = {
138
- id?: true
139
- delegation_id?: true
140
- delegate_id?: true
141
- is_deleted?: true
142
- is_active?: true
143
- created_at?: true
144
- created_by?: true
145
- updated_at?: true
146
- updated_by?: true
147
- deleted_at?: true
148
- deleted_by?: true
149
- _all?: true
150
- }
151
-
152
- export type ApprovalDelegationDelegateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
- /**
154
- * Filter which ApprovalDelegationDelegate to aggregate.
155
- */
156
- where?: Prisma.ApprovalDelegationDelegateWhereInput
157
- /**
158
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
159
- *
160
- * Determine the order of ApprovalDelegationDelegates to fetch.
161
- */
162
- orderBy?: Prisma.ApprovalDelegationDelegateOrderByWithRelationInput | Prisma.ApprovalDelegationDelegateOrderByWithRelationInput[]
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
165
- *
166
- * Sets the start position
167
- */
168
- cursor?: Prisma.ApprovalDelegationDelegateWhereUniqueInput
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
171
- *
172
- * Take `±n` ApprovalDelegationDelegates from the position of the cursor.
173
- */
174
- take?: number
175
- /**
176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
- *
178
- * Skip the first `n` ApprovalDelegationDelegates.
179
- */
180
- skip?: number
181
- /**
182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
- *
184
- * Count returned ApprovalDelegationDelegates
185
- **/
186
- _count?: true | ApprovalDelegationDelegateCountAggregateInputType
187
- /**
188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
- *
190
- * Select which fields to average
191
- **/
192
- _avg?: ApprovalDelegationDelegateAvgAggregateInputType
193
- /**
194
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
- *
196
- * Select which fields to sum
197
- **/
198
- _sum?: ApprovalDelegationDelegateSumAggregateInputType
199
- /**
200
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
- *
202
- * Select which fields to find the minimum value
203
- **/
204
- _min?: ApprovalDelegationDelegateMinAggregateInputType
205
- /**
206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
- *
208
- * Select which fields to find the maximum value
209
- **/
210
- _max?: ApprovalDelegationDelegateMaxAggregateInputType
211
- }
212
-
213
- export type GetApprovalDelegationDelegateAggregateType<T extends ApprovalDelegationDelegateAggregateArgs> = {
214
- [P in keyof T & keyof AggregateApprovalDelegationDelegate]: P extends '_count' | 'count'
215
- ? T[P] extends true
216
- ? number
217
- : Prisma.GetScalarType<T[P], AggregateApprovalDelegationDelegate[P]>
218
- : Prisma.GetScalarType<T[P], AggregateApprovalDelegationDelegate[P]>
219
- }
220
-
221
-
222
-
223
-
224
- export type ApprovalDelegationDelegateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
225
- where?: Prisma.ApprovalDelegationDelegateWhereInput
226
- orderBy?: Prisma.ApprovalDelegationDelegateOrderByWithAggregationInput | Prisma.ApprovalDelegationDelegateOrderByWithAggregationInput[]
227
- by: Prisma.ApprovalDelegationDelegateScalarFieldEnum[] | Prisma.ApprovalDelegationDelegateScalarFieldEnum
228
- having?: Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput
229
- take?: number
230
- skip?: number
231
- _count?: ApprovalDelegationDelegateCountAggregateInputType | true
232
- _avg?: ApprovalDelegationDelegateAvgAggregateInputType
233
- _sum?: ApprovalDelegationDelegateSumAggregateInputType
234
- _min?: ApprovalDelegationDelegateMinAggregateInputType
235
- _max?: ApprovalDelegationDelegateMaxAggregateInputType
236
- }
237
-
238
- export type ApprovalDelegationDelegateGroupByOutputType = {
239
- id: number
240
- delegation_id: number
241
- delegate_id: number
242
- is_deleted: boolean
243
- is_active: boolean
244
- created_at: Date
245
- created_by: number | null
246
- updated_at: Date | null
247
- updated_by: number | null
248
- deleted_at: Date | null
249
- deleted_by: number | null
250
- _count: ApprovalDelegationDelegateCountAggregateOutputType | null
251
- _avg: ApprovalDelegationDelegateAvgAggregateOutputType | null
252
- _sum: ApprovalDelegationDelegateSumAggregateOutputType | null
253
- _min: ApprovalDelegationDelegateMinAggregateOutputType | null
254
- _max: ApprovalDelegationDelegateMaxAggregateOutputType | null
255
- }
256
-
257
- export type GetApprovalDelegationDelegateGroupByPayload<T extends ApprovalDelegationDelegateGroupByArgs> = Prisma.PrismaPromise<
258
- Array<
259
- Prisma.PickEnumerable<ApprovalDelegationDelegateGroupByOutputType, T['by']> &
260
- {
261
- [P in ((keyof T) & (keyof ApprovalDelegationDelegateGroupByOutputType))]: P extends '_count'
262
- ? T[P] extends boolean
263
- ? number
264
- : Prisma.GetScalarType<T[P], ApprovalDelegationDelegateGroupByOutputType[P]>
265
- : Prisma.GetScalarType<T[P], ApprovalDelegationDelegateGroupByOutputType[P]>
266
- }
267
- >
268
- >
269
-
270
-
271
-
272
- export type ApprovalDelegationDelegateWhereInput = {
273
- AND?: Prisma.ApprovalDelegationDelegateWhereInput | Prisma.ApprovalDelegationDelegateWhereInput[]
274
- OR?: Prisma.ApprovalDelegationDelegateWhereInput[]
275
- NOT?: Prisma.ApprovalDelegationDelegateWhereInput | Prisma.ApprovalDelegationDelegateWhereInput[]
276
- id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
277
- delegation_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
278
- delegate_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
279
- is_deleted?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
280
- is_active?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
281
- created_at?: Prisma.DateTimeFilter<"ApprovalDelegationDelegate"> | Date | string
282
- created_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
283
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
284
- updated_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
285
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
286
- deleted_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
287
- delegation?: Prisma.XOR<Prisma.ApprovalDelegationScalarRelationFilter, Prisma.ApprovalDelegationWhereInput>
288
- delegate?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
289
- }
290
-
291
- export type ApprovalDelegationDelegateOrderByWithRelationInput = {
292
- id?: Prisma.SortOrder
293
- delegation_id?: Prisma.SortOrder
294
- delegate_id?: Prisma.SortOrder
295
- is_deleted?: Prisma.SortOrder
296
- is_active?: Prisma.SortOrder
297
- created_at?: Prisma.SortOrder
298
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
299
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
300
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
301
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
302
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
303
- delegation?: Prisma.ApprovalDelegationOrderByWithRelationInput
304
- delegate?: Prisma.UserOrderByWithRelationInput
305
- }
306
-
307
- export type ApprovalDelegationDelegateWhereUniqueInput = Prisma.AtLeast<{
308
- id?: number
309
- delegation_id_delegate_id?: Prisma.ApprovalDelegationDelegateDelegation_idDelegate_idCompoundUniqueInput
310
- AND?: Prisma.ApprovalDelegationDelegateWhereInput | Prisma.ApprovalDelegationDelegateWhereInput[]
311
- OR?: Prisma.ApprovalDelegationDelegateWhereInput[]
312
- NOT?: Prisma.ApprovalDelegationDelegateWhereInput | Prisma.ApprovalDelegationDelegateWhereInput[]
313
- delegation_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
314
- delegate_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
315
- is_deleted?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
316
- is_active?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
317
- created_at?: Prisma.DateTimeFilter<"ApprovalDelegationDelegate"> | Date | string
318
- created_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
319
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
320
- updated_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
321
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
322
- deleted_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
323
- delegation?: Prisma.XOR<Prisma.ApprovalDelegationScalarRelationFilter, Prisma.ApprovalDelegationWhereInput>
324
- delegate?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
325
- }, "id" | "delegation_id_delegate_id">
326
-
327
- export type ApprovalDelegationDelegateOrderByWithAggregationInput = {
328
- id?: Prisma.SortOrder
329
- delegation_id?: Prisma.SortOrder
330
- delegate_id?: Prisma.SortOrder
331
- is_deleted?: Prisma.SortOrder
332
- is_active?: 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
- _count?: Prisma.ApprovalDelegationDelegateCountOrderByAggregateInput
340
- _avg?: Prisma.ApprovalDelegationDelegateAvgOrderByAggregateInput
341
- _max?: Prisma.ApprovalDelegationDelegateMaxOrderByAggregateInput
342
- _min?: Prisma.ApprovalDelegationDelegateMinOrderByAggregateInput
343
- _sum?: Prisma.ApprovalDelegationDelegateSumOrderByAggregateInput
344
- }
345
-
346
- export type ApprovalDelegationDelegateScalarWhereWithAggregatesInput = {
347
- AND?: Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput | Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput[]
348
- OR?: Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput[]
349
- NOT?: Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput | Prisma.ApprovalDelegationDelegateScalarWhereWithAggregatesInput[]
350
- id?: Prisma.IntWithAggregatesFilter<"ApprovalDelegationDelegate"> | number
351
- delegation_id?: Prisma.IntWithAggregatesFilter<"ApprovalDelegationDelegate"> | number
352
- delegate_id?: Prisma.IntWithAggregatesFilter<"ApprovalDelegationDelegate"> | number
353
- is_deleted?: Prisma.BoolWithAggregatesFilter<"ApprovalDelegationDelegate"> | boolean
354
- is_active?: Prisma.BoolWithAggregatesFilter<"ApprovalDelegationDelegate"> | boolean
355
- created_at?: Prisma.DateTimeWithAggregatesFilter<"ApprovalDelegationDelegate"> | Date | string
356
- created_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalDelegationDelegate"> | number | null
357
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalDelegationDelegate"> | Date | string | null
358
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalDelegationDelegate"> | number | null
359
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ApprovalDelegationDelegate"> | Date | string | null
360
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"ApprovalDelegationDelegate"> | number | null
361
- }
362
-
363
- export type ApprovalDelegationDelegateCreateInput = {
364
- is_deleted?: boolean
365
- is_active?: boolean
366
- created_at?: Date | string
367
- created_by?: number | null
368
- updated_at?: Date | string | null
369
- updated_by?: number | null
370
- deleted_at?: Date | string | null
371
- deleted_by?: number | null
372
- delegation: Prisma.ApprovalDelegationCreateNestedOneWithoutDelegation_delegatesInput
373
- delegate: Prisma.UserCreateNestedOneWithoutApproval_delegation_delegatesInput
374
- }
375
-
376
- export type ApprovalDelegationDelegateUncheckedCreateInput = {
377
- id?: number
378
- delegation_id: number
379
- delegate_id: number
380
- is_deleted?: boolean
381
- is_active?: boolean
382
- created_at?: Date | string
383
- created_by?: number | null
384
- updated_at?: Date | string | null
385
- updated_by?: number | null
386
- deleted_at?: Date | string | null
387
- deleted_by?: number | null
388
- }
389
-
390
- export type ApprovalDelegationDelegateUpdateInput = {
391
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
392
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
393
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
394
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
395
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
396
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
397
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
398
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
399
- delegation?: Prisma.ApprovalDelegationUpdateOneRequiredWithoutDelegation_delegatesNestedInput
400
- delegate?: Prisma.UserUpdateOneRequiredWithoutApproval_delegation_delegatesNestedInput
401
- }
402
-
403
- export type ApprovalDelegationDelegateUncheckedUpdateInput = {
404
- id?: Prisma.IntFieldUpdateOperationsInput | number
405
- delegation_id?: Prisma.IntFieldUpdateOperationsInput | number
406
- delegate_id?: Prisma.IntFieldUpdateOperationsInput | number
407
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
408
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
409
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
410
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
411
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
412
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
413
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
414
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
415
- }
416
-
417
- export type ApprovalDelegationDelegateCreateManyInput = {
418
- id?: number
419
- delegation_id: number
420
- delegate_id: number
421
- is_deleted?: boolean
422
- is_active?: boolean
423
- created_at?: Date | string
424
- created_by?: number | null
425
- updated_at?: Date | string | null
426
- updated_by?: number | null
427
- deleted_at?: Date | string | null
428
- deleted_by?: number | null
429
- }
430
-
431
- export type ApprovalDelegationDelegateUpdateManyMutationInput = {
432
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
433
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
434
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
435
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
436
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
437
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
438
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
439
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
440
- }
441
-
442
- export type ApprovalDelegationDelegateUncheckedUpdateManyInput = {
443
- id?: Prisma.IntFieldUpdateOperationsInput | number
444
- delegation_id?: Prisma.IntFieldUpdateOperationsInput | number
445
- delegate_id?: Prisma.IntFieldUpdateOperationsInput | number
446
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
447
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
448
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
449
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
450
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
451
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
452
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
453
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
454
- }
455
-
456
- export type ApprovalDelegationDelegateListRelationFilter = {
457
- every?: Prisma.ApprovalDelegationDelegateWhereInput
458
- some?: Prisma.ApprovalDelegationDelegateWhereInput
459
- none?: Prisma.ApprovalDelegationDelegateWhereInput
460
- }
461
-
462
- export type ApprovalDelegationDelegateOrderByRelationAggregateInput = {
463
- _count?: Prisma.SortOrder
464
- }
465
-
466
- export type ApprovalDelegationDelegateDelegation_idDelegate_idCompoundUniqueInput = {
467
- delegation_id: number
468
- delegate_id: number
469
- }
470
-
471
- export type ApprovalDelegationDelegateCountOrderByAggregateInput = {
472
- id?: Prisma.SortOrder
473
- delegation_id?: Prisma.SortOrder
474
- delegate_id?: Prisma.SortOrder
475
- is_deleted?: Prisma.SortOrder
476
- is_active?: Prisma.SortOrder
477
- created_at?: Prisma.SortOrder
478
- created_by?: Prisma.SortOrder
479
- updated_at?: Prisma.SortOrder
480
- updated_by?: Prisma.SortOrder
481
- deleted_at?: Prisma.SortOrder
482
- deleted_by?: Prisma.SortOrder
483
- }
484
-
485
- export type ApprovalDelegationDelegateAvgOrderByAggregateInput = {
486
- id?: Prisma.SortOrder
487
- delegation_id?: Prisma.SortOrder
488
- delegate_id?: Prisma.SortOrder
489
- created_by?: Prisma.SortOrder
490
- updated_by?: Prisma.SortOrder
491
- deleted_by?: Prisma.SortOrder
492
- }
493
-
494
- export type ApprovalDelegationDelegateMaxOrderByAggregateInput = {
495
- id?: Prisma.SortOrder
496
- delegation_id?: Prisma.SortOrder
497
- delegate_id?: Prisma.SortOrder
498
- is_deleted?: Prisma.SortOrder
499
- is_active?: Prisma.SortOrder
500
- created_at?: Prisma.SortOrder
501
- created_by?: Prisma.SortOrder
502
- updated_at?: Prisma.SortOrder
503
- updated_by?: Prisma.SortOrder
504
- deleted_at?: Prisma.SortOrder
505
- deleted_by?: Prisma.SortOrder
506
- }
507
-
508
- export type ApprovalDelegationDelegateMinOrderByAggregateInput = {
509
- id?: Prisma.SortOrder
510
- delegation_id?: Prisma.SortOrder
511
- delegate_id?: Prisma.SortOrder
512
- is_deleted?: Prisma.SortOrder
513
- is_active?: Prisma.SortOrder
514
- created_at?: Prisma.SortOrder
515
- created_by?: Prisma.SortOrder
516
- updated_at?: Prisma.SortOrder
517
- updated_by?: Prisma.SortOrder
518
- deleted_at?: Prisma.SortOrder
519
- deleted_by?: Prisma.SortOrder
520
- }
521
-
522
- export type ApprovalDelegationDelegateSumOrderByAggregateInput = {
523
- id?: Prisma.SortOrder
524
- delegation_id?: Prisma.SortOrder
525
- delegate_id?: Prisma.SortOrder
526
- created_by?: Prisma.SortOrder
527
- updated_by?: Prisma.SortOrder
528
- deleted_by?: Prisma.SortOrder
529
- }
530
-
531
- export type ApprovalDelegationDelegateCreateNestedManyWithoutDelegateInput = {
532
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput[]
533
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput[]
534
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegateInputEnvelope
535
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
536
- }
537
-
538
- export type ApprovalDelegationDelegateUncheckedCreateNestedManyWithoutDelegateInput = {
539
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput[]
540
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput[]
541
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegateInputEnvelope
542
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
543
- }
544
-
545
- export type ApprovalDelegationDelegateUpdateManyWithoutDelegateNestedInput = {
546
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput[]
547
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput[]
548
- upsert?: Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegateInput[]
549
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegateInputEnvelope
550
- set?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
551
- disconnect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
552
- delete?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
553
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
554
- update?: Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegateInput[]
555
- updateMany?: Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegateInput[]
556
- deleteMany?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
557
- }
558
-
559
- export type ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegateNestedInput = {
560
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput[]
561
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput[]
562
- upsert?: Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegateInput[]
563
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegateInputEnvelope
564
- set?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
565
- disconnect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
566
- delete?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
567
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
568
- update?: Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegateInput[]
569
- updateMany?: Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegateInput | Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegateInput[]
570
- deleteMany?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
571
- }
572
-
573
- export type ApprovalDelegationDelegateCreateNestedManyWithoutDelegationInput = {
574
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput[]
575
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput[]
576
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegationInputEnvelope
577
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
578
- }
579
-
580
- export type ApprovalDelegationDelegateUncheckedCreateNestedManyWithoutDelegationInput = {
581
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput[]
582
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput[]
583
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegationInputEnvelope
584
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
585
- }
586
-
587
- export type ApprovalDelegationDelegateUpdateManyWithoutDelegationNestedInput = {
588
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput[]
589
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput[]
590
- upsert?: Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegationInput[]
591
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegationInputEnvelope
592
- set?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
593
- disconnect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
594
- delete?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
595
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
596
- update?: Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegationInput[]
597
- updateMany?: Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegationInput[]
598
- deleteMany?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
599
- }
600
-
601
- export type ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegationNestedInput = {
602
- create?: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput> | Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput[] | Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput[]
603
- connectOrCreate?: Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput | Prisma.ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput[]
604
- upsert?: Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegationInput[]
605
- createMany?: Prisma.ApprovalDelegationDelegateCreateManyDelegationInputEnvelope
606
- set?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
607
- disconnect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
608
- delete?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
609
- connect?: Prisma.ApprovalDelegationDelegateWhereUniqueInput | Prisma.ApprovalDelegationDelegateWhereUniqueInput[]
610
- update?: Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegationInput[]
611
- updateMany?: Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegationInput | Prisma.ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegationInput[]
612
- deleteMany?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
613
- }
614
-
615
- export type ApprovalDelegationDelegateCreateWithoutDelegateInput = {
616
- is_deleted?: boolean
617
- is_active?: boolean
618
- created_at?: Date | string
619
- created_by?: number | null
620
- updated_at?: Date | string | null
621
- updated_by?: number | null
622
- deleted_at?: Date | string | null
623
- deleted_by?: number | null
624
- delegation: Prisma.ApprovalDelegationCreateNestedOneWithoutDelegation_delegatesInput
625
- }
626
-
627
- export type ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput = {
628
- id?: number
629
- delegation_id: number
630
- is_deleted?: boolean
631
- is_active?: boolean
632
- created_at?: Date | string
633
- created_by?: number | null
634
- updated_at?: Date | string | null
635
- updated_by?: number | null
636
- deleted_at?: Date | string | null
637
- deleted_by?: number | null
638
- }
639
-
640
- export type ApprovalDelegationDelegateCreateOrConnectWithoutDelegateInput = {
641
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
642
- create: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput>
643
- }
644
-
645
- export type ApprovalDelegationDelegateCreateManyDelegateInputEnvelope = {
646
- data: Prisma.ApprovalDelegationDelegateCreateManyDelegateInput | Prisma.ApprovalDelegationDelegateCreateManyDelegateInput[]
647
- skipDuplicates?: boolean
648
- }
649
-
650
- export type ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegateInput = {
651
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
652
- update: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateWithoutDelegateInput>
653
- create: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegateInput>
654
- }
655
-
656
- export type ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegateInput = {
657
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
658
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateWithoutDelegateInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateWithoutDelegateInput>
659
- }
660
-
661
- export type ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegateInput = {
662
- where: Prisma.ApprovalDelegationDelegateScalarWhereInput
663
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateManyMutationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegateInput>
664
- }
665
-
666
- export type ApprovalDelegationDelegateScalarWhereInput = {
667
- AND?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
668
- OR?: Prisma.ApprovalDelegationDelegateScalarWhereInput[]
669
- NOT?: Prisma.ApprovalDelegationDelegateScalarWhereInput | Prisma.ApprovalDelegationDelegateScalarWhereInput[]
670
- id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
671
- delegation_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
672
- delegate_id?: Prisma.IntFilter<"ApprovalDelegationDelegate"> | number
673
- is_deleted?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
674
- is_active?: Prisma.BoolFilter<"ApprovalDelegationDelegate"> | boolean
675
- created_at?: Prisma.DateTimeFilter<"ApprovalDelegationDelegate"> | Date | string
676
- created_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
677
- updated_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
678
- updated_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
679
- deleted_at?: Prisma.DateTimeNullableFilter<"ApprovalDelegationDelegate"> | Date | string | null
680
- deleted_by?: Prisma.IntNullableFilter<"ApprovalDelegationDelegate"> | number | null
681
- }
682
-
683
- export type ApprovalDelegationDelegateCreateWithoutDelegationInput = {
684
- is_deleted?: boolean
685
- is_active?: boolean
686
- created_at?: Date | string
687
- created_by?: number | null
688
- updated_at?: Date | string | null
689
- updated_by?: number | null
690
- deleted_at?: Date | string | null
691
- deleted_by?: number | null
692
- delegate: Prisma.UserCreateNestedOneWithoutApproval_delegation_delegatesInput
693
- }
694
-
695
- export type ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput = {
696
- id?: number
697
- delegate_id: number
698
- is_deleted?: boolean
699
- is_active?: boolean
700
- created_at?: Date | string
701
- created_by?: number | null
702
- updated_at?: Date | string | null
703
- updated_by?: number | null
704
- deleted_at?: Date | string | null
705
- deleted_by?: number | null
706
- }
707
-
708
- export type ApprovalDelegationDelegateCreateOrConnectWithoutDelegationInput = {
709
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
710
- create: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput>
711
- }
712
-
713
- export type ApprovalDelegationDelegateCreateManyDelegationInputEnvelope = {
714
- data: Prisma.ApprovalDelegationDelegateCreateManyDelegationInput | Prisma.ApprovalDelegationDelegateCreateManyDelegationInput[]
715
- skipDuplicates?: boolean
716
- }
717
-
718
- export type ApprovalDelegationDelegateUpsertWithWhereUniqueWithoutDelegationInput = {
719
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
720
- update: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateWithoutDelegationInput>
721
- create: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedCreateWithoutDelegationInput>
722
- }
723
-
724
- export type ApprovalDelegationDelegateUpdateWithWhereUniqueWithoutDelegationInput = {
725
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
726
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateWithoutDelegationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateWithoutDelegationInput>
727
- }
728
-
729
- export type ApprovalDelegationDelegateUpdateManyWithWhereWithoutDelegationInput = {
730
- where: Prisma.ApprovalDelegationDelegateScalarWhereInput
731
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateManyMutationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegationInput>
732
- }
733
-
734
- export type ApprovalDelegationDelegateCreateManyDelegateInput = {
735
- id?: number
736
- delegation_id: number
737
- is_deleted?: boolean
738
- is_active?: 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
- }
746
-
747
- export type ApprovalDelegationDelegateUpdateWithoutDelegateInput = {
748
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
749
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
750
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
751
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
752
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
753
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
754
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
755
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
756
- delegation?: Prisma.ApprovalDelegationUpdateOneRequiredWithoutDelegation_delegatesNestedInput
757
- }
758
-
759
- export type ApprovalDelegationDelegateUncheckedUpdateWithoutDelegateInput = {
760
- id?: Prisma.IntFieldUpdateOperationsInput | number
761
- delegation_id?: Prisma.IntFieldUpdateOperationsInput | number
762
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
763
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
764
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
765
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
766
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
767
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
768
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
769
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
770
- }
771
-
772
- export type ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegateInput = {
773
- id?: Prisma.IntFieldUpdateOperationsInput | number
774
- delegation_id?: Prisma.IntFieldUpdateOperationsInput | number
775
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
776
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
777
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
778
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
779
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
780
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
781
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
782
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
783
- }
784
-
785
- export type ApprovalDelegationDelegateCreateManyDelegationInput = {
786
- id?: number
787
- delegate_id: number
788
- is_deleted?: boolean
789
- is_active?: boolean
790
- created_at?: Date | string
791
- created_by?: number | null
792
- updated_at?: Date | string | null
793
- updated_by?: number | null
794
- deleted_at?: Date | string | null
795
- deleted_by?: number | null
796
- }
797
-
798
- export type ApprovalDelegationDelegateUpdateWithoutDelegationInput = {
799
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
800
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
801
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
802
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
803
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
804
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
805
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
806
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
807
- delegate?: Prisma.UserUpdateOneRequiredWithoutApproval_delegation_delegatesNestedInput
808
- }
809
-
810
- export type ApprovalDelegationDelegateUncheckedUpdateWithoutDelegationInput = {
811
- id?: Prisma.IntFieldUpdateOperationsInput | number
812
- delegate_id?: Prisma.IntFieldUpdateOperationsInput | number
813
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
814
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
815
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
816
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
817
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
818
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
819
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
820
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
821
- }
822
-
823
- export type ApprovalDelegationDelegateUncheckedUpdateManyWithoutDelegationInput = {
824
- id?: Prisma.IntFieldUpdateOperationsInput | number
825
- delegate_id?: Prisma.IntFieldUpdateOperationsInput | number
826
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
827
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
828
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
829
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
830
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
831
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
832
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
833
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
834
- }
835
-
836
-
837
-
838
- export type ApprovalDelegationDelegateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
839
- id?: boolean
840
- delegation_id?: boolean
841
- delegate_id?: boolean
842
- is_deleted?: boolean
843
- is_active?: boolean
844
- created_at?: boolean
845
- created_by?: boolean
846
- updated_at?: boolean
847
- updated_by?: boolean
848
- deleted_at?: boolean
849
- deleted_by?: boolean
850
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
851
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
852
- }, ExtArgs["result"]["approvalDelegationDelegate"]>
853
-
854
- export type ApprovalDelegationDelegateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
855
- id?: boolean
856
- delegation_id?: boolean
857
- delegate_id?: boolean
858
- is_deleted?: boolean
859
- is_active?: boolean
860
- created_at?: boolean
861
- created_by?: boolean
862
- updated_at?: boolean
863
- updated_by?: boolean
864
- deleted_at?: boolean
865
- deleted_by?: boolean
866
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
867
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
868
- }, ExtArgs["result"]["approvalDelegationDelegate"]>
869
-
870
- export type ApprovalDelegationDelegateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
871
- id?: boolean
872
- delegation_id?: boolean
873
- delegate_id?: boolean
874
- is_deleted?: boolean
875
- is_active?: boolean
876
- created_at?: boolean
877
- created_by?: boolean
878
- updated_at?: boolean
879
- updated_by?: boolean
880
- deleted_at?: boolean
881
- deleted_by?: boolean
882
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
883
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
884
- }, ExtArgs["result"]["approvalDelegationDelegate"]>
885
-
886
- export type ApprovalDelegationDelegateSelectScalar = {
887
- id?: boolean
888
- delegation_id?: boolean
889
- delegate_id?: boolean
890
- is_deleted?: boolean
891
- is_active?: boolean
892
- created_at?: boolean
893
- created_by?: boolean
894
- updated_at?: boolean
895
- updated_by?: boolean
896
- deleted_at?: boolean
897
- deleted_by?: boolean
898
- }
899
-
900
- export type ApprovalDelegationDelegateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "delegation_id" | "delegate_id" | "is_deleted" | "is_active" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["approvalDelegationDelegate"]>
901
- export type ApprovalDelegationDelegateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
902
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
903
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
904
- }
905
- export type ApprovalDelegationDelegateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
906
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
907
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
908
- }
909
- export type ApprovalDelegationDelegateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
910
- delegation?: boolean | Prisma.ApprovalDelegationDefaultArgs<ExtArgs>
911
- delegate?: boolean | Prisma.UserDefaultArgs<ExtArgs>
912
- }
913
-
914
- export type $ApprovalDelegationDelegatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
915
- name: "ApprovalDelegationDelegate"
916
- objects: {
917
- delegation: Prisma.$ApprovalDelegationPayload<ExtArgs>
918
- delegate: Prisma.$UserPayload<ExtArgs>
919
- }
920
- scalars: runtime.Types.Extensions.GetPayloadResult<{
921
- id: number
922
- delegation_id: number
923
- delegate_id: number
924
- is_deleted: boolean
925
- is_active: boolean
926
- created_at: Date
927
- created_by: number | null
928
- updated_at: Date | null
929
- updated_by: number | null
930
- deleted_at: Date | null
931
- deleted_by: number | null
932
- }, ExtArgs["result"]["approvalDelegationDelegate"]>
933
- composites: {}
934
- }
935
-
936
- export type ApprovalDelegationDelegateGetPayload<S extends boolean | null | undefined | ApprovalDelegationDelegateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload, S>
937
-
938
- export type ApprovalDelegationDelegateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
939
- Omit<ApprovalDelegationDelegateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
940
- select?: ApprovalDelegationDelegateCountAggregateInputType | true
941
- }
942
-
943
- export interface ApprovalDelegationDelegateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
944
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApprovalDelegationDelegate'], meta: { name: 'ApprovalDelegationDelegate' } }
945
- /**
946
- * Find zero or one ApprovalDelegationDelegate that matches the filter.
947
- * @param {ApprovalDelegationDelegateFindUniqueArgs} args - Arguments to find a ApprovalDelegationDelegate
948
- * @example
949
- * // Get one ApprovalDelegationDelegate
950
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.findUnique({
951
- * where: {
952
- * // ... provide filter here
953
- * }
954
- * })
955
- */
956
- findUnique<T extends ApprovalDelegationDelegateFindUniqueArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
957
-
958
- /**
959
- * Find one ApprovalDelegationDelegate that matches the filter or throw an error with `error.code='P2025'`
960
- * if no matches were found.
961
- * @param {ApprovalDelegationDelegateFindUniqueOrThrowArgs} args - Arguments to find a ApprovalDelegationDelegate
962
- * @example
963
- * // Get one ApprovalDelegationDelegate
964
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.findUniqueOrThrow({
965
- * where: {
966
- * // ... provide filter here
967
- * }
968
- * })
969
- */
970
- findUniqueOrThrow<T extends ApprovalDelegationDelegateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
971
-
972
- /**
973
- * Find the first ApprovalDelegationDelegate that matches the filter.
974
- * Note, that providing `undefined` is treated as the value not being there.
975
- * Read more here: https://pris.ly/d/null-undefined
976
- * @param {ApprovalDelegationDelegateFindFirstArgs} args - Arguments to find a ApprovalDelegationDelegate
977
- * @example
978
- * // Get one ApprovalDelegationDelegate
979
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.findFirst({
980
- * where: {
981
- * // ... provide filter here
982
- * }
983
- * })
984
- */
985
- findFirst<T extends ApprovalDelegationDelegateFindFirstArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
986
-
987
- /**
988
- * Find the first ApprovalDelegationDelegate that matches the filter or
989
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
990
- * Note, that providing `undefined` is treated as the value not being there.
991
- * Read more here: https://pris.ly/d/null-undefined
992
- * @param {ApprovalDelegationDelegateFindFirstOrThrowArgs} args - Arguments to find a ApprovalDelegationDelegate
993
- * @example
994
- * // Get one ApprovalDelegationDelegate
995
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.findFirstOrThrow({
996
- * where: {
997
- * // ... provide filter here
998
- * }
999
- * })
1000
- */
1001
- findFirstOrThrow<T extends ApprovalDelegationDelegateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1002
-
1003
- /**
1004
- * Find zero or more ApprovalDelegationDelegates that matches the filter.
1005
- * Note, that providing `undefined` is treated as the value not being there.
1006
- * Read more here: https://pris.ly/d/null-undefined
1007
- * @param {ApprovalDelegationDelegateFindManyArgs} args - Arguments to filter and select certain fields only.
1008
- * @example
1009
- * // Get all ApprovalDelegationDelegates
1010
- * const approvalDelegationDelegates = await prisma.approvalDelegationDelegate.findMany()
1011
- *
1012
- * // Get first 10 ApprovalDelegationDelegates
1013
- * const approvalDelegationDelegates = await prisma.approvalDelegationDelegate.findMany({ take: 10 })
1014
- *
1015
- * // Only select the `id`
1016
- * const approvalDelegationDelegateWithIdOnly = await prisma.approvalDelegationDelegate.findMany({ select: { id: true } })
1017
- *
1018
- */
1019
- findMany<T extends ApprovalDelegationDelegateFindManyArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1020
-
1021
- /**
1022
- * Create a ApprovalDelegationDelegate.
1023
- * @param {ApprovalDelegationDelegateCreateArgs} args - Arguments to create a ApprovalDelegationDelegate.
1024
- * @example
1025
- * // Create one ApprovalDelegationDelegate
1026
- * const ApprovalDelegationDelegate = await prisma.approvalDelegationDelegate.create({
1027
- * data: {
1028
- * // ... data to create a ApprovalDelegationDelegate
1029
- * }
1030
- * })
1031
- *
1032
- */
1033
- create<T extends ApprovalDelegationDelegateCreateArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateCreateArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1034
-
1035
- /**
1036
- * Create many ApprovalDelegationDelegates.
1037
- * @param {ApprovalDelegationDelegateCreateManyArgs} args - Arguments to create many ApprovalDelegationDelegates.
1038
- * @example
1039
- * // Create many ApprovalDelegationDelegates
1040
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.createMany({
1041
- * data: [
1042
- * // ... provide data here
1043
- * ]
1044
- * })
1045
- *
1046
- */
1047
- createMany<T extends ApprovalDelegationDelegateCreateManyArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1048
-
1049
- /**
1050
- * Create many ApprovalDelegationDelegates and returns the data saved in the database.
1051
- * @param {ApprovalDelegationDelegateCreateManyAndReturnArgs} args - Arguments to create many ApprovalDelegationDelegates.
1052
- * @example
1053
- * // Create many ApprovalDelegationDelegates
1054
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.createManyAndReturn({
1055
- * data: [
1056
- * // ... provide data here
1057
- * ]
1058
- * })
1059
- *
1060
- * // Create many ApprovalDelegationDelegates and only return the `id`
1061
- * const approvalDelegationDelegateWithIdOnly = await prisma.approvalDelegationDelegate.createManyAndReturn({
1062
- * select: { id: true },
1063
- * data: [
1064
- * // ... provide data here
1065
- * ]
1066
- * })
1067
- * Note, that providing `undefined` is treated as the value not being there.
1068
- * Read more here: https://pris.ly/d/null-undefined
1069
- *
1070
- */
1071
- createManyAndReturn<T extends ApprovalDelegationDelegateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1072
-
1073
- /**
1074
- * Delete a ApprovalDelegationDelegate.
1075
- * @param {ApprovalDelegationDelegateDeleteArgs} args - Arguments to delete one ApprovalDelegationDelegate.
1076
- * @example
1077
- * // Delete one ApprovalDelegationDelegate
1078
- * const ApprovalDelegationDelegate = await prisma.approvalDelegationDelegate.delete({
1079
- * where: {
1080
- * // ... filter to delete one ApprovalDelegationDelegate
1081
- * }
1082
- * })
1083
- *
1084
- */
1085
- delete<T extends ApprovalDelegationDelegateDeleteArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateDeleteArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1086
-
1087
- /**
1088
- * Update one ApprovalDelegationDelegate.
1089
- * @param {ApprovalDelegationDelegateUpdateArgs} args - Arguments to update one ApprovalDelegationDelegate.
1090
- * @example
1091
- * // Update one ApprovalDelegationDelegate
1092
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.update({
1093
- * where: {
1094
- * // ... provide filter here
1095
- * },
1096
- * data: {
1097
- * // ... provide data here
1098
- * }
1099
- * })
1100
- *
1101
- */
1102
- update<T extends ApprovalDelegationDelegateUpdateArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateUpdateArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1103
-
1104
- /**
1105
- * Delete zero or more ApprovalDelegationDelegates.
1106
- * @param {ApprovalDelegationDelegateDeleteManyArgs} args - Arguments to filter ApprovalDelegationDelegates to delete.
1107
- * @example
1108
- * // Delete a few ApprovalDelegationDelegates
1109
- * const { count } = await prisma.approvalDelegationDelegate.deleteMany({
1110
- * where: {
1111
- * // ... provide filter here
1112
- * }
1113
- * })
1114
- *
1115
- */
1116
- deleteMany<T extends ApprovalDelegationDelegateDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApprovalDelegationDelegateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1117
-
1118
- /**
1119
- * Update zero or more ApprovalDelegationDelegates.
1120
- * Note, that providing `undefined` is treated as the value not being there.
1121
- * Read more here: https://pris.ly/d/null-undefined
1122
- * @param {ApprovalDelegationDelegateUpdateManyArgs} args - Arguments to update one or more rows.
1123
- * @example
1124
- * // Update many ApprovalDelegationDelegates
1125
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.updateMany({
1126
- * where: {
1127
- * // ... provide filter here
1128
- * },
1129
- * data: {
1130
- * // ... provide data here
1131
- * }
1132
- * })
1133
- *
1134
- */
1135
- updateMany<T extends ApprovalDelegationDelegateUpdateManyArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1136
-
1137
- /**
1138
- * Update zero or more ApprovalDelegationDelegates and returns the data updated in the database.
1139
- * @param {ApprovalDelegationDelegateUpdateManyAndReturnArgs} args - Arguments to update many ApprovalDelegationDelegates.
1140
- * @example
1141
- * // Update many ApprovalDelegationDelegates
1142
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.updateManyAndReturn({
1143
- * where: {
1144
- * // ... provide filter here
1145
- * },
1146
- * data: [
1147
- * // ... provide data here
1148
- * ]
1149
- * })
1150
- *
1151
- * // Update zero or more ApprovalDelegationDelegates and only return the `id`
1152
- * const approvalDelegationDelegateWithIdOnly = await prisma.approvalDelegationDelegate.updateManyAndReturn({
1153
- * select: { id: true },
1154
- * where: {
1155
- * // ... provide filter here
1156
- * },
1157
- * data: [
1158
- * // ... provide data here
1159
- * ]
1160
- * })
1161
- * Note, that providing `undefined` is treated as the value not being there.
1162
- * Read more here: https://pris.ly/d/null-undefined
1163
- *
1164
- */
1165
- updateManyAndReturn<T extends ApprovalDelegationDelegateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1166
-
1167
- /**
1168
- * Create or update one ApprovalDelegationDelegate.
1169
- * @param {ApprovalDelegationDelegateUpsertArgs} args - Arguments to update or create a ApprovalDelegationDelegate.
1170
- * @example
1171
- * // Update or create a ApprovalDelegationDelegate
1172
- * const approvalDelegationDelegate = await prisma.approvalDelegationDelegate.upsert({
1173
- * create: {
1174
- * // ... data to create a ApprovalDelegationDelegate
1175
- * },
1176
- * update: {
1177
- * // ... in case it already exists, update
1178
- * },
1179
- * where: {
1180
- * // ... the filter for the ApprovalDelegationDelegate we want to update
1181
- * }
1182
- * })
1183
- */
1184
- upsert<T extends ApprovalDelegationDelegateUpsertArgs>(args: Prisma.SelectSubset<T, ApprovalDelegationDelegateUpsertArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationDelegateClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationDelegatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1185
-
1186
-
1187
- /**
1188
- * Count the number of ApprovalDelegationDelegates.
1189
- * Note, that providing `undefined` is treated as the value not being there.
1190
- * Read more here: https://pris.ly/d/null-undefined
1191
- * @param {ApprovalDelegationDelegateCountArgs} args - Arguments to filter ApprovalDelegationDelegates to count.
1192
- * @example
1193
- * // Count the number of ApprovalDelegationDelegates
1194
- * const count = await prisma.approvalDelegationDelegate.count({
1195
- * where: {
1196
- * // ... the filter for the ApprovalDelegationDelegates we want to count
1197
- * }
1198
- * })
1199
- **/
1200
- count<T extends ApprovalDelegationDelegateCountArgs>(
1201
- args?: Prisma.Subset<T, ApprovalDelegationDelegateCountArgs>,
1202
- ): Prisma.PrismaPromise<
1203
- T extends runtime.Types.Utils.Record<'select', any>
1204
- ? T['select'] extends true
1205
- ? number
1206
- : Prisma.GetScalarType<T['select'], ApprovalDelegationDelegateCountAggregateOutputType>
1207
- : number
1208
- >
1209
-
1210
- /**
1211
- * Allows you to perform aggregations operations on a ApprovalDelegationDelegate.
1212
- * Note, that providing `undefined` is treated as the value not being there.
1213
- * Read more here: https://pris.ly/d/null-undefined
1214
- * @param {ApprovalDelegationDelegateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1215
- * @example
1216
- * // Ordered by age ascending
1217
- * // Where email contains prisma.io
1218
- * // Limited to the 10 users
1219
- * const aggregations = await prisma.user.aggregate({
1220
- * _avg: {
1221
- * age: true,
1222
- * },
1223
- * where: {
1224
- * email: {
1225
- * contains: "prisma.io",
1226
- * },
1227
- * },
1228
- * orderBy: {
1229
- * age: "asc",
1230
- * },
1231
- * take: 10,
1232
- * })
1233
- **/
1234
- aggregate<T extends ApprovalDelegationDelegateAggregateArgs>(args: Prisma.Subset<T, ApprovalDelegationDelegateAggregateArgs>): Prisma.PrismaPromise<GetApprovalDelegationDelegateAggregateType<T>>
1235
-
1236
- /**
1237
- * Group by ApprovalDelegationDelegate.
1238
- * Note, that providing `undefined` is treated as the value not being there.
1239
- * Read more here: https://pris.ly/d/null-undefined
1240
- * @param {ApprovalDelegationDelegateGroupByArgs} args - Group by arguments.
1241
- * @example
1242
- * // Group by city, order by createdAt, get count
1243
- * const result = await prisma.user.groupBy({
1244
- * by: ['city', 'createdAt'],
1245
- * orderBy: {
1246
- * createdAt: true
1247
- * },
1248
- * _count: {
1249
- * _all: true
1250
- * },
1251
- * })
1252
- *
1253
- **/
1254
- groupBy<
1255
- T extends ApprovalDelegationDelegateGroupByArgs,
1256
- HasSelectOrTake extends Prisma.Or<
1257
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1258
- Prisma.Extends<'take', Prisma.Keys<T>>
1259
- >,
1260
- OrderByArg extends Prisma.True extends HasSelectOrTake
1261
- ? { orderBy: ApprovalDelegationDelegateGroupByArgs['orderBy'] }
1262
- : { orderBy?: ApprovalDelegationDelegateGroupByArgs['orderBy'] },
1263
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1264
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1265
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1266
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1267
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1268
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1269
- InputErrors extends ByEmpty extends Prisma.True
1270
- ? `Error: "by" must not be empty.`
1271
- : HavingValid extends Prisma.False
1272
- ? {
1273
- [P in HavingFields]: P extends ByFields
1274
- ? never
1275
- : P extends string
1276
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1277
- : [
1278
- Error,
1279
- 'Field ',
1280
- P,
1281
- ` in "having" needs to be provided in "by"`,
1282
- ]
1283
- }[HavingFields]
1284
- : 'take' extends Prisma.Keys<T>
1285
- ? 'orderBy' extends Prisma.Keys<T>
1286
- ? ByValid extends Prisma.True
1287
- ? {}
1288
- : {
1289
- [P in OrderFields]: P extends ByFields
1290
- ? never
1291
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1292
- }[OrderFields]
1293
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1294
- : 'skip' extends Prisma.Keys<T>
1295
- ? 'orderBy' extends Prisma.Keys<T>
1296
- ? ByValid extends Prisma.True
1297
- ? {}
1298
- : {
1299
- [P in OrderFields]: P extends ByFields
1300
- ? never
1301
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1302
- }[OrderFields]
1303
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1304
- : ByValid extends Prisma.True
1305
- ? {}
1306
- : {
1307
- [P in OrderFields]: P extends ByFields
1308
- ? never
1309
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1310
- }[OrderFields]
1311
- >(args: Prisma.SubsetIntersection<T, ApprovalDelegationDelegateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApprovalDelegationDelegateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1312
- /**
1313
- * Fields of the ApprovalDelegationDelegate model
1314
- */
1315
- readonly fields: ApprovalDelegationDelegateFieldRefs;
1316
- }
1317
-
1318
- /**
1319
- * The delegate class that acts as a "Promise-like" for ApprovalDelegationDelegate.
1320
- * Why is this prefixed with `Prisma__`?
1321
- * Because we want to prevent naming conflicts as mentioned in
1322
- * https://github.com/prisma/prisma-client-js/issues/707
1323
- */
1324
- export interface Prisma__ApprovalDelegationDelegateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1325
- readonly [Symbol.toStringTag]: "PrismaPromise"
1326
- delegation<T extends Prisma.ApprovalDelegationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalDelegationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApprovalDelegationClient<runtime.Types.Result.GetResult<Prisma.$ApprovalDelegationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1327
- delegate<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1328
- /**
1329
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1330
- * @param onfulfilled The callback to execute when the Promise is resolved.
1331
- * @param onrejected The callback to execute when the Promise is rejected.
1332
- * @returns A Promise for the completion of which ever callback is executed.
1333
- */
1334
- 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>
1335
- /**
1336
- * Attaches a callback for only the rejection of the Promise.
1337
- * @param onrejected The callback to execute when the Promise is rejected.
1338
- * @returns A Promise for the completion of the callback.
1339
- */
1340
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1341
- /**
1342
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1343
- * resolved value cannot be modified from the callback.
1344
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1345
- * @returns A Promise for the completion of the callback.
1346
- */
1347
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1348
- }
1349
-
1350
-
1351
-
1352
-
1353
- /**
1354
- * Fields of the ApprovalDelegationDelegate model
1355
- */
1356
- export interface ApprovalDelegationDelegateFieldRefs {
1357
- readonly id: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1358
- readonly delegation_id: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1359
- readonly delegate_id: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1360
- readonly is_deleted: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Boolean'>
1361
- readonly is_active: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Boolean'>
1362
- readonly created_at: Prisma.FieldRef<"ApprovalDelegationDelegate", 'DateTime'>
1363
- readonly created_by: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1364
- readonly updated_at: Prisma.FieldRef<"ApprovalDelegationDelegate", 'DateTime'>
1365
- readonly updated_by: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1366
- readonly deleted_at: Prisma.FieldRef<"ApprovalDelegationDelegate", 'DateTime'>
1367
- readonly deleted_by: Prisma.FieldRef<"ApprovalDelegationDelegate", 'Int'>
1368
- }
1369
-
1370
-
1371
- // Custom InputTypes
1372
- /**
1373
- * ApprovalDelegationDelegate findUnique
1374
- */
1375
- export type ApprovalDelegationDelegateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1376
- /**
1377
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1378
- */
1379
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1380
- /**
1381
- * Omit specific fields from the ApprovalDelegationDelegate
1382
- */
1383
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1384
- /**
1385
- * Choose, which related nodes to fetch as well
1386
- */
1387
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1388
- /**
1389
- * Filter, which ApprovalDelegationDelegate to fetch.
1390
- */
1391
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1392
- }
1393
-
1394
- /**
1395
- * ApprovalDelegationDelegate findUniqueOrThrow
1396
- */
1397
- export type ApprovalDelegationDelegateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1398
- /**
1399
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1400
- */
1401
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1402
- /**
1403
- * Omit specific fields from the ApprovalDelegationDelegate
1404
- */
1405
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1406
- /**
1407
- * Choose, which related nodes to fetch as well
1408
- */
1409
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1410
- /**
1411
- * Filter, which ApprovalDelegationDelegate to fetch.
1412
- */
1413
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1414
- }
1415
-
1416
- /**
1417
- * ApprovalDelegationDelegate findFirst
1418
- */
1419
- export type ApprovalDelegationDelegateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1420
- /**
1421
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1422
- */
1423
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1424
- /**
1425
- * Omit specific fields from the ApprovalDelegationDelegate
1426
- */
1427
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1428
- /**
1429
- * Choose, which related nodes to fetch as well
1430
- */
1431
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1432
- /**
1433
- * Filter, which ApprovalDelegationDelegate to fetch.
1434
- */
1435
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1436
- /**
1437
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1438
- *
1439
- * Determine the order of ApprovalDelegationDelegates to fetch.
1440
- */
1441
- orderBy?: Prisma.ApprovalDelegationDelegateOrderByWithRelationInput | Prisma.ApprovalDelegationDelegateOrderByWithRelationInput[]
1442
- /**
1443
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1444
- *
1445
- * Sets the position for searching for ApprovalDelegationDelegates.
1446
- */
1447
- cursor?: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1448
- /**
1449
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1450
- *
1451
- * Take `±n` ApprovalDelegationDelegates from the position of the cursor.
1452
- */
1453
- take?: number
1454
- /**
1455
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1456
- *
1457
- * Skip the first `n` ApprovalDelegationDelegates.
1458
- */
1459
- skip?: number
1460
- /**
1461
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1462
- *
1463
- * Filter by unique combinations of ApprovalDelegationDelegates.
1464
- */
1465
- distinct?: Prisma.ApprovalDelegationDelegateScalarFieldEnum | Prisma.ApprovalDelegationDelegateScalarFieldEnum[]
1466
- }
1467
-
1468
- /**
1469
- * ApprovalDelegationDelegate findFirstOrThrow
1470
- */
1471
- export type ApprovalDelegationDelegateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1472
- /**
1473
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1474
- */
1475
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1476
- /**
1477
- * Omit specific fields from the ApprovalDelegationDelegate
1478
- */
1479
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1480
- /**
1481
- * Choose, which related nodes to fetch as well
1482
- */
1483
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1484
- /**
1485
- * Filter, which ApprovalDelegationDelegate to fetch.
1486
- */
1487
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1488
- /**
1489
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1490
- *
1491
- * Determine the order of ApprovalDelegationDelegates to fetch.
1492
- */
1493
- orderBy?: Prisma.ApprovalDelegationDelegateOrderByWithRelationInput | Prisma.ApprovalDelegationDelegateOrderByWithRelationInput[]
1494
- /**
1495
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1496
- *
1497
- * Sets the position for searching for ApprovalDelegationDelegates.
1498
- */
1499
- cursor?: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1500
- /**
1501
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1502
- *
1503
- * Take `±n` ApprovalDelegationDelegates from the position of the cursor.
1504
- */
1505
- take?: number
1506
- /**
1507
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1508
- *
1509
- * Skip the first `n` ApprovalDelegationDelegates.
1510
- */
1511
- skip?: number
1512
- /**
1513
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1514
- *
1515
- * Filter by unique combinations of ApprovalDelegationDelegates.
1516
- */
1517
- distinct?: Prisma.ApprovalDelegationDelegateScalarFieldEnum | Prisma.ApprovalDelegationDelegateScalarFieldEnum[]
1518
- }
1519
-
1520
- /**
1521
- * ApprovalDelegationDelegate findMany
1522
- */
1523
- export type ApprovalDelegationDelegateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1524
- /**
1525
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1526
- */
1527
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1528
- /**
1529
- * Omit specific fields from the ApprovalDelegationDelegate
1530
- */
1531
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1532
- /**
1533
- * Choose, which related nodes to fetch as well
1534
- */
1535
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1536
- /**
1537
- * Filter, which ApprovalDelegationDelegates to fetch.
1538
- */
1539
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1540
- /**
1541
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1542
- *
1543
- * Determine the order of ApprovalDelegationDelegates to fetch.
1544
- */
1545
- orderBy?: Prisma.ApprovalDelegationDelegateOrderByWithRelationInput | Prisma.ApprovalDelegationDelegateOrderByWithRelationInput[]
1546
- /**
1547
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1548
- *
1549
- * Sets the position for listing ApprovalDelegationDelegates.
1550
- */
1551
- cursor?: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1552
- /**
1553
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1554
- *
1555
- * Take `±n` ApprovalDelegationDelegates from the position of the cursor.
1556
- */
1557
- take?: number
1558
- /**
1559
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1560
- *
1561
- * Skip the first `n` ApprovalDelegationDelegates.
1562
- */
1563
- skip?: number
1564
- /**
1565
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1566
- *
1567
- * Filter by unique combinations of ApprovalDelegationDelegates.
1568
- */
1569
- distinct?: Prisma.ApprovalDelegationDelegateScalarFieldEnum | Prisma.ApprovalDelegationDelegateScalarFieldEnum[]
1570
- }
1571
-
1572
- /**
1573
- * ApprovalDelegationDelegate create
1574
- */
1575
- export type ApprovalDelegationDelegateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1576
- /**
1577
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1578
- */
1579
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1580
- /**
1581
- * Omit specific fields from the ApprovalDelegationDelegate
1582
- */
1583
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1584
- /**
1585
- * Choose, which related nodes to fetch as well
1586
- */
1587
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1588
- /**
1589
- * The data needed to create a ApprovalDelegationDelegate.
1590
- */
1591
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateInput>
1592
- }
1593
-
1594
- /**
1595
- * ApprovalDelegationDelegate createMany
1596
- */
1597
- export type ApprovalDelegationDelegateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1598
- /**
1599
- * The data used to create many ApprovalDelegationDelegates.
1600
- */
1601
- data: Prisma.ApprovalDelegationDelegateCreateManyInput | Prisma.ApprovalDelegationDelegateCreateManyInput[]
1602
- skipDuplicates?: boolean
1603
- }
1604
-
1605
- /**
1606
- * ApprovalDelegationDelegate createManyAndReturn
1607
- */
1608
- export type ApprovalDelegationDelegateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1609
- /**
1610
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1611
- */
1612
- select?: Prisma.ApprovalDelegationDelegateSelectCreateManyAndReturn<ExtArgs> | null
1613
- /**
1614
- * Omit specific fields from the ApprovalDelegationDelegate
1615
- */
1616
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1617
- /**
1618
- * The data used to create many ApprovalDelegationDelegates.
1619
- */
1620
- data: Prisma.ApprovalDelegationDelegateCreateManyInput | Prisma.ApprovalDelegationDelegateCreateManyInput[]
1621
- skipDuplicates?: boolean
1622
- /**
1623
- * Choose, which related nodes to fetch as well
1624
- */
1625
- include?: Prisma.ApprovalDelegationDelegateIncludeCreateManyAndReturn<ExtArgs> | null
1626
- }
1627
-
1628
- /**
1629
- * ApprovalDelegationDelegate update
1630
- */
1631
- export type ApprovalDelegationDelegateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1632
- /**
1633
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1634
- */
1635
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1636
- /**
1637
- * Omit specific fields from the ApprovalDelegationDelegate
1638
- */
1639
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1640
- /**
1641
- * Choose, which related nodes to fetch as well
1642
- */
1643
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1644
- /**
1645
- * The data needed to update a ApprovalDelegationDelegate.
1646
- */
1647
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateInput>
1648
- /**
1649
- * Choose, which ApprovalDelegationDelegate to update.
1650
- */
1651
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1652
- }
1653
-
1654
- /**
1655
- * ApprovalDelegationDelegate updateMany
1656
- */
1657
- export type ApprovalDelegationDelegateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1658
- /**
1659
- * The data used to update ApprovalDelegationDelegates.
1660
- */
1661
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateManyMutationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateManyInput>
1662
- /**
1663
- * Filter which ApprovalDelegationDelegates to update
1664
- */
1665
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1666
- /**
1667
- * Limit how many ApprovalDelegationDelegates to update.
1668
- */
1669
- limit?: number
1670
- }
1671
-
1672
- /**
1673
- * ApprovalDelegationDelegate updateManyAndReturn
1674
- */
1675
- export type ApprovalDelegationDelegateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1676
- /**
1677
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1678
- */
1679
- select?: Prisma.ApprovalDelegationDelegateSelectUpdateManyAndReturn<ExtArgs> | null
1680
- /**
1681
- * Omit specific fields from the ApprovalDelegationDelegate
1682
- */
1683
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1684
- /**
1685
- * The data used to update ApprovalDelegationDelegates.
1686
- */
1687
- data: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateManyMutationInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateManyInput>
1688
- /**
1689
- * Filter which ApprovalDelegationDelegates to update
1690
- */
1691
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1692
- /**
1693
- * Limit how many ApprovalDelegationDelegates to update.
1694
- */
1695
- limit?: number
1696
- /**
1697
- * Choose, which related nodes to fetch as well
1698
- */
1699
- include?: Prisma.ApprovalDelegationDelegateIncludeUpdateManyAndReturn<ExtArgs> | null
1700
- }
1701
-
1702
- /**
1703
- * ApprovalDelegationDelegate upsert
1704
- */
1705
- export type ApprovalDelegationDelegateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1706
- /**
1707
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1708
- */
1709
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1710
- /**
1711
- * Omit specific fields from the ApprovalDelegationDelegate
1712
- */
1713
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1714
- /**
1715
- * Choose, which related nodes to fetch as well
1716
- */
1717
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1718
- /**
1719
- * The filter to search for the ApprovalDelegationDelegate to update in case it exists.
1720
- */
1721
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1722
- /**
1723
- * In case the ApprovalDelegationDelegate found by the `where` argument doesn't exist, create a new ApprovalDelegationDelegate with this data.
1724
- */
1725
- create: Prisma.XOR<Prisma.ApprovalDelegationDelegateCreateInput, Prisma.ApprovalDelegationDelegateUncheckedCreateInput>
1726
- /**
1727
- * In case the ApprovalDelegationDelegate was found with the provided `where` argument, update it with this data.
1728
- */
1729
- update: Prisma.XOR<Prisma.ApprovalDelegationDelegateUpdateInput, Prisma.ApprovalDelegationDelegateUncheckedUpdateInput>
1730
- }
1731
-
1732
- /**
1733
- * ApprovalDelegationDelegate delete
1734
- */
1735
- export type ApprovalDelegationDelegateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1736
- /**
1737
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1738
- */
1739
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1740
- /**
1741
- * Omit specific fields from the ApprovalDelegationDelegate
1742
- */
1743
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1744
- /**
1745
- * Choose, which related nodes to fetch as well
1746
- */
1747
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1748
- /**
1749
- * Filter which ApprovalDelegationDelegate to delete.
1750
- */
1751
- where: Prisma.ApprovalDelegationDelegateWhereUniqueInput
1752
- }
1753
-
1754
- /**
1755
- * ApprovalDelegationDelegate deleteMany
1756
- */
1757
- export type ApprovalDelegationDelegateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1758
- /**
1759
- * Filter which ApprovalDelegationDelegates to delete
1760
- */
1761
- where?: Prisma.ApprovalDelegationDelegateWhereInput
1762
- /**
1763
- * Limit how many ApprovalDelegationDelegates to delete.
1764
- */
1765
- limit?: number
1766
- }
1767
-
1768
- /**
1769
- * ApprovalDelegationDelegate without action
1770
- */
1771
- export type ApprovalDelegationDelegateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1772
- /**
1773
- * Select specific fields to fetch from the ApprovalDelegationDelegate
1774
- */
1775
- select?: Prisma.ApprovalDelegationDelegateSelect<ExtArgs> | null
1776
- /**
1777
- * Omit specific fields from the ApprovalDelegationDelegate
1778
- */
1779
- omit?: Prisma.ApprovalDelegationDelegateOmit<ExtArgs> | null
1780
- /**
1781
- * Choose, which related nodes to fetch as well
1782
- */
1783
- include?: Prisma.ApprovalDelegationDelegateInclude<ExtArgs> | null
1784
- }