@valentine-efagene/qshelter-common 2.0.19 → 2.0.22
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/generated/client/browser.d.ts +45 -30
- package/dist/generated/client/client.d.ts +45 -30
- package/dist/generated/client/commonInputTypes.d.ts +40 -0
- package/dist/generated/client/internal/class.d.ts +93 -60
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
- package/dist/generated/client/internal/prismaNamespace.js +313 -190
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
- package/dist/generated/client/models/Amenity.d.ts +168 -1
- package/dist/generated/client/models/Contract.d.ts +2037 -298
- package/dist/generated/client/models/ContractDocument.d.ts +299 -12
- package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
- package/dist/generated/client/models/ContractEvent.js +1 -0
- package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
- package/dist/generated/client/models/ContractInstallment.js +1 -0
- package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
- package/dist/generated/client/models/ContractPayment.js +1 -0
- package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
- package/dist/generated/client/models/ContractPhase.js +1 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
- package/dist/generated/client/models/ContractPhaseStep.js +1 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
- package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
- package/dist/generated/client/models/ContractTransition.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
- package/dist/generated/client/models/DomainEvent.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
- package/dist/generated/client/models/Property.d.ts +154 -684
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
- package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
- package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
- package/dist/generated/client/models/PropertyUnit.js +1 -0
- package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
- package/dist/generated/client/models/PropertyVariant.js +1 -0
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
- package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
- package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
- package/dist/generated/client/models/User.d.ts +684 -427
- package/dist/generated/client/models/index.d.ts +15 -12
- package/dist/generated/client/models/index.js +15 -12
- package/dist/generated/client/models.d.ts +15 -12
- package/dist/src/config/config.service.d.ts +0 -1
- package/dist/src/config/config.service.js +0 -1
- package/package.json +2 -1
- package/prisma/schema.prisma +544 -269
|
@@ -0,0 +1,1240 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model DomainEvent
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type DomainEventModel = runtime.Types.Result.DefaultSelection<Prisma.$DomainEventPayload>;
|
|
8
|
+
export type AggregateDomainEvent = {
|
|
9
|
+
_count: DomainEventCountAggregateOutputType | null;
|
|
10
|
+
_avg: DomainEventAvgAggregateOutputType | null;
|
|
11
|
+
_sum: DomainEventSumAggregateOutputType | null;
|
|
12
|
+
_min: DomainEventMinAggregateOutputType | null;
|
|
13
|
+
_max: DomainEventMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type DomainEventAvgAggregateOutputType = {
|
|
16
|
+
failureCount: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type DomainEventSumAggregateOutputType = {
|
|
19
|
+
failureCount: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type DomainEventMinAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
eventType: string | null;
|
|
24
|
+
aggregateType: string | null;
|
|
25
|
+
aggregateId: string | null;
|
|
26
|
+
queueName: string | null;
|
|
27
|
+
payload: string | null;
|
|
28
|
+
occurredAt: Date | null;
|
|
29
|
+
actorId: string | null;
|
|
30
|
+
actorRole: string | null;
|
|
31
|
+
status: string | null;
|
|
32
|
+
processedAt: Date | null;
|
|
33
|
+
sentAt: Date | null;
|
|
34
|
+
failureCount: number | null;
|
|
35
|
+
lastError: string | null;
|
|
36
|
+
nextRetryAt: Date | null;
|
|
37
|
+
createdAt: Date | null;
|
|
38
|
+
updatedAt: Date | null;
|
|
39
|
+
};
|
|
40
|
+
export type DomainEventMaxAggregateOutputType = {
|
|
41
|
+
id: string | null;
|
|
42
|
+
eventType: string | null;
|
|
43
|
+
aggregateType: string | null;
|
|
44
|
+
aggregateId: string | null;
|
|
45
|
+
queueName: string | null;
|
|
46
|
+
payload: string | null;
|
|
47
|
+
occurredAt: Date | null;
|
|
48
|
+
actorId: string | null;
|
|
49
|
+
actorRole: string | null;
|
|
50
|
+
status: string | null;
|
|
51
|
+
processedAt: Date | null;
|
|
52
|
+
sentAt: Date | null;
|
|
53
|
+
failureCount: number | null;
|
|
54
|
+
lastError: string | null;
|
|
55
|
+
nextRetryAt: Date | null;
|
|
56
|
+
createdAt: Date | null;
|
|
57
|
+
updatedAt: Date | null;
|
|
58
|
+
};
|
|
59
|
+
export type DomainEventCountAggregateOutputType = {
|
|
60
|
+
id: number;
|
|
61
|
+
eventType: number;
|
|
62
|
+
aggregateType: number;
|
|
63
|
+
aggregateId: number;
|
|
64
|
+
queueName: number;
|
|
65
|
+
payload: number;
|
|
66
|
+
occurredAt: number;
|
|
67
|
+
actorId: number;
|
|
68
|
+
actorRole: number;
|
|
69
|
+
status: number;
|
|
70
|
+
processedAt: number;
|
|
71
|
+
sentAt: number;
|
|
72
|
+
failureCount: number;
|
|
73
|
+
lastError: number;
|
|
74
|
+
nextRetryAt: number;
|
|
75
|
+
createdAt: number;
|
|
76
|
+
updatedAt: number;
|
|
77
|
+
_all: number;
|
|
78
|
+
};
|
|
79
|
+
export type DomainEventAvgAggregateInputType = {
|
|
80
|
+
failureCount?: true;
|
|
81
|
+
};
|
|
82
|
+
export type DomainEventSumAggregateInputType = {
|
|
83
|
+
failureCount?: true;
|
|
84
|
+
};
|
|
85
|
+
export type DomainEventMinAggregateInputType = {
|
|
86
|
+
id?: true;
|
|
87
|
+
eventType?: true;
|
|
88
|
+
aggregateType?: true;
|
|
89
|
+
aggregateId?: true;
|
|
90
|
+
queueName?: true;
|
|
91
|
+
payload?: true;
|
|
92
|
+
occurredAt?: true;
|
|
93
|
+
actorId?: true;
|
|
94
|
+
actorRole?: true;
|
|
95
|
+
status?: true;
|
|
96
|
+
processedAt?: true;
|
|
97
|
+
sentAt?: true;
|
|
98
|
+
failureCount?: true;
|
|
99
|
+
lastError?: true;
|
|
100
|
+
nextRetryAt?: true;
|
|
101
|
+
createdAt?: true;
|
|
102
|
+
updatedAt?: true;
|
|
103
|
+
};
|
|
104
|
+
export type DomainEventMaxAggregateInputType = {
|
|
105
|
+
id?: true;
|
|
106
|
+
eventType?: true;
|
|
107
|
+
aggregateType?: true;
|
|
108
|
+
aggregateId?: true;
|
|
109
|
+
queueName?: true;
|
|
110
|
+
payload?: true;
|
|
111
|
+
occurredAt?: true;
|
|
112
|
+
actorId?: true;
|
|
113
|
+
actorRole?: true;
|
|
114
|
+
status?: true;
|
|
115
|
+
processedAt?: true;
|
|
116
|
+
sentAt?: true;
|
|
117
|
+
failureCount?: true;
|
|
118
|
+
lastError?: true;
|
|
119
|
+
nextRetryAt?: true;
|
|
120
|
+
createdAt?: true;
|
|
121
|
+
updatedAt?: true;
|
|
122
|
+
};
|
|
123
|
+
export type DomainEventCountAggregateInputType = {
|
|
124
|
+
id?: true;
|
|
125
|
+
eventType?: true;
|
|
126
|
+
aggregateType?: true;
|
|
127
|
+
aggregateId?: true;
|
|
128
|
+
queueName?: true;
|
|
129
|
+
payload?: true;
|
|
130
|
+
occurredAt?: true;
|
|
131
|
+
actorId?: true;
|
|
132
|
+
actorRole?: true;
|
|
133
|
+
status?: true;
|
|
134
|
+
processedAt?: true;
|
|
135
|
+
sentAt?: true;
|
|
136
|
+
failureCount?: true;
|
|
137
|
+
lastError?: true;
|
|
138
|
+
nextRetryAt?: true;
|
|
139
|
+
createdAt?: true;
|
|
140
|
+
updatedAt?: true;
|
|
141
|
+
_all?: true;
|
|
142
|
+
};
|
|
143
|
+
export type DomainEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
144
|
+
/**
|
|
145
|
+
* Filter which DomainEvent to aggregate.
|
|
146
|
+
*/
|
|
147
|
+
where?: Prisma.DomainEventWhereInput;
|
|
148
|
+
/**
|
|
149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
150
|
+
*
|
|
151
|
+
* Determine the order of DomainEvents to fetch.
|
|
152
|
+
*/
|
|
153
|
+
orderBy?: Prisma.DomainEventOrderByWithRelationInput | Prisma.DomainEventOrderByWithRelationInput[];
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
156
|
+
*
|
|
157
|
+
* Sets the start position
|
|
158
|
+
*/
|
|
159
|
+
cursor?: Prisma.DomainEventWhereUniqueInput;
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
162
|
+
*
|
|
163
|
+
* Take `±n` DomainEvents from the position of the cursor.
|
|
164
|
+
*/
|
|
165
|
+
take?: number;
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
168
|
+
*
|
|
169
|
+
* Skip the first `n` DomainEvents.
|
|
170
|
+
*/
|
|
171
|
+
skip?: number;
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
+
*
|
|
175
|
+
* Count returned DomainEvents
|
|
176
|
+
**/
|
|
177
|
+
_count?: true | DomainEventCountAggregateInputType;
|
|
178
|
+
/**
|
|
179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
+
*
|
|
181
|
+
* Select which fields to average
|
|
182
|
+
**/
|
|
183
|
+
_avg?: DomainEventAvgAggregateInputType;
|
|
184
|
+
/**
|
|
185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
+
*
|
|
187
|
+
* Select which fields to sum
|
|
188
|
+
**/
|
|
189
|
+
_sum?: DomainEventSumAggregateInputType;
|
|
190
|
+
/**
|
|
191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
192
|
+
*
|
|
193
|
+
* Select which fields to find the minimum value
|
|
194
|
+
**/
|
|
195
|
+
_min?: DomainEventMinAggregateInputType;
|
|
196
|
+
/**
|
|
197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
198
|
+
*
|
|
199
|
+
* Select which fields to find the maximum value
|
|
200
|
+
**/
|
|
201
|
+
_max?: DomainEventMaxAggregateInputType;
|
|
202
|
+
};
|
|
203
|
+
export type GetDomainEventAggregateType<T extends DomainEventAggregateArgs> = {
|
|
204
|
+
[P in keyof T & keyof AggregateDomainEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDomainEvent[P]> : Prisma.GetScalarType<T[P], AggregateDomainEvent[P]>;
|
|
205
|
+
};
|
|
206
|
+
export type DomainEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
207
|
+
where?: Prisma.DomainEventWhereInput;
|
|
208
|
+
orderBy?: Prisma.DomainEventOrderByWithAggregationInput | Prisma.DomainEventOrderByWithAggregationInput[];
|
|
209
|
+
by: Prisma.DomainEventScalarFieldEnum[] | Prisma.DomainEventScalarFieldEnum;
|
|
210
|
+
having?: Prisma.DomainEventScalarWhereWithAggregatesInput;
|
|
211
|
+
take?: number;
|
|
212
|
+
skip?: number;
|
|
213
|
+
_count?: DomainEventCountAggregateInputType | true;
|
|
214
|
+
_avg?: DomainEventAvgAggregateInputType;
|
|
215
|
+
_sum?: DomainEventSumAggregateInputType;
|
|
216
|
+
_min?: DomainEventMinAggregateInputType;
|
|
217
|
+
_max?: DomainEventMaxAggregateInputType;
|
|
218
|
+
};
|
|
219
|
+
export type DomainEventGroupByOutputType = {
|
|
220
|
+
id: string;
|
|
221
|
+
eventType: string;
|
|
222
|
+
aggregateType: string;
|
|
223
|
+
aggregateId: string;
|
|
224
|
+
queueName: string;
|
|
225
|
+
payload: string;
|
|
226
|
+
occurredAt: Date;
|
|
227
|
+
actorId: string | null;
|
|
228
|
+
actorRole: string | null;
|
|
229
|
+
status: string;
|
|
230
|
+
processedAt: Date | null;
|
|
231
|
+
sentAt: Date | null;
|
|
232
|
+
failureCount: number;
|
|
233
|
+
lastError: string | null;
|
|
234
|
+
nextRetryAt: Date | null;
|
|
235
|
+
createdAt: Date;
|
|
236
|
+
updatedAt: Date;
|
|
237
|
+
_count: DomainEventCountAggregateOutputType | null;
|
|
238
|
+
_avg: DomainEventAvgAggregateOutputType | null;
|
|
239
|
+
_sum: DomainEventSumAggregateOutputType | null;
|
|
240
|
+
_min: DomainEventMinAggregateOutputType | null;
|
|
241
|
+
_max: DomainEventMaxAggregateOutputType | null;
|
|
242
|
+
};
|
|
243
|
+
type GetDomainEventGroupByPayload<T extends DomainEventGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DomainEventGroupByOutputType, T['by']> & {
|
|
244
|
+
[P in ((keyof T) & (keyof DomainEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DomainEventGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DomainEventGroupByOutputType[P]>;
|
|
245
|
+
}>>;
|
|
246
|
+
export type DomainEventWhereInput = {
|
|
247
|
+
AND?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
248
|
+
OR?: Prisma.DomainEventWhereInput[];
|
|
249
|
+
NOT?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
250
|
+
id?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
251
|
+
eventType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
252
|
+
aggregateType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
253
|
+
aggregateId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
254
|
+
queueName?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
255
|
+
payload?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
256
|
+
occurredAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
257
|
+
actorId?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
258
|
+
actorRole?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
259
|
+
status?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
260
|
+
processedAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
261
|
+
sentAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
262
|
+
failureCount?: Prisma.IntFilter<"DomainEvent"> | number;
|
|
263
|
+
lastError?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
264
|
+
nextRetryAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
265
|
+
createdAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
266
|
+
updatedAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
267
|
+
};
|
|
268
|
+
export type DomainEventOrderByWithRelationInput = {
|
|
269
|
+
id?: Prisma.SortOrder;
|
|
270
|
+
eventType?: Prisma.SortOrder;
|
|
271
|
+
aggregateType?: Prisma.SortOrder;
|
|
272
|
+
aggregateId?: Prisma.SortOrder;
|
|
273
|
+
queueName?: Prisma.SortOrder;
|
|
274
|
+
payload?: Prisma.SortOrder;
|
|
275
|
+
occurredAt?: Prisma.SortOrder;
|
|
276
|
+
actorId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
+
actorRole?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
278
|
+
status?: Prisma.SortOrder;
|
|
279
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
failureCount?: Prisma.SortOrder;
|
|
282
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
|
+
nextRetryAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
+
createdAt?: Prisma.SortOrder;
|
|
285
|
+
updatedAt?: Prisma.SortOrder;
|
|
286
|
+
_relevance?: Prisma.DomainEventOrderByRelevanceInput;
|
|
287
|
+
};
|
|
288
|
+
export type DomainEventWhereUniqueInput = Prisma.AtLeast<{
|
|
289
|
+
id?: string;
|
|
290
|
+
AND?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
291
|
+
OR?: Prisma.DomainEventWhereInput[];
|
|
292
|
+
NOT?: Prisma.DomainEventWhereInput | Prisma.DomainEventWhereInput[];
|
|
293
|
+
eventType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
294
|
+
aggregateType?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
295
|
+
aggregateId?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
296
|
+
queueName?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
297
|
+
payload?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
298
|
+
occurredAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
299
|
+
actorId?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
300
|
+
actorRole?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
301
|
+
status?: Prisma.StringFilter<"DomainEvent"> | string;
|
|
302
|
+
processedAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
303
|
+
sentAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
304
|
+
failureCount?: Prisma.IntFilter<"DomainEvent"> | number;
|
|
305
|
+
lastError?: Prisma.StringNullableFilter<"DomainEvent"> | string | null;
|
|
306
|
+
nextRetryAt?: Prisma.DateTimeNullableFilter<"DomainEvent"> | Date | string | null;
|
|
307
|
+
createdAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
308
|
+
updatedAt?: Prisma.DateTimeFilter<"DomainEvent"> | Date | string;
|
|
309
|
+
}, "id">;
|
|
310
|
+
export type DomainEventOrderByWithAggregationInput = {
|
|
311
|
+
id?: Prisma.SortOrder;
|
|
312
|
+
eventType?: Prisma.SortOrder;
|
|
313
|
+
aggregateType?: Prisma.SortOrder;
|
|
314
|
+
aggregateId?: Prisma.SortOrder;
|
|
315
|
+
queueName?: Prisma.SortOrder;
|
|
316
|
+
payload?: Prisma.SortOrder;
|
|
317
|
+
occurredAt?: Prisma.SortOrder;
|
|
318
|
+
actorId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
|
+
actorRole?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
320
|
+
status?: Prisma.SortOrder;
|
|
321
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
322
|
+
sentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
323
|
+
failureCount?: Prisma.SortOrder;
|
|
324
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
325
|
+
nextRetryAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
326
|
+
createdAt?: Prisma.SortOrder;
|
|
327
|
+
updatedAt?: Prisma.SortOrder;
|
|
328
|
+
_count?: Prisma.DomainEventCountOrderByAggregateInput;
|
|
329
|
+
_avg?: Prisma.DomainEventAvgOrderByAggregateInput;
|
|
330
|
+
_max?: Prisma.DomainEventMaxOrderByAggregateInput;
|
|
331
|
+
_min?: Prisma.DomainEventMinOrderByAggregateInput;
|
|
332
|
+
_sum?: Prisma.DomainEventSumOrderByAggregateInput;
|
|
333
|
+
};
|
|
334
|
+
export type DomainEventScalarWhereWithAggregatesInput = {
|
|
335
|
+
AND?: Prisma.DomainEventScalarWhereWithAggregatesInput | Prisma.DomainEventScalarWhereWithAggregatesInput[];
|
|
336
|
+
OR?: Prisma.DomainEventScalarWhereWithAggregatesInput[];
|
|
337
|
+
NOT?: Prisma.DomainEventScalarWhereWithAggregatesInput | Prisma.DomainEventScalarWhereWithAggregatesInput[];
|
|
338
|
+
id?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
339
|
+
eventType?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
340
|
+
aggregateType?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
341
|
+
aggregateId?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
342
|
+
queueName?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
343
|
+
payload?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
344
|
+
occurredAt?: Prisma.DateTimeWithAggregatesFilter<"DomainEvent"> | Date | string;
|
|
345
|
+
actorId?: Prisma.StringNullableWithAggregatesFilter<"DomainEvent"> | string | null;
|
|
346
|
+
actorRole?: Prisma.StringNullableWithAggregatesFilter<"DomainEvent"> | string | null;
|
|
347
|
+
status?: Prisma.StringWithAggregatesFilter<"DomainEvent"> | string;
|
|
348
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DomainEvent"> | Date | string | null;
|
|
349
|
+
sentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DomainEvent"> | Date | string | null;
|
|
350
|
+
failureCount?: Prisma.IntWithAggregatesFilter<"DomainEvent"> | number;
|
|
351
|
+
lastError?: Prisma.StringNullableWithAggregatesFilter<"DomainEvent"> | string | null;
|
|
352
|
+
nextRetryAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DomainEvent"> | Date | string | null;
|
|
353
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DomainEvent"> | Date | string;
|
|
354
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DomainEvent"> | Date | string;
|
|
355
|
+
};
|
|
356
|
+
export type DomainEventCreateInput = {
|
|
357
|
+
id?: string;
|
|
358
|
+
eventType: string;
|
|
359
|
+
aggregateType: string;
|
|
360
|
+
aggregateId: string;
|
|
361
|
+
queueName: string;
|
|
362
|
+
payload: string;
|
|
363
|
+
occurredAt?: Date | string;
|
|
364
|
+
actorId?: string | null;
|
|
365
|
+
actorRole?: string | null;
|
|
366
|
+
status?: string;
|
|
367
|
+
processedAt?: Date | string | null;
|
|
368
|
+
sentAt?: Date | string | null;
|
|
369
|
+
failureCount?: number;
|
|
370
|
+
lastError?: string | null;
|
|
371
|
+
nextRetryAt?: Date | string | null;
|
|
372
|
+
createdAt?: Date | string;
|
|
373
|
+
updatedAt?: Date | string;
|
|
374
|
+
};
|
|
375
|
+
export type DomainEventUncheckedCreateInput = {
|
|
376
|
+
id?: string;
|
|
377
|
+
eventType: string;
|
|
378
|
+
aggregateType: string;
|
|
379
|
+
aggregateId: string;
|
|
380
|
+
queueName: string;
|
|
381
|
+
payload: string;
|
|
382
|
+
occurredAt?: Date | string;
|
|
383
|
+
actorId?: string | null;
|
|
384
|
+
actorRole?: string | null;
|
|
385
|
+
status?: string;
|
|
386
|
+
processedAt?: Date | string | null;
|
|
387
|
+
sentAt?: Date | string | null;
|
|
388
|
+
failureCount?: number;
|
|
389
|
+
lastError?: string | null;
|
|
390
|
+
nextRetryAt?: Date | string | null;
|
|
391
|
+
createdAt?: Date | string;
|
|
392
|
+
updatedAt?: Date | string;
|
|
393
|
+
};
|
|
394
|
+
export type DomainEventUpdateInput = {
|
|
395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
402
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
403
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
404
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
405
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
406
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
407
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
408
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
409
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
411
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
412
|
+
};
|
|
413
|
+
export type DomainEventUncheckedUpdateInput = {
|
|
414
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
418
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
419
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
421
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
423
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
425
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
426
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
427
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
429
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
430
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
};
|
|
432
|
+
export type DomainEventCreateManyInput = {
|
|
433
|
+
id?: string;
|
|
434
|
+
eventType: string;
|
|
435
|
+
aggregateType: string;
|
|
436
|
+
aggregateId: string;
|
|
437
|
+
queueName: string;
|
|
438
|
+
payload: string;
|
|
439
|
+
occurredAt?: Date | string;
|
|
440
|
+
actorId?: string | null;
|
|
441
|
+
actorRole?: string | null;
|
|
442
|
+
status?: string;
|
|
443
|
+
processedAt?: Date | string | null;
|
|
444
|
+
sentAt?: Date | string | null;
|
|
445
|
+
failureCount?: number;
|
|
446
|
+
lastError?: string | null;
|
|
447
|
+
nextRetryAt?: Date | string | null;
|
|
448
|
+
createdAt?: Date | string;
|
|
449
|
+
updatedAt?: Date | string;
|
|
450
|
+
};
|
|
451
|
+
export type DomainEventUpdateManyMutationInput = {
|
|
452
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
453
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
454
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
455
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
457
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
460
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
461
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
463
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
464
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
465
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
466
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
467
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
469
|
+
};
|
|
470
|
+
export type DomainEventUncheckedUpdateManyInput = {
|
|
471
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
|
+
eventType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
|
+
aggregateType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
474
|
+
aggregateId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
|
+
queueName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
477
|
+
occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
478
|
+
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
479
|
+
actorRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
480
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
482
|
+
sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
483
|
+
failureCount?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
484
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
|
+
nextRetryAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
486
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type DomainEventOrderByRelevanceInput = {
|
|
490
|
+
fields: Prisma.DomainEventOrderByRelevanceFieldEnum | Prisma.DomainEventOrderByRelevanceFieldEnum[];
|
|
491
|
+
sort: Prisma.SortOrder;
|
|
492
|
+
search: string;
|
|
493
|
+
};
|
|
494
|
+
export type DomainEventCountOrderByAggregateInput = {
|
|
495
|
+
id?: Prisma.SortOrder;
|
|
496
|
+
eventType?: Prisma.SortOrder;
|
|
497
|
+
aggregateType?: Prisma.SortOrder;
|
|
498
|
+
aggregateId?: Prisma.SortOrder;
|
|
499
|
+
queueName?: Prisma.SortOrder;
|
|
500
|
+
payload?: Prisma.SortOrder;
|
|
501
|
+
occurredAt?: Prisma.SortOrder;
|
|
502
|
+
actorId?: Prisma.SortOrder;
|
|
503
|
+
actorRole?: Prisma.SortOrder;
|
|
504
|
+
status?: Prisma.SortOrder;
|
|
505
|
+
processedAt?: Prisma.SortOrder;
|
|
506
|
+
sentAt?: Prisma.SortOrder;
|
|
507
|
+
failureCount?: Prisma.SortOrder;
|
|
508
|
+
lastError?: Prisma.SortOrder;
|
|
509
|
+
nextRetryAt?: Prisma.SortOrder;
|
|
510
|
+
createdAt?: Prisma.SortOrder;
|
|
511
|
+
updatedAt?: Prisma.SortOrder;
|
|
512
|
+
};
|
|
513
|
+
export type DomainEventAvgOrderByAggregateInput = {
|
|
514
|
+
failureCount?: Prisma.SortOrder;
|
|
515
|
+
};
|
|
516
|
+
export type DomainEventMaxOrderByAggregateInput = {
|
|
517
|
+
id?: Prisma.SortOrder;
|
|
518
|
+
eventType?: Prisma.SortOrder;
|
|
519
|
+
aggregateType?: Prisma.SortOrder;
|
|
520
|
+
aggregateId?: Prisma.SortOrder;
|
|
521
|
+
queueName?: Prisma.SortOrder;
|
|
522
|
+
payload?: Prisma.SortOrder;
|
|
523
|
+
occurredAt?: Prisma.SortOrder;
|
|
524
|
+
actorId?: Prisma.SortOrder;
|
|
525
|
+
actorRole?: Prisma.SortOrder;
|
|
526
|
+
status?: Prisma.SortOrder;
|
|
527
|
+
processedAt?: Prisma.SortOrder;
|
|
528
|
+
sentAt?: Prisma.SortOrder;
|
|
529
|
+
failureCount?: Prisma.SortOrder;
|
|
530
|
+
lastError?: Prisma.SortOrder;
|
|
531
|
+
nextRetryAt?: Prisma.SortOrder;
|
|
532
|
+
createdAt?: Prisma.SortOrder;
|
|
533
|
+
updatedAt?: Prisma.SortOrder;
|
|
534
|
+
};
|
|
535
|
+
export type DomainEventMinOrderByAggregateInput = {
|
|
536
|
+
id?: Prisma.SortOrder;
|
|
537
|
+
eventType?: Prisma.SortOrder;
|
|
538
|
+
aggregateType?: Prisma.SortOrder;
|
|
539
|
+
aggregateId?: Prisma.SortOrder;
|
|
540
|
+
queueName?: Prisma.SortOrder;
|
|
541
|
+
payload?: Prisma.SortOrder;
|
|
542
|
+
occurredAt?: Prisma.SortOrder;
|
|
543
|
+
actorId?: Prisma.SortOrder;
|
|
544
|
+
actorRole?: Prisma.SortOrder;
|
|
545
|
+
status?: Prisma.SortOrder;
|
|
546
|
+
processedAt?: Prisma.SortOrder;
|
|
547
|
+
sentAt?: Prisma.SortOrder;
|
|
548
|
+
failureCount?: Prisma.SortOrder;
|
|
549
|
+
lastError?: Prisma.SortOrder;
|
|
550
|
+
nextRetryAt?: Prisma.SortOrder;
|
|
551
|
+
createdAt?: Prisma.SortOrder;
|
|
552
|
+
updatedAt?: Prisma.SortOrder;
|
|
553
|
+
};
|
|
554
|
+
export type DomainEventSumOrderByAggregateInput = {
|
|
555
|
+
failureCount?: Prisma.SortOrder;
|
|
556
|
+
};
|
|
557
|
+
export type DomainEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
558
|
+
id?: boolean;
|
|
559
|
+
eventType?: boolean;
|
|
560
|
+
aggregateType?: boolean;
|
|
561
|
+
aggregateId?: boolean;
|
|
562
|
+
queueName?: boolean;
|
|
563
|
+
payload?: boolean;
|
|
564
|
+
occurredAt?: boolean;
|
|
565
|
+
actorId?: boolean;
|
|
566
|
+
actorRole?: boolean;
|
|
567
|
+
status?: boolean;
|
|
568
|
+
processedAt?: boolean;
|
|
569
|
+
sentAt?: boolean;
|
|
570
|
+
failureCount?: boolean;
|
|
571
|
+
lastError?: boolean;
|
|
572
|
+
nextRetryAt?: boolean;
|
|
573
|
+
createdAt?: boolean;
|
|
574
|
+
updatedAt?: boolean;
|
|
575
|
+
}, ExtArgs["result"]["domainEvent"]>;
|
|
576
|
+
export type DomainEventSelectScalar = {
|
|
577
|
+
id?: boolean;
|
|
578
|
+
eventType?: boolean;
|
|
579
|
+
aggregateType?: boolean;
|
|
580
|
+
aggregateId?: boolean;
|
|
581
|
+
queueName?: boolean;
|
|
582
|
+
payload?: boolean;
|
|
583
|
+
occurredAt?: boolean;
|
|
584
|
+
actorId?: boolean;
|
|
585
|
+
actorRole?: boolean;
|
|
586
|
+
status?: boolean;
|
|
587
|
+
processedAt?: boolean;
|
|
588
|
+
sentAt?: boolean;
|
|
589
|
+
failureCount?: boolean;
|
|
590
|
+
lastError?: boolean;
|
|
591
|
+
nextRetryAt?: boolean;
|
|
592
|
+
createdAt?: boolean;
|
|
593
|
+
updatedAt?: boolean;
|
|
594
|
+
};
|
|
595
|
+
export type DomainEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "eventType" | "aggregateType" | "aggregateId" | "queueName" | "payload" | "occurredAt" | "actorId" | "actorRole" | "status" | "processedAt" | "sentAt" | "failureCount" | "lastError" | "nextRetryAt" | "createdAt" | "updatedAt", ExtArgs["result"]["domainEvent"]>;
|
|
596
|
+
export type $DomainEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
597
|
+
name: "DomainEvent";
|
|
598
|
+
objects: {};
|
|
599
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
600
|
+
id: string;
|
|
601
|
+
eventType: string;
|
|
602
|
+
aggregateType: string;
|
|
603
|
+
aggregateId: string;
|
|
604
|
+
queueName: string;
|
|
605
|
+
payload: string;
|
|
606
|
+
occurredAt: Date;
|
|
607
|
+
actorId: string | null;
|
|
608
|
+
actorRole: string | null;
|
|
609
|
+
status: string;
|
|
610
|
+
processedAt: Date | null;
|
|
611
|
+
sentAt: Date | null;
|
|
612
|
+
failureCount: number;
|
|
613
|
+
lastError: string | null;
|
|
614
|
+
nextRetryAt: Date | null;
|
|
615
|
+
createdAt: Date;
|
|
616
|
+
updatedAt: Date;
|
|
617
|
+
}, ExtArgs["result"]["domainEvent"]>;
|
|
618
|
+
composites: {};
|
|
619
|
+
};
|
|
620
|
+
export type DomainEventGetPayload<S extends boolean | null | undefined | DomainEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DomainEventPayload, S>;
|
|
621
|
+
export type DomainEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DomainEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
622
|
+
select?: DomainEventCountAggregateInputType | true;
|
|
623
|
+
};
|
|
624
|
+
export interface DomainEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
625
|
+
[K: symbol]: {
|
|
626
|
+
types: Prisma.TypeMap<ExtArgs>['model']['DomainEvent'];
|
|
627
|
+
meta: {
|
|
628
|
+
name: 'DomainEvent';
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Find zero or one DomainEvent that matches the filter.
|
|
633
|
+
* @param {DomainEventFindUniqueArgs} args - Arguments to find a DomainEvent
|
|
634
|
+
* @example
|
|
635
|
+
* // Get one DomainEvent
|
|
636
|
+
* const domainEvent = await prisma.domainEvent.findUnique({
|
|
637
|
+
* where: {
|
|
638
|
+
* // ... provide filter here
|
|
639
|
+
* }
|
|
640
|
+
* })
|
|
641
|
+
*/
|
|
642
|
+
findUnique<T extends DomainEventFindUniqueArgs>(args: Prisma.SelectSubset<T, DomainEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
643
|
+
/**
|
|
644
|
+
* Find one DomainEvent that matches the filter or throw an error with `error.code='P2025'`
|
|
645
|
+
* if no matches were found.
|
|
646
|
+
* @param {DomainEventFindUniqueOrThrowArgs} args - Arguments to find a DomainEvent
|
|
647
|
+
* @example
|
|
648
|
+
* // Get one DomainEvent
|
|
649
|
+
* const domainEvent = await prisma.domainEvent.findUniqueOrThrow({
|
|
650
|
+
* where: {
|
|
651
|
+
* // ... provide filter here
|
|
652
|
+
* }
|
|
653
|
+
* })
|
|
654
|
+
*/
|
|
655
|
+
findUniqueOrThrow<T extends DomainEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DomainEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
656
|
+
/**
|
|
657
|
+
* Find the first DomainEvent that matches the filter.
|
|
658
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
659
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
660
|
+
* @param {DomainEventFindFirstArgs} args - Arguments to find a DomainEvent
|
|
661
|
+
* @example
|
|
662
|
+
* // Get one DomainEvent
|
|
663
|
+
* const domainEvent = await prisma.domainEvent.findFirst({
|
|
664
|
+
* where: {
|
|
665
|
+
* // ... provide filter here
|
|
666
|
+
* }
|
|
667
|
+
* })
|
|
668
|
+
*/
|
|
669
|
+
findFirst<T extends DomainEventFindFirstArgs>(args?: Prisma.SelectSubset<T, DomainEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
670
|
+
/**
|
|
671
|
+
* Find the first DomainEvent that matches the filter or
|
|
672
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
673
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
674
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
675
|
+
* @param {DomainEventFindFirstOrThrowArgs} args - Arguments to find a DomainEvent
|
|
676
|
+
* @example
|
|
677
|
+
* // Get one DomainEvent
|
|
678
|
+
* const domainEvent = await prisma.domainEvent.findFirstOrThrow({
|
|
679
|
+
* where: {
|
|
680
|
+
* // ... provide filter here
|
|
681
|
+
* }
|
|
682
|
+
* })
|
|
683
|
+
*/
|
|
684
|
+
findFirstOrThrow<T extends DomainEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DomainEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
685
|
+
/**
|
|
686
|
+
* Find zero or more DomainEvents that matches the filter.
|
|
687
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
688
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
689
|
+
* @param {DomainEventFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
690
|
+
* @example
|
|
691
|
+
* // Get all DomainEvents
|
|
692
|
+
* const domainEvents = await prisma.domainEvent.findMany()
|
|
693
|
+
*
|
|
694
|
+
* // Get first 10 DomainEvents
|
|
695
|
+
* const domainEvents = await prisma.domainEvent.findMany({ take: 10 })
|
|
696
|
+
*
|
|
697
|
+
* // Only select the `id`
|
|
698
|
+
* const domainEventWithIdOnly = await prisma.domainEvent.findMany({ select: { id: true } })
|
|
699
|
+
*
|
|
700
|
+
*/
|
|
701
|
+
findMany<T extends DomainEventFindManyArgs>(args?: Prisma.SelectSubset<T, DomainEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
702
|
+
/**
|
|
703
|
+
* Create a DomainEvent.
|
|
704
|
+
* @param {DomainEventCreateArgs} args - Arguments to create a DomainEvent.
|
|
705
|
+
* @example
|
|
706
|
+
* // Create one DomainEvent
|
|
707
|
+
* const DomainEvent = await prisma.domainEvent.create({
|
|
708
|
+
* data: {
|
|
709
|
+
* // ... data to create a DomainEvent
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
create<T extends DomainEventCreateArgs>(args: Prisma.SelectSubset<T, DomainEventCreateArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
715
|
+
/**
|
|
716
|
+
* Create many DomainEvents.
|
|
717
|
+
* @param {DomainEventCreateManyArgs} args - Arguments to create many DomainEvents.
|
|
718
|
+
* @example
|
|
719
|
+
* // Create many DomainEvents
|
|
720
|
+
* const domainEvent = await prisma.domainEvent.createMany({
|
|
721
|
+
* data: [
|
|
722
|
+
* // ... provide data here
|
|
723
|
+
* ]
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
createMany<T extends DomainEventCreateManyArgs>(args?: Prisma.SelectSubset<T, DomainEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
728
|
+
/**
|
|
729
|
+
* Delete a DomainEvent.
|
|
730
|
+
* @param {DomainEventDeleteArgs} args - Arguments to delete one DomainEvent.
|
|
731
|
+
* @example
|
|
732
|
+
* // Delete one DomainEvent
|
|
733
|
+
* const DomainEvent = await prisma.domainEvent.delete({
|
|
734
|
+
* where: {
|
|
735
|
+
* // ... filter to delete one DomainEvent
|
|
736
|
+
* }
|
|
737
|
+
* })
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
delete<T extends DomainEventDeleteArgs>(args: Prisma.SelectSubset<T, DomainEventDeleteArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
741
|
+
/**
|
|
742
|
+
* Update one DomainEvent.
|
|
743
|
+
* @param {DomainEventUpdateArgs} args - Arguments to update one DomainEvent.
|
|
744
|
+
* @example
|
|
745
|
+
* // Update one DomainEvent
|
|
746
|
+
* const domainEvent = await prisma.domainEvent.update({
|
|
747
|
+
* where: {
|
|
748
|
+
* // ... provide filter here
|
|
749
|
+
* },
|
|
750
|
+
* data: {
|
|
751
|
+
* // ... provide data here
|
|
752
|
+
* }
|
|
753
|
+
* })
|
|
754
|
+
*
|
|
755
|
+
*/
|
|
756
|
+
update<T extends DomainEventUpdateArgs>(args: Prisma.SelectSubset<T, DomainEventUpdateArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
757
|
+
/**
|
|
758
|
+
* Delete zero or more DomainEvents.
|
|
759
|
+
* @param {DomainEventDeleteManyArgs} args - Arguments to filter DomainEvents to delete.
|
|
760
|
+
* @example
|
|
761
|
+
* // Delete a few DomainEvents
|
|
762
|
+
* const { count } = await prisma.domainEvent.deleteMany({
|
|
763
|
+
* where: {
|
|
764
|
+
* // ... provide filter here
|
|
765
|
+
* }
|
|
766
|
+
* })
|
|
767
|
+
*
|
|
768
|
+
*/
|
|
769
|
+
deleteMany<T extends DomainEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, DomainEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
770
|
+
/**
|
|
771
|
+
* Update zero or more DomainEvents.
|
|
772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
774
|
+
* @param {DomainEventUpdateManyArgs} args - Arguments to update one or more rows.
|
|
775
|
+
* @example
|
|
776
|
+
* // Update many DomainEvents
|
|
777
|
+
* const domainEvent = await prisma.domainEvent.updateMany({
|
|
778
|
+
* where: {
|
|
779
|
+
* // ... provide filter here
|
|
780
|
+
* },
|
|
781
|
+
* data: {
|
|
782
|
+
* // ... provide data here
|
|
783
|
+
* }
|
|
784
|
+
* })
|
|
785
|
+
*
|
|
786
|
+
*/
|
|
787
|
+
updateMany<T extends DomainEventUpdateManyArgs>(args: Prisma.SelectSubset<T, DomainEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
788
|
+
/**
|
|
789
|
+
* Create or update one DomainEvent.
|
|
790
|
+
* @param {DomainEventUpsertArgs} args - Arguments to update or create a DomainEvent.
|
|
791
|
+
* @example
|
|
792
|
+
* // Update or create a DomainEvent
|
|
793
|
+
* const domainEvent = await prisma.domainEvent.upsert({
|
|
794
|
+
* create: {
|
|
795
|
+
* // ... data to create a DomainEvent
|
|
796
|
+
* },
|
|
797
|
+
* update: {
|
|
798
|
+
* // ... in case it already exists, update
|
|
799
|
+
* },
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... the filter for the DomainEvent we want to update
|
|
802
|
+
* }
|
|
803
|
+
* })
|
|
804
|
+
*/
|
|
805
|
+
upsert<T extends DomainEventUpsertArgs>(args: Prisma.SelectSubset<T, DomainEventUpsertArgs<ExtArgs>>): Prisma.Prisma__DomainEventClient<runtime.Types.Result.GetResult<Prisma.$DomainEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
806
|
+
/**
|
|
807
|
+
* Count the number of DomainEvents.
|
|
808
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
809
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
810
|
+
* @param {DomainEventCountArgs} args - Arguments to filter DomainEvents to count.
|
|
811
|
+
* @example
|
|
812
|
+
* // Count the number of DomainEvents
|
|
813
|
+
* const count = await prisma.domainEvent.count({
|
|
814
|
+
* where: {
|
|
815
|
+
* // ... the filter for the DomainEvents we want to count
|
|
816
|
+
* }
|
|
817
|
+
* })
|
|
818
|
+
**/
|
|
819
|
+
count<T extends DomainEventCountArgs>(args?: Prisma.Subset<T, DomainEventCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DomainEventCountAggregateOutputType> : number>;
|
|
820
|
+
/**
|
|
821
|
+
* Allows you to perform aggregations operations on a DomainEvent.
|
|
822
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
823
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
824
|
+
* @param {DomainEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
825
|
+
* @example
|
|
826
|
+
* // Ordered by age ascending
|
|
827
|
+
* // Where email contains prisma.io
|
|
828
|
+
* // Limited to the 10 users
|
|
829
|
+
* const aggregations = await prisma.user.aggregate({
|
|
830
|
+
* _avg: {
|
|
831
|
+
* age: true,
|
|
832
|
+
* },
|
|
833
|
+
* where: {
|
|
834
|
+
* email: {
|
|
835
|
+
* contains: "prisma.io",
|
|
836
|
+
* },
|
|
837
|
+
* },
|
|
838
|
+
* orderBy: {
|
|
839
|
+
* age: "asc",
|
|
840
|
+
* },
|
|
841
|
+
* take: 10,
|
|
842
|
+
* })
|
|
843
|
+
**/
|
|
844
|
+
aggregate<T extends DomainEventAggregateArgs>(args: Prisma.Subset<T, DomainEventAggregateArgs>): Prisma.PrismaPromise<GetDomainEventAggregateType<T>>;
|
|
845
|
+
/**
|
|
846
|
+
* Group by DomainEvent.
|
|
847
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
848
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
849
|
+
* @param {DomainEventGroupByArgs} args - Group by arguments.
|
|
850
|
+
* @example
|
|
851
|
+
* // Group by city, order by createdAt, get count
|
|
852
|
+
* const result = await prisma.user.groupBy({
|
|
853
|
+
* by: ['city', 'createdAt'],
|
|
854
|
+
* orderBy: {
|
|
855
|
+
* createdAt: true
|
|
856
|
+
* },
|
|
857
|
+
* _count: {
|
|
858
|
+
* _all: true
|
|
859
|
+
* },
|
|
860
|
+
* })
|
|
861
|
+
*
|
|
862
|
+
**/
|
|
863
|
+
groupBy<T extends DomainEventGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
864
|
+
orderBy: DomainEventGroupByArgs['orderBy'];
|
|
865
|
+
} : {
|
|
866
|
+
orderBy?: DomainEventGroupByArgs['orderBy'];
|
|
867
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
868
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
869
|
+
Error,
|
|
870
|
+
'Field ',
|
|
871
|
+
P,
|
|
872
|
+
` in "having" needs to be provided in "by"`
|
|
873
|
+
];
|
|
874
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
875
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
876
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
877
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
878
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
879
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
880
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DomainEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDomainEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
881
|
+
/**
|
|
882
|
+
* Fields of the DomainEvent model
|
|
883
|
+
*/
|
|
884
|
+
readonly fields: DomainEventFieldRefs;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* The delegate class that acts as a "Promise-like" for DomainEvent.
|
|
888
|
+
* Why is this prefixed with `Prisma__`?
|
|
889
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
890
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
891
|
+
*/
|
|
892
|
+
export interface Prisma__DomainEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
893
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
894
|
+
/**
|
|
895
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
896
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
897
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
898
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
899
|
+
*/
|
|
900
|
+
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>;
|
|
901
|
+
/**
|
|
902
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
903
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
904
|
+
* @returns A Promise for the completion of the callback.
|
|
905
|
+
*/
|
|
906
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
907
|
+
/**
|
|
908
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
909
|
+
* resolved value cannot be modified from the callback.
|
|
910
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
911
|
+
* @returns A Promise for the completion of the callback.
|
|
912
|
+
*/
|
|
913
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
914
|
+
}
|
|
915
|
+
/**
|
|
916
|
+
* Fields of the DomainEvent model
|
|
917
|
+
*/
|
|
918
|
+
export interface DomainEventFieldRefs {
|
|
919
|
+
readonly id: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
920
|
+
readonly eventType: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
921
|
+
readonly aggregateType: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
922
|
+
readonly aggregateId: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
923
|
+
readonly queueName: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
924
|
+
readonly payload: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
925
|
+
readonly occurredAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
926
|
+
readonly actorId: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
927
|
+
readonly actorRole: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
928
|
+
readonly status: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
929
|
+
readonly processedAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
930
|
+
readonly sentAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
931
|
+
readonly failureCount: Prisma.FieldRef<"DomainEvent", 'Int'>;
|
|
932
|
+
readonly lastError: Prisma.FieldRef<"DomainEvent", 'String'>;
|
|
933
|
+
readonly nextRetryAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
934
|
+
readonly createdAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
935
|
+
readonly updatedAt: Prisma.FieldRef<"DomainEvent", 'DateTime'>;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* DomainEvent findUnique
|
|
939
|
+
*/
|
|
940
|
+
export type DomainEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the DomainEvent
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the DomainEvent
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* Filter, which DomainEvent to fetch.
|
|
951
|
+
*/
|
|
952
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* DomainEvent findUniqueOrThrow
|
|
956
|
+
*/
|
|
957
|
+
export type DomainEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
/**
|
|
959
|
+
* Select specific fields to fetch from the DomainEvent
|
|
960
|
+
*/
|
|
961
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
962
|
+
/**
|
|
963
|
+
* Omit specific fields from the DomainEvent
|
|
964
|
+
*/
|
|
965
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Filter, which DomainEvent to fetch.
|
|
968
|
+
*/
|
|
969
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* DomainEvent findFirst
|
|
973
|
+
*/
|
|
974
|
+
export type DomainEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
975
|
+
/**
|
|
976
|
+
* Select specific fields to fetch from the DomainEvent
|
|
977
|
+
*/
|
|
978
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
979
|
+
/**
|
|
980
|
+
* Omit specific fields from the DomainEvent
|
|
981
|
+
*/
|
|
982
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
983
|
+
/**
|
|
984
|
+
* Filter, which DomainEvent to fetch.
|
|
985
|
+
*/
|
|
986
|
+
where?: Prisma.DomainEventWhereInput;
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
989
|
+
*
|
|
990
|
+
* Determine the order of DomainEvents to fetch.
|
|
991
|
+
*/
|
|
992
|
+
orderBy?: Prisma.DomainEventOrderByWithRelationInput | Prisma.DomainEventOrderByWithRelationInput[];
|
|
993
|
+
/**
|
|
994
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
995
|
+
*
|
|
996
|
+
* Sets the position for searching for DomainEvents.
|
|
997
|
+
*/
|
|
998
|
+
cursor?: Prisma.DomainEventWhereUniqueInput;
|
|
999
|
+
/**
|
|
1000
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1001
|
+
*
|
|
1002
|
+
* Take `±n` DomainEvents from the position of the cursor.
|
|
1003
|
+
*/
|
|
1004
|
+
take?: number;
|
|
1005
|
+
/**
|
|
1006
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1007
|
+
*
|
|
1008
|
+
* Skip the first `n` DomainEvents.
|
|
1009
|
+
*/
|
|
1010
|
+
skip?: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1013
|
+
*
|
|
1014
|
+
* Filter by unique combinations of DomainEvents.
|
|
1015
|
+
*/
|
|
1016
|
+
distinct?: Prisma.DomainEventScalarFieldEnum | Prisma.DomainEventScalarFieldEnum[];
|
|
1017
|
+
};
|
|
1018
|
+
/**
|
|
1019
|
+
* DomainEvent findFirstOrThrow
|
|
1020
|
+
*/
|
|
1021
|
+
export type DomainEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
/**
|
|
1023
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1024
|
+
*/
|
|
1025
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Omit specific fields from the DomainEvent
|
|
1028
|
+
*/
|
|
1029
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* Filter, which DomainEvent to fetch.
|
|
1032
|
+
*/
|
|
1033
|
+
where?: Prisma.DomainEventWhereInput;
|
|
1034
|
+
/**
|
|
1035
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1036
|
+
*
|
|
1037
|
+
* Determine the order of DomainEvents to fetch.
|
|
1038
|
+
*/
|
|
1039
|
+
orderBy?: Prisma.DomainEventOrderByWithRelationInput | Prisma.DomainEventOrderByWithRelationInput[];
|
|
1040
|
+
/**
|
|
1041
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1042
|
+
*
|
|
1043
|
+
* Sets the position for searching for DomainEvents.
|
|
1044
|
+
*/
|
|
1045
|
+
cursor?: Prisma.DomainEventWhereUniqueInput;
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Take `±n` DomainEvents from the position of the cursor.
|
|
1050
|
+
*/
|
|
1051
|
+
take?: number;
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Skip the first `n` DomainEvents.
|
|
1056
|
+
*/
|
|
1057
|
+
skip?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1060
|
+
*
|
|
1061
|
+
* Filter by unique combinations of DomainEvents.
|
|
1062
|
+
*/
|
|
1063
|
+
distinct?: Prisma.DomainEventScalarFieldEnum | Prisma.DomainEventScalarFieldEnum[];
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* DomainEvent findMany
|
|
1067
|
+
*/
|
|
1068
|
+
export type DomainEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1071
|
+
*/
|
|
1072
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Omit specific fields from the DomainEvent
|
|
1075
|
+
*/
|
|
1076
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter, which DomainEvents to fetch.
|
|
1079
|
+
*/
|
|
1080
|
+
where?: Prisma.DomainEventWhereInput;
|
|
1081
|
+
/**
|
|
1082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1083
|
+
*
|
|
1084
|
+
* Determine the order of DomainEvents to fetch.
|
|
1085
|
+
*/
|
|
1086
|
+
orderBy?: Prisma.DomainEventOrderByWithRelationInput | Prisma.DomainEventOrderByWithRelationInput[];
|
|
1087
|
+
/**
|
|
1088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1089
|
+
*
|
|
1090
|
+
* Sets the position for listing DomainEvents.
|
|
1091
|
+
*/
|
|
1092
|
+
cursor?: Prisma.DomainEventWhereUniqueInput;
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Take `±n` DomainEvents from the position of the cursor.
|
|
1097
|
+
*/
|
|
1098
|
+
take?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Skip the first `n` DomainEvents.
|
|
1103
|
+
*/
|
|
1104
|
+
skip?: number;
|
|
1105
|
+
distinct?: Prisma.DomainEventScalarFieldEnum | Prisma.DomainEventScalarFieldEnum[];
|
|
1106
|
+
};
|
|
1107
|
+
/**
|
|
1108
|
+
* DomainEvent create
|
|
1109
|
+
*/
|
|
1110
|
+
export type DomainEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1111
|
+
/**
|
|
1112
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1113
|
+
*/
|
|
1114
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1115
|
+
/**
|
|
1116
|
+
* Omit specific fields from the DomainEvent
|
|
1117
|
+
*/
|
|
1118
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1119
|
+
/**
|
|
1120
|
+
* The data needed to create a DomainEvent.
|
|
1121
|
+
*/
|
|
1122
|
+
data: Prisma.XOR<Prisma.DomainEventCreateInput, Prisma.DomainEventUncheckedCreateInput>;
|
|
1123
|
+
};
|
|
1124
|
+
/**
|
|
1125
|
+
* DomainEvent createMany
|
|
1126
|
+
*/
|
|
1127
|
+
export type DomainEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1128
|
+
/**
|
|
1129
|
+
* The data used to create many DomainEvents.
|
|
1130
|
+
*/
|
|
1131
|
+
data: Prisma.DomainEventCreateManyInput | Prisma.DomainEventCreateManyInput[];
|
|
1132
|
+
skipDuplicates?: boolean;
|
|
1133
|
+
};
|
|
1134
|
+
/**
|
|
1135
|
+
* DomainEvent update
|
|
1136
|
+
*/
|
|
1137
|
+
export type DomainEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1138
|
+
/**
|
|
1139
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1140
|
+
*/
|
|
1141
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1142
|
+
/**
|
|
1143
|
+
* Omit specific fields from the DomainEvent
|
|
1144
|
+
*/
|
|
1145
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* The data needed to update a DomainEvent.
|
|
1148
|
+
*/
|
|
1149
|
+
data: Prisma.XOR<Prisma.DomainEventUpdateInput, Prisma.DomainEventUncheckedUpdateInput>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Choose, which DomainEvent to update.
|
|
1152
|
+
*/
|
|
1153
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* DomainEvent updateMany
|
|
1157
|
+
*/
|
|
1158
|
+
export type DomainEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
/**
|
|
1160
|
+
* The data used to update DomainEvents.
|
|
1161
|
+
*/
|
|
1162
|
+
data: Prisma.XOR<Prisma.DomainEventUpdateManyMutationInput, Prisma.DomainEventUncheckedUpdateManyInput>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Filter which DomainEvents to update
|
|
1165
|
+
*/
|
|
1166
|
+
where?: Prisma.DomainEventWhereInput;
|
|
1167
|
+
/**
|
|
1168
|
+
* Limit how many DomainEvents to update.
|
|
1169
|
+
*/
|
|
1170
|
+
limit?: number;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* DomainEvent upsert
|
|
1174
|
+
*/
|
|
1175
|
+
export type DomainEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1178
|
+
*/
|
|
1179
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Omit specific fields from the DomainEvent
|
|
1182
|
+
*/
|
|
1183
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* The filter to search for the DomainEvent to update in case it exists.
|
|
1186
|
+
*/
|
|
1187
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
1188
|
+
/**
|
|
1189
|
+
* In case the DomainEvent found by the `where` argument doesn't exist, create a new DomainEvent with this data.
|
|
1190
|
+
*/
|
|
1191
|
+
create: Prisma.XOR<Prisma.DomainEventCreateInput, Prisma.DomainEventUncheckedCreateInput>;
|
|
1192
|
+
/**
|
|
1193
|
+
* In case the DomainEvent was found with the provided `where` argument, update it with this data.
|
|
1194
|
+
*/
|
|
1195
|
+
update: Prisma.XOR<Prisma.DomainEventUpdateInput, Prisma.DomainEventUncheckedUpdateInput>;
|
|
1196
|
+
};
|
|
1197
|
+
/**
|
|
1198
|
+
* DomainEvent delete
|
|
1199
|
+
*/
|
|
1200
|
+
export type DomainEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1201
|
+
/**
|
|
1202
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1203
|
+
*/
|
|
1204
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1205
|
+
/**
|
|
1206
|
+
* Omit specific fields from the DomainEvent
|
|
1207
|
+
*/
|
|
1208
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1209
|
+
/**
|
|
1210
|
+
* Filter which DomainEvent to delete.
|
|
1211
|
+
*/
|
|
1212
|
+
where: Prisma.DomainEventWhereUniqueInput;
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* DomainEvent deleteMany
|
|
1216
|
+
*/
|
|
1217
|
+
export type DomainEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Filter which DomainEvents to delete
|
|
1220
|
+
*/
|
|
1221
|
+
where?: Prisma.DomainEventWhereInput;
|
|
1222
|
+
/**
|
|
1223
|
+
* Limit how many DomainEvents to delete.
|
|
1224
|
+
*/
|
|
1225
|
+
limit?: number;
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* DomainEvent without action
|
|
1229
|
+
*/
|
|
1230
|
+
export type DomainEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1231
|
+
/**
|
|
1232
|
+
* Select specific fields to fetch from the DomainEvent
|
|
1233
|
+
*/
|
|
1234
|
+
select?: Prisma.DomainEventSelect<ExtArgs> | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* Omit specific fields from the DomainEvent
|
|
1237
|
+
*/
|
|
1238
|
+
omit?: Prisma.DomainEventOmit<ExtArgs> | null;
|
|
1239
|
+
};
|
|
1240
|
+
export {};
|