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