procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2711 +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 `Location` 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 Location
17
- *
18
- */
19
- export type LocationModel = runtime.Types.Result.DefaultSelection<Prisma.$LocationPayload>
20
-
21
- export type AggregateLocation = {
22
- _count: LocationCountAggregateOutputType | null
23
- _avg: LocationAvgAggregateOutputType | null
24
- _sum: LocationSumAggregateOutputType | null
25
- _min: LocationMinAggregateOutputType | null
26
- _max: LocationMaxAggregateOutputType | null
27
- }
28
-
29
- export type LocationAvgAggregateOutputType = {
30
- id: number | null
31
- created_by: number | null
32
- updated_by: number | null
33
- deleted_by: number | null
34
- country_id: number | null
35
- state_id: number | null
36
- city_id: number | null
37
- }
38
-
39
- export type LocationSumAggregateOutputType = {
40
- id: number | null
41
- created_by: number | null
42
- updated_by: number | null
43
- deleted_by: number | null
44
- country_id: number | null
45
- state_id: number | null
46
- city_id: number | null
47
- }
48
-
49
- export type LocationMinAggregateOutputType = {
50
- id: number | null
51
- name: string | null
52
- address: string | null
53
- zipcode: string | null
54
- status: boolean | null
55
- created_at: Date | null
56
- created_by: number | null
57
- updated_at: Date | null
58
- updated_by: number | null
59
- is_deleted: boolean | null
60
- deleted_by: number | null
61
- deleted_at: Date | null
62
- country_id: number | null
63
- state_id: number | null
64
- city_id: number | null
65
- }
66
-
67
- export type LocationMaxAggregateOutputType = {
68
- id: number | null
69
- name: string | null
70
- address: string | null
71
- zipcode: string | null
72
- status: boolean | null
73
- created_at: Date | null
74
- created_by: number | null
75
- updated_at: Date | null
76
- updated_by: number | null
77
- is_deleted: boolean | null
78
- deleted_by: number | null
79
- deleted_at: Date | null
80
- country_id: number | null
81
- state_id: number | null
82
- city_id: number | null
83
- }
84
-
85
- export type LocationCountAggregateOutputType = {
86
- id: number
87
- name: number
88
- address: number
89
- zipcode: number
90
- status: number
91
- created_at: number
92
- created_by: number
93
- updated_at: number
94
- updated_by: number
95
- is_deleted: number
96
- deleted_by: number
97
- deleted_at: number
98
- country_id: number
99
- state_id: number
100
- city_id: number
101
- _all: number
102
- }
103
-
104
-
105
- export type LocationAvgAggregateInputType = {
106
- id?: true
107
- created_by?: true
108
- updated_by?: true
109
- deleted_by?: true
110
- country_id?: true
111
- state_id?: true
112
- city_id?: true
113
- }
114
-
115
- export type LocationSumAggregateInputType = {
116
- id?: true
117
- created_by?: true
118
- updated_by?: true
119
- deleted_by?: true
120
- country_id?: true
121
- state_id?: true
122
- city_id?: true
123
- }
124
-
125
- export type LocationMinAggregateInputType = {
126
- id?: true
127
- name?: true
128
- address?: true
129
- zipcode?: true
130
- status?: true
131
- created_at?: true
132
- created_by?: true
133
- updated_at?: true
134
- updated_by?: true
135
- is_deleted?: true
136
- deleted_by?: true
137
- deleted_at?: true
138
- country_id?: true
139
- state_id?: true
140
- city_id?: true
141
- }
142
-
143
- export type LocationMaxAggregateInputType = {
144
- id?: true
145
- name?: true
146
- address?: true
147
- zipcode?: true
148
- status?: true
149
- created_at?: true
150
- created_by?: true
151
- updated_at?: true
152
- updated_by?: true
153
- is_deleted?: true
154
- deleted_by?: true
155
- deleted_at?: true
156
- country_id?: true
157
- state_id?: true
158
- city_id?: true
159
- }
160
-
161
- export type LocationCountAggregateInputType = {
162
- id?: true
163
- name?: true
164
- address?: true
165
- zipcode?: true
166
- status?: true
167
- created_at?: true
168
- created_by?: true
169
- updated_at?: true
170
- updated_by?: true
171
- is_deleted?: true
172
- deleted_by?: true
173
- deleted_at?: true
174
- country_id?: true
175
- state_id?: true
176
- city_id?: true
177
- _all?: true
178
- }
179
-
180
- export type LocationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
- /**
182
- * Filter which Location to aggregate.
183
- */
184
- where?: Prisma.LocationWhereInput
185
- /**
186
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
187
- *
188
- * Determine the order of Locations to fetch.
189
- */
190
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
191
- /**
192
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
193
- *
194
- * Sets the start position
195
- */
196
- cursor?: Prisma.LocationWhereUniqueInput
197
- /**
198
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
199
- *
200
- * Take `±n` Locations from the position of the cursor.
201
- */
202
- take?: number
203
- /**
204
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
205
- *
206
- * Skip the first `n` Locations.
207
- */
208
- skip?: number
209
- /**
210
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
211
- *
212
- * Count returned Locations
213
- **/
214
- _count?: true | LocationCountAggregateInputType
215
- /**
216
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
217
- *
218
- * Select which fields to average
219
- **/
220
- _avg?: LocationAvgAggregateInputType
221
- /**
222
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
223
- *
224
- * Select which fields to sum
225
- **/
226
- _sum?: LocationSumAggregateInputType
227
- /**
228
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
229
- *
230
- * Select which fields to find the minimum value
231
- **/
232
- _min?: LocationMinAggregateInputType
233
- /**
234
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
235
- *
236
- * Select which fields to find the maximum value
237
- **/
238
- _max?: LocationMaxAggregateInputType
239
- }
240
-
241
- export type GetLocationAggregateType<T extends LocationAggregateArgs> = {
242
- [P in keyof T & keyof AggregateLocation]: P extends '_count' | 'count'
243
- ? T[P] extends true
244
- ? number
245
- : Prisma.GetScalarType<T[P], AggregateLocation[P]>
246
- : Prisma.GetScalarType<T[P], AggregateLocation[P]>
247
- }
248
-
249
-
250
-
251
-
252
- export type LocationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
253
- where?: Prisma.LocationWhereInput
254
- orderBy?: Prisma.LocationOrderByWithAggregationInput | Prisma.LocationOrderByWithAggregationInput[]
255
- by: Prisma.LocationScalarFieldEnum[] | Prisma.LocationScalarFieldEnum
256
- having?: Prisma.LocationScalarWhereWithAggregatesInput
257
- take?: number
258
- skip?: number
259
- _count?: LocationCountAggregateInputType | true
260
- _avg?: LocationAvgAggregateInputType
261
- _sum?: LocationSumAggregateInputType
262
- _min?: LocationMinAggregateInputType
263
- _max?: LocationMaxAggregateInputType
264
- }
265
-
266
- export type LocationGroupByOutputType = {
267
- id: number
268
- name: string | null
269
- address: string | null
270
- zipcode: string | null
271
- status: boolean | null
272
- created_at: Date
273
- created_by: number | null
274
- updated_at: Date
275
- updated_by: number | null
276
- is_deleted: boolean | null
277
- deleted_by: number | null
278
- deleted_at: Date | null
279
- country_id: number | null
280
- state_id: number | null
281
- city_id: number | null
282
- _count: LocationCountAggregateOutputType | null
283
- _avg: LocationAvgAggregateOutputType | null
284
- _sum: LocationSumAggregateOutputType | null
285
- _min: LocationMinAggregateOutputType | null
286
- _max: LocationMaxAggregateOutputType | null
287
- }
288
-
289
- export type GetLocationGroupByPayload<T extends LocationGroupByArgs> = Prisma.PrismaPromise<
290
- Array<
291
- Prisma.PickEnumerable<LocationGroupByOutputType, T['by']> &
292
- {
293
- [P in ((keyof T) & (keyof LocationGroupByOutputType))]: P extends '_count'
294
- ? T[P] extends boolean
295
- ? number
296
- : Prisma.GetScalarType<T[P], LocationGroupByOutputType[P]>
297
- : Prisma.GetScalarType<T[P], LocationGroupByOutputType[P]>
298
- }
299
- >
300
- >
301
-
302
-
303
-
304
- export type LocationWhereInput = {
305
- AND?: Prisma.LocationWhereInput | Prisma.LocationWhereInput[]
306
- OR?: Prisma.LocationWhereInput[]
307
- NOT?: Prisma.LocationWhereInput | Prisma.LocationWhereInput[]
308
- id?: Prisma.IntFilter<"Location"> | number
309
- name?: Prisma.StringNullableFilter<"Location"> | string | null
310
- address?: Prisma.StringNullableFilter<"Location"> | string | null
311
- zipcode?: Prisma.StringNullableFilter<"Location"> | string | null
312
- status?: Prisma.BoolNullableFilter<"Location"> | boolean | null
313
- created_at?: Prisma.DateTimeFilter<"Location"> | Date | string
314
- created_by?: Prisma.IntNullableFilter<"Location"> | number | null
315
- updated_at?: Prisma.DateTimeFilter<"Location"> | Date | string
316
- updated_by?: Prisma.IntNullableFilter<"Location"> | number | null
317
- is_deleted?: Prisma.BoolNullableFilter<"Location"> | boolean | null
318
- deleted_by?: Prisma.IntNullableFilter<"Location"> | number | null
319
- deleted_at?: Prisma.DateTimeNullableFilter<"Location"> | Date | string | null
320
- country_id?: Prisma.IntNullableFilter<"Location"> | number | null
321
- state_id?: Prisma.IntNullableFilter<"Location"> | number | null
322
- city_id?: Prisma.IntNullableFilter<"Location"> | number | null
323
- country?: Prisma.XOR<Prisma.CountryNullableScalarRelationFilter, Prisma.CountryWhereInput> | null
324
- state?: Prisma.XOR<Prisma.StateNullableScalarRelationFilter, Prisma.StateWhereInput> | null
325
- city?: Prisma.XOR<Prisma.CityNullableScalarRelationFilter, Prisma.CityWhereInput> | null
326
- purchase_intake_item?: Prisma.PurchaseIntakeItemListRelationFilter
327
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseListRelationFilter
328
- business_entity_locations?: Prisma.BusinessEntityLocationListRelationFilter
329
- }
330
-
331
- export type LocationOrderByWithRelationInput = {
332
- id?: Prisma.SortOrder
333
- name?: Prisma.SortOrderInput | Prisma.SortOrder
334
- address?: Prisma.SortOrderInput | Prisma.SortOrder
335
- zipcode?: Prisma.SortOrderInput | Prisma.SortOrder
336
- status?: Prisma.SortOrderInput | Prisma.SortOrder
337
- created_at?: Prisma.SortOrder
338
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
339
- updated_at?: Prisma.SortOrder
340
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
341
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
342
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
343
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
344
- country_id?: Prisma.SortOrderInput | Prisma.SortOrder
345
- state_id?: Prisma.SortOrderInput | Prisma.SortOrder
346
- city_id?: Prisma.SortOrderInput | Prisma.SortOrder
347
- country?: Prisma.CountryOrderByWithRelationInput
348
- state?: Prisma.StateOrderByWithRelationInput
349
- city?: Prisma.CityOrderByWithRelationInput
350
- purchase_intake_item?: Prisma.PurchaseIntakeItemOrderByRelationAggregateInput
351
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseOrderByRelationAggregateInput
352
- business_entity_locations?: Prisma.BusinessEntityLocationOrderByRelationAggregateInput
353
- }
354
-
355
- export type LocationWhereUniqueInput = Prisma.AtLeast<{
356
- id?: number
357
- AND?: Prisma.LocationWhereInput | Prisma.LocationWhereInput[]
358
- OR?: Prisma.LocationWhereInput[]
359
- NOT?: Prisma.LocationWhereInput | Prisma.LocationWhereInput[]
360
- name?: Prisma.StringNullableFilter<"Location"> | string | null
361
- address?: Prisma.StringNullableFilter<"Location"> | string | null
362
- zipcode?: Prisma.StringNullableFilter<"Location"> | string | null
363
- status?: Prisma.BoolNullableFilter<"Location"> | boolean | null
364
- created_at?: Prisma.DateTimeFilter<"Location"> | Date | string
365
- created_by?: Prisma.IntNullableFilter<"Location"> | number | null
366
- updated_at?: Prisma.DateTimeFilter<"Location"> | Date | string
367
- updated_by?: Prisma.IntNullableFilter<"Location"> | number | null
368
- is_deleted?: Prisma.BoolNullableFilter<"Location"> | boolean | null
369
- deleted_by?: Prisma.IntNullableFilter<"Location"> | number | null
370
- deleted_at?: Prisma.DateTimeNullableFilter<"Location"> | Date | string | null
371
- country_id?: Prisma.IntNullableFilter<"Location"> | number | null
372
- state_id?: Prisma.IntNullableFilter<"Location"> | number | null
373
- city_id?: Prisma.IntNullableFilter<"Location"> | number | null
374
- country?: Prisma.XOR<Prisma.CountryNullableScalarRelationFilter, Prisma.CountryWhereInput> | null
375
- state?: Prisma.XOR<Prisma.StateNullableScalarRelationFilter, Prisma.StateWhereInput> | null
376
- city?: Prisma.XOR<Prisma.CityNullableScalarRelationFilter, Prisma.CityWhereInput> | null
377
- purchase_intake_item?: Prisma.PurchaseIntakeItemListRelationFilter
378
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseListRelationFilter
379
- business_entity_locations?: Prisma.BusinessEntityLocationListRelationFilter
380
- }, "id">
381
-
382
- export type LocationOrderByWithAggregationInput = {
383
- id?: Prisma.SortOrder
384
- name?: Prisma.SortOrderInput | Prisma.SortOrder
385
- address?: Prisma.SortOrderInput | Prisma.SortOrder
386
- zipcode?: Prisma.SortOrderInput | Prisma.SortOrder
387
- status?: Prisma.SortOrderInput | Prisma.SortOrder
388
- created_at?: Prisma.SortOrder
389
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
390
- updated_at?: Prisma.SortOrder
391
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
392
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
393
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
394
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
395
- country_id?: Prisma.SortOrderInput | Prisma.SortOrder
396
- state_id?: Prisma.SortOrderInput | Prisma.SortOrder
397
- city_id?: Prisma.SortOrderInput | Prisma.SortOrder
398
- _count?: Prisma.LocationCountOrderByAggregateInput
399
- _avg?: Prisma.LocationAvgOrderByAggregateInput
400
- _max?: Prisma.LocationMaxOrderByAggregateInput
401
- _min?: Prisma.LocationMinOrderByAggregateInput
402
- _sum?: Prisma.LocationSumOrderByAggregateInput
403
- }
404
-
405
- export type LocationScalarWhereWithAggregatesInput = {
406
- AND?: Prisma.LocationScalarWhereWithAggregatesInput | Prisma.LocationScalarWhereWithAggregatesInput[]
407
- OR?: Prisma.LocationScalarWhereWithAggregatesInput[]
408
- NOT?: Prisma.LocationScalarWhereWithAggregatesInput | Prisma.LocationScalarWhereWithAggregatesInput[]
409
- id?: Prisma.IntWithAggregatesFilter<"Location"> | number
410
- name?: Prisma.StringNullableWithAggregatesFilter<"Location"> | string | null
411
- address?: Prisma.StringNullableWithAggregatesFilter<"Location"> | string | null
412
- zipcode?: Prisma.StringNullableWithAggregatesFilter<"Location"> | string | null
413
- status?: Prisma.BoolNullableWithAggregatesFilter<"Location"> | boolean | null
414
- created_at?: Prisma.DateTimeWithAggregatesFilter<"Location"> | Date | string
415
- created_by?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
416
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"Location"> | Date | string
417
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
418
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"Location"> | boolean | null
419
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
420
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Location"> | Date | string | null
421
- country_id?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
422
- state_id?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
423
- city_id?: Prisma.IntNullableWithAggregatesFilter<"Location"> | number | null
424
- }
425
-
426
- export type LocationCreateInput = {
427
- name?: string | null
428
- address?: string | null
429
- zipcode?: string | null
430
- status?: boolean | null
431
- created_at?: Date | string
432
- created_by?: number | null
433
- updated_at?: Date | string
434
- updated_by?: number | null
435
- is_deleted?: boolean | null
436
- deleted_by?: number | null
437
- deleted_at?: Date | string | null
438
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
439
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
440
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
441
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
442
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
443
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
444
- }
445
-
446
- export type LocationUncheckedCreateInput = {
447
- id?: number
448
- name?: string | null
449
- address?: string | null
450
- zipcode?: string | null
451
- status?: boolean | null
452
- created_at?: Date | string
453
- created_by?: number | null
454
- updated_at?: Date | string
455
- updated_by?: number | null
456
- is_deleted?: boolean | null
457
- deleted_by?: number | null
458
- deleted_at?: Date | string | null
459
- country_id?: number | null
460
- state_id?: number | null
461
- city_id?: number | null
462
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
463
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
464
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
465
- }
466
-
467
- export type LocationUpdateInput = {
468
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
469
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
470
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
471
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
472
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
473
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
474
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
475
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
476
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
477
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
478
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
479
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
480
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
481
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
482
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
483
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
484
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
485
- }
486
-
487
- export type LocationUncheckedUpdateInput = {
488
- id?: Prisma.IntFieldUpdateOperationsInput | number
489
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
490
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
491
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
492
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
493
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
494
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
495
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
496
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
497
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
498
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
499
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
500
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
501
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
502
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
503
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
504
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
505
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
506
- }
507
-
508
- export type LocationCreateManyInput = {
509
- id?: number
510
- name?: string | null
511
- address?: string | null
512
- zipcode?: string | null
513
- status?: boolean | null
514
- created_at?: Date | string
515
- created_by?: number | null
516
- updated_at?: Date | string
517
- updated_by?: number | null
518
- is_deleted?: boolean | null
519
- deleted_by?: number | null
520
- deleted_at?: Date | string | null
521
- country_id?: number | null
522
- state_id?: number | null
523
- city_id?: number | null
524
- }
525
-
526
- export type LocationUpdateManyMutationInput = {
527
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
528
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
529
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
530
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
531
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
532
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
533
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
534
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
535
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
536
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
537
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
538
- }
539
-
540
- export type LocationUncheckedUpdateManyInput = {
541
- id?: Prisma.IntFieldUpdateOperationsInput | number
542
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
543
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
544
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
545
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
546
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
547
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
548
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
549
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
550
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
551
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
552
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
553
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
554
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
555
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
556
- }
557
-
558
- export type LocationNullableScalarRelationFilter = {
559
- is?: Prisma.LocationWhereInput | null
560
- isNot?: Prisma.LocationWhereInput | null
561
- }
562
-
563
- export type LocationListRelationFilter = {
564
- every?: Prisma.LocationWhereInput
565
- some?: Prisma.LocationWhereInput
566
- none?: Prisma.LocationWhereInput
567
- }
568
-
569
- export type LocationOrderByRelationAggregateInput = {
570
- _count?: Prisma.SortOrder
571
- }
572
-
573
- export type LocationCountOrderByAggregateInput = {
574
- id?: Prisma.SortOrder
575
- name?: Prisma.SortOrder
576
- address?: Prisma.SortOrder
577
- zipcode?: Prisma.SortOrder
578
- status?: Prisma.SortOrder
579
- created_at?: Prisma.SortOrder
580
- created_by?: Prisma.SortOrder
581
- updated_at?: Prisma.SortOrder
582
- updated_by?: Prisma.SortOrder
583
- is_deleted?: Prisma.SortOrder
584
- deleted_by?: Prisma.SortOrder
585
- deleted_at?: Prisma.SortOrder
586
- country_id?: Prisma.SortOrder
587
- state_id?: Prisma.SortOrder
588
- city_id?: Prisma.SortOrder
589
- }
590
-
591
- export type LocationAvgOrderByAggregateInput = {
592
- id?: Prisma.SortOrder
593
- created_by?: Prisma.SortOrder
594
- updated_by?: Prisma.SortOrder
595
- deleted_by?: Prisma.SortOrder
596
- country_id?: Prisma.SortOrder
597
- state_id?: Prisma.SortOrder
598
- city_id?: Prisma.SortOrder
599
- }
600
-
601
- export type LocationMaxOrderByAggregateInput = {
602
- id?: Prisma.SortOrder
603
- name?: Prisma.SortOrder
604
- address?: Prisma.SortOrder
605
- zipcode?: Prisma.SortOrder
606
- status?: Prisma.SortOrder
607
- created_at?: Prisma.SortOrder
608
- created_by?: Prisma.SortOrder
609
- updated_at?: Prisma.SortOrder
610
- updated_by?: Prisma.SortOrder
611
- is_deleted?: Prisma.SortOrder
612
- deleted_by?: Prisma.SortOrder
613
- deleted_at?: Prisma.SortOrder
614
- country_id?: Prisma.SortOrder
615
- state_id?: Prisma.SortOrder
616
- city_id?: Prisma.SortOrder
617
- }
618
-
619
- export type LocationMinOrderByAggregateInput = {
620
- id?: Prisma.SortOrder
621
- name?: Prisma.SortOrder
622
- address?: Prisma.SortOrder
623
- zipcode?: Prisma.SortOrder
624
- status?: Prisma.SortOrder
625
- created_at?: Prisma.SortOrder
626
- created_by?: Prisma.SortOrder
627
- updated_at?: Prisma.SortOrder
628
- updated_by?: Prisma.SortOrder
629
- is_deleted?: Prisma.SortOrder
630
- deleted_by?: Prisma.SortOrder
631
- deleted_at?: Prisma.SortOrder
632
- country_id?: Prisma.SortOrder
633
- state_id?: Prisma.SortOrder
634
- city_id?: Prisma.SortOrder
635
- }
636
-
637
- export type LocationSumOrderByAggregateInput = {
638
- id?: Prisma.SortOrder
639
- created_by?: Prisma.SortOrder
640
- updated_by?: Prisma.SortOrder
641
- deleted_by?: Prisma.SortOrder
642
- country_id?: Prisma.SortOrder
643
- state_id?: Prisma.SortOrder
644
- city_id?: Prisma.SortOrder
645
- }
646
-
647
- export type LocationScalarRelationFilter = {
648
- is?: Prisma.LocationWhereInput
649
- isNot?: Prisma.LocationWhereInput
650
- }
651
-
652
- export type LocationCreateNestedOneWithoutPurchase_intake_itemInput = {
653
- create?: Prisma.XOR<Prisma.LocationCreateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedCreateWithoutPurchase_intake_itemInput>
654
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutPurchase_intake_itemInput
655
- connect?: Prisma.LocationWhereUniqueInput
656
- }
657
-
658
- export type LocationUpdateOneWithoutPurchase_intake_itemNestedInput = {
659
- create?: Prisma.XOR<Prisma.LocationCreateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedCreateWithoutPurchase_intake_itemInput>
660
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutPurchase_intake_itemInput
661
- upsert?: Prisma.LocationUpsertWithoutPurchase_intake_itemInput
662
- disconnect?: Prisma.LocationWhereInput | boolean
663
- delete?: Prisma.LocationWhereInput | boolean
664
- connect?: Prisma.LocationWhereUniqueInput
665
- update?: Prisma.XOR<Prisma.XOR<Prisma.LocationUpdateToOneWithWhereWithoutPurchase_intake_itemInput, Prisma.LocationUpdateWithoutPurchase_intake_itemInput>, Prisma.LocationUncheckedUpdateWithoutPurchase_intake_itemInput>
666
- }
667
-
668
- export type LocationCreateNestedManyWithoutCountryInput = {
669
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput> | Prisma.LocationCreateWithoutCountryInput[] | Prisma.LocationUncheckedCreateWithoutCountryInput[]
670
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCountryInput | Prisma.LocationCreateOrConnectWithoutCountryInput[]
671
- createMany?: Prisma.LocationCreateManyCountryInputEnvelope
672
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
673
- }
674
-
675
- export type LocationUncheckedCreateNestedManyWithoutCountryInput = {
676
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput> | Prisma.LocationCreateWithoutCountryInput[] | Prisma.LocationUncheckedCreateWithoutCountryInput[]
677
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCountryInput | Prisma.LocationCreateOrConnectWithoutCountryInput[]
678
- createMany?: Prisma.LocationCreateManyCountryInputEnvelope
679
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
680
- }
681
-
682
- export type LocationUpdateManyWithoutCountryNestedInput = {
683
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput> | Prisma.LocationCreateWithoutCountryInput[] | Prisma.LocationUncheckedCreateWithoutCountryInput[]
684
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCountryInput | Prisma.LocationCreateOrConnectWithoutCountryInput[]
685
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutCountryInput | Prisma.LocationUpsertWithWhereUniqueWithoutCountryInput[]
686
- createMany?: Prisma.LocationCreateManyCountryInputEnvelope
687
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
688
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
689
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
690
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
691
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutCountryInput | Prisma.LocationUpdateWithWhereUniqueWithoutCountryInput[]
692
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutCountryInput | Prisma.LocationUpdateManyWithWhereWithoutCountryInput[]
693
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
694
- }
695
-
696
- export type LocationUncheckedUpdateManyWithoutCountryNestedInput = {
697
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput> | Prisma.LocationCreateWithoutCountryInput[] | Prisma.LocationUncheckedCreateWithoutCountryInput[]
698
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCountryInput | Prisma.LocationCreateOrConnectWithoutCountryInput[]
699
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutCountryInput | Prisma.LocationUpsertWithWhereUniqueWithoutCountryInput[]
700
- createMany?: Prisma.LocationCreateManyCountryInputEnvelope
701
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
702
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
703
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
704
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
705
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutCountryInput | Prisma.LocationUpdateWithWhereUniqueWithoutCountryInput[]
706
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutCountryInput | Prisma.LocationUpdateManyWithWhereWithoutCountryInput[]
707
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
708
- }
709
-
710
- export type LocationCreateNestedManyWithoutStateInput = {
711
- create?: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput> | Prisma.LocationCreateWithoutStateInput[] | Prisma.LocationUncheckedCreateWithoutStateInput[]
712
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutStateInput | Prisma.LocationCreateOrConnectWithoutStateInput[]
713
- createMany?: Prisma.LocationCreateManyStateInputEnvelope
714
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
715
- }
716
-
717
- export type LocationUncheckedCreateNestedManyWithoutStateInput = {
718
- create?: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput> | Prisma.LocationCreateWithoutStateInput[] | Prisma.LocationUncheckedCreateWithoutStateInput[]
719
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutStateInput | Prisma.LocationCreateOrConnectWithoutStateInput[]
720
- createMany?: Prisma.LocationCreateManyStateInputEnvelope
721
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
722
- }
723
-
724
- export type LocationUpdateManyWithoutStateNestedInput = {
725
- create?: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput> | Prisma.LocationCreateWithoutStateInput[] | Prisma.LocationUncheckedCreateWithoutStateInput[]
726
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutStateInput | Prisma.LocationCreateOrConnectWithoutStateInput[]
727
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutStateInput | Prisma.LocationUpsertWithWhereUniqueWithoutStateInput[]
728
- createMany?: Prisma.LocationCreateManyStateInputEnvelope
729
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
730
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
731
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
732
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
733
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutStateInput | Prisma.LocationUpdateWithWhereUniqueWithoutStateInput[]
734
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutStateInput | Prisma.LocationUpdateManyWithWhereWithoutStateInput[]
735
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
736
- }
737
-
738
- export type LocationUncheckedUpdateManyWithoutStateNestedInput = {
739
- create?: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput> | Prisma.LocationCreateWithoutStateInput[] | Prisma.LocationUncheckedCreateWithoutStateInput[]
740
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutStateInput | Prisma.LocationCreateOrConnectWithoutStateInput[]
741
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutStateInput | Prisma.LocationUpsertWithWhereUniqueWithoutStateInput[]
742
- createMany?: Prisma.LocationCreateManyStateInputEnvelope
743
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
744
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
745
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
746
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
747
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutStateInput | Prisma.LocationUpdateWithWhereUniqueWithoutStateInput[]
748
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutStateInput | Prisma.LocationUpdateManyWithWhereWithoutStateInput[]
749
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
750
- }
751
-
752
- export type LocationCreateNestedManyWithoutCityInput = {
753
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput> | Prisma.LocationCreateWithoutCityInput[] | Prisma.LocationUncheckedCreateWithoutCityInput[]
754
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCityInput | Prisma.LocationCreateOrConnectWithoutCityInput[]
755
- createMany?: Prisma.LocationCreateManyCityInputEnvelope
756
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
757
- }
758
-
759
- export type LocationUncheckedCreateNestedManyWithoutCityInput = {
760
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput> | Prisma.LocationCreateWithoutCityInput[] | Prisma.LocationUncheckedCreateWithoutCityInput[]
761
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCityInput | Prisma.LocationCreateOrConnectWithoutCityInput[]
762
- createMany?: Prisma.LocationCreateManyCityInputEnvelope
763
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
764
- }
765
-
766
- export type LocationUpdateManyWithoutCityNestedInput = {
767
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput> | Prisma.LocationCreateWithoutCityInput[] | Prisma.LocationUncheckedCreateWithoutCityInput[]
768
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCityInput | Prisma.LocationCreateOrConnectWithoutCityInput[]
769
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutCityInput | Prisma.LocationUpsertWithWhereUniqueWithoutCityInput[]
770
- createMany?: Prisma.LocationCreateManyCityInputEnvelope
771
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
772
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
773
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
774
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
775
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutCityInput | Prisma.LocationUpdateWithWhereUniqueWithoutCityInput[]
776
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutCityInput | Prisma.LocationUpdateManyWithWhereWithoutCityInput[]
777
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
778
- }
779
-
780
- export type LocationUncheckedUpdateManyWithoutCityNestedInput = {
781
- create?: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput> | Prisma.LocationCreateWithoutCityInput[] | Prisma.LocationUncheckedCreateWithoutCityInput[]
782
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutCityInput | Prisma.LocationCreateOrConnectWithoutCityInput[]
783
- upsert?: Prisma.LocationUpsertWithWhereUniqueWithoutCityInput | Prisma.LocationUpsertWithWhereUniqueWithoutCityInput[]
784
- createMany?: Prisma.LocationCreateManyCityInputEnvelope
785
- set?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
786
- disconnect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
787
- delete?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
788
- connect?: Prisma.LocationWhereUniqueInput | Prisma.LocationWhereUniqueInput[]
789
- update?: Prisma.LocationUpdateWithWhereUniqueWithoutCityInput | Prisma.LocationUpdateWithWhereUniqueWithoutCityInput[]
790
- updateMany?: Prisma.LocationUpdateManyWithWhereWithoutCityInput | Prisma.LocationUpdateManyWithWhereWithoutCityInput[]
791
- deleteMany?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
792
- }
793
-
794
- export type LocationCreateNestedOneWithoutBlanket_po_releaseInput = {
795
- create?: Prisma.XOR<Prisma.LocationCreateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedCreateWithoutBlanket_po_releaseInput>
796
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutBlanket_po_releaseInput
797
- connect?: Prisma.LocationWhereUniqueInput
798
- }
799
-
800
- export type LocationUpdateOneWithoutBlanket_po_releaseNestedInput = {
801
- create?: Prisma.XOR<Prisma.LocationCreateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedCreateWithoutBlanket_po_releaseInput>
802
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutBlanket_po_releaseInput
803
- upsert?: Prisma.LocationUpsertWithoutBlanket_po_releaseInput
804
- disconnect?: Prisma.LocationWhereInput | boolean
805
- delete?: Prisma.LocationWhereInput | boolean
806
- connect?: Prisma.LocationWhereUniqueInput
807
- update?: Prisma.XOR<Prisma.XOR<Prisma.LocationUpdateToOneWithWhereWithoutBlanket_po_releaseInput, Prisma.LocationUpdateWithoutBlanket_po_releaseInput>, Prisma.LocationUncheckedUpdateWithoutBlanket_po_releaseInput>
808
- }
809
-
810
- export type LocationCreateNestedOneWithoutBusiness_entity_locationsInput = {
811
- create?: Prisma.XOR<Prisma.LocationCreateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedCreateWithoutBusiness_entity_locationsInput>
812
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutBusiness_entity_locationsInput
813
- connect?: Prisma.LocationWhereUniqueInput
814
- }
815
-
816
- export type LocationUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput = {
817
- create?: Prisma.XOR<Prisma.LocationCreateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedCreateWithoutBusiness_entity_locationsInput>
818
- connectOrCreate?: Prisma.LocationCreateOrConnectWithoutBusiness_entity_locationsInput
819
- upsert?: Prisma.LocationUpsertWithoutBusiness_entity_locationsInput
820
- connect?: Prisma.LocationWhereUniqueInput
821
- update?: Prisma.XOR<Prisma.XOR<Prisma.LocationUpdateToOneWithWhereWithoutBusiness_entity_locationsInput, Prisma.LocationUpdateWithoutBusiness_entity_locationsInput>, Prisma.LocationUncheckedUpdateWithoutBusiness_entity_locationsInput>
822
- }
823
-
824
- export type LocationCreateWithoutPurchase_intake_itemInput = {
825
- name?: string | null
826
- address?: string | null
827
- zipcode?: string | null
828
- status?: boolean | null
829
- created_at?: Date | string
830
- created_by?: number | null
831
- updated_at?: Date | string
832
- updated_by?: number | null
833
- is_deleted?: boolean | null
834
- deleted_by?: number | null
835
- deleted_at?: Date | string | null
836
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
837
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
838
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
839
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
840
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
841
- }
842
-
843
- export type LocationUncheckedCreateWithoutPurchase_intake_itemInput = {
844
- id?: number
845
- name?: string | null
846
- address?: string | null
847
- zipcode?: string | null
848
- status?: boolean | null
849
- created_at?: Date | string
850
- created_by?: number | null
851
- updated_at?: Date | string
852
- updated_by?: number | null
853
- is_deleted?: boolean | null
854
- deleted_by?: number | null
855
- deleted_at?: Date | string | null
856
- country_id?: number | null
857
- state_id?: number | null
858
- city_id?: number | null
859
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
860
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
861
- }
862
-
863
- export type LocationCreateOrConnectWithoutPurchase_intake_itemInput = {
864
- where: Prisma.LocationWhereUniqueInput
865
- create: Prisma.XOR<Prisma.LocationCreateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedCreateWithoutPurchase_intake_itemInput>
866
- }
867
-
868
- export type LocationUpsertWithoutPurchase_intake_itemInput = {
869
- update: Prisma.XOR<Prisma.LocationUpdateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedUpdateWithoutPurchase_intake_itemInput>
870
- create: Prisma.XOR<Prisma.LocationCreateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedCreateWithoutPurchase_intake_itemInput>
871
- where?: Prisma.LocationWhereInput
872
- }
873
-
874
- export type LocationUpdateToOneWithWhereWithoutPurchase_intake_itemInput = {
875
- where?: Prisma.LocationWhereInput
876
- data: Prisma.XOR<Prisma.LocationUpdateWithoutPurchase_intake_itemInput, Prisma.LocationUncheckedUpdateWithoutPurchase_intake_itemInput>
877
- }
878
-
879
- export type LocationUpdateWithoutPurchase_intake_itemInput = {
880
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
881
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
882
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
883
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
884
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
885
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
886
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
887
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
888
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
889
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
890
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
891
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
892
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
893
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
894
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
895
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
896
- }
897
-
898
- export type LocationUncheckedUpdateWithoutPurchase_intake_itemInput = {
899
- id?: Prisma.IntFieldUpdateOperationsInput | number
900
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
901
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
902
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
903
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
904
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
905
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
906
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
907
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
908
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
909
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
910
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
911
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
912
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
913
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
914
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
915
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
916
- }
917
-
918
- export type LocationCreateWithoutCountryInput = {
919
- name?: string | null
920
- address?: string | null
921
- zipcode?: string | null
922
- status?: boolean | null
923
- created_at?: Date | string
924
- created_by?: number | null
925
- updated_at?: Date | string
926
- updated_by?: number | null
927
- is_deleted?: boolean | null
928
- deleted_by?: number | null
929
- deleted_at?: Date | string | null
930
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
931
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
932
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
933
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
934
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
935
- }
936
-
937
- export type LocationUncheckedCreateWithoutCountryInput = {
938
- id?: number
939
- name?: string | null
940
- address?: string | null
941
- zipcode?: string | null
942
- status?: boolean | null
943
- created_at?: Date | string
944
- created_by?: number | null
945
- updated_at?: Date | string
946
- updated_by?: number | null
947
- is_deleted?: boolean | null
948
- deleted_by?: number | null
949
- deleted_at?: Date | string | null
950
- state_id?: number | null
951
- city_id?: number | null
952
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
953
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
954
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
955
- }
956
-
957
- export type LocationCreateOrConnectWithoutCountryInput = {
958
- where: Prisma.LocationWhereUniqueInput
959
- create: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput>
960
- }
961
-
962
- export type LocationCreateManyCountryInputEnvelope = {
963
- data: Prisma.LocationCreateManyCountryInput | Prisma.LocationCreateManyCountryInput[]
964
- skipDuplicates?: boolean
965
- }
966
-
967
- export type LocationUpsertWithWhereUniqueWithoutCountryInput = {
968
- where: Prisma.LocationWhereUniqueInput
969
- update: Prisma.XOR<Prisma.LocationUpdateWithoutCountryInput, Prisma.LocationUncheckedUpdateWithoutCountryInput>
970
- create: Prisma.XOR<Prisma.LocationCreateWithoutCountryInput, Prisma.LocationUncheckedCreateWithoutCountryInput>
971
- }
972
-
973
- export type LocationUpdateWithWhereUniqueWithoutCountryInput = {
974
- where: Prisma.LocationWhereUniqueInput
975
- data: Prisma.XOR<Prisma.LocationUpdateWithoutCountryInput, Prisma.LocationUncheckedUpdateWithoutCountryInput>
976
- }
977
-
978
- export type LocationUpdateManyWithWhereWithoutCountryInput = {
979
- where: Prisma.LocationScalarWhereInput
980
- data: Prisma.XOR<Prisma.LocationUpdateManyMutationInput, Prisma.LocationUncheckedUpdateManyWithoutCountryInput>
981
- }
982
-
983
- export type LocationScalarWhereInput = {
984
- AND?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
985
- OR?: Prisma.LocationScalarWhereInput[]
986
- NOT?: Prisma.LocationScalarWhereInput | Prisma.LocationScalarWhereInput[]
987
- id?: Prisma.IntFilter<"Location"> | number
988
- name?: Prisma.StringNullableFilter<"Location"> | string | null
989
- address?: Prisma.StringNullableFilter<"Location"> | string | null
990
- zipcode?: Prisma.StringNullableFilter<"Location"> | string | null
991
- status?: Prisma.BoolNullableFilter<"Location"> | boolean | null
992
- created_at?: Prisma.DateTimeFilter<"Location"> | Date | string
993
- created_by?: Prisma.IntNullableFilter<"Location"> | number | null
994
- updated_at?: Prisma.DateTimeFilter<"Location"> | Date | string
995
- updated_by?: Prisma.IntNullableFilter<"Location"> | number | null
996
- is_deleted?: Prisma.BoolNullableFilter<"Location"> | boolean | null
997
- deleted_by?: Prisma.IntNullableFilter<"Location"> | number | null
998
- deleted_at?: Prisma.DateTimeNullableFilter<"Location"> | Date | string | null
999
- country_id?: Prisma.IntNullableFilter<"Location"> | number | null
1000
- state_id?: Prisma.IntNullableFilter<"Location"> | number | null
1001
- city_id?: Prisma.IntNullableFilter<"Location"> | number | null
1002
- }
1003
-
1004
- export type LocationCreateWithoutStateInput = {
1005
- name?: string | null
1006
- address?: string | null
1007
- zipcode?: string | null
1008
- status?: boolean | null
1009
- created_at?: Date | string
1010
- created_by?: number | null
1011
- updated_at?: Date | string
1012
- updated_by?: number | null
1013
- is_deleted?: boolean | null
1014
- deleted_by?: number | null
1015
- deleted_at?: Date | string | null
1016
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
1017
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
1018
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
1019
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
1020
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
1021
- }
1022
-
1023
- export type LocationUncheckedCreateWithoutStateInput = {
1024
- id?: number
1025
- name?: string | null
1026
- address?: string | null
1027
- zipcode?: string | null
1028
- status?: boolean | null
1029
- created_at?: Date | string
1030
- created_by?: number | null
1031
- updated_at?: Date | string
1032
- updated_by?: number | null
1033
- is_deleted?: boolean | null
1034
- deleted_by?: number | null
1035
- deleted_at?: Date | string | null
1036
- country_id?: number | null
1037
- city_id?: number | null
1038
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
1039
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
1040
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
1041
- }
1042
-
1043
- export type LocationCreateOrConnectWithoutStateInput = {
1044
- where: Prisma.LocationWhereUniqueInput
1045
- create: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput>
1046
- }
1047
-
1048
- export type LocationCreateManyStateInputEnvelope = {
1049
- data: Prisma.LocationCreateManyStateInput | Prisma.LocationCreateManyStateInput[]
1050
- skipDuplicates?: boolean
1051
- }
1052
-
1053
- export type LocationUpsertWithWhereUniqueWithoutStateInput = {
1054
- where: Prisma.LocationWhereUniqueInput
1055
- update: Prisma.XOR<Prisma.LocationUpdateWithoutStateInput, Prisma.LocationUncheckedUpdateWithoutStateInput>
1056
- create: Prisma.XOR<Prisma.LocationCreateWithoutStateInput, Prisma.LocationUncheckedCreateWithoutStateInput>
1057
- }
1058
-
1059
- export type LocationUpdateWithWhereUniqueWithoutStateInput = {
1060
- where: Prisma.LocationWhereUniqueInput
1061
- data: Prisma.XOR<Prisma.LocationUpdateWithoutStateInput, Prisma.LocationUncheckedUpdateWithoutStateInput>
1062
- }
1063
-
1064
- export type LocationUpdateManyWithWhereWithoutStateInput = {
1065
- where: Prisma.LocationScalarWhereInput
1066
- data: Prisma.XOR<Prisma.LocationUpdateManyMutationInput, Prisma.LocationUncheckedUpdateManyWithoutStateInput>
1067
- }
1068
-
1069
- export type LocationCreateWithoutCityInput = {
1070
- name?: string | null
1071
- address?: string | null
1072
- zipcode?: string | null
1073
- status?: boolean | null
1074
- created_at?: Date | string
1075
- created_by?: number | null
1076
- updated_at?: Date | string
1077
- updated_by?: number | null
1078
- is_deleted?: boolean | null
1079
- deleted_by?: number | null
1080
- deleted_at?: Date | string | null
1081
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
1082
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
1083
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
1084
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
1085
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
1086
- }
1087
-
1088
- export type LocationUncheckedCreateWithoutCityInput = {
1089
- id?: number
1090
- name?: string | null
1091
- address?: string | null
1092
- zipcode?: string | null
1093
- status?: boolean | null
1094
- created_at?: Date | string
1095
- created_by?: number | null
1096
- updated_at?: Date | string
1097
- updated_by?: number | null
1098
- is_deleted?: boolean | null
1099
- deleted_by?: number | null
1100
- deleted_at?: Date | string | null
1101
- country_id?: number | null
1102
- state_id?: number | null
1103
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
1104
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
1105
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
1106
- }
1107
-
1108
- export type LocationCreateOrConnectWithoutCityInput = {
1109
- where: Prisma.LocationWhereUniqueInput
1110
- create: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput>
1111
- }
1112
-
1113
- export type LocationCreateManyCityInputEnvelope = {
1114
- data: Prisma.LocationCreateManyCityInput | Prisma.LocationCreateManyCityInput[]
1115
- skipDuplicates?: boolean
1116
- }
1117
-
1118
- export type LocationUpsertWithWhereUniqueWithoutCityInput = {
1119
- where: Prisma.LocationWhereUniqueInput
1120
- update: Prisma.XOR<Prisma.LocationUpdateWithoutCityInput, Prisma.LocationUncheckedUpdateWithoutCityInput>
1121
- create: Prisma.XOR<Prisma.LocationCreateWithoutCityInput, Prisma.LocationUncheckedCreateWithoutCityInput>
1122
- }
1123
-
1124
- export type LocationUpdateWithWhereUniqueWithoutCityInput = {
1125
- where: Prisma.LocationWhereUniqueInput
1126
- data: Prisma.XOR<Prisma.LocationUpdateWithoutCityInput, Prisma.LocationUncheckedUpdateWithoutCityInput>
1127
- }
1128
-
1129
- export type LocationUpdateManyWithWhereWithoutCityInput = {
1130
- where: Prisma.LocationScalarWhereInput
1131
- data: Prisma.XOR<Prisma.LocationUpdateManyMutationInput, Prisma.LocationUncheckedUpdateManyWithoutCityInput>
1132
- }
1133
-
1134
- export type LocationCreateWithoutBlanket_po_releaseInput = {
1135
- name?: string | null
1136
- address?: string | null
1137
- zipcode?: string | null
1138
- status?: boolean | null
1139
- created_at?: Date | string
1140
- created_by?: number | null
1141
- updated_at?: Date | string
1142
- updated_by?: number | null
1143
- is_deleted?: boolean | null
1144
- deleted_by?: number | null
1145
- deleted_at?: Date | string | null
1146
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
1147
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
1148
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
1149
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
1150
- business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutLocationInput
1151
- }
1152
-
1153
- export type LocationUncheckedCreateWithoutBlanket_po_releaseInput = {
1154
- id?: number
1155
- name?: string | null
1156
- address?: string | null
1157
- zipcode?: string | null
1158
- status?: boolean | null
1159
- created_at?: Date | string
1160
- created_by?: number | null
1161
- updated_at?: Date | string
1162
- updated_by?: number | null
1163
- is_deleted?: boolean | null
1164
- deleted_by?: number | null
1165
- deleted_at?: Date | string | null
1166
- country_id?: number | null
1167
- state_id?: number | null
1168
- city_id?: number | null
1169
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
1170
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutLocationInput
1171
- }
1172
-
1173
- export type LocationCreateOrConnectWithoutBlanket_po_releaseInput = {
1174
- where: Prisma.LocationWhereUniqueInput
1175
- create: Prisma.XOR<Prisma.LocationCreateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedCreateWithoutBlanket_po_releaseInput>
1176
- }
1177
-
1178
- export type LocationUpsertWithoutBlanket_po_releaseInput = {
1179
- update: Prisma.XOR<Prisma.LocationUpdateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedUpdateWithoutBlanket_po_releaseInput>
1180
- create: Prisma.XOR<Prisma.LocationCreateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedCreateWithoutBlanket_po_releaseInput>
1181
- where?: Prisma.LocationWhereInput
1182
- }
1183
-
1184
- export type LocationUpdateToOneWithWhereWithoutBlanket_po_releaseInput = {
1185
- where?: Prisma.LocationWhereInput
1186
- data: Prisma.XOR<Prisma.LocationUpdateWithoutBlanket_po_releaseInput, Prisma.LocationUncheckedUpdateWithoutBlanket_po_releaseInput>
1187
- }
1188
-
1189
- export type LocationUpdateWithoutBlanket_po_releaseInput = {
1190
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1191
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1192
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1193
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1194
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1195
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1196
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1197
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1198
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1199
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1200
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1201
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
1202
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
1203
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
1204
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
1205
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
1206
- }
1207
-
1208
- export type LocationUncheckedUpdateWithoutBlanket_po_releaseInput = {
1209
- id?: Prisma.IntFieldUpdateOperationsInput | number
1210
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1211
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1212
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1213
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1214
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1215
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1216
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1217
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1218
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1219
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1220
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1221
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1222
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1223
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1224
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
1225
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
1226
- }
1227
-
1228
- export type LocationCreateWithoutBusiness_entity_locationsInput = {
1229
- name?: string | null
1230
- address?: string | null
1231
- zipcode?: string | null
1232
- status?: boolean | null
1233
- created_at?: Date | string
1234
- created_by?: number | null
1235
- updated_at?: Date | string
1236
- updated_by?: number | null
1237
- is_deleted?: boolean | null
1238
- deleted_by?: number | null
1239
- deleted_at?: Date | string | null
1240
- country?: Prisma.CountryCreateNestedOneWithoutLocationsInput
1241
- state?: Prisma.StateCreateNestedOneWithoutLocationsInput
1242
- city?: Prisma.CityCreateNestedOneWithoutLocationsInput
1243
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutLocationInput
1244
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseCreateNestedManyWithoutDelivery_locationInput
1245
- }
1246
-
1247
- export type LocationUncheckedCreateWithoutBusiness_entity_locationsInput = {
1248
- id?: number
1249
- name?: string | null
1250
- address?: string | null
1251
- zipcode?: string | null
1252
- status?: boolean | null
1253
- created_at?: Date | string
1254
- created_by?: number | null
1255
- updated_at?: Date | string
1256
- updated_by?: number | null
1257
- is_deleted?: boolean | null
1258
- deleted_by?: number | null
1259
- deleted_at?: Date | string | null
1260
- country_id?: number | null
1261
- state_id?: number | null
1262
- city_id?: number | null
1263
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput
1264
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedCreateNestedManyWithoutDelivery_locationInput
1265
- }
1266
-
1267
- export type LocationCreateOrConnectWithoutBusiness_entity_locationsInput = {
1268
- where: Prisma.LocationWhereUniqueInput
1269
- create: Prisma.XOR<Prisma.LocationCreateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedCreateWithoutBusiness_entity_locationsInput>
1270
- }
1271
-
1272
- export type LocationUpsertWithoutBusiness_entity_locationsInput = {
1273
- update: Prisma.XOR<Prisma.LocationUpdateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedUpdateWithoutBusiness_entity_locationsInput>
1274
- create: Prisma.XOR<Prisma.LocationCreateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedCreateWithoutBusiness_entity_locationsInput>
1275
- where?: Prisma.LocationWhereInput
1276
- }
1277
-
1278
- export type LocationUpdateToOneWithWhereWithoutBusiness_entity_locationsInput = {
1279
- where?: Prisma.LocationWhereInput
1280
- data: Prisma.XOR<Prisma.LocationUpdateWithoutBusiness_entity_locationsInput, Prisma.LocationUncheckedUpdateWithoutBusiness_entity_locationsInput>
1281
- }
1282
-
1283
- export type LocationUpdateWithoutBusiness_entity_locationsInput = {
1284
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1285
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1286
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1287
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1288
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1289
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1290
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1291
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1292
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1293
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1294
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1295
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
1296
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
1297
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
1298
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
1299
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
1300
- }
1301
-
1302
- export type LocationUncheckedUpdateWithoutBusiness_entity_locationsInput = {
1303
- id?: Prisma.IntFieldUpdateOperationsInput | number
1304
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1305
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1306
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1307
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1308
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1309
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1310
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1311
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1312
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1313
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1314
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1315
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1316
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1317
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1318
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
1319
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
1320
- }
1321
-
1322
- export type LocationCreateManyCountryInput = {
1323
- id?: number
1324
- name?: string | null
1325
- address?: string | null
1326
- zipcode?: string | null
1327
- status?: boolean | null
1328
- created_at?: Date | string
1329
- created_by?: number | null
1330
- updated_at?: Date | string
1331
- updated_by?: number | null
1332
- is_deleted?: boolean | null
1333
- deleted_by?: number | null
1334
- deleted_at?: Date | string | null
1335
- state_id?: number | null
1336
- city_id?: number | null
1337
- }
1338
-
1339
- export type LocationUpdateWithoutCountryInput = {
1340
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1341
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1342
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1343
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1344
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1345
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1346
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1347
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1348
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1349
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1350
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1351
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
1352
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
1353
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
1354
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
1355
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
1356
- }
1357
-
1358
- export type LocationUncheckedUpdateWithoutCountryInput = {
1359
- id?: Prisma.IntFieldUpdateOperationsInput | number
1360
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1361
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1362
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1363
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1364
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1365
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1366
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1367
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1368
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1369
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1370
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1371
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1372
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1373
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
1374
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
1375
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
1376
- }
1377
-
1378
- export type LocationUncheckedUpdateManyWithoutCountryInput = {
1379
- id?: Prisma.IntFieldUpdateOperationsInput | number
1380
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1381
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1382
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1383
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1384
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1385
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1386
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1387
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1388
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1389
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1390
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1391
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1392
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1393
- }
1394
-
1395
- export type LocationCreateManyStateInput = {
1396
- id?: number
1397
- name?: string | null
1398
- address?: string | null
1399
- zipcode?: string | null
1400
- status?: boolean | null
1401
- created_at?: Date | string
1402
- created_by?: number | null
1403
- updated_at?: Date | string
1404
- updated_by?: number | null
1405
- is_deleted?: boolean | null
1406
- deleted_by?: number | null
1407
- deleted_at?: Date | string | null
1408
- country_id?: number | null
1409
- city_id?: number | null
1410
- }
1411
-
1412
- export type LocationUpdateWithoutStateInput = {
1413
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1414
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1415
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1416
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1417
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1418
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1419
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1420
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1421
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1422
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1423
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1424
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
1425
- city?: Prisma.CityUpdateOneWithoutLocationsNestedInput
1426
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
1427
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
1428
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
1429
- }
1430
-
1431
- export type LocationUncheckedUpdateWithoutStateInput = {
1432
- id?: Prisma.IntFieldUpdateOperationsInput | number
1433
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1434
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1435
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1436
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1437
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1438
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1439
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1440
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1441
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1442
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1443
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1444
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1445
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1446
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
1447
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
1448
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
1449
- }
1450
-
1451
- export type LocationUncheckedUpdateManyWithoutStateInput = {
1452
- id?: Prisma.IntFieldUpdateOperationsInput | number
1453
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1454
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1455
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1456
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1457
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1458
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1459
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1460
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1461
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1462
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1463
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1464
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1465
- city_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1466
- }
1467
-
1468
- export type LocationCreateManyCityInput = {
1469
- id?: number
1470
- name?: string | null
1471
- address?: string | null
1472
- zipcode?: string | null
1473
- status?: boolean | null
1474
- created_at?: Date | string
1475
- created_by?: number | null
1476
- updated_at?: Date | string
1477
- updated_by?: number | null
1478
- is_deleted?: boolean | null
1479
- deleted_by?: number | null
1480
- deleted_at?: Date | string | null
1481
- country_id?: number | null
1482
- state_id?: number | null
1483
- }
1484
-
1485
- export type LocationUpdateWithoutCityInput = {
1486
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1487
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1488
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1489
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1490
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1491
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1492
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1493
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1494
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1495
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1496
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1497
- country?: Prisma.CountryUpdateOneWithoutLocationsNestedInput
1498
- state?: Prisma.StateUpdateOneWithoutLocationsNestedInput
1499
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutLocationNestedInput
1500
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUpdateManyWithoutDelivery_locationNestedInput
1501
- business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutLocationNestedInput
1502
- }
1503
-
1504
- export type LocationUncheckedUpdateWithoutCityInput = {
1505
- id?: Prisma.IntFieldUpdateOperationsInput | number
1506
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1507
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1508
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1509
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1510
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1511
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1512
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1513
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1514
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1515
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1516
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1517
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1518
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1519
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput
1520
- blanket_po_release?: Prisma.BlanketPurchaseOrderReleaseUncheckedUpdateManyWithoutDelivery_locationNestedInput
1521
- business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutLocationNestedInput
1522
- }
1523
-
1524
- export type LocationUncheckedUpdateManyWithoutCityInput = {
1525
- id?: Prisma.IntFieldUpdateOperationsInput | number
1526
- name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1527
- address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1528
- zipcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1529
- status?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1530
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1531
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1532
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1533
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1534
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1535
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1536
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1537
- country_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1538
- state_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1539
- }
1540
-
1541
-
1542
- /**
1543
- * Count Type LocationCountOutputType
1544
- */
1545
-
1546
- export type LocationCountOutputType = {
1547
- purchase_intake_item: number
1548
- blanket_po_release: number
1549
- business_entity_locations: number
1550
- }
1551
-
1552
- export type LocationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1553
- purchase_intake_item?: boolean | LocationCountOutputTypeCountPurchase_intake_itemArgs
1554
- blanket_po_release?: boolean | LocationCountOutputTypeCountBlanket_po_releaseArgs
1555
- business_entity_locations?: boolean | LocationCountOutputTypeCountBusiness_entity_locationsArgs
1556
- }
1557
-
1558
- /**
1559
- * LocationCountOutputType without action
1560
- */
1561
- export type LocationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1562
- /**
1563
- * Select specific fields to fetch from the LocationCountOutputType
1564
- */
1565
- select?: Prisma.LocationCountOutputTypeSelect<ExtArgs> | null
1566
- }
1567
-
1568
- /**
1569
- * LocationCountOutputType without action
1570
- */
1571
- export type LocationCountOutputTypeCountPurchase_intake_itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1572
- where?: Prisma.PurchaseIntakeItemWhereInput
1573
- }
1574
-
1575
- /**
1576
- * LocationCountOutputType without action
1577
- */
1578
- export type LocationCountOutputTypeCountBlanket_po_releaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1579
- where?: Prisma.BlanketPurchaseOrderReleaseWhereInput
1580
- }
1581
-
1582
- /**
1583
- * LocationCountOutputType without action
1584
- */
1585
- export type LocationCountOutputTypeCountBusiness_entity_locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1586
- where?: Prisma.BusinessEntityLocationWhereInput
1587
- }
1588
-
1589
-
1590
- export type LocationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1591
- id?: boolean
1592
- name?: boolean
1593
- address?: boolean
1594
- zipcode?: boolean
1595
- status?: boolean
1596
- created_at?: boolean
1597
- created_by?: boolean
1598
- updated_at?: boolean
1599
- updated_by?: boolean
1600
- is_deleted?: boolean
1601
- deleted_by?: boolean
1602
- deleted_at?: boolean
1603
- country_id?: boolean
1604
- state_id?: boolean
1605
- city_id?: boolean
1606
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1607
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1608
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1609
- purchase_intake_item?: boolean | Prisma.Location$purchase_intake_itemArgs<ExtArgs>
1610
- blanket_po_release?: boolean | Prisma.Location$blanket_po_releaseArgs<ExtArgs>
1611
- business_entity_locations?: boolean | Prisma.Location$business_entity_locationsArgs<ExtArgs>
1612
- _count?: boolean | Prisma.LocationCountOutputTypeDefaultArgs<ExtArgs>
1613
- }, ExtArgs["result"]["location"]>
1614
-
1615
- export type LocationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1616
- id?: boolean
1617
- name?: boolean
1618
- address?: boolean
1619
- zipcode?: boolean
1620
- status?: boolean
1621
- created_at?: boolean
1622
- created_by?: boolean
1623
- updated_at?: boolean
1624
- updated_by?: boolean
1625
- is_deleted?: boolean
1626
- deleted_by?: boolean
1627
- deleted_at?: boolean
1628
- country_id?: boolean
1629
- state_id?: boolean
1630
- city_id?: boolean
1631
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1632
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1633
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1634
- }, ExtArgs["result"]["location"]>
1635
-
1636
- export type LocationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1637
- id?: boolean
1638
- name?: boolean
1639
- address?: boolean
1640
- zipcode?: boolean
1641
- status?: boolean
1642
- created_at?: boolean
1643
- created_by?: boolean
1644
- updated_at?: boolean
1645
- updated_by?: boolean
1646
- is_deleted?: boolean
1647
- deleted_by?: boolean
1648
- deleted_at?: boolean
1649
- country_id?: boolean
1650
- state_id?: boolean
1651
- city_id?: boolean
1652
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1653
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1654
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1655
- }, ExtArgs["result"]["location"]>
1656
-
1657
- export type LocationSelectScalar = {
1658
- id?: boolean
1659
- name?: boolean
1660
- address?: boolean
1661
- zipcode?: boolean
1662
- status?: boolean
1663
- created_at?: boolean
1664
- created_by?: boolean
1665
- updated_at?: boolean
1666
- updated_by?: boolean
1667
- is_deleted?: boolean
1668
- deleted_by?: boolean
1669
- deleted_at?: boolean
1670
- country_id?: boolean
1671
- state_id?: boolean
1672
- city_id?: boolean
1673
- }
1674
-
1675
- export type LocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "address" | "zipcode" | "status" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_by" | "deleted_at" | "country_id" | "state_id" | "city_id", ExtArgs["result"]["location"]>
1676
- export type LocationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1677
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1678
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1679
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1680
- purchase_intake_item?: boolean | Prisma.Location$purchase_intake_itemArgs<ExtArgs>
1681
- blanket_po_release?: boolean | Prisma.Location$blanket_po_releaseArgs<ExtArgs>
1682
- business_entity_locations?: boolean | Prisma.Location$business_entity_locationsArgs<ExtArgs>
1683
- _count?: boolean | Prisma.LocationCountOutputTypeDefaultArgs<ExtArgs>
1684
- }
1685
- export type LocationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1687
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1688
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1689
- }
1690
- export type LocationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1691
- country?: boolean | Prisma.Location$countryArgs<ExtArgs>
1692
- state?: boolean | Prisma.Location$stateArgs<ExtArgs>
1693
- city?: boolean | Prisma.Location$cityArgs<ExtArgs>
1694
- }
1695
-
1696
- export type $LocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1697
- name: "Location"
1698
- objects: {
1699
- country: Prisma.$CountryPayload<ExtArgs> | null
1700
- state: Prisma.$StatePayload<ExtArgs> | null
1701
- city: Prisma.$CityPayload<ExtArgs> | null
1702
- purchase_intake_item: Prisma.$PurchaseIntakeItemPayload<ExtArgs>[]
1703
- blanket_po_release: Prisma.$BlanketPurchaseOrderReleasePayload<ExtArgs>[]
1704
- business_entity_locations: Prisma.$BusinessEntityLocationPayload<ExtArgs>[]
1705
- }
1706
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1707
- id: number
1708
- name: string | null
1709
- address: string | null
1710
- zipcode: string | null
1711
- status: boolean | null
1712
- created_at: Date
1713
- created_by: number | null
1714
- updated_at: Date
1715
- updated_by: number | null
1716
- is_deleted: boolean | null
1717
- deleted_by: number | null
1718
- deleted_at: Date | null
1719
- country_id: number | null
1720
- state_id: number | null
1721
- city_id: number | null
1722
- }, ExtArgs["result"]["location"]>
1723
- composites: {}
1724
- }
1725
-
1726
- export type LocationGetPayload<S extends boolean | null | undefined | LocationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LocationPayload, S>
1727
-
1728
- export type LocationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1729
- Omit<LocationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1730
- select?: LocationCountAggregateInputType | true
1731
- }
1732
-
1733
- export interface LocationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1734
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Location'], meta: { name: 'Location' } }
1735
- /**
1736
- * Find zero or one Location that matches the filter.
1737
- * @param {LocationFindUniqueArgs} args - Arguments to find a Location
1738
- * @example
1739
- * // Get one Location
1740
- * const location = await prisma.location.findUnique({
1741
- * where: {
1742
- * // ... provide filter here
1743
- * }
1744
- * })
1745
- */
1746
- findUnique<T extends LocationFindUniqueArgs>(args: Prisma.SelectSubset<T, LocationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1747
-
1748
- /**
1749
- * Find one Location that matches the filter or throw an error with `error.code='P2025'`
1750
- * if no matches were found.
1751
- * @param {LocationFindUniqueOrThrowArgs} args - Arguments to find a Location
1752
- * @example
1753
- * // Get one Location
1754
- * const location = await prisma.location.findUniqueOrThrow({
1755
- * where: {
1756
- * // ... provide filter here
1757
- * }
1758
- * })
1759
- */
1760
- findUniqueOrThrow<T extends LocationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1761
-
1762
- /**
1763
- * Find the first Location that matches the filter.
1764
- * Note, that providing `undefined` is treated as the value not being there.
1765
- * Read more here: https://pris.ly/d/null-undefined
1766
- * @param {LocationFindFirstArgs} args - Arguments to find a Location
1767
- * @example
1768
- * // Get one Location
1769
- * const location = await prisma.location.findFirst({
1770
- * where: {
1771
- * // ... provide filter here
1772
- * }
1773
- * })
1774
- */
1775
- findFirst<T extends LocationFindFirstArgs>(args?: Prisma.SelectSubset<T, LocationFindFirstArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1776
-
1777
- /**
1778
- * Find the first Location that matches the filter or
1779
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1780
- * Note, that providing `undefined` is treated as the value not being there.
1781
- * Read more here: https://pris.ly/d/null-undefined
1782
- * @param {LocationFindFirstOrThrowArgs} args - Arguments to find a Location
1783
- * @example
1784
- * // Get one Location
1785
- * const location = await prisma.location.findFirstOrThrow({
1786
- * where: {
1787
- * // ... provide filter here
1788
- * }
1789
- * })
1790
- */
1791
- findFirstOrThrow<T extends LocationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LocationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1792
-
1793
- /**
1794
- * Find zero or more Locations that matches the filter.
1795
- * Note, that providing `undefined` is treated as the value not being there.
1796
- * Read more here: https://pris.ly/d/null-undefined
1797
- * @param {LocationFindManyArgs} args - Arguments to filter and select certain fields only.
1798
- * @example
1799
- * // Get all Locations
1800
- * const locations = await prisma.location.findMany()
1801
- *
1802
- * // Get first 10 Locations
1803
- * const locations = await prisma.location.findMany({ take: 10 })
1804
- *
1805
- * // Only select the `id`
1806
- * const locationWithIdOnly = await prisma.location.findMany({ select: { id: true } })
1807
- *
1808
- */
1809
- findMany<T extends LocationFindManyArgs>(args?: Prisma.SelectSubset<T, LocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1810
-
1811
- /**
1812
- * Create a Location.
1813
- * @param {LocationCreateArgs} args - Arguments to create a Location.
1814
- * @example
1815
- * // Create one Location
1816
- * const Location = await prisma.location.create({
1817
- * data: {
1818
- * // ... data to create a Location
1819
- * }
1820
- * })
1821
- *
1822
- */
1823
- create<T extends LocationCreateArgs>(args: Prisma.SelectSubset<T, LocationCreateArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1824
-
1825
- /**
1826
- * Create many Locations.
1827
- * @param {LocationCreateManyArgs} args - Arguments to create many Locations.
1828
- * @example
1829
- * // Create many Locations
1830
- * const location = await prisma.location.createMany({
1831
- * data: [
1832
- * // ... provide data here
1833
- * ]
1834
- * })
1835
- *
1836
- */
1837
- createMany<T extends LocationCreateManyArgs>(args?: Prisma.SelectSubset<T, LocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1838
-
1839
- /**
1840
- * Create many Locations and returns the data saved in the database.
1841
- * @param {LocationCreateManyAndReturnArgs} args - Arguments to create many Locations.
1842
- * @example
1843
- * // Create many Locations
1844
- * const location = await prisma.location.createManyAndReturn({
1845
- * data: [
1846
- * // ... provide data here
1847
- * ]
1848
- * })
1849
- *
1850
- * // Create many Locations and only return the `id`
1851
- * const locationWithIdOnly = await prisma.location.createManyAndReturn({
1852
- * select: { id: true },
1853
- * data: [
1854
- * // ... provide data here
1855
- * ]
1856
- * })
1857
- * Note, that providing `undefined` is treated as the value not being there.
1858
- * Read more here: https://pris.ly/d/null-undefined
1859
- *
1860
- */
1861
- createManyAndReturn<T extends LocationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LocationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1862
-
1863
- /**
1864
- * Delete a Location.
1865
- * @param {LocationDeleteArgs} args - Arguments to delete one Location.
1866
- * @example
1867
- * // Delete one Location
1868
- * const Location = await prisma.location.delete({
1869
- * where: {
1870
- * // ... filter to delete one Location
1871
- * }
1872
- * })
1873
- *
1874
- */
1875
- delete<T extends LocationDeleteArgs>(args: Prisma.SelectSubset<T, LocationDeleteArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1876
-
1877
- /**
1878
- * Update one Location.
1879
- * @param {LocationUpdateArgs} args - Arguments to update one Location.
1880
- * @example
1881
- * // Update one Location
1882
- * const location = await prisma.location.update({
1883
- * where: {
1884
- * // ... provide filter here
1885
- * },
1886
- * data: {
1887
- * // ... provide data here
1888
- * }
1889
- * })
1890
- *
1891
- */
1892
- update<T extends LocationUpdateArgs>(args: Prisma.SelectSubset<T, LocationUpdateArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1893
-
1894
- /**
1895
- * Delete zero or more Locations.
1896
- * @param {LocationDeleteManyArgs} args - Arguments to filter Locations to delete.
1897
- * @example
1898
- * // Delete a few Locations
1899
- * const { count } = await prisma.location.deleteMany({
1900
- * where: {
1901
- * // ... provide filter here
1902
- * }
1903
- * })
1904
- *
1905
- */
1906
- deleteMany<T extends LocationDeleteManyArgs>(args?: Prisma.SelectSubset<T, LocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1907
-
1908
- /**
1909
- * Update zero or more Locations.
1910
- * Note, that providing `undefined` is treated as the value not being there.
1911
- * Read more here: https://pris.ly/d/null-undefined
1912
- * @param {LocationUpdateManyArgs} args - Arguments to update one or more rows.
1913
- * @example
1914
- * // Update many Locations
1915
- * const location = await prisma.location.updateMany({
1916
- * where: {
1917
- * // ... provide filter here
1918
- * },
1919
- * data: {
1920
- * // ... provide data here
1921
- * }
1922
- * })
1923
- *
1924
- */
1925
- updateMany<T extends LocationUpdateManyArgs>(args: Prisma.SelectSubset<T, LocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1926
-
1927
- /**
1928
- * Update zero or more Locations and returns the data updated in the database.
1929
- * @param {LocationUpdateManyAndReturnArgs} args - Arguments to update many Locations.
1930
- * @example
1931
- * // Update many Locations
1932
- * const location = await prisma.location.updateManyAndReturn({
1933
- * where: {
1934
- * // ... provide filter here
1935
- * },
1936
- * data: [
1937
- * // ... provide data here
1938
- * ]
1939
- * })
1940
- *
1941
- * // Update zero or more Locations and only return the `id`
1942
- * const locationWithIdOnly = await prisma.location.updateManyAndReturn({
1943
- * select: { id: true },
1944
- * where: {
1945
- * // ... provide filter here
1946
- * },
1947
- * data: [
1948
- * // ... provide data here
1949
- * ]
1950
- * })
1951
- * Note, that providing `undefined` is treated as the value not being there.
1952
- * Read more here: https://pris.ly/d/null-undefined
1953
- *
1954
- */
1955
- updateManyAndReturn<T extends LocationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LocationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1956
-
1957
- /**
1958
- * Create or update one Location.
1959
- * @param {LocationUpsertArgs} args - Arguments to update or create a Location.
1960
- * @example
1961
- * // Update or create a Location
1962
- * const location = await prisma.location.upsert({
1963
- * create: {
1964
- * // ... data to create a Location
1965
- * },
1966
- * update: {
1967
- * // ... in case it already exists, update
1968
- * },
1969
- * where: {
1970
- * // ... the filter for the Location we want to update
1971
- * }
1972
- * })
1973
- */
1974
- upsert<T extends LocationUpsertArgs>(args: Prisma.SelectSubset<T, LocationUpsertArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1975
-
1976
-
1977
- /**
1978
- * Count the number of Locations.
1979
- * Note, that providing `undefined` is treated as the value not being there.
1980
- * Read more here: https://pris.ly/d/null-undefined
1981
- * @param {LocationCountArgs} args - Arguments to filter Locations to count.
1982
- * @example
1983
- * // Count the number of Locations
1984
- * const count = await prisma.location.count({
1985
- * where: {
1986
- * // ... the filter for the Locations we want to count
1987
- * }
1988
- * })
1989
- **/
1990
- count<T extends LocationCountArgs>(
1991
- args?: Prisma.Subset<T, LocationCountArgs>,
1992
- ): Prisma.PrismaPromise<
1993
- T extends runtime.Types.Utils.Record<'select', any>
1994
- ? T['select'] extends true
1995
- ? number
1996
- : Prisma.GetScalarType<T['select'], LocationCountAggregateOutputType>
1997
- : number
1998
- >
1999
-
2000
- /**
2001
- * Allows you to perform aggregations operations on a Location.
2002
- * Note, that providing `undefined` is treated as the value not being there.
2003
- * Read more here: https://pris.ly/d/null-undefined
2004
- * @param {LocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2005
- * @example
2006
- * // Ordered by age ascending
2007
- * // Where email contains prisma.io
2008
- * // Limited to the 10 users
2009
- * const aggregations = await prisma.user.aggregate({
2010
- * _avg: {
2011
- * age: true,
2012
- * },
2013
- * where: {
2014
- * email: {
2015
- * contains: "prisma.io",
2016
- * },
2017
- * },
2018
- * orderBy: {
2019
- * age: "asc",
2020
- * },
2021
- * take: 10,
2022
- * })
2023
- **/
2024
- aggregate<T extends LocationAggregateArgs>(args: Prisma.Subset<T, LocationAggregateArgs>): Prisma.PrismaPromise<GetLocationAggregateType<T>>
2025
-
2026
- /**
2027
- * Group by Location.
2028
- * Note, that providing `undefined` is treated as the value not being there.
2029
- * Read more here: https://pris.ly/d/null-undefined
2030
- * @param {LocationGroupByArgs} args - Group by arguments.
2031
- * @example
2032
- * // Group by city, order by createdAt, get count
2033
- * const result = await prisma.user.groupBy({
2034
- * by: ['city', 'createdAt'],
2035
- * orderBy: {
2036
- * createdAt: true
2037
- * },
2038
- * _count: {
2039
- * _all: true
2040
- * },
2041
- * })
2042
- *
2043
- **/
2044
- groupBy<
2045
- T extends LocationGroupByArgs,
2046
- HasSelectOrTake extends Prisma.Or<
2047
- Prisma.Extends<'skip', Prisma.Keys<T>>,
2048
- Prisma.Extends<'take', Prisma.Keys<T>>
2049
- >,
2050
- OrderByArg extends Prisma.True extends HasSelectOrTake
2051
- ? { orderBy: LocationGroupByArgs['orderBy'] }
2052
- : { orderBy?: LocationGroupByArgs['orderBy'] },
2053
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2054
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2055
- ByValid extends Prisma.Has<ByFields, OrderFields>,
2056
- HavingFields extends Prisma.GetHavingFields<T['having']>,
2057
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
2058
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2059
- InputErrors extends ByEmpty extends Prisma.True
2060
- ? `Error: "by" must not be empty.`
2061
- : HavingValid extends Prisma.False
2062
- ? {
2063
- [P in HavingFields]: P extends ByFields
2064
- ? never
2065
- : P extends string
2066
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2067
- : [
2068
- Error,
2069
- 'Field ',
2070
- P,
2071
- ` in "having" needs to be provided in "by"`,
2072
- ]
2073
- }[HavingFields]
2074
- : 'take' extends Prisma.Keys<T>
2075
- ? 'orderBy' extends Prisma.Keys<T>
2076
- ? ByValid extends Prisma.True
2077
- ? {}
2078
- : {
2079
- [P in OrderFields]: P extends ByFields
2080
- ? never
2081
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2082
- }[OrderFields]
2083
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2084
- : 'skip' extends Prisma.Keys<T>
2085
- ? 'orderBy' extends Prisma.Keys<T>
2086
- ? ByValid extends Prisma.True
2087
- ? {}
2088
- : {
2089
- [P in OrderFields]: P extends ByFields
2090
- ? never
2091
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2092
- }[OrderFields]
2093
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2094
- : ByValid extends Prisma.True
2095
- ? {}
2096
- : {
2097
- [P in OrderFields]: P extends ByFields
2098
- ? never
2099
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2100
- }[OrderFields]
2101
- >(args: Prisma.SubsetIntersection<T, LocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2102
- /**
2103
- * Fields of the Location model
2104
- */
2105
- readonly fields: LocationFieldRefs;
2106
- }
2107
-
2108
- /**
2109
- * The delegate class that acts as a "Promise-like" for Location.
2110
- * Why is this prefixed with `Prisma__`?
2111
- * Because we want to prevent naming conflicts as mentioned in
2112
- * https://github.com/prisma/prisma-client-js/issues/707
2113
- */
2114
- export interface Prisma__LocationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2115
- readonly [Symbol.toStringTag]: "PrismaPromise"
2116
- country<T extends Prisma.Location$countryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$countryArgs<ExtArgs>>): Prisma.Prisma__CountryClient<runtime.Types.Result.GetResult<Prisma.$CountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2117
- state<T extends Prisma.Location$stateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$stateArgs<ExtArgs>>): Prisma.Prisma__StateClient<runtime.Types.Result.GetResult<Prisma.$StatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2118
- city<T extends Prisma.Location$cityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$cityArgs<ExtArgs>>): Prisma.Prisma__CityClient<runtime.Types.Result.GetResult<Prisma.$CityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2119
- purchase_intake_item<T extends Prisma.Location$purchase_intake_itemArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$purchase_intake_itemArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2120
- blanket_po_release<T extends Prisma.Location$blanket_po_releaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$blanket_po_releaseArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlanketPurchaseOrderReleasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2121
- business_entity_locations<T extends Prisma.Location$business_entity_locationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Location$business_entity_locationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2122
- /**
2123
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2124
- * @param onfulfilled The callback to execute when the Promise is resolved.
2125
- * @param onrejected The callback to execute when the Promise is rejected.
2126
- * @returns A Promise for the completion of which ever callback is executed.
2127
- */
2128
- 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>
2129
- /**
2130
- * Attaches a callback for only the rejection of the Promise.
2131
- * @param onrejected The callback to execute when the Promise is rejected.
2132
- * @returns A Promise for the completion of the callback.
2133
- */
2134
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2135
- /**
2136
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2137
- * resolved value cannot be modified from the callback.
2138
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2139
- * @returns A Promise for the completion of the callback.
2140
- */
2141
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2142
- }
2143
-
2144
-
2145
-
2146
-
2147
- /**
2148
- * Fields of the Location model
2149
- */
2150
- export interface LocationFieldRefs {
2151
- readonly id: Prisma.FieldRef<"Location", 'Int'>
2152
- readonly name: Prisma.FieldRef<"Location", 'String'>
2153
- readonly address: Prisma.FieldRef<"Location", 'String'>
2154
- readonly zipcode: Prisma.FieldRef<"Location", 'String'>
2155
- readonly status: Prisma.FieldRef<"Location", 'Boolean'>
2156
- readonly created_at: Prisma.FieldRef<"Location", 'DateTime'>
2157
- readonly created_by: Prisma.FieldRef<"Location", 'Int'>
2158
- readonly updated_at: Prisma.FieldRef<"Location", 'DateTime'>
2159
- readonly updated_by: Prisma.FieldRef<"Location", 'Int'>
2160
- readonly is_deleted: Prisma.FieldRef<"Location", 'Boolean'>
2161
- readonly deleted_by: Prisma.FieldRef<"Location", 'Int'>
2162
- readonly deleted_at: Prisma.FieldRef<"Location", 'DateTime'>
2163
- readonly country_id: Prisma.FieldRef<"Location", 'Int'>
2164
- readonly state_id: Prisma.FieldRef<"Location", 'Int'>
2165
- readonly city_id: Prisma.FieldRef<"Location", 'Int'>
2166
- }
2167
-
2168
-
2169
- // Custom InputTypes
2170
- /**
2171
- * Location findUnique
2172
- */
2173
- export type LocationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2174
- /**
2175
- * Select specific fields to fetch from the Location
2176
- */
2177
- select?: Prisma.LocationSelect<ExtArgs> | null
2178
- /**
2179
- * Omit specific fields from the Location
2180
- */
2181
- omit?: Prisma.LocationOmit<ExtArgs> | null
2182
- /**
2183
- * Choose, which related nodes to fetch as well
2184
- */
2185
- include?: Prisma.LocationInclude<ExtArgs> | null
2186
- /**
2187
- * Filter, which Location to fetch.
2188
- */
2189
- where: Prisma.LocationWhereUniqueInput
2190
- }
2191
-
2192
- /**
2193
- * Location findUniqueOrThrow
2194
- */
2195
- export type LocationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2196
- /**
2197
- * Select specific fields to fetch from the Location
2198
- */
2199
- select?: Prisma.LocationSelect<ExtArgs> | null
2200
- /**
2201
- * Omit specific fields from the Location
2202
- */
2203
- omit?: Prisma.LocationOmit<ExtArgs> | null
2204
- /**
2205
- * Choose, which related nodes to fetch as well
2206
- */
2207
- include?: Prisma.LocationInclude<ExtArgs> | null
2208
- /**
2209
- * Filter, which Location to fetch.
2210
- */
2211
- where: Prisma.LocationWhereUniqueInput
2212
- }
2213
-
2214
- /**
2215
- * Location findFirst
2216
- */
2217
- export type LocationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2218
- /**
2219
- * Select specific fields to fetch from the Location
2220
- */
2221
- select?: Prisma.LocationSelect<ExtArgs> | null
2222
- /**
2223
- * Omit specific fields from the Location
2224
- */
2225
- omit?: Prisma.LocationOmit<ExtArgs> | null
2226
- /**
2227
- * Choose, which related nodes to fetch as well
2228
- */
2229
- include?: Prisma.LocationInclude<ExtArgs> | null
2230
- /**
2231
- * Filter, which Location to fetch.
2232
- */
2233
- where?: Prisma.LocationWhereInput
2234
- /**
2235
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2236
- *
2237
- * Determine the order of Locations to fetch.
2238
- */
2239
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
2240
- /**
2241
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2242
- *
2243
- * Sets the position for searching for Locations.
2244
- */
2245
- cursor?: Prisma.LocationWhereUniqueInput
2246
- /**
2247
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2248
- *
2249
- * Take `±n` Locations from the position of the cursor.
2250
- */
2251
- take?: number
2252
- /**
2253
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2254
- *
2255
- * Skip the first `n` Locations.
2256
- */
2257
- skip?: number
2258
- /**
2259
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2260
- *
2261
- * Filter by unique combinations of Locations.
2262
- */
2263
- distinct?: Prisma.LocationScalarFieldEnum | Prisma.LocationScalarFieldEnum[]
2264
- }
2265
-
2266
- /**
2267
- * Location findFirstOrThrow
2268
- */
2269
- export type LocationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2270
- /**
2271
- * Select specific fields to fetch from the Location
2272
- */
2273
- select?: Prisma.LocationSelect<ExtArgs> | null
2274
- /**
2275
- * Omit specific fields from the Location
2276
- */
2277
- omit?: Prisma.LocationOmit<ExtArgs> | null
2278
- /**
2279
- * Choose, which related nodes to fetch as well
2280
- */
2281
- include?: Prisma.LocationInclude<ExtArgs> | null
2282
- /**
2283
- * Filter, which Location to fetch.
2284
- */
2285
- where?: Prisma.LocationWhereInput
2286
- /**
2287
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2288
- *
2289
- * Determine the order of Locations to fetch.
2290
- */
2291
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
2292
- /**
2293
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2294
- *
2295
- * Sets the position for searching for Locations.
2296
- */
2297
- cursor?: Prisma.LocationWhereUniqueInput
2298
- /**
2299
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2300
- *
2301
- * Take `±n` Locations from the position of the cursor.
2302
- */
2303
- take?: number
2304
- /**
2305
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2306
- *
2307
- * Skip the first `n` Locations.
2308
- */
2309
- skip?: number
2310
- /**
2311
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2312
- *
2313
- * Filter by unique combinations of Locations.
2314
- */
2315
- distinct?: Prisma.LocationScalarFieldEnum | Prisma.LocationScalarFieldEnum[]
2316
- }
2317
-
2318
- /**
2319
- * Location findMany
2320
- */
2321
- export type LocationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2322
- /**
2323
- * Select specific fields to fetch from the Location
2324
- */
2325
- select?: Prisma.LocationSelect<ExtArgs> | null
2326
- /**
2327
- * Omit specific fields from the Location
2328
- */
2329
- omit?: Prisma.LocationOmit<ExtArgs> | null
2330
- /**
2331
- * Choose, which related nodes to fetch as well
2332
- */
2333
- include?: Prisma.LocationInclude<ExtArgs> | null
2334
- /**
2335
- * Filter, which Locations to fetch.
2336
- */
2337
- where?: Prisma.LocationWhereInput
2338
- /**
2339
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2340
- *
2341
- * Determine the order of Locations to fetch.
2342
- */
2343
- orderBy?: Prisma.LocationOrderByWithRelationInput | Prisma.LocationOrderByWithRelationInput[]
2344
- /**
2345
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2346
- *
2347
- * Sets the position for listing Locations.
2348
- */
2349
- cursor?: Prisma.LocationWhereUniqueInput
2350
- /**
2351
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2352
- *
2353
- * Take `±n` Locations from the position of the cursor.
2354
- */
2355
- take?: number
2356
- /**
2357
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2358
- *
2359
- * Skip the first `n` Locations.
2360
- */
2361
- skip?: number
2362
- /**
2363
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2364
- *
2365
- * Filter by unique combinations of Locations.
2366
- */
2367
- distinct?: Prisma.LocationScalarFieldEnum | Prisma.LocationScalarFieldEnum[]
2368
- }
2369
-
2370
- /**
2371
- * Location create
2372
- */
2373
- export type LocationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2374
- /**
2375
- * Select specific fields to fetch from the Location
2376
- */
2377
- select?: Prisma.LocationSelect<ExtArgs> | null
2378
- /**
2379
- * Omit specific fields from the Location
2380
- */
2381
- omit?: Prisma.LocationOmit<ExtArgs> | null
2382
- /**
2383
- * Choose, which related nodes to fetch as well
2384
- */
2385
- include?: Prisma.LocationInclude<ExtArgs> | null
2386
- /**
2387
- * The data needed to create a Location.
2388
- */
2389
- data: Prisma.XOR<Prisma.LocationCreateInput, Prisma.LocationUncheckedCreateInput>
2390
- }
2391
-
2392
- /**
2393
- * Location createMany
2394
- */
2395
- export type LocationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2396
- /**
2397
- * The data used to create many Locations.
2398
- */
2399
- data: Prisma.LocationCreateManyInput | Prisma.LocationCreateManyInput[]
2400
- skipDuplicates?: boolean
2401
- }
2402
-
2403
- /**
2404
- * Location createManyAndReturn
2405
- */
2406
- export type LocationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2407
- /**
2408
- * Select specific fields to fetch from the Location
2409
- */
2410
- select?: Prisma.LocationSelectCreateManyAndReturn<ExtArgs> | null
2411
- /**
2412
- * Omit specific fields from the Location
2413
- */
2414
- omit?: Prisma.LocationOmit<ExtArgs> | null
2415
- /**
2416
- * The data used to create many Locations.
2417
- */
2418
- data: Prisma.LocationCreateManyInput | Prisma.LocationCreateManyInput[]
2419
- skipDuplicates?: boolean
2420
- /**
2421
- * Choose, which related nodes to fetch as well
2422
- */
2423
- include?: Prisma.LocationIncludeCreateManyAndReturn<ExtArgs> | null
2424
- }
2425
-
2426
- /**
2427
- * Location update
2428
- */
2429
- export type LocationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2430
- /**
2431
- * Select specific fields to fetch from the Location
2432
- */
2433
- select?: Prisma.LocationSelect<ExtArgs> | null
2434
- /**
2435
- * Omit specific fields from the Location
2436
- */
2437
- omit?: Prisma.LocationOmit<ExtArgs> | null
2438
- /**
2439
- * Choose, which related nodes to fetch as well
2440
- */
2441
- include?: Prisma.LocationInclude<ExtArgs> | null
2442
- /**
2443
- * The data needed to update a Location.
2444
- */
2445
- data: Prisma.XOR<Prisma.LocationUpdateInput, Prisma.LocationUncheckedUpdateInput>
2446
- /**
2447
- * Choose, which Location to update.
2448
- */
2449
- where: Prisma.LocationWhereUniqueInput
2450
- }
2451
-
2452
- /**
2453
- * Location updateMany
2454
- */
2455
- export type LocationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2456
- /**
2457
- * The data used to update Locations.
2458
- */
2459
- data: Prisma.XOR<Prisma.LocationUpdateManyMutationInput, Prisma.LocationUncheckedUpdateManyInput>
2460
- /**
2461
- * Filter which Locations to update
2462
- */
2463
- where?: Prisma.LocationWhereInput
2464
- /**
2465
- * Limit how many Locations to update.
2466
- */
2467
- limit?: number
2468
- }
2469
-
2470
- /**
2471
- * Location updateManyAndReturn
2472
- */
2473
- export type LocationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2474
- /**
2475
- * Select specific fields to fetch from the Location
2476
- */
2477
- select?: Prisma.LocationSelectUpdateManyAndReturn<ExtArgs> | null
2478
- /**
2479
- * Omit specific fields from the Location
2480
- */
2481
- omit?: Prisma.LocationOmit<ExtArgs> | null
2482
- /**
2483
- * The data used to update Locations.
2484
- */
2485
- data: Prisma.XOR<Prisma.LocationUpdateManyMutationInput, Prisma.LocationUncheckedUpdateManyInput>
2486
- /**
2487
- * Filter which Locations to update
2488
- */
2489
- where?: Prisma.LocationWhereInput
2490
- /**
2491
- * Limit how many Locations to update.
2492
- */
2493
- limit?: number
2494
- /**
2495
- * Choose, which related nodes to fetch as well
2496
- */
2497
- include?: Prisma.LocationIncludeUpdateManyAndReturn<ExtArgs> | null
2498
- }
2499
-
2500
- /**
2501
- * Location upsert
2502
- */
2503
- export type LocationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2504
- /**
2505
- * Select specific fields to fetch from the Location
2506
- */
2507
- select?: Prisma.LocationSelect<ExtArgs> | null
2508
- /**
2509
- * Omit specific fields from the Location
2510
- */
2511
- omit?: Prisma.LocationOmit<ExtArgs> | null
2512
- /**
2513
- * Choose, which related nodes to fetch as well
2514
- */
2515
- include?: Prisma.LocationInclude<ExtArgs> | null
2516
- /**
2517
- * The filter to search for the Location to update in case it exists.
2518
- */
2519
- where: Prisma.LocationWhereUniqueInput
2520
- /**
2521
- * In case the Location found by the `where` argument doesn't exist, create a new Location with this data.
2522
- */
2523
- create: Prisma.XOR<Prisma.LocationCreateInput, Prisma.LocationUncheckedCreateInput>
2524
- /**
2525
- * In case the Location was found with the provided `where` argument, update it with this data.
2526
- */
2527
- update: Prisma.XOR<Prisma.LocationUpdateInput, Prisma.LocationUncheckedUpdateInput>
2528
- }
2529
-
2530
- /**
2531
- * Location delete
2532
- */
2533
- export type LocationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2534
- /**
2535
- * Select specific fields to fetch from the Location
2536
- */
2537
- select?: Prisma.LocationSelect<ExtArgs> | null
2538
- /**
2539
- * Omit specific fields from the Location
2540
- */
2541
- omit?: Prisma.LocationOmit<ExtArgs> | null
2542
- /**
2543
- * Choose, which related nodes to fetch as well
2544
- */
2545
- include?: Prisma.LocationInclude<ExtArgs> | null
2546
- /**
2547
- * Filter which Location to delete.
2548
- */
2549
- where: Prisma.LocationWhereUniqueInput
2550
- }
2551
-
2552
- /**
2553
- * Location deleteMany
2554
- */
2555
- export type LocationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2556
- /**
2557
- * Filter which Locations to delete
2558
- */
2559
- where?: Prisma.LocationWhereInput
2560
- /**
2561
- * Limit how many Locations to delete.
2562
- */
2563
- limit?: number
2564
- }
2565
-
2566
- /**
2567
- * Location.country
2568
- */
2569
- export type Location$countryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2570
- /**
2571
- * Select specific fields to fetch from the Country
2572
- */
2573
- select?: Prisma.CountrySelect<ExtArgs> | null
2574
- /**
2575
- * Omit specific fields from the Country
2576
- */
2577
- omit?: Prisma.CountryOmit<ExtArgs> | null
2578
- /**
2579
- * Choose, which related nodes to fetch as well
2580
- */
2581
- include?: Prisma.CountryInclude<ExtArgs> | null
2582
- where?: Prisma.CountryWhereInput
2583
- }
2584
-
2585
- /**
2586
- * Location.state
2587
- */
2588
- export type Location$stateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2589
- /**
2590
- * Select specific fields to fetch from the State
2591
- */
2592
- select?: Prisma.StateSelect<ExtArgs> | null
2593
- /**
2594
- * Omit specific fields from the State
2595
- */
2596
- omit?: Prisma.StateOmit<ExtArgs> | null
2597
- /**
2598
- * Choose, which related nodes to fetch as well
2599
- */
2600
- include?: Prisma.StateInclude<ExtArgs> | null
2601
- where?: Prisma.StateWhereInput
2602
- }
2603
-
2604
- /**
2605
- * Location.city
2606
- */
2607
- export type Location$cityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2608
- /**
2609
- * Select specific fields to fetch from the City
2610
- */
2611
- select?: Prisma.CitySelect<ExtArgs> | null
2612
- /**
2613
- * Omit specific fields from the City
2614
- */
2615
- omit?: Prisma.CityOmit<ExtArgs> | null
2616
- /**
2617
- * Choose, which related nodes to fetch as well
2618
- */
2619
- include?: Prisma.CityInclude<ExtArgs> | null
2620
- where?: Prisma.CityWhereInput
2621
- }
2622
-
2623
- /**
2624
- * Location.purchase_intake_item
2625
- */
2626
- export type Location$purchase_intake_itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2627
- /**
2628
- * Select specific fields to fetch from the PurchaseIntakeItem
2629
- */
2630
- select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
2631
- /**
2632
- * Omit specific fields from the PurchaseIntakeItem
2633
- */
2634
- omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
2635
- /**
2636
- * Choose, which related nodes to fetch as well
2637
- */
2638
- include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
2639
- where?: Prisma.PurchaseIntakeItemWhereInput
2640
- orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
2641
- cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
2642
- take?: number
2643
- skip?: number
2644
- distinct?: Prisma.PurchaseIntakeItemScalarFieldEnum | Prisma.PurchaseIntakeItemScalarFieldEnum[]
2645
- }
2646
-
2647
- /**
2648
- * Location.blanket_po_release
2649
- */
2650
- export type Location$blanket_po_releaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2651
- /**
2652
- * Select specific fields to fetch from the BlanketPurchaseOrderRelease
2653
- */
2654
- select?: Prisma.BlanketPurchaseOrderReleaseSelect<ExtArgs> | null
2655
- /**
2656
- * Omit specific fields from the BlanketPurchaseOrderRelease
2657
- */
2658
- omit?: Prisma.BlanketPurchaseOrderReleaseOmit<ExtArgs> | null
2659
- /**
2660
- * Choose, which related nodes to fetch as well
2661
- */
2662
- include?: Prisma.BlanketPurchaseOrderReleaseInclude<ExtArgs> | null
2663
- where?: Prisma.BlanketPurchaseOrderReleaseWhereInput
2664
- orderBy?: Prisma.BlanketPurchaseOrderReleaseOrderByWithRelationInput | Prisma.BlanketPurchaseOrderReleaseOrderByWithRelationInput[]
2665
- cursor?: Prisma.BlanketPurchaseOrderReleaseWhereUniqueInput
2666
- take?: number
2667
- skip?: number
2668
- distinct?: Prisma.BlanketPurchaseOrderReleaseScalarFieldEnum | Prisma.BlanketPurchaseOrderReleaseScalarFieldEnum[]
2669
- }
2670
-
2671
- /**
2672
- * Location.business_entity_locations
2673
- */
2674
- export type Location$business_entity_locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2675
- /**
2676
- * Select specific fields to fetch from the BusinessEntityLocation
2677
- */
2678
- select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
2679
- /**
2680
- * Omit specific fields from the BusinessEntityLocation
2681
- */
2682
- omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
2683
- /**
2684
- * Choose, which related nodes to fetch as well
2685
- */
2686
- include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
2687
- where?: Prisma.BusinessEntityLocationWhereInput
2688
- orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
2689
- cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
2690
- take?: number
2691
- skip?: number
2692
- distinct?: Prisma.BusinessEntityLocationScalarFieldEnum | Prisma.BusinessEntityLocationScalarFieldEnum[]
2693
- }
2694
-
2695
- /**
2696
- * Location without action
2697
- */
2698
- export type LocationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2699
- /**
2700
- * Select specific fields to fetch from the Location
2701
- */
2702
- select?: Prisma.LocationSelect<ExtArgs> | null
2703
- /**
2704
- * Omit specific fields from the Location
2705
- */
2706
- omit?: Prisma.LocationOmit<ExtArgs> | null
2707
- /**
2708
- * Choose, which related nodes to fetch as well
2709
- */
2710
- include?: Prisma.LocationInclude<ExtArgs> | null
2711
- }