@valentine-efagene/qshelter-common 2.0.52 → 2.0.53
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/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,2026 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model Payment
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type PaymentModel = runtime.Types.Result.DefaultSelection<Prisma.$PaymentPayload>;
|
|
8
|
-
export type AggregatePayment = {
|
|
9
|
-
_count: PaymentCountAggregateOutputType | null;
|
|
10
|
-
_avg: PaymentAvgAggregateOutputType | null;
|
|
11
|
-
_sum: PaymentSumAggregateOutputType | null;
|
|
12
|
-
_min: PaymentMinAggregateOutputType | null;
|
|
13
|
-
_max: PaymentMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type PaymentAvgAggregateOutputType = {
|
|
16
|
-
amount: number | null;
|
|
17
|
-
principalAmount: number | null;
|
|
18
|
-
interestAmount: number | null;
|
|
19
|
-
lateFeeAmount: number | null;
|
|
20
|
-
};
|
|
21
|
-
export type PaymentSumAggregateOutputType = {
|
|
22
|
-
amount: number | null;
|
|
23
|
-
principalAmount: number | null;
|
|
24
|
-
interestAmount: number | null;
|
|
25
|
-
lateFeeAmount: number | null;
|
|
26
|
-
};
|
|
27
|
-
export type PaymentMinAggregateOutputType = {
|
|
28
|
-
id: string | null;
|
|
29
|
-
planId: string | null;
|
|
30
|
-
scheduleId: 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 PaymentMaxAggregateOutputType = {
|
|
46
|
-
id: string | null;
|
|
47
|
-
planId: string | null;
|
|
48
|
-
scheduleId: 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 PaymentCountAggregateOutputType = {
|
|
64
|
-
id: number;
|
|
65
|
-
planId: number;
|
|
66
|
-
scheduleId: 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 PaymentAvgAggregateInputType = {
|
|
83
|
-
amount?: true;
|
|
84
|
-
principalAmount?: true;
|
|
85
|
-
interestAmount?: true;
|
|
86
|
-
lateFeeAmount?: true;
|
|
87
|
-
};
|
|
88
|
-
export type PaymentSumAggregateInputType = {
|
|
89
|
-
amount?: true;
|
|
90
|
-
principalAmount?: true;
|
|
91
|
-
interestAmount?: true;
|
|
92
|
-
lateFeeAmount?: true;
|
|
93
|
-
};
|
|
94
|
-
export type PaymentMinAggregateInputType = {
|
|
95
|
-
id?: true;
|
|
96
|
-
planId?: true;
|
|
97
|
-
scheduleId?: 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 PaymentMaxAggregateInputType = {
|
|
113
|
-
id?: true;
|
|
114
|
-
planId?: true;
|
|
115
|
-
scheduleId?: 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 PaymentCountAggregateInputType = {
|
|
131
|
-
id?: true;
|
|
132
|
-
planId?: true;
|
|
133
|
-
scheduleId?: 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 PaymentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
150
|
-
/**
|
|
151
|
-
* Filter which Payment to aggregate.
|
|
152
|
-
*/
|
|
153
|
-
where?: Prisma.PaymentWhereInput;
|
|
154
|
-
/**
|
|
155
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
156
|
-
*
|
|
157
|
-
* Determine the order of Payments to fetch.
|
|
158
|
-
*/
|
|
159
|
-
orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
|
|
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.PaymentWhereUniqueInput;
|
|
166
|
-
/**
|
|
167
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
168
|
-
*
|
|
169
|
-
* Take `±n` Payments 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` Payments.
|
|
176
|
-
*/
|
|
177
|
-
skip?: number;
|
|
178
|
-
/**
|
|
179
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
-
*
|
|
181
|
-
* Count returned Payments
|
|
182
|
-
**/
|
|
183
|
-
_count?: true | PaymentCountAggregateInputType;
|
|
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?: PaymentAvgAggregateInputType;
|
|
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?: PaymentSumAggregateInputType;
|
|
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?: PaymentMinAggregateInputType;
|
|
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?: PaymentMaxAggregateInputType;
|
|
208
|
-
};
|
|
209
|
-
export type GetPaymentAggregateType<T extends PaymentAggregateArgs> = {
|
|
210
|
-
[P in keyof T & keyof AggregatePayment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePayment[P]> : Prisma.GetScalarType<T[P], AggregatePayment[P]>;
|
|
211
|
-
};
|
|
212
|
-
export type PaymentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
213
|
-
where?: Prisma.PaymentWhereInput;
|
|
214
|
-
orderBy?: Prisma.PaymentOrderByWithAggregationInput | Prisma.PaymentOrderByWithAggregationInput[];
|
|
215
|
-
by: Prisma.PaymentScalarFieldEnum[] | Prisma.PaymentScalarFieldEnum;
|
|
216
|
-
having?: Prisma.PaymentScalarWhereWithAggregatesInput;
|
|
217
|
-
take?: number;
|
|
218
|
-
skip?: number;
|
|
219
|
-
_count?: PaymentCountAggregateInputType | true;
|
|
220
|
-
_avg?: PaymentAvgAggregateInputType;
|
|
221
|
-
_sum?: PaymentSumAggregateInputType;
|
|
222
|
-
_min?: PaymentMinAggregateInputType;
|
|
223
|
-
_max?: PaymentMaxAggregateInputType;
|
|
224
|
-
};
|
|
225
|
-
export type PaymentGroupByOutputType = {
|
|
226
|
-
id: string;
|
|
227
|
-
planId: string;
|
|
228
|
-
scheduleId: 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: PaymentCountAggregateOutputType | null;
|
|
243
|
-
_avg: PaymentAvgAggregateOutputType | null;
|
|
244
|
-
_sum: PaymentSumAggregateOutputType | null;
|
|
245
|
-
_min: PaymentMinAggregateOutputType | null;
|
|
246
|
-
_max: PaymentMaxAggregateOutputType | null;
|
|
247
|
-
};
|
|
248
|
-
type GetPaymentGroupByPayload<T extends PaymentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PaymentGroupByOutputType, T['by']> & {
|
|
249
|
-
[P in ((keyof T) & (keyof PaymentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PaymentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PaymentGroupByOutputType[P]>;
|
|
250
|
-
}>>;
|
|
251
|
-
export type PaymentWhereInput = {
|
|
252
|
-
AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[];
|
|
253
|
-
OR?: Prisma.PaymentWhereInput[];
|
|
254
|
-
NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[];
|
|
255
|
-
id?: Prisma.StringFilter<"Payment"> | string;
|
|
256
|
-
planId?: Prisma.StringFilter<"Payment"> | string;
|
|
257
|
-
scheduleId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
258
|
-
installmentId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
259
|
-
payerId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
260
|
-
amount?: Prisma.FloatFilter<"Payment"> | number;
|
|
261
|
-
principalAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
262
|
-
interestAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
263
|
-
lateFeeAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
264
|
-
paymentMethod?: Prisma.StringFilter<"Payment"> | string;
|
|
265
|
-
status?: Prisma.StringFilter<"Payment"> | string;
|
|
266
|
-
reference?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
267
|
-
gatewayResponse?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
268
|
-
processedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null;
|
|
269
|
-
createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
270
|
-
updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
271
|
-
plan?: Prisma.XOR<Prisma.PaymentPlanScalarRelationFilter, Prisma.PaymentPlanWhereInput>;
|
|
272
|
-
schedule?: Prisma.XOR<Prisma.PaymentScheduleNullableScalarRelationFilter, Prisma.PaymentScheduleWhereInput> | null;
|
|
273
|
-
installment?: Prisma.XOR<Prisma.PaymentInstallmentNullableScalarRelationFilter, Prisma.PaymentInstallmentWhereInput> | null;
|
|
274
|
-
payer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
275
|
-
};
|
|
276
|
-
export type PaymentOrderByWithRelationInput = {
|
|
277
|
-
id?: Prisma.SortOrder;
|
|
278
|
-
planId?: Prisma.SortOrder;
|
|
279
|
-
scheduleId?: 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
|
-
plan?: Prisma.PaymentPlanOrderByWithRelationInput;
|
|
294
|
-
schedule?: Prisma.PaymentScheduleOrderByWithRelationInput;
|
|
295
|
-
installment?: Prisma.PaymentInstallmentOrderByWithRelationInput;
|
|
296
|
-
payer?: Prisma.UserOrderByWithRelationInput;
|
|
297
|
-
_relevance?: Prisma.PaymentOrderByRelevanceInput;
|
|
298
|
-
};
|
|
299
|
-
export type PaymentWhereUniqueInput = Prisma.AtLeast<{
|
|
300
|
-
id?: string;
|
|
301
|
-
reference?: string;
|
|
302
|
-
AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[];
|
|
303
|
-
OR?: Prisma.PaymentWhereInput[];
|
|
304
|
-
NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[];
|
|
305
|
-
planId?: Prisma.StringFilter<"Payment"> | string;
|
|
306
|
-
scheduleId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
307
|
-
installmentId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
308
|
-
payerId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
309
|
-
amount?: Prisma.FloatFilter<"Payment"> | number;
|
|
310
|
-
principalAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
311
|
-
interestAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
312
|
-
lateFeeAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
313
|
-
paymentMethod?: Prisma.StringFilter<"Payment"> | string;
|
|
314
|
-
status?: Prisma.StringFilter<"Payment"> | string;
|
|
315
|
-
gatewayResponse?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
316
|
-
processedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null;
|
|
317
|
-
createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
318
|
-
updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
319
|
-
plan?: Prisma.XOR<Prisma.PaymentPlanScalarRelationFilter, Prisma.PaymentPlanWhereInput>;
|
|
320
|
-
schedule?: Prisma.XOR<Prisma.PaymentScheduleNullableScalarRelationFilter, Prisma.PaymentScheduleWhereInput> | null;
|
|
321
|
-
installment?: Prisma.XOR<Prisma.PaymentInstallmentNullableScalarRelationFilter, Prisma.PaymentInstallmentWhereInput> | null;
|
|
322
|
-
payer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
323
|
-
}, "id" | "reference">;
|
|
324
|
-
export type PaymentOrderByWithAggregationInput = {
|
|
325
|
-
id?: Prisma.SortOrder;
|
|
326
|
-
planId?: Prisma.SortOrder;
|
|
327
|
-
scheduleId?: 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.PaymentCountOrderByAggregateInput;
|
|
342
|
-
_avg?: Prisma.PaymentAvgOrderByAggregateInput;
|
|
343
|
-
_max?: Prisma.PaymentMaxOrderByAggregateInput;
|
|
344
|
-
_min?: Prisma.PaymentMinOrderByAggregateInput;
|
|
345
|
-
_sum?: Prisma.PaymentSumOrderByAggregateInput;
|
|
346
|
-
};
|
|
347
|
-
export type PaymentScalarWhereWithAggregatesInput = {
|
|
348
|
-
AND?: Prisma.PaymentScalarWhereWithAggregatesInput | Prisma.PaymentScalarWhereWithAggregatesInput[];
|
|
349
|
-
OR?: Prisma.PaymentScalarWhereWithAggregatesInput[];
|
|
350
|
-
NOT?: Prisma.PaymentScalarWhereWithAggregatesInput | Prisma.PaymentScalarWhereWithAggregatesInput[];
|
|
351
|
-
id?: Prisma.StringWithAggregatesFilter<"Payment"> | string;
|
|
352
|
-
planId?: Prisma.StringWithAggregatesFilter<"Payment"> | string;
|
|
353
|
-
scheduleId?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null;
|
|
354
|
-
installmentId?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null;
|
|
355
|
-
payerId?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null;
|
|
356
|
-
amount?: Prisma.FloatWithAggregatesFilter<"Payment"> | number;
|
|
357
|
-
principalAmount?: Prisma.FloatWithAggregatesFilter<"Payment"> | number;
|
|
358
|
-
interestAmount?: Prisma.FloatWithAggregatesFilter<"Payment"> | number;
|
|
359
|
-
lateFeeAmount?: Prisma.FloatWithAggregatesFilter<"Payment"> | number;
|
|
360
|
-
paymentMethod?: Prisma.StringWithAggregatesFilter<"Payment"> | string;
|
|
361
|
-
status?: Prisma.StringWithAggregatesFilter<"Payment"> | string;
|
|
362
|
-
reference?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null;
|
|
363
|
-
gatewayResponse?: Prisma.StringNullableWithAggregatesFilter<"Payment"> | string | null;
|
|
364
|
-
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Payment"> | Date | string | null;
|
|
365
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Payment"> | Date | string;
|
|
366
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Payment"> | Date | string;
|
|
367
|
-
};
|
|
368
|
-
export type PaymentCreateInput = {
|
|
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
|
-
plan: Prisma.PaymentPlanCreateNestedOneWithoutPaymentsInput;
|
|
382
|
-
schedule?: Prisma.PaymentScheduleCreateNestedOneWithoutPaymentsInput;
|
|
383
|
-
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
384
|
-
payer?: Prisma.UserCreateNestedOneWithoutPaymentsInput;
|
|
385
|
-
};
|
|
386
|
-
export type PaymentUncheckedCreateInput = {
|
|
387
|
-
id?: string;
|
|
388
|
-
planId: string;
|
|
389
|
-
scheduleId?: 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 PaymentUpdateInput = {
|
|
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
|
-
plan?: Prisma.PaymentPlanUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
418
|
-
schedule?: Prisma.PaymentScheduleUpdateOneWithoutPaymentsNestedInput;
|
|
419
|
-
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
420
|
-
payer?: Prisma.UserUpdateOneWithoutPaymentsNestedInput;
|
|
421
|
-
};
|
|
422
|
-
export type PaymentUncheckedUpdateInput = {
|
|
423
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
|
-
scheduleId?: 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 PaymentCreateManyInput = {
|
|
441
|
-
id?: string;
|
|
442
|
-
planId: string;
|
|
443
|
-
scheduleId?: 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 PaymentUpdateManyMutationInput = {
|
|
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 PaymentUncheckedUpdateManyInput = {
|
|
473
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
474
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
|
-
scheduleId?: 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 PaymentListRelationFilter = {
|
|
491
|
-
every?: Prisma.PaymentWhereInput;
|
|
492
|
-
some?: Prisma.PaymentWhereInput;
|
|
493
|
-
none?: Prisma.PaymentWhereInput;
|
|
494
|
-
};
|
|
495
|
-
export type PaymentOrderByRelationAggregateInput = {
|
|
496
|
-
_count?: Prisma.SortOrder;
|
|
497
|
-
};
|
|
498
|
-
export type PaymentOrderByRelevanceInput = {
|
|
499
|
-
fields: Prisma.PaymentOrderByRelevanceFieldEnum | Prisma.PaymentOrderByRelevanceFieldEnum[];
|
|
500
|
-
sort: Prisma.SortOrder;
|
|
501
|
-
search: string;
|
|
502
|
-
};
|
|
503
|
-
export type PaymentCountOrderByAggregateInput = {
|
|
504
|
-
id?: Prisma.SortOrder;
|
|
505
|
-
planId?: Prisma.SortOrder;
|
|
506
|
-
scheduleId?: 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 PaymentAvgOrderByAggregateInput = {
|
|
522
|
-
amount?: Prisma.SortOrder;
|
|
523
|
-
principalAmount?: Prisma.SortOrder;
|
|
524
|
-
interestAmount?: Prisma.SortOrder;
|
|
525
|
-
lateFeeAmount?: Prisma.SortOrder;
|
|
526
|
-
};
|
|
527
|
-
export type PaymentMaxOrderByAggregateInput = {
|
|
528
|
-
id?: Prisma.SortOrder;
|
|
529
|
-
planId?: Prisma.SortOrder;
|
|
530
|
-
scheduleId?: 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 PaymentMinOrderByAggregateInput = {
|
|
546
|
-
id?: Prisma.SortOrder;
|
|
547
|
-
planId?: Prisma.SortOrder;
|
|
548
|
-
scheduleId?: 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 PaymentSumOrderByAggregateInput = {
|
|
564
|
-
amount?: Prisma.SortOrder;
|
|
565
|
-
principalAmount?: Prisma.SortOrder;
|
|
566
|
-
interestAmount?: Prisma.SortOrder;
|
|
567
|
-
lateFeeAmount?: Prisma.SortOrder;
|
|
568
|
-
};
|
|
569
|
-
export type PaymentCreateNestedManyWithoutPayerInput = {
|
|
570
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput> | Prisma.PaymentCreateWithoutPayerInput[] | Prisma.PaymentUncheckedCreateWithoutPayerInput[];
|
|
571
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPayerInput | Prisma.PaymentCreateOrConnectWithoutPayerInput[];
|
|
572
|
-
createMany?: Prisma.PaymentCreateManyPayerInputEnvelope;
|
|
573
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
574
|
-
};
|
|
575
|
-
export type PaymentUncheckedCreateNestedManyWithoutPayerInput = {
|
|
576
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput> | Prisma.PaymentCreateWithoutPayerInput[] | Prisma.PaymentUncheckedCreateWithoutPayerInput[];
|
|
577
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPayerInput | Prisma.PaymentCreateOrConnectWithoutPayerInput[];
|
|
578
|
-
createMany?: Prisma.PaymentCreateManyPayerInputEnvelope;
|
|
579
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
580
|
-
};
|
|
581
|
-
export type PaymentUpdateManyWithoutPayerNestedInput = {
|
|
582
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput> | Prisma.PaymentCreateWithoutPayerInput[] | Prisma.PaymentUncheckedCreateWithoutPayerInput[];
|
|
583
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPayerInput | Prisma.PaymentCreateOrConnectWithoutPayerInput[];
|
|
584
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutPayerInput | Prisma.PaymentUpsertWithWhereUniqueWithoutPayerInput[];
|
|
585
|
-
createMany?: Prisma.PaymentCreateManyPayerInputEnvelope;
|
|
586
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
587
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
588
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
589
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
590
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutPayerInput | Prisma.PaymentUpdateWithWhereUniqueWithoutPayerInput[];
|
|
591
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutPayerInput | Prisma.PaymentUpdateManyWithWhereWithoutPayerInput[];
|
|
592
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
593
|
-
};
|
|
594
|
-
export type PaymentUncheckedUpdateManyWithoutPayerNestedInput = {
|
|
595
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput> | Prisma.PaymentCreateWithoutPayerInput[] | Prisma.PaymentUncheckedCreateWithoutPayerInput[];
|
|
596
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPayerInput | Prisma.PaymentCreateOrConnectWithoutPayerInput[];
|
|
597
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutPayerInput | Prisma.PaymentUpsertWithWhereUniqueWithoutPayerInput[];
|
|
598
|
-
createMany?: Prisma.PaymentCreateManyPayerInputEnvelope;
|
|
599
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
600
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
601
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
602
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
603
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutPayerInput | Prisma.PaymentUpdateWithWhereUniqueWithoutPayerInput[];
|
|
604
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutPayerInput | Prisma.PaymentUpdateManyWithWhereWithoutPayerInput[];
|
|
605
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
606
|
-
};
|
|
607
|
-
export type PaymentCreateNestedManyWithoutPlanInput = {
|
|
608
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput> | Prisma.PaymentCreateWithoutPlanInput[] | Prisma.PaymentUncheckedCreateWithoutPlanInput[];
|
|
609
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPlanInput | Prisma.PaymentCreateOrConnectWithoutPlanInput[];
|
|
610
|
-
createMany?: Prisma.PaymentCreateManyPlanInputEnvelope;
|
|
611
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
612
|
-
};
|
|
613
|
-
export type PaymentUncheckedCreateNestedManyWithoutPlanInput = {
|
|
614
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput> | Prisma.PaymentCreateWithoutPlanInput[] | Prisma.PaymentUncheckedCreateWithoutPlanInput[];
|
|
615
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPlanInput | Prisma.PaymentCreateOrConnectWithoutPlanInput[];
|
|
616
|
-
createMany?: Prisma.PaymentCreateManyPlanInputEnvelope;
|
|
617
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
618
|
-
};
|
|
619
|
-
export type PaymentUpdateManyWithoutPlanNestedInput = {
|
|
620
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput> | Prisma.PaymentCreateWithoutPlanInput[] | Prisma.PaymentUncheckedCreateWithoutPlanInput[];
|
|
621
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPlanInput | Prisma.PaymentCreateOrConnectWithoutPlanInput[];
|
|
622
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutPlanInput | Prisma.PaymentUpsertWithWhereUniqueWithoutPlanInput[];
|
|
623
|
-
createMany?: Prisma.PaymentCreateManyPlanInputEnvelope;
|
|
624
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
625
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
626
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
627
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
628
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutPlanInput | Prisma.PaymentUpdateWithWhereUniqueWithoutPlanInput[];
|
|
629
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutPlanInput | Prisma.PaymentUpdateManyWithWhereWithoutPlanInput[];
|
|
630
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
631
|
-
};
|
|
632
|
-
export type PaymentUncheckedUpdateManyWithoutPlanNestedInput = {
|
|
633
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput> | Prisma.PaymentCreateWithoutPlanInput[] | Prisma.PaymentUncheckedCreateWithoutPlanInput[];
|
|
634
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutPlanInput | Prisma.PaymentCreateOrConnectWithoutPlanInput[];
|
|
635
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutPlanInput | Prisma.PaymentUpsertWithWhereUniqueWithoutPlanInput[];
|
|
636
|
-
createMany?: Prisma.PaymentCreateManyPlanInputEnvelope;
|
|
637
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
638
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
639
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
640
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
641
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutPlanInput | Prisma.PaymentUpdateWithWhereUniqueWithoutPlanInput[];
|
|
642
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutPlanInput | Prisma.PaymentUpdateManyWithWhereWithoutPlanInput[];
|
|
643
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
644
|
-
};
|
|
645
|
-
export type PaymentCreateNestedManyWithoutScheduleInput = {
|
|
646
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentCreateWithoutScheduleInput[] | Prisma.PaymentUncheckedCreateWithoutScheduleInput[];
|
|
647
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutScheduleInput | Prisma.PaymentCreateOrConnectWithoutScheduleInput[];
|
|
648
|
-
createMany?: Prisma.PaymentCreateManyScheduleInputEnvelope;
|
|
649
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
650
|
-
};
|
|
651
|
-
export type PaymentUncheckedCreateNestedManyWithoutScheduleInput = {
|
|
652
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentCreateWithoutScheduleInput[] | Prisma.PaymentUncheckedCreateWithoutScheduleInput[];
|
|
653
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutScheduleInput | Prisma.PaymentCreateOrConnectWithoutScheduleInput[];
|
|
654
|
-
createMany?: Prisma.PaymentCreateManyScheduleInputEnvelope;
|
|
655
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
656
|
-
};
|
|
657
|
-
export type PaymentUpdateManyWithoutScheduleNestedInput = {
|
|
658
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentCreateWithoutScheduleInput[] | Prisma.PaymentUncheckedCreateWithoutScheduleInput[];
|
|
659
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutScheduleInput | Prisma.PaymentCreateOrConnectWithoutScheduleInput[];
|
|
660
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutScheduleInput | Prisma.PaymentUpsertWithWhereUniqueWithoutScheduleInput[];
|
|
661
|
-
createMany?: Prisma.PaymentCreateManyScheduleInputEnvelope;
|
|
662
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
663
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
664
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
665
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
666
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutScheduleInput | Prisma.PaymentUpdateWithWhereUniqueWithoutScheduleInput[];
|
|
667
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutScheduleInput | Prisma.PaymentUpdateManyWithWhereWithoutScheduleInput[];
|
|
668
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
669
|
-
};
|
|
670
|
-
export type PaymentUncheckedUpdateManyWithoutScheduleNestedInput = {
|
|
671
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentCreateWithoutScheduleInput[] | Prisma.PaymentUncheckedCreateWithoutScheduleInput[];
|
|
672
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutScheduleInput | Prisma.PaymentCreateOrConnectWithoutScheduleInput[];
|
|
673
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutScheduleInput | Prisma.PaymentUpsertWithWhereUniqueWithoutScheduleInput[];
|
|
674
|
-
createMany?: Prisma.PaymentCreateManyScheduleInputEnvelope;
|
|
675
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
676
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
677
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
678
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
679
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutScheduleInput | Prisma.PaymentUpdateWithWhereUniqueWithoutScheduleInput[];
|
|
680
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutScheduleInput | Prisma.PaymentUpdateManyWithWhereWithoutScheduleInput[];
|
|
681
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
682
|
-
};
|
|
683
|
-
export type PaymentCreateNestedManyWithoutInstallmentInput = {
|
|
684
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput> | Prisma.PaymentCreateWithoutInstallmentInput[] | Prisma.PaymentUncheckedCreateWithoutInstallmentInput[];
|
|
685
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutInstallmentInput | Prisma.PaymentCreateOrConnectWithoutInstallmentInput[];
|
|
686
|
-
createMany?: Prisma.PaymentCreateManyInstallmentInputEnvelope;
|
|
687
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
688
|
-
};
|
|
689
|
-
export type PaymentUncheckedCreateNestedManyWithoutInstallmentInput = {
|
|
690
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput> | Prisma.PaymentCreateWithoutInstallmentInput[] | Prisma.PaymentUncheckedCreateWithoutInstallmentInput[];
|
|
691
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutInstallmentInput | Prisma.PaymentCreateOrConnectWithoutInstallmentInput[];
|
|
692
|
-
createMany?: Prisma.PaymentCreateManyInstallmentInputEnvelope;
|
|
693
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
694
|
-
};
|
|
695
|
-
export type PaymentUpdateManyWithoutInstallmentNestedInput = {
|
|
696
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput> | Prisma.PaymentCreateWithoutInstallmentInput[] | Prisma.PaymentUncheckedCreateWithoutInstallmentInput[];
|
|
697
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutInstallmentInput | Prisma.PaymentCreateOrConnectWithoutInstallmentInput[];
|
|
698
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutInstallmentInput | Prisma.PaymentUpsertWithWhereUniqueWithoutInstallmentInput[];
|
|
699
|
-
createMany?: Prisma.PaymentCreateManyInstallmentInputEnvelope;
|
|
700
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
701
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
702
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
703
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
704
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutInstallmentInput | Prisma.PaymentUpdateWithWhereUniqueWithoutInstallmentInput[];
|
|
705
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutInstallmentInput | Prisma.PaymentUpdateManyWithWhereWithoutInstallmentInput[];
|
|
706
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
707
|
-
};
|
|
708
|
-
export type PaymentUncheckedUpdateManyWithoutInstallmentNestedInput = {
|
|
709
|
-
create?: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput> | Prisma.PaymentCreateWithoutInstallmentInput[] | Prisma.PaymentUncheckedCreateWithoutInstallmentInput[];
|
|
710
|
-
connectOrCreate?: Prisma.PaymentCreateOrConnectWithoutInstallmentInput | Prisma.PaymentCreateOrConnectWithoutInstallmentInput[];
|
|
711
|
-
upsert?: Prisma.PaymentUpsertWithWhereUniqueWithoutInstallmentInput | Prisma.PaymentUpsertWithWhereUniqueWithoutInstallmentInput[];
|
|
712
|
-
createMany?: Prisma.PaymentCreateManyInstallmentInputEnvelope;
|
|
713
|
-
set?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
714
|
-
disconnect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
715
|
-
delete?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
716
|
-
connect?: Prisma.PaymentWhereUniqueInput | Prisma.PaymentWhereUniqueInput[];
|
|
717
|
-
update?: Prisma.PaymentUpdateWithWhereUniqueWithoutInstallmentInput | Prisma.PaymentUpdateWithWhereUniqueWithoutInstallmentInput[];
|
|
718
|
-
updateMany?: Prisma.PaymentUpdateManyWithWhereWithoutInstallmentInput | Prisma.PaymentUpdateManyWithWhereWithoutInstallmentInput[];
|
|
719
|
-
deleteMany?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
720
|
-
};
|
|
721
|
-
export type PaymentCreateWithoutPayerInput = {
|
|
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
|
-
plan: Prisma.PaymentPlanCreateNestedOneWithoutPaymentsInput;
|
|
735
|
-
schedule?: Prisma.PaymentScheduleCreateNestedOneWithoutPaymentsInput;
|
|
736
|
-
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
737
|
-
};
|
|
738
|
-
export type PaymentUncheckedCreateWithoutPayerInput = {
|
|
739
|
-
id?: string;
|
|
740
|
-
planId: string;
|
|
741
|
-
scheduleId?: 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 PaymentCreateOrConnectWithoutPayerInput = {
|
|
756
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
757
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput>;
|
|
758
|
-
};
|
|
759
|
-
export type PaymentCreateManyPayerInputEnvelope = {
|
|
760
|
-
data: Prisma.PaymentCreateManyPayerInput | Prisma.PaymentCreateManyPayerInput[];
|
|
761
|
-
skipDuplicates?: boolean;
|
|
762
|
-
};
|
|
763
|
-
export type PaymentUpsertWithWhereUniqueWithoutPayerInput = {
|
|
764
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
765
|
-
update: Prisma.XOR<Prisma.PaymentUpdateWithoutPayerInput, Prisma.PaymentUncheckedUpdateWithoutPayerInput>;
|
|
766
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutPayerInput, Prisma.PaymentUncheckedCreateWithoutPayerInput>;
|
|
767
|
-
};
|
|
768
|
-
export type PaymentUpdateWithWhereUniqueWithoutPayerInput = {
|
|
769
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
770
|
-
data: Prisma.XOR<Prisma.PaymentUpdateWithoutPayerInput, Prisma.PaymentUncheckedUpdateWithoutPayerInput>;
|
|
771
|
-
};
|
|
772
|
-
export type PaymentUpdateManyWithWhereWithoutPayerInput = {
|
|
773
|
-
where: Prisma.PaymentScalarWhereInput;
|
|
774
|
-
data: Prisma.XOR<Prisma.PaymentUpdateManyMutationInput, Prisma.PaymentUncheckedUpdateManyWithoutPayerInput>;
|
|
775
|
-
};
|
|
776
|
-
export type PaymentScalarWhereInput = {
|
|
777
|
-
AND?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
778
|
-
OR?: Prisma.PaymentScalarWhereInput[];
|
|
779
|
-
NOT?: Prisma.PaymentScalarWhereInput | Prisma.PaymentScalarWhereInput[];
|
|
780
|
-
id?: Prisma.StringFilter<"Payment"> | string;
|
|
781
|
-
planId?: Prisma.StringFilter<"Payment"> | string;
|
|
782
|
-
scheduleId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
783
|
-
installmentId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
784
|
-
payerId?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
785
|
-
amount?: Prisma.FloatFilter<"Payment"> | number;
|
|
786
|
-
principalAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
787
|
-
interestAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
788
|
-
lateFeeAmount?: Prisma.FloatFilter<"Payment"> | number;
|
|
789
|
-
paymentMethod?: Prisma.StringFilter<"Payment"> | string;
|
|
790
|
-
status?: Prisma.StringFilter<"Payment"> | string;
|
|
791
|
-
reference?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
792
|
-
gatewayResponse?: Prisma.StringNullableFilter<"Payment"> | string | null;
|
|
793
|
-
processedAt?: Prisma.DateTimeNullableFilter<"Payment"> | Date | string | null;
|
|
794
|
-
createdAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
795
|
-
updatedAt?: Prisma.DateTimeFilter<"Payment"> | Date | string;
|
|
796
|
-
};
|
|
797
|
-
export type PaymentCreateWithoutPlanInput = {
|
|
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
|
-
schedule?: Prisma.PaymentScheduleCreateNestedOneWithoutPaymentsInput;
|
|
811
|
-
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
812
|
-
payer?: Prisma.UserCreateNestedOneWithoutPaymentsInput;
|
|
813
|
-
};
|
|
814
|
-
export type PaymentUncheckedCreateWithoutPlanInput = {
|
|
815
|
-
id?: string;
|
|
816
|
-
scheduleId?: 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 PaymentCreateOrConnectWithoutPlanInput = {
|
|
832
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
833
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput>;
|
|
834
|
-
};
|
|
835
|
-
export type PaymentCreateManyPlanInputEnvelope = {
|
|
836
|
-
data: Prisma.PaymentCreateManyPlanInput | Prisma.PaymentCreateManyPlanInput[];
|
|
837
|
-
skipDuplicates?: boolean;
|
|
838
|
-
};
|
|
839
|
-
export type PaymentUpsertWithWhereUniqueWithoutPlanInput = {
|
|
840
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
841
|
-
update: Prisma.XOR<Prisma.PaymentUpdateWithoutPlanInput, Prisma.PaymentUncheckedUpdateWithoutPlanInput>;
|
|
842
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutPlanInput, Prisma.PaymentUncheckedCreateWithoutPlanInput>;
|
|
843
|
-
};
|
|
844
|
-
export type PaymentUpdateWithWhereUniqueWithoutPlanInput = {
|
|
845
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
846
|
-
data: Prisma.XOR<Prisma.PaymentUpdateWithoutPlanInput, Prisma.PaymentUncheckedUpdateWithoutPlanInput>;
|
|
847
|
-
};
|
|
848
|
-
export type PaymentUpdateManyWithWhereWithoutPlanInput = {
|
|
849
|
-
where: Prisma.PaymentScalarWhereInput;
|
|
850
|
-
data: Prisma.XOR<Prisma.PaymentUpdateManyMutationInput, Prisma.PaymentUncheckedUpdateManyWithoutPlanInput>;
|
|
851
|
-
};
|
|
852
|
-
export type PaymentCreateWithoutScheduleInput = {
|
|
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
|
-
plan: Prisma.PaymentPlanCreateNestedOneWithoutPaymentsInput;
|
|
866
|
-
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
867
|
-
payer?: Prisma.UserCreateNestedOneWithoutPaymentsInput;
|
|
868
|
-
};
|
|
869
|
-
export type PaymentUncheckedCreateWithoutScheduleInput = {
|
|
870
|
-
id?: string;
|
|
871
|
-
planId: 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 PaymentCreateOrConnectWithoutScheduleInput = {
|
|
887
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
888
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput>;
|
|
889
|
-
};
|
|
890
|
-
export type PaymentCreateManyScheduleInputEnvelope = {
|
|
891
|
-
data: Prisma.PaymentCreateManyScheduleInput | Prisma.PaymentCreateManyScheduleInput[];
|
|
892
|
-
skipDuplicates?: boolean;
|
|
893
|
-
};
|
|
894
|
-
export type PaymentUpsertWithWhereUniqueWithoutScheduleInput = {
|
|
895
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
896
|
-
update: Prisma.XOR<Prisma.PaymentUpdateWithoutScheduleInput, Prisma.PaymentUncheckedUpdateWithoutScheduleInput>;
|
|
897
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutScheduleInput, Prisma.PaymentUncheckedCreateWithoutScheduleInput>;
|
|
898
|
-
};
|
|
899
|
-
export type PaymentUpdateWithWhereUniqueWithoutScheduleInput = {
|
|
900
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
901
|
-
data: Prisma.XOR<Prisma.PaymentUpdateWithoutScheduleInput, Prisma.PaymentUncheckedUpdateWithoutScheduleInput>;
|
|
902
|
-
};
|
|
903
|
-
export type PaymentUpdateManyWithWhereWithoutScheduleInput = {
|
|
904
|
-
where: Prisma.PaymentScalarWhereInput;
|
|
905
|
-
data: Prisma.XOR<Prisma.PaymentUpdateManyMutationInput, Prisma.PaymentUncheckedUpdateManyWithoutScheduleInput>;
|
|
906
|
-
};
|
|
907
|
-
export type PaymentCreateWithoutInstallmentInput = {
|
|
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
|
-
plan: Prisma.PaymentPlanCreateNestedOneWithoutPaymentsInput;
|
|
921
|
-
schedule?: Prisma.PaymentScheduleCreateNestedOneWithoutPaymentsInput;
|
|
922
|
-
payer?: Prisma.UserCreateNestedOneWithoutPaymentsInput;
|
|
923
|
-
};
|
|
924
|
-
export type PaymentUncheckedCreateWithoutInstallmentInput = {
|
|
925
|
-
id?: string;
|
|
926
|
-
planId: string;
|
|
927
|
-
scheduleId?: 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 PaymentCreateOrConnectWithoutInstallmentInput = {
|
|
942
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
943
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput>;
|
|
944
|
-
};
|
|
945
|
-
export type PaymentCreateManyInstallmentInputEnvelope = {
|
|
946
|
-
data: Prisma.PaymentCreateManyInstallmentInput | Prisma.PaymentCreateManyInstallmentInput[];
|
|
947
|
-
skipDuplicates?: boolean;
|
|
948
|
-
};
|
|
949
|
-
export type PaymentUpsertWithWhereUniqueWithoutInstallmentInput = {
|
|
950
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
951
|
-
update: Prisma.XOR<Prisma.PaymentUpdateWithoutInstallmentInput, Prisma.PaymentUncheckedUpdateWithoutInstallmentInput>;
|
|
952
|
-
create: Prisma.XOR<Prisma.PaymentCreateWithoutInstallmentInput, Prisma.PaymentUncheckedCreateWithoutInstallmentInput>;
|
|
953
|
-
};
|
|
954
|
-
export type PaymentUpdateWithWhereUniqueWithoutInstallmentInput = {
|
|
955
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
956
|
-
data: Prisma.XOR<Prisma.PaymentUpdateWithoutInstallmentInput, Prisma.PaymentUncheckedUpdateWithoutInstallmentInput>;
|
|
957
|
-
};
|
|
958
|
-
export type PaymentUpdateManyWithWhereWithoutInstallmentInput = {
|
|
959
|
-
where: Prisma.PaymentScalarWhereInput;
|
|
960
|
-
data: Prisma.XOR<Prisma.PaymentUpdateManyMutationInput, Prisma.PaymentUncheckedUpdateManyWithoutInstallmentInput>;
|
|
961
|
-
};
|
|
962
|
-
export type PaymentCreateManyPayerInput = {
|
|
963
|
-
id?: string;
|
|
964
|
-
planId: string;
|
|
965
|
-
scheduleId?: 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 PaymentUpdateWithoutPayerInput = {
|
|
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
|
-
plan?: Prisma.PaymentPlanUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
993
|
-
schedule?: Prisma.PaymentScheduleUpdateOneWithoutPaymentsNestedInput;
|
|
994
|
-
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
995
|
-
};
|
|
996
|
-
export type PaymentUncheckedUpdateWithoutPayerInput = {
|
|
997
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
998
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
999
|
-
scheduleId?: 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 PaymentUncheckedUpdateManyWithoutPayerInput = {
|
|
1014
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1016
|
-
scheduleId?: 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 PaymentCreateManyPlanInput = {
|
|
1031
|
-
id?: string;
|
|
1032
|
-
scheduleId?: 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 PaymentUpdateWithoutPlanInput = {
|
|
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
|
-
schedule?: Prisma.PaymentScheduleUpdateOneWithoutPaymentsNestedInput;
|
|
1061
|
-
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1062
|
-
payer?: Prisma.UserUpdateOneWithoutPaymentsNestedInput;
|
|
1063
|
-
};
|
|
1064
|
-
export type PaymentUncheckedUpdateWithoutPlanInput = {
|
|
1065
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1066
|
-
scheduleId?: 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 PaymentUncheckedUpdateManyWithoutPlanInput = {
|
|
1082
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1083
|
-
scheduleId?: 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 PaymentCreateManyScheduleInput = {
|
|
1099
|
-
id?: string;
|
|
1100
|
-
planId: 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 PaymentUpdateWithoutScheduleInput = {
|
|
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
|
-
plan?: Prisma.PaymentPlanUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1129
|
-
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1130
|
-
payer?: Prisma.UserUpdateOneWithoutPaymentsNestedInput;
|
|
1131
|
-
};
|
|
1132
|
-
export type PaymentUncheckedUpdateWithoutScheduleInput = {
|
|
1133
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1134
|
-
planId?: 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 PaymentUncheckedUpdateManyWithoutScheduleInput = {
|
|
1150
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1151
|
-
planId?: 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 PaymentCreateManyInstallmentInput = {
|
|
1167
|
-
id?: string;
|
|
1168
|
-
planId: string;
|
|
1169
|
-
scheduleId?: 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 PaymentUpdateWithoutInstallmentInput = {
|
|
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
|
-
plan?: Prisma.PaymentPlanUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1197
|
-
schedule?: Prisma.PaymentScheduleUpdateOneWithoutPaymentsNestedInput;
|
|
1198
|
-
payer?: Prisma.UserUpdateOneWithoutPaymentsNestedInput;
|
|
1199
|
-
};
|
|
1200
|
-
export type PaymentUncheckedUpdateWithoutInstallmentInput = {
|
|
1201
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1202
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1203
|
-
scheduleId?: 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 PaymentUncheckedUpdateManyWithoutInstallmentInput = {
|
|
1218
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1219
|
-
planId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1220
|
-
scheduleId?: 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 PaymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1235
|
-
id?: boolean;
|
|
1236
|
-
planId?: boolean;
|
|
1237
|
-
scheduleId?: 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
|
-
plan?: boolean | Prisma.PaymentPlanDefaultArgs<ExtArgs>;
|
|
1252
|
-
schedule?: boolean | Prisma.Payment$scheduleArgs<ExtArgs>;
|
|
1253
|
-
installment?: boolean | Prisma.Payment$installmentArgs<ExtArgs>;
|
|
1254
|
-
payer?: boolean | Prisma.Payment$payerArgs<ExtArgs>;
|
|
1255
|
-
}, ExtArgs["result"]["payment"]>;
|
|
1256
|
-
export type PaymentSelectScalar = {
|
|
1257
|
-
id?: boolean;
|
|
1258
|
-
planId?: boolean;
|
|
1259
|
-
scheduleId?: 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 PaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "planId" | "scheduleId" | "installmentId" | "payerId" | "amount" | "principalAmount" | "interestAmount" | "lateFeeAmount" | "paymentMethod" | "status" | "reference" | "gatewayResponse" | "processedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["payment"]>;
|
|
1275
|
-
export type PaymentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1276
|
-
plan?: boolean | Prisma.PaymentPlanDefaultArgs<ExtArgs>;
|
|
1277
|
-
schedule?: boolean | Prisma.Payment$scheduleArgs<ExtArgs>;
|
|
1278
|
-
installment?: boolean | Prisma.Payment$installmentArgs<ExtArgs>;
|
|
1279
|
-
payer?: boolean | Prisma.Payment$payerArgs<ExtArgs>;
|
|
1280
|
-
};
|
|
1281
|
-
export type $PaymentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
-
name: "Payment";
|
|
1283
|
-
objects: {
|
|
1284
|
-
plan: Prisma.$PaymentPlanPayload<ExtArgs>;
|
|
1285
|
-
schedule: Prisma.$PaymentSchedulePayload<ExtArgs> | null;
|
|
1286
|
-
installment: Prisma.$PaymentInstallmentPayload<ExtArgs> | null;
|
|
1287
|
-
payer: Prisma.$UserPayload<ExtArgs> | null;
|
|
1288
|
-
};
|
|
1289
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1290
|
-
id: string;
|
|
1291
|
-
planId: string;
|
|
1292
|
-
scheduleId: 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"]["payment"]>;
|
|
1307
|
-
composites: {};
|
|
1308
|
-
};
|
|
1309
|
-
export type PaymentGetPayload<S extends boolean | null | undefined | PaymentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PaymentPayload, S>;
|
|
1310
|
-
export type PaymentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PaymentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1311
|
-
select?: PaymentCountAggregateInputType | true;
|
|
1312
|
-
};
|
|
1313
|
-
export interface PaymentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1314
|
-
[K: symbol]: {
|
|
1315
|
-
types: Prisma.TypeMap<ExtArgs>['model']['Payment'];
|
|
1316
|
-
meta: {
|
|
1317
|
-
name: 'Payment';
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
/**
|
|
1321
|
-
* Find zero or one Payment that matches the filter.
|
|
1322
|
-
* @param {PaymentFindUniqueArgs} args - Arguments to find a Payment
|
|
1323
|
-
* @example
|
|
1324
|
-
* // Get one Payment
|
|
1325
|
-
* const payment = await prisma.payment.findUnique({
|
|
1326
|
-
* where: {
|
|
1327
|
-
* // ... provide filter here
|
|
1328
|
-
* }
|
|
1329
|
-
* })
|
|
1330
|
-
*/
|
|
1331
|
-
findUnique<T extends PaymentFindUniqueArgs>(args: Prisma.SelectSubset<T, PaymentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1332
|
-
/**
|
|
1333
|
-
* Find one Payment that matches the filter or throw an error with `error.code='P2025'`
|
|
1334
|
-
* if no matches were found.
|
|
1335
|
-
* @param {PaymentFindUniqueOrThrowArgs} args - Arguments to find a Payment
|
|
1336
|
-
* @example
|
|
1337
|
-
* // Get one Payment
|
|
1338
|
-
* const payment = await prisma.payment.findUniqueOrThrow({
|
|
1339
|
-
* where: {
|
|
1340
|
-
* // ... provide filter here
|
|
1341
|
-
* }
|
|
1342
|
-
* })
|
|
1343
|
-
*/
|
|
1344
|
-
findUniqueOrThrow<T extends PaymentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PaymentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1345
|
-
/**
|
|
1346
|
-
* Find the first Payment 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 {PaymentFindFirstArgs} args - Arguments to find a Payment
|
|
1350
|
-
* @example
|
|
1351
|
-
* // Get one Payment
|
|
1352
|
-
* const payment = await prisma.payment.findFirst({
|
|
1353
|
-
* where: {
|
|
1354
|
-
* // ... provide filter here
|
|
1355
|
-
* }
|
|
1356
|
-
* })
|
|
1357
|
-
*/
|
|
1358
|
-
findFirst<T extends PaymentFindFirstArgs>(args?: Prisma.SelectSubset<T, PaymentFindFirstArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1359
|
-
/**
|
|
1360
|
-
* Find the first Payment 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 {PaymentFindFirstOrThrowArgs} args - Arguments to find a Payment
|
|
1365
|
-
* @example
|
|
1366
|
-
* // Get one Payment
|
|
1367
|
-
* const payment = await prisma.payment.findFirstOrThrow({
|
|
1368
|
-
* where: {
|
|
1369
|
-
* // ... provide filter here
|
|
1370
|
-
* }
|
|
1371
|
-
* })
|
|
1372
|
-
*/
|
|
1373
|
-
findFirstOrThrow<T extends PaymentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PaymentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1374
|
-
/**
|
|
1375
|
-
* Find zero or more Payments 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 {PaymentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1379
|
-
* @example
|
|
1380
|
-
* // Get all Payments
|
|
1381
|
-
* const payments = await prisma.payment.findMany()
|
|
1382
|
-
*
|
|
1383
|
-
* // Get first 10 Payments
|
|
1384
|
-
* const payments = await prisma.payment.findMany({ take: 10 })
|
|
1385
|
-
*
|
|
1386
|
-
* // Only select the `id`
|
|
1387
|
-
* const paymentWithIdOnly = await prisma.payment.findMany({ select: { id: true } })
|
|
1388
|
-
*
|
|
1389
|
-
*/
|
|
1390
|
-
findMany<T extends PaymentFindManyArgs>(args?: Prisma.SelectSubset<T, PaymentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1391
|
-
/**
|
|
1392
|
-
* Create a Payment.
|
|
1393
|
-
* @param {PaymentCreateArgs} args - Arguments to create a Payment.
|
|
1394
|
-
* @example
|
|
1395
|
-
* // Create one Payment
|
|
1396
|
-
* const Payment = await prisma.payment.create({
|
|
1397
|
-
* data: {
|
|
1398
|
-
* // ... data to create a Payment
|
|
1399
|
-
* }
|
|
1400
|
-
* })
|
|
1401
|
-
*
|
|
1402
|
-
*/
|
|
1403
|
-
create<T extends PaymentCreateArgs>(args: Prisma.SelectSubset<T, PaymentCreateArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1404
|
-
/**
|
|
1405
|
-
* Create many Payments.
|
|
1406
|
-
* @param {PaymentCreateManyArgs} args - Arguments to create many Payments.
|
|
1407
|
-
* @example
|
|
1408
|
-
* // Create many Payments
|
|
1409
|
-
* const payment = await prisma.payment.createMany({
|
|
1410
|
-
* data: [
|
|
1411
|
-
* // ... provide data here
|
|
1412
|
-
* ]
|
|
1413
|
-
* })
|
|
1414
|
-
*
|
|
1415
|
-
*/
|
|
1416
|
-
createMany<T extends PaymentCreateManyArgs>(args?: Prisma.SelectSubset<T, PaymentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1417
|
-
/**
|
|
1418
|
-
* Delete a Payment.
|
|
1419
|
-
* @param {PaymentDeleteArgs} args - Arguments to delete one Payment.
|
|
1420
|
-
* @example
|
|
1421
|
-
* // Delete one Payment
|
|
1422
|
-
* const Payment = await prisma.payment.delete({
|
|
1423
|
-
* where: {
|
|
1424
|
-
* // ... filter to delete one Payment
|
|
1425
|
-
* }
|
|
1426
|
-
* })
|
|
1427
|
-
*
|
|
1428
|
-
*/
|
|
1429
|
-
delete<T extends PaymentDeleteArgs>(args: Prisma.SelectSubset<T, PaymentDeleteArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1430
|
-
/**
|
|
1431
|
-
* Update one Payment.
|
|
1432
|
-
* @param {PaymentUpdateArgs} args - Arguments to update one Payment.
|
|
1433
|
-
* @example
|
|
1434
|
-
* // Update one Payment
|
|
1435
|
-
* const payment = await prisma.payment.update({
|
|
1436
|
-
* where: {
|
|
1437
|
-
* // ... provide filter here
|
|
1438
|
-
* },
|
|
1439
|
-
* data: {
|
|
1440
|
-
* // ... provide data here
|
|
1441
|
-
* }
|
|
1442
|
-
* })
|
|
1443
|
-
*
|
|
1444
|
-
*/
|
|
1445
|
-
update<T extends PaymentUpdateArgs>(args: Prisma.SelectSubset<T, PaymentUpdateArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1446
|
-
/**
|
|
1447
|
-
* Delete zero or more Payments.
|
|
1448
|
-
* @param {PaymentDeleteManyArgs} args - Arguments to filter Payments to delete.
|
|
1449
|
-
* @example
|
|
1450
|
-
* // Delete a few Payments
|
|
1451
|
-
* const { count } = await prisma.payment.deleteMany({
|
|
1452
|
-
* where: {
|
|
1453
|
-
* // ... provide filter here
|
|
1454
|
-
* }
|
|
1455
|
-
* })
|
|
1456
|
-
*
|
|
1457
|
-
*/
|
|
1458
|
-
deleteMany<T extends PaymentDeleteManyArgs>(args?: Prisma.SelectSubset<T, PaymentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1459
|
-
/**
|
|
1460
|
-
* Update zero or more Payments.
|
|
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 {PaymentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1464
|
-
* @example
|
|
1465
|
-
* // Update many Payments
|
|
1466
|
-
* const payment = await prisma.payment.updateMany({
|
|
1467
|
-
* where: {
|
|
1468
|
-
* // ... provide filter here
|
|
1469
|
-
* },
|
|
1470
|
-
* data: {
|
|
1471
|
-
* // ... provide data here
|
|
1472
|
-
* }
|
|
1473
|
-
* })
|
|
1474
|
-
*
|
|
1475
|
-
*/
|
|
1476
|
-
updateMany<T extends PaymentUpdateManyArgs>(args: Prisma.SelectSubset<T, PaymentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1477
|
-
/**
|
|
1478
|
-
* Create or update one Payment.
|
|
1479
|
-
* @param {PaymentUpsertArgs} args - Arguments to update or create a Payment.
|
|
1480
|
-
* @example
|
|
1481
|
-
* // Update or create a Payment
|
|
1482
|
-
* const payment = await prisma.payment.upsert({
|
|
1483
|
-
* create: {
|
|
1484
|
-
* // ... data to create a Payment
|
|
1485
|
-
* },
|
|
1486
|
-
* update: {
|
|
1487
|
-
* // ... in case it already exists, update
|
|
1488
|
-
* },
|
|
1489
|
-
* where: {
|
|
1490
|
-
* // ... the filter for the Payment we want to update
|
|
1491
|
-
* }
|
|
1492
|
-
* })
|
|
1493
|
-
*/
|
|
1494
|
-
upsert<T extends PaymentUpsertArgs>(args: Prisma.SelectSubset<T, PaymentUpsertArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1495
|
-
/**
|
|
1496
|
-
* Count the number of Payments.
|
|
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 {PaymentCountArgs} args - Arguments to filter Payments to count.
|
|
1500
|
-
* @example
|
|
1501
|
-
* // Count the number of Payments
|
|
1502
|
-
* const count = await prisma.payment.count({
|
|
1503
|
-
* where: {
|
|
1504
|
-
* // ... the filter for the Payments we want to count
|
|
1505
|
-
* }
|
|
1506
|
-
* })
|
|
1507
|
-
**/
|
|
1508
|
-
count<T extends PaymentCountArgs>(args?: Prisma.Subset<T, PaymentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PaymentCountAggregateOutputType> : number>;
|
|
1509
|
-
/**
|
|
1510
|
-
* Allows you to perform aggregations operations on a Payment.
|
|
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 {PaymentAggregateArgs} 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 PaymentAggregateArgs>(args: Prisma.Subset<T, PaymentAggregateArgs>): Prisma.PrismaPromise<GetPaymentAggregateType<T>>;
|
|
1534
|
-
/**
|
|
1535
|
-
* Group by Payment.
|
|
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 {PaymentGroupByArgs} 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 PaymentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1553
|
-
orderBy: PaymentGroupByArgs['orderBy'];
|
|
1554
|
-
} : {
|
|
1555
|
-
orderBy?: PaymentGroupByArgs['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, PaymentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPaymentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1570
|
-
/**
|
|
1571
|
-
* Fields of the Payment model
|
|
1572
|
-
*/
|
|
1573
|
-
readonly fields: PaymentFieldRefs;
|
|
1574
|
-
}
|
|
1575
|
-
/**
|
|
1576
|
-
* The delegate class that acts as a "Promise-like" for Payment.
|
|
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__PaymentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1582
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1583
|
-
plan<T extends Prisma.PaymentPlanDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlanDefaultArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1584
|
-
schedule<T extends Prisma.Payment$scheduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Payment$scheduleArgs<ExtArgs>>): Prisma.Prisma__PaymentScheduleClient<runtime.Types.Result.GetResult<Prisma.$PaymentSchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1585
|
-
installment<T extends Prisma.Payment$installmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Payment$installmentArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1586
|
-
payer<T extends Prisma.Payment$payerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Payment$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 Payment model
|
|
1610
|
-
*/
|
|
1611
|
-
export interface PaymentFieldRefs {
|
|
1612
|
-
readonly id: Prisma.FieldRef<"Payment", 'String'>;
|
|
1613
|
-
readonly planId: Prisma.FieldRef<"Payment", 'String'>;
|
|
1614
|
-
readonly scheduleId: Prisma.FieldRef<"Payment", 'String'>;
|
|
1615
|
-
readonly installmentId: Prisma.FieldRef<"Payment", 'String'>;
|
|
1616
|
-
readonly payerId: Prisma.FieldRef<"Payment", 'String'>;
|
|
1617
|
-
readonly amount: Prisma.FieldRef<"Payment", 'Float'>;
|
|
1618
|
-
readonly principalAmount: Prisma.FieldRef<"Payment", 'Float'>;
|
|
1619
|
-
readonly interestAmount: Prisma.FieldRef<"Payment", 'Float'>;
|
|
1620
|
-
readonly lateFeeAmount: Prisma.FieldRef<"Payment", 'Float'>;
|
|
1621
|
-
readonly paymentMethod: Prisma.FieldRef<"Payment", 'String'>;
|
|
1622
|
-
readonly status: Prisma.FieldRef<"Payment", 'String'>;
|
|
1623
|
-
readonly reference: Prisma.FieldRef<"Payment", 'String'>;
|
|
1624
|
-
readonly gatewayResponse: Prisma.FieldRef<"Payment", 'String'>;
|
|
1625
|
-
readonly processedAt: Prisma.FieldRef<"Payment", 'DateTime'>;
|
|
1626
|
-
readonly createdAt: Prisma.FieldRef<"Payment", 'DateTime'>;
|
|
1627
|
-
readonly updatedAt: Prisma.FieldRef<"Payment", 'DateTime'>;
|
|
1628
|
-
}
|
|
1629
|
-
/**
|
|
1630
|
-
* Payment findUnique
|
|
1631
|
-
*/
|
|
1632
|
-
export type PaymentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1633
|
-
/**
|
|
1634
|
-
* Select specific fields to fetch from the Payment
|
|
1635
|
-
*/
|
|
1636
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1637
|
-
/**
|
|
1638
|
-
* Omit specific fields from the Payment
|
|
1639
|
-
*/
|
|
1640
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1641
|
-
/**
|
|
1642
|
-
* Choose, which related nodes to fetch as well
|
|
1643
|
-
*/
|
|
1644
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1645
|
-
/**
|
|
1646
|
-
* Filter, which Payment to fetch.
|
|
1647
|
-
*/
|
|
1648
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
1649
|
-
};
|
|
1650
|
-
/**
|
|
1651
|
-
* Payment findUniqueOrThrow
|
|
1652
|
-
*/
|
|
1653
|
-
export type PaymentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1654
|
-
/**
|
|
1655
|
-
* Select specific fields to fetch from the Payment
|
|
1656
|
-
*/
|
|
1657
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1658
|
-
/**
|
|
1659
|
-
* Omit specific fields from the Payment
|
|
1660
|
-
*/
|
|
1661
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1662
|
-
/**
|
|
1663
|
-
* Choose, which related nodes to fetch as well
|
|
1664
|
-
*/
|
|
1665
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1666
|
-
/**
|
|
1667
|
-
* Filter, which Payment to fetch.
|
|
1668
|
-
*/
|
|
1669
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
1670
|
-
};
|
|
1671
|
-
/**
|
|
1672
|
-
* Payment findFirst
|
|
1673
|
-
*/
|
|
1674
|
-
export type PaymentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1675
|
-
/**
|
|
1676
|
-
* Select specific fields to fetch from the Payment
|
|
1677
|
-
*/
|
|
1678
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1679
|
-
/**
|
|
1680
|
-
* Omit specific fields from the Payment
|
|
1681
|
-
*/
|
|
1682
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1683
|
-
/**
|
|
1684
|
-
* Choose, which related nodes to fetch as well
|
|
1685
|
-
*/
|
|
1686
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1687
|
-
/**
|
|
1688
|
-
* Filter, which Payment to fetch.
|
|
1689
|
-
*/
|
|
1690
|
-
where?: Prisma.PaymentWhereInput;
|
|
1691
|
-
/**
|
|
1692
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1693
|
-
*
|
|
1694
|
-
* Determine the order of Payments to fetch.
|
|
1695
|
-
*/
|
|
1696
|
-
orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
|
|
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 Payments.
|
|
1701
|
-
*/
|
|
1702
|
-
cursor?: Prisma.PaymentWhereUniqueInput;
|
|
1703
|
-
/**
|
|
1704
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1705
|
-
*
|
|
1706
|
-
* Take `±n` Payments 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` Payments.
|
|
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 Payments.
|
|
1719
|
-
*/
|
|
1720
|
-
distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
|
|
1721
|
-
};
|
|
1722
|
-
/**
|
|
1723
|
-
* Payment findFirstOrThrow
|
|
1724
|
-
*/
|
|
1725
|
-
export type PaymentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
-
/**
|
|
1727
|
-
* Select specific fields to fetch from the Payment
|
|
1728
|
-
*/
|
|
1729
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1730
|
-
/**
|
|
1731
|
-
* Omit specific fields from the Payment
|
|
1732
|
-
*/
|
|
1733
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1734
|
-
/**
|
|
1735
|
-
* Choose, which related nodes to fetch as well
|
|
1736
|
-
*/
|
|
1737
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1738
|
-
/**
|
|
1739
|
-
* Filter, which Payment to fetch.
|
|
1740
|
-
*/
|
|
1741
|
-
where?: Prisma.PaymentWhereInput;
|
|
1742
|
-
/**
|
|
1743
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1744
|
-
*
|
|
1745
|
-
* Determine the order of Payments to fetch.
|
|
1746
|
-
*/
|
|
1747
|
-
orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
|
|
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 Payments.
|
|
1752
|
-
*/
|
|
1753
|
-
cursor?: Prisma.PaymentWhereUniqueInput;
|
|
1754
|
-
/**
|
|
1755
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1756
|
-
*
|
|
1757
|
-
* Take `±n` Payments 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` Payments.
|
|
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 Payments.
|
|
1770
|
-
*/
|
|
1771
|
-
distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
|
|
1772
|
-
};
|
|
1773
|
-
/**
|
|
1774
|
-
* Payment findMany
|
|
1775
|
-
*/
|
|
1776
|
-
export type PaymentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1777
|
-
/**
|
|
1778
|
-
* Select specific fields to fetch from the Payment
|
|
1779
|
-
*/
|
|
1780
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1781
|
-
/**
|
|
1782
|
-
* Omit specific fields from the Payment
|
|
1783
|
-
*/
|
|
1784
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1785
|
-
/**
|
|
1786
|
-
* Choose, which related nodes to fetch as well
|
|
1787
|
-
*/
|
|
1788
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1789
|
-
/**
|
|
1790
|
-
* Filter, which Payments to fetch.
|
|
1791
|
-
*/
|
|
1792
|
-
where?: Prisma.PaymentWhereInput;
|
|
1793
|
-
/**
|
|
1794
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1795
|
-
*
|
|
1796
|
-
* Determine the order of Payments to fetch.
|
|
1797
|
-
*/
|
|
1798
|
-
orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
|
|
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 Payments.
|
|
1803
|
-
*/
|
|
1804
|
-
cursor?: Prisma.PaymentWhereUniqueInput;
|
|
1805
|
-
/**
|
|
1806
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1807
|
-
*
|
|
1808
|
-
* Take `±n` Payments 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` Payments.
|
|
1815
|
-
*/
|
|
1816
|
-
skip?: number;
|
|
1817
|
-
distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
|
|
1818
|
-
};
|
|
1819
|
-
/**
|
|
1820
|
-
* Payment create
|
|
1821
|
-
*/
|
|
1822
|
-
export type PaymentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1823
|
-
/**
|
|
1824
|
-
* Select specific fields to fetch from the Payment
|
|
1825
|
-
*/
|
|
1826
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1827
|
-
/**
|
|
1828
|
-
* Omit specific fields from the Payment
|
|
1829
|
-
*/
|
|
1830
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1831
|
-
/**
|
|
1832
|
-
* Choose, which related nodes to fetch as well
|
|
1833
|
-
*/
|
|
1834
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1835
|
-
/**
|
|
1836
|
-
* The data needed to create a Payment.
|
|
1837
|
-
*/
|
|
1838
|
-
data: Prisma.XOR<Prisma.PaymentCreateInput, Prisma.PaymentUncheckedCreateInput>;
|
|
1839
|
-
};
|
|
1840
|
-
/**
|
|
1841
|
-
* Payment createMany
|
|
1842
|
-
*/
|
|
1843
|
-
export type PaymentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1844
|
-
/**
|
|
1845
|
-
* The data used to create many Payments.
|
|
1846
|
-
*/
|
|
1847
|
-
data: Prisma.PaymentCreateManyInput | Prisma.PaymentCreateManyInput[];
|
|
1848
|
-
skipDuplicates?: boolean;
|
|
1849
|
-
};
|
|
1850
|
-
/**
|
|
1851
|
-
* Payment update
|
|
1852
|
-
*/
|
|
1853
|
-
export type PaymentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1854
|
-
/**
|
|
1855
|
-
* Select specific fields to fetch from the Payment
|
|
1856
|
-
*/
|
|
1857
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1858
|
-
/**
|
|
1859
|
-
* Omit specific fields from the Payment
|
|
1860
|
-
*/
|
|
1861
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1862
|
-
/**
|
|
1863
|
-
* Choose, which related nodes to fetch as well
|
|
1864
|
-
*/
|
|
1865
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1866
|
-
/**
|
|
1867
|
-
* The data needed to update a Payment.
|
|
1868
|
-
*/
|
|
1869
|
-
data: Prisma.XOR<Prisma.PaymentUpdateInput, Prisma.PaymentUncheckedUpdateInput>;
|
|
1870
|
-
/**
|
|
1871
|
-
* Choose, which Payment to update.
|
|
1872
|
-
*/
|
|
1873
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
1874
|
-
};
|
|
1875
|
-
/**
|
|
1876
|
-
* Payment updateMany
|
|
1877
|
-
*/
|
|
1878
|
-
export type PaymentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
-
/**
|
|
1880
|
-
* The data used to update Payments.
|
|
1881
|
-
*/
|
|
1882
|
-
data: Prisma.XOR<Prisma.PaymentUpdateManyMutationInput, Prisma.PaymentUncheckedUpdateManyInput>;
|
|
1883
|
-
/**
|
|
1884
|
-
* Filter which Payments to update
|
|
1885
|
-
*/
|
|
1886
|
-
where?: Prisma.PaymentWhereInput;
|
|
1887
|
-
/**
|
|
1888
|
-
* Limit how many Payments to update.
|
|
1889
|
-
*/
|
|
1890
|
-
limit?: number;
|
|
1891
|
-
};
|
|
1892
|
-
/**
|
|
1893
|
-
* Payment upsert
|
|
1894
|
-
*/
|
|
1895
|
-
export type PaymentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1896
|
-
/**
|
|
1897
|
-
* Select specific fields to fetch from the Payment
|
|
1898
|
-
*/
|
|
1899
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1900
|
-
/**
|
|
1901
|
-
* Omit specific fields from the Payment
|
|
1902
|
-
*/
|
|
1903
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1904
|
-
/**
|
|
1905
|
-
* Choose, which related nodes to fetch as well
|
|
1906
|
-
*/
|
|
1907
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1908
|
-
/**
|
|
1909
|
-
* The filter to search for the Payment to update in case it exists.
|
|
1910
|
-
*/
|
|
1911
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
1912
|
-
/**
|
|
1913
|
-
* In case the Payment found by the `where` argument doesn't exist, create a new Payment with this data.
|
|
1914
|
-
*/
|
|
1915
|
-
create: Prisma.XOR<Prisma.PaymentCreateInput, Prisma.PaymentUncheckedCreateInput>;
|
|
1916
|
-
/**
|
|
1917
|
-
* In case the Payment was found with the provided `where` argument, update it with this data.
|
|
1918
|
-
*/
|
|
1919
|
-
update: Prisma.XOR<Prisma.PaymentUpdateInput, Prisma.PaymentUncheckedUpdateInput>;
|
|
1920
|
-
};
|
|
1921
|
-
/**
|
|
1922
|
-
* Payment delete
|
|
1923
|
-
*/
|
|
1924
|
-
export type PaymentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1925
|
-
/**
|
|
1926
|
-
* Select specific fields to fetch from the Payment
|
|
1927
|
-
*/
|
|
1928
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
1929
|
-
/**
|
|
1930
|
-
* Omit specific fields from the Payment
|
|
1931
|
-
*/
|
|
1932
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
1933
|
-
/**
|
|
1934
|
-
* Choose, which related nodes to fetch as well
|
|
1935
|
-
*/
|
|
1936
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
1937
|
-
/**
|
|
1938
|
-
* Filter which Payment to delete.
|
|
1939
|
-
*/
|
|
1940
|
-
where: Prisma.PaymentWhereUniqueInput;
|
|
1941
|
-
};
|
|
1942
|
-
/**
|
|
1943
|
-
* Payment deleteMany
|
|
1944
|
-
*/
|
|
1945
|
-
export type PaymentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1946
|
-
/**
|
|
1947
|
-
* Filter which Payments to delete
|
|
1948
|
-
*/
|
|
1949
|
-
where?: Prisma.PaymentWhereInput;
|
|
1950
|
-
/**
|
|
1951
|
-
* Limit how many Payments to delete.
|
|
1952
|
-
*/
|
|
1953
|
-
limit?: number;
|
|
1954
|
-
};
|
|
1955
|
-
/**
|
|
1956
|
-
* Payment.schedule
|
|
1957
|
-
*/
|
|
1958
|
-
export type Payment$scheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1959
|
-
/**
|
|
1960
|
-
* Select specific fields to fetch from the PaymentSchedule
|
|
1961
|
-
*/
|
|
1962
|
-
select?: Prisma.PaymentScheduleSelect<ExtArgs> | null;
|
|
1963
|
-
/**
|
|
1964
|
-
* Omit specific fields from the PaymentSchedule
|
|
1965
|
-
*/
|
|
1966
|
-
omit?: Prisma.PaymentScheduleOmit<ExtArgs> | null;
|
|
1967
|
-
/**
|
|
1968
|
-
* Choose, which related nodes to fetch as well
|
|
1969
|
-
*/
|
|
1970
|
-
include?: Prisma.PaymentScheduleInclude<ExtArgs> | null;
|
|
1971
|
-
where?: Prisma.PaymentScheduleWhereInput;
|
|
1972
|
-
};
|
|
1973
|
-
/**
|
|
1974
|
-
* Payment.installment
|
|
1975
|
-
*/
|
|
1976
|
-
export type Payment$installmentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1977
|
-
/**
|
|
1978
|
-
* Select specific fields to fetch from the PaymentInstallment
|
|
1979
|
-
*/
|
|
1980
|
-
select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
|
|
1981
|
-
/**
|
|
1982
|
-
* Omit specific fields from the PaymentInstallment
|
|
1983
|
-
*/
|
|
1984
|
-
omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
|
|
1985
|
-
/**
|
|
1986
|
-
* Choose, which related nodes to fetch as well
|
|
1987
|
-
*/
|
|
1988
|
-
include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
|
|
1989
|
-
where?: Prisma.PaymentInstallmentWhereInput;
|
|
1990
|
-
};
|
|
1991
|
-
/**
|
|
1992
|
-
* Payment.payer
|
|
1993
|
-
*/
|
|
1994
|
-
export type Payment$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
|
-
* Payment without action
|
|
2011
|
-
*/
|
|
2012
|
-
export type PaymentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
-
/**
|
|
2014
|
-
* Select specific fields to fetch from the Payment
|
|
2015
|
-
*/
|
|
2016
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
2017
|
-
/**
|
|
2018
|
-
* Omit specific fields from the Payment
|
|
2019
|
-
*/
|
|
2020
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
2021
|
-
/**
|
|
2022
|
-
* Choose, which related nodes to fetch as well
|
|
2023
|
-
*/
|
|
2024
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
2025
|
-
};
|
|
2026
|
-
export {};
|