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