@eventualize/postgres-storage-adapter 1.0.0 → 2.0.0
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.
- package/dist/EvDbPostgresPrismaClientFactory.d.ts +5 -1
- package/dist/EvDbPostgresPrismaClientFactory.js +10 -3
- package/dist/EvDbPostgresPrismaClientFactory.js.map +1 -1
- package/dist/generated/prisma/internal/class.js +6 -5
- package/dist/generated/prisma/internal/class.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2 -2
- package/dist/generated/prisma/internal/prismaNamespace.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +6 -6
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +8 -8
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -1
- package/package.json +18 -4
- package/prisma/migrations/20251211113311_change_outbox_payload_to_json/migration.sql +0 -62
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma/schema.prisma +0 -61
- package/prisma.config.d.ts +0 -3
- package/prisma.config.js +0 -14
- package/prisma.config.js.map +0 -1
- package/prisma.config.ts +0 -14
- package/src/EvDbPostgresPrismaClientFactory.ts +0 -12
- package/src/generated/prisma/browser.ts +0 -34
- package/src/generated/prisma/client.ts +0 -56
- package/src/generated/prisma/commonInputTypes.ts +0 -459
- package/src/generated/prisma/enums.ts +0 -15
- package/src/generated/prisma/internal/class.ts +0 -210
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -1029
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -169
- package/src/generated/prisma/models/events.ts +0 -1339
- package/src/generated/prisma/models/outbox.ts +0 -1420
- package/src/generated/prisma/models/snapshot.ts +0 -1246
- package/src/generated/prisma/models.ts +0 -14
- package/tsconfig.json +0 -19
|
@@ -1,1420 +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 `outbox` 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.js"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model outbox
|
|
17
|
-
* This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.
|
|
18
|
-
*/
|
|
19
|
-
export type outboxModel = runtime.Types.Result.DefaultSelection<Prisma.$outboxPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateOutbox = {
|
|
22
|
-
_count: OutboxCountAggregateOutputType | null
|
|
23
|
-
_avg: OutboxAvgAggregateOutputType | null
|
|
24
|
-
_sum: OutboxSumAggregateOutputType | null
|
|
25
|
-
_min: OutboxMinAggregateOutputType | null
|
|
26
|
-
_max: OutboxMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type OutboxAvgAggregateOutputType = {
|
|
30
|
-
offset: number | null
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type OutboxSumAggregateOutputType = {
|
|
34
|
-
offset: bigint | null
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type OutboxMinAggregateOutputType = {
|
|
38
|
-
id: string | null
|
|
39
|
-
stream_type: string | null
|
|
40
|
-
stream_id: string | null
|
|
41
|
-
offset: bigint | null
|
|
42
|
-
event_type: string | null
|
|
43
|
-
channel: string | null
|
|
44
|
-
message_type: string | null
|
|
45
|
-
serialize_type: string | null
|
|
46
|
-
telemetry_context: runtime.Bytes | null
|
|
47
|
-
captured_by: string | null
|
|
48
|
-
captured_at: Date | null
|
|
49
|
-
stored_at: Date | null
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type OutboxMaxAggregateOutputType = {
|
|
53
|
-
id: string | null
|
|
54
|
-
stream_type: string | null
|
|
55
|
-
stream_id: string | null
|
|
56
|
-
offset: bigint | null
|
|
57
|
-
event_type: string | null
|
|
58
|
-
channel: string | null
|
|
59
|
-
message_type: string | null
|
|
60
|
-
serialize_type: string | null
|
|
61
|
-
telemetry_context: runtime.Bytes | null
|
|
62
|
-
captured_by: string | null
|
|
63
|
-
captured_at: Date | null
|
|
64
|
-
stored_at: Date | null
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export type OutboxCountAggregateOutputType = {
|
|
68
|
-
id: number
|
|
69
|
-
stream_type: number
|
|
70
|
-
stream_id: number
|
|
71
|
-
offset: number
|
|
72
|
-
event_type: number
|
|
73
|
-
channel: number
|
|
74
|
-
message_type: number
|
|
75
|
-
serialize_type: number
|
|
76
|
-
telemetry_context: number
|
|
77
|
-
captured_by: number
|
|
78
|
-
captured_at: number
|
|
79
|
-
stored_at: number
|
|
80
|
-
payload: number
|
|
81
|
-
_all: number
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export type OutboxAvgAggregateInputType = {
|
|
86
|
-
offset?: true
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export type OutboxSumAggregateInputType = {
|
|
90
|
-
offset?: true
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type OutboxMinAggregateInputType = {
|
|
94
|
-
id?: true
|
|
95
|
-
stream_type?: true
|
|
96
|
-
stream_id?: true
|
|
97
|
-
offset?: true
|
|
98
|
-
event_type?: true
|
|
99
|
-
channel?: true
|
|
100
|
-
message_type?: true
|
|
101
|
-
serialize_type?: true
|
|
102
|
-
telemetry_context?: true
|
|
103
|
-
captured_by?: true
|
|
104
|
-
captured_at?: true
|
|
105
|
-
stored_at?: true
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export type OutboxMaxAggregateInputType = {
|
|
109
|
-
id?: true
|
|
110
|
-
stream_type?: true
|
|
111
|
-
stream_id?: true
|
|
112
|
-
offset?: true
|
|
113
|
-
event_type?: true
|
|
114
|
-
channel?: true
|
|
115
|
-
message_type?: true
|
|
116
|
-
serialize_type?: true
|
|
117
|
-
telemetry_context?: true
|
|
118
|
-
captured_by?: true
|
|
119
|
-
captured_at?: true
|
|
120
|
-
stored_at?: true
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export type OutboxCountAggregateInputType = {
|
|
124
|
-
id?: true
|
|
125
|
-
stream_type?: true
|
|
126
|
-
stream_id?: true
|
|
127
|
-
offset?: true
|
|
128
|
-
event_type?: true
|
|
129
|
-
channel?: true
|
|
130
|
-
message_type?: true
|
|
131
|
-
serialize_type?: true
|
|
132
|
-
telemetry_context?: true
|
|
133
|
-
captured_by?: true
|
|
134
|
-
captured_at?: true
|
|
135
|
-
stored_at?: true
|
|
136
|
-
payload?: true
|
|
137
|
-
_all?: true
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export type OutboxAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
141
|
-
/**
|
|
142
|
-
* Filter which outbox to aggregate.
|
|
143
|
-
*/
|
|
144
|
-
where?: Prisma.outboxWhereInput
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
147
|
-
*
|
|
148
|
-
* Determine the order of outboxes to fetch.
|
|
149
|
-
*/
|
|
150
|
-
orderBy?: Prisma.outboxOrderByWithRelationInput | Prisma.outboxOrderByWithRelationInput[]
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
153
|
-
*
|
|
154
|
-
* Sets the start position
|
|
155
|
-
*/
|
|
156
|
-
cursor?: Prisma.outboxWhereUniqueInput
|
|
157
|
-
/**
|
|
158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
159
|
-
*
|
|
160
|
-
* Take `±n` outboxes from the position of the cursor.
|
|
161
|
-
*/
|
|
162
|
-
take?: number
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
165
|
-
*
|
|
166
|
-
* Skip the first `n` outboxes.
|
|
167
|
-
*/
|
|
168
|
-
skip?: number
|
|
169
|
-
/**
|
|
170
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
-
*
|
|
172
|
-
* Count returned outboxes
|
|
173
|
-
**/
|
|
174
|
-
_count?: true | OutboxCountAggregateInputType
|
|
175
|
-
/**
|
|
176
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
-
*
|
|
178
|
-
* Select which fields to average
|
|
179
|
-
**/
|
|
180
|
-
_avg?: OutboxAvgAggregateInputType
|
|
181
|
-
/**
|
|
182
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
-
*
|
|
184
|
-
* Select which fields to sum
|
|
185
|
-
**/
|
|
186
|
-
_sum?: OutboxSumAggregateInputType
|
|
187
|
-
/**
|
|
188
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
189
|
-
*
|
|
190
|
-
* Select which fields to find the minimum value
|
|
191
|
-
**/
|
|
192
|
-
_min?: OutboxMinAggregateInputType
|
|
193
|
-
/**
|
|
194
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
195
|
-
*
|
|
196
|
-
* Select which fields to find the maximum value
|
|
197
|
-
**/
|
|
198
|
-
_max?: OutboxMaxAggregateInputType
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export type GetOutboxAggregateType<T extends OutboxAggregateArgs> = {
|
|
202
|
-
[P in keyof T & keyof AggregateOutbox]: P extends '_count' | 'count'
|
|
203
|
-
? T[P] extends true
|
|
204
|
-
? number
|
|
205
|
-
: Prisma.GetScalarType<T[P], AggregateOutbox[P]>
|
|
206
|
-
: Prisma.GetScalarType<T[P], AggregateOutbox[P]>
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
export type outboxGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
213
|
-
where?: Prisma.outboxWhereInput
|
|
214
|
-
orderBy?: Prisma.outboxOrderByWithAggregationInput | Prisma.outboxOrderByWithAggregationInput[]
|
|
215
|
-
by: Prisma.OutboxScalarFieldEnum[] | Prisma.OutboxScalarFieldEnum
|
|
216
|
-
having?: Prisma.outboxScalarWhereWithAggregatesInput
|
|
217
|
-
take?: number
|
|
218
|
-
skip?: number
|
|
219
|
-
_count?: OutboxCountAggregateInputType | true
|
|
220
|
-
_avg?: OutboxAvgAggregateInputType
|
|
221
|
-
_sum?: OutboxSumAggregateInputType
|
|
222
|
-
_min?: OutboxMinAggregateInputType
|
|
223
|
-
_max?: OutboxMaxAggregateInputType
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export type OutboxGroupByOutputType = {
|
|
227
|
-
id: string
|
|
228
|
-
stream_type: string
|
|
229
|
-
stream_id: string
|
|
230
|
-
offset: bigint
|
|
231
|
-
event_type: string
|
|
232
|
-
channel: string
|
|
233
|
-
message_type: string
|
|
234
|
-
serialize_type: string
|
|
235
|
-
telemetry_context: runtime.Bytes | null
|
|
236
|
-
captured_by: string
|
|
237
|
-
captured_at: Date
|
|
238
|
-
stored_at: Date
|
|
239
|
-
payload: runtime.JsonValue
|
|
240
|
-
_count: OutboxCountAggregateOutputType | null
|
|
241
|
-
_avg: OutboxAvgAggregateOutputType | null
|
|
242
|
-
_sum: OutboxSumAggregateOutputType | null
|
|
243
|
-
_min: OutboxMinAggregateOutputType | null
|
|
244
|
-
_max: OutboxMaxAggregateOutputType | null
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
type GetOutboxGroupByPayload<T extends outboxGroupByArgs> = Prisma.PrismaPromise<
|
|
248
|
-
Array<
|
|
249
|
-
Prisma.PickEnumerable<OutboxGroupByOutputType, T['by']> &
|
|
250
|
-
{
|
|
251
|
-
[P in ((keyof T) & (keyof OutboxGroupByOutputType))]: P extends '_count'
|
|
252
|
-
? T[P] extends boolean
|
|
253
|
-
? number
|
|
254
|
-
: Prisma.GetScalarType<T[P], OutboxGroupByOutputType[P]>
|
|
255
|
-
: Prisma.GetScalarType<T[P], OutboxGroupByOutputType[P]>
|
|
256
|
-
}
|
|
257
|
-
>
|
|
258
|
-
>
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
export type outboxWhereInput = {
|
|
263
|
-
AND?: Prisma.outboxWhereInput | Prisma.outboxWhereInput[]
|
|
264
|
-
OR?: Prisma.outboxWhereInput[]
|
|
265
|
-
NOT?: Prisma.outboxWhereInput | Prisma.outboxWhereInput[]
|
|
266
|
-
id?: Prisma.UuidFilter<"outbox"> | string
|
|
267
|
-
stream_type?: Prisma.StringFilter<"outbox"> | string
|
|
268
|
-
stream_id?: Prisma.StringFilter<"outbox"> | string
|
|
269
|
-
offset?: Prisma.BigIntFilter<"outbox"> | bigint | number
|
|
270
|
-
event_type?: Prisma.StringFilter<"outbox"> | string
|
|
271
|
-
channel?: Prisma.StringFilter<"outbox"> | string
|
|
272
|
-
message_type?: Prisma.StringFilter<"outbox"> | string
|
|
273
|
-
serialize_type?: Prisma.StringFilter<"outbox"> | string
|
|
274
|
-
telemetry_context?: Prisma.BytesNullableFilter<"outbox"> | runtime.Bytes | null
|
|
275
|
-
captured_by?: Prisma.StringFilter<"outbox"> | string
|
|
276
|
-
captured_at?: Prisma.DateTimeFilter<"outbox"> | Date | string
|
|
277
|
-
stored_at?: Prisma.DateTimeFilter<"outbox"> | Date | string
|
|
278
|
-
payload?: Prisma.JsonFilter<"outbox">
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
export type outboxOrderByWithRelationInput = {
|
|
282
|
-
id?: Prisma.SortOrder
|
|
283
|
-
stream_type?: Prisma.SortOrder
|
|
284
|
-
stream_id?: Prisma.SortOrder
|
|
285
|
-
offset?: Prisma.SortOrder
|
|
286
|
-
event_type?: Prisma.SortOrder
|
|
287
|
-
channel?: Prisma.SortOrder
|
|
288
|
-
message_type?: Prisma.SortOrder
|
|
289
|
-
serialize_type?: Prisma.SortOrder
|
|
290
|
-
telemetry_context?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
291
|
-
captured_by?: Prisma.SortOrder
|
|
292
|
-
captured_at?: Prisma.SortOrder
|
|
293
|
-
stored_at?: Prisma.SortOrder
|
|
294
|
-
payload?: Prisma.SortOrder
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export type outboxWhereUniqueInput = Prisma.AtLeast<{
|
|
298
|
-
captured_at_stream_type_stream_id_offset_channel_message_type?: Prisma.outboxCaptured_atStream_typeStream_idOffsetChannelMessage_typeCompoundUniqueInput
|
|
299
|
-
AND?: Prisma.outboxWhereInput | Prisma.outboxWhereInput[]
|
|
300
|
-
OR?: Prisma.outboxWhereInput[]
|
|
301
|
-
NOT?: Prisma.outboxWhereInput | Prisma.outboxWhereInput[]
|
|
302
|
-
id?: Prisma.UuidFilter<"outbox"> | string
|
|
303
|
-
stream_type?: Prisma.StringFilter<"outbox"> | string
|
|
304
|
-
stream_id?: Prisma.StringFilter<"outbox"> | string
|
|
305
|
-
offset?: Prisma.BigIntFilter<"outbox"> | bigint | number
|
|
306
|
-
event_type?: Prisma.StringFilter<"outbox"> | string
|
|
307
|
-
channel?: Prisma.StringFilter<"outbox"> | string
|
|
308
|
-
message_type?: Prisma.StringFilter<"outbox"> | string
|
|
309
|
-
serialize_type?: Prisma.StringFilter<"outbox"> | string
|
|
310
|
-
telemetry_context?: Prisma.BytesNullableFilter<"outbox"> | runtime.Bytes | null
|
|
311
|
-
captured_by?: Prisma.StringFilter<"outbox"> | string
|
|
312
|
-
captured_at?: Prisma.DateTimeFilter<"outbox"> | Date | string
|
|
313
|
-
stored_at?: Prisma.DateTimeFilter<"outbox"> | Date | string
|
|
314
|
-
payload?: Prisma.JsonFilter<"outbox">
|
|
315
|
-
}, "captured_at_stream_type_stream_id_offset_channel_message_type">
|
|
316
|
-
|
|
317
|
-
export type outboxOrderByWithAggregationInput = {
|
|
318
|
-
id?: Prisma.SortOrder
|
|
319
|
-
stream_type?: Prisma.SortOrder
|
|
320
|
-
stream_id?: Prisma.SortOrder
|
|
321
|
-
offset?: Prisma.SortOrder
|
|
322
|
-
event_type?: Prisma.SortOrder
|
|
323
|
-
channel?: Prisma.SortOrder
|
|
324
|
-
message_type?: Prisma.SortOrder
|
|
325
|
-
serialize_type?: Prisma.SortOrder
|
|
326
|
-
telemetry_context?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
-
captured_by?: Prisma.SortOrder
|
|
328
|
-
captured_at?: Prisma.SortOrder
|
|
329
|
-
stored_at?: Prisma.SortOrder
|
|
330
|
-
payload?: Prisma.SortOrder
|
|
331
|
-
_count?: Prisma.outboxCountOrderByAggregateInput
|
|
332
|
-
_avg?: Prisma.outboxAvgOrderByAggregateInput
|
|
333
|
-
_max?: Prisma.outboxMaxOrderByAggregateInput
|
|
334
|
-
_min?: Prisma.outboxMinOrderByAggregateInput
|
|
335
|
-
_sum?: Prisma.outboxSumOrderByAggregateInput
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export type outboxScalarWhereWithAggregatesInput = {
|
|
339
|
-
AND?: Prisma.outboxScalarWhereWithAggregatesInput | Prisma.outboxScalarWhereWithAggregatesInput[]
|
|
340
|
-
OR?: Prisma.outboxScalarWhereWithAggregatesInput[]
|
|
341
|
-
NOT?: Prisma.outboxScalarWhereWithAggregatesInput | Prisma.outboxScalarWhereWithAggregatesInput[]
|
|
342
|
-
id?: Prisma.UuidWithAggregatesFilter<"outbox"> | string
|
|
343
|
-
stream_type?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
344
|
-
stream_id?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
345
|
-
offset?: Prisma.BigIntWithAggregatesFilter<"outbox"> | bigint | number
|
|
346
|
-
event_type?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
347
|
-
channel?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
348
|
-
message_type?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
349
|
-
serialize_type?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
350
|
-
telemetry_context?: Prisma.BytesNullableWithAggregatesFilter<"outbox"> | runtime.Bytes | null
|
|
351
|
-
captured_by?: Prisma.StringWithAggregatesFilter<"outbox"> | string
|
|
352
|
-
captured_at?: Prisma.DateTimeWithAggregatesFilter<"outbox"> | Date | string
|
|
353
|
-
stored_at?: Prisma.DateTimeWithAggregatesFilter<"outbox"> | Date | string
|
|
354
|
-
payload?: Prisma.JsonWithAggregatesFilter<"outbox">
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
export type outboxCreateInput = {
|
|
358
|
-
id: string
|
|
359
|
-
stream_type: string
|
|
360
|
-
stream_id: string
|
|
361
|
-
offset: bigint | number
|
|
362
|
-
event_type: string
|
|
363
|
-
channel: string
|
|
364
|
-
message_type: string
|
|
365
|
-
serialize_type: string
|
|
366
|
-
telemetry_context?: runtime.Bytes | null
|
|
367
|
-
captured_by: string
|
|
368
|
-
captured_at: Date | string
|
|
369
|
-
stored_at?: Date | string
|
|
370
|
-
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
export type outboxUncheckedCreateInput = {
|
|
374
|
-
id: string
|
|
375
|
-
stream_type: string
|
|
376
|
-
stream_id: string
|
|
377
|
-
offset: bigint | number
|
|
378
|
-
event_type: string
|
|
379
|
-
channel: string
|
|
380
|
-
message_type: string
|
|
381
|
-
serialize_type: string
|
|
382
|
-
telemetry_context?: runtime.Bytes | null
|
|
383
|
-
captured_by: string
|
|
384
|
-
captured_at: Date | string
|
|
385
|
-
stored_at?: Date | string
|
|
386
|
-
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export type outboxUpdateInput = {
|
|
390
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
391
|
-
stream_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
392
|
-
stream_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
393
|
-
offset?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
394
|
-
event_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
395
|
-
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
396
|
-
message_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
397
|
-
serialize_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
-
telemetry_context?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
399
|
-
captured_by?: Prisma.StringFieldUpdateOperationsInput | string
|
|
400
|
-
captured_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
401
|
-
stored_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
402
|
-
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export type outboxUncheckedUpdateInput = {
|
|
406
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
-
stream_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
408
|
-
stream_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
409
|
-
offset?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
410
|
-
event_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
411
|
-
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
412
|
-
message_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
-
serialize_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
414
|
-
telemetry_context?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
415
|
-
captured_by?: Prisma.StringFieldUpdateOperationsInput | string
|
|
416
|
-
captured_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
417
|
-
stored_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
418
|
-
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
export type outboxCreateManyInput = {
|
|
422
|
-
id: string
|
|
423
|
-
stream_type: string
|
|
424
|
-
stream_id: string
|
|
425
|
-
offset: bigint | number
|
|
426
|
-
event_type: string
|
|
427
|
-
channel: string
|
|
428
|
-
message_type: string
|
|
429
|
-
serialize_type: string
|
|
430
|
-
telemetry_context?: runtime.Bytes | null
|
|
431
|
-
captured_by: string
|
|
432
|
-
captured_at: Date | string
|
|
433
|
-
stored_at?: Date | string
|
|
434
|
-
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
export type outboxUpdateManyMutationInput = {
|
|
438
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
439
|
-
stream_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
440
|
-
stream_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
441
|
-
offset?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
442
|
-
event_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
443
|
-
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
444
|
-
message_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
-
serialize_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
446
|
-
telemetry_context?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
447
|
-
captured_by?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
-
captured_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
449
|
-
stored_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
450
|
-
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
export type outboxUncheckedUpdateManyInput = {
|
|
454
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
455
|
-
stream_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
456
|
-
stream_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
457
|
-
offset?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
458
|
-
event_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
459
|
-
channel?: Prisma.StringFieldUpdateOperationsInput | string
|
|
460
|
-
message_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
461
|
-
serialize_type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
462
|
-
telemetry_context?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
463
|
-
captured_by?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
-
captured_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
465
|
-
stored_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
466
|
-
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
export type outboxCaptured_atStream_typeStream_idOffsetChannelMessage_typeCompoundUniqueInput = {
|
|
470
|
-
captured_at: Date | string
|
|
471
|
-
stream_type: string
|
|
472
|
-
stream_id: string
|
|
473
|
-
offset: bigint | number
|
|
474
|
-
channel: string
|
|
475
|
-
message_type: string
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
export type outboxCountOrderByAggregateInput = {
|
|
479
|
-
id?: Prisma.SortOrder
|
|
480
|
-
stream_type?: Prisma.SortOrder
|
|
481
|
-
stream_id?: Prisma.SortOrder
|
|
482
|
-
offset?: Prisma.SortOrder
|
|
483
|
-
event_type?: Prisma.SortOrder
|
|
484
|
-
channel?: Prisma.SortOrder
|
|
485
|
-
message_type?: Prisma.SortOrder
|
|
486
|
-
serialize_type?: Prisma.SortOrder
|
|
487
|
-
telemetry_context?: Prisma.SortOrder
|
|
488
|
-
captured_by?: Prisma.SortOrder
|
|
489
|
-
captured_at?: Prisma.SortOrder
|
|
490
|
-
stored_at?: Prisma.SortOrder
|
|
491
|
-
payload?: Prisma.SortOrder
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
export type outboxAvgOrderByAggregateInput = {
|
|
495
|
-
offset?: Prisma.SortOrder
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export type outboxMaxOrderByAggregateInput = {
|
|
499
|
-
id?: Prisma.SortOrder
|
|
500
|
-
stream_type?: Prisma.SortOrder
|
|
501
|
-
stream_id?: Prisma.SortOrder
|
|
502
|
-
offset?: Prisma.SortOrder
|
|
503
|
-
event_type?: Prisma.SortOrder
|
|
504
|
-
channel?: Prisma.SortOrder
|
|
505
|
-
message_type?: Prisma.SortOrder
|
|
506
|
-
serialize_type?: Prisma.SortOrder
|
|
507
|
-
telemetry_context?: Prisma.SortOrder
|
|
508
|
-
captured_by?: Prisma.SortOrder
|
|
509
|
-
captured_at?: Prisma.SortOrder
|
|
510
|
-
stored_at?: Prisma.SortOrder
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
export type outboxMinOrderByAggregateInput = {
|
|
514
|
-
id?: Prisma.SortOrder
|
|
515
|
-
stream_type?: Prisma.SortOrder
|
|
516
|
-
stream_id?: Prisma.SortOrder
|
|
517
|
-
offset?: Prisma.SortOrder
|
|
518
|
-
event_type?: Prisma.SortOrder
|
|
519
|
-
channel?: Prisma.SortOrder
|
|
520
|
-
message_type?: Prisma.SortOrder
|
|
521
|
-
serialize_type?: Prisma.SortOrder
|
|
522
|
-
telemetry_context?: Prisma.SortOrder
|
|
523
|
-
captured_by?: Prisma.SortOrder
|
|
524
|
-
captured_at?: Prisma.SortOrder
|
|
525
|
-
stored_at?: Prisma.SortOrder
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
export type outboxSumOrderByAggregateInput = {
|
|
529
|
-
offset?: Prisma.SortOrder
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export type NullableBytesFieldUpdateOperationsInput = {
|
|
533
|
-
set?: runtime.Bytes | null
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
export type outboxSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
539
|
-
id?: boolean
|
|
540
|
-
stream_type?: boolean
|
|
541
|
-
stream_id?: boolean
|
|
542
|
-
offset?: boolean
|
|
543
|
-
event_type?: boolean
|
|
544
|
-
channel?: boolean
|
|
545
|
-
message_type?: boolean
|
|
546
|
-
serialize_type?: boolean
|
|
547
|
-
telemetry_context?: boolean
|
|
548
|
-
captured_by?: boolean
|
|
549
|
-
captured_at?: boolean
|
|
550
|
-
stored_at?: boolean
|
|
551
|
-
payload?: boolean
|
|
552
|
-
}, ExtArgs["result"]["outbox"]>
|
|
553
|
-
|
|
554
|
-
export type outboxSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
555
|
-
id?: boolean
|
|
556
|
-
stream_type?: boolean
|
|
557
|
-
stream_id?: boolean
|
|
558
|
-
offset?: boolean
|
|
559
|
-
event_type?: boolean
|
|
560
|
-
channel?: boolean
|
|
561
|
-
message_type?: boolean
|
|
562
|
-
serialize_type?: boolean
|
|
563
|
-
telemetry_context?: boolean
|
|
564
|
-
captured_by?: boolean
|
|
565
|
-
captured_at?: boolean
|
|
566
|
-
stored_at?: boolean
|
|
567
|
-
payload?: boolean
|
|
568
|
-
}, ExtArgs["result"]["outbox"]>
|
|
569
|
-
|
|
570
|
-
export type outboxSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
571
|
-
id?: boolean
|
|
572
|
-
stream_type?: boolean
|
|
573
|
-
stream_id?: boolean
|
|
574
|
-
offset?: boolean
|
|
575
|
-
event_type?: boolean
|
|
576
|
-
channel?: boolean
|
|
577
|
-
message_type?: boolean
|
|
578
|
-
serialize_type?: boolean
|
|
579
|
-
telemetry_context?: boolean
|
|
580
|
-
captured_by?: boolean
|
|
581
|
-
captured_at?: boolean
|
|
582
|
-
stored_at?: boolean
|
|
583
|
-
payload?: boolean
|
|
584
|
-
}, ExtArgs["result"]["outbox"]>
|
|
585
|
-
|
|
586
|
-
export type outboxSelectScalar = {
|
|
587
|
-
id?: boolean
|
|
588
|
-
stream_type?: boolean
|
|
589
|
-
stream_id?: boolean
|
|
590
|
-
offset?: boolean
|
|
591
|
-
event_type?: boolean
|
|
592
|
-
channel?: boolean
|
|
593
|
-
message_type?: boolean
|
|
594
|
-
serialize_type?: boolean
|
|
595
|
-
telemetry_context?: boolean
|
|
596
|
-
captured_by?: boolean
|
|
597
|
-
captured_at?: boolean
|
|
598
|
-
stored_at?: boolean
|
|
599
|
-
payload?: boolean
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export type outboxOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "stream_type" | "stream_id" | "offset" | "event_type" | "channel" | "message_type" | "serialize_type" | "telemetry_context" | "captured_by" | "captured_at" | "stored_at" | "payload", ExtArgs["result"]["outbox"]>
|
|
603
|
-
|
|
604
|
-
export type $outboxPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
605
|
-
name: "outbox"
|
|
606
|
-
objects: {}
|
|
607
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
608
|
-
id: string
|
|
609
|
-
stream_type: string
|
|
610
|
-
stream_id: string
|
|
611
|
-
offset: bigint
|
|
612
|
-
event_type: string
|
|
613
|
-
channel: string
|
|
614
|
-
message_type: string
|
|
615
|
-
serialize_type: string
|
|
616
|
-
telemetry_context: runtime.Bytes | null
|
|
617
|
-
captured_by: string
|
|
618
|
-
captured_at: Date
|
|
619
|
-
stored_at: Date
|
|
620
|
-
payload: runtime.JsonValue
|
|
621
|
-
}, ExtArgs["result"]["outbox"]>
|
|
622
|
-
composites: {}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
export type outboxGetPayload<S extends boolean | null | undefined | outboxDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$outboxPayload, S>
|
|
626
|
-
|
|
627
|
-
export type outboxCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
628
|
-
Omit<outboxFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
629
|
-
select?: OutboxCountAggregateInputType | true
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export interface outboxDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
633
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['outbox'], meta: { name: 'outbox' } }
|
|
634
|
-
/**
|
|
635
|
-
* Find zero or one Outbox that matches the filter.
|
|
636
|
-
* @param {outboxFindUniqueArgs} args - Arguments to find a Outbox
|
|
637
|
-
* @example
|
|
638
|
-
* // Get one Outbox
|
|
639
|
-
* const outbox = await prisma.outbox.findUnique({
|
|
640
|
-
* where: {
|
|
641
|
-
* // ... provide filter here
|
|
642
|
-
* }
|
|
643
|
-
* })
|
|
644
|
-
*/
|
|
645
|
-
findUnique<T extends outboxFindUniqueArgs>(args: Prisma.SelectSubset<T, outboxFindUniqueArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* Find one Outbox that matches the filter or throw an error with `error.code='P2025'`
|
|
649
|
-
* if no matches were found.
|
|
650
|
-
* @param {outboxFindUniqueOrThrowArgs} args - Arguments to find a Outbox
|
|
651
|
-
* @example
|
|
652
|
-
* // Get one Outbox
|
|
653
|
-
* const outbox = await prisma.outbox.findUniqueOrThrow({
|
|
654
|
-
* where: {
|
|
655
|
-
* // ... provide filter here
|
|
656
|
-
* }
|
|
657
|
-
* })
|
|
658
|
-
*/
|
|
659
|
-
findUniqueOrThrow<T extends outboxFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, outboxFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
660
|
-
|
|
661
|
-
/**
|
|
662
|
-
* Find the first Outbox that matches the filter.
|
|
663
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
664
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
665
|
-
* @param {outboxFindFirstArgs} args - Arguments to find a Outbox
|
|
666
|
-
* @example
|
|
667
|
-
* // Get one Outbox
|
|
668
|
-
* const outbox = await prisma.outbox.findFirst({
|
|
669
|
-
* where: {
|
|
670
|
-
* // ... provide filter here
|
|
671
|
-
* }
|
|
672
|
-
* })
|
|
673
|
-
*/
|
|
674
|
-
findFirst<T extends outboxFindFirstArgs>(args?: Prisma.SelectSubset<T, outboxFindFirstArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* Find the first Outbox that matches the filter or
|
|
678
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
679
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
680
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
681
|
-
* @param {outboxFindFirstOrThrowArgs} args - Arguments to find a Outbox
|
|
682
|
-
* @example
|
|
683
|
-
* // Get one Outbox
|
|
684
|
-
* const outbox = await prisma.outbox.findFirstOrThrow({
|
|
685
|
-
* where: {
|
|
686
|
-
* // ... provide filter here
|
|
687
|
-
* }
|
|
688
|
-
* })
|
|
689
|
-
*/
|
|
690
|
-
findFirstOrThrow<T extends outboxFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, outboxFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Find zero or more Outboxes that matches the filter.
|
|
694
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
695
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
696
|
-
* @param {outboxFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
697
|
-
* @example
|
|
698
|
-
* // Get all Outboxes
|
|
699
|
-
* const outboxes = await prisma.outbox.findMany()
|
|
700
|
-
*
|
|
701
|
-
* // Get first 10 Outboxes
|
|
702
|
-
* const outboxes = await prisma.outbox.findMany({ take: 10 })
|
|
703
|
-
*
|
|
704
|
-
* // Only select the `id`
|
|
705
|
-
* const outboxWithIdOnly = await prisma.outbox.findMany({ select: { id: true } })
|
|
706
|
-
*
|
|
707
|
-
*/
|
|
708
|
-
findMany<T extends outboxFindManyArgs>(args?: Prisma.SelectSubset<T, outboxFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* Create a Outbox.
|
|
712
|
-
* @param {outboxCreateArgs} args - Arguments to create a Outbox.
|
|
713
|
-
* @example
|
|
714
|
-
* // Create one Outbox
|
|
715
|
-
* const Outbox = await prisma.outbox.create({
|
|
716
|
-
* data: {
|
|
717
|
-
* // ... data to create a Outbox
|
|
718
|
-
* }
|
|
719
|
-
* })
|
|
720
|
-
*
|
|
721
|
-
*/
|
|
722
|
-
create<T extends outboxCreateArgs>(args: Prisma.SelectSubset<T, outboxCreateArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Create many Outboxes.
|
|
726
|
-
* @param {outboxCreateManyArgs} args - Arguments to create many Outboxes.
|
|
727
|
-
* @example
|
|
728
|
-
* // Create many Outboxes
|
|
729
|
-
* const outbox = await prisma.outbox.createMany({
|
|
730
|
-
* data: [
|
|
731
|
-
* // ... provide data here
|
|
732
|
-
* ]
|
|
733
|
-
* })
|
|
734
|
-
*
|
|
735
|
-
*/
|
|
736
|
-
createMany<T extends outboxCreateManyArgs>(args?: Prisma.SelectSubset<T, outboxCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* Create many Outboxes and returns the data saved in the database.
|
|
740
|
-
* @param {outboxCreateManyAndReturnArgs} args - Arguments to create many Outboxes.
|
|
741
|
-
* @example
|
|
742
|
-
* // Create many Outboxes
|
|
743
|
-
* const outbox = await prisma.outbox.createManyAndReturn({
|
|
744
|
-
* data: [
|
|
745
|
-
* // ... provide data here
|
|
746
|
-
* ]
|
|
747
|
-
* })
|
|
748
|
-
*
|
|
749
|
-
* // Create many Outboxes and only return the `id`
|
|
750
|
-
* const outboxWithIdOnly = await prisma.outbox.createManyAndReturn({
|
|
751
|
-
* select: { id: true },
|
|
752
|
-
* data: [
|
|
753
|
-
* // ... provide data here
|
|
754
|
-
* ]
|
|
755
|
-
* })
|
|
756
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
757
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
758
|
-
*
|
|
759
|
-
*/
|
|
760
|
-
createManyAndReturn<T extends outboxCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, outboxCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Delete a Outbox.
|
|
764
|
-
* @param {outboxDeleteArgs} args - Arguments to delete one Outbox.
|
|
765
|
-
* @example
|
|
766
|
-
* // Delete one Outbox
|
|
767
|
-
* const Outbox = await prisma.outbox.delete({
|
|
768
|
-
* where: {
|
|
769
|
-
* // ... filter to delete one Outbox
|
|
770
|
-
* }
|
|
771
|
-
* })
|
|
772
|
-
*
|
|
773
|
-
*/
|
|
774
|
-
delete<T extends outboxDeleteArgs>(args: Prisma.SelectSubset<T, outboxDeleteArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* Update one Outbox.
|
|
778
|
-
* @param {outboxUpdateArgs} args - Arguments to update one Outbox.
|
|
779
|
-
* @example
|
|
780
|
-
* // Update one Outbox
|
|
781
|
-
* const outbox = await prisma.outbox.update({
|
|
782
|
-
* where: {
|
|
783
|
-
* // ... provide filter here
|
|
784
|
-
* },
|
|
785
|
-
* data: {
|
|
786
|
-
* // ... provide data here
|
|
787
|
-
* }
|
|
788
|
-
* })
|
|
789
|
-
*
|
|
790
|
-
*/
|
|
791
|
-
update<T extends outboxUpdateArgs>(args: Prisma.SelectSubset<T, outboxUpdateArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Delete zero or more Outboxes.
|
|
795
|
-
* @param {outboxDeleteManyArgs} args - Arguments to filter Outboxes to delete.
|
|
796
|
-
* @example
|
|
797
|
-
* // Delete a few Outboxes
|
|
798
|
-
* const { count } = await prisma.outbox.deleteMany({
|
|
799
|
-
* where: {
|
|
800
|
-
* // ... provide filter here
|
|
801
|
-
* }
|
|
802
|
-
* })
|
|
803
|
-
*
|
|
804
|
-
*/
|
|
805
|
-
deleteMany<T extends outboxDeleteManyArgs>(args?: Prisma.SelectSubset<T, outboxDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Update zero or more Outboxes.
|
|
809
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
810
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
811
|
-
* @param {outboxUpdateManyArgs} args - Arguments to update one or more rows.
|
|
812
|
-
* @example
|
|
813
|
-
* // Update many Outboxes
|
|
814
|
-
* const outbox = await prisma.outbox.updateMany({
|
|
815
|
-
* where: {
|
|
816
|
-
* // ... provide filter here
|
|
817
|
-
* },
|
|
818
|
-
* data: {
|
|
819
|
-
* // ... provide data here
|
|
820
|
-
* }
|
|
821
|
-
* })
|
|
822
|
-
*
|
|
823
|
-
*/
|
|
824
|
-
updateMany<T extends outboxUpdateManyArgs>(args: Prisma.SelectSubset<T, outboxUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* Update zero or more Outboxes and returns the data updated in the database.
|
|
828
|
-
* @param {outboxUpdateManyAndReturnArgs} args - Arguments to update many Outboxes.
|
|
829
|
-
* @example
|
|
830
|
-
* // Update many Outboxes
|
|
831
|
-
* const outbox = await prisma.outbox.updateManyAndReturn({
|
|
832
|
-
* where: {
|
|
833
|
-
* // ... provide filter here
|
|
834
|
-
* },
|
|
835
|
-
* data: [
|
|
836
|
-
* // ... provide data here
|
|
837
|
-
* ]
|
|
838
|
-
* })
|
|
839
|
-
*
|
|
840
|
-
* // Update zero or more Outboxes and only return the `id`
|
|
841
|
-
* const outboxWithIdOnly = await prisma.outbox.updateManyAndReturn({
|
|
842
|
-
* select: { id: true },
|
|
843
|
-
* where: {
|
|
844
|
-
* // ... provide filter here
|
|
845
|
-
* },
|
|
846
|
-
* data: [
|
|
847
|
-
* // ... provide data here
|
|
848
|
-
* ]
|
|
849
|
-
* })
|
|
850
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
851
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
852
|
-
*
|
|
853
|
-
*/
|
|
854
|
-
updateManyAndReturn<T extends outboxUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, outboxUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* Create or update one Outbox.
|
|
858
|
-
* @param {outboxUpsertArgs} args - Arguments to update or create a Outbox.
|
|
859
|
-
* @example
|
|
860
|
-
* // Update or create a Outbox
|
|
861
|
-
* const outbox = await prisma.outbox.upsert({
|
|
862
|
-
* create: {
|
|
863
|
-
* // ... data to create a Outbox
|
|
864
|
-
* },
|
|
865
|
-
* update: {
|
|
866
|
-
* // ... in case it already exists, update
|
|
867
|
-
* },
|
|
868
|
-
* where: {
|
|
869
|
-
* // ... the filter for the Outbox we want to update
|
|
870
|
-
* }
|
|
871
|
-
* })
|
|
872
|
-
*/
|
|
873
|
-
upsert<T extends outboxUpsertArgs>(args: Prisma.SelectSubset<T, outboxUpsertArgs<ExtArgs>>): Prisma.Prisma__outboxClient<runtime.Types.Result.GetResult<Prisma.$outboxPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* Count the number of Outboxes.
|
|
878
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
879
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
880
|
-
* @param {outboxCountArgs} args - Arguments to filter Outboxes to count.
|
|
881
|
-
* @example
|
|
882
|
-
* // Count the number of Outboxes
|
|
883
|
-
* const count = await prisma.outbox.count({
|
|
884
|
-
* where: {
|
|
885
|
-
* // ... the filter for the Outboxes we want to count
|
|
886
|
-
* }
|
|
887
|
-
* })
|
|
888
|
-
**/
|
|
889
|
-
count<T extends outboxCountArgs>(
|
|
890
|
-
args?: Prisma.Subset<T, outboxCountArgs>,
|
|
891
|
-
): Prisma.PrismaPromise<
|
|
892
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
893
|
-
? T['select'] extends true
|
|
894
|
-
? number
|
|
895
|
-
: Prisma.GetScalarType<T['select'], OutboxCountAggregateOutputType>
|
|
896
|
-
: number
|
|
897
|
-
>
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Allows you to perform aggregations operations on a Outbox.
|
|
901
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
902
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
903
|
-
* @param {OutboxAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
904
|
-
* @example
|
|
905
|
-
* // Ordered by age ascending
|
|
906
|
-
* // Where email contains prisma.io
|
|
907
|
-
* // Limited to the 10 users
|
|
908
|
-
* const aggregations = await prisma.user.aggregate({
|
|
909
|
-
* _avg: {
|
|
910
|
-
* age: true,
|
|
911
|
-
* },
|
|
912
|
-
* where: {
|
|
913
|
-
* email: {
|
|
914
|
-
* contains: "prisma.io",
|
|
915
|
-
* },
|
|
916
|
-
* },
|
|
917
|
-
* orderBy: {
|
|
918
|
-
* age: "asc",
|
|
919
|
-
* },
|
|
920
|
-
* take: 10,
|
|
921
|
-
* })
|
|
922
|
-
**/
|
|
923
|
-
aggregate<T extends OutboxAggregateArgs>(args: Prisma.Subset<T, OutboxAggregateArgs>): Prisma.PrismaPromise<GetOutboxAggregateType<T>>
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* Group by Outbox.
|
|
927
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
928
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
929
|
-
* @param {outboxGroupByArgs} args - Group by arguments.
|
|
930
|
-
* @example
|
|
931
|
-
* // Group by city, order by createdAt, get count
|
|
932
|
-
* const result = await prisma.user.groupBy({
|
|
933
|
-
* by: ['city', 'createdAt'],
|
|
934
|
-
* orderBy: {
|
|
935
|
-
* createdAt: true
|
|
936
|
-
* },
|
|
937
|
-
* _count: {
|
|
938
|
-
* _all: true
|
|
939
|
-
* },
|
|
940
|
-
* })
|
|
941
|
-
*
|
|
942
|
-
**/
|
|
943
|
-
groupBy<
|
|
944
|
-
T extends outboxGroupByArgs,
|
|
945
|
-
HasSelectOrTake extends Prisma.Or<
|
|
946
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
947
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
948
|
-
>,
|
|
949
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
950
|
-
? { orderBy: outboxGroupByArgs['orderBy'] }
|
|
951
|
-
: { orderBy?: outboxGroupByArgs['orderBy'] },
|
|
952
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
953
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
954
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
955
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
956
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
957
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
958
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
959
|
-
? `Error: "by" must not be empty.`
|
|
960
|
-
: HavingValid extends Prisma.False
|
|
961
|
-
? {
|
|
962
|
-
[P in HavingFields]: P extends ByFields
|
|
963
|
-
? never
|
|
964
|
-
: P extends string
|
|
965
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
966
|
-
: [
|
|
967
|
-
Error,
|
|
968
|
-
'Field ',
|
|
969
|
-
P,
|
|
970
|
-
` in "having" needs to be provided in "by"`,
|
|
971
|
-
]
|
|
972
|
-
}[HavingFields]
|
|
973
|
-
: 'take' extends Prisma.Keys<T>
|
|
974
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
975
|
-
? ByValid extends Prisma.True
|
|
976
|
-
? {}
|
|
977
|
-
: {
|
|
978
|
-
[P in OrderFields]: P extends ByFields
|
|
979
|
-
? never
|
|
980
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
981
|
-
}[OrderFields]
|
|
982
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
983
|
-
: 'skip' extends Prisma.Keys<T>
|
|
984
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
985
|
-
? ByValid extends Prisma.True
|
|
986
|
-
? {}
|
|
987
|
-
: {
|
|
988
|
-
[P in OrderFields]: P extends ByFields
|
|
989
|
-
? never
|
|
990
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
991
|
-
}[OrderFields]
|
|
992
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
993
|
-
: ByValid extends Prisma.True
|
|
994
|
-
? {}
|
|
995
|
-
: {
|
|
996
|
-
[P in OrderFields]: P extends ByFields
|
|
997
|
-
? never
|
|
998
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
999
|
-
}[OrderFields]
|
|
1000
|
-
>(args: Prisma.SubsetIntersection<T, outboxGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOutboxGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1001
|
-
/**
|
|
1002
|
-
* Fields of the outbox model
|
|
1003
|
-
*/
|
|
1004
|
-
readonly fields: outboxFieldRefs;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* The delegate class that acts as a "Promise-like" for outbox.
|
|
1009
|
-
* Why is this prefixed with `Prisma__`?
|
|
1010
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1011
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1012
|
-
*/
|
|
1013
|
-
export interface Prisma__outboxClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1014
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1015
|
-
/**
|
|
1016
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1017
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1018
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1019
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1020
|
-
*/
|
|
1021
|
-
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>
|
|
1022
|
-
/**
|
|
1023
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1024
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1025
|
-
* @returns A Promise for the completion of the callback.
|
|
1026
|
-
*/
|
|
1027
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1028
|
-
/**
|
|
1029
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1030
|
-
* resolved value cannot be modified from the callback.
|
|
1031
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1032
|
-
* @returns A Promise for the completion of the callback.
|
|
1033
|
-
*/
|
|
1034
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* Fields of the outbox model
|
|
1042
|
-
*/
|
|
1043
|
-
export interface outboxFieldRefs {
|
|
1044
|
-
readonly id: Prisma.FieldRef<"outbox", 'String'>
|
|
1045
|
-
readonly stream_type: Prisma.FieldRef<"outbox", 'String'>
|
|
1046
|
-
readonly stream_id: Prisma.FieldRef<"outbox", 'String'>
|
|
1047
|
-
readonly offset: Prisma.FieldRef<"outbox", 'BigInt'>
|
|
1048
|
-
readonly event_type: Prisma.FieldRef<"outbox", 'String'>
|
|
1049
|
-
readonly channel: Prisma.FieldRef<"outbox", 'String'>
|
|
1050
|
-
readonly message_type: Prisma.FieldRef<"outbox", 'String'>
|
|
1051
|
-
readonly serialize_type: Prisma.FieldRef<"outbox", 'String'>
|
|
1052
|
-
readonly telemetry_context: Prisma.FieldRef<"outbox", 'Bytes'>
|
|
1053
|
-
readonly captured_by: Prisma.FieldRef<"outbox", 'String'>
|
|
1054
|
-
readonly captured_at: Prisma.FieldRef<"outbox", 'DateTime'>
|
|
1055
|
-
readonly stored_at: Prisma.FieldRef<"outbox", 'DateTime'>
|
|
1056
|
-
readonly payload: Prisma.FieldRef<"outbox", 'Json'>
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
// Custom InputTypes
|
|
1061
|
-
/**
|
|
1062
|
-
* outbox findUnique
|
|
1063
|
-
*/
|
|
1064
|
-
export type outboxFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1065
|
-
/**
|
|
1066
|
-
* Select specific fields to fetch from the outbox
|
|
1067
|
-
*/
|
|
1068
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1069
|
-
/**
|
|
1070
|
-
* Omit specific fields from the outbox
|
|
1071
|
-
*/
|
|
1072
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1073
|
-
/**
|
|
1074
|
-
* Filter, which outbox to fetch.
|
|
1075
|
-
*/
|
|
1076
|
-
where: Prisma.outboxWhereUniqueInput
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* outbox findUniqueOrThrow
|
|
1081
|
-
*/
|
|
1082
|
-
export type outboxFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
-
/**
|
|
1084
|
-
* Select specific fields to fetch from the outbox
|
|
1085
|
-
*/
|
|
1086
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1087
|
-
/**
|
|
1088
|
-
* Omit specific fields from the outbox
|
|
1089
|
-
*/
|
|
1090
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1091
|
-
/**
|
|
1092
|
-
* Filter, which outbox to fetch.
|
|
1093
|
-
*/
|
|
1094
|
-
where: Prisma.outboxWhereUniqueInput
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* outbox findFirst
|
|
1099
|
-
*/
|
|
1100
|
-
export type outboxFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1101
|
-
/**
|
|
1102
|
-
* Select specific fields to fetch from the outbox
|
|
1103
|
-
*/
|
|
1104
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1105
|
-
/**
|
|
1106
|
-
* Omit specific fields from the outbox
|
|
1107
|
-
*/
|
|
1108
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1109
|
-
/**
|
|
1110
|
-
* Filter, which outbox to fetch.
|
|
1111
|
-
*/
|
|
1112
|
-
where?: Prisma.outboxWhereInput
|
|
1113
|
-
/**
|
|
1114
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1115
|
-
*
|
|
1116
|
-
* Determine the order of outboxes to fetch.
|
|
1117
|
-
*/
|
|
1118
|
-
orderBy?: Prisma.outboxOrderByWithRelationInput | Prisma.outboxOrderByWithRelationInput[]
|
|
1119
|
-
/**
|
|
1120
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1121
|
-
*
|
|
1122
|
-
* Sets the position for searching for outboxes.
|
|
1123
|
-
*/
|
|
1124
|
-
cursor?: Prisma.outboxWhereUniqueInput
|
|
1125
|
-
/**
|
|
1126
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1127
|
-
*
|
|
1128
|
-
* Take `±n` outboxes from the position of the cursor.
|
|
1129
|
-
*/
|
|
1130
|
-
take?: number
|
|
1131
|
-
/**
|
|
1132
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1133
|
-
*
|
|
1134
|
-
* Skip the first `n` outboxes.
|
|
1135
|
-
*/
|
|
1136
|
-
skip?: number
|
|
1137
|
-
/**
|
|
1138
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1139
|
-
*
|
|
1140
|
-
* Filter by unique combinations of outboxes.
|
|
1141
|
-
*/
|
|
1142
|
-
distinct?: Prisma.OutboxScalarFieldEnum | Prisma.OutboxScalarFieldEnum[]
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* outbox findFirstOrThrow
|
|
1147
|
-
*/
|
|
1148
|
-
export type outboxFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1149
|
-
/**
|
|
1150
|
-
* Select specific fields to fetch from the outbox
|
|
1151
|
-
*/
|
|
1152
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1153
|
-
/**
|
|
1154
|
-
* Omit specific fields from the outbox
|
|
1155
|
-
*/
|
|
1156
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1157
|
-
/**
|
|
1158
|
-
* Filter, which outbox to fetch.
|
|
1159
|
-
*/
|
|
1160
|
-
where?: Prisma.outboxWhereInput
|
|
1161
|
-
/**
|
|
1162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1163
|
-
*
|
|
1164
|
-
* Determine the order of outboxes to fetch.
|
|
1165
|
-
*/
|
|
1166
|
-
orderBy?: Prisma.outboxOrderByWithRelationInput | Prisma.outboxOrderByWithRelationInput[]
|
|
1167
|
-
/**
|
|
1168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1169
|
-
*
|
|
1170
|
-
* Sets the position for searching for outboxes.
|
|
1171
|
-
*/
|
|
1172
|
-
cursor?: Prisma.outboxWhereUniqueInput
|
|
1173
|
-
/**
|
|
1174
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1175
|
-
*
|
|
1176
|
-
* Take `±n` outboxes from the position of the cursor.
|
|
1177
|
-
*/
|
|
1178
|
-
take?: number
|
|
1179
|
-
/**
|
|
1180
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1181
|
-
*
|
|
1182
|
-
* Skip the first `n` outboxes.
|
|
1183
|
-
*/
|
|
1184
|
-
skip?: number
|
|
1185
|
-
/**
|
|
1186
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1187
|
-
*
|
|
1188
|
-
* Filter by unique combinations of outboxes.
|
|
1189
|
-
*/
|
|
1190
|
-
distinct?: Prisma.OutboxScalarFieldEnum | Prisma.OutboxScalarFieldEnum[]
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* outbox findMany
|
|
1195
|
-
*/
|
|
1196
|
-
export type outboxFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1197
|
-
/**
|
|
1198
|
-
* Select specific fields to fetch from the outbox
|
|
1199
|
-
*/
|
|
1200
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1201
|
-
/**
|
|
1202
|
-
* Omit specific fields from the outbox
|
|
1203
|
-
*/
|
|
1204
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1205
|
-
/**
|
|
1206
|
-
* Filter, which outboxes to fetch.
|
|
1207
|
-
*/
|
|
1208
|
-
where?: Prisma.outboxWhereInput
|
|
1209
|
-
/**
|
|
1210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1211
|
-
*
|
|
1212
|
-
* Determine the order of outboxes to fetch.
|
|
1213
|
-
*/
|
|
1214
|
-
orderBy?: Prisma.outboxOrderByWithRelationInput | Prisma.outboxOrderByWithRelationInput[]
|
|
1215
|
-
/**
|
|
1216
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1217
|
-
*
|
|
1218
|
-
* Sets the position for listing outboxes.
|
|
1219
|
-
*/
|
|
1220
|
-
cursor?: Prisma.outboxWhereUniqueInput
|
|
1221
|
-
/**
|
|
1222
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1223
|
-
*
|
|
1224
|
-
* Take `±n` outboxes from the position of the cursor.
|
|
1225
|
-
*/
|
|
1226
|
-
take?: number
|
|
1227
|
-
/**
|
|
1228
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1229
|
-
*
|
|
1230
|
-
* Skip the first `n` outboxes.
|
|
1231
|
-
*/
|
|
1232
|
-
skip?: number
|
|
1233
|
-
distinct?: Prisma.OutboxScalarFieldEnum | Prisma.OutboxScalarFieldEnum[]
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
/**
|
|
1237
|
-
* outbox create
|
|
1238
|
-
*/
|
|
1239
|
-
export type outboxCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1240
|
-
/**
|
|
1241
|
-
* Select specific fields to fetch from the outbox
|
|
1242
|
-
*/
|
|
1243
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1244
|
-
/**
|
|
1245
|
-
* Omit specific fields from the outbox
|
|
1246
|
-
*/
|
|
1247
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1248
|
-
/**
|
|
1249
|
-
* The data needed to create a outbox.
|
|
1250
|
-
*/
|
|
1251
|
-
data: Prisma.XOR<Prisma.outboxCreateInput, Prisma.outboxUncheckedCreateInput>
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
/**
|
|
1255
|
-
* outbox createMany
|
|
1256
|
-
*/
|
|
1257
|
-
export type outboxCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1258
|
-
/**
|
|
1259
|
-
* The data used to create many outboxes.
|
|
1260
|
-
*/
|
|
1261
|
-
data: Prisma.outboxCreateManyInput | Prisma.outboxCreateManyInput[]
|
|
1262
|
-
skipDuplicates?: boolean
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
/**
|
|
1266
|
-
* outbox createManyAndReturn
|
|
1267
|
-
*/
|
|
1268
|
-
export type outboxCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
-
/**
|
|
1270
|
-
* Select specific fields to fetch from the outbox
|
|
1271
|
-
*/
|
|
1272
|
-
select?: Prisma.outboxSelectCreateManyAndReturn<ExtArgs> | null
|
|
1273
|
-
/**
|
|
1274
|
-
* Omit specific fields from the outbox
|
|
1275
|
-
*/
|
|
1276
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1277
|
-
/**
|
|
1278
|
-
* The data used to create many outboxes.
|
|
1279
|
-
*/
|
|
1280
|
-
data: Prisma.outboxCreateManyInput | Prisma.outboxCreateManyInput[]
|
|
1281
|
-
skipDuplicates?: boolean
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* outbox update
|
|
1286
|
-
*/
|
|
1287
|
-
export type outboxUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1288
|
-
/**
|
|
1289
|
-
* Select specific fields to fetch from the outbox
|
|
1290
|
-
*/
|
|
1291
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1292
|
-
/**
|
|
1293
|
-
* Omit specific fields from the outbox
|
|
1294
|
-
*/
|
|
1295
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1296
|
-
/**
|
|
1297
|
-
* The data needed to update a outbox.
|
|
1298
|
-
*/
|
|
1299
|
-
data: Prisma.XOR<Prisma.outboxUpdateInput, Prisma.outboxUncheckedUpdateInput>
|
|
1300
|
-
/**
|
|
1301
|
-
* Choose, which outbox to update.
|
|
1302
|
-
*/
|
|
1303
|
-
where: Prisma.outboxWhereUniqueInput
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* outbox updateMany
|
|
1308
|
-
*/
|
|
1309
|
-
export type outboxUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1310
|
-
/**
|
|
1311
|
-
* The data used to update outboxes.
|
|
1312
|
-
*/
|
|
1313
|
-
data: Prisma.XOR<Prisma.outboxUpdateManyMutationInput, Prisma.outboxUncheckedUpdateManyInput>
|
|
1314
|
-
/**
|
|
1315
|
-
* Filter which outboxes to update
|
|
1316
|
-
*/
|
|
1317
|
-
where?: Prisma.outboxWhereInput
|
|
1318
|
-
/**
|
|
1319
|
-
* Limit how many outboxes to update.
|
|
1320
|
-
*/
|
|
1321
|
-
limit?: number
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* outbox updateManyAndReturn
|
|
1326
|
-
*/
|
|
1327
|
-
export type outboxUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1328
|
-
/**
|
|
1329
|
-
* Select specific fields to fetch from the outbox
|
|
1330
|
-
*/
|
|
1331
|
-
select?: Prisma.outboxSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1332
|
-
/**
|
|
1333
|
-
* Omit specific fields from the outbox
|
|
1334
|
-
*/
|
|
1335
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1336
|
-
/**
|
|
1337
|
-
* The data used to update outboxes.
|
|
1338
|
-
*/
|
|
1339
|
-
data: Prisma.XOR<Prisma.outboxUpdateManyMutationInput, Prisma.outboxUncheckedUpdateManyInput>
|
|
1340
|
-
/**
|
|
1341
|
-
* Filter which outboxes to update
|
|
1342
|
-
*/
|
|
1343
|
-
where?: Prisma.outboxWhereInput
|
|
1344
|
-
/**
|
|
1345
|
-
* Limit how many outboxes to update.
|
|
1346
|
-
*/
|
|
1347
|
-
limit?: number
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* outbox upsert
|
|
1352
|
-
*/
|
|
1353
|
-
export type outboxUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1354
|
-
/**
|
|
1355
|
-
* Select specific fields to fetch from the outbox
|
|
1356
|
-
*/
|
|
1357
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1358
|
-
/**
|
|
1359
|
-
* Omit specific fields from the outbox
|
|
1360
|
-
*/
|
|
1361
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1362
|
-
/**
|
|
1363
|
-
* The filter to search for the outbox to update in case it exists.
|
|
1364
|
-
*/
|
|
1365
|
-
where: Prisma.outboxWhereUniqueInput
|
|
1366
|
-
/**
|
|
1367
|
-
* In case the outbox found by the `where` argument doesn't exist, create a new outbox with this data.
|
|
1368
|
-
*/
|
|
1369
|
-
create: Prisma.XOR<Prisma.outboxCreateInput, Prisma.outboxUncheckedCreateInput>
|
|
1370
|
-
/**
|
|
1371
|
-
* In case the outbox was found with the provided `where` argument, update it with this data.
|
|
1372
|
-
*/
|
|
1373
|
-
update: Prisma.XOR<Prisma.outboxUpdateInput, Prisma.outboxUncheckedUpdateInput>
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* outbox delete
|
|
1378
|
-
*/
|
|
1379
|
-
export type outboxDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1380
|
-
/**
|
|
1381
|
-
* Select specific fields to fetch from the outbox
|
|
1382
|
-
*/
|
|
1383
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1384
|
-
/**
|
|
1385
|
-
* Omit specific fields from the outbox
|
|
1386
|
-
*/
|
|
1387
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1388
|
-
/**
|
|
1389
|
-
* Filter which outbox to delete.
|
|
1390
|
-
*/
|
|
1391
|
-
where: Prisma.outboxWhereUniqueInput
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* outbox deleteMany
|
|
1396
|
-
*/
|
|
1397
|
-
export type outboxDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
|
-
/**
|
|
1399
|
-
* Filter which outboxes to delete
|
|
1400
|
-
*/
|
|
1401
|
-
where?: Prisma.outboxWhereInput
|
|
1402
|
-
/**
|
|
1403
|
-
* Limit how many outboxes to delete.
|
|
1404
|
-
*/
|
|
1405
|
-
limit?: number
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* outbox without action
|
|
1410
|
-
*/
|
|
1411
|
-
export type outboxDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1412
|
-
/**
|
|
1413
|
-
* Select specific fields to fetch from the outbox
|
|
1414
|
-
*/
|
|
1415
|
-
select?: Prisma.outboxSelect<ExtArgs> | null
|
|
1416
|
-
/**
|
|
1417
|
-
* Omit specific fields from the outbox
|
|
1418
|
-
*/
|
|
1419
|
-
omit?: Prisma.outboxOmit<ExtArgs> | null
|
|
1420
|
-
}
|