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,1567 +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 `BusinessEntityLocation` 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 BusinessEntityLocation
17
- *
18
- */
19
- export type BusinessEntityLocationModel = runtime.Types.Result.DefaultSelection<Prisma.$BusinessEntityLocationPayload>
20
-
21
- export type AggregateBusinessEntityLocation = {
22
- _count: BusinessEntityLocationCountAggregateOutputType | null
23
- _avg: BusinessEntityLocationAvgAggregateOutputType | null
24
- _sum: BusinessEntityLocationSumAggregateOutputType | null
25
- _min: BusinessEntityLocationMinAggregateOutputType | null
26
- _max: BusinessEntityLocationMaxAggregateOutputType | null
27
- }
28
-
29
- export type BusinessEntityLocationAvgAggregateOutputType = {
30
- id: number | null
31
- business_entity_id: number | null
32
- location_id: number | null
33
- created_by: number | null
34
- }
35
-
36
- export type BusinessEntityLocationSumAggregateOutputType = {
37
- id: number | null
38
- business_entity_id: number | null
39
- location_id: number | null
40
- created_by: number | null
41
- }
42
-
43
- export type BusinessEntityLocationMinAggregateOutputType = {
44
- id: number | null
45
- business_entity_id: number | null
46
- location_id: number | null
47
- is_primary: boolean | null
48
- created_at: Date | null
49
- created_by: number | null
50
- }
51
-
52
- export type BusinessEntityLocationMaxAggregateOutputType = {
53
- id: number | null
54
- business_entity_id: number | null
55
- location_id: number | null
56
- is_primary: boolean | null
57
- created_at: Date | null
58
- created_by: number | null
59
- }
60
-
61
- export type BusinessEntityLocationCountAggregateOutputType = {
62
- id: number
63
- business_entity_id: number
64
- location_id: number
65
- is_primary: number
66
- created_at: number
67
- created_by: number
68
- _all: number
69
- }
70
-
71
-
72
- export type BusinessEntityLocationAvgAggregateInputType = {
73
- id?: true
74
- business_entity_id?: true
75
- location_id?: true
76
- created_by?: true
77
- }
78
-
79
- export type BusinessEntityLocationSumAggregateInputType = {
80
- id?: true
81
- business_entity_id?: true
82
- location_id?: true
83
- created_by?: true
84
- }
85
-
86
- export type BusinessEntityLocationMinAggregateInputType = {
87
- id?: true
88
- business_entity_id?: true
89
- location_id?: true
90
- is_primary?: true
91
- created_at?: true
92
- created_by?: true
93
- }
94
-
95
- export type BusinessEntityLocationMaxAggregateInputType = {
96
- id?: true
97
- business_entity_id?: true
98
- location_id?: true
99
- is_primary?: true
100
- created_at?: true
101
- created_by?: true
102
- }
103
-
104
- export type BusinessEntityLocationCountAggregateInputType = {
105
- id?: true
106
- business_entity_id?: true
107
- location_id?: true
108
- is_primary?: true
109
- created_at?: true
110
- created_by?: true
111
- _all?: true
112
- }
113
-
114
- export type BusinessEntityLocationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
115
- /**
116
- * Filter which BusinessEntityLocation to aggregate.
117
- */
118
- where?: Prisma.BusinessEntityLocationWhereInput
119
- /**
120
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
121
- *
122
- * Determine the order of BusinessEntityLocations to fetch.
123
- */
124
- orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
127
- *
128
- * Sets the start position
129
- */
130
- cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
131
- /**
132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
- *
134
- * Take `±n` BusinessEntityLocations from the position of the cursor.
135
- */
136
- take?: number
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
- *
140
- * Skip the first `n` BusinessEntityLocations.
141
- */
142
- skip?: number
143
- /**
144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
- *
146
- * Count returned BusinessEntityLocations
147
- **/
148
- _count?: true | BusinessEntityLocationCountAggregateInputType
149
- /**
150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
- *
152
- * Select which fields to average
153
- **/
154
- _avg?: BusinessEntityLocationAvgAggregateInputType
155
- /**
156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
- *
158
- * Select which fields to sum
159
- **/
160
- _sum?: BusinessEntityLocationSumAggregateInputType
161
- /**
162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
- *
164
- * Select which fields to find the minimum value
165
- **/
166
- _min?: BusinessEntityLocationMinAggregateInputType
167
- /**
168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
- *
170
- * Select which fields to find the maximum value
171
- **/
172
- _max?: BusinessEntityLocationMaxAggregateInputType
173
- }
174
-
175
- export type GetBusinessEntityLocationAggregateType<T extends BusinessEntityLocationAggregateArgs> = {
176
- [P in keyof T & keyof AggregateBusinessEntityLocation]: P extends '_count' | 'count'
177
- ? T[P] extends true
178
- ? number
179
- : Prisma.GetScalarType<T[P], AggregateBusinessEntityLocation[P]>
180
- : Prisma.GetScalarType<T[P], AggregateBusinessEntityLocation[P]>
181
- }
182
-
183
-
184
-
185
-
186
- export type BusinessEntityLocationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
187
- where?: Prisma.BusinessEntityLocationWhereInput
188
- orderBy?: Prisma.BusinessEntityLocationOrderByWithAggregationInput | Prisma.BusinessEntityLocationOrderByWithAggregationInput[]
189
- by: Prisma.BusinessEntityLocationScalarFieldEnum[] | Prisma.BusinessEntityLocationScalarFieldEnum
190
- having?: Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput
191
- take?: number
192
- skip?: number
193
- _count?: BusinessEntityLocationCountAggregateInputType | true
194
- _avg?: BusinessEntityLocationAvgAggregateInputType
195
- _sum?: BusinessEntityLocationSumAggregateInputType
196
- _min?: BusinessEntityLocationMinAggregateInputType
197
- _max?: BusinessEntityLocationMaxAggregateInputType
198
- }
199
-
200
- export type BusinessEntityLocationGroupByOutputType = {
201
- id: number
202
- business_entity_id: number
203
- location_id: number
204
- is_primary: boolean | null
205
- created_at: Date | null
206
- created_by: number | null
207
- _count: BusinessEntityLocationCountAggregateOutputType | null
208
- _avg: BusinessEntityLocationAvgAggregateOutputType | null
209
- _sum: BusinessEntityLocationSumAggregateOutputType | null
210
- _min: BusinessEntityLocationMinAggregateOutputType | null
211
- _max: BusinessEntityLocationMaxAggregateOutputType | null
212
- }
213
-
214
- export type GetBusinessEntityLocationGroupByPayload<T extends BusinessEntityLocationGroupByArgs> = Prisma.PrismaPromise<
215
- Array<
216
- Prisma.PickEnumerable<BusinessEntityLocationGroupByOutputType, T['by']> &
217
- {
218
- [P in ((keyof T) & (keyof BusinessEntityLocationGroupByOutputType))]: P extends '_count'
219
- ? T[P] extends boolean
220
- ? number
221
- : Prisma.GetScalarType<T[P], BusinessEntityLocationGroupByOutputType[P]>
222
- : Prisma.GetScalarType<T[P], BusinessEntityLocationGroupByOutputType[P]>
223
- }
224
- >
225
- >
226
-
227
-
228
-
229
- export type BusinessEntityLocationWhereInput = {
230
- AND?: Prisma.BusinessEntityLocationWhereInput | Prisma.BusinessEntityLocationWhereInput[]
231
- OR?: Prisma.BusinessEntityLocationWhereInput[]
232
- NOT?: Prisma.BusinessEntityLocationWhereInput | Prisma.BusinessEntityLocationWhereInput[]
233
- id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
234
- business_entity_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
235
- location_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
236
- is_primary?: Prisma.BoolNullableFilter<"BusinessEntityLocation"> | boolean | null
237
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityLocation"> | Date | string | null
238
- created_by?: Prisma.IntNullableFilter<"BusinessEntityLocation"> | number | null
239
- business_entity?: Prisma.XOR<Prisma.BusinessEntityScalarRelationFilter, Prisma.BusinessEntityWhereInput>
240
- location?: Prisma.XOR<Prisma.LocationScalarRelationFilter, Prisma.LocationWhereInput>
241
- }
242
-
243
- export type BusinessEntityLocationOrderByWithRelationInput = {
244
- id?: Prisma.SortOrder
245
- business_entity_id?: Prisma.SortOrder
246
- location_id?: Prisma.SortOrder
247
- is_primary?: Prisma.SortOrderInput | Prisma.SortOrder
248
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
249
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
250
- business_entity?: Prisma.BusinessEntityOrderByWithRelationInput
251
- location?: Prisma.LocationOrderByWithRelationInput
252
- }
253
-
254
- export type BusinessEntityLocationWhereUniqueInput = Prisma.AtLeast<{
255
- id?: number
256
- business_entity_id_location_id?: Prisma.BusinessEntityLocationBusiness_entity_idLocation_idCompoundUniqueInput
257
- AND?: Prisma.BusinessEntityLocationWhereInput | Prisma.BusinessEntityLocationWhereInput[]
258
- OR?: Prisma.BusinessEntityLocationWhereInput[]
259
- NOT?: Prisma.BusinessEntityLocationWhereInput | Prisma.BusinessEntityLocationWhereInput[]
260
- business_entity_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
261
- location_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
262
- is_primary?: Prisma.BoolNullableFilter<"BusinessEntityLocation"> | boolean | null
263
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityLocation"> | Date | string | null
264
- created_by?: Prisma.IntNullableFilter<"BusinessEntityLocation"> | number | null
265
- business_entity?: Prisma.XOR<Prisma.BusinessEntityScalarRelationFilter, Prisma.BusinessEntityWhereInput>
266
- location?: Prisma.XOR<Prisma.LocationScalarRelationFilter, Prisma.LocationWhereInput>
267
- }, "id" | "business_entity_id_location_id">
268
-
269
- export type BusinessEntityLocationOrderByWithAggregationInput = {
270
- id?: Prisma.SortOrder
271
- business_entity_id?: Prisma.SortOrder
272
- location_id?: Prisma.SortOrder
273
- is_primary?: Prisma.SortOrderInput | Prisma.SortOrder
274
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
275
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
276
- _count?: Prisma.BusinessEntityLocationCountOrderByAggregateInput
277
- _avg?: Prisma.BusinessEntityLocationAvgOrderByAggregateInput
278
- _max?: Prisma.BusinessEntityLocationMaxOrderByAggregateInput
279
- _min?: Prisma.BusinessEntityLocationMinOrderByAggregateInput
280
- _sum?: Prisma.BusinessEntityLocationSumOrderByAggregateInput
281
- }
282
-
283
- export type BusinessEntityLocationScalarWhereWithAggregatesInput = {
284
- AND?: Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput | Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput[]
285
- OR?: Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput[]
286
- NOT?: Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput | Prisma.BusinessEntityLocationScalarWhereWithAggregatesInput[]
287
- id?: Prisma.IntWithAggregatesFilter<"BusinessEntityLocation"> | number
288
- business_entity_id?: Prisma.IntWithAggregatesFilter<"BusinessEntityLocation"> | number
289
- location_id?: Prisma.IntWithAggregatesFilter<"BusinessEntityLocation"> | number
290
- is_primary?: Prisma.BoolNullableWithAggregatesFilter<"BusinessEntityLocation"> | boolean | null
291
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntityLocation"> | Date | string | null
292
- created_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntityLocation"> | number | null
293
- }
294
-
295
- export type BusinessEntityLocationCreateInput = {
296
- is_primary?: boolean | null
297
- created_at?: Date | string | null
298
- created_by?: number | null
299
- business_entity: Prisma.BusinessEntityCreateNestedOneWithoutBusiness_entity_locationsInput
300
- location: Prisma.LocationCreateNestedOneWithoutBusiness_entity_locationsInput
301
- }
302
-
303
- export type BusinessEntityLocationUncheckedCreateInput = {
304
- id?: number
305
- business_entity_id: number
306
- location_id: number
307
- is_primary?: boolean | null
308
- created_at?: Date | string | null
309
- created_by?: number | null
310
- }
311
-
312
- export type BusinessEntityLocationUpdateInput = {
313
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
314
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
316
- business_entity?: Prisma.BusinessEntityUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput
317
- location?: Prisma.LocationUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput
318
- }
319
-
320
- export type BusinessEntityLocationUncheckedUpdateInput = {
321
- id?: Prisma.IntFieldUpdateOperationsInput | number
322
- business_entity_id?: Prisma.IntFieldUpdateOperationsInput | number
323
- location_id?: Prisma.IntFieldUpdateOperationsInput | number
324
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
325
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
326
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
327
- }
328
-
329
- export type BusinessEntityLocationCreateManyInput = {
330
- id?: number
331
- business_entity_id: number
332
- location_id: number
333
- is_primary?: boolean | null
334
- created_at?: Date | string | null
335
- created_by?: number | null
336
- }
337
-
338
- export type BusinessEntityLocationUpdateManyMutationInput = {
339
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
340
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
341
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
342
- }
343
-
344
- export type BusinessEntityLocationUncheckedUpdateManyInput = {
345
- id?: Prisma.IntFieldUpdateOperationsInput | number
346
- business_entity_id?: Prisma.IntFieldUpdateOperationsInput | number
347
- location_id?: Prisma.IntFieldUpdateOperationsInput | number
348
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
349
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
350
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
351
- }
352
-
353
- export type BusinessEntityLocationListRelationFilter = {
354
- every?: Prisma.BusinessEntityLocationWhereInput
355
- some?: Prisma.BusinessEntityLocationWhereInput
356
- none?: Prisma.BusinessEntityLocationWhereInput
357
- }
358
-
359
- export type BusinessEntityLocationOrderByRelationAggregateInput = {
360
- _count?: Prisma.SortOrder
361
- }
362
-
363
- export type BusinessEntityLocationBusiness_entity_idLocation_idCompoundUniqueInput = {
364
- business_entity_id: number
365
- location_id: number
366
- }
367
-
368
- export type BusinessEntityLocationCountOrderByAggregateInput = {
369
- id?: Prisma.SortOrder
370
- business_entity_id?: Prisma.SortOrder
371
- location_id?: Prisma.SortOrder
372
- is_primary?: Prisma.SortOrder
373
- created_at?: Prisma.SortOrder
374
- created_by?: Prisma.SortOrder
375
- }
376
-
377
- export type BusinessEntityLocationAvgOrderByAggregateInput = {
378
- id?: Prisma.SortOrder
379
- business_entity_id?: Prisma.SortOrder
380
- location_id?: Prisma.SortOrder
381
- created_by?: Prisma.SortOrder
382
- }
383
-
384
- export type BusinessEntityLocationMaxOrderByAggregateInput = {
385
- id?: Prisma.SortOrder
386
- business_entity_id?: Prisma.SortOrder
387
- location_id?: Prisma.SortOrder
388
- is_primary?: Prisma.SortOrder
389
- created_at?: Prisma.SortOrder
390
- created_by?: Prisma.SortOrder
391
- }
392
-
393
- export type BusinessEntityLocationMinOrderByAggregateInput = {
394
- id?: Prisma.SortOrder
395
- business_entity_id?: Prisma.SortOrder
396
- location_id?: Prisma.SortOrder
397
- is_primary?: Prisma.SortOrder
398
- created_at?: Prisma.SortOrder
399
- created_by?: Prisma.SortOrder
400
- }
401
-
402
- export type BusinessEntityLocationSumOrderByAggregateInput = {
403
- id?: Prisma.SortOrder
404
- business_entity_id?: Prisma.SortOrder
405
- location_id?: Prisma.SortOrder
406
- created_by?: Prisma.SortOrder
407
- }
408
-
409
- export type BusinessEntityLocationCreateNestedManyWithoutLocationInput = {
410
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput> | Prisma.BusinessEntityLocationCreateWithoutLocationInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput[]
411
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput[]
412
- createMany?: Prisma.BusinessEntityLocationCreateManyLocationInputEnvelope
413
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
414
- }
415
-
416
- export type BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput = {
417
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput> | Prisma.BusinessEntityLocationCreateWithoutLocationInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput[]
418
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput[]
419
- createMany?: Prisma.BusinessEntityLocationCreateManyLocationInputEnvelope
420
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
421
- }
422
-
423
- export type BusinessEntityLocationUpdateManyWithoutLocationNestedInput = {
424
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput> | Prisma.BusinessEntityLocationCreateWithoutLocationInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput[]
425
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput[]
426
- upsert?: Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutLocationInput | Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutLocationInput[]
427
- createMany?: Prisma.BusinessEntityLocationCreateManyLocationInputEnvelope
428
- set?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
429
- disconnect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
430
- delete?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
431
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
432
- update?: Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutLocationInput | Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutLocationInput[]
433
- updateMany?: Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutLocationInput | Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutLocationInput[]
434
- deleteMany?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
435
- }
436
-
437
- export type BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput = {
438
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput> | Prisma.BusinessEntityLocationCreateWithoutLocationInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput[]
439
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutLocationInput[]
440
- upsert?: Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutLocationInput | Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutLocationInput[]
441
- createMany?: Prisma.BusinessEntityLocationCreateManyLocationInputEnvelope
442
- set?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
443
- disconnect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
444
- delete?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
445
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
446
- update?: Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutLocationInput | Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutLocationInput[]
447
- updateMany?: Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutLocationInput | Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutLocationInput[]
448
- deleteMany?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
449
- }
450
-
451
- export type BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput = {
452
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput[]
453
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput[]
454
- createMany?: Prisma.BusinessEntityLocationCreateManyBusiness_entityInputEnvelope
455
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
456
- }
457
-
458
- export type BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput = {
459
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput[]
460
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput[]
461
- createMany?: Prisma.BusinessEntityLocationCreateManyBusiness_entityInputEnvelope
462
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
463
- }
464
-
465
- export type BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput = {
466
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput[]
467
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput[]
468
- upsert?: Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutBusiness_entityInput[]
469
- createMany?: Prisma.BusinessEntityLocationCreateManyBusiness_entityInputEnvelope
470
- set?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
471
- disconnect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
472
- delete?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
473
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
474
- update?: Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutBusiness_entityInput[]
475
- updateMany?: Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutBusiness_entityInput[]
476
- deleteMany?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
477
- }
478
-
479
- export type BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput = {
480
- create?: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput> | Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput[] | Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput[]
481
- connectOrCreate?: Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput | Prisma.BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput[]
482
- upsert?: Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpsertWithWhereUniqueWithoutBusiness_entityInput[]
483
- createMany?: Prisma.BusinessEntityLocationCreateManyBusiness_entityInputEnvelope
484
- set?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
485
- disconnect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
486
- delete?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
487
- connect?: Prisma.BusinessEntityLocationWhereUniqueInput | Prisma.BusinessEntityLocationWhereUniqueInput[]
488
- update?: Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpdateWithWhereUniqueWithoutBusiness_entityInput[]
489
- updateMany?: Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.BusinessEntityLocationUpdateManyWithWhereWithoutBusiness_entityInput[]
490
- deleteMany?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
491
- }
492
-
493
- export type BusinessEntityLocationCreateWithoutLocationInput = {
494
- is_primary?: boolean | null
495
- created_at?: Date | string | null
496
- created_by?: number | null
497
- business_entity: Prisma.BusinessEntityCreateNestedOneWithoutBusiness_entity_locationsInput
498
- }
499
-
500
- export type BusinessEntityLocationUncheckedCreateWithoutLocationInput = {
501
- id?: number
502
- business_entity_id: number
503
- is_primary?: boolean | null
504
- created_at?: Date | string | null
505
- created_by?: number | null
506
- }
507
-
508
- export type BusinessEntityLocationCreateOrConnectWithoutLocationInput = {
509
- where: Prisma.BusinessEntityLocationWhereUniqueInput
510
- create: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput>
511
- }
512
-
513
- export type BusinessEntityLocationCreateManyLocationInputEnvelope = {
514
- data: Prisma.BusinessEntityLocationCreateManyLocationInput | Prisma.BusinessEntityLocationCreateManyLocationInput[]
515
- skipDuplicates?: boolean
516
- }
517
-
518
- export type BusinessEntityLocationUpsertWithWhereUniqueWithoutLocationInput = {
519
- where: Prisma.BusinessEntityLocationWhereUniqueInput
520
- update: Prisma.XOR<Prisma.BusinessEntityLocationUpdateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedUpdateWithoutLocationInput>
521
- create: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutLocationInput>
522
- }
523
-
524
- export type BusinessEntityLocationUpdateWithWhereUniqueWithoutLocationInput = {
525
- where: Prisma.BusinessEntityLocationWhereUniqueInput
526
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateWithoutLocationInput, Prisma.BusinessEntityLocationUncheckedUpdateWithoutLocationInput>
527
- }
528
-
529
- export type BusinessEntityLocationUpdateManyWithWhereWithoutLocationInput = {
530
- where: Prisma.BusinessEntityLocationScalarWhereInput
531
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateManyMutationInput, Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationInput>
532
- }
533
-
534
- export type BusinessEntityLocationScalarWhereInput = {
535
- AND?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
536
- OR?: Prisma.BusinessEntityLocationScalarWhereInput[]
537
- NOT?: Prisma.BusinessEntityLocationScalarWhereInput | Prisma.BusinessEntityLocationScalarWhereInput[]
538
- id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
539
- business_entity_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
540
- location_id?: Prisma.IntFilter<"BusinessEntityLocation"> | number
541
- is_primary?: Prisma.BoolNullableFilter<"BusinessEntityLocation"> | boolean | null
542
- created_at?: Prisma.DateTimeNullableFilter<"BusinessEntityLocation"> | Date | string | null
543
- created_by?: Prisma.IntNullableFilter<"BusinessEntityLocation"> | number | null
544
- }
545
-
546
- export type BusinessEntityLocationCreateWithoutBusiness_entityInput = {
547
- is_primary?: boolean | null
548
- created_at?: Date | string | null
549
- created_by?: number | null
550
- location: Prisma.LocationCreateNestedOneWithoutBusiness_entity_locationsInput
551
- }
552
-
553
- export type BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput = {
554
- id?: number
555
- location_id: number
556
- is_primary?: boolean | null
557
- created_at?: Date | string | null
558
- created_by?: number | null
559
- }
560
-
561
- export type BusinessEntityLocationCreateOrConnectWithoutBusiness_entityInput = {
562
- where: Prisma.BusinessEntityLocationWhereUniqueInput
563
- create: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput>
564
- }
565
-
566
- export type BusinessEntityLocationCreateManyBusiness_entityInputEnvelope = {
567
- data: Prisma.BusinessEntityLocationCreateManyBusiness_entityInput | Prisma.BusinessEntityLocationCreateManyBusiness_entityInput[]
568
- skipDuplicates?: boolean
569
- }
570
-
571
- export type BusinessEntityLocationUpsertWithWhereUniqueWithoutBusiness_entityInput = {
572
- where: Prisma.BusinessEntityLocationWhereUniqueInput
573
- update: Prisma.XOR<Prisma.BusinessEntityLocationUpdateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedUpdateWithoutBusiness_entityInput>
574
- create: Prisma.XOR<Prisma.BusinessEntityLocationCreateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedCreateWithoutBusiness_entityInput>
575
- }
576
-
577
- export type BusinessEntityLocationUpdateWithWhereUniqueWithoutBusiness_entityInput = {
578
- where: Prisma.BusinessEntityLocationWhereUniqueInput
579
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateWithoutBusiness_entityInput, Prisma.BusinessEntityLocationUncheckedUpdateWithoutBusiness_entityInput>
580
- }
581
-
582
- export type BusinessEntityLocationUpdateManyWithWhereWithoutBusiness_entityInput = {
583
- where: Prisma.BusinessEntityLocationScalarWhereInput
584
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateManyMutationInput, Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityInput>
585
- }
586
-
587
- export type BusinessEntityLocationCreateManyLocationInput = {
588
- id?: number
589
- business_entity_id: number
590
- is_primary?: boolean | null
591
- created_at?: Date | string | null
592
- created_by?: number | null
593
- }
594
-
595
- export type BusinessEntityLocationUpdateWithoutLocationInput = {
596
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
597
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
598
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
599
- business_entity?: Prisma.BusinessEntityUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput
600
- }
601
-
602
- export type BusinessEntityLocationUncheckedUpdateWithoutLocationInput = {
603
- id?: Prisma.IntFieldUpdateOperationsInput | number
604
- business_entity_id?: Prisma.IntFieldUpdateOperationsInput | number
605
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
606
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
607
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
608
- }
609
-
610
- export type BusinessEntityLocationUncheckedUpdateManyWithoutLocationInput = {
611
- id?: Prisma.IntFieldUpdateOperationsInput | number
612
- business_entity_id?: Prisma.IntFieldUpdateOperationsInput | number
613
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
614
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
615
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
616
- }
617
-
618
- export type BusinessEntityLocationCreateManyBusiness_entityInput = {
619
- id?: number
620
- location_id: number
621
- is_primary?: boolean | null
622
- created_at?: Date | string | null
623
- created_by?: number | null
624
- }
625
-
626
- export type BusinessEntityLocationUpdateWithoutBusiness_entityInput = {
627
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
628
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
629
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
630
- location?: Prisma.LocationUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput
631
- }
632
-
633
- export type BusinessEntityLocationUncheckedUpdateWithoutBusiness_entityInput = {
634
- id?: Prisma.IntFieldUpdateOperationsInput | number
635
- location_id?: Prisma.IntFieldUpdateOperationsInput | number
636
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
637
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
638
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
639
- }
640
-
641
- export type BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityInput = {
642
- id?: Prisma.IntFieldUpdateOperationsInput | number
643
- location_id?: Prisma.IntFieldUpdateOperationsInput | number
644
- is_primary?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
645
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
646
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
647
- }
648
-
649
-
650
-
651
- export type BusinessEntityLocationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
652
- id?: boolean
653
- business_entity_id?: boolean
654
- location_id?: boolean
655
- is_primary?: boolean
656
- created_at?: boolean
657
- created_by?: boolean
658
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
659
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
660
- }, ExtArgs["result"]["businessEntityLocation"]>
661
-
662
- export type BusinessEntityLocationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
663
- id?: boolean
664
- business_entity_id?: boolean
665
- location_id?: boolean
666
- is_primary?: boolean
667
- created_at?: boolean
668
- created_by?: boolean
669
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
670
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
671
- }, ExtArgs["result"]["businessEntityLocation"]>
672
-
673
- export type BusinessEntityLocationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
674
- id?: boolean
675
- business_entity_id?: boolean
676
- location_id?: boolean
677
- is_primary?: boolean
678
- created_at?: boolean
679
- created_by?: boolean
680
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
681
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
682
- }, ExtArgs["result"]["businessEntityLocation"]>
683
-
684
- export type BusinessEntityLocationSelectScalar = {
685
- id?: boolean
686
- business_entity_id?: boolean
687
- location_id?: boolean
688
- is_primary?: boolean
689
- created_at?: boolean
690
- created_by?: boolean
691
- }
692
-
693
- export type BusinessEntityLocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "business_entity_id" | "location_id" | "is_primary" | "created_at" | "created_by", ExtArgs["result"]["businessEntityLocation"]>
694
- export type BusinessEntityLocationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
695
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
696
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
697
- }
698
- export type BusinessEntityLocationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
699
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
700
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
701
- }
702
- export type BusinessEntityLocationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
703
- business_entity?: boolean | Prisma.BusinessEntityDefaultArgs<ExtArgs>
704
- location?: boolean | Prisma.LocationDefaultArgs<ExtArgs>
705
- }
706
-
707
- export type $BusinessEntityLocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
708
- name: "BusinessEntityLocation"
709
- objects: {
710
- business_entity: Prisma.$BusinessEntityPayload<ExtArgs>
711
- location: Prisma.$LocationPayload<ExtArgs>
712
- }
713
- scalars: runtime.Types.Extensions.GetPayloadResult<{
714
- id: number
715
- business_entity_id: number
716
- location_id: number
717
- is_primary: boolean | null
718
- created_at: Date | null
719
- created_by: number | null
720
- }, ExtArgs["result"]["businessEntityLocation"]>
721
- composites: {}
722
- }
723
-
724
- export type BusinessEntityLocationGetPayload<S extends boolean | null | undefined | BusinessEntityLocationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload, S>
725
-
726
- export type BusinessEntityLocationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
727
- Omit<BusinessEntityLocationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
728
- select?: BusinessEntityLocationCountAggregateInputType | true
729
- }
730
-
731
- export interface BusinessEntityLocationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
732
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BusinessEntityLocation'], meta: { name: 'BusinessEntityLocation' } }
733
- /**
734
- * Find zero or one BusinessEntityLocation that matches the filter.
735
- * @param {BusinessEntityLocationFindUniqueArgs} args - Arguments to find a BusinessEntityLocation
736
- * @example
737
- * // Get one BusinessEntityLocation
738
- * const businessEntityLocation = await prisma.businessEntityLocation.findUnique({
739
- * where: {
740
- * // ... provide filter here
741
- * }
742
- * })
743
- */
744
- findUnique<T extends BusinessEntityLocationFindUniqueArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
745
-
746
- /**
747
- * Find one BusinessEntityLocation that matches the filter or throw an error with `error.code='P2025'`
748
- * if no matches were found.
749
- * @param {BusinessEntityLocationFindUniqueOrThrowArgs} args - Arguments to find a BusinessEntityLocation
750
- * @example
751
- * // Get one BusinessEntityLocation
752
- * const businessEntityLocation = await prisma.businessEntityLocation.findUniqueOrThrow({
753
- * where: {
754
- * // ... provide filter here
755
- * }
756
- * })
757
- */
758
- findUniqueOrThrow<T extends BusinessEntityLocationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
759
-
760
- /**
761
- * Find the first BusinessEntityLocation that matches the filter.
762
- * Note, that providing `undefined` is treated as the value not being there.
763
- * Read more here: https://pris.ly/d/null-undefined
764
- * @param {BusinessEntityLocationFindFirstArgs} args - Arguments to find a BusinessEntityLocation
765
- * @example
766
- * // Get one BusinessEntityLocation
767
- * const businessEntityLocation = await prisma.businessEntityLocation.findFirst({
768
- * where: {
769
- * // ... provide filter here
770
- * }
771
- * })
772
- */
773
- findFirst<T extends BusinessEntityLocationFindFirstArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationFindFirstArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
774
-
775
- /**
776
- * Find the first BusinessEntityLocation that matches the filter or
777
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
778
- * Note, that providing `undefined` is treated as the value not being there.
779
- * Read more here: https://pris.ly/d/null-undefined
780
- * @param {BusinessEntityLocationFindFirstOrThrowArgs} args - Arguments to find a BusinessEntityLocation
781
- * @example
782
- * // Get one BusinessEntityLocation
783
- * const businessEntityLocation = await prisma.businessEntityLocation.findFirstOrThrow({
784
- * where: {
785
- * // ... provide filter here
786
- * }
787
- * })
788
- */
789
- findFirstOrThrow<T extends BusinessEntityLocationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
790
-
791
- /**
792
- * Find zero or more BusinessEntityLocations that matches the filter.
793
- * Note, that providing `undefined` is treated as the value not being there.
794
- * Read more here: https://pris.ly/d/null-undefined
795
- * @param {BusinessEntityLocationFindManyArgs} args - Arguments to filter and select certain fields only.
796
- * @example
797
- * // Get all BusinessEntityLocations
798
- * const businessEntityLocations = await prisma.businessEntityLocation.findMany()
799
- *
800
- * // Get first 10 BusinessEntityLocations
801
- * const businessEntityLocations = await prisma.businessEntityLocation.findMany({ take: 10 })
802
- *
803
- * // Only select the `id`
804
- * const businessEntityLocationWithIdOnly = await prisma.businessEntityLocation.findMany({ select: { id: true } })
805
- *
806
- */
807
- findMany<T extends BusinessEntityLocationFindManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
808
-
809
- /**
810
- * Create a BusinessEntityLocation.
811
- * @param {BusinessEntityLocationCreateArgs} args - Arguments to create a BusinessEntityLocation.
812
- * @example
813
- * // Create one BusinessEntityLocation
814
- * const BusinessEntityLocation = await prisma.businessEntityLocation.create({
815
- * data: {
816
- * // ... data to create a BusinessEntityLocation
817
- * }
818
- * })
819
- *
820
- */
821
- create<T extends BusinessEntityLocationCreateArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationCreateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
822
-
823
- /**
824
- * Create many BusinessEntityLocations.
825
- * @param {BusinessEntityLocationCreateManyArgs} args - Arguments to create many BusinessEntityLocations.
826
- * @example
827
- * // Create many BusinessEntityLocations
828
- * const businessEntityLocation = await prisma.businessEntityLocation.createMany({
829
- * data: [
830
- * // ... provide data here
831
- * ]
832
- * })
833
- *
834
- */
835
- createMany<T extends BusinessEntityLocationCreateManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
836
-
837
- /**
838
- * Create many BusinessEntityLocations and returns the data saved in the database.
839
- * @param {BusinessEntityLocationCreateManyAndReturnArgs} args - Arguments to create many BusinessEntityLocations.
840
- * @example
841
- * // Create many BusinessEntityLocations
842
- * const businessEntityLocation = await prisma.businessEntityLocation.createManyAndReturn({
843
- * data: [
844
- * // ... provide data here
845
- * ]
846
- * })
847
- *
848
- * // Create many BusinessEntityLocations and only return the `id`
849
- * const businessEntityLocationWithIdOnly = await prisma.businessEntityLocation.createManyAndReturn({
850
- * select: { id: true },
851
- * data: [
852
- * // ... provide data here
853
- * ]
854
- * })
855
- * Note, that providing `undefined` is treated as the value not being there.
856
- * Read more here: https://pris.ly/d/null-undefined
857
- *
858
- */
859
- createManyAndReturn<T extends BusinessEntityLocationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
860
-
861
- /**
862
- * Delete a BusinessEntityLocation.
863
- * @param {BusinessEntityLocationDeleteArgs} args - Arguments to delete one BusinessEntityLocation.
864
- * @example
865
- * // Delete one BusinessEntityLocation
866
- * const BusinessEntityLocation = await prisma.businessEntityLocation.delete({
867
- * where: {
868
- * // ... filter to delete one BusinessEntityLocation
869
- * }
870
- * })
871
- *
872
- */
873
- delete<T extends BusinessEntityLocationDeleteArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationDeleteArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
874
-
875
- /**
876
- * Update one BusinessEntityLocation.
877
- * @param {BusinessEntityLocationUpdateArgs} args - Arguments to update one BusinessEntityLocation.
878
- * @example
879
- * // Update one BusinessEntityLocation
880
- * const businessEntityLocation = await prisma.businessEntityLocation.update({
881
- * where: {
882
- * // ... provide filter here
883
- * },
884
- * data: {
885
- * // ... provide data here
886
- * }
887
- * })
888
- *
889
- */
890
- update<T extends BusinessEntityLocationUpdateArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationUpdateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
891
-
892
- /**
893
- * Delete zero or more BusinessEntityLocations.
894
- * @param {BusinessEntityLocationDeleteManyArgs} args - Arguments to filter BusinessEntityLocations to delete.
895
- * @example
896
- * // Delete a few BusinessEntityLocations
897
- * const { count } = await prisma.businessEntityLocation.deleteMany({
898
- * where: {
899
- * // ... provide filter here
900
- * }
901
- * })
902
- *
903
- */
904
- deleteMany<T extends BusinessEntityLocationDeleteManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityLocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
905
-
906
- /**
907
- * Update zero or more BusinessEntityLocations.
908
- * Note, that providing `undefined` is treated as the value not being there.
909
- * Read more here: https://pris.ly/d/null-undefined
910
- * @param {BusinessEntityLocationUpdateManyArgs} args - Arguments to update one or more rows.
911
- * @example
912
- * // Update many BusinessEntityLocations
913
- * const businessEntityLocation = await prisma.businessEntityLocation.updateMany({
914
- * where: {
915
- * // ... provide filter here
916
- * },
917
- * data: {
918
- * // ... provide data here
919
- * }
920
- * })
921
- *
922
- */
923
- updateMany<T extends BusinessEntityLocationUpdateManyArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
924
-
925
- /**
926
- * Update zero or more BusinessEntityLocations and returns the data updated in the database.
927
- * @param {BusinessEntityLocationUpdateManyAndReturnArgs} args - Arguments to update many BusinessEntityLocations.
928
- * @example
929
- * // Update many BusinessEntityLocations
930
- * const businessEntityLocation = await prisma.businessEntityLocation.updateManyAndReturn({
931
- * where: {
932
- * // ... provide filter here
933
- * },
934
- * data: [
935
- * // ... provide data here
936
- * ]
937
- * })
938
- *
939
- * // Update zero or more BusinessEntityLocations and only return the `id`
940
- * const businessEntityLocationWithIdOnly = await prisma.businessEntityLocation.updateManyAndReturn({
941
- * select: { id: true },
942
- * where: {
943
- * // ... provide filter here
944
- * },
945
- * data: [
946
- * // ... provide data here
947
- * ]
948
- * })
949
- * Note, that providing `undefined` is treated as the value not being there.
950
- * Read more here: https://pris.ly/d/null-undefined
951
- *
952
- */
953
- updateManyAndReturn<T extends BusinessEntityLocationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
954
-
955
- /**
956
- * Create or update one BusinessEntityLocation.
957
- * @param {BusinessEntityLocationUpsertArgs} args - Arguments to update or create a BusinessEntityLocation.
958
- * @example
959
- * // Update or create a BusinessEntityLocation
960
- * const businessEntityLocation = await prisma.businessEntityLocation.upsert({
961
- * create: {
962
- * // ... data to create a BusinessEntityLocation
963
- * },
964
- * update: {
965
- * // ... in case it already exists, update
966
- * },
967
- * where: {
968
- * // ... the filter for the BusinessEntityLocation we want to update
969
- * }
970
- * })
971
- */
972
- upsert<T extends BusinessEntityLocationUpsertArgs>(args: Prisma.SelectSubset<T, BusinessEntityLocationUpsertArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityLocationClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
973
-
974
-
975
- /**
976
- * Count the number of BusinessEntityLocations.
977
- * Note, that providing `undefined` is treated as the value not being there.
978
- * Read more here: https://pris.ly/d/null-undefined
979
- * @param {BusinessEntityLocationCountArgs} args - Arguments to filter BusinessEntityLocations to count.
980
- * @example
981
- * // Count the number of BusinessEntityLocations
982
- * const count = await prisma.businessEntityLocation.count({
983
- * where: {
984
- * // ... the filter for the BusinessEntityLocations we want to count
985
- * }
986
- * })
987
- **/
988
- count<T extends BusinessEntityLocationCountArgs>(
989
- args?: Prisma.Subset<T, BusinessEntityLocationCountArgs>,
990
- ): Prisma.PrismaPromise<
991
- T extends runtime.Types.Utils.Record<'select', any>
992
- ? T['select'] extends true
993
- ? number
994
- : Prisma.GetScalarType<T['select'], BusinessEntityLocationCountAggregateOutputType>
995
- : number
996
- >
997
-
998
- /**
999
- * Allows you to perform aggregations operations on a BusinessEntityLocation.
1000
- * Note, that providing `undefined` is treated as the value not being there.
1001
- * Read more here: https://pris.ly/d/null-undefined
1002
- * @param {BusinessEntityLocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1003
- * @example
1004
- * // Ordered by age ascending
1005
- * // Where email contains prisma.io
1006
- * // Limited to the 10 users
1007
- * const aggregations = await prisma.user.aggregate({
1008
- * _avg: {
1009
- * age: true,
1010
- * },
1011
- * where: {
1012
- * email: {
1013
- * contains: "prisma.io",
1014
- * },
1015
- * },
1016
- * orderBy: {
1017
- * age: "asc",
1018
- * },
1019
- * take: 10,
1020
- * })
1021
- **/
1022
- aggregate<T extends BusinessEntityLocationAggregateArgs>(args: Prisma.Subset<T, BusinessEntityLocationAggregateArgs>): Prisma.PrismaPromise<GetBusinessEntityLocationAggregateType<T>>
1023
-
1024
- /**
1025
- * Group by BusinessEntityLocation.
1026
- * Note, that providing `undefined` is treated as the value not being there.
1027
- * Read more here: https://pris.ly/d/null-undefined
1028
- * @param {BusinessEntityLocationGroupByArgs} args - Group by arguments.
1029
- * @example
1030
- * // Group by city, order by createdAt, get count
1031
- * const result = await prisma.user.groupBy({
1032
- * by: ['city', 'createdAt'],
1033
- * orderBy: {
1034
- * createdAt: true
1035
- * },
1036
- * _count: {
1037
- * _all: true
1038
- * },
1039
- * })
1040
- *
1041
- **/
1042
- groupBy<
1043
- T extends BusinessEntityLocationGroupByArgs,
1044
- HasSelectOrTake extends Prisma.Or<
1045
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1046
- Prisma.Extends<'take', Prisma.Keys<T>>
1047
- >,
1048
- OrderByArg extends Prisma.True extends HasSelectOrTake
1049
- ? { orderBy: BusinessEntityLocationGroupByArgs['orderBy'] }
1050
- : { orderBy?: BusinessEntityLocationGroupByArgs['orderBy'] },
1051
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1052
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1053
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1054
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1055
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1056
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1057
- InputErrors extends ByEmpty extends Prisma.True
1058
- ? `Error: "by" must not be empty.`
1059
- : HavingValid extends Prisma.False
1060
- ? {
1061
- [P in HavingFields]: P extends ByFields
1062
- ? never
1063
- : P extends string
1064
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1065
- : [
1066
- Error,
1067
- 'Field ',
1068
- P,
1069
- ` in "having" needs to be provided in "by"`,
1070
- ]
1071
- }[HavingFields]
1072
- : 'take' extends Prisma.Keys<T>
1073
- ? 'orderBy' extends Prisma.Keys<T>
1074
- ? ByValid extends Prisma.True
1075
- ? {}
1076
- : {
1077
- [P in OrderFields]: P extends ByFields
1078
- ? never
1079
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1080
- }[OrderFields]
1081
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1082
- : 'skip' extends Prisma.Keys<T>
1083
- ? 'orderBy' extends Prisma.Keys<T>
1084
- ? ByValid extends Prisma.True
1085
- ? {}
1086
- : {
1087
- [P in OrderFields]: P extends ByFields
1088
- ? never
1089
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1090
- }[OrderFields]
1091
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1092
- : ByValid extends Prisma.True
1093
- ? {}
1094
- : {
1095
- [P in OrderFields]: P extends ByFields
1096
- ? never
1097
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1098
- }[OrderFields]
1099
- >(args: Prisma.SubsetIntersection<T, BusinessEntityLocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBusinessEntityLocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1100
- /**
1101
- * Fields of the BusinessEntityLocation model
1102
- */
1103
- readonly fields: BusinessEntityLocationFieldRefs;
1104
- }
1105
-
1106
- /**
1107
- * The delegate class that acts as a "Promise-like" for BusinessEntityLocation.
1108
- * Why is this prefixed with `Prisma__`?
1109
- * Because we want to prevent naming conflicts as mentioned in
1110
- * https://github.com/prisma/prisma-client-js/issues/707
1111
- */
1112
- export interface Prisma__BusinessEntityLocationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1113
- readonly [Symbol.toStringTag]: "PrismaPromise"
1114
- business_entity<T extends Prisma.BusinessEntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntityDefaultArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1115
- location<T extends Prisma.LocationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LocationDefaultArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1116
- /**
1117
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1118
- * @param onfulfilled The callback to execute when the Promise is resolved.
1119
- * @param onrejected The callback to execute when the Promise is rejected.
1120
- * @returns A Promise for the completion of which ever callback is executed.
1121
- */
1122
- 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>
1123
- /**
1124
- * Attaches a callback for only the rejection of the Promise.
1125
- * @param onrejected The callback to execute when the Promise is rejected.
1126
- * @returns A Promise for the completion of the callback.
1127
- */
1128
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1129
- /**
1130
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1131
- * resolved value cannot be modified from the callback.
1132
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1133
- * @returns A Promise for the completion of the callback.
1134
- */
1135
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1136
- }
1137
-
1138
-
1139
-
1140
-
1141
- /**
1142
- * Fields of the BusinessEntityLocation model
1143
- */
1144
- export interface BusinessEntityLocationFieldRefs {
1145
- readonly id: Prisma.FieldRef<"BusinessEntityLocation", 'Int'>
1146
- readonly business_entity_id: Prisma.FieldRef<"BusinessEntityLocation", 'Int'>
1147
- readonly location_id: Prisma.FieldRef<"BusinessEntityLocation", 'Int'>
1148
- readonly is_primary: Prisma.FieldRef<"BusinessEntityLocation", 'Boolean'>
1149
- readonly created_at: Prisma.FieldRef<"BusinessEntityLocation", 'DateTime'>
1150
- readonly created_by: Prisma.FieldRef<"BusinessEntityLocation", 'Int'>
1151
- }
1152
-
1153
-
1154
- // Custom InputTypes
1155
- /**
1156
- * BusinessEntityLocation findUnique
1157
- */
1158
- export type BusinessEntityLocationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1159
- /**
1160
- * Select specific fields to fetch from the BusinessEntityLocation
1161
- */
1162
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1163
- /**
1164
- * Omit specific fields from the BusinessEntityLocation
1165
- */
1166
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1167
- /**
1168
- * Choose, which related nodes to fetch as well
1169
- */
1170
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1171
- /**
1172
- * Filter, which BusinessEntityLocation to fetch.
1173
- */
1174
- where: Prisma.BusinessEntityLocationWhereUniqueInput
1175
- }
1176
-
1177
- /**
1178
- * BusinessEntityLocation findUniqueOrThrow
1179
- */
1180
- export type BusinessEntityLocationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1181
- /**
1182
- * Select specific fields to fetch from the BusinessEntityLocation
1183
- */
1184
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1185
- /**
1186
- * Omit specific fields from the BusinessEntityLocation
1187
- */
1188
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1189
- /**
1190
- * Choose, which related nodes to fetch as well
1191
- */
1192
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1193
- /**
1194
- * Filter, which BusinessEntityLocation to fetch.
1195
- */
1196
- where: Prisma.BusinessEntityLocationWhereUniqueInput
1197
- }
1198
-
1199
- /**
1200
- * BusinessEntityLocation findFirst
1201
- */
1202
- export type BusinessEntityLocationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1203
- /**
1204
- * Select specific fields to fetch from the BusinessEntityLocation
1205
- */
1206
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1207
- /**
1208
- * Omit specific fields from the BusinessEntityLocation
1209
- */
1210
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1211
- /**
1212
- * Choose, which related nodes to fetch as well
1213
- */
1214
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1215
- /**
1216
- * Filter, which BusinessEntityLocation to fetch.
1217
- */
1218
- where?: Prisma.BusinessEntityLocationWhereInput
1219
- /**
1220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1221
- *
1222
- * Determine the order of BusinessEntityLocations to fetch.
1223
- */
1224
- orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
1225
- /**
1226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1227
- *
1228
- * Sets the position for searching for BusinessEntityLocations.
1229
- */
1230
- cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
1231
- /**
1232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1233
- *
1234
- * Take `±n` BusinessEntityLocations from the position of the cursor.
1235
- */
1236
- take?: number
1237
- /**
1238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1239
- *
1240
- * Skip the first `n` BusinessEntityLocations.
1241
- */
1242
- skip?: number
1243
- /**
1244
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1245
- *
1246
- * Filter by unique combinations of BusinessEntityLocations.
1247
- */
1248
- distinct?: Prisma.BusinessEntityLocationScalarFieldEnum | Prisma.BusinessEntityLocationScalarFieldEnum[]
1249
- }
1250
-
1251
- /**
1252
- * BusinessEntityLocation findFirstOrThrow
1253
- */
1254
- export type BusinessEntityLocationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1255
- /**
1256
- * Select specific fields to fetch from the BusinessEntityLocation
1257
- */
1258
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1259
- /**
1260
- * Omit specific fields from the BusinessEntityLocation
1261
- */
1262
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1263
- /**
1264
- * Choose, which related nodes to fetch as well
1265
- */
1266
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1267
- /**
1268
- * Filter, which BusinessEntityLocation to fetch.
1269
- */
1270
- where?: Prisma.BusinessEntityLocationWhereInput
1271
- /**
1272
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1273
- *
1274
- * Determine the order of BusinessEntityLocations to fetch.
1275
- */
1276
- orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
1277
- /**
1278
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1279
- *
1280
- * Sets the position for searching for BusinessEntityLocations.
1281
- */
1282
- cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
1283
- /**
1284
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1285
- *
1286
- * Take `±n` BusinessEntityLocations from the position of the cursor.
1287
- */
1288
- take?: number
1289
- /**
1290
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1291
- *
1292
- * Skip the first `n` BusinessEntityLocations.
1293
- */
1294
- skip?: number
1295
- /**
1296
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1297
- *
1298
- * Filter by unique combinations of BusinessEntityLocations.
1299
- */
1300
- distinct?: Prisma.BusinessEntityLocationScalarFieldEnum | Prisma.BusinessEntityLocationScalarFieldEnum[]
1301
- }
1302
-
1303
- /**
1304
- * BusinessEntityLocation findMany
1305
- */
1306
- export type BusinessEntityLocationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1307
- /**
1308
- * Select specific fields to fetch from the BusinessEntityLocation
1309
- */
1310
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1311
- /**
1312
- * Omit specific fields from the BusinessEntityLocation
1313
- */
1314
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1315
- /**
1316
- * Choose, which related nodes to fetch as well
1317
- */
1318
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1319
- /**
1320
- * Filter, which BusinessEntityLocations to fetch.
1321
- */
1322
- where?: Prisma.BusinessEntityLocationWhereInput
1323
- /**
1324
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1325
- *
1326
- * Determine the order of BusinessEntityLocations to fetch.
1327
- */
1328
- orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
1329
- /**
1330
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1331
- *
1332
- * Sets the position for listing BusinessEntityLocations.
1333
- */
1334
- cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
1335
- /**
1336
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1337
- *
1338
- * Take `±n` BusinessEntityLocations from the position of the cursor.
1339
- */
1340
- take?: number
1341
- /**
1342
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1343
- *
1344
- * Skip the first `n` BusinessEntityLocations.
1345
- */
1346
- skip?: number
1347
- /**
1348
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1349
- *
1350
- * Filter by unique combinations of BusinessEntityLocations.
1351
- */
1352
- distinct?: Prisma.BusinessEntityLocationScalarFieldEnum | Prisma.BusinessEntityLocationScalarFieldEnum[]
1353
- }
1354
-
1355
- /**
1356
- * BusinessEntityLocation create
1357
- */
1358
- export type BusinessEntityLocationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
- /**
1360
- * Select specific fields to fetch from the BusinessEntityLocation
1361
- */
1362
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1363
- /**
1364
- * Omit specific fields from the BusinessEntityLocation
1365
- */
1366
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1367
- /**
1368
- * Choose, which related nodes to fetch as well
1369
- */
1370
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1371
- /**
1372
- * The data needed to create a BusinessEntityLocation.
1373
- */
1374
- data: Prisma.XOR<Prisma.BusinessEntityLocationCreateInput, Prisma.BusinessEntityLocationUncheckedCreateInput>
1375
- }
1376
-
1377
- /**
1378
- * BusinessEntityLocation createMany
1379
- */
1380
- export type BusinessEntityLocationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1381
- /**
1382
- * The data used to create many BusinessEntityLocations.
1383
- */
1384
- data: Prisma.BusinessEntityLocationCreateManyInput | Prisma.BusinessEntityLocationCreateManyInput[]
1385
- skipDuplicates?: boolean
1386
- }
1387
-
1388
- /**
1389
- * BusinessEntityLocation createManyAndReturn
1390
- */
1391
- export type BusinessEntityLocationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
- /**
1393
- * Select specific fields to fetch from the BusinessEntityLocation
1394
- */
1395
- select?: Prisma.BusinessEntityLocationSelectCreateManyAndReturn<ExtArgs> | null
1396
- /**
1397
- * Omit specific fields from the BusinessEntityLocation
1398
- */
1399
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1400
- /**
1401
- * The data used to create many BusinessEntityLocations.
1402
- */
1403
- data: Prisma.BusinessEntityLocationCreateManyInput | Prisma.BusinessEntityLocationCreateManyInput[]
1404
- skipDuplicates?: boolean
1405
- /**
1406
- * Choose, which related nodes to fetch as well
1407
- */
1408
- include?: Prisma.BusinessEntityLocationIncludeCreateManyAndReturn<ExtArgs> | null
1409
- }
1410
-
1411
- /**
1412
- * BusinessEntityLocation update
1413
- */
1414
- export type BusinessEntityLocationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1415
- /**
1416
- * Select specific fields to fetch from the BusinessEntityLocation
1417
- */
1418
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1419
- /**
1420
- * Omit specific fields from the BusinessEntityLocation
1421
- */
1422
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1423
- /**
1424
- * Choose, which related nodes to fetch as well
1425
- */
1426
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1427
- /**
1428
- * The data needed to update a BusinessEntityLocation.
1429
- */
1430
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateInput, Prisma.BusinessEntityLocationUncheckedUpdateInput>
1431
- /**
1432
- * Choose, which BusinessEntityLocation to update.
1433
- */
1434
- where: Prisma.BusinessEntityLocationWhereUniqueInput
1435
- }
1436
-
1437
- /**
1438
- * BusinessEntityLocation updateMany
1439
- */
1440
- export type BusinessEntityLocationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1441
- /**
1442
- * The data used to update BusinessEntityLocations.
1443
- */
1444
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateManyMutationInput, Prisma.BusinessEntityLocationUncheckedUpdateManyInput>
1445
- /**
1446
- * Filter which BusinessEntityLocations to update
1447
- */
1448
- where?: Prisma.BusinessEntityLocationWhereInput
1449
- /**
1450
- * Limit how many BusinessEntityLocations to update.
1451
- */
1452
- limit?: number
1453
- }
1454
-
1455
- /**
1456
- * BusinessEntityLocation updateManyAndReturn
1457
- */
1458
- export type BusinessEntityLocationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1459
- /**
1460
- * Select specific fields to fetch from the BusinessEntityLocation
1461
- */
1462
- select?: Prisma.BusinessEntityLocationSelectUpdateManyAndReturn<ExtArgs> | null
1463
- /**
1464
- * Omit specific fields from the BusinessEntityLocation
1465
- */
1466
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1467
- /**
1468
- * The data used to update BusinessEntityLocations.
1469
- */
1470
- data: Prisma.XOR<Prisma.BusinessEntityLocationUpdateManyMutationInput, Prisma.BusinessEntityLocationUncheckedUpdateManyInput>
1471
- /**
1472
- * Filter which BusinessEntityLocations to update
1473
- */
1474
- where?: Prisma.BusinessEntityLocationWhereInput
1475
- /**
1476
- * Limit how many BusinessEntityLocations to update.
1477
- */
1478
- limit?: number
1479
- /**
1480
- * Choose, which related nodes to fetch as well
1481
- */
1482
- include?: Prisma.BusinessEntityLocationIncludeUpdateManyAndReturn<ExtArgs> | null
1483
- }
1484
-
1485
- /**
1486
- * BusinessEntityLocation upsert
1487
- */
1488
- export type BusinessEntityLocationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1489
- /**
1490
- * Select specific fields to fetch from the BusinessEntityLocation
1491
- */
1492
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1493
- /**
1494
- * Omit specific fields from the BusinessEntityLocation
1495
- */
1496
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1497
- /**
1498
- * Choose, which related nodes to fetch as well
1499
- */
1500
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1501
- /**
1502
- * The filter to search for the BusinessEntityLocation to update in case it exists.
1503
- */
1504
- where: Prisma.BusinessEntityLocationWhereUniqueInput
1505
- /**
1506
- * In case the BusinessEntityLocation found by the `where` argument doesn't exist, create a new BusinessEntityLocation with this data.
1507
- */
1508
- create: Prisma.XOR<Prisma.BusinessEntityLocationCreateInput, Prisma.BusinessEntityLocationUncheckedCreateInput>
1509
- /**
1510
- * In case the BusinessEntityLocation was found with the provided `where` argument, update it with this data.
1511
- */
1512
- update: Prisma.XOR<Prisma.BusinessEntityLocationUpdateInput, Prisma.BusinessEntityLocationUncheckedUpdateInput>
1513
- }
1514
-
1515
- /**
1516
- * BusinessEntityLocation delete
1517
- */
1518
- export type BusinessEntityLocationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1519
- /**
1520
- * Select specific fields to fetch from the BusinessEntityLocation
1521
- */
1522
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1523
- /**
1524
- * Omit specific fields from the BusinessEntityLocation
1525
- */
1526
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1527
- /**
1528
- * Choose, which related nodes to fetch as well
1529
- */
1530
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1531
- /**
1532
- * Filter which BusinessEntityLocation to delete.
1533
- */
1534
- where: Prisma.BusinessEntityLocationWhereUniqueInput
1535
- }
1536
-
1537
- /**
1538
- * BusinessEntityLocation deleteMany
1539
- */
1540
- export type BusinessEntityLocationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1541
- /**
1542
- * Filter which BusinessEntityLocations to delete
1543
- */
1544
- where?: Prisma.BusinessEntityLocationWhereInput
1545
- /**
1546
- * Limit how many BusinessEntityLocations to delete.
1547
- */
1548
- limit?: number
1549
- }
1550
-
1551
- /**
1552
- * BusinessEntityLocation without action
1553
- */
1554
- export type BusinessEntityLocationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1555
- /**
1556
- * Select specific fields to fetch from the BusinessEntityLocation
1557
- */
1558
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
1559
- /**
1560
- * Omit specific fields from the BusinessEntityLocation
1561
- */
1562
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
1563
- /**
1564
- * Choose, which related nodes to fetch as well
1565
- */
1566
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
1567
- }