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