@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,2026 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ContractPayment
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ContractPaymentModel = runtime.Types.Result.DefaultSelection<Prisma.$ContractPaymentPayload>;
|
|
8
|
+
export type AggregateContractPayment = {
|
|
9
|
+
_count: ContractPaymentCountAggregateOutputType | null;
|
|
10
|
+
_avg: ContractPaymentAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ContractPaymentSumAggregateOutputType | null;
|
|
12
|
+
_min: ContractPaymentMinAggregateOutputType | null;
|
|
13
|
+
_max: ContractPaymentMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ContractPaymentAvgAggregateOutputType = {
|
|
16
|
+
amount: number | null;
|
|
17
|
+
principalAmount: number | null;
|
|
18
|
+
interestAmount: number | null;
|
|
19
|
+
lateFeeAmount: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ContractPaymentSumAggregateOutputType = {
|
|
22
|
+
amount: number | null;
|
|
23
|
+
principalAmount: number | null;
|
|
24
|
+
interestAmount: number | null;
|
|
25
|
+
lateFeeAmount: number | null;
|
|
26
|
+
};
|
|
27
|
+
export type ContractPaymentMinAggregateOutputType = {
|
|
28
|
+
id: string | null;
|
|
29
|
+
contractId: string | null;
|
|
30
|
+
phaseId: string | null;
|
|
31
|
+
installmentId: string | null;
|
|
32
|
+
payerId: string | null;
|
|
33
|
+
amount: number | null;
|
|
34
|
+
principalAmount: number | null;
|
|
35
|
+
interestAmount: number | null;
|
|
36
|
+
lateFeeAmount: number | null;
|
|
37
|
+
paymentMethod: string | null;
|
|
38
|
+
status: string | null;
|
|
39
|
+
reference: string | null;
|
|
40
|
+
gatewayResponse: string | null;
|
|
41
|
+
processedAt: Date | null;
|
|
42
|
+
createdAt: Date | null;
|
|
43
|
+
updatedAt: Date | null;
|
|
44
|
+
};
|
|
45
|
+
export type ContractPaymentMaxAggregateOutputType = {
|
|
46
|
+
id: string | null;
|
|
47
|
+
contractId: string | null;
|
|
48
|
+
phaseId: string | null;
|
|
49
|
+
installmentId: string | null;
|
|
50
|
+
payerId: string | null;
|
|
51
|
+
amount: number | null;
|
|
52
|
+
principalAmount: number | null;
|
|
53
|
+
interestAmount: number | null;
|
|
54
|
+
lateFeeAmount: number | null;
|
|
55
|
+
paymentMethod: string | null;
|
|
56
|
+
status: string | null;
|
|
57
|
+
reference: string | null;
|
|
58
|
+
gatewayResponse: string | null;
|
|
59
|
+
processedAt: Date | null;
|
|
60
|
+
createdAt: Date | null;
|
|
61
|
+
updatedAt: Date | null;
|
|
62
|
+
};
|
|
63
|
+
export type ContractPaymentCountAggregateOutputType = {
|
|
64
|
+
id: number;
|
|
65
|
+
contractId: number;
|
|
66
|
+
phaseId: number;
|
|
67
|
+
installmentId: number;
|
|
68
|
+
payerId: number;
|
|
69
|
+
amount: number;
|
|
70
|
+
principalAmount: number;
|
|
71
|
+
interestAmount: number;
|
|
72
|
+
lateFeeAmount: number;
|
|
73
|
+
paymentMethod: number;
|
|
74
|
+
status: number;
|
|
75
|
+
reference: number;
|
|
76
|
+
gatewayResponse: number;
|
|
77
|
+
processedAt: number;
|
|
78
|
+
createdAt: number;
|
|
79
|
+
updatedAt: number;
|
|
80
|
+
_all: number;
|
|
81
|
+
};
|
|
82
|
+
export type ContractPaymentAvgAggregateInputType = {
|
|
83
|
+
amount?: true;
|
|
84
|
+
principalAmount?: true;
|
|
85
|
+
interestAmount?: true;
|
|
86
|
+
lateFeeAmount?: true;
|
|
87
|
+
};
|
|
88
|
+
export type ContractPaymentSumAggregateInputType = {
|
|
89
|
+
amount?: true;
|
|
90
|
+
principalAmount?: true;
|
|
91
|
+
interestAmount?: true;
|
|
92
|
+
lateFeeAmount?: true;
|
|
93
|
+
};
|
|
94
|
+
export type ContractPaymentMinAggregateInputType = {
|
|
95
|
+
id?: true;
|
|
96
|
+
contractId?: true;
|
|
97
|
+
phaseId?: true;
|
|
98
|
+
installmentId?: true;
|
|
99
|
+
payerId?: true;
|
|
100
|
+
amount?: true;
|
|
101
|
+
principalAmount?: true;
|
|
102
|
+
interestAmount?: true;
|
|
103
|
+
lateFeeAmount?: true;
|
|
104
|
+
paymentMethod?: true;
|
|
105
|
+
status?: true;
|
|
106
|
+
reference?: true;
|
|
107
|
+
gatewayResponse?: true;
|
|
108
|
+
processedAt?: true;
|
|
109
|
+
createdAt?: true;
|
|
110
|
+
updatedAt?: true;
|
|
111
|
+
};
|
|
112
|
+
export type ContractPaymentMaxAggregateInputType = {
|
|
113
|
+
id?: true;
|
|
114
|
+
contractId?: true;
|
|
115
|
+
phaseId?: true;
|
|
116
|
+
installmentId?: true;
|
|
117
|
+
payerId?: true;
|
|
118
|
+
amount?: true;
|
|
119
|
+
principalAmount?: true;
|
|
120
|
+
interestAmount?: true;
|
|
121
|
+
lateFeeAmount?: true;
|
|
122
|
+
paymentMethod?: true;
|
|
123
|
+
status?: true;
|
|
124
|
+
reference?: true;
|
|
125
|
+
gatewayResponse?: true;
|
|
126
|
+
processedAt?: true;
|
|
127
|
+
createdAt?: true;
|
|
128
|
+
updatedAt?: true;
|
|
129
|
+
};
|
|
130
|
+
export type ContractPaymentCountAggregateInputType = {
|
|
131
|
+
id?: true;
|
|
132
|
+
contractId?: true;
|
|
133
|
+
phaseId?: true;
|
|
134
|
+
installmentId?: true;
|
|
135
|
+
payerId?: true;
|
|
136
|
+
amount?: true;
|
|
137
|
+
principalAmount?: true;
|
|
138
|
+
interestAmount?: true;
|
|
139
|
+
lateFeeAmount?: true;
|
|
140
|
+
paymentMethod?: true;
|
|
141
|
+
status?: true;
|
|
142
|
+
reference?: true;
|
|
143
|
+
gatewayResponse?: true;
|
|
144
|
+
processedAt?: true;
|
|
145
|
+
createdAt?: true;
|
|
146
|
+
updatedAt?: true;
|
|
147
|
+
_all?: true;
|
|
148
|
+
};
|
|
149
|
+
export type ContractPaymentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
150
|
+
/**
|
|
151
|
+
* Filter which ContractPayment to aggregate.
|
|
152
|
+
*/
|
|
153
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
156
|
+
*
|
|
157
|
+
* Determine the order of ContractPayments to fetch.
|
|
158
|
+
*/
|
|
159
|
+
orderBy?: Prisma.ContractPaymentOrderByWithRelationInput | Prisma.ContractPaymentOrderByWithRelationInput[];
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
162
|
+
*
|
|
163
|
+
* Sets the start position
|
|
164
|
+
*/
|
|
165
|
+
cursor?: Prisma.ContractPaymentWhereUniqueInput;
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
168
|
+
*
|
|
169
|
+
* Take `±n` ContractPayments from the position of the cursor.
|
|
170
|
+
*/
|
|
171
|
+
take?: number;
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
174
|
+
*
|
|
175
|
+
* Skip the first `n` ContractPayments.
|
|
176
|
+
*/
|
|
177
|
+
skip?: number;
|
|
178
|
+
/**
|
|
179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
+
*
|
|
181
|
+
* Count returned ContractPayments
|
|
182
|
+
**/
|
|
183
|
+
_count?: true | ContractPaymentCountAggregateInputType;
|
|
184
|
+
/**
|
|
185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
+
*
|
|
187
|
+
* Select which fields to average
|
|
188
|
+
**/
|
|
189
|
+
_avg?: ContractPaymentAvgAggregateInputType;
|
|
190
|
+
/**
|
|
191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
192
|
+
*
|
|
193
|
+
* Select which fields to sum
|
|
194
|
+
**/
|
|
195
|
+
_sum?: ContractPaymentSumAggregateInputType;
|
|
196
|
+
/**
|
|
197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
198
|
+
*
|
|
199
|
+
* Select which fields to find the minimum value
|
|
200
|
+
**/
|
|
201
|
+
_min?: ContractPaymentMinAggregateInputType;
|
|
202
|
+
/**
|
|
203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
204
|
+
*
|
|
205
|
+
* Select which fields to find the maximum value
|
|
206
|
+
**/
|
|
207
|
+
_max?: ContractPaymentMaxAggregateInputType;
|
|
208
|
+
};
|
|
209
|
+
export type GetContractPaymentAggregateType<T extends ContractPaymentAggregateArgs> = {
|
|
210
|
+
[P in keyof T & keyof AggregateContractPayment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateContractPayment[P]> : Prisma.GetScalarType<T[P], AggregateContractPayment[P]>;
|
|
211
|
+
};
|
|
212
|
+
export type ContractPaymentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
213
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
214
|
+
orderBy?: Prisma.ContractPaymentOrderByWithAggregationInput | Prisma.ContractPaymentOrderByWithAggregationInput[];
|
|
215
|
+
by: Prisma.ContractPaymentScalarFieldEnum[] | Prisma.ContractPaymentScalarFieldEnum;
|
|
216
|
+
having?: Prisma.ContractPaymentScalarWhereWithAggregatesInput;
|
|
217
|
+
take?: number;
|
|
218
|
+
skip?: number;
|
|
219
|
+
_count?: ContractPaymentCountAggregateInputType | true;
|
|
220
|
+
_avg?: ContractPaymentAvgAggregateInputType;
|
|
221
|
+
_sum?: ContractPaymentSumAggregateInputType;
|
|
222
|
+
_min?: ContractPaymentMinAggregateInputType;
|
|
223
|
+
_max?: ContractPaymentMaxAggregateInputType;
|
|
224
|
+
};
|
|
225
|
+
export type ContractPaymentGroupByOutputType = {
|
|
226
|
+
id: string;
|
|
227
|
+
contractId: string;
|
|
228
|
+
phaseId: string | null;
|
|
229
|
+
installmentId: string | null;
|
|
230
|
+
payerId: string | null;
|
|
231
|
+
amount: number;
|
|
232
|
+
principalAmount: number;
|
|
233
|
+
interestAmount: number;
|
|
234
|
+
lateFeeAmount: number;
|
|
235
|
+
paymentMethod: string;
|
|
236
|
+
status: string;
|
|
237
|
+
reference: string | null;
|
|
238
|
+
gatewayResponse: string | null;
|
|
239
|
+
processedAt: Date | null;
|
|
240
|
+
createdAt: Date;
|
|
241
|
+
updatedAt: Date;
|
|
242
|
+
_count: ContractPaymentCountAggregateOutputType | null;
|
|
243
|
+
_avg: ContractPaymentAvgAggregateOutputType | null;
|
|
244
|
+
_sum: ContractPaymentSumAggregateOutputType | null;
|
|
245
|
+
_min: ContractPaymentMinAggregateOutputType | null;
|
|
246
|
+
_max: ContractPaymentMaxAggregateOutputType | null;
|
|
247
|
+
};
|
|
248
|
+
type GetContractPaymentGroupByPayload<T extends ContractPaymentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ContractPaymentGroupByOutputType, T['by']> & {
|
|
249
|
+
[P in ((keyof T) & (keyof ContractPaymentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ContractPaymentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ContractPaymentGroupByOutputType[P]>;
|
|
250
|
+
}>>;
|
|
251
|
+
export type ContractPaymentWhereInput = {
|
|
252
|
+
AND?: Prisma.ContractPaymentWhereInput | Prisma.ContractPaymentWhereInput[];
|
|
253
|
+
OR?: Prisma.ContractPaymentWhereInput[];
|
|
254
|
+
NOT?: Prisma.ContractPaymentWhereInput | Prisma.ContractPaymentWhereInput[];
|
|
255
|
+
id?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
256
|
+
contractId?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
257
|
+
phaseId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
258
|
+
installmentId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
259
|
+
payerId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
260
|
+
amount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
261
|
+
principalAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
262
|
+
interestAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
263
|
+
lateFeeAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
264
|
+
paymentMethod?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
265
|
+
status?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
266
|
+
reference?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
267
|
+
gatewayResponse?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
268
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractPayment"> | Date | string | null;
|
|
269
|
+
createdAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
270
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
271
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
272
|
+
phase?: Prisma.XOR<Prisma.ContractPhaseNullableScalarRelationFilter, Prisma.ContractPhaseWhereInput> | null;
|
|
273
|
+
installment?: Prisma.XOR<Prisma.ContractInstallmentNullableScalarRelationFilter, Prisma.ContractInstallmentWhereInput> | null;
|
|
274
|
+
payer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
275
|
+
};
|
|
276
|
+
export type ContractPaymentOrderByWithRelationInput = {
|
|
277
|
+
id?: Prisma.SortOrder;
|
|
278
|
+
contractId?: Prisma.SortOrder;
|
|
279
|
+
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
installmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
payerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
|
+
amount?: Prisma.SortOrder;
|
|
283
|
+
principalAmount?: Prisma.SortOrder;
|
|
284
|
+
interestAmount?: Prisma.SortOrder;
|
|
285
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
286
|
+
paymentMethod?: Prisma.SortOrder;
|
|
287
|
+
status?: Prisma.SortOrder;
|
|
288
|
+
reference?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
+
gatewayResponse?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
290
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
|
+
createdAt?: Prisma.SortOrder;
|
|
292
|
+
updatedAt?: Prisma.SortOrder;
|
|
293
|
+
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
294
|
+
phase?: Prisma.ContractPhaseOrderByWithRelationInput;
|
|
295
|
+
installment?: Prisma.ContractInstallmentOrderByWithRelationInput;
|
|
296
|
+
payer?: Prisma.UserOrderByWithRelationInput;
|
|
297
|
+
_relevance?: Prisma.ContractPaymentOrderByRelevanceInput;
|
|
298
|
+
};
|
|
299
|
+
export type ContractPaymentWhereUniqueInput = Prisma.AtLeast<{
|
|
300
|
+
id?: string;
|
|
301
|
+
reference?: string;
|
|
302
|
+
AND?: Prisma.ContractPaymentWhereInput | Prisma.ContractPaymentWhereInput[];
|
|
303
|
+
OR?: Prisma.ContractPaymentWhereInput[];
|
|
304
|
+
NOT?: Prisma.ContractPaymentWhereInput | Prisma.ContractPaymentWhereInput[];
|
|
305
|
+
contractId?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
306
|
+
phaseId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
307
|
+
installmentId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
308
|
+
payerId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
309
|
+
amount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
310
|
+
principalAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
311
|
+
interestAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
312
|
+
lateFeeAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
313
|
+
paymentMethod?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
314
|
+
status?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
315
|
+
gatewayResponse?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
316
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractPayment"> | Date | string | null;
|
|
317
|
+
createdAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
318
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
319
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
320
|
+
phase?: Prisma.XOR<Prisma.ContractPhaseNullableScalarRelationFilter, Prisma.ContractPhaseWhereInput> | null;
|
|
321
|
+
installment?: Prisma.XOR<Prisma.ContractInstallmentNullableScalarRelationFilter, Prisma.ContractInstallmentWhereInput> | null;
|
|
322
|
+
payer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
323
|
+
}, "id" | "reference">;
|
|
324
|
+
export type ContractPaymentOrderByWithAggregationInput = {
|
|
325
|
+
id?: Prisma.SortOrder;
|
|
326
|
+
contractId?: Prisma.SortOrder;
|
|
327
|
+
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
328
|
+
installmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
|
+
payerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
330
|
+
amount?: Prisma.SortOrder;
|
|
331
|
+
principalAmount?: Prisma.SortOrder;
|
|
332
|
+
interestAmount?: Prisma.SortOrder;
|
|
333
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
334
|
+
paymentMethod?: Prisma.SortOrder;
|
|
335
|
+
status?: Prisma.SortOrder;
|
|
336
|
+
reference?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
337
|
+
gatewayResponse?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
338
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
339
|
+
createdAt?: Prisma.SortOrder;
|
|
340
|
+
updatedAt?: Prisma.SortOrder;
|
|
341
|
+
_count?: Prisma.ContractPaymentCountOrderByAggregateInput;
|
|
342
|
+
_avg?: Prisma.ContractPaymentAvgOrderByAggregateInput;
|
|
343
|
+
_max?: Prisma.ContractPaymentMaxOrderByAggregateInput;
|
|
344
|
+
_min?: Prisma.ContractPaymentMinOrderByAggregateInput;
|
|
345
|
+
_sum?: Prisma.ContractPaymentSumOrderByAggregateInput;
|
|
346
|
+
};
|
|
347
|
+
export type ContractPaymentScalarWhereWithAggregatesInput = {
|
|
348
|
+
AND?: Prisma.ContractPaymentScalarWhereWithAggregatesInput | Prisma.ContractPaymentScalarWhereWithAggregatesInput[];
|
|
349
|
+
OR?: Prisma.ContractPaymentScalarWhereWithAggregatesInput[];
|
|
350
|
+
NOT?: Prisma.ContractPaymentScalarWhereWithAggregatesInput | Prisma.ContractPaymentScalarWhereWithAggregatesInput[];
|
|
351
|
+
id?: Prisma.StringWithAggregatesFilter<"ContractPayment"> | string;
|
|
352
|
+
contractId?: Prisma.StringWithAggregatesFilter<"ContractPayment"> | string;
|
|
353
|
+
phaseId?: Prisma.StringNullableWithAggregatesFilter<"ContractPayment"> | string | null;
|
|
354
|
+
installmentId?: Prisma.StringNullableWithAggregatesFilter<"ContractPayment"> | string | null;
|
|
355
|
+
payerId?: Prisma.StringNullableWithAggregatesFilter<"ContractPayment"> | string | null;
|
|
356
|
+
amount?: Prisma.FloatWithAggregatesFilter<"ContractPayment"> | number;
|
|
357
|
+
principalAmount?: Prisma.FloatWithAggregatesFilter<"ContractPayment"> | number;
|
|
358
|
+
interestAmount?: Prisma.FloatWithAggregatesFilter<"ContractPayment"> | number;
|
|
359
|
+
lateFeeAmount?: Prisma.FloatWithAggregatesFilter<"ContractPayment"> | number;
|
|
360
|
+
paymentMethod?: Prisma.StringWithAggregatesFilter<"ContractPayment"> | string;
|
|
361
|
+
status?: Prisma.StringWithAggregatesFilter<"ContractPayment"> | string;
|
|
362
|
+
reference?: Prisma.StringNullableWithAggregatesFilter<"ContractPayment"> | string | null;
|
|
363
|
+
gatewayResponse?: Prisma.StringNullableWithAggregatesFilter<"ContractPayment"> | string | null;
|
|
364
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPayment"> | Date | string | null;
|
|
365
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPayment"> | Date | string;
|
|
366
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPayment"> | Date | string;
|
|
367
|
+
};
|
|
368
|
+
export type ContractPaymentCreateInput = {
|
|
369
|
+
id?: string;
|
|
370
|
+
amount: number;
|
|
371
|
+
principalAmount?: number;
|
|
372
|
+
interestAmount?: number;
|
|
373
|
+
lateFeeAmount?: number;
|
|
374
|
+
paymentMethod: string;
|
|
375
|
+
status?: string;
|
|
376
|
+
reference?: string | null;
|
|
377
|
+
gatewayResponse?: string | null;
|
|
378
|
+
processedAt?: Date | string | null;
|
|
379
|
+
createdAt?: Date | string;
|
|
380
|
+
updatedAt?: Date | string;
|
|
381
|
+
contract: Prisma.ContractCreateNestedOneWithoutPaymentsInput;
|
|
382
|
+
phase?: Prisma.ContractPhaseCreateNestedOneWithoutPaymentsInput;
|
|
383
|
+
installment?: Prisma.ContractInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
384
|
+
payer?: Prisma.UserCreateNestedOneWithoutContractPaymentsInput;
|
|
385
|
+
};
|
|
386
|
+
export type ContractPaymentUncheckedCreateInput = {
|
|
387
|
+
id?: string;
|
|
388
|
+
contractId: string;
|
|
389
|
+
phaseId?: string | null;
|
|
390
|
+
installmentId?: string | null;
|
|
391
|
+
payerId?: string | null;
|
|
392
|
+
amount: number;
|
|
393
|
+
principalAmount?: number;
|
|
394
|
+
interestAmount?: number;
|
|
395
|
+
lateFeeAmount?: number;
|
|
396
|
+
paymentMethod: string;
|
|
397
|
+
status?: string;
|
|
398
|
+
reference?: string | null;
|
|
399
|
+
gatewayResponse?: string | null;
|
|
400
|
+
processedAt?: Date | string | null;
|
|
401
|
+
createdAt?: Date | string;
|
|
402
|
+
updatedAt?: Date | string;
|
|
403
|
+
};
|
|
404
|
+
export type ContractPaymentUpdateInput = {
|
|
405
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
406
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
407
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
408
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
409
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
410
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
412
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
415
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
418
|
+
phase?: Prisma.ContractPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
419
|
+
installment?: Prisma.ContractInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
420
|
+
payer?: Prisma.UserUpdateOneWithoutContractPaymentsNestedInput;
|
|
421
|
+
};
|
|
422
|
+
export type ContractPaymentUncheckedUpdateInput = {
|
|
423
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
426
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
427
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
429
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
430
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
431
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
432
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
434
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
435
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
436
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
437
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
438
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
439
|
+
};
|
|
440
|
+
export type ContractPaymentCreateManyInput = {
|
|
441
|
+
id?: string;
|
|
442
|
+
contractId: string;
|
|
443
|
+
phaseId?: string | null;
|
|
444
|
+
installmentId?: string | null;
|
|
445
|
+
payerId?: string | null;
|
|
446
|
+
amount: number;
|
|
447
|
+
principalAmount?: number;
|
|
448
|
+
interestAmount?: number;
|
|
449
|
+
lateFeeAmount?: number;
|
|
450
|
+
paymentMethod: string;
|
|
451
|
+
status?: string;
|
|
452
|
+
reference?: string | null;
|
|
453
|
+
gatewayResponse?: string | null;
|
|
454
|
+
processedAt?: Date | string | null;
|
|
455
|
+
createdAt?: Date | string;
|
|
456
|
+
updatedAt?: Date | string;
|
|
457
|
+
};
|
|
458
|
+
export type ContractPaymentUpdateManyMutationInput = {
|
|
459
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
461
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
462
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
463
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
464
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
465
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
468
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
469
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
470
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
471
|
+
};
|
|
472
|
+
export type ContractPaymentUncheckedUpdateManyInput = {
|
|
473
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
474
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
476
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
477
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
478
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
479
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
480
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
481
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
482
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
486
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
487
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
489
|
+
};
|
|
490
|
+
export type ContractPaymentListRelationFilter = {
|
|
491
|
+
every?: Prisma.ContractPaymentWhereInput;
|
|
492
|
+
some?: Prisma.ContractPaymentWhereInput;
|
|
493
|
+
none?: Prisma.ContractPaymentWhereInput;
|
|
494
|
+
};
|
|
495
|
+
export type ContractPaymentOrderByRelationAggregateInput = {
|
|
496
|
+
_count?: Prisma.SortOrder;
|
|
497
|
+
};
|
|
498
|
+
export type ContractPaymentOrderByRelevanceInput = {
|
|
499
|
+
fields: Prisma.ContractPaymentOrderByRelevanceFieldEnum | Prisma.ContractPaymentOrderByRelevanceFieldEnum[];
|
|
500
|
+
sort: Prisma.SortOrder;
|
|
501
|
+
search: string;
|
|
502
|
+
};
|
|
503
|
+
export type ContractPaymentCountOrderByAggregateInput = {
|
|
504
|
+
id?: Prisma.SortOrder;
|
|
505
|
+
contractId?: Prisma.SortOrder;
|
|
506
|
+
phaseId?: Prisma.SortOrder;
|
|
507
|
+
installmentId?: Prisma.SortOrder;
|
|
508
|
+
payerId?: Prisma.SortOrder;
|
|
509
|
+
amount?: Prisma.SortOrder;
|
|
510
|
+
principalAmount?: Prisma.SortOrder;
|
|
511
|
+
interestAmount?: Prisma.SortOrder;
|
|
512
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
513
|
+
paymentMethod?: Prisma.SortOrder;
|
|
514
|
+
status?: Prisma.SortOrder;
|
|
515
|
+
reference?: Prisma.SortOrder;
|
|
516
|
+
gatewayResponse?: Prisma.SortOrder;
|
|
517
|
+
processedAt?: Prisma.SortOrder;
|
|
518
|
+
createdAt?: Prisma.SortOrder;
|
|
519
|
+
updatedAt?: Prisma.SortOrder;
|
|
520
|
+
};
|
|
521
|
+
export type ContractPaymentAvgOrderByAggregateInput = {
|
|
522
|
+
amount?: Prisma.SortOrder;
|
|
523
|
+
principalAmount?: Prisma.SortOrder;
|
|
524
|
+
interestAmount?: Prisma.SortOrder;
|
|
525
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
526
|
+
};
|
|
527
|
+
export type ContractPaymentMaxOrderByAggregateInput = {
|
|
528
|
+
id?: Prisma.SortOrder;
|
|
529
|
+
contractId?: Prisma.SortOrder;
|
|
530
|
+
phaseId?: Prisma.SortOrder;
|
|
531
|
+
installmentId?: Prisma.SortOrder;
|
|
532
|
+
payerId?: Prisma.SortOrder;
|
|
533
|
+
amount?: Prisma.SortOrder;
|
|
534
|
+
principalAmount?: Prisma.SortOrder;
|
|
535
|
+
interestAmount?: Prisma.SortOrder;
|
|
536
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
537
|
+
paymentMethod?: Prisma.SortOrder;
|
|
538
|
+
status?: Prisma.SortOrder;
|
|
539
|
+
reference?: Prisma.SortOrder;
|
|
540
|
+
gatewayResponse?: Prisma.SortOrder;
|
|
541
|
+
processedAt?: Prisma.SortOrder;
|
|
542
|
+
createdAt?: Prisma.SortOrder;
|
|
543
|
+
updatedAt?: Prisma.SortOrder;
|
|
544
|
+
};
|
|
545
|
+
export type ContractPaymentMinOrderByAggregateInput = {
|
|
546
|
+
id?: Prisma.SortOrder;
|
|
547
|
+
contractId?: Prisma.SortOrder;
|
|
548
|
+
phaseId?: Prisma.SortOrder;
|
|
549
|
+
installmentId?: Prisma.SortOrder;
|
|
550
|
+
payerId?: Prisma.SortOrder;
|
|
551
|
+
amount?: Prisma.SortOrder;
|
|
552
|
+
principalAmount?: Prisma.SortOrder;
|
|
553
|
+
interestAmount?: Prisma.SortOrder;
|
|
554
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
555
|
+
paymentMethod?: Prisma.SortOrder;
|
|
556
|
+
status?: Prisma.SortOrder;
|
|
557
|
+
reference?: Prisma.SortOrder;
|
|
558
|
+
gatewayResponse?: Prisma.SortOrder;
|
|
559
|
+
processedAt?: Prisma.SortOrder;
|
|
560
|
+
createdAt?: Prisma.SortOrder;
|
|
561
|
+
updatedAt?: Prisma.SortOrder;
|
|
562
|
+
};
|
|
563
|
+
export type ContractPaymentSumOrderByAggregateInput = {
|
|
564
|
+
amount?: Prisma.SortOrder;
|
|
565
|
+
principalAmount?: Prisma.SortOrder;
|
|
566
|
+
interestAmount?: Prisma.SortOrder;
|
|
567
|
+
lateFeeAmount?: Prisma.SortOrder;
|
|
568
|
+
};
|
|
569
|
+
export type ContractPaymentCreateNestedManyWithoutPayerInput = {
|
|
570
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput> | Prisma.ContractPaymentCreateWithoutPayerInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPayerInput[];
|
|
571
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPayerInput | Prisma.ContractPaymentCreateOrConnectWithoutPayerInput[];
|
|
572
|
+
createMany?: Prisma.ContractPaymentCreateManyPayerInputEnvelope;
|
|
573
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
574
|
+
};
|
|
575
|
+
export type ContractPaymentUncheckedCreateNestedManyWithoutPayerInput = {
|
|
576
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput> | Prisma.ContractPaymentCreateWithoutPayerInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPayerInput[];
|
|
577
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPayerInput | Prisma.ContractPaymentCreateOrConnectWithoutPayerInput[];
|
|
578
|
+
createMany?: Prisma.ContractPaymentCreateManyPayerInputEnvelope;
|
|
579
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
580
|
+
};
|
|
581
|
+
export type ContractPaymentUpdateManyWithoutPayerNestedInput = {
|
|
582
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput> | Prisma.ContractPaymentCreateWithoutPayerInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPayerInput[];
|
|
583
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPayerInput | Prisma.ContractPaymentCreateOrConnectWithoutPayerInput[];
|
|
584
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPayerInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPayerInput[];
|
|
585
|
+
createMany?: Prisma.ContractPaymentCreateManyPayerInputEnvelope;
|
|
586
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
587
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
588
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
589
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
590
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPayerInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPayerInput[];
|
|
591
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutPayerInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutPayerInput[];
|
|
592
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
593
|
+
};
|
|
594
|
+
export type ContractPaymentUncheckedUpdateManyWithoutPayerNestedInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput> | Prisma.ContractPaymentCreateWithoutPayerInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPayerInput[];
|
|
596
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPayerInput | Prisma.ContractPaymentCreateOrConnectWithoutPayerInput[];
|
|
597
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPayerInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPayerInput[];
|
|
598
|
+
createMany?: Prisma.ContractPaymentCreateManyPayerInputEnvelope;
|
|
599
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
600
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
601
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
602
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
603
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPayerInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPayerInput[];
|
|
604
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutPayerInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutPayerInput[];
|
|
605
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
606
|
+
};
|
|
607
|
+
export type ContractPaymentCreateNestedManyWithoutContractInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput> | Prisma.ContractPaymentCreateWithoutContractInput[] | Prisma.ContractPaymentUncheckedCreateWithoutContractInput[];
|
|
609
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutContractInput | Prisma.ContractPaymentCreateOrConnectWithoutContractInput[];
|
|
610
|
+
createMany?: Prisma.ContractPaymentCreateManyContractInputEnvelope;
|
|
611
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
612
|
+
};
|
|
613
|
+
export type ContractPaymentUncheckedCreateNestedManyWithoutContractInput = {
|
|
614
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput> | Prisma.ContractPaymentCreateWithoutContractInput[] | Prisma.ContractPaymentUncheckedCreateWithoutContractInput[];
|
|
615
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutContractInput | Prisma.ContractPaymentCreateOrConnectWithoutContractInput[];
|
|
616
|
+
createMany?: Prisma.ContractPaymentCreateManyContractInputEnvelope;
|
|
617
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
618
|
+
};
|
|
619
|
+
export type ContractPaymentUpdateManyWithoutContractNestedInput = {
|
|
620
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput> | Prisma.ContractPaymentCreateWithoutContractInput[] | Prisma.ContractPaymentUncheckedCreateWithoutContractInput[];
|
|
621
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutContractInput | Prisma.ContractPaymentCreateOrConnectWithoutContractInput[];
|
|
622
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutContractInput[];
|
|
623
|
+
createMany?: Prisma.ContractPaymentCreateManyContractInputEnvelope;
|
|
624
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
625
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
626
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
627
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
628
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutContractInput[];
|
|
629
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutContractInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutContractInput[];
|
|
630
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
631
|
+
};
|
|
632
|
+
export type ContractPaymentUncheckedUpdateManyWithoutContractNestedInput = {
|
|
633
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput> | Prisma.ContractPaymentCreateWithoutContractInput[] | Prisma.ContractPaymentUncheckedCreateWithoutContractInput[];
|
|
634
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutContractInput | Prisma.ContractPaymentCreateOrConnectWithoutContractInput[];
|
|
635
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutContractInput[];
|
|
636
|
+
createMany?: Prisma.ContractPaymentCreateManyContractInputEnvelope;
|
|
637
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
638
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
639
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
640
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
641
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutContractInput[];
|
|
642
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutContractInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutContractInput[];
|
|
643
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
644
|
+
};
|
|
645
|
+
export type ContractPaymentCreateNestedManyWithoutPhaseInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput> | Prisma.ContractPaymentCreateWithoutPhaseInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput[];
|
|
647
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput | Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput[];
|
|
648
|
+
createMany?: Prisma.ContractPaymentCreateManyPhaseInputEnvelope;
|
|
649
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
650
|
+
};
|
|
651
|
+
export type ContractPaymentUncheckedCreateNestedManyWithoutPhaseInput = {
|
|
652
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput> | Prisma.ContractPaymentCreateWithoutPhaseInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput[];
|
|
653
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput | Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput[];
|
|
654
|
+
createMany?: Prisma.ContractPaymentCreateManyPhaseInputEnvelope;
|
|
655
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
656
|
+
};
|
|
657
|
+
export type ContractPaymentUpdateManyWithoutPhaseNestedInput = {
|
|
658
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput> | Prisma.ContractPaymentCreateWithoutPhaseInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput[];
|
|
659
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput | Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput[];
|
|
660
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPhaseInput[];
|
|
661
|
+
createMany?: Prisma.ContractPaymentCreateManyPhaseInputEnvelope;
|
|
662
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
663
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
664
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
665
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
666
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPhaseInput[];
|
|
667
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutPhaseInput[];
|
|
668
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
669
|
+
};
|
|
670
|
+
export type ContractPaymentUncheckedUpdateManyWithoutPhaseNestedInput = {
|
|
671
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput> | Prisma.ContractPaymentCreateWithoutPhaseInput[] | Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput[];
|
|
672
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput | Prisma.ContractPaymentCreateOrConnectWithoutPhaseInput[];
|
|
673
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutPhaseInput[];
|
|
674
|
+
createMany?: Prisma.ContractPaymentCreateManyPhaseInputEnvelope;
|
|
675
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
676
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
677
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
678
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
679
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutPhaseInput[];
|
|
680
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutPhaseInput[];
|
|
681
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
682
|
+
};
|
|
683
|
+
export type ContractPaymentCreateNestedManyWithoutInstallmentInput = {
|
|
684
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput> | Prisma.ContractPaymentCreateWithoutInstallmentInput[] | Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput[];
|
|
685
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput | Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput[];
|
|
686
|
+
createMany?: Prisma.ContractPaymentCreateManyInstallmentInputEnvelope;
|
|
687
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
688
|
+
};
|
|
689
|
+
export type ContractPaymentUncheckedCreateNestedManyWithoutInstallmentInput = {
|
|
690
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput> | Prisma.ContractPaymentCreateWithoutInstallmentInput[] | Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput[];
|
|
691
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput | Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput[];
|
|
692
|
+
createMany?: Prisma.ContractPaymentCreateManyInstallmentInputEnvelope;
|
|
693
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
694
|
+
};
|
|
695
|
+
export type ContractPaymentUpdateManyWithoutInstallmentNestedInput = {
|
|
696
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput> | Prisma.ContractPaymentCreateWithoutInstallmentInput[] | Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput[];
|
|
697
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput | Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput[];
|
|
698
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutInstallmentInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutInstallmentInput[];
|
|
699
|
+
createMany?: Prisma.ContractPaymentCreateManyInstallmentInputEnvelope;
|
|
700
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
701
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
702
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
703
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
704
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutInstallmentInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutInstallmentInput[];
|
|
705
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutInstallmentInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutInstallmentInput[];
|
|
706
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
707
|
+
};
|
|
708
|
+
export type ContractPaymentUncheckedUpdateManyWithoutInstallmentNestedInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput> | Prisma.ContractPaymentCreateWithoutInstallmentInput[] | Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput[];
|
|
710
|
+
connectOrCreate?: Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput | Prisma.ContractPaymentCreateOrConnectWithoutInstallmentInput[];
|
|
711
|
+
upsert?: Prisma.ContractPaymentUpsertWithWhereUniqueWithoutInstallmentInput | Prisma.ContractPaymentUpsertWithWhereUniqueWithoutInstallmentInput[];
|
|
712
|
+
createMany?: Prisma.ContractPaymentCreateManyInstallmentInputEnvelope;
|
|
713
|
+
set?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
714
|
+
disconnect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
715
|
+
delete?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
716
|
+
connect?: Prisma.ContractPaymentWhereUniqueInput | Prisma.ContractPaymentWhereUniqueInput[];
|
|
717
|
+
update?: Prisma.ContractPaymentUpdateWithWhereUniqueWithoutInstallmentInput | Prisma.ContractPaymentUpdateWithWhereUniqueWithoutInstallmentInput[];
|
|
718
|
+
updateMany?: Prisma.ContractPaymentUpdateManyWithWhereWithoutInstallmentInput | Prisma.ContractPaymentUpdateManyWithWhereWithoutInstallmentInput[];
|
|
719
|
+
deleteMany?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
720
|
+
};
|
|
721
|
+
export type ContractPaymentCreateWithoutPayerInput = {
|
|
722
|
+
id?: string;
|
|
723
|
+
amount: number;
|
|
724
|
+
principalAmount?: number;
|
|
725
|
+
interestAmount?: number;
|
|
726
|
+
lateFeeAmount?: number;
|
|
727
|
+
paymentMethod: string;
|
|
728
|
+
status?: string;
|
|
729
|
+
reference?: string | null;
|
|
730
|
+
gatewayResponse?: string | null;
|
|
731
|
+
processedAt?: Date | string | null;
|
|
732
|
+
createdAt?: Date | string;
|
|
733
|
+
updatedAt?: Date | string;
|
|
734
|
+
contract: Prisma.ContractCreateNestedOneWithoutPaymentsInput;
|
|
735
|
+
phase?: Prisma.ContractPhaseCreateNestedOneWithoutPaymentsInput;
|
|
736
|
+
installment?: Prisma.ContractInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
737
|
+
};
|
|
738
|
+
export type ContractPaymentUncheckedCreateWithoutPayerInput = {
|
|
739
|
+
id?: string;
|
|
740
|
+
contractId: string;
|
|
741
|
+
phaseId?: string | null;
|
|
742
|
+
installmentId?: string | null;
|
|
743
|
+
amount: number;
|
|
744
|
+
principalAmount?: number;
|
|
745
|
+
interestAmount?: number;
|
|
746
|
+
lateFeeAmount?: number;
|
|
747
|
+
paymentMethod: string;
|
|
748
|
+
status?: string;
|
|
749
|
+
reference?: string | null;
|
|
750
|
+
gatewayResponse?: string | null;
|
|
751
|
+
processedAt?: Date | string | null;
|
|
752
|
+
createdAt?: Date | string;
|
|
753
|
+
updatedAt?: Date | string;
|
|
754
|
+
};
|
|
755
|
+
export type ContractPaymentCreateOrConnectWithoutPayerInput = {
|
|
756
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
757
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput>;
|
|
758
|
+
};
|
|
759
|
+
export type ContractPaymentCreateManyPayerInputEnvelope = {
|
|
760
|
+
data: Prisma.ContractPaymentCreateManyPayerInput | Prisma.ContractPaymentCreateManyPayerInput[];
|
|
761
|
+
skipDuplicates?: boolean;
|
|
762
|
+
};
|
|
763
|
+
export type ContractPaymentUpsertWithWhereUniqueWithoutPayerInput = {
|
|
764
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
765
|
+
update: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutPayerInput, Prisma.ContractPaymentUncheckedUpdateWithoutPayerInput>;
|
|
766
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPayerInput, Prisma.ContractPaymentUncheckedCreateWithoutPayerInput>;
|
|
767
|
+
};
|
|
768
|
+
export type ContractPaymentUpdateWithWhereUniqueWithoutPayerInput = {
|
|
769
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
770
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutPayerInput, Prisma.ContractPaymentUncheckedUpdateWithoutPayerInput>;
|
|
771
|
+
};
|
|
772
|
+
export type ContractPaymentUpdateManyWithWhereWithoutPayerInput = {
|
|
773
|
+
where: Prisma.ContractPaymentScalarWhereInput;
|
|
774
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateManyMutationInput, Prisma.ContractPaymentUncheckedUpdateManyWithoutPayerInput>;
|
|
775
|
+
};
|
|
776
|
+
export type ContractPaymentScalarWhereInput = {
|
|
777
|
+
AND?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
778
|
+
OR?: Prisma.ContractPaymentScalarWhereInput[];
|
|
779
|
+
NOT?: Prisma.ContractPaymentScalarWhereInput | Prisma.ContractPaymentScalarWhereInput[];
|
|
780
|
+
id?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
781
|
+
contractId?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
782
|
+
phaseId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
783
|
+
installmentId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
784
|
+
payerId?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
785
|
+
amount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
786
|
+
principalAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
787
|
+
interestAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
788
|
+
lateFeeAmount?: Prisma.FloatFilter<"ContractPayment"> | number;
|
|
789
|
+
paymentMethod?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
790
|
+
status?: Prisma.StringFilter<"ContractPayment"> | string;
|
|
791
|
+
reference?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
792
|
+
gatewayResponse?: Prisma.StringNullableFilter<"ContractPayment"> | string | null;
|
|
793
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractPayment"> | Date | string | null;
|
|
794
|
+
createdAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
795
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractPayment"> | Date | string;
|
|
796
|
+
};
|
|
797
|
+
export type ContractPaymentCreateWithoutContractInput = {
|
|
798
|
+
id?: string;
|
|
799
|
+
amount: number;
|
|
800
|
+
principalAmount?: number;
|
|
801
|
+
interestAmount?: number;
|
|
802
|
+
lateFeeAmount?: number;
|
|
803
|
+
paymentMethod: string;
|
|
804
|
+
status?: string;
|
|
805
|
+
reference?: string | null;
|
|
806
|
+
gatewayResponse?: string | null;
|
|
807
|
+
processedAt?: Date | string | null;
|
|
808
|
+
createdAt?: Date | string;
|
|
809
|
+
updatedAt?: Date | string;
|
|
810
|
+
phase?: Prisma.ContractPhaseCreateNestedOneWithoutPaymentsInput;
|
|
811
|
+
installment?: Prisma.ContractInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
812
|
+
payer?: Prisma.UserCreateNestedOneWithoutContractPaymentsInput;
|
|
813
|
+
};
|
|
814
|
+
export type ContractPaymentUncheckedCreateWithoutContractInput = {
|
|
815
|
+
id?: string;
|
|
816
|
+
phaseId?: string | null;
|
|
817
|
+
installmentId?: string | null;
|
|
818
|
+
payerId?: string | null;
|
|
819
|
+
amount: number;
|
|
820
|
+
principalAmount?: number;
|
|
821
|
+
interestAmount?: number;
|
|
822
|
+
lateFeeAmount?: number;
|
|
823
|
+
paymentMethod: string;
|
|
824
|
+
status?: string;
|
|
825
|
+
reference?: string | null;
|
|
826
|
+
gatewayResponse?: string | null;
|
|
827
|
+
processedAt?: Date | string | null;
|
|
828
|
+
createdAt?: Date | string;
|
|
829
|
+
updatedAt?: Date | string;
|
|
830
|
+
};
|
|
831
|
+
export type ContractPaymentCreateOrConnectWithoutContractInput = {
|
|
832
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
833
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput>;
|
|
834
|
+
};
|
|
835
|
+
export type ContractPaymentCreateManyContractInputEnvelope = {
|
|
836
|
+
data: Prisma.ContractPaymentCreateManyContractInput | Prisma.ContractPaymentCreateManyContractInput[];
|
|
837
|
+
skipDuplicates?: boolean;
|
|
838
|
+
};
|
|
839
|
+
export type ContractPaymentUpsertWithWhereUniqueWithoutContractInput = {
|
|
840
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
841
|
+
update: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutContractInput, Prisma.ContractPaymentUncheckedUpdateWithoutContractInput>;
|
|
842
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutContractInput, Prisma.ContractPaymentUncheckedCreateWithoutContractInput>;
|
|
843
|
+
};
|
|
844
|
+
export type ContractPaymentUpdateWithWhereUniqueWithoutContractInput = {
|
|
845
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
846
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutContractInput, Prisma.ContractPaymentUncheckedUpdateWithoutContractInput>;
|
|
847
|
+
};
|
|
848
|
+
export type ContractPaymentUpdateManyWithWhereWithoutContractInput = {
|
|
849
|
+
where: Prisma.ContractPaymentScalarWhereInput;
|
|
850
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateManyMutationInput, Prisma.ContractPaymentUncheckedUpdateManyWithoutContractInput>;
|
|
851
|
+
};
|
|
852
|
+
export type ContractPaymentCreateWithoutPhaseInput = {
|
|
853
|
+
id?: string;
|
|
854
|
+
amount: number;
|
|
855
|
+
principalAmount?: number;
|
|
856
|
+
interestAmount?: number;
|
|
857
|
+
lateFeeAmount?: number;
|
|
858
|
+
paymentMethod: string;
|
|
859
|
+
status?: string;
|
|
860
|
+
reference?: string | null;
|
|
861
|
+
gatewayResponse?: string | null;
|
|
862
|
+
processedAt?: Date | string | null;
|
|
863
|
+
createdAt?: Date | string;
|
|
864
|
+
updatedAt?: Date | string;
|
|
865
|
+
contract: Prisma.ContractCreateNestedOneWithoutPaymentsInput;
|
|
866
|
+
installment?: Prisma.ContractInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
867
|
+
payer?: Prisma.UserCreateNestedOneWithoutContractPaymentsInput;
|
|
868
|
+
};
|
|
869
|
+
export type ContractPaymentUncheckedCreateWithoutPhaseInput = {
|
|
870
|
+
id?: string;
|
|
871
|
+
contractId: string;
|
|
872
|
+
installmentId?: string | null;
|
|
873
|
+
payerId?: string | null;
|
|
874
|
+
amount: number;
|
|
875
|
+
principalAmount?: number;
|
|
876
|
+
interestAmount?: number;
|
|
877
|
+
lateFeeAmount?: number;
|
|
878
|
+
paymentMethod: string;
|
|
879
|
+
status?: string;
|
|
880
|
+
reference?: string | null;
|
|
881
|
+
gatewayResponse?: string | null;
|
|
882
|
+
processedAt?: Date | string | null;
|
|
883
|
+
createdAt?: Date | string;
|
|
884
|
+
updatedAt?: Date | string;
|
|
885
|
+
};
|
|
886
|
+
export type ContractPaymentCreateOrConnectWithoutPhaseInput = {
|
|
887
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
888
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput>;
|
|
889
|
+
};
|
|
890
|
+
export type ContractPaymentCreateManyPhaseInputEnvelope = {
|
|
891
|
+
data: Prisma.ContractPaymentCreateManyPhaseInput | Prisma.ContractPaymentCreateManyPhaseInput[];
|
|
892
|
+
skipDuplicates?: boolean;
|
|
893
|
+
};
|
|
894
|
+
export type ContractPaymentUpsertWithWhereUniqueWithoutPhaseInput = {
|
|
895
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
896
|
+
update: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutPhaseInput, Prisma.ContractPaymentUncheckedUpdateWithoutPhaseInput>;
|
|
897
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutPhaseInput, Prisma.ContractPaymentUncheckedCreateWithoutPhaseInput>;
|
|
898
|
+
};
|
|
899
|
+
export type ContractPaymentUpdateWithWhereUniqueWithoutPhaseInput = {
|
|
900
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
901
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutPhaseInput, Prisma.ContractPaymentUncheckedUpdateWithoutPhaseInput>;
|
|
902
|
+
};
|
|
903
|
+
export type ContractPaymentUpdateManyWithWhereWithoutPhaseInput = {
|
|
904
|
+
where: Prisma.ContractPaymentScalarWhereInput;
|
|
905
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateManyMutationInput, Prisma.ContractPaymentUncheckedUpdateManyWithoutPhaseInput>;
|
|
906
|
+
};
|
|
907
|
+
export type ContractPaymentCreateWithoutInstallmentInput = {
|
|
908
|
+
id?: string;
|
|
909
|
+
amount: number;
|
|
910
|
+
principalAmount?: number;
|
|
911
|
+
interestAmount?: number;
|
|
912
|
+
lateFeeAmount?: number;
|
|
913
|
+
paymentMethod: string;
|
|
914
|
+
status?: string;
|
|
915
|
+
reference?: string | null;
|
|
916
|
+
gatewayResponse?: string | null;
|
|
917
|
+
processedAt?: Date | string | null;
|
|
918
|
+
createdAt?: Date | string;
|
|
919
|
+
updatedAt?: Date | string;
|
|
920
|
+
contract: Prisma.ContractCreateNestedOneWithoutPaymentsInput;
|
|
921
|
+
phase?: Prisma.ContractPhaseCreateNestedOneWithoutPaymentsInput;
|
|
922
|
+
payer?: Prisma.UserCreateNestedOneWithoutContractPaymentsInput;
|
|
923
|
+
};
|
|
924
|
+
export type ContractPaymentUncheckedCreateWithoutInstallmentInput = {
|
|
925
|
+
id?: string;
|
|
926
|
+
contractId: string;
|
|
927
|
+
phaseId?: string | null;
|
|
928
|
+
payerId?: string | null;
|
|
929
|
+
amount: number;
|
|
930
|
+
principalAmount?: number;
|
|
931
|
+
interestAmount?: number;
|
|
932
|
+
lateFeeAmount?: number;
|
|
933
|
+
paymentMethod: string;
|
|
934
|
+
status?: string;
|
|
935
|
+
reference?: string | null;
|
|
936
|
+
gatewayResponse?: string | null;
|
|
937
|
+
processedAt?: Date | string | null;
|
|
938
|
+
createdAt?: Date | string;
|
|
939
|
+
updatedAt?: Date | string;
|
|
940
|
+
};
|
|
941
|
+
export type ContractPaymentCreateOrConnectWithoutInstallmentInput = {
|
|
942
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
943
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput>;
|
|
944
|
+
};
|
|
945
|
+
export type ContractPaymentCreateManyInstallmentInputEnvelope = {
|
|
946
|
+
data: Prisma.ContractPaymentCreateManyInstallmentInput | Prisma.ContractPaymentCreateManyInstallmentInput[];
|
|
947
|
+
skipDuplicates?: boolean;
|
|
948
|
+
};
|
|
949
|
+
export type ContractPaymentUpsertWithWhereUniqueWithoutInstallmentInput = {
|
|
950
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
951
|
+
update: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedUpdateWithoutInstallmentInput>;
|
|
952
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedCreateWithoutInstallmentInput>;
|
|
953
|
+
};
|
|
954
|
+
export type ContractPaymentUpdateWithWhereUniqueWithoutInstallmentInput = {
|
|
955
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
956
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateWithoutInstallmentInput, Prisma.ContractPaymentUncheckedUpdateWithoutInstallmentInput>;
|
|
957
|
+
};
|
|
958
|
+
export type ContractPaymentUpdateManyWithWhereWithoutInstallmentInput = {
|
|
959
|
+
where: Prisma.ContractPaymentScalarWhereInput;
|
|
960
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateManyMutationInput, Prisma.ContractPaymentUncheckedUpdateManyWithoutInstallmentInput>;
|
|
961
|
+
};
|
|
962
|
+
export type ContractPaymentCreateManyPayerInput = {
|
|
963
|
+
id?: string;
|
|
964
|
+
contractId: string;
|
|
965
|
+
phaseId?: string | null;
|
|
966
|
+
installmentId?: string | null;
|
|
967
|
+
amount: number;
|
|
968
|
+
principalAmount?: number;
|
|
969
|
+
interestAmount?: number;
|
|
970
|
+
lateFeeAmount?: number;
|
|
971
|
+
paymentMethod: string;
|
|
972
|
+
status?: string;
|
|
973
|
+
reference?: string | null;
|
|
974
|
+
gatewayResponse?: string | null;
|
|
975
|
+
processedAt?: Date | string | null;
|
|
976
|
+
createdAt?: Date | string;
|
|
977
|
+
updatedAt?: Date | string;
|
|
978
|
+
};
|
|
979
|
+
export type ContractPaymentUpdateWithoutPayerInput = {
|
|
980
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
981
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
982
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
983
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
984
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
985
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
986
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
987
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
988
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
989
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
990
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
991
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
992
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
993
|
+
phase?: Prisma.ContractPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
994
|
+
installment?: Prisma.ContractInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
995
|
+
};
|
|
996
|
+
export type ContractPaymentUncheckedUpdateWithoutPayerInput = {
|
|
997
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
998
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
999
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1000
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1001
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1002
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1003
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1004
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1005
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1006
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1007
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1008
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1009
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1010
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1011
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1012
|
+
};
|
|
1013
|
+
export type ContractPaymentUncheckedUpdateManyWithoutPayerInput = {
|
|
1014
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1016
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1017
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1018
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1019
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1020
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1021
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1022
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1023
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1024
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1025
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1026
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1027
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1028
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1029
|
+
};
|
|
1030
|
+
export type ContractPaymentCreateManyContractInput = {
|
|
1031
|
+
id?: string;
|
|
1032
|
+
phaseId?: string | null;
|
|
1033
|
+
installmentId?: string | null;
|
|
1034
|
+
payerId?: string | null;
|
|
1035
|
+
amount: number;
|
|
1036
|
+
principalAmount?: number;
|
|
1037
|
+
interestAmount?: number;
|
|
1038
|
+
lateFeeAmount?: number;
|
|
1039
|
+
paymentMethod: string;
|
|
1040
|
+
status?: string;
|
|
1041
|
+
reference?: string | null;
|
|
1042
|
+
gatewayResponse?: string | null;
|
|
1043
|
+
processedAt?: Date | string | null;
|
|
1044
|
+
createdAt?: Date | string;
|
|
1045
|
+
updatedAt?: Date | string;
|
|
1046
|
+
};
|
|
1047
|
+
export type ContractPaymentUpdateWithoutContractInput = {
|
|
1048
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1049
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1050
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1051
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1052
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1053
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1054
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1055
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1056
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1057
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1058
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1059
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1060
|
+
phase?: Prisma.ContractPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
1061
|
+
installment?: Prisma.ContractInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1062
|
+
payer?: Prisma.UserUpdateOneWithoutContractPaymentsNestedInput;
|
|
1063
|
+
};
|
|
1064
|
+
export type ContractPaymentUncheckedUpdateWithoutContractInput = {
|
|
1065
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1066
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1067
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1068
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1069
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1070
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1071
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1072
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1073
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1074
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1075
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1076
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1077
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1078
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1079
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1080
|
+
};
|
|
1081
|
+
export type ContractPaymentUncheckedUpdateManyWithoutContractInput = {
|
|
1082
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1083
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1084
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1085
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1086
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1087
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1088
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1089
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1090
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1091
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1092
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1093
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1094
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1095
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1096
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1097
|
+
};
|
|
1098
|
+
export type ContractPaymentCreateManyPhaseInput = {
|
|
1099
|
+
id?: string;
|
|
1100
|
+
contractId: string;
|
|
1101
|
+
installmentId?: string | null;
|
|
1102
|
+
payerId?: string | null;
|
|
1103
|
+
amount: number;
|
|
1104
|
+
principalAmount?: number;
|
|
1105
|
+
interestAmount?: number;
|
|
1106
|
+
lateFeeAmount?: number;
|
|
1107
|
+
paymentMethod: string;
|
|
1108
|
+
status?: string;
|
|
1109
|
+
reference?: string | null;
|
|
1110
|
+
gatewayResponse?: string | null;
|
|
1111
|
+
processedAt?: Date | string | null;
|
|
1112
|
+
createdAt?: Date | string;
|
|
1113
|
+
updatedAt?: Date | string;
|
|
1114
|
+
};
|
|
1115
|
+
export type ContractPaymentUpdateWithoutPhaseInput = {
|
|
1116
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1117
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1118
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1119
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1120
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1121
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1122
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1123
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1124
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1125
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1126
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1127
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1128
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1129
|
+
installment?: Prisma.ContractInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1130
|
+
payer?: Prisma.UserUpdateOneWithoutContractPaymentsNestedInput;
|
|
1131
|
+
};
|
|
1132
|
+
export type ContractPaymentUncheckedUpdateWithoutPhaseInput = {
|
|
1133
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1134
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1135
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1136
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1137
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1138
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1139
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1140
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1141
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1142
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1143
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1144
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1145
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1146
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1147
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1148
|
+
};
|
|
1149
|
+
export type ContractPaymentUncheckedUpdateManyWithoutPhaseInput = {
|
|
1150
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1151
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1152
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1153
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1154
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1155
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1156
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1157
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1158
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1159
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1160
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1161
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1162
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1163
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1164
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1165
|
+
};
|
|
1166
|
+
export type ContractPaymentCreateManyInstallmentInput = {
|
|
1167
|
+
id?: string;
|
|
1168
|
+
contractId: string;
|
|
1169
|
+
phaseId?: string | null;
|
|
1170
|
+
payerId?: string | null;
|
|
1171
|
+
amount: number;
|
|
1172
|
+
principalAmount?: number;
|
|
1173
|
+
interestAmount?: number;
|
|
1174
|
+
lateFeeAmount?: number;
|
|
1175
|
+
paymentMethod: string;
|
|
1176
|
+
status?: string;
|
|
1177
|
+
reference?: string | null;
|
|
1178
|
+
gatewayResponse?: string | null;
|
|
1179
|
+
processedAt?: Date | string | null;
|
|
1180
|
+
createdAt?: Date | string;
|
|
1181
|
+
updatedAt?: Date | string;
|
|
1182
|
+
};
|
|
1183
|
+
export type ContractPaymentUpdateWithoutInstallmentInput = {
|
|
1184
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1185
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1186
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1187
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1188
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1189
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1190
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1192
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1193
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1194
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1195
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1196
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1197
|
+
phase?: Prisma.ContractPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
1198
|
+
payer?: Prisma.UserUpdateOneWithoutContractPaymentsNestedInput;
|
|
1199
|
+
};
|
|
1200
|
+
export type ContractPaymentUncheckedUpdateWithoutInstallmentInput = {
|
|
1201
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1202
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1203
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1204
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1205
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1206
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1207
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1208
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1209
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1210
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1211
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1212
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1213
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1214
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1215
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1216
|
+
};
|
|
1217
|
+
export type ContractPaymentUncheckedUpdateManyWithoutInstallmentInput = {
|
|
1218
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1219
|
+
contractId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1220
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1221
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1222
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1223
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1224
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1225
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1226
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1227
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1228
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1229
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1230
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1231
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1232
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1233
|
+
};
|
|
1234
|
+
export type ContractPaymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1235
|
+
id?: boolean;
|
|
1236
|
+
contractId?: boolean;
|
|
1237
|
+
phaseId?: boolean;
|
|
1238
|
+
installmentId?: boolean;
|
|
1239
|
+
payerId?: boolean;
|
|
1240
|
+
amount?: boolean;
|
|
1241
|
+
principalAmount?: boolean;
|
|
1242
|
+
interestAmount?: boolean;
|
|
1243
|
+
lateFeeAmount?: boolean;
|
|
1244
|
+
paymentMethod?: boolean;
|
|
1245
|
+
status?: boolean;
|
|
1246
|
+
reference?: boolean;
|
|
1247
|
+
gatewayResponse?: boolean;
|
|
1248
|
+
processedAt?: boolean;
|
|
1249
|
+
createdAt?: boolean;
|
|
1250
|
+
updatedAt?: boolean;
|
|
1251
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
1252
|
+
phase?: boolean | Prisma.ContractPayment$phaseArgs<ExtArgs>;
|
|
1253
|
+
installment?: boolean | Prisma.ContractPayment$installmentArgs<ExtArgs>;
|
|
1254
|
+
payer?: boolean | Prisma.ContractPayment$payerArgs<ExtArgs>;
|
|
1255
|
+
}, ExtArgs["result"]["contractPayment"]>;
|
|
1256
|
+
export type ContractPaymentSelectScalar = {
|
|
1257
|
+
id?: boolean;
|
|
1258
|
+
contractId?: boolean;
|
|
1259
|
+
phaseId?: boolean;
|
|
1260
|
+
installmentId?: boolean;
|
|
1261
|
+
payerId?: boolean;
|
|
1262
|
+
amount?: boolean;
|
|
1263
|
+
principalAmount?: boolean;
|
|
1264
|
+
interestAmount?: boolean;
|
|
1265
|
+
lateFeeAmount?: boolean;
|
|
1266
|
+
paymentMethod?: boolean;
|
|
1267
|
+
status?: boolean;
|
|
1268
|
+
reference?: boolean;
|
|
1269
|
+
gatewayResponse?: boolean;
|
|
1270
|
+
processedAt?: boolean;
|
|
1271
|
+
createdAt?: boolean;
|
|
1272
|
+
updatedAt?: boolean;
|
|
1273
|
+
};
|
|
1274
|
+
export type ContractPaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "contractId" | "phaseId" | "installmentId" | "payerId" | "amount" | "principalAmount" | "interestAmount" | "lateFeeAmount" | "paymentMethod" | "status" | "reference" | "gatewayResponse" | "processedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["contractPayment"]>;
|
|
1275
|
+
export type ContractPaymentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1276
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
1277
|
+
phase?: boolean | Prisma.ContractPayment$phaseArgs<ExtArgs>;
|
|
1278
|
+
installment?: boolean | Prisma.ContractPayment$installmentArgs<ExtArgs>;
|
|
1279
|
+
payer?: boolean | Prisma.ContractPayment$payerArgs<ExtArgs>;
|
|
1280
|
+
};
|
|
1281
|
+
export type $ContractPaymentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
+
name: "ContractPayment";
|
|
1283
|
+
objects: {
|
|
1284
|
+
contract: Prisma.$ContractPayload<ExtArgs>;
|
|
1285
|
+
phase: Prisma.$ContractPhasePayload<ExtArgs> | null;
|
|
1286
|
+
installment: Prisma.$ContractInstallmentPayload<ExtArgs> | null;
|
|
1287
|
+
payer: Prisma.$UserPayload<ExtArgs> | null;
|
|
1288
|
+
};
|
|
1289
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1290
|
+
id: string;
|
|
1291
|
+
contractId: string;
|
|
1292
|
+
phaseId: string | null;
|
|
1293
|
+
installmentId: string | null;
|
|
1294
|
+
payerId: string | null;
|
|
1295
|
+
amount: number;
|
|
1296
|
+
principalAmount: number;
|
|
1297
|
+
interestAmount: number;
|
|
1298
|
+
lateFeeAmount: number;
|
|
1299
|
+
paymentMethod: string;
|
|
1300
|
+
status: string;
|
|
1301
|
+
reference: string | null;
|
|
1302
|
+
gatewayResponse: string | null;
|
|
1303
|
+
processedAt: Date | null;
|
|
1304
|
+
createdAt: Date;
|
|
1305
|
+
updatedAt: Date;
|
|
1306
|
+
}, ExtArgs["result"]["contractPayment"]>;
|
|
1307
|
+
composites: {};
|
|
1308
|
+
};
|
|
1309
|
+
export type ContractPaymentGetPayload<S extends boolean | null | undefined | ContractPaymentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload, S>;
|
|
1310
|
+
export type ContractPaymentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ContractPaymentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1311
|
+
select?: ContractPaymentCountAggregateInputType | true;
|
|
1312
|
+
};
|
|
1313
|
+
export interface ContractPaymentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1314
|
+
[K: symbol]: {
|
|
1315
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ContractPayment'];
|
|
1316
|
+
meta: {
|
|
1317
|
+
name: 'ContractPayment';
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* Find zero or one ContractPayment that matches the filter.
|
|
1322
|
+
* @param {ContractPaymentFindUniqueArgs} args - Arguments to find a ContractPayment
|
|
1323
|
+
* @example
|
|
1324
|
+
* // Get one ContractPayment
|
|
1325
|
+
* const contractPayment = await prisma.contractPayment.findUnique({
|
|
1326
|
+
* where: {
|
|
1327
|
+
* // ... provide filter here
|
|
1328
|
+
* }
|
|
1329
|
+
* })
|
|
1330
|
+
*/
|
|
1331
|
+
findUnique<T extends ContractPaymentFindUniqueArgs>(args: Prisma.SelectSubset<T, ContractPaymentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Find one ContractPayment that matches the filter or throw an error with `error.code='P2025'`
|
|
1334
|
+
* if no matches were found.
|
|
1335
|
+
* @param {ContractPaymentFindUniqueOrThrowArgs} args - Arguments to find a ContractPayment
|
|
1336
|
+
* @example
|
|
1337
|
+
* // Get one ContractPayment
|
|
1338
|
+
* const contractPayment = await prisma.contractPayment.findUniqueOrThrow({
|
|
1339
|
+
* where: {
|
|
1340
|
+
* // ... provide filter here
|
|
1341
|
+
* }
|
|
1342
|
+
* })
|
|
1343
|
+
*/
|
|
1344
|
+
findUniqueOrThrow<T extends ContractPaymentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ContractPaymentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Find the first ContractPayment that matches the filter.
|
|
1347
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1348
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1349
|
+
* @param {ContractPaymentFindFirstArgs} args - Arguments to find a ContractPayment
|
|
1350
|
+
* @example
|
|
1351
|
+
* // Get one ContractPayment
|
|
1352
|
+
* const contractPayment = await prisma.contractPayment.findFirst({
|
|
1353
|
+
* where: {
|
|
1354
|
+
* // ... provide filter here
|
|
1355
|
+
* }
|
|
1356
|
+
* })
|
|
1357
|
+
*/
|
|
1358
|
+
findFirst<T extends ContractPaymentFindFirstArgs>(args?: Prisma.SelectSubset<T, ContractPaymentFindFirstArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1359
|
+
/**
|
|
1360
|
+
* Find the first ContractPayment that matches the filter or
|
|
1361
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1362
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1363
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1364
|
+
* @param {ContractPaymentFindFirstOrThrowArgs} args - Arguments to find a ContractPayment
|
|
1365
|
+
* @example
|
|
1366
|
+
* // Get one ContractPayment
|
|
1367
|
+
* const contractPayment = await prisma.contractPayment.findFirstOrThrow({
|
|
1368
|
+
* where: {
|
|
1369
|
+
* // ... provide filter here
|
|
1370
|
+
* }
|
|
1371
|
+
* })
|
|
1372
|
+
*/
|
|
1373
|
+
findFirstOrThrow<T extends ContractPaymentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ContractPaymentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Find zero or more ContractPayments that matches the filter.
|
|
1376
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1377
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1378
|
+
* @param {ContractPaymentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1379
|
+
* @example
|
|
1380
|
+
* // Get all ContractPayments
|
|
1381
|
+
* const contractPayments = await prisma.contractPayment.findMany()
|
|
1382
|
+
*
|
|
1383
|
+
* // Get first 10 ContractPayments
|
|
1384
|
+
* const contractPayments = await prisma.contractPayment.findMany({ take: 10 })
|
|
1385
|
+
*
|
|
1386
|
+
* // Only select the `id`
|
|
1387
|
+
* const contractPaymentWithIdOnly = await prisma.contractPayment.findMany({ select: { id: true } })
|
|
1388
|
+
*
|
|
1389
|
+
*/
|
|
1390
|
+
findMany<T extends ContractPaymentFindManyArgs>(args?: Prisma.SelectSubset<T, ContractPaymentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Create a ContractPayment.
|
|
1393
|
+
* @param {ContractPaymentCreateArgs} args - Arguments to create a ContractPayment.
|
|
1394
|
+
* @example
|
|
1395
|
+
* // Create one ContractPayment
|
|
1396
|
+
* const ContractPayment = await prisma.contractPayment.create({
|
|
1397
|
+
* data: {
|
|
1398
|
+
* // ... data to create a ContractPayment
|
|
1399
|
+
* }
|
|
1400
|
+
* })
|
|
1401
|
+
*
|
|
1402
|
+
*/
|
|
1403
|
+
create<T extends ContractPaymentCreateArgs>(args: Prisma.SelectSubset<T, ContractPaymentCreateArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Create many ContractPayments.
|
|
1406
|
+
* @param {ContractPaymentCreateManyArgs} args - Arguments to create many ContractPayments.
|
|
1407
|
+
* @example
|
|
1408
|
+
* // Create many ContractPayments
|
|
1409
|
+
* const contractPayment = await prisma.contractPayment.createMany({
|
|
1410
|
+
* data: [
|
|
1411
|
+
* // ... provide data here
|
|
1412
|
+
* ]
|
|
1413
|
+
* })
|
|
1414
|
+
*
|
|
1415
|
+
*/
|
|
1416
|
+
createMany<T extends ContractPaymentCreateManyArgs>(args?: Prisma.SelectSubset<T, ContractPaymentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Delete a ContractPayment.
|
|
1419
|
+
* @param {ContractPaymentDeleteArgs} args - Arguments to delete one ContractPayment.
|
|
1420
|
+
* @example
|
|
1421
|
+
* // Delete one ContractPayment
|
|
1422
|
+
* const ContractPayment = await prisma.contractPayment.delete({
|
|
1423
|
+
* where: {
|
|
1424
|
+
* // ... filter to delete one ContractPayment
|
|
1425
|
+
* }
|
|
1426
|
+
* })
|
|
1427
|
+
*
|
|
1428
|
+
*/
|
|
1429
|
+
delete<T extends ContractPaymentDeleteArgs>(args: Prisma.SelectSubset<T, ContractPaymentDeleteArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1430
|
+
/**
|
|
1431
|
+
* Update one ContractPayment.
|
|
1432
|
+
* @param {ContractPaymentUpdateArgs} args - Arguments to update one ContractPayment.
|
|
1433
|
+
* @example
|
|
1434
|
+
* // Update one ContractPayment
|
|
1435
|
+
* const contractPayment = await prisma.contractPayment.update({
|
|
1436
|
+
* where: {
|
|
1437
|
+
* // ... provide filter here
|
|
1438
|
+
* },
|
|
1439
|
+
* data: {
|
|
1440
|
+
* // ... provide data here
|
|
1441
|
+
* }
|
|
1442
|
+
* })
|
|
1443
|
+
*
|
|
1444
|
+
*/
|
|
1445
|
+
update<T extends ContractPaymentUpdateArgs>(args: Prisma.SelectSubset<T, ContractPaymentUpdateArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Delete zero or more ContractPayments.
|
|
1448
|
+
* @param {ContractPaymentDeleteManyArgs} args - Arguments to filter ContractPayments to delete.
|
|
1449
|
+
* @example
|
|
1450
|
+
* // Delete a few ContractPayments
|
|
1451
|
+
* const { count } = await prisma.contractPayment.deleteMany({
|
|
1452
|
+
* where: {
|
|
1453
|
+
* // ... provide filter here
|
|
1454
|
+
* }
|
|
1455
|
+
* })
|
|
1456
|
+
*
|
|
1457
|
+
*/
|
|
1458
|
+
deleteMany<T extends ContractPaymentDeleteManyArgs>(args?: Prisma.SelectSubset<T, ContractPaymentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Update zero or more ContractPayments.
|
|
1461
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1462
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1463
|
+
* @param {ContractPaymentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1464
|
+
* @example
|
|
1465
|
+
* // Update many ContractPayments
|
|
1466
|
+
* const contractPayment = await prisma.contractPayment.updateMany({
|
|
1467
|
+
* where: {
|
|
1468
|
+
* // ... provide filter here
|
|
1469
|
+
* },
|
|
1470
|
+
* data: {
|
|
1471
|
+
* // ... provide data here
|
|
1472
|
+
* }
|
|
1473
|
+
* })
|
|
1474
|
+
*
|
|
1475
|
+
*/
|
|
1476
|
+
updateMany<T extends ContractPaymentUpdateManyArgs>(args: Prisma.SelectSubset<T, ContractPaymentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Create or update one ContractPayment.
|
|
1479
|
+
* @param {ContractPaymentUpsertArgs} args - Arguments to update or create a ContractPayment.
|
|
1480
|
+
* @example
|
|
1481
|
+
* // Update or create a ContractPayment
|
|
1482
|
+
* const contractPayment = await prisma.contractPayment.upsert({
|
|
1483
|
+
* create: {
|
|
1484
|
+
* // ... data to create a ContractPayment
|
|
1485
|
+
* },
|
|
1486
|
+
* update: {
|
|
1487
|
+
* // ... in case it already exists, update
|
|
1488
|
+
* },
|
|
1489
|
+
* where: {
|
|
1490
|
+
* // ... the filter for the ContractPayment we want to update
|
|
1491
|
+
* }
|
|
1492
|
+
* })
|
|
1493
|
+
*/
|
|
1494
|
+
upsert<T extends ContractPaymentUpsertArgs>(args: Prisma.SelectSubset<T, ContractPaymentUpsertArgs<ExtArgs>>): Prisma.Prisma__ContractPaymentClient<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1495
|
+
/**
|
|
1496
|
+
* Count the number of ContractPayments.
|
|
1497
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1498
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1499
|
+
* @param {ContractPaymentCountArgs} args - Arguments to filter ContractPayments to count.
|
|
1500
|
+
* @example
|
|
1501
|
+
* // Count the number of ContractPayments
|
|
1502
|
+
* const count = await prisma.contractPayment.count({
|
|
1503
|
+
* where: {
|
|
1504
|
+
* // ... the filter for the ContractPayments we want to count
|
|
1505
|
+
* }
|
|
1506
|
+
* })
|
|
1507
|
+
**/
|
|
1508
|
+
count<T extends ContractPaymentCountArgs>(args?: Prisma.Subset<T, ContractPaymentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ContractPaymentCountAggregateOutputType> : number>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Allows you to perform aggregations operations on a ContractPayment.
|
|
1511
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1512
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1513
|
+
* @param {ContractPaymentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1514
|
+
* @example
|
|
1515
|
+
* // Ordered by age ascending
|
|
1516
|
+
* // Where email contains prisma.io
|
|
1517
|
+
* // Limited to the 10 users
|
|
1518
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1519
|
+
* _avg: {
|
|
1520
|
+
* age: true,
|
|
1521
|
+
* },
|
|
1522
|
+
* where: {
|
|
1523
|
+
* email: {
|
|
1524
|
+
* contains: "prisma.io",
|
|
1525
|
+
* },
|
|
1526
|
+
* },
|
|
1527
|
+
* orderBy: {
|
|
1528
|
+
* age: "asc",
|
|
1529
|
+
* },
|
|
1530
|
+
* take: 10,
|
|
1531
|
+
* })
|
|
1532
|
+
**/
|
|
1533
|
+
aggregate<T extends ContractPaymentAggregateArgs>(args: Prisma.Subset<T, ContractPaymentAggregateArgs>): Prisma.PrismaPromise<GetContractPaymentAggregateType<T>>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Group by ContractPayment.
|
|
1536
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1537
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1538
|
+
* @param {ContractPaymentGroupByArgs} args - Group by arguments.
|
|
1539
|
+
* @example
|
|
1540
|
+
* // Group by city, order by createdAt, get count
|
|
1541
|
+
* const result = await prisma.user.groupBy({
|
|
1542
|
+
* by: ['city', 'createdAt'],
|
|
1543
|
+
* orderBy: {
|
|
1544
|
+
* createdAt: true
|
|
1545
|
+
* },
|
|
1546
|
+
* _count: {
|
|
1547
|
+
* _all: true
|
|
1548
|
+
* },
|
|
1549
|
+
* })
|
|
1550
|
+
*
|
|
1551
|
+
**/
|
|
1552
|
+
groupBy<T extends ContractPaymentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1553
|
+
orderBy: ContractPaymentGroupByArgs['orderBy'];
|
|
1554
|
+
} : {
|
|
1555
|
+
orderBy?: ContractPaymentGroupByArgs['orderBy'];
|
|
1556
|
+
}, 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 ? {
|
|
1557
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1558
|
+
Error,
|
|
1559
|
+
'Field ',
|
|
1560
|
+
P,
|
|
1561
|
+
` in "having" needs to be provided in "by"`
|
|
1562
|
+
];
|
|
1563
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1564
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1565
|
+
}[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 ? {} : {
|
|
1566
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1567
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1568
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1569
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ContractPaymentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetContractPaymentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Fields of the ContractPayment model
|
|
1572
|
+
*/
|
|
1573
|
+
readonly fields: ContractPaymentFieldRefs;
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* The delegate class that acts as a "Promise-like" for ContractPayment.
|
|
1577
|
+
* Why is this prefixed with `Prisma__`?
|
|
1578
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1579
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1580
|
+
*/
|
|
1581
|
+
export interface Prisma__ContractPaymentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1582
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1583
|
+
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>;
|
|
1584
|
+
phase<T extends Prisma.ContractPayment$phaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPayment$phaseArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseClient<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1585
|
+
installment<T extends Prisma.ContractPayment$installmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPayment$installmentArgs<ExtArgs>>): Prisma.Prisma__ContractInstallmentClient<runtime.Types.Result.GetResult<Prisma.$ContractInstallmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1586
|
+
payer<T extends Prisma.ContractPayment$payerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPayment$payerArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1589
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1590
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1591
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1592
|
+
*/
|
|
1593
|
+
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>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1596
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1597
|
+
* @returns A Promise for the completion of the callback.
|
|
1598
|
+
*/
|
|
1599
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1602
|
+
* resolved value cannot be modified from the callback.
|
|
1603
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1604
|
+
* @returns A Promise for the completion of the callback.
|
|
1605
|
+
*/
|
|
1606
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1607
|
+
}
|
|
1608
|
+
/**
|
|
1609
|
+
* Fields of the ContractPayment model
|
|
1610
|
+
*/
|
|
1611
|
+
export interface ContractPaymentFieldRefs {
|
|
1612
|
+
readonly id: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1613
|
+
readonly contractId: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1614
|
+
readonly phaseId: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1615
|
+
readonly installmentId: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1616
|
+
readonly payerId: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1617
|
+
readonly amount: Prisma.FieldRef<"ContractPayment", 'Float'>;
|
|
1618
|
+
readonly principalAmount: Prisma.FieldRef<"ContractPayment", 'Float'>;
|
|
1619
|
+
readonly interestAmount: Prisma.FieldRef<"ContractPayment", 'Float'>;
|
|
1620
|
+
readonly lateFeeAmount: Prisma.FieldRef<"ContractPayment", 'Float'>;
|
|
1621
|
+
readonly paymentMethod: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1622
|
+
readonly status: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1623
|
+
readonly reference: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1624
|
+
readonly gatewayResponse: Prisma.FieldRef<"ContractPayment", 'String'>;
|
|
1625
|
+
readonly processedAt: Prisma.FieldRef<"ContractPayment", 'DateTime'>;
|
|
1626
|
+
readonly createdAt: Prisma.FieldRef<"ContractPayment", 'DateTime'>;
|
|
1627
|
+
readonly updatedAt: Prisma.FieldRef<"ContractPayment", 'DateTime'>;
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* ContractPayment findUnique
|
|
1631
|
+
*/
|
|
1632
|
+
export type ContractPaymentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1633
|
+
/**
|
|
1634
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1635
|
+
*/
|
|
1636
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1637
|
+
/**
|
|
1638
|
+
* Omit specific fields from the ContractPayment
|
|
1639
|
+
*/
|
|
1640
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1641
|
+
/**
|
|
1642
|
+
* Choose, which related nodes to fetch as well
|
|
1643
|
+
*/
|
|
1644
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* Filter, which ContractPayment to fetch.
|
|
1647
|
+
*/
|
|
1648
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
1649
|
+
};
|
|
1650
|
+
/**
|
|
1651
|
+
* ContractPayment findUniqueOrThrow
|
|
1652
|
+
*/
|
|
1653
|
+
export type ContractPaymentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1654
|
+
/**
|
|
1655
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1656
|
+
*/
|
|
1657
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Omit specific fields from the ContractPayment
|
|
1660
|
+
*/
|
|
1661
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* Choose, which related nodes to fetch as well
|
|
1664
|
+
*/
|
|
1665
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1666
|
+
/**
|
|
1667
|
+
* Filter, which ContractPayment to fetch.
|
|
1668
|
+
*/
|
|
1669
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* ContractPayment findFirst
|
|
1673
|
+
*/
|
|
1674
|
+
export type ContractPaymentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1675
|
+
/**
|
|
1676
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1677
|
+
*/
|
|
1678
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1679
|
+
/**
|
|
1680
|
+
* Omit specific fields from the ContractPayment
|
|
1681
|
+
*/
|
|
1682
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1683
|
+
/**
|
|
1684
|
+
* Choose, which related nodes to fetch as well
|
|
1685
|
+
*/
|
|
1686
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Filter, which ContractPayment to fetch.
|
|
1689
|
+
*/
|
|
1690
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
1691
|
+
/**
|
|
1692
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1693
|
+
*
|
|
1694
|
+
* Determine the order of ContractPayments to fetch.
|
|
1695
|
+
*/
|
|
1696
|
+
orderBy?: Prisma.ContractPaymentOrderByWithRelationInput | Prisma.ContractPaymentOrderByWithRelationInput[];
|
|
1697
|
+
/**
|
|
1698
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1699
|
+
*
|
|
1700
|
+
* Sets the position for searching for ContractPayments.
|
|
1701
|
+
*/
|
|
1702
|
+
cursor?: Prisma.ContractPaymentWhereUniqueInput;
|
|
1703
|
+
/**
|
|
1704
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1705
|
+
*
|
|
1706
|
+
* Take `±n` ContractPayments from the position of the cursor.
|
|
1707
|
+
*/
|
|
1708
|
+
take?: number;
|
|
1709
|
+
/**
|
|
1710
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1711
|
+
*
|
|
1712
|
+
* Skip the first `n` ContractPayments.
|
|
1713
|
+
*/
|
|
1714
|
+
skip?: number;
|
|
1715
|
+
/**
|
|
1716
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1717
|
+
*
|
|
1718
|
+
* Filter by unique combinations of ContractPayments.
|
|
1719
|
+
*/
|
|
1720
|
+
distinct?: Prisma.ContractPaymentScalarFieldEnum | Prisma.ContractPaymentScalarFieldEnum[];
|
|
1721
|
+
};
|
|
1722
|
+
/**
|
|
1723
|
+
* ContractPayment findFirstOrThrow
|
|
1724
|
+
*/
|
|
1725
|
+
export type ContractPaymentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
+
/**
|
|
1727
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1728
|
+
*/
|
|
1729
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1730
|
+
/**
|
|
1731
|
+
* Omit specific fields from the ContractPayment
|
|
1732
|
+
*/
|
|
1733
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1734
|
+
/**
|
|
1735
|
+
* Choose, which related nodes to fetch as well
|
|
1736
|
+
*/
|
|
1737
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1738
|
+
/**
|
|
1739
|
+
* Filter, which ContractPayment to fetch.
|
|
1740
|
+
*/
|
|
1741
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
1742
|
+
/**
|
|
1743
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1744
|
+
*
|
|
1745
|
+
* Determine the order of ContractPayments to fetch.
|
|
1746
|
+
*/
|
|
1747
|
+
orderBy?: Prisma.ContractPaymentOrderByWithRelationInput | Prisma.ContractPaymentOrderByWithRelationInput[];
|
|
1748
|
+
/**
|
|
1749
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1750
|
+
*
|
|
1751
|
+
* Sets the position for searching for ContractPayments.
|
|
1752
|
+
*/
|
|
1753
|
+
cursor?: Prisma.ContractPaymentWhereUniqueInput;
|
|
1754
|
+
/**
|
|
1755
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1756
|
+
*
|
|
1757
|
+
* Take `±n` ContractPayments from the position of the cursor.
|
|
1758
|
+
*/
|
|
1759
|
+
take?: number;
|
|
1760
|
+
/**
|
|
1761
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1762
|
+
*
|
|
1763
|
+
* Skip the first `n` ContractPayments.
|
|
1764
|
+
*/
|
|
1765
|
+
skip?: number;
|
|
1766
|
+
/**
|
|
1767
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1768
|
+
*
|
|
1769
|
+
* Filter by unique combinations of ContractPayments.
|
|
1770
|
+
*/
|
|
1771
|
+
distinct?: Prisma.ContractPaymentScalarFieldEnum | Prisma.ContractPaymentScalarFieldEnum[];
|
|
1772
|
+
};
|
|
1773
|
+
/**
|
|
1774
|
+
* ContractPayment findMany
|
|
1775
|
+
*/
|
|
1776
|
+
export type ContractPaymentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1777
|
+
/**
|
|
1778
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1779
|
+
*/
|
|
1780
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1781
|
+
/**
|
|
1782
|
+
* Omit specific fields from the ContractPayment
|
|
1783
|
+
*/
|
|
1784
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1785
|
+
/**
|
|
1786
|
+
* Choose, which related nodes to fetch as well
|
|
1787
|
+
*/
|
|
1788
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* Filter, which ContractPayments to fetch.
|
|
1791
|
+
*/
|
|
1792
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
1793
|
+
/**
|
|
1794
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1795
|
+
*
|
|
1796
|
+
* Determine the order of ContractPayments to fetch.
|
|
1797
|
+
*/
|
|
1798
|
+
orderBy?: Prisma.ContractPaymentOrderByWithRelationInput | Prisma.ContractPaymentOrderByWithRelationInput[];
|
|
1799
|
+
/**
|
|
1800
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1801
|
+
*
|
|
1802
|
+
* Sets the position for listing ContractPayments.
|
|
1803
|
+
*/
|
|
1804
|
+
cursor?: Prisma.ContractPaymentWhereUniqueInput;
|
|
1805
|
+
/**
|
|
1806
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1807
|
+
*
|
|
1808
|
+
* Take `±n` ContractPayments from the position of the cursor.
|
|
1809
|
+
*/
|
|
1810
|
+
take?: number;
|
|
1811
|
+
/**
|
|
1812
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1813
|
+
*
|
|
1814
|
+
* Skip the first `n` ContractPayments.
|
|
1815
|
+
*/
|
|
1816
|
+
skip?: number;
|
|
1817
|
+
distinct?: Prisma.ContractPaymentScalarFieldEnum | Prisma.ContractPaymentScalarFieldEnum[];
|
|
1818
|
+
};
|
|
1819
|
+
/**
|
|
1820
|
+
* ContractPayment create
|
|
1821
|
+
*/
|
|
1822
|
+
export type ContractPaymentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1825
|
+
*/
|
|
1826
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Omit specific fields from the ContractPayment
|
|
1829
|
+
*/
|
|
1830
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* Choose, which related nodes to fetch as well
|
|
1833
|
+
*/
|
|
1834
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* The data needed to create a ContractPayment.
|
|
1837
|
+
*/
|
|
1838
|
+
data: Prisma.XOR<Prisma.ContractPaymentCreateInput, Prisma.ContractPaymentUncheckedCreateInput>;
|
|
1839
|
+
};
|
|
1840
|
+
/**
|
|
1841
|
+
* ContractPayment createMany
|
|
1842
|
+
*/
|
|
1843
|
+
export type ContractPaymentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1844
|
+
/**
|
|
1845
|
+
* The data used to create many ContractPayments.
|
|
1846
|
+
*/
|
|
1847
|
+
data: Prisma.ContractPaymentCreateManyInput | Prisma.ContractPaymentCreateManyInput[];
|
|
1848
|
+
skipDuplicates?: boolean;
|
|
1849
|
+
};
|
|
1850
|
+
/**
|
|
1851
|
+
* ContractPayment update
|
|
1852
|
+
*/
|
|
1853
|
+
export type ContractPaymentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1854
|
+
/**
|
|
1855
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1856
|
+
*/
|
|
1857
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1858
|
+
/**
|
|
1859
|
+
* Omit specific fields from the ContractPayment
|
|
1860
|
+
*/
|
|
1861
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1862
|
+
/**
|
|
1863
|
+
* Choose, which related nodes to fetch as well
|
|
1864
|
+
*/
|
|
1865
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1866
|
+
/**
|
|
1867
|
+
* The data needed to update a ContractPayment.
|
|
1868
|
+
*/
|
|
1869
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateInput, Prisma.ContractPaymentUncheckedUpdateInput>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Choose, which ContractPayment to update.
|
|
1872
|
+
*/
|
|
1873
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
1874
|
+
};
|
|
1875
|
+
/**
|
|
1876
|
+
* ContractPayment updateMany
|
|
1877
|
+
*/
|
|
1878
|
+
export type ContractPaymentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
+
/**
|
|
1880
|
+
* The data used to update ContractPayments.
|
|
1881
|
+
*/
|
|
1882
|
+
data: Prisma.XOR<Prisma.ContractPaymentUpdateManyMutationInput, Prisma.ContractPaymentUncheckedUpdateManyInput>;
|
|
1883
|
+
/**
|
|
1884
|
+
* Filter which ContractPayments to update
|
|
1885
|
+
*/
|
|
1886
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
1887
|
+
/**
|
|
1888
|
+
* Limit how many ContractPayments to update.
|
|
1889
|
+
*/
|
|
1890
|
+
limit?: number;
|
|
1891
|
+
};
|
|
1892
|
+
/**
|
|
1893
|
+
* ContractPayment upsert
|
|
1894
|
+
*/
|
|
1895
|
+
export type ContractPaymentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1896
|
+
/**
|
|
1897
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1898
|
+
*/
|
|
1899
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1900
|
+
/**
|
|
1901
|
+
* Omit specific fields from the ContractPayment
|
|
1902
|
+
*/
|
|
1903
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* Choose, which related nodes to fetch as well
|
|
1906
|
+
*/
|
|
1907
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* The filter to search for the ContractPayment to update in case it exists.
|
|
1910
|
+
*/
|
|
1911
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
1912
|
+
/**
|
|
1913
|
+
* In case the ContractPayment found by the `where` argument doesn't exist, create a new ContractPayment with this data.
|
|
1914
|
+
*/
|
|
1915
|
+
create: Prisma.XOR<Prisma.ContractPaymentCreateInput, Prisma.ContractPaymentUncheckedCreateInput>;
|
|
1916
|
+
/**
|
|
1917
|
+
* In case the ContractPayment was found with the provided `where` argument, update it with this data.
|
|
1918
|
+
*/
|
|
1919
|
+
update: Prisma.XOR<Prisma.ContractPaymentUpdateInput, Prisma.ContractPaymentUncheckedUpdateInput>;
|
|
1920
|
+
};
|
|
1921
|
+
/**
|
|
1922
|
+
* ContractPayment delete
|
|
1923
|
+
*/
|
|
1924
|
+
export type ContractPaymentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Select specific fields to fetch from the ContractPayment
|
|
1927
|
+
*/
|
|
1928
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
1929
|
+
/**
|
|
1930
|
+
* Omit specific fields from the ContractPayment
|
|
1931
|
+
*/
|
|
1932
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
1933
|
+
/**
|
|
1934
|
+
* Choose, which related nodes to fetch as well
|
|
1935
|
+
*/
|
|
1936
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
1937
|
+
/**
|
|
1938
|
+
* Filter which ContractPayment to delete.
|
|
1939
|
+
*/
|
|
1940
|
+
where: Prisma.ContractPaymentWhereUniqueInput;
|
|
1941
|
+
};
|
|
1942
|
+
/**
|
|
1943
|
+
* ContractPayment deleteMany
|
|
1944
|
+
*/
|
|
1945
|
+
export type ContractPaymentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1946
|
+
/**
|
|
1947
|
+
* Filter which ContractPayments to delete
|
|
1948
|
+
*/
|
|
1949
|
+
where?: Prisma.ContractPaymentWhereInput;
|
|
1950
|
+
/**
|
|
1951
|
+
* Limit how many ContractPayments to delete.
|
|
1952
|
+
*/
|
|
1953
|
+
limit?: number;
|
|
1954
|
+
};
|
|
1955
|
+
/**
|
|
1956
|
+
* ContractPayment.phase
|
|
1957
|
+
*/
|
|
1958
|
+
export type ContractPayment$phaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1959
|
+
/**
|
|
1960
|
+
* Select specific fields to fetch from the ContractPhase
|
|
1961
|
+
*/
|
|
1962
|
+
select?: Prisma.ContractPhaseSelect<ExtArgs> | null;
|
|
1963
|
+
/**
|
|
1964
|
+
* Omit specific fields from the ContractPhase
|
|
1965
|
+
*/
|
|
1966
|
+
omit?: Prisma.ContractPhaseOmit<ExtArgs> | null;
|
|
1967
|
+
/**
|
|
1968
|
+
* Choose, which related nodes to fetch as well
|
|
1969
|
+
*/
|
|
1970
|
+
include?: Prisma.ContractPhaseInclude<ExtArgs> | null;
|
|
1971
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
1972
|
+
};
|
|
1973
|
+
/**
|
|
1974
|
+
* ContractPayment.installment
|
|
1975
|
+
*/
|
|
1976
|
+
export type ContractPayment$installmentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1977
|
+
/**
|
|
1978
|
+
* Select specific fields to fetch from the ContractInstallment
|
|
1979
|
+
*/
|
|
1980
|
+
select?: Prisma.ContractInstallmentSelect<ExtArgs> | null;
|
|
1981
|
+
/**
|
|
1982
|
+
* Omit specific fields from the ContractInstallment
|
|
1983
|
+
*/
|
|
1984
|
+
omit?: Prisma.ContractInstallmentOmit<ExtArgs> | null;
|
|
1985
|
+
/**
|
|
1986
|
+
* Choose, which related nodes to fetch as well
|
|
1987
|
+
*/
|
|
1988
|
+
include?: Prisma.ContractInstallmentInclude<ExtArgs> | null;
|
|
1989
|
+
where?: Prisma.ContractInstallmentWhereInput;
|
|
1990
|
+
};
|
|
1991
|
+
/**
|
|
1992
|
+
* ContractPayment.payer
|
|
1993
|
+
*/
|
|
1994
|
+
export type ContractPayment$payerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1995
|
+
/**
|
|
1996
|
+
* Select specific fields to fetch from the User
|
|
1997
|
+
*/
|
|
1998
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1999
|
+
/**
|
|
2000
|
+
* Omit specific fields from the User
|
|
2001
|
+
*/
|
|
2002
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2003
|
+
/**
|
|
2004
|
+
* Choose, which related nodes to fetch as well
|
|
2005
|
+
*/
|
|
2006
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2007
|
+
where?: Prisma.UserWhereInput;
|
|
2008
|
+
};
|
|
2009
|
+
/**
|
|
2010
|
+
* ContractPayment without action
|
|
2011
|
+
*/
|
|
2012
|
+
export type ContractPaymentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Select specific fields to fetch from the ContractPayment
|
|
2015
|
+
*/
|
|
2016
|
+
select?: Prisma.ContractPaymentSelect<ExtArgs> | null;
|
|
2017
|
+
/**
|
|
2018
|
+
* Omit specific fields from the ContractPayment
|
|
2019
|
+
*/
|
|
2020
|
+
omit?: Prisma.ContractPaymentOmit<ExtArgs> | null;
|
|
2021
|
+
/**
|
|
2022
|
+
* Choose, which related nodes to fetch as well
|
|
2023
|
+
*/
|
|
2024
|
+
include?: Prisma.ContractPaymentInclude<ExtArgs> | null;
|
|
2025
|
+
};
|
|
2026
|
+
export {};
|