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,2032 +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 `BusinessEntityDepartment` 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 BusinessEntityDepartment
17
- *
18
- */
19
- export type BusinessEntityDepartmentModel = runtime.Types.Result.DefaultSelection<Prisma.$BusinessEntityDepartmentPayload>
20
-
21
- export type AggregateBusinessEntityDepartment = {
22
- _count: BusinessEntityDepartmentCountAggregateOutputType | null
23
- _avg: BusinessEntityDepartmentAvgAggregateOutputType | null
24
- _sum: BusinessEntityDepartmentSumAggregateOutputType | null
25
- _min: BusinessEntityDepartmentMinAggregateOutputType | null
26
- _max: BusinessEntityDepartmentMaxAggregateOutputType | null
27
- }
28
-
29
- export type BusinessEntityDepartmentAvgAggregateOutputType = {
30
- id: number | null
31
- business_entity_id: number | null
32
- department_id: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type BusinessEntityDepartmentSumAggregateOutputType = {
39
- id: number | null
40
- business_entity_id: number | null
41
- department_id: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type BusinessEntityDepartmentMinAggregateOutputType = {
48
- id: number | null
49
- uuid: string | null
50
- business_entity_id: number | null
51
- department_id: number | 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
- is_deleted: boolean | null
58
- deleted_at: Date | null
59
- deleted_by: number | null
60
- }
61
-
62
- export type BusinessEntityDepartmentMaxAggregateOutputType = {
63
- id: number | null
64
- uuid: string | null
65
- business_entity_id: number | null
66
- department_id: number | null
67
- is_active: boolean | null
68
- created_at: Date | null
69
- created_by: number | null
70
- updated_at: Date | null
71
- updated_by: number | null
72
- is_deleted: boolean | null
73
- deleted_at: Date | null
74
- deleted_by: number | null
75
- }
76
-
77
- export type BusinessEntityDepartmentCountAggregateOutputType = {
78
- id: number
79
- uuid: number
80
- business_entity_id: number
81
- department_id: number
82
- is_active: number
83
- created_at: number
84
- created_by: number
85
- updated_at: number
86
- updated_by: number
87
- is_deleted: number
88
- deleted_at: number
89
- deleted_by: number
90
- _all: number
91
- }
92
-
93
-
94
- export type BusinessEntityDepartmentAvgAggregateInputType = {
95
- id?: true
96
- business_entity_id?: true
97
- department_id?: true
98
- created_by?: true
99
- updated_by?: true
100
- deleted_by?: true
101
- }
102
-
103
- export type BusinessEntityDepartmentSumAggregateInputType = {
104
- id?: true
105
- business_entity_id?: true
106
- department_id?: true
107
- created_by?: true
108
- updated_by?: true
109
- deleted_by?: true
110
- }
111
-
112
- export type BusinessEntityDepartmentMinAggregateInputType = {
113
- id?: true
114
- uuid?: true
115
- business_entity_id?: true
116
- department_id?: true
117
- is_active?: true
118
- created_at?: true
119
- created_by?: true
120
- updated_at?: true
121
- updated_by?: true
122
- is_deleted?: true
123
- deleted_at?: true
124
- deleted_by?: true
125
- }
126
-
127
- export type BusinessEntityDepartmentMaxAggregateInputType = {
128
- id?: true
129
- uuid?: true
130
- business_entity_id?: true
131
- department_id?: true
132
- is_active?: true
133
- created_at?: true
134
- created_by?: true
135
- updated_at?: true
136
- updated_by?: true
137
- is_deleted?: true
138
- deleted_at?: true
139
- deleted_by?: true
140
- }
141
-
142
- export type BusinessEntityDepartmentCountAggregateInputType = {
143
- id?: true
144
- uuid?: true
145
- business_entity_id?: true
146
- department_id?: true
147
- is_active?: true
148
- created_at?: true
149
- created_by?: true
150
- updated_at?: true
151
- updated_by?: true
152
- is_deleted?: true
153
- deleted_at?: true
154
- deleted_by?: true
155
- _all?: true
156
- }
157
-
158
- export type BusinessEntityDepartmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
159
- /**
160
- * Filter which BusinessEntityDepartment to aggregate.
161
- */
162
- where?: Prisma.BusinessEntityDepartmentWhereInput
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
165
- *
166
- * Determine the order of BusinessEntityDepartments to fetch.
167
- */
168
- orderBy?: Prisma.BusinessEntityDepartmentOrderByWithRelationInput | Prisma.BusinessEntityDepartmentOrderByWithRelationInput[]
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
171
- *
172
- * Sets the start position
173
- */
174
- cursor?: Prisma.BusinessEntityDepartmentWhereUniqueInput
175
- /**
176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
- *
178
- * Take `±n` BusinessEntityDepartments from the position of the cursor.
179
- */
180
- take?: number
181
- /**
182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
183
- *
184
- * Skip the first `n` BusinessEntityDepartments.
185
- */
186
- skip?: number
187
- /**
188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
- *
190
- * Count returned BusinessEntityDepartments
191
- **/
192
- _count?: true | BusinessEntityDepartmentCountAggregateInputType
193
- /**
194
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
- *
196
- * Select which fields to average
197
- **/
198
- _avg?: BusinessEntityDepartmentAvgAggregateInputType
199
- /**
200
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
- *
202
- * Select which fields to sum
203
- **/
204
- _sum?: BusinessEntityDepartmentSumAggregateInputType
205
- /**
206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
- *
208
- * Select which fields to find the minimum value
209
- **/
210
- _min?: BusinessEntityDepartmentMinAggregateInputType
211
- /**
212
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
213
- *
214
- * Select which fields to find the maximum value
215
- **/
216
- _max?: BusinessEntityDepartmentMaxAggregateInputType
217
- }
218
-
219
- export type GetBusinessEntityDepartmentAggregateType<T extends BusinessEntityDepartmentAggregateArgs> = {
220
- [P in keyof T & keyof AggregateBusinessEntityDepartment]: P extends '_count' | 'count'
221
- ? T[P] extends true
222
- ? number
223
- : Prisma.GetScalarType<T[P], AggregateBusinessEntityDepartment[P]>
224
- : Prisma.GetScalarType<T[P], AggregateBusinessEntityDepartment[P]>
225
- }
226
-
227
-
228
-
229
-
230
- export type BusinessEntityDepartmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
231
- where?: Prisma.BusinessEntityDepartmentWhereInput
232
- orderBy?: Prisma.BusinessEntityDepartmentOrderByWithAggregationInput | Prisma.BusinessEntityDepartmentOrderByWithAggregationInput[]
233
- by: Prisma.BusinessEntityDepartmentScalarFieldEnum[] | Prisma.BusinessEntityDepartmentScalarFieldEnum
234
- having?: Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput
235
- take?: number
236
- skip?: number
237
- _count?: BusinessEntityDepartmentCountAggregateInputType | true
238
- _avg?: BusinessEntityDepartmentAvgAggregateInputType
239
- _sum?: BusinessEntityDepartmentSumAggregateInputType
240
- _min?: BusinessEntityDepartmentMinAggregateInputType
241
- _max?: BusinessEntityDepartmentMaxAggregateInputType
242
- }
243
-
244
- export type BusinessEntityDepartmentGroupByOutputType = {
245
- id: number
246
- uuid: string | null
247
- business_entity_id: number | null
248
- department_id: number | null
249
- is_active: boolean | null
250
- created_at: Date | null
251
- created_by: number | null
252
- updated_at: Date | null
253
- updated_by: number | null
254
- is_deleted: boolean | null
255
- deleted_at: Date | null
256
- deleted_by: number | null
257
- _count: BusinessEntityDepartmentCountAggregateOutputType | null
258
- _avg: BusinessEntityDepartmentAvgAggregateOutputType | null
259
- _sum: BusinessEntityDepartmentSumAggregateOutputType | null
260
- _min: BusinessEntityDepartmentMinAggregateOutputType | null
261
- _max: BusinessEntityDepartmentMaxAggregateOutputType | null
262
- }
263
-
264
- export type GetBusinessEntityDepartmentGroupByPayload<T extends BusinessEntityDepartmentGroupByArgs> = Prisma.PrismaPromise<
265
- Array<
266
- Prisma.PickEnumerable<BusinessEntityDepartmentGroupByOutputType, T['by']> &
267
- {
268
- [P in ((keyof T) & (keyof BusinessEntityDepartmentGroupByOutputType))]: P extends '_count'
269
- ? T[P] extends boolean
270
- ? number
271
- : Prisma.GetScalarType<T[P], BusinessEntityDepartmentGroupByOutputType[P]>
272
- : Prisma.GetScalarType<T[P], BusinessEntityDepartmentGroupByOutputType[P]>
273
- }
274
- >
275
- >
276
-
277
-
278
-
279
- export type BusinessEntityDepartmentWhereInput = {
280
- AND?: Prisma.BusinessEntityDepartmentWhereInput | Prisma.BusinessEntityDepartmentWhereInput[]
281
- OR?: Prisma.BusinessEntityDepartmentWhereInput[]
282
- NOT?: Prisma.BusinessEntityDepartmentWhereInput | Prisma.BusinessEntityDepartmentWhereInput[]
283
- id?: Prisma.IntFilter<"BusinessEntityDepartment"> | number
284
- uuid?: Prisma.StringNullableFilter<"BusinessEntityDepartment"> | string | null
285
- business_entity_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
286
- department_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
287
- is_active?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
288
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
289
- created_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
290
- updated_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
291
- updated_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
292
- is_deleted?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
293
- deleted_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
294
- deleted_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
295
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
296
- department?: Prisma.XOR<Prisma.DepartmentNullableScalarRelationFilter, Prisma.DepartmentWhereInput> | null
297
- userDepartmentEntities?: Prisma.UserDepartmentEntityListRelationFilter
298
- }
299
-
300
- export type BusinessEntityDepartmentOrderByWithRelationInput = {
301
- id?: Prisma.SortOrder
302
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
303
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
304
- department_id?: Prisma.SortOrderInput | Prisma.SortOrder
305
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
306
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
307
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
308
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
309
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
310
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
311
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
312
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
313
- business_entity?: Prisma.BusinessEntityOrderByWithRelationInput
314
- department?: Prisma.DepartmentOrderByWithRelationInput
315
- userDepartmentEntities?: Prisma.UserDepartmentEntityOrderByRelationAggregateInput
316
- }
317
-
318
- export type BusinessEntityDepartmentWhereUniqueInput = Prisma.AtLeast<{
319
- id?: number
320
- uuid?: string
321
- business_entity_id_department_id?: Prisma.BusinessEntityDepartmentBusiness_entity_idDepartment_idCompoundUniqueInput
322
- AND?: Prisma.BusinessEntityDepartmentWhereInput | Prisma.BusinessEntityDepartmentWhereInput[]
323
- OR?: Prisma.BusinessEntityDepartmentWhereInput[]
324
- NOT?: Prisma.BusinessEntityDepartmentWhereInput | Prisma.BusinessEntityDepartmentWhereInput[]
325
- business_entity_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
326
- department_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
327
- is_active?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
328
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
329
- created_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
330
- updated_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
331
- updated_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
332
- is_deleted?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
333
- deleted_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
334
- deleted_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
335
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
336
- department?: Prisma.XOR<Prisma.DepartmentNullableScalarRelationFilter, Prisma.DepartmentWhereInput> | null
337
- userDepartmentEntities?: Prisma.UserDepartmentEntityListRelationFilter
338
- }, "id" | "uuid" | "business_entity_id_department_id">
339
-
340
- export type BusinessEntityDepartmentOrderByWithAggregationInput = {
341
- id?: Prisma.SortOrder
342
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
343
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
344
- department_id?: Prisma.SortOrderInput | Prisma.SortOrder
345
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
346
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
347
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
348
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
349
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
350
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
351
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
352
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
353
- _count?: Prisma.BusinessEntityDepartmentCountOrderByAggregateInput
354
- _avg?: Prisma.BusinessEntityDepartmentAvgOrderByAggregateInput
355
- _max?: Prisma.BusinessEntityDepartmentMaxOrderByAggregateInput
356
- _min?: Prisma.BusinessEntityDepartmentMinOrderByAggregateInput
357
- _sum?: Prisma.BusinessEntityDepartmentSumOrderByAggregateInput
358
- }
359
-
360
- export type BusinessEntityDepartmentScalarWhereWithAggregatesInput = {
361
- AND?: Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput | Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput[]
362
- OR?: Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput[]
363
- NOT?: Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput | Prisma.BusinessEntityDepartmentScalarWhereWithAggregatesInput[]
364
- id?: Prisma.IntWithAggregatesFilter<"BusinessEntityDepartment"> | number
365
- uuid?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntityDepartment"> | string | null
366
- business_entity_id?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityDepartment"> | number | null
367
- department_id?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityDepartment"> | number | null
368
- is_active?: Prisma.BoolNullableWithAggregatesFilter<"BusinessEntityDepartment"> | boolean | null
369
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntityDepartment"> | Date | string | null
370
- created_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityDepartment"> | number | null
371
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntityDepartment"> | Date | string | null
372
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityDepartment"> | number | null
373
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"BusinessEntityDepartment"> | boolean | null
374
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntityDepartment"> | Date | string | null
375
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityDepartment"> | number | null
376
- }
377
-
378
- export type BusinessEntityDepartmentCreateInput = {
379
- uuid?: string | null
380
- is_active?: boolean | null
381
- created_at?: Date | string | null
382
- created_by?: number | null
383
- updated_at?: Date | string | null
384
- updated_by?: number | null
385
- is_deleted?: boolean | null
386
- deleted_at?: Date | string | null
387
- deleted_by?: number | null
388
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutBusiness_entity_departmentsInput
389
- department?: Prisma.DepartmentCreateNestedOneWithoutBusiness_entity_departmentsInput
390
- userDepartmentEntities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBussiness_entity_departmentInput
391
- }
392
-
393
- export type BusinessEntityDepartmentUncheckedCreateInput = {
394
- id?: number
395
- uuid?: string | null
396
- business_entity_id?: number | null
397
- department_id?: number | null
398
- is_active?: boolean | null
399
- created_at?: Date | string | null
400
- created_by?: number | null
401
- updated_at?: Date | string | null
402
- updated_by?: number | null
403
- is_deleted?: boolean | null
404
- deleted_at?: Date | string | null
405
- deleted_by?: number | null
406
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBussiness_entity_departmentInput
407
- }
408
-
409
- export type BusinessEntityDepartmentUpdateInput = {
410
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
411
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
412
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
413
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
414
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
415
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
416
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
417
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
418
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
419
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutBusiness_entity_departmentsNestedInput
420
- department?: Prisma.DepartmentUpdateOneWithoutBusiness_entity_departmentsNestedInput
421
- userDepartmentEntities?: Prisma.UserDepartmentEntityUpdateManyWithoutBussiness_entity_departmentNestedInput
422
- }
423
-
424
- export type BusinessEntityDepartmentUncheckedUpdateInput = {
425
- id?: Prisma.IntFieldUpdateOperationsInput | number
426
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
427
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
428
- department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
429
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
430
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
431
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
432
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
433
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
434
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
435
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
436
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
437
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBussiness_entity_departmentNestedInput
438
- }
439
-
440
- export type BusinessEntityDepartmentCreateManyInput = {
441
- id?: number
442
- uuid?: string | null
443
- business_entity_id?: number | null
444
- department_id?: number | null
445
- is_active?: boolean | null
446
- created_at?: Date | string | null
447
- created_by?: number | null
448
- updated_at?: Date | string | null
449
- updated_by?: number | null
450
- is_deleted?: boolean | null
451
- deleted_at?: Date | string | null
452
- deleted_by?: number | null
453
- }
454
-
455
- export type BusinessEntityDepartmentUpdateManyMutationInput = {
456
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
457
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
458
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
459
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
460
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
461
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
462
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
463
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
464
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
465
- }
466
-
467
- export type BusinessEntityDepartmentUncheckedUpdateManyInput = {
468
- id?: Prisma.IntFieldUpdateOperationsInput | number
469
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
470
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
471
- department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
472
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
473
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
474
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
475
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
476
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
477
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
478
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
479
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
480
- }
481
-
482
- export type BusinessEntityDepartmentListRelationFilter = {
483
- every?: Prisma.BusinessEntityDepartmentWhereInput
484
- some?: Prisma.BusinessEntityDepartmentWhereInput
485
- none?: Prisma.BusinessEntityDepartmentWhereInput
486
- }
487
-
488
- export type BusinessEntityDepartmentOrderByRelationAggregateInput = {
489
- _count?: Prisma.SortOrder
490
- }
491
-
492
- export type BusinessEntityDepartmentNullableScalarRelationFilter = {
493
- is?: Prisma.BusinessEntityDepartmentWhereInput | null
494
- isNot?: Prisma.BusinessEntityDepartmentWhereInput | null
495
- }
496
-
497
- export type BusinessEntityDepartmentBusiness_entity_idDepartment_idCompoundUniqueInput = {
498
- business_entity_id: number
499
- department_id: number
500
- }
501
-
502
- export type BusinessEntityDepartmentCountOrderByAggregateInput = {
503
- id?: Prisma.SortOrder
504
- uuid?: Prisma.SortOrder
505
- business_entity_id?: Prisma.SortOrder
506
- department_id?: Prisma.SortOrder
507
- is_active?: Prisma.SortOrder
508
- created_at?: Prisma.SortOrder
509
- created_by?: Prisma.SortOrder
510
- updated_at?: Prisma.SortOrder
511
- updated_by?: Prisma.SortOrder
512
- is_deleted?: Prisma.SortOrder
513
- deleted_at?: Prisma.SortOrder
514
- deleted_by?: Prisma.SortOrder
515
- }
516
-
517
- export type BusinessEntityDepartmentAvgOrderByAggregateInput = {
518
- id?: Prisma.SortOrder
519
- business_entity_id?: Prisma.SortOrder
520
- department_id?: Prisma.SortOrder
521
- created_by?: Prisma.SortOrder
522
- updated_by?: Prisma.SortOrder
523
- deleted_by?: Prisma.SortOrder
524
- }
525
-
526
- export type BusinessEntityDepartmentMaxOrderByAggregateInput = {
527
- id?: Prisma.SortOrder
528
- uuid?: Prisma.SortOrder
529
- business_entity_id?: Prisma.SortOrder
530
- department_id?: Prisma.SortOrder
531
- is_active?: Prisma.SortOrder
532
- created_at?: Prisma.SortOrder
533
- created_by?: Prisma.SortOrder
534
- updated_at?: Prisma.SortOrder
535
- updated_by?: Prisma.SortOrder
536
- is_deleted?: Prisma.SortOrder
537
- deleted_at?: Prisma.SortOrder
538
- deleted_by?: Prisma.SortOrder
539
- }
540
-
541
- export type BusinessEntityDepartmentMinOrderByAggregateInput = {
542
- id?: Prisma.SortOrder
543
- uuid?: Prisma.SortOrder
544
- business_entity_id?: Prisma.SortOrder
545
- department_id?: Prisma.SortOrder
546
- is_active?: Prisma.SortOrder
547
- created_at?: Prisma.SortOrder
548
- created_by?: Prisma.SortOrder
549
- updated_at?: Prisma.SortOrder
550
- updated_by?: Prisma.SortOrder
551
- is_deleted?: Prisma.SortOrder
552
- deleted_at?: Prisma.SortOrder
553
- deleted_by?: Prisma.SortOrder
554
- }
555
-
556
- export type BusinessEntityDepartmentSumOrderByAggregateInput = {
557
- id?: Prisma.SortOrder
558
- business_entity_id?: Prisma.SortOrder
559
- department_id?: Prisma.SortOrder
560
- created_by?: Prisma.SortOrder
561
- updated_by?: Prisma.SortOrder
562
- deleted_by?: Prisma.SortOrder
563
- }
564
-
565
- export type BusinessEntityDepartmentCreateNestedManyWithoutDepartmentInput = {
566
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput> | Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput[]
567
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput[]
568
- createMany?: Prisma.BusinessEntityDepartmentCreateManyDepartmentInputEnvelope
569
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
570
- }
571
-
572
- export type BusinessEntityDepartmentUncheckedCreateNestedManyWithoutDepartmentInput = {
573
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput> | Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput[]
574
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput[]
575
- createMany?: Prisma.BusinessEntityDepartmentCreateManyDepartmentInputEnvelope
576
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
577
- }
578
-
579
- export type BusinessEntityDepartmentUpdateManyWithoutDepartmentNestedInput = {
580
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput> | Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput[]
581
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput[]
582
- upsert?: Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutDepartmentInput[]
583
- createMany?: Prisma.BusinessEntityDepartmentCreateManyDepartmentInputEnvelope
584
- set?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
585
- disconnect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
586
- delete?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
587
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
588
- update?: Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutDepartmentInput[]
589
- updateMany?: Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutDepartmentInput[]
590
- deleteMany?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
591
- }
592
-
593
- export type BusinessEntityDepartmentUncheckedUpdateManyWithoutDepartmentNestedInput = {
594
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput> | Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput[]
595
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput[]
596
- upsert?: Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutDepartmentInput[]
597
- createMany?: Prisma.BusinessEntityDepartmentCreateManyDepartmentInputEnvelope
598
- set?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
599
- disconnect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
600
- delete?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
601
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
602
- update?: Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutDepartmentInput[]
603
- updateMany?: Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutDepartmentInput | Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutDepartmentInput[]
604
- deleteMany?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
605
- }
606
-
607
- export type BusinessEntityDepartmentCreateNestedOneWithoutUserDepartmentEntitiesInput = {
608
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutUserDepartmentEntitiesInput>
609
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutUserDepartmentEntitiesInput
610
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput
611
- }
612
-
613
- export type BusinessEntityDepartmentUpdateOneWithoutUserDepartmentEntitiesNestedInput = {
614
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutUserDepartmentEntitiesInput>
615
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutUserDepartmentEntitiesInput
616
- upsert?: Prisma.BusinessEntityDepartmentUpsertWithoutUserDepartmentEntitiesInput
617
- disconnect?: Prisma.BusinessEntityDepartmentWhereInput | boolean
618
- delete?: Prisma.BusinessEntityDepartmentWhereInput | boolean
619
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput
620
- update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateToOneWithWhereWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUpdateWithoutUserDepartmentEntitiesInput>, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutUserDepartmentEntitiesInput>
621
- }
622
-
623
- export type BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput = {
624
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput[]
625
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput[]
626
- createMany?: Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInputEnvelope
627
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
628
- }
629
-
630
- export type BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput = {
631
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput[]
632
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput[]
633
- createMany?: Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInputEnvelope
634
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
635
- }
636
-
637
- export type BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput = {
638
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput[]
639
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput[]
640
- upsert?: Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutBusiness_entityInput[]
641
- createMany?: Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInputEnvelope
642
- set?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
643
- disconnect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
644
- delete?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
645
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
646
- update?: Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutBusiness_entityInput[]
647
- updateMany?: Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutBusiness_entityInput[]
648
- deleteMany?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
649
- }
650
-
651
- export type BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput = {
652
- create?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput[]
653
- connectOrCreate?: Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput[]
654
- upsert?: Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpsertWithWhereUniqueWithoutBusiness_entityInput[]
655
- createMany?: Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInputEnvelope
656
- set?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
657
- disconnect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
658
- delete?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
659
- connect?: Prisma.BusinessEntityDepartmentWhereUniqueInput | Prisma.BusinessEntityDepartmentWhereUniqueInput[]
660
- update?: Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpdateWithWhereUniqueWithoutBusiness_entityInput[]
661
- updateMany?: Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.BusinessEntityDepartmentUpdateManyWithWhereWithoutBusiness_entityInput[]
662
- deleteMany?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
663
- }
664
-
665
- export type BusinessEntityDepartmentCreateWithoutDepartmentInput = {
666
- uuid?: string | null
667
- is_active?: boolean | null
668
- created_at?: Date | string | null
669
- created_by?: number | null
670
- updated_at?: Date | string | null
671
- updated_by?: number | null
672
- is_deleted?: boolean | null
673
- deleted_at?: Date | string | null
674
- deleted_by?: number | null
675
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutBusiness_entity_departmentsInput
676
- userDepartmentEntities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBussiness_entity_departmentInput
677
- }
678
-
679
- export type BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput = {
680
- id?: number
681
- uuid?: string | null
682
- business_entity_id?: number | null
683
- is_active?: boolean | null
684
- created_at?: Date | string | null
685
- created_by?: number | null
686
- updated_at?: Date | string | null
687
- updated_by?: number | null
688
- is_deleted?: boolean | null
689
- deleted_at?: Date | string | null
690
- deleted_by?: number | null
691
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBussiness_entity_departmentInput
692
- }
693
-
694
- export type BusinessEntityDepartmentCreateOrConnectWithoutDepartmentInput = {
695
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
696
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput>
697
- }
698
-
699
- export type BusinessEntityDepartmentCreateManyDepartmentInputEnvelope = {
700
- data: Prisma.BusinessEntityDepartmentCreateManyDepartmentInput | Prisma.BusinessEntityDepartmentCreateManyDepartmentInput[]
701
- skipDuplicates?: boolean
702
- }
703
-
704
- export type BusinessEntityDepartmentUpsertWithWhereUniqueWithoutDepartmentInput = {
705
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
706
- update: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutDepartmentInput>
707
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutDepartmentInput>
708
- }
709
-
710
- export type BusinessEntityDepartmentUpdateWithWhereUniqueWithoutDepartmentInput = {
711
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
712
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutDepartmentInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutDepartmentInput>
713
- }
714
-
715
- export type BusinessEntityDepartmentUpdateManyWithWhereWithoutDepartmentInput = {
716
- where: Prisma.BusinessEntityDepartmentScalarWhereInput
717
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateManyMutationInput, Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutDepartmentInput>
718
- }
719
-
720
- export type BusinessEntityDepartmentScalarWhereInput = {
721
- AND?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
722
- OR?: Prisma.BusinessEntityDepartmentScalarWhereInput[]
723
- NOT?: Prisma.BusinessEntityDepartmentScalarWhereInput | Prisma.BusinessEntityDepartmentScalarWhereInput[]
724
- id?: Prisma.IntFilter<"BusinessEntityDepartment"> | number
725
- uuid?: Prisma.StringNullableFilter<"BusinessEntityDepartment"> | string | null
726
- business_entity_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
727
- department_id?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
728
- is_active?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
729
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
730
- created_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
731
- updated_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
732
- updated_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
733
- is_deleted?: Prisma.BoolNullableFilter<"BusinessEntityDepartment"> | boolean | null
734
- deleted_at?: Prisma.DateTimeNullableFilter<"BusinessEntityDepartment"> | Date | string | null
735
- deleted_by?: Prisma.IntNullableFilter<"BusinessEntityDepartment"> | number | null
736
- }
737
-
738
- export type BusinessEntityDepartmentCreateWithoutUserDepartmentEntitiesInput = {
739
- uuid?: string | null
740
- is_active?: boolean | null
741
- created_at?: Date | string | null
742
- created_by?: number | null
743
- updated_at?: Date | string | null
744
- updated_by?: number | null
745
- is_deleted?: boolean | null
746
- deleted_at?: Date | string | null
747
- deleted_by?: number | null
748
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutBusiness_entity_departmentsInput
749
- department?: Prisma.DepartmentCreateNestedOneWithoutBusiness_entity_departmentsInput
750
- }
751
-
752
- export type BusinessEntityDepartmentUncheckedCreateWithoutUserDepartmentEntitiesInput = {
753
- id?: number
754
- uuid?: string | null
755
- business_entity_id?: number | null
756
- department_id?: number | null
757
- is_active?: boolean | null
758
- created_at?: Date | string | null
759
- created_by?: number | null
760
- updated_at?: Date | string | null
761
- updated_by?: number | null
762
- is_deleted?: boolean | null
763
- deleted_at?: Date | string | null
764
- deleted_by?: number | null
765
- }
766
-
767
- export type BusinessEntityDepartmentCreateOrConnectWithoutUserDepartmentEntitiesInput = {
768
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
769
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutUserDepartmentEntitiesInput>
770
- }
771
-
772
- export type BusinessEntityDepartmentUpsertWithoutUserDepartmentEntitiesInput = {
773
- update: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutUserDepartmentEntitiesInput>
774
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutUserDepartmentEntitiesInput>
775
- where?: Prisma.BusinessEntityDepartmentWhereInput
776
- }
777
-
778
- export type BusinessEntityDepartmentUpdateToOneWithWhereWithoutUserDepartmentEntitiesInput = {
779
- where?: Prisma.BusinessEntityDepartmentWhereInput
780
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutUserDepartmentEntitiesInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutUserDepartmentEntitiesInput>
781
- }
782
-
783
- export type BusinessEntityDepartmentUpdateWithoutUserDepartmentEntitiesInput = {
784
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
785
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
786
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
787
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
788
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
789
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
790
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
791
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
792
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
793
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutBusiness_entity_departmentsNestedInput
794
- department?: Prisma.DepartmentUpdateOneWithoutBusiness_entity_departmentsNestedInput
795
- }
796
-
797
- export type BusinessEntityDepartmentUncheckedUpdateWithoutUserDepartmentEntitiesInput = {
798
- id?: Prisma.IntFieldUpdateOperationsInput | number
799
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
800
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
801
- department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
802
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
803
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
804
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
805
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
806
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
807
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
808
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
809
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
810
- }
811
-
812
- export type BusinessEntityDepartmentCreateWithoutBusiness_entityInput = {
813
- uuid?: string | null
814
- is_active?: boolean | null
815
- created_at?: Date | string | null
816
- created_by?: number | null
817
- updated_at?: Date | string | null
818
- updated_by?: number | null
819
- is_deleted?: boolean | null
820
- deleted_at?: Date | string | null
821
- deleted_by?: number | null
822
- department?: Prisma.DepartmentCreateNestedOneWithoutBusiness_entity_departmentsInput
823
- userDepartmentEntities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBussiness_entity_departmentInput
824
- }
825
-
826
- export type BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput = {
827
- id?: number
828
- uuid?: string | null
829
- department_id?: number | null
830
- is_active?: boolean | null
831
- created_at?: Date | string | null
832
- created_by?: number | null
833
- updated_at?: Date | string | null
834
- updated_by?: number | null
835
- is_deleted?: boolean | null
836
- deleted_at?: Date | string | null
837
- deleted_by?: number | null
838
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBussiness_entity_departmentInput
839
- }
840
-
841
- export type BusinessEntityDepartmentCreateOrConnectWithoutBusiness_entityInput = {
842
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
843
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput>
844
- }
845
-
846
- export type BusinessEntityDepartmentCreateManyBusiness_entityInputEnvelope = {
847
- data: Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInput | Prisma.BusinessEntityDepartmentCreateManyBusiness_entityInput[]
848
- skipDuplicates?: boolean
849
- }
850
-
851
- export type BusinessEntityDepartmentUpsertWithWhereUniqueWithoutBusiness_entityInput = {
852
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
853
- update: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutBusiness_entityInput>
854
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedCreateWithoutBusiness_entityInput>
855
- }
856
-
857
- export type BusinessEntityDepartmentUpdateWithWhereUniqueWithoutBusiness_entityInput = {
858
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
859
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateWithoutBusiness_entityInput, Prisma.BusinessEntityDepartmentUncheckedUpdateWithoutBusiness_entityInput>
860
- }
861
-
862
- export type BusinessEntityDepartmentUpdateManyWithWhereWithoutBusiness_entityInput = {
863
- where: Prisma.BusinessEntityDepartmentScalarWhereInput
864
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateManyMutationInput, Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityInput>
865
- }
866
-
867
- export type BusinessEntityDepartmentCreateManyDepartmentInput = {
868
- id?: number
869
- uuid?: string | null
870
- business_entity_id?: number | null
871
- is_active?: boolean | null
872
- created_at?: Date | string | null
873
- created_by?: number | null
874
- updated_at?: Date | string | null
875
- updated_by?: number | null
876
- is_deleted?: boolean | null
877
- deleted_at?: Date | string | null
878
- deleted_by?: number | null
879
- }
880
-
881
- export type BusinessEntityDepartmentUpdateWithoutDepartmentInput = {
882
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
883
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
884
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
885
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
886
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
887
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
888
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
889
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
890
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
891
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutBusiness_entity_departmentsNestedInput
892
- userDepartmentEntities?: Prisma.UserDepartmentEntityUpdateManyWithoutBussiness_entity_departmentNestedInput
893
- }
894
-
895
- export type BusinessEntityDepartmentUncheckedUpdateWithoutDepartmentInput = {
896
- id?: Prisma.IntFieldUpdateOperationsInput | number
897
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
898
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
899
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
900
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
901
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
902
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
903
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
904
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
905
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
906
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
907
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBussiness_entity_departmentNestedInput
908
- }
909
-
910
- export type BusinessEntityDepartmentUncheckedUpdateManyWithoutDepartmentInput = {
911
- id?: Prisma.IntFieldUpdateOperationsInput | number
912
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
913
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
914
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
915
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
916
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
917
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
918
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
919
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
920
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
921
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
922
- }
923
-
924
- export type BusinessEntityDepartmentCreateManyBusiness_entityInput = {
925
- id?: number
926
- uuid?: string | null
927
- department_id?: number | null
928
- is_active?: boolean | null
929
- created_at?: Date | string | null
930
- created_by?: number | null
931
- updated_at?: Date | string | null
932
- updated_by?: number | null
933
- is_deleted?: boolean | null
934
- deleted_at?: Date | string | null
935
- deleted_by?: number | null
936
- }
937
-
938
- export type BusinessEntityDepartmentUpdateWithoutBusiness_entityInput = {
939
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
941
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
942
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
943
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
944
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
945
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
946
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
947
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
948
- department?: Prisma.DepartmentUpdateOneWithoutBusiness_entity_departmentsNestedInput
949
- userDepartmentEntities?: Prisma.UserDepartmentEntityUpdateManyWithoutBussiness_entity_departmentNestedInput
950
- }
951
-
952
- export type BusinessEntityDepartmentUncheckedUpdateWithoutBusiness_entityInput = {
953
- id?: Prisma.IntFieldUpdateOperationsInput | number
954
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
955
- department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
956
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
957
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
958
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
959
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
960
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
961
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
962
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
963
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
964
- userDepartmentEntities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBussiness_entity_departmentNestedInput
965
- }
966
-
967
- export type BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityInput = {
968
- id?: Prisma.IntFieldUpdateOperationsInput | number
969
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
970
- department_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
971
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
972
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
973
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
974
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
975
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
976
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
977
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
978
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
979
- }
980
-
981
-
982
- /**
983
- * Count Type BusinessEntityDepartmentCountOutputType
984
- */
985
-
986
- export type BusinessEntityDepartmentCountOutputType = {
987
- userDepartmentEntities: number
988
- }
989
-
990
- export type BusinessEntityDepartmentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
991
- userDepartmentEntities?: boolean | BusinessEntityDepartmentCountOutputTypeCountUserDepartmentEntitiesArgs
992
- }
993
-
994
- /**
995
- * BusinessEntityDepartmentCountOutputType without action
996
- */
997
- export type BusinessEntityDepartmentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
998
- /**
999
- * Select specific fields to fetch from the BusinessEntityDepartmentCountOutputType
1000
- */
1001
- select?: Prisma.BusinessEntityDepartmentCountOutputTypeSelect<ExtArgs> | null
1002
- }
1003
-
1004
- /**
1005
- * BusinessEntityDepartmentCountOutputType without action
1006
- */
1007
- export type BusinessEntityDepartmentCountOutputTypeCountUserDepartmentEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1008
- where?: Prisma.UserDepartmentEntityWhereInput
1009
- }
1010
-
1011
-
1012
- export type BusinessEntityDepartmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1013
- id?: boolean
1014
- uuid?: boolean
1015
- business_entity_id?: boolean
1016
- department_id?: boolean
1017
- is_active?: boolean
1018
- created_at?: boolean
1019
- created_by?: boolean
1020
- updated_at?: boolean
1021
- updated_by?: boolean
1022
- is_deleted?: boolean
1023
- deleted_at?: boolean
1024
- deleted_by?: boolean
1025
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1026
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1027
- userDepartmentEntities?: boolean | Prisma.BusinessEntityDepartment$userDepartmentEntitiesArgs<ExtArgs>
1028
- _count?: boolean | Prisma.BusinessEntityDepartmentCountOutputTypeDefaultArgs<ExtArgs>
1029
- }, ExtArgs["result"]["businessEntityDepartment"]>
1030
-
1031
- export type BusinessEntityDepartmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1032
- id?: boolean
1033
- uuid?: boolean
1034
- business_entity_id?: boolean
1035
- department_id?: boolean
1036
- is_active?: boolean
1037
- created_at?: boolean
1038
- created_by?: boolean
1039
- updated_at?: boolean
1040
- updated_by?: boolean
1041
- is_deleted?: boolean
1042
- deleted_at?: boolean
1043
- deleted_by?: boolean
1044
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1045
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1046
- }, ExtArgs["result"]["businessEntityDepartment"]>
1047
-
1048
- export type BusinessEntityDepartmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1049
- id?: boolean
1050
- uuid?: boolean
1051
- business_entity_id?: boolean
1052
- department_id?: boolean
1053
- is_active?: boolean
1054
- created_at?: boolean
1055
- created_by?: boolean
1056
- updated_at?: boolean
1057
- updated_by?: boolean
1058
- is_deleted?: boolean
1059
- deleted_at?: boolean
1060
- deleted_by?: boolean
1061
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1062
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1063
- }, ExtArgs["result"]["businessEntityDepartment"]>
1064
-
1065
- export type BusinessEntityDepartmentSelectScalar = {
1066
- id?: boolean
1067
- uuid?: boolean
1068
- business_entity_id?: boolean
1069
- department_id?: boolean
1070
- is_active?: boolean
1071
- created_at?: boolean
1072
- created_by?: boolean
1073
- updated_at?: boolean
1074
- updated_by?: boolean
1075
- is_deleted?: boolean
1076
- deleted_at?: boolean
1077
- deleted_by?: boolean
1078
- }
1079
-
1080
- export type BusinessEntityDepartmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "business_entity_id" | "department_id" | "is_active" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_at" | "deleted_by", ExtArgs["result"]["businessEntityDepartment"]>
1081
- export type BusinessEntityDepartmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1082
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1083
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1084
- userDepartmentEntities?: boolean | Prisma.BusinessEntityDepartment$userDepartmentEntitiesArgs<ExtArgs>
1085
- _count?: boolean | Prisma.BusinessEntityDepartmentCountOutputTypeDefaultArgs<ExtArgs>
1086
- }
1087
- export type BusinessEntityDepartmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1088
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1089
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1090
- }
1091
- export type BusinessEntityDepartmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1092
- business_entity?: boolean | Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>
1093
- department?: boolean | Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>
1094
- }
1095
-
1096
- export type $BusinessEntityDepartmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1097
- name: "BusinessEntityDepartment"
1098
- objects: {
1099
- business_entity: Prisma.$BusinessEntityPayload<ExtArgs> | null
1100
- department: Prisma.$DepartmentPayload<ExtArgs> | null
1101
- userDepartmentEntities: Prisma.$UserDepartmentEntityPayload<ExtArgs>[]
1102
- }
1103
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1104
- id: number
1105
- uuid: string | null
1106
- business_entity_id: number | null
1107
- department_id: number | null
1108
- is_active: boolean | null
1109
- created_at: Date | null
1110
- created_by: number | null
1111
- updated_at: Date | null
1112
- updated_by: number | null
1113
- is_deleted: boolean | null
1114
- deleted_at: Date | null
1115
- deleted_by: number | null
1116
- }, ExtArgs["result"]["businessEntityDepartment"]>
1117
- composites: {}
1118
- }
1119
-
1120
- export type BusinessEntityDepartmentGetPayload<S extends boolean | null | undefined | BusinessEntityDepartmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload, S>
1121
-
1122
- export type BusinessEntityDepartmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1123
- Omit<BusinessEntityDepartmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1124
- select?: BusinessEntityDepartmentCountAggregateInputType | true
1125
- }
1126
-
1127
- export interface BusinessEntityDepartmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1128
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BusinessEntityDepartment'], meta: { name: 'BusinessEntityDepartment' } }
1129
- /**
1130
- * Find zero or one BusinessEntityDepartment that matches the filter.
1131
- * @param {BusinessEntityDepartmentFindUniqueArgs} args - Arguments to find a BusinessEntityDepartment
1132
- * @example
1133
- * // Get one BusinessEntityDepartment
1134
- * const businessEntityDepartment = await prisma.businessEntityDepartment.findUnique({
1135
- * where: {
1136
- * // ... provide filter here
1137
- * }
1138
- * })
1139
- */
1140
- findUnique<T extends BusinessEntityDepartmentFindUniqueArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1141
-
1142
- /**
1143
- * Find one BusinessEntityDepartment that matches the filter or throw an error with `error.code='P2025'`
1144
- * if no matches were found.
1145
- * @param {BusinessEntityDepartmentFindUniqueOrThrowArgs} args - Arguments to find a BusinessEntityDepartment
1146
- * @example
1147
- * // Get one BusinessEntityDepartment
1148
- * const businessEntityDepartment = await prisma.businessEntityDepartment.findUniqueOrThrow({
1149
- * where: {
1150
- * // ... provide filter here
1151
- * }
1152
- * })
1153
- */
1154
- findUniqueOrThrow<T extends BusinessEntityDepartmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1155
-
1156
- /**
1157
- * Find the first BusinessEntityDepartment that matches the filter.
1158
- * Note, that providing `undefined` is treated as the value not being there.
1159
- * Read more here: https://pris.ly/d/null-undefined
1160
- * @param {BusinessEntityDepartmentFindFirstArgs} args - Arguments to find a BusinessEntityDepartment
1161
- * @example
1162
- * // Get one BusinessEntityDepartment
1163
- * const businessEntityDepartment = await prisma.businessEntityDepartment.findFirst({
1164
- * where: {
1165
- * // ... provide filter here
1166
- * }
1167
- * })
1168
- */
1169
- findFirst<T extends BusinessEntityDepartmentFindFirstArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1170
-
1171
- /**
1172
- * Find the first BusinessEntityDepartment that matches the filter or
1173
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1174
- * Note, that providing `undefined` is treated as the value not being there.
1175
- * Read more here: https://pris.ly/d/null-undefined
1176
- * @param {BusinessEntityDepartmentFindFirstOrThrowArgs} args - Arguments to find a BusinessEntityDepartment
1177
- * @example
1178
- * // Get one BusinessEntityDepartment
1179
- * const businessEntityDepartment = await prisma.businessEntityDepartment.findFirstOrThrow({
1180
- * where: {
1181
- * // ... provide filter here
1182
- * }
1183
- * })
1184
- */
1185
- findFirstOrThrow<T extends BusinessEntityDepartmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1186
-
1187
- /**
1188
- * Find zero or more BusinessEntityDepartments that matches the filter.
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 {BusinessEntityDepartmentFindManyArgs} args - Arguments to filter and select certain fields only.
1192
- * @example
1193
- * // Get all BusinessEntityDepartments
1194
- * const businessEntityDepartments = await prisma.businessEntityDepartment.findMany()
1195
- *
1196
- * // Get first 10 BusinessEntityDepartments
1197
- * const businessEntityDepartments = await prisma.businessEntityDepartment.findMany({ take: 10 })
1198
- *
1199
- * // Only select the `id`
1200
- * const businessEntityDepartmentWithIdOnly = await prisma.businessEntityDepartment.findMany({ select: { id: true } })
1201
- *
1202
- */
1203
- findMany<T extends BusinessEntityDepartmentFindManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1204
-
1205
- /**
1206
- * Create a BusinessEntityDepartment.
1207
- * @param {BusinessEntityDepartmentCreateArgs} args - Arguments to create a BusinessEntityDepartment.
1208
- * @example
1209
- * // Create one BusinessEntityDepartment
1210
- * const BusinessEntityDepartment = await prisma.businessEntityDepartment.create({
1211
- * data: {
1212
- * // ... data to create a BusinessEntityDepartment
1213
- * }
1214
- * })
1215
- *
1216
- */
1217
- create<T extends BusinessEntityDepartmentCreateArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentCreateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1218
-
1219
- /**
1220
- * Create many BusinessEntityDepartments.
1221
- * @param {BusinessEntityDepartmentCreateManyArgs} args - Arguments to create many BusinessEntityDepartments.
1222
- * @example
1223
- * // Create many BusinessEntityDepartments
1224
- * const businessEntityDepartment = await prisma.businessEntityDepartment.createMany({
1225
- * data: [
1226
- * // ... provide data here
1227
- * ]
1228
- * })
1229
- *
1230
- */
1231
- createMany<T extends BusinessEntityDepartmentCreateManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1232
-
1233
- /**
1234
- * Create many BusinessEntityDepartments and returns the data saved in the database.
1235
- * @param {BusinessEntityDepartmentCreateManyAndReturnArgs} args - Arguments to create many BusinessEntityDepartments.
1236
- * @example
1237
- * // Create many BusinessEntityDepartments
1238
- * const businessEntityDepartment = await prisma.businessEntityDepartment.createManyAndReturn({
1239
- * data: [
1240
- * // ... provide data here
1241
- * ]
1242
- * })
1243
- *
1244
- * // Create many BusinessEntityDepartments and only return the `id`
1245
- * const businessEntityDepartmentWithIdOnly = await prisma.businessEntityDepartment.createManyAndReturn({
1246
- * select: { id: true },
1247
- * data: [
1248
- * // ... provide data here
1249
- * ]
1250
- * })
1251
- * Note, that providing `undefined` is treated as the value not being there.
1252
- * Read more here: https://pris.ly/d/null-undefined
1253
- *
1254
- */
1255
- createManyAndReturn<T extends BusinessEntityDepartmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1256
-
1257
- /**
1258
- * Delete a BusinessEntityDepartment.
1259
- * @param {BusinessEntityDepartmentDeleteArgs} args - Arguments to delete one BusinessEntityDepartment.
1260
- * @example
1261
- * // Delete one BusinessEntityDepartment
1262
- * const BusinessEntityDepartment = await prisma.businessEntityDepartment.delete({
1263
- * where: {
1264
- * // ... filter to delete one BusinessEntityDepartment
1265
- * }
1266
- * })
1267
- *
1268
- */
1269
- delete<T extends BusinessEntityDepartmentDeleteArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentDeleteArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1270
-
1271
- /**
1272
- * Update one BusinessEntityDepartment.
1273
- * @param {BusinessEntityDepartmentUpdateArgs} args - Arguments to update one BusinessEntityDepartment.
1274
- * @example
1275
- * // Update one BusinessEntityDepartment
1276
- * const businessEntityDepartment = await prisma.businessEntityDepartment.update({
1277
- * where: {
1278
- * // ... provide filter here
1279
- * },
1280
- * data: {
1281
- * // ... provide data here
1282
- * }
1283
- * })
1284
- *
1285
- */
1286
- update<T extends BusinessEntityDepartmentUpdateArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentUpdateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1287
-
1288
- /**
1289
- * Delete zero or more BusinessEntityDepartments.
1290
- * @param {BusinessEntityDepartmentDeleteManyArgs} args - Arguments to filter BusinessEntityDepartments to delete.
1291
- * @example
1292
- * // Delete a few BusinessEntityDepartments
1293
- * const { count } = await prisma.businessEntityDepartment.deleteMany({
1294
- * where: {
1295
- * // ... provide filter here
1296
- * }
1297
- * })
1298
- *
1299
- */
1300
- deleteMany<T extends BusinessEntityDepartmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDepartmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1301
-
1302
- /**
1303
- * Update zero or more BusinessEntityDepartments.
1304
- * Note, that providing `undefined` is treated as the value not being there.
1305
- * Read more here: https://pris.ly/d/null-undefined
1306
- * @param {BusinessEntityDepartmentUpdateManyArgs} args - Arguments to update one or more rows.
1307
- * @example
1308
- * // Update many BusinessEntityDepartments
1309
- * const businessEntityDepartment = await prisma.businessEntityDepartment.updateMany({
1310
- * where: {
1311
- * // ... provide filter here
1312
- * },
1313
- * data: {
1314
- * // ... provide data here
1315
- * }
1316
- * })
1317
- *
1318
- */
1319
- updateMany<T extends BusinessEntityDepartmentUpdateManyArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1320
-
1321
- /**
1322
- * Update zero or more BusinessEntityDepartments and returns the data updated in the database.
1323
- * @param {BusinessEntityDepartmentUpdateManyAndReturnArgs} args - Arguments to update many BusinessEntityDepartments.
1324
- * @example
1325
- * // Update many BusinessEntityDepartments
1326
- * const businessEntityDepartment = await prisma.businessEntityDepartment.updateManyAndReturn({
1327
- * where: {
1328
- * // ... provide filter here
1329
- * },
1330
- * data: [
1331
- * // ... provide data here
1332
- * ]
1333
- * })
1334
- *
1335
- * // Update zero or more BusinessEntityDepartments and only return the `id`
1336
- * const businessEntityDepartmentWithIdOnly = await prisma.businessEntityDepartment.updateManyAndReturn({
1337
- * select: { id: true },
1338
- * where: {
1339
- * // ... provide filter here
1340
- * },
1341
- * data: [
1342
- * // ... provide data here
1343
- * ]
1344
- * })
1345
- * Note, that providing `undefined` is treated as the value not being there.
1346
- * Read more here: https://pris.ly/d/null-undefined
1347
- *
1348
- */
1349
- updateManyAndReturn<T extends BusinessEntityDepartmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1350
-
1351
- /**
1352
- * Create or update one BusinessEntityDepartment.
1353
- * @param {BusinessEntityDepartmentUpsertArgs} args - Arguments to update or create a BusinessEntityDepartment.
1354
- * @example
1355
- * // Update or create a BusinessEntityDepartment
1356
- * const businessEntityDepartment = await prisma.businessEntityDepartment.upsert({
1357
- * create: {
1358
- * // ... data to create a BusinessEntityDepartment
1359
- * },
1360
- * update: {
1361
- * // ... in case it already exists, update
1362
- * },
1363
- * where: {
1364
- * // ... the filter for the BusinessEntityDepartment we want to update
1365
- * }
1366
- * })
1367
- */
1368
- upsert<T extends BusinessEntityDepartmentUpsertArgs>(args: Prisma.SelectSubset<T, BusinessEntityDepartmentUpsertArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityDepartmentClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1369
-
1370
-
1371
- /**
1372
- * Count the number of BusinessEntityDepartments.
1373
- * Note, that providing `undefined` is treated as the value not being there.
1374
- * Read more here: https://pris.ly/d/null-undefined
1375
- * @param {BusinessEntityDepartmentCountArgs} args - Arguments to filter BusinessEntityDepartments to count.
1376
- * @example
1377
- * // Count the number of BusinessEntityDepartments
1378
- * const count = await prisma.businessEntityDepartment.count({
1379
- * where: {
1380
- * // ... the filter for the BusinessEntityDepartments we want to count
1381
- * }
1382
- * })
1383
- **/
1384
- count<T extends BusinessEntityDepartmentCountArgs>(
1385
- args?: Prisma.Subset<T, BusinessEntityDepartmentCountArgs>,
1386
- ): Prisma.PrismaPromise<
1387
- T extends runtime.Types.Utils.Record<'select', any>
1388
- ? T['select'] extends true
1389
- ? number
1390
- : Prisma.GetScalarType<T['select'], BusinessEntityDepartmentCountAggregateOutputType>
1391
- : number
1392
- >
1393
-
1394
- /**
1395
- * Allows you to perform aggregations operations on a BusinessEntityDepartment.
1396
- * Note, that providing `undefined` is treated as the value not being there.
1397
- * Read more here: https://pris.ly/d/null-undefined
1398
- * @param {BusinessEntityDepartmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1399
- * @example
1400
- * // Ordered by age ascending
1401
- * // Where email contains prisma.io
1402
- * // Limited to the 10 users
1403
- * const aggregations = await prisma.user.aggregate({
1404
- * _avg: {
1405
- * age: true,
1406
- * },
1407
- * where: {
1408
- * email: {
1409
- * contains: "prisma.io",
1410
- * },
1411
- * },
1412
- * orderBy: {
1413
- * age: "asc",
1414
- * },
1415
- * take: 10,
1416
- * })
1417
- **/
1418
- aggregate<T extends BusinessEntityDepartmentAggregateArgs>(args: Prisma.Subset<T, BusinessEntityDepartmentAggregateArgs>): Prisma.PrismaPromise<GetBusinessEntityDepartmentAggregateType<T>>
1419
-
1420
- /**
1421
- * Group by BusinessEntityDepartment.
1422
- * Note, that providing `undefined` is treated as the value not being there.
1423
- * Read more here: https://pris.ly/d/null-undefined
1424
- * @param {BusinessEntityDepartmentGroupByArgs} args - Group by arguments.
1425
- * @example
1426
- * // Group by city, order by createdAt, get count
1427
- * const result = await prisma.user.groupBy({
1428
- * by: ['city', 'createdAt'],
1429
- * orderBy: {
1430
- * createdAt: true
1431
- * },
1432
- * _count: {
1433
- * _all: true
1434
- * },
1435
- * })
1436
- *
1437
- **/
1438
- groupBy<
1439
- T extends BusinessEntityDepartmentGroupByArgs,
1440
- HasSelectOrTake extends Prisma.Or<
1441
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1442
- Prisma.Extends<'take', Prisma.Keys<T>>
1443
- >,
1444
- OrderByArg extends Prisma.True extends HasSelectOrTake
1445
- ? { orderBy: BusinessEntityDepartmentGroupByArgs['orderBy'] }
1446
- : { orderBy?: BusinessEntityDepartmentGroupByArgs['orderBy'] },
1447
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1448
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1449
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1450
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1451
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1452
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1453
- InputErrors extends ByEmpty extends Prisma.True
1454
- ? `Error: "by" must not be empty.`
1455
- : HavingValid extends Prisma.False
1456
- ? {
1457
- [P in HavingFields]: P extends ByFields
1458
- ? never
1459
- : P extends string
1460
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1461
- : [
1462
- Error,
1463
- 'Field ',
1464
- P,
1465
- ` in "having" needs to be provided in "by"`,
1466
- ]
1467
- }[HavingFields]
1468
- : 'take' extends Prisma.Keys<T>
1469
- ? 'orderBy' extends Prisma.Keys<T>
1470
- ? ByValid extends Prisma.True
1471
- ? {}
1472
- : {
1473
- [P in OrderFields]: P extends ByFields
1474
- ? never
1475
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1476
- }[OrderFields]
1477
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1478
- : 'skip' extends Prisma.Keys<T>
1479
- ? 'orderBy' extends Prisma.Keys<T>
1480
- ? ByValid extends Prisma.True
1481
- ? {}
1482
- : {
1483
- [P in OrderFields]: P extends ByFields
1484
- ? never
1485
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1486
- }[OrderFields]
1487
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1488
- : ByValid extends Prisma.True
1489
- ? {}
1490
- : {
1491
- [P in OrderFields]: P extends ByFields
1492
- ? never
1493
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1494
- }[OrderFields]
1495
- >(args: Prisma.SubsetIntersection<T, BusinessEntityDepartmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBusinessEntityDepartmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1496
- /**
1497
- * Fields of the BusinessEntityDepartment model
1498
- */
1499
- readonly fields: BusinessEntityDepartmentFieldRefs;
1500
- }
1501
-
1502
- /**
1503
- * The delegate class that acts as a "Promise-like" for BusinessEntityDepartment.
1504
- * Why is this prefixed with `Prisma__`?
1505
- * Because we want to prevent naming conflicts as mentioned in
1506
- * https://github.com/prisma/prisma-client-js/issues/707
1507
- */
1508
- export interface Prisma__BusinessEntityDepartmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1509
- readonly [Symbol.toStringTag]: "PrismaPromise"
1510
- business_entity<T extends Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntityDepartment$business_entityArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1511
- department<T extends Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntityDepartment$departmentArgs<ExtArgs>>): Prisma.Prisma__DepartmentClient<runtime.Types.Result.GetResult<Prisma.$DepartmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1512
- userDepartmentEntities<T extends Prisma.BusinessEntityDepartment$userDepartmentEntitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntityDepartment$userDepartmentEntitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserDepartmentEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1513
- /**
1514
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1515
- * @param onfulfilled The callback to execute when the Promise is resolved.
1516
- * @param onrejected The callback to execute when the Promise is rejected.
1517
- * @returns A Promise for the completion of which ever callback is executed.
1518
- */
1519
- 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>
1520
- /**
1521
- * Attaches a callback for only the rejection of the Promise.
1522
- * @param onrejected The callback to execute when the Promise is rejected.
1523
- * @returns A Promise for the completion of the callback.
1524
- */
1525
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1526
- /**
1527
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1528
- * resolved value cannot be modified from the callback.
1529
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1530
- * @returns A Promise for the completion of the callback.
1531
- */
1532
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1533
- }
1534
-
1535
-
1536
-
1537
-
1538
- /**
1539
- * Fields of the BusinessEntityDepartment model
1540
- */
1541
- export interface BusinessEntityDepartmentFieldRefs {
1542
- readonly id: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1543
- readonly uuid: Prisma.FieldRef<"BusinessEntityDepartment", 'String'>
1544
- readonly business_entity_id: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1545
- readonly department_id: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1546
- readonly is_active: Prisma.FieldRef<"BusinessEntityDepartment", 'Boolean'>
1547
- readonly created_at: Prisma.FieldRef<"BusinessEntityDepartment", 'DateTime'>
1548
- readonly created_by: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1549
- readonly updated_at: Prisma.FieldRef<"BusinessEntityDepartment", 'DateTime'>
1550
- readonly updated_by: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1551
- readonly is_deleted: Prisma.FieldRef<"BusinessEntityDepartment", 'Boolean'>
1552
- readonly deleted_at: Prisma.FieldRef<"BusinessEntityDepartment", 'DateTime'>
1553
- readonly deleted_by: Prisma.FieldRef<"BusinessEntityDepartment", 'Int'>
1554
- }
1555
-
1556
-
1557
- // Custom InputTypes
1558
- /**
1559
- * BusinessEntityDepartment findUnique
1560
- */
1561
- export type BusinessEntityDepartmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1562
- /**
1563
- * Select specific fields to fetch from the BusinessEntityDepartment
1564
- */
1565
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1566
- /**
1567
- * Omit specific fields from the BusinessEntityDepartment
1568
- */
1569
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1570
- /**
1571
- * Choose, which related nodes to fetch as well
1572
- */
1573
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1574
- /**
1575
- * Filter, which BusinessEntityDepartment to fetch.
1576
- */
1577
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
1578
- }
1579
-
1580
- /**
1581
- * BusinessEntityDepartment findUniqueOrThrow
1582
- */
1583
- export type BusinessEntityDepartmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
- /**
1585
- * Select specific fields to fetch from the BusinessEntityDepartment
1586
- */
1587
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1588
- /**
1589
- * Omit specific fields from the BusinessEntityDepartment
1590
- */
1591
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1592
- /**
1593
- * Choose, which related nodes to fetch as well
1594
- */
1595
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1596
- /**
1597
- * Filter, which BusinessEntityDepartment to fetch.
1598
- */
1599
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
1600
- }
1601
-
1602
- /**
1603
- * BusinessEntityDepartment findFirst
1604
- */
1605
- export type BusinessEntityDepartmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1606
- /**
1607
- * Select specific fields to fetch from the BusinessEntityDepartment
1608
- */
1609
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1610
- /**
1611
- * Omit specific fields from the BusinessEntityDepartment
1612
- */
1613
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1614
- /**
1615
- * Choose, which related nodes to fetch as well
1616
- */
1617
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1618
- /**
1619
- * Filter, which BusinessEntityDepartment to fetch.
1620
- */
1621
- where?: Prisma.BusinessEntityDepartmentWhereInput
1622
- /**
1623
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1624
- *
1625
- * Determine the order of BusinessEntityDepartments to fetch.
1626
- */
1627
- orderBy?: Prisma.BusinessEntityDepartmentOrderByWithRelationInput | Prisma.BusinessEntityDepartmentOrderByWithRelationInput[]
1628
- /**
1629
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1630
- *
1631
- * Sets the position for searching for BusinessEntityDepartments.
1632
- */
1633
- cursor?: Prisma.BusinessEntityDepartmentWhereUniqueInput
1634
- /**
1635
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1636
- *
1637
- * Take `±n` BusinessEntityDepartments from the position of the cursor.
1638
- */
1639
- take?: number
1640
- /**
1641
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1642
- *
1643
- * Skip the first `n` BusinessEntityDepartments.
1644
- */
1645
- skip?: number
1646
- /**
1647
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1648
- *
1649
- * Filter by unique combinations of BusinessEntityDepartments.
1650
- */
1651
- distinct?: Prisma.BusinessEntityDepartmentScalarFieldEnum | Prisma.BusinessEntityDepartmentScalarFieldEnum[]
1652
- }
1653
-
1654
- /**
1655
- * BusinessEntityDepartment findFirstOrThrow
1656
- */
1657
- export type BusinessEntityDepartmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1658
- /**
1659
- * Select specific fields to fetch from the BusinessEntityDepartment
1660
- */
1661
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1662
- /**
1663
- * Omit specific fields from the BusinessEntityDepartment
1664
- */
1665
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1666
- /**
1667
- * Choose, which related nodes to fetch as well
1668
- */
1669
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1670
- /**
1671
- * Filter, which BusinessEntityDepartment to fetch.
1672
- */
1673
- where?: Prisma.BusinessEntityDepartmentWhereInput
1674
- /**
1675
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1676
- *
1677
- * Determine the order of BusinessEntityDepartments to fetch.
1678
- */
1679
- orderBy?: Prisma.BusinessEntityDepartmentOrderByWithRelationInput | Prisma.BusinessEntityDepartmentOrderByWithRelationInput[]
1680
- /**
1681
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1682
- *
1683
- * Sets the position for searching for BusinessEntityDepartments.
1684
- */
1685
- cursor?: Prisma.BusinessEntityDepartmentWhereUniqueInput
1686
- /**
1687
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1688
- *
1689
- * Take `±n` BusinessEntityDepartments from the position of the cursor.
1690
- */
1691
- take?: number
1692
- /**
1693
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1694
- *
1695
- * Skip the first `n` BusinessEntityDepartments.
1696
- */
1697
- skip?: number
1698
- /**
1699
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1700
- *
1701
- * Filter by unique combinations of BusinessEntityDepartments.
1702
- */
1703
- distinct?: Prisma.BusinessEntityDepartmentScalarFieldEnum | Prisma.BusinessEntityDepartmentScalarFieldEnum[]
1704
- }
1705
-
1706
- /**
1707
- * BusinessEntityDepartment findMany
1708
- */
1709
- export type BusinessEntityDepartmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1710
- /**
1711
- * Select specific fields to fetch from the BusinessEntityDepartment
1712
- */
1713
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1714
- /**
1715
- * Omit specific fields from the BusinessEntityDepartment
1716
- */
1717
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1718
- /**
1719
- * Choose, which related nodes to fetch as well
1720
- */
1721
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1722
- /**
1723
- * Filter, which BusinessEntityDepartments to fetch.
1724
- */
1725
- where?: Prisma.BusinessEntityDepartmentWhereInput
1726
- /**
1727
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1728
- *
1729
- * Determine the order of BusinessEntityDepartments to fetch.
1730
- */
1731
- orderBy?: Prisma.BusinessEntityDepartmentOrderByWithRelationInput | Prisma.BusinessEntityDepartmentOrderByWithRelationInput[]
1732
- /**
1733
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1734
- *
1735
- * Sets the position for listing BusinessEntityDepartments.
1736
- */
1737
- cursor?: Prisma.BusinessEntityDepartmentWhereUniqueInput
1738
- /**
1739
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1740
- *
1741
- * Take `±n` BusinessEntityDepartments from the position of the cursor.
1742
- */
1743
- take?: number
1744
- /**
1745
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1746
- *
1747
- * Skip the first `n` BusinessEntityDepartments.
1748
- */
1749
- skip?: number
1750
- /**
1751
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1752
- *
1753
- * Filter by unique combinations of BusinessEntityDepartments.
1754
- */
1755
- distinct?: Prisma.BusinessEntityDepartmentScalarFieldEnum | Prisma.BusinessEntityDepartmentScalarFieldEnum[]
1756
- }
1757
-
1758
- /**
1759
- * BusinessEntityDepartment create
1760
- */
1761
- export type BusinessEntityDepartmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1762
- /**
1763
- * Select specific fields to fetch from the BusinessEntityDepartment
1764
- */
1765
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1766
- /**
1767
- * Omit specific fields from the BusinessEntityDepartment
1768
- */
1769
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1770
- /**
1771
- * Choose, which related nodes to fetch as well
1772
- */
1773
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1774
- /**
1775
- * The data needed to create a BusinessEntityDepartment.
1776
- */
1777
- data?: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateInput, Prisma.BusinessEntityDepartmentUncheckedCreateInput>
1778
- }
1779
-
1780
- /**
1781
- * BusinessEntityDepartment createMany
1782
- */
1783
- export type BusinessEntityDepartmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1784
- /**
1785
- * The data used to create many BusinessEntityDepartments.
1786
- */
1787
- data: Prisma.BusinessEntityDepartmentCreateManyInput | Prisma.BusinessEntityDepartmentCreateManyInput[]
1788
- skipDuplicates?: boolean
1789
- }
1790
-
1791
- /**
1792
- * BusinessEntityDepartment createManyAndReturn
1793
- */
1794
- export type BusinessEntityDepartmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1795
- /**
1796
- * Select specific fields to fetch from the BusinessEntityDepartment
1797
- */
1798
- select?: Prisma.BusinessEntityDepartmentSelectCreateManyAndReturn<ExtArgs> | null
1799
- /**
1800
- * Omit specific fields from the BusinessEntityDepartment
1801
- */
1802
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1803
- /**
1804
- * The data used to create many BusinessEntityDepartments.
1805
- */
1806
- data: Prisma.BusinessEntityDepartmentCreateManyInput | Prisma.BusinessEntityDepartmentCreateManyInput[]
1807
- skipDuplicates?: boolean
1808
- /**
1809
- * Choose, which related nodes to fetch as well
1810
- */
1811
- include?: Prisma.BusinessEntityDepartmentIncludeCreateManyAndReturn<ExtArgs> | null
1812
- }
1813
-
1814
- /**
1815
- * BusinessEntityDepartment update
1816
- */
1817
- export type BusinessEntityDepartmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1818
- /**
1819
- * Select specific fields to fetch from the BusinessEntityDepartment
1820
- */
1821
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1822
- /**
1823
- * Omit specific fields from the BusinessEntityDepartment
1824
- */
1825
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1826
- /**
1827
- * Choose, which related nodes to fetch as well
1828
- */
1829
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1830
- /**
1831
- * The data needed to update a BusinessEntityDepartment.
1832
- */
1833
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateInput, Prisma.BusinessEntityDepartmentUncheckedUpdateInput>
1834
- /**
1835
- * Choose, which BusinessEntityDepartment to update.
1836
- */
1837
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
1838
- }
1839
-
1840
- /**
1841
- * BusinessEntityDepartment updateMany
1842
- */
1843
- export type BusinessEntityDepartmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1844
- /**
1845
- * The data used to update BusinessEntityDepartments.
1846
- */
1847
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateManyMutationInput, Prisma.BusinessEntityDepartmentUncheckedUpdateManyInput>
1848
- /**
1849
- * Filter which BusinessEntityDepartments to update
1850
- */
1851
- where?: Prisma.BusinessEntityDepartmentWhereInput
1852
- /**
1853
- * Limit how many BusinessEntityDepartments to update.
1854
- */
1855
- limit?: number
1856
- }
1857
-
1858
- /**
1859
- * BusinessEntityDepartment updateManyAndReturn
1860
- */
1861
- export type BusinessEntityDepartmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1862
- /**
1863
- * Select specific fields to fetch from the BusinessEntityDepartment
1864
- */
1865
- select?: Prisma.BusinessEntityDepartmentSelectUpdateManyAndReturn<ExtArgs> | null
1866
- /**
1867
- * Omit specific fields from the BusinessEntityDepartment
1868
- */
1869
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1870
- /**
1871
- * The data used to update BusinessEntityDepartments.
1872
- */
1873
- data: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateManyMutationInput, Prisma.BusinessEntityDepartmentUncheckedUpdateManyInput>
1874
- /**
1875
- * Filter which BusinessEntityDepartments to update
1876
- */
1877
- where?: Prisma.BusinessEntityDepartmentWhereInput
1878
- /**
1879
- * Limit how many BusinessEntityDepartments to update.
1880
- */
1881
- limit?: number
1882
- /**
1883
- * Choose, which related nodes to fetch as well
1884
- */
1885
- include?: Prisma.BusinessEntityDepartmentIncludeUpdateManyAndReturn<ExtArgs> | null
1886
- }
1887
-
1888
- /**
1889
- * BusinessEntityDepartment upsert
1890
- */
1891
- export type BusinessEntityDepartmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1892
- /**
1893
- * Select specific fields to fetch from the BusinessEntityDepartment
1894
- */
1895
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1896
- /**
1897
- * Omit specific fields from the BusinessEntityDepartment
1898
- */
1899
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1900
- /**
1901
- * Choose, which related nodes to fetch as well
1902
- */
1903
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1904
- /**
1905
- * The filter to search for the BusinessEntityDepartment to update in case it exists.
1906
- */
1907
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
1908
- /**
1909
- * In case the BusinessEntityDepartment found by the `where` argument doesn't exist, create a new BusinessEntityDepartment with this data.
1910
- */
1911
- create: Prisma.XOR<Prisma.BusinessEntityDepartmentCreateInput, Prisma.BusinessEntityDepartmentUncheckedCreateInput>
1912
- /**
1913
- * In case the BusinessEntityDepartment was found with the provided `where` argument, update it with this data.
1914
- */
1915
- update: Prisma.XOR<Prisma.BusinessEntityDepartmentUpdateInput, Prisma.BusinessEntityDepartmentUncheckedUpdateInput>
1916
- }
1917
-
1918
- /**
1919
- * BusinessEntityDepartment delete
1920
- */
1921
- export type BusinessEntityDepartmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1922
- /**
1923
- * Select specific fields to fetch from the BusinessEntityDepartment
1924
- */
1925
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
1926
- /**
1927
- * Omit specific fields from the BusinessEntityDepartment
1928
- */
1929
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
1930
- /**
1931
- * Choose, which related nodes to fetch as well
1932
- */
1933
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
1934
- /**
1935
- * Filter which BusinessEntityDepartment to delete.
1936
- */
1937
- where: Prisma.BusinessEntityDepartmentWhereUniqueInput
1938
- }
1939
-
1940
- /**
1941
- * BusinessEntityDepartment deleteMany
1942
- */
1943
- export type BusinessEntityDepartmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1944
- /**
1945
- * Filter which BusinessEntityDepartments to delete
1946
- */
1947
- where?: Prisma.BusinessEntityDepartmentWhereInput
1948
- /**
1949
- * Limit how many BusinessEntityDepartments to delete.
1950
- */
1951
- limit?: number
1952
- }
1953
-
1954
- /**
1955
- * BusinessEntityDepartment.business_entity
1956
- */
1957
- export type BusinessEntityDepartment$business_entityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1958
- /**
1959
- * Select specific fields to fetch from the BusinessEntity
1960
- */
1961
- select?: Prisma.BusinessEntitySelect<ExtArgs> | null
1962
- /**
1963
- * Omit specific fields from the BusinessEntity
1964
- */
1965
- omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
1966
- /**
1967
- * Choose, which related nodes to fetch as well
1968
- */
1969
- include?: Prisma.BusinessEntityInclude<ExtArgs> | null
1970
- where?: Prisma.BusinessEntityWhereInput
1971
- }
1972
-
1973
- /**
1974
- * BusinessEntityDepartment.department
1975
- */
1976
- export type BusinessEntityDepartment$departmentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1977
- /**
1978
- * Select specific fields to fetch from the Department
1979
- */
1980
- select?: Prisma.DepartmentSelect<ExtArgs> | null
1981
- /**
1982
- * Omit specific fields from the Department
1983
- */
1984
- omit?: Prisma.DepartmentOmit<ExtArgs> | null
1985
- /**
1986
- * Choose, which related nodes to fetch as well
1987
- */
1988
- include?: Prisma.DepartmentInclude<ExtArgs> | null
1989
- where?: Prisma.DepartmentWhereInput
1990
- }
1991
-
1992
- /**
1993
- * BusinessEntityDepartment.userDepartmentEntities
1994
- */
1995
- export type BusinessEntityDepartment$userDepartmentEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1996
- /**
1997
- * Select specific fields to fetch from the UserDepartmentEntity
1998
- */
1999
- select?: Prisma.UserDepartmentEntitySelect<ExtArgs> | null
2000
- /**
2001
- * Omit specific fields from the UserDepartmentEntity
2002
- */
2003
- omit?: Prisma.UserDepartmentEntityOmit<ExtArgs> | null
2004
- /**
2005
- * Choose, which related nodes to fetch as well
2006
- */
2007
- include?: Prisma.UserDepartmentEntityInclude<ExtArgs> | null
2008
- where?: Prisma.UserDepartmentEntityWhereInput
2009
- orderBy?: Prisma.UserDepartmentEntityOrderByWithRelationInput | Prisma.UserDepartmentEntityOrderByWithRelationInput[]
2010
- cursor?: Prisma.UserDepartmentEntityWhereUniqueInput
2011
- take?: number
2012
- skip?: number
2013
- distinct?: Prisma.UserDepartmentEntityScalarFieldEnum | Prisma.UserDepartmentEntityScalarFieldEnum[]
2014
- }
2015
-
2016
- /**
2017
- * BusinessEntityDepartment without action
2018
- */
2019
- export type BusinessEntityDepartmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2020
- /**
2021
- * Select specific fields to fetch from the BusinessEntityDepartment
2022
- */
2023
- select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
2024
- /**
2025
- * Omit specific fields from the BusinessEntityDepartment
2026
- */
2027
- omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
2028
- /**
2029
- * Choose, which related nodes to fetch as well
2030
- */
2031
- include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
2032
- }