@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,1052 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ContractEvent
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ContractEventModel = runtime.Types.Result.DefaultSelection<Prisma.$ContractEventPayload>;
|
|
8
|
+
export type AggregateContractEvent = {
|
|
9
|
+
_count: ContractEventCountAggregateOutputType | null;
|
|
10
|
+
_min: ContractEventMinAggregateOutputType | null;
|
|
11
|
+
_max: ContractEventMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type ContractEventMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
contractId: string | null;
|
|
16
|
+
event: string | null;
|
|
17
|
+
data: string | null;
|
|
18
|
+
createdAt: Date | null;
|
|
19
|
+
};
|
|
20
|
+
export type ContractEventMaxAggregateOutputType = {
|
|
21
|
+
id: string | null;
|
|
22
|
+
contractId: string | null;
|
|
23
|
+
event: string | null;
|
|
24
|
+
data: string | null;
|
|
25
|
+
createdAt: Date | null;
|
|
26
|
+
};
|
|
27
|
+
export type ContractEventCountAggregateOutputType = {
|
|
28
|
+
id: number;
|
|
29
|
+
contractId: number;
|
|
30
|
+
event: number;
|
|
31
|
+
data: number;
|
|
32
|
+
createdAt: number;
|
|
33
|
+
_all: number;
|
|
34
|
+
};
|
|
35
|
+
export type ContractEventMinAggregateInputType = {
|
|
36
|
+
id?: true;
|
|
37
|
+
contractId?: true;
|
|
38
|
+
event?: true;
|
|
39
|
+
data?: true;
|
|
40
|
+
createdAt?: true;
|
|
41
|
+
};
|
|
42
|
+
export type ContractEventMaxAggregateInputType = {
|
|
43
|
+
id?: true;
|
|
44
|
+
contractId?: true;
|
|
45
|
+
event?: true;
|
|
46
|
+
data?: true;
|
|
47
|
+
createdAt?: true;
|
|
48
|
+
};
|
|
49
|
+
export type ContractEventCountAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
contractId?: true;
|
|
52
|
+
event?: true;
|
|
53
|
+
data?: true;
|
|
54
|
+
createdAt?: true;
|
|
55
|
+
_all?: true;
|
|
56
|
+
};
|
|
57
|
+
export type ContractEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
58
|
+
/**
|
|
59
|
+
* Filter which ContractEvent to aggregate.
|
|
60
|
+
*/
|
|
61
|
+
where?: Prisma.ContractEventWhereInput;
|
|
62
|
+
/**
|
|
63
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
64
|
+
*
|
|
65
|
+
* Determine the order of ContractEvents to fetch.
|
|
66
|
+
*/
|
|
67
|
+
orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
70
|
+
*
|
|
71
|
+
* Sets the start position
|
|
72
|
+
*/
|
|
73
|
+
cursor?: Prisma.ContractEventWhereUniqueInput;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
76
|
+
*
|
|
77
|
+
* Take `±n` ContractEvents from the position of the cursor.
|
|
78
|
+
*/
|
|
79
|
+
take?: number;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
+
*
|
|
83
|
+
* Skip the first `n` ContractEvents.
|
|
84
|
+
*/
|
|
85
|
+
skip?: number;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
+
*
|
|
89
|
+
* Count returned ContractEvents
|
|
90
|
+
**/
|
|
91
|
+
_count?: true | ContractEventCountAggregateInputType;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
+
*
|
|
95
|
+
* Select which fields to find the minimum value
|
|
96
|
+
**/
|
|
97
|
+
_min?: ContractEventMinAggregateInputType;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Select which fields to find the maximum value
|
|
102
|
+
**/
|
|
103
|
+
_max?: ContractEventMaxAggregateInputType;
|
|
104
|
+
};
|
|
105
|
+
export type GetContractEventAggregateType<T extends ContractEventAggregateArgs> = {
|
|
106
|
+
[P in keyof T & keyof AggregateContractEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateContractEvent[P]> : Prisma.GetScalarType<T[P], AggregateContractEvent[P]>;
|
|
107
|
+
};
|
|
108
|
+
export type ContractEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
+
where?: Prisma.ContractEventWhereInput;
|
|
110
|
+
orderBy?: Prisma.ContractEventOrderByWithAggregationInput | Prisma.ContractEventOrderByWithAggregationInput[];
|
|
111
|
+
by: Prisma.ContractEventScalarFieldEnum[] | Prisma.ContractEventScalarFieldEnum;
|
|
112
|
+
having?: Prisma.ContractEventScalarWhereWithAggregatesInput;
|
|
113
|
+
take?: number;
|
|
114
|
+
skip?: number;
|
|
115
|
+
_count?: ContractEventCountAggregateInputType | true;
|
|
116
|
+
_min?: ContractEventMinAggregateInputType;
|
|
117
|
+
_max?: ContractEventMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type ContractEventGroupByOutputType = {
|
|
120
|
+
id: string;
|
|
121
|
+
contractId: string;
|
|
122
|
+
event: string;
|
|
123
|
+
data: string | null;
|
|
124
|
+
createdAt: Date;
|
|
125
|
+
_count: ContractEventCountAggregateOutputType | null;
|
|
126
|
+
_min: ContractEventMinAggregateOutputType | null;
|
|
127
|
+
_max: ContractEventMaxAggregateOutputType | null;
|
|
128
|
+
};
|
|
129
|
+
type GetContractEventGroupByPayload<T extends ContractEventGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ContractEventGroupByOutputType, T['by']> & {
|
|
130
|
+
[P in ((keyof T) & (keyof ContractEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ContractEventGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ContractEventGroupByOutputType[P]>;
|
|
131
|
+
}>>;
|
|
132
|
+
export type ContractEventWhereInput = {
|
|
133
|
+
AND?: Prisma.ContractEventWhereInput | Prisma.ContractEventWhereInput[];
|
|
134
|
+
OR?: Prisma.ContractEventWhereInput[];
|
|
135
|
+
NOT?: Prisma.ContractEventWhereInput | Prisma.ContractEventWhereInput[];
|
|
136
|
+
id?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
137
|
+
contractId?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
138
|
+
event?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
139
|
+
data?: Prisma.StringNullableFilter<"ContractEvent"> | string | null;
|
|
140
|
+
createdAt?: Prisma.DateTimeFilter<"ContractEvent"> | Date | string;
|
|
141
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
142
|
+
};
|
|
143
|
+
export type ContractEventOrderByWithRelationInput = {
|
|
144
|
+
id?: Prisma.SortOrder;
|
|
145
|
+
contractId?: Prisma.SortOrder;
|
|
146
|
+
event?: Prisma.SortOrder;
|
|
147
|
+
data?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
148
|
+
createdAt?: Prisma.SortOrder;
|
|
149
|
+
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
150
|
+
_relevance?: Prisma.ContractEventOrderByRelevanceInput;
|
|
151
|
+
};
|
|
152
|
+
export type ContractEventWhereUniqueInput = Prisma.AtLeast<{
|
|
153
|
+
id?: string;
|
|
154
|
+
AND?: Prisma.ContractEventWhereInput | Prisma.ContractEventWhereInput[];
|
|
155
|
+
OR?: Prisma.ContractEventWhereInput[];
|
|
156
|
+
NOT?: Prisma.ContractEventWhereInput | Prisma.ContractEventWhereInput[];
|
|
157
|
+
contractId?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
158
|
+
event?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
159
|
+
data?: Prisma.StringNullableFilter<"ContractEvent"> | string | null;
|
|
160
|
+
createdAt?: Prisma.DateTimeFilter<"ContractEvent"> | Date | string;
|
|
161
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
162
|
+
}, "id">;
|
|
163
|
+
export type ContractEventOrderByWithAggregationInput = {
|
|
164
|
+
id?: Prisma.SortOrder;
|
|
165
|
+
contractId?: Prisma.SortOrder;
|
|
166
|
+
event?: Prisma.SortOrder;
|
|
167
|
+
data?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
168
|
+
createdAt?: Prisma.SortOrder;
|
|
169
|
+
_count?: Prisma.ContractEventCountOrderByAggregateInput;
|
|
170
|
+
_max?: Prisma.ContractEventMaxOrderByAggregateInput;
|
|
171
|
+
_min?: Prisma.ContractEventMinOrderByAggregateInput;
|
|
172
|
+
};
|
|
173
|
+
export type ContractEventScalarWhereWithAggregatesInput = {
|
|
174
|
+
AND?: Prisma.ContractEventScalarWhereWithAggregatesInput | Prisma.ContractEventScalarWhereWithAggregatesInput[];
|
|
175
|
+
OR?: Prisma.ContractEventScalarWhereWithAggregatesInput[];
|
|
176
|
+
NOT?: Prisma.ContractEventScalarWhereWithAggregatesInput | Prisma.ContractEventScalarWhereWithAggregatesInput[];
|
|
177
|
+
id?: Prisma.StringWithAggregatesFilter<"ContractEvent"> | string;
|
|
178
|
+
contractId?: Prisma.StringWithAggregatesFilter<"ContractEvent"> | string;
|
|
179
|
+
event?: Prisma.StringWithAggregatesFilter<"ContractEvent"> | string;
|
|
180
|
+
data?: Prisma.StringNullableWithAggregatesFilter<"ContractEvent"> | string | null;
|
|
181
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractEvent"> | Date | string;
|
|
182
|
+
};
|
|
183
|
+
export type ContractEventCreateInput = {
|
|
184
|
+
id?: string;
|
|
185
|
+
event: string;
|
|
186
|
+
data?: string | null;
|
|
187
|
+
createdAt?: Date | string;
|
|
188
|
+
contract: Prisma.ContractCreateNestedOneWithoutEventsInput;
|
|
189
|
+
};
|
|
190
|
+
export type ContractEventUncheckedCreateInput = {
|
|
191
|
+
id?: string;
|
|
192
|
+
contractId: string;
|
|
193
|
+
event: string;
|
|
194
|
+
data?: string | null;
|
|
195
|
+
createdAt?: Date | string;
|
|
196
|
+
};
|
|
197
|
+
export type ContractEventUpdateInput = {
|
|
198
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
199
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
200
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
201
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
202
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutEventsNestedInput;
|
|
203
|
+
};
|
|
204
|
+
export type ContractEventUncheckedUpdateInput = {
|
|
205
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
206
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
207
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
208
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
209
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
210
|
+
};
|
|
211
|
+
export type ContractEventCreateManyInput = {
|
|
212
|
+
id?: string;
|
|
213
|
+
contractId: string;
|
|
214
|
+
event: string;
|
|
215
|
+
data?: string | null;
|
|
216
|
+
createdAt?: Date | string;
|
|
217
|
+
};
|
|
218
|
+
export type ContractEventUpdateManyMutationInput = {
|
|
219
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
222
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
223
|
+
};
|
|
224
|
+
export type ContractEventUncheckedUpdateManyInput = {
|
|
225
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
226
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
227
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
228
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
229
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
230
|
+
};
|
|
231
|
+
export type ContractEventListRelationFilter = {
|
|
232
|
+
every?: Prisma.ContractEventWhereInput;
|
|
233
|
+
some?: Prisma.ContractEventWhereInput;
|
|
234
|
+
none?: Prisma.ContractEventWhereInput;
|
|
235
|
+
};
|
|
236
|
+
export type ContractEventOrderByRelationAggregateInput = {
|
|
237
|
+
_count?: Prisma.SortOrder;
|
|
238
|
+
};
|
|
239
|
+
export type ContractEventOrderByRelevanceInput = {
|
|
240
|
+
fields: Prisma.ContractEventOrderByRelevanceFieldEnum | Prisma.ContractEventOrderByRelevanceFieldEnum[];
|
|
241
|
+
sort: Prisma.SortOrder;
|
|
242
|
+
search: string;
|
|
243
|
+
};
|
|
244
|
+
export type ContractEventCountOrderByAggregateInput = {
|
|
245
|
+
id?: Prisma.SortOrder;
|
|
246
|
+
contractId?: Prisma.SortOrder;
|
|
247
|
+
event?: Prisma.SortOrder;
|
|
248
|
+
data?: Prisma.SortOrder;
|
|
249
|
+
createdAt?: Prisma.SortOrder;
|
|
250
|
+
};
|
|
251
|
+
export type ContractEventMaxOrderByAggregateInput = {
|
|
252
|
+
id?: Prisma.SortOrder;
|
|
253
|
+
contractId?: Prisma.SortOrder;
|
|
254
|
+
event?: Prisma.SortOrder;
|
|
255
|
+
data?: Prisma.SortOrder;
|
|
256
|
+
createdAt?: Prisma.SortOrder;
|
|
257
|
+
};
|
|
258
|
+
export type ContractEventMinOrderByAggregateInput = {
|
|
259
|
+
id?: Prisma.SortOrder;
|
|
260
|
+
contractId?: Prisma.SortOrder;
|
|
261
|
+
event?: Prisma.SortOrder;
|
|
262
|
+
data?: Prisma.SortOrder;
|
|
263
|
+
createdAt?: Prisma.SortOrder;
|
|
264
|
+
};
|
|
265
|
+
export type ContractEventCreateNestedManyWithoutContractInput = {
|
|
266
|
+
create?: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput> | Prisma.ContractEventCreateWithoutContractInput[] | Prisma.ContractEventUncheckedCreateWithoutContractInput[];
|
|
267
|
+
connectOrCreate?: Prisma.ContractEventCreateOrConnectWithoutContractInput | Prisma.ContractEventCreateOrConnectWithoutContractInput[];
|
|
268
|
+
createMany?: Prisma.ContractEventCreateManyContractInputEnvelope;
|
|
269
|
+
connect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
270
|
+
};
|
|
271
|
+
export type ContractEventUncheckedCreateNestedManyWithoutContractInput = {
|
|
272
|
+
create?: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput> | Prisma.ContractEventCreateWithoutContractInput[] | Prisma.ContractEventUncheckedCreateWithoutContractInput[];
|
|
273
|
+
connectOrCreate?: Prisma.ContractEventCreateOrConnectWithoutContractInput | Prisma.ContractEventCreateOrConnectWithoutContractInput[];
|
|
274
|
+
createMany?: Prisma.ContractEventCreateManyContractInputEnvelope;
|
|
275
|
+
connect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
276
|
+
};
|
|
277
|
+
export type ContractEventUpdateManyWithoutContractNestedInput = {
|
|
278
|
+
create?: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput> | Prisma.ContractEventCreateWithoutContractInput[] | Prisma.ContractEventUncheckedCreateWithoutContractInput[];
|
|
279
|
+
connectOrCreate?: Prisma.ContractEventCreateOrConnectWithoutContractInput | Prisma.ContractEventCreateOrConnectWithoutContractInput[];
|
|
280
|
+
upsert?: Prisma.ContractEventUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractEventUpsertWithWhereUniqueWithoutContractInput[];
|
|
281
|
+
createMany?: Prisma.ContractEventCreateManyContractInputEnvelope;
|
|
282
|
+
set?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
283
|
+
disconnect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
284
|
+
delete?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
285
|
+
connect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
286
|
+
update?: Prisma.ContractEventUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractEventUpdateWithWhereUniqueWithoutContractInput[];
|
|
287
|
+
updateMany?: Prisma.ContractEventUpdateManyWithWhereWithoutContractInput | Prisma.ContractEventUpdateManyWithWhereWithoutContractInput[];
|
|
288
|
+
deleteMany?: Prisma.ContractEventScalarWhereInput | Prisma.ContractEventScalarWhereInput[];
|
|
289
|
+
};
|
|
290
|
+
export type ContractEventUncheckedUpdateManyWithoutContractNestedInput = {
|
|
291
|
+
create?: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput> | Prisma.ContractEventCreateWithoutContractInput[] | Prisma.ContractEventUncheckedCreateWithoutContractInput[];
|
|
292
|
+
connectOrCreate?: Prisma.ContractEventCreateOrConnectWithoutContractInput | Prisma.ContractEventCreateOrConnectWithoutContractInput[];
|
|
293
|
+
upsert?: Prisma.ContractEventUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractEventUpsertWithWhereUniqueWithoutContractInput[];
|
|
294
|
+
createMany?: Prisma.ContractEventCreateManyContractInputEnvelope;
|
|
295
|
+
set?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
296
|
+
disconnect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
297
|
+
delete?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
298
|
+
connect?: Prisma.ContractEventWhereUniqueInput | Prisma.ContractEventWhereUniqueInput[];
|
|
299
|
+
update?: Prisma.ContractEventUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractEventUpdateWithWhereUniqueWithoutContractInput[];
|
|
300
|
+
updateMany?: Prisma.ContractEventUpdateManyWithWhereWithoutContractInput | Prisma.ContractEventUpdateManyWithWhereWithoutContractInput[];
|
|
301
|
+
deleteMany?: Prisma.ContractEventScalarWhereInput | Prisma.ContractEventScalarWhereInput[];
|
|
302
|
+
};
|
|
303
|
+
export type ContractEventCreateWithoutContractInput = {
|
|
304
|
+
id?: string;
|
|
305
|
+
event: string;
|
|
306
|
+
data?: string | null;
|
|
307
|
+
createdAt?: Date | string;
|
|
308
|
+
};
|
|
309
|
+
export type ContractEventUncheckedCreateWithoutContractInput = {
|
|
310
|
+
id?: string;
|
|
311
|
+
event: string;
|
|
312
|
+
data?: string | null;
|
|
313
|
+
createdAt?: Date | string;
|
|
314
|
+
};
|
|
315
|
+
export type ContractEventCreateOrConnectWithoutContractInput = {
|
|
316
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
317
|
+
create: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput>;
|
|
318
|
+
};
|
|
319
|
+
export type ContractEventCreateManyContractInputEnvelope = {
|
|
320
|
+
data: Prisma.ContractEventCreateManyContractInput | Prisma.ContractEventCreateManyContractInput[];
|
|
321
|
+
skipDuplicates?: boolean;
|
|
322
|
+
};
|
|
323
|
+
export type ContractEventUpsertWithWhereUniqueWithoutContractInput = {
|
|
324
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
325
|
+
update: Prisma.XOR<Prisma.ContractEventUpdateWithoutContractInput, Prisma.ContractEventUncheckedUpdateWithoutContractInput>;
|
|
326
|
+
create: Prisma.XOR<Prisma.ContractEventCreateWithoutContractInput, Prisma.ContractEventUncheckedCreateWithoutContractInput>;
|
|
327
|
+
};
|
|
328
|
+
export type ContractEventUpdateWithWhereUniqueWithoutContractInput = {
|
|
329
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
330
|
+
data: Prisma.XOR<Prisma.ContractEventUpdateWithoutContractInput, Prisma.ContractEventUncheckedUpdateWithoutContractInput>;
|
|
331
|
+
};
|
|
332
|
+
export type ContractEventUpdateManyWithWhereWithoutContractInput = {
|
|
333
|
+
where: Prisma.ContractEventScalarWhereInput;
|
|
334
|
+
data: Prisma.XOR<Prisma.ContractEventUpdateManyMutationInput, Prisma.ContractEventUncheckedUpdateManyWithoutContractInput>;
|
|
335
|
+
};
|
|
336
|
+
export type ContractEventScalarWhereInput = {
|
|
337
|
+
AND?: Prisma.ContractEventScalarWhereInput | Prisma.ContractEventScalarWhereInput[];
|
|
338
|
+
OR?: Prisma.ContractEventScalarWhereInput[];
|
|
339
|
+
NOT?: Prisma.ContractEventScalarWhereInput | Prisma.ContractEventScalarWhereInput[];
|
|
340
|
+
id?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
341
|
+
contractId?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
342
|
+
event?: Prisma.StringFilter<"ContractEvent"> | string;
|
|
343
|
+
data?: Prisma.StringNullableFilter<"ContractEvent"> | string | null;
|
|
344
|
+
createdAt?: Prisma.DateTimeFilter<"ContractEvent"> | Date | string;
|
|
345
|
+
};
|
|
346
|
+
export type ContractEventCreateManyContractInput = {
|
|
347
|
+
id?: string;
|
|
348
|
+
event: string;
|
|
349
|
+
data?: string | null;
|
|
350
|
+
createdAt?: Date | string;
|
|
351
|
+
};
|
|
352
|
+
export type ContractEventUpdateWithoutContractInput = {
|
|
353
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
354
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
356
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
357
|
+
};
|
|
358
|
+
export type ContractEventUncheckedUpdateWithoutContractInput = {
|
|
359
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
362
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
|
+
};
|
|
364
|
+
export type ContractEventUncheckedUpdateManyWithoutContractInput = {
|
|
365
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
366
|
+
event?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
|
+
data?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
368
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
|
+
};
|
|
370
|
+
export type ContractEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
371
|
+
id?: boolean;
|
|
372
|
+
contractId?: boolean;
|
|
373
|
+
event?: boolean;
|
|
374
|
+
data?: boolean;
|
|
375
|
+
createdAt?: boolean;
|
|
376
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
377
|
+
}, ExtArgs["result"]["contractEvent"]>;
|
|
378
|
+
export type ContractEventSelectScalar = {
|
|
379
|
+
id?: boolean;
|
|
380
|
+
contractId?: boolean;
|
|
381
|
+
event?: boolean;
|
|
382
|
+
data?: boolean;
|
|
383
|
+
createdAt?: boolean;
|
|
384
|
+
};
|
|
385
|
+
export type ContractEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "contractId" | "event" | "data" | "createdAt", ExtArgs["result"]["contractEvent"]>;
|
|
386
|
+
export type ContractEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
387
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
388
|
+
};
|
|
389
|
+
export type $ContractEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
390
|
+
name: "ContractEvent";
|
|
391
|
+
objects: {
|
|
392
|
+
contract: Prisma.$ContractPayload<ExtArgs>;
|
|
393
|
+
};
|
|
394
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
395
|
+
id: string;
|
|
396
|
+
contractId: string;
|
|
397
|
+
event: string;
|
|
398
|
+
data: string | null;
|
|
399
|
+
createdAt: Date;
|
|
400
|
+
}, ExtArgs["result"]["contractEvent"]>;
|
|
401
|
+
composites: {};
|
|
402
|
+
};
|
|
403
|
+
export type ContractEventGetPayload<S extends boolean | null | undefined | ContractEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ContractEventPayload, S>;
|
|
404
|
+
export type ContractEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ContractEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
405
|
+
select?: ContractEventCountAggregateInputType | true;
|
|
406
|
+
};
|
|
407
|
+
export interface ContractEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
408
|
+
[K: symbol]: {
|
|
409
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ContractEvent'];
|
|
410
|
+
meta: {
|
|
411
|
+
name: 'ContractEvent';
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Find zero or one ContractEvent that matches the filter.
|
|
416
|
+
* @param {ContractEventFindUniqueArgs} args - Arguments to find a ContractEvent
|
|
417
|
+
* @example
|
|
418
|
+
* // Get one ContractEvent
|
|
419
|
+
* const contractEvent = await prisma.contractEvent.findUnique({
|
|
420
|
+
* where: {
|
|
421
|
+
* // ... provide filter here
|
|
422
|
+
* }
|
|
423
|
+
* })
|
|
424
|
+
*/
|
|
425
|
+
findUnique<T extends ContractEventFindUniqueArgs>(args: Prisma.SelectSubset<T, ContractEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
426
|
+
/**
|
|
427
|
+
* Find one ContractEvent that matches the filter or throw an error with `error.code='P2025'`
|
|
428
|
+
* if no matches were found.
|
|
429
|
+
* @param {ContractEventFindUniqueOrThrowArgs} args - Arguments to find a ContractEvent
|
|
430
|
+
* @example
|
|
431
|
+
* // Get one ContractEvent
|
|
432
|
+
* const contractEvent = await prisma.contractEvent.findUniqueOrThrow({
|
|
433
|
+
* where: {
|
|
434
|
+
* // ... provide filter here
|
|
435
|
+
* }
|
|
436
|
+
* })
|
|
437
|
+
*/
|
|
438
|
+
findUniqueOrThrow<T extends ContractEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ContractEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
439
|
+
/**
|
|
440
|
+
* Find the first ContractEvent that matches the filter.
|
|
441
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
442
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
443
|
+
* @param {ContractEventFindFirstArgs} args - Arguments to find a ContractEvent
|
|
444
|
+
* @example
|
|
445
|
+
* // Get one ContractEvent
|
|
446
|
+
* const contractEvent = await prisma.contractEvent.findFirst({
|
|
447
|
+
* where: {
|
|
448
|
+
* // ... provide filter here
|
|
449
|
+
* }
|
|
450
|
+
* })
|
|
451
|
+
*/
|
|
452
|
+
findFirst<T extends ContractEventFindFirstArgs>(args?: Prisma.SelectSubset<T, ContractEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
453
|
+
/**
|
|
454
|
+
* Find the first ContractEvent that matches the filter or
|
|
455
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
456
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
457
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
458
|
+
* @param {ContractEventFindFirstOrThrowArgs} args - Arguments to find a ContractEvent
|
|
459
|
+
* @example
|
|
460
|
+
* // Get one ContractEvent
|
|
461
|
+
* const contractEvent = await prisma.contractEvent.findFirstOrThrow({
|
|
462
|
+
* where: {
|
|
463
|
+
* // ... provide filter here
|
|
464
|
+
* }
|
|
465
|
+
* })
|
|
466
|
+
*/
|
|
467
|
+
findFirstOrThrow<T extends ContractEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ContractEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
468
|
+
/**
|
|
469
|
+
* Find zero or more ContractEvents that matches the filter.
|
|
470
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
471
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
472
|
+
* @param {ContractEventFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
473
|
+
* @example
|
|
474
|
+
* // Get all ContractEvents
|
|
475
|
+
* const contractEvents = await prisma.contractEvent.findMany()
|
|
476
|
+
*
|
|
477
|
+
* // Get first 10 ContractEvents
|
|
478
|
+
* const contractEvents = await prisma.contractEvent.findMany({ take: 10 })
|
|
479
|
+
*
|
|
480
|
+
* // Only select the `id`
|
|
481
|
+
* const contractEventWithIdOnly = await prisma.contractEvent.findMany({ select: { id: true } })
|
|
482
|
+
*
|
|
483
|
+
*/
|
|
484
|
+
findMany<T extends ContractEventFindManyArgs>(args?: Prisma.SelectSubset<T, ContractEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
485
|
+
/**
|
|
486
|
+
* Create a ContractEvent.
|
|
487
|
+
* @param {ContractEventCreateArgs} args - Arguments to create a ContractEvent.
|
|
488
|
+
* @example
|
|
489
|
+
* // Create one ContractEvent
|
|
490
|
+
* const ContractEvent = await prisma.contractEvent.create({
|
|
491
|
+
* data: {
|
|
492
|
+
* // ... data to create a ContractEvent
|
|
493
|
+
* }
|
|
494
|
+
* })
|
|
495
|
+
*
|
|
496
|
+
*/
|
|
497
|
+
create<T extends ContractEventCreateArgs>(args: Prisma.SelectSubset<T, ContractEventCreateArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
498
|
+
/**
|
|
499
|
+
* Create many ContractEvents.
|
|
500
|
+
* @param {ContractEventCreateManyArgs} args - Arguments to create many ContractEvents.
|
|
501
|
+
* @example
|
|
502
|
+
* // Create many ContractEvents
|
|
503
|
+
* const contractEvent = await prisma.contractEvent.createMany({
|
|
504
|
+
* data: [
|
|
505
|
+
* // ... provide data here
|
|
506
|
+
* ]
|
|
507
|
+
* })
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
createMany<T extends ContractEventCreateManyArgs>(args?: Prisma.SelectSubset<T, ContractEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
511
|
+
/**
|
|
512
|
+
* Delete a ContractEvent.
|
|
513
|
+
* @param {ContractEventDeleteArgs} args - Arguments to delete one ContractEvent.
|
|
514
|
+
* @example
|
|
515
|
+
* // Delete one ContractEvent
|
|
516
|
+
* const ContractEvent = await prisma.contractEvent.delete({
|
|
517
|
+
* where: {
|
|
518
|
+
* // ... filter to delete one ContractEvent
|
|
519
|
+
* }
|
|
520
|
+
* })
|
|
521
|
+
*
|
|
522
|
+
*/
|
|
523
|
+
delete<T extends ContractEventDeleteArgs>(args: Prisma.SelectSubset<T, ContractEventDeleteArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
524
|
+
/**
|
|
525
|
+
* Update one ContractEvent.
|
|
526
|
+
* @param {ContractEventUpdateArgs} args - Arguments to update one ContractEvent.
|
|
527
|
+
* @example
|
|
528
|
+
* // Update one ContractEvent
|
|
529
|
+
* const contractEvent = await prisma.contractEvent.update({
|
|
530
|
+
* where: {
|
|
531
|
+
* // ... provide filter here
|
|
532
|
+
* },
|
|
533
|
+
* data: {
|
|
534
|
+
* // ... provide data here
|
|
535
|
+
* }
|
|
536
|
+
* })
|
|
537
|
+
*
|
|
538
|
+
*/
|
|
539
|
+
update<T extends ContractEventUpdateArgs>(args: Prisma.SelectSubset<T, ContractEventUpdateArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
540
|
+
/**
|
|
541
|
+
* Delete zero or more ContractEvents.
|
|
542
|
+
* @param {ContractEventDeleteManyArgs} args - Arguments to filter ContractEvents to delete.
|
|
543
|
+
* @example
|
|
544
|
+
* // Delete a few ContractEvents
|
|
545
|
+
* const { count } = await prisma.contractEvent.deleteMany({
|
|
546
|
+
* where: {
|
|
547
|
+
* // ... provide filter here
|
|
548
|
+
* }
|
|
549
|
+
* })
|
|
550
|
+
*
|
|
551
|
+
*/
|
|
552
|
+
deleteMany<T extends ContractEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, ContractEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
553
|
+
/**
|
|
554
|
+
* Update zero or more ContractEvents.
|
|
555
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
556
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
557
|
+
* @param {ContractEventUpdateManyArgs} args - Arguments to update one or more rows.
|
|
558
|
+
* @example
|
|
559
|
+
* // Update many ContractEvents
|
|
560
|
+
* const contractEvent = await prisma.contractEvent.updateMany({
|
|
561
|
+
* where: {
|
|
562
|
+
* // ... provide filter here
|
|
563
|
+
* },
|
|
564
|
+
* data: {
|
|
565
|
+
* // ... provide data here
|
|
566
|
+
* }
|
|
567
|
+
* })
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
updateMany<T extends ContractEventUpdateManyArgs>(args: Prisma.SelectSubset<T, ContractEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
571
|
+
/**
|
|
572
|
+
* Create or update one ContractEvent.
|
|
573
|
+
* @param {ContractEventUpsertArgs} args - Arguments to update or create a ContractEvent.
|
|
574
|
+
* @example
|
|
575
|
+
* // Update or create a ContractEvent
|
|
576
|
+
* const contractEvent = await prisma.contractEvent.upsert({
|
|
577
|
+
* create: {
|
|
578
|
+
* // ... data to create a ContractEvent
|
|
579
|
+
* },
|
|
580
|
+
* update: {
|
|
581
|
+
* // ... in case it already exists, update
|
|
582
|
+
* },
|
|
583
|
+
* where: {
|
|
584
|
+
* // ... the filter for the ContractEvent we want to update
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*/
|
|
588
|
+
upsert<T extends ContractEventUpsertArgs>(args: Prisma.SelectSubset<T, ContractEventUpsertArgs<ExtArgs>>): Prisma.Prisma__ContractEventClient<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
589
|
+
/**
|
|
590
|
+
* Count the number of ContractEvents.
|
|
591
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
592
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
593
|
+
* @param {ContractEventCountArgs} args - Arguments to filter ContractEvents to count.
|
|
594
|
+
* @example
|
|
595
|
+
* // Count the number of ContractEvents
|
|
596
|
+
* const count = await prisma.contractEvent.count({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... the filter for the ContractEvents we want to count
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
**/
|
|
602
|
+
count<T extends ContractEventCountArgs>(args?: Prisma.Subset<T, ContractEventCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ContractEventCountAggregateOutputType> : number>;
|
|
603
|
+
/**
|
|
604
|
+
* Allows you to perform aggregations operations on a ContractEvent.
|
|
605
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
606
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
607
|
+
* @param {ContractEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
608
|
+
* @example
|
|
609
|
+
* // Ordered by age ascending
|
|
610
|
+
* // Where email contains prisma.io
|
|
611
|
+
* // Limited to the 10 users
|
|
612
|
+
* const aggregations = await prisma.user.aggregate({
|
|
613
|
+
* _avg: {
|
|
614
|
+
* age: true,
|
|
615
|
+
* },
|
|
616
|
+
* where: {
|
|
617
|
+
* email: {
|
|
618
|
+
* contains: "prisma.io",
|
|
619
|
+
* },
|
|
620
|
+
* },
|
|
621
|
+
* orderBy: {
|
|
622
|
+
* age: "asc",
|
|
623
|
+
* },
|
|
624
|
+
* take: 10,
|
|
625
|
+
* })
|
|
626
|
+
**/
|
|
627
|
+
aggregate<T extends ContractEventAggregateArgs>(args: Prisma.Subset<T, ContractEventAggregateArgs>): Prisma.PrismaPromise<GetContractEventAggregateType<T>>;
|
|
628
|
+
/**
|
|
629
|
+
* Group by ContractEvent.
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
* @param {ContractEventGroupByArgs} args - Group by arguments.
|
|
633
|
+
* @example
|
|
634
|
+
* // Group by city, order by createdAt, get count
|
|
635
|
+
* const result = await prisma.user.groupBy({
|
|
636
|
+
* by: ['city', 'createdAt'],
|
|
637
|
+
* orderBy: {
|
|
638
|
+
* createdAt: true
|
|
639
|
+
* },
|
|
640
|
+
* _count: {
|
|
641
|
+
* _all: true
|
|
642
|
+
* },
|
|
643
|
+
* })
|
|
644
|
+
*
|
|
645
|
+
**/
|
|
646
|
+
groupBy<T extends ContractEventGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
647
|
+
orderBy: ContractEventGroupByArgs['orderBy'];
|
|
648
|
+
} : {
|
|
649
|
+
orderBy?: ContractEventGroupByArgs['orderBy'];
|
|
650
|
+
}, 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 ? {
|
|
651
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
652
|
+
Error,
|
|
653
|
+
'Field ',
|
|
654
|
+
P,
|
|
655
|
+
` in "having" needs to be provided in "by"`
|
|
656
|
+
];
|
|
657
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
658
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
659
|
+
}[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 ? {} : {
|
|
660
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
661
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
662
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
663
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ContractEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetContractEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
664
|
+
/**
|
|
665
|
+
* Fields of the ContractEvent model
|
|
666
|
+
*/
|
|
667
|
+
readonly fields: ContractEventFieldRefs;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* The delegate class that acts as a "Promise-like" for ContractEvent.
|
|
671
|
+
* Why is this prefixed with `Prisma__`?
|
|
672
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
673
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
674
|
+
*/
|
|
675
|
+
export interface Prisma__ContractEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
676
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
677
|
+
contract<T extends Prisma.ContractDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractClient<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
678
|
+
/**
|
|
679
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
680
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
681
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
682
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
683
|
+
*/
|
|
684
|
+
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>;
|
|
685
|
+
/**
|
|
686
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
687
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
688
|
+
* @returns A Promise for the completion of the callback.
|
|
689
|
+
*/
|
|
690
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
691
|
+
/**
|
|
692
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
693
|
+
* resolved value cannot be modified from the callback.
|
|
694
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
695
|
+
* @returns A Promise for the completion of the callback.
|
|
696
|
+
*/
|
|
697
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Fields of the ContractEvent model
|
|
701
|
+
*/
|
|
702
|
+
export interface ContractEventFieldRefs {
|
|
703
|
+
readonly id: Prisma.FieldRef<"ContractEvent", 'String'>;
|
|
704
|
+
readonly contractId: Prisma.FieldRef<"ContractEvent", 'String'>;
|
|
705
|
+
readonly event: Prisma.FieldRef<"ContractEvent", 'String'>;
|
|
706
|
+
readonly data: Prisma.FieldRef<"ContractEvent", 'String'>;
|
|
707
|
+
readonly createdAt: Prisma.FieldRef<"ContractEvent", 'DateTime'>;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* ContractEvent findUnique
|
|
711
|
+
*/
|
|
712
|
+
export type ContractEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
713
|
+
/**
|
|
714
|
+
* Select specific fields to fetch from the ContractEvent
|
|
715
|
+
*/
|
|
716
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
717
|
+
/**
|
|
718
|
+
* Omit specific fields from the ContractEvent
|
|
719
|
+
*/
|
|
720
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
721
|
+
/**
|
|
722
|
+
* Choose, which related nodes to fetch as well
|
|
723
|
+
*/
|
|
724
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
725
|
+
/**
|
|
726
|
+
* Filter, which ContractEvent to fetch.
|
|
727
|
+
*/
|
|
728
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* ContractEvent findUniqueOrThrow
|
|
732
|
+
*/
|
|
733
|
+
export type ContractEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
734
|
+
/**
|
|
735
|
+
* Select specific fields to fetch from the ContractEvent
|
|
736
|
+
*/
|
|
737
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
738
|
+
/**
|
|
739
|
+
* Omit specific fields from the ContractEvent
|
|
740
|
+
*/
|
|
741
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
742
|
+
/**
|
|
743
|
+
* Choose, which related nodes to fetch as well
|
|
744
|
+
*/
|
|
745
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
746
|
+
/**
|
|
747
|
+
* Filter, which ContractEvent to fetch.
|
|
748
|
+
*/
|
|
749
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* ContractEvent findFirst
|
|
753
|
+
*/
|
|
754
|
+
export type ContractEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
|
+
/**
|
|
756
|
+
* Select specific fields to fetch from the ContractEvent
|
|
757
|
+
*/
|
|
758
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
759
|
+
/**
|
|
760
|
+
* Omit specific fields from the ContractEvent
|
|
761
|
+
*/
|
|
762
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
763
|
+
/**
|
|
764
|
+
* Choose, which related nodes to fetch as well
|
|
765
|
+
*/
|
|
766
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
767
|
+
/**
|
|
768
|
+
* Filter, which ContractEvent to fetch.
|
|
769
|
+
*/
|
|
770
|
+
where?: Prisma.ContractEventWhereInput;
|
|
771
|
+
/**
|
|
772
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
773
|
+
*
|
|
774
|
+
* Determine the order of ContractEvents to fetch.
|
|
775
|
+
*/
|
|
776
|
+
orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
|
|
777
|
+
/**
|
|
778
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
779
|
+
*
|
|
780
|
+
* Sets the position for searching for ContractEvents.
|
|
781
|
+
*/
|
|
782
|
+
cursor?: Prisma.ContractEventWhereUniqueInput;
|
|
783
|
+
/**
|
|
784
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
785
|
+
*
|
|
786
|
+
* Take `±n` ContractEvents from the position of the cursor.
|
|
787
|
+
*/
|
|
788
|
+
take?: number;
|
|
789
|
+
/**
|
|
790
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
791
|
+
*
|
|
792
|
+
* Skip the first `n` ContractEvents.
|
|
793
|
+
*/
|
|
794
|
+
skip?: number;
|
|
795
|
+
/**
|
|
796
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
797
|
+
*
|
|
798
|
+
* Filter by unique combinations of ContractEvents.
|
|
799
|
+
*/
|
|
800
|
+
distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* ContractEvent findFirstOrThrow
|
|
804
|
+
*/
|
|
805
|
+
export type ContractEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
806
|
+
/**
|
|
807
|
+
* Select specific fields to fetch from the ContractEvent
|
|
808
|
+
*/
|
|
809
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
810
|
+
/**
|
|
811
|
+
* Omit specific fields from the ContractEvent
|
|
812
|
+
*/
|
|
813
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
814
|
+
/**
|
|
815
|
+
* Choose, which related nodes to fetch as well
|
|
816
|
+
*/
|
|
817
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
818
|
+
/**
|
|
819
|
+
* Filter, which ContractEvent to fetch.
|
|
820
|
+
*/
|
|
821
|
+
where?: Prisma.ContractEventWhereInput;
|
|
822
|
+
/**
|
|
823
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
824
|
+
*
|
|
825
|
+
* Determine the order of ContractEvents to fetch.
|
|
826
|
+
*/
|
|
827
|
+
orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
|
|
828
|
+
/**
|
|
829
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
830
|
+
*
|
|
831
|
+
* Sets the position for searching for ContractEvents.
|
|
832
|
+
*/
|
|
833
|
+
cursor?: Prisma.ContractEventWhereUniqueInput;
|
|
834
|
+
/**
|
|
835
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
836
|
+
*
|
|
837
|
+
* Take `±n` ContractEvents from the position of the cursor.
|
|
838
|
+
*/
|
|
839
|
+
take?: number;
|
|
840
|
+
/**
|
|
841
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
842
|
+
*
|
|
843
|
+
* Skip the first `n` ContractEvents.
|
|
844
|
+
*/
|
|
845
|
+
skip?: number;
|
|
846
|
+
/**
|
|
847
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
848
|
+
*
|
|
849
|
+
* Filter by unique combinations of ContractEvents.
|
|
850
|
+
*/
|
|
851
|
+
distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* ContractEvent findMany
|
|
855
|
+
*/
|
|
856
|
+
export type ContractEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
857
|
+
/**
|
|
858
|
+
* Select specific fields to fetch from the ContractEvent
|
|
859
|
+
*/
|
|
860
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
861
|
+
/**
|
|
862
|
+
* Omit specific fields from the ContractEvent
|
|
863
|
+
*/
|
|
864
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
865
|
+
/**
|
|
866
|
+
* Choose, which related nodes to fetch as well
|
|
867
|
+
*/
|
|
868
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
869
|
+
/**
|
|
870
|
+
* Filter, which ContractEvents to fetch.
|
|
871
|
+
*/
|
|
872
|
+
where?: Prisma.ContractEventWhereInput;
|
|
873
|
+
/**
|
|
874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
875
|
+
*
|
|
876
|
+
* Determine the order of ContractEvents to fetch.
|
|
877
|
+
*/
|
|
878
|
+
orderBy?: Prisma.ContractEventOrderByWithRelationInput | Prisma.ContractEventOrderByWithRelationInput[];
|
|
879
|
+
/**
|
|
880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
881
|
+
*
|
|
882
|
+
* Sets the position for listing ContractEvents.
|
|
883
|
+
*/
|
|
884
|
+
cursor?: Prisma.ContractEventWhereUniqueInput;
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
887
|
+
*
|
|
888
|
+
* Take `±n` ContractEvents from the position of the cursor.
|
|
889
|
+
*/
|
|
890
|
+
take?: number;
|
|
891
|
+
/**
|
|
892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
893
|
+
*
|
|
894
|
+
* Skip the first `n` ContractEvents.
|
|
895
|
+
*/
|
|
896
|
+
skip?: number;
|
|
897
|
+
distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* ContractEvent create
|
|
901
|
+
*/
|
|
902
|
+
export type ContractEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
903
|
+
/**
|
|
904
|
+
* Select specific fields to fetch from the ContractEvent
|
|
905
|
+
*/
|
|
906
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
907
|
+
/**
|
|
908
|
+
* Omit specific fields from the ContractEvent
|
|
909
|
+
*/
|
|
910
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
911
|
+
/**
|
|
912
|
+
* Choose, which related nodes to fetch as well
|
|
913
|
+
*/
|
|
914
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* The data needed to create a ContractEvent.
|
|
917
|
+
*/
|
|
918
|
+
data: Prisma.XOR<Prisma.ContractEventCreateInput, Prisma.ContractEventUncheckedCreateInput>;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* ContractEvent createMany
|
|
922
|
+
*/
|
|
923
|
+
export type ContractEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
924
|
+
/**
|
|
925
|
+
* The data used to create many ContractEvents.
|
|
926
|
+
*/
|
|
927
|
+
data: Prisma.ContractEventCreateManyInput | Prisma.ContractEventCreateManyInput[];
|
|
928
|
+
skipDuplicates?: boolean;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* ContractEvent update
|
|
932
|
+
*/
|
|
933
|
+
export type ContractEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
934
|
+
/**
|
|
935
|
+
* Select specific fields to fetch from the ContractEvent
|
|
936
|
+
*/
|
|
937
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
938
|
+
/**
|
|
939
|
+
* Omit specific fields from the ContractEvent
|
|
940
|
+
*/
|
|
941
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
942
|
+
/**
|
|
943
|
+
* Choose, which related nodes to fetch as well
|
|
944
|
+
*/
|
|
945
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* The data needed to update a ContractEvent.
|
|
948
|
+
*/
|
|
949
|
+
data: Prisma.XOR<Prisma.ContractEventUpdateInput, Prisma.ContractEventUncheckedUpdateInput>;
|
|
950
|
+
/**
|
|
951
|
+
* Choose, which ContractEvent to update.
|
|
952
|
+
*/
|
|
953
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* ContractEvent updateMany
|
|
957
|
+
*/
|
|
958
|
+
export type ContractEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* The data used to update ContractEvents.
|
|
961
|
+
*/
|
|
962
|
+
data: Prisma.XOR<Prisma.ContractEventUpdateManyMutationInput, Prisma.ContractEventUncheckedUpdateManyInput>;
|
|
963
|
+
/**
|
|
964
|
+
* Filter which ContractEvents to update
|
|
965
|
+
*/
|
|
966
|
+
where?: Prisma.ContractEventWhereInput;
|
|
967
|
+
/**
|
|
968
|
+
* Limit how many ContractEvents to update.
|
|
969
|
+
*/
|
|
970
|
+
limit?: number;
|
|
971
|
+
};
|
|
972
|
+
/**
|
|
973
|
+
* ContractEvent upsert
|
|
974
|
+
*/
|
|
975
|
+
export type ContractEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
+
/**
|
|
977
|
+
* Select specific fields to fetch from the ContractEvent
|
|
978
|
+
*/
|
|
979
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Omit specific fields from the ContractEvent
|
|
982
|
+
*/
|
|
983
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
984
|
+
/**
|
|
985
|
+
* Choose, which related nodes to fetch as well
|
|
986
|
+
*/
|
|
987
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
988
|
+
/**
|
|
989
|
+
* The filter to search for the ContractEvent to update in case it exists.
|
|
990
|
+
*/
|
|
991
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
992
|
+
/**
|
|
993
|
+
* In case the ContractEvent found by the `where` argument doesn't exist, create a new ContractEvent with this data.
|
|
994
|
+
*/
|
|
995
|
+
create: Prisma.XOR<Prisma.ContractEventCreateInput, Prisma.ContractEventUncheckedCreateInput>;
|
|
996
|
+
/**
|
|
997
|
+
* In case the ContractEvent was found with the provided `where` argument, update it with this data.
|
|
998
|
+
*/
|
|
999
|
+
update: Prisma.XOR<Prisma.ContractEventUpdateInput, Prisma.ContractEventUncheckedUpdateInput>;
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* ContractEvent delete
|
|
1003
|
+
*/
|
|
1004
|
+
export type ContractEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Select specific fields to fetch from the ContractEvent
|
|
1007
|
+
*/
|
|
1008
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Omit specific fields from the ContractEvent
|
|
1011
|
+
*/
|
|
1012
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* Choose, which related nodes to fetch as well
|
|
1015
|
+
*/
|
|
1016
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Filter which ContractEvent to delete.
|
|
1019
|
+
*/
|
|
1020
|
+
where: Prisma.ContractEventWhereUniqueInput;
|
|
1021
|
+
};
|
|
1022
|
+
/**
|
|
1023
|
+
* ContractEvent deleteMany
|
|
1024
|
+
*/
|
|
1025
|
+
export type ContractEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter which ContractEvents to delete
|
|
1028
|
+
*/
|
|
1029
|
+
where?: Prisma.ContractEventWhereInput;
|
|
1030
|
+
/**
|
|
1031
|
+
* Limit how many ContractEvents to delete.
|
|
1032
|
+
*/
|
|
1033
|
+
limit?: number;
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* ContractEvent without action
|
|
1037
|
+
*/
|
|
1038
|
+
export type ContractEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
/**
|
|
1040
|
+
* Select specific fields to fetch from the ContractEvent
|
|
1041
|
+
*/
|
|
1042
|
+
select?: Prisma.ContractEventSelect<ExtArgs> | null;
|
|
1043
|
+
/**
|
|
1044
|
+
* Omit specific fields from the ContractEvent
|
|
1045
|
+
*/
|
|
1046
|
+
omit?: Prisma.ContractEventOmit<ExtArgs> | null;
|
|
1047
|
+
/**
|
|
1048
|
+
* Choose, which related nodes to fetch as well
|
|
1049
|
+
*/
|
|
1050
|
+
include?: Prisma.ContractEventInclude<ExtArgs> | null;
|
|
1051
|
+
};
|
|
1052
|
+
export {};
|