@valentine-efagene/qshelter-common 2.0.51 → 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.
Files changed (118) hide show
  1. package/dist/src/middleware/tenant.js +3 -3
  2. package/package.json +1 -1
  3. package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
  4. package/dist/generated/client/models/ContractPhaseStep.js +0 -1
  5. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
  6. package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
  7. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
  8. package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
  9. package/dist/generated/client/models/Mortgage.d.ts +0 -2777
  10. package/dist/generated/client/models/Mortgage.js +0 -1
  11. package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
  12. package/dist/generated/client/models/MortgageDocument.js +0 -1
  13. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  14. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  15. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  16. package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  17. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  18. package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  19. package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
  20. package/dist/generated/client/models/MortgageStep.js +0 -1
  21. package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
  22. package/dist/generated/client/models/MortgageTransition.js +0 -1
  23. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  24. package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
  25. package/dist/generated/client/models/MortgageType.d.ts +0 -1052
  26. package/dist/generated/client/models/MortgageType.js +0 -1
  27. package/dist/generated/client/models/Payment.d.ts +0 -2026
  28. package/dist/generated/client/models/Payment.js +0 -1
  29. package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
  30. package/dist/generated/client/models/PaymentInstallment.js +0 -1
  31. package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
  32. package/dist/generated/client/models/PaymentSchedule.js +0 -1
  33. package/dist/index.d.ts +0 -6
  34. package/dist/index.js +0 -6
  35. package/dist/src/generated/client/client.d.ts +0 -201
  36. package/dist/src/generated/client/client.js +0 -32
  37. package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
  38. package/dist/src/generated/client/commonInputTypes.js +0 -10
  39. package/dist/src/generated/client/enums.d.ts +0 -1
  40. package/dist/src/generated/client/enums.js +0 -10
  41. package/dist/src/generated/client/internal/class.d.ts +0 -511
  42. package/dist/src/generated/client/internal/class.js +0 -40
  43. package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
  44. package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
  45. package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
  46. package/dist/src/generated/client/models/Amenity.js +0 -1
  47. package/dist/src/generated/client/models/Contract.d.ts +0 -2099
  48. package/dist/src/generated/client/models/Contract.js +0 -1
  49. package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
  50. package/dist/src/generated/client/models/ContractDocument.js +0 -1
  51. package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
  52. package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
  53. package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
  54. package/dist/src/generated/client/models/EmailPreference.js +0 -1
  55. package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
  56. package/dist/src/generated/client/models/Mortgage.js +0 -1
  57. package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
  58. package/dist/src/generated/client/models/MortgageDocument.js +0 -1
  59. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  60. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  61. package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  62. package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  63. package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  64. package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  65. package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
  66. package/dist/src/generated/client/models/MortgageStep.js +0 -1
  67. package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
  68. package/dist/src/generated/client/models/MortgageTransition.js +0 -1
  69. package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  70. package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
  71. package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
  72. package/dist/src/generated/client/models/MortgageType.js +0 -1
  73. package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
  74. package/dist/src/generated/client/models/OAuthState.js +0 -1
  75. package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
  76. package/dist/src/generated/client/models/PasswordReset.js +0 -1
  77. package/dist/src/generated/client/models/Payment.d.ts +0 -2026
  78. package/dist/src/generated/client/models/Payment.js +0 -1
  79. package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
  80. package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
  81. package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
  82. package/dist/src/generated/client/models/PaymentPlan.js +0 -1
  83. package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
  84. package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
  85. package/dist/src/generated/client/models/Permission.d.ts +0 -1115
  86. package/dist/src/generated/client/models/Permission.js +0 -1
  87. package/dist/src/generated/client/models/Property.d.ts +0 -3254
  88. package/dist/src/generated/client/models/Property.js +0 -1
  89. package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
  90. package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
  91. package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
  92. package/dist/src/generated/client/models/PropertyDocument.js +0 -1
  93. package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
  94. package/dist/src/generated/client/models/PropertyMedia.js +0 -1
  95. package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
  96. package/dist/src/generated/client/models/RefreshToken.js +0 -1
  97. package/dist/src/generated/client/models/Role.d.ts +0 -1153
  98. package/dist/src/generated/client/models/Role.js +0 -1
  99. package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
  100. package/dist/src/generated/client/models/RolePermission.js +0 -1
  101. package/dist/src/generated/client/models/Settings.d.ts +0 -916
  102. package/dist/src/generated/client/models/Settings.js +0 -1
  103. package/dist/src/generated/client/models/Social.d.ts +0 -1090
  104. package/dist/src/generated/client/models/Social.js +0 -1
  105. package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
  106. package/dist/src/generated/client/models/Tenant.js +0 -1
  107. package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
  108. package/dist/src/generated/client/models/Transaction.js +0 -1
  109. package/dist/src/generated/client/models/User.d.ts +0 -4239
  110. package/dist/src/generated/client/models/User.js +0 -1
  111. package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
  112. package/dist/src/generated/client/models/UserRole.js +0 -1
  113. package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
  114. package/dist/src/generated/client/models/UserSuspension.js +0 -1
  115. package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
  116. package/dist/src/generated/client/models/Wallet.js +0 -1
  117. package/dist/src/generated/client/models.d.ts +0 -37
  118. package/dist/src/generated/client/models.js +0 -1
@@ -1,1539 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model PaymentInstallment
5
- *
6
- */
7
- export type PaymentInstallmentModel = runtime.Types.Result.DefaultSelection<Prisma.$PaymentInstallmentPayload>;
8
- export type AggregatePaymentInstallment = {
9
- _count: PaymentInstallmentCountAggregateOutputType | null;
10
- _avg: PaymentInstallmentAvgAggregateOutputType | null;
11
- _sum: PaymentInstallmentSumAggregateOutputType | null;
12
- _min: PaymentInstallmentMinAggregateOutputType | null;
13
- _max: PaymentInstallmentMaxAggregateOutputType | null;
14
- };
15
- export type PaymentInstallmentAvgAggregateOutputType = {
16
- installmentNumber: number | null;
17
- amount: number | null;
18
- principalAmount: number | null;
19
- interestAmount: number | null;
20
- paidAmount: number | null;
21
- lateFee: number | null;
22
- };
23
- export type PaymentInstallmentSumAggregateOutputType = {
24
- installmentNumber: number | null;
25
- amount: number | null;
26
- principalAmount: number | null;
27
- interestAmount: number | null;
28
- paidAmount: number | null;
29
- lateFee: number | null;
30
- };
31
- export type PaymentInstallmentMinAggregateOutputType = {
32
- id: string | null;
33
- scheduleId: string | null;
34
- installmentNumber: number | null;
35
- amount: number | null;
36
- principalAmount: number | null;
37
- interestAmount: number | null;
38
- dueDate: Date | null;
39
- status: string | null;
40
- paidAmount: number | null;
41
- paidDate: Date | null;
42
- lateFee: number | null;
43
- createdAt: Date | null;
44
- updatedAt: Date | null;
45
- };
46
- export type PaymentInstallmentMaxAggregateOutputType = {
47
- id: string | null;
48
- scheduleId: string | null;
49
- installmentNumber: number | null;
50
- amount: number | null;
51
- principalAmount: number | null;
52
- interestAmount: number | null;
53
- dueDate: Date | null;
54
- status: string | null;
55
- paidAmount: number | null;
56
- paidDate: Date | null;
57
- lateFee: number | null;
58
- createdAt: Date | null;
59
- updatedAt: Date | null;
60
- };
61
- export type PaymentInstallmentCountAggregateOutputType = {
62
- id: number;
63
- scheduleId: number;
64
- installmentNumber: number;
65
- amount: number;
66
- principalAmount: number;
67
- interestAmount: number;
68
- dueDate: number;
69
- status: number;
70
- paidAmount: number;
71
- paidDate: number;
72
- lateFee: number;
73
- createdAt: number;
74
- updatedAt: number;
75
- _all: number;
76
- };
77
- export type PaymentInstallmentAvgAggregateInputType = {
78
- installmentNumber?: true;
79
- amount?: true;
80
- principalAmount?: true;
81
- interestAmount?: true;
82
- paidAmount?: true;
83
- lateFee?: true;
84
- };
85
- export type PaymentInstallmentSumAggregateInputType = {
86
- installmentNumber?: true;
87
- amount?: true;
88
- principalAmount?: true;
89
- interestAmount?: true;
90
- paidAmount?: true;
91
- lateFee?: true;
92
- };
93
- export type PaymentInstallmentMinAggregateInputType = {
94
- id?: true;
95
- scheduleId?: true;
96
- installmentNumber?: true;
97
- amount?: true;
98
- principalAmount?: true;
99
- interestAmount?: true;
100
- dueDate?: true;
101
- status?: true;
102
- paidAmount?: true;
103
- paidDate?: true;
104
- lateFee?: true;
105
- createdAt?: true;
106
- updatedAt?: true;
107
- };
108
- export type PaymentInstallmentMaxAggregateInputType = {
109
- id?: true;
110
- scheduleId?: true;
111
- installmentNumber?: true;
112
- amount?: true;
113
- principalAmount?: true;
114
- interestAmount?: true;
115
- dueDate?: true;
116
- status?: true;
117
- paidAmount?: true;
118
- paidDate?: true;
119
- lateFee?: true;
120
- createdAt?: true;
121
- updatedAt?: true;
122
- };
123
- export type PaymentInstallmentCountAggregateInputType = {
124
- id?: true;
125
- scheduleId?: true;
126
- installmentNumber?: true;
127
- amount?: true;
128
- principalAmount?: true;
129
- interestAmount?: true;
130
- dueDate?: true;
131
- status?: true;
132
- paidAmount?: true;
133
- paidDate?: true;
134
- lateFee?: true;
135
- createdAt?: true;
136
- updatedAt?: true;
137
- _all?: true;
138
- };
139
- export type PaymentInstallmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
140
- /**
141
- * Filter which PaymentInstallment to aggregate.
142
- */
143
- where?: Prisma.PaymentInstallmentWhereInput;
144
- /**
145
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
146
- *
147
- * Determine the order of PaymentInstallments to fetch.
148
- */
149
- orderBy?: Prisma.PaymentInstallmentOrderByWithRelationInput | Prisma.PaymentInstallmentOrderByWithRelationInput[];
150
- /**
151
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
152
- *
153
- * Sets the start position
154
- */
155
- cursor?: Prisma.PaymentInstallmentWhereUniqueInput;
156
- /**
157
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
158
- *
159
- * Take `±n` PaymentInstallments from the position of the cursor.
160
- */
161
- take?: number;
162
- /**
163
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
164
- *
165
- * Skip the first `n` PaymentInstallments.
166
- */
167
- skip?: number;
168
- /**
169
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
170
- *
171
- * Count returned PaymentInstallments
172
- **/
173
- _count?: true | PaymentInstallmentCountAggregateInputType;
174
- /**
175
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
176
- *
177
- * Select which fields to average
178
- **/
179
- _avg?: PaymentInstallmentAvgAggregateInputType;
180
- /**
181
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
182
- *
183
- * Select which fields to sum
184
- **/
185
- _sum?: PaymentInstallmentSumAggregateInputType;
186
- /**
187
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
188
- *
189
- * Select which fields to find the minimum value
190
- **/
191
- _min?: PaymentInstallmentMinAggregateInputType;
192
- /**
193
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
194
- *
195
- * Select which fields to find the maximum value
196
- **/
197
- _max?: PaymentInstallmentMaxAggregateInputType;
198
- };
199
- export type GetPaymentInstallmentAggregateType<T extends PaymentInstallmentAggregateArgs> = {
200
- [P in keyof T & keyof AggregatePaymentInstallment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePaymentInstallment[P]> : Prisma.GetScalarType<T[P], AggregatePaymentInstallment[P]>;
201
- };
202
- export type PaymentInstallmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
203
- where?: Prisma.PaymentInstallmentWhereInput;
204
- orderBy?: Prisma.PaymentInstallmentOrderByWithAggregationInput | Prisma.PaymentInstallmentOrderByWithAggregationInput[];
205
- by: Prisma.PaymentInstallmentScalarFieldEnum[] | Prisma.PaymentInstallmentScalarFieldEnum;
206
- having?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput;
207
- take?: number;
208
- skip?: number;
209
- _count?: PaymentInstallmentCountAggregateInputType | true;
210
- _avg?: PaymentInstallmentAvgAggregateInputType;
211
- _sum?: PaymentInstallmentSumAggregateInputType;
212
- _min?: PaymentInstallmentMinAggregateInputType;
213
- _max?: PaymentInstallmentMaxAggregateInputType;
214
- };
215
- export type PaymentInstallmentGroupByOutputType = {
216
- id: string;
217
- scheduleId: string;
218
- installmentNumber: number;
219
- amount: number;
220
- principalAmount: number;
221
- interestAmount: number;
222
- dueDate: Date;
223
- status: string;
224
- paidAmount: number;
225
- paidDate: Date | null;
226
- lateFee: number;
227
- createdAt: Date;
228
- updatedAt: Date;
229
- _count: PaymentInstallmentCountAggregateOutputType | null;
230
- _avg: PaymentInstallmentAvgAggregateOutputType | null;
231
- _sum: PaymentInstallmentSumAggregateOutputType | null;
232
- _min: PaymentInstallmentMinAggregateOutputType | null;
233
- _max: PaymentInstallmentMaxAggregateOutputType | null;
234
- };
235
- type GetPaymentInstallmentGroupByPayload<T extends PaymentInstallmentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PaymentInstallmentGroupByOutputType, T['by']> & {
236
- [P in ((keyof T) & (keyof PaymentInstallmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PaymentInstallmentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PaymentInstallmentGroupByOutputType[P]>;
237
- }>>;
238
- export type PaymentInstallmentWhereInput = {
239
- AND?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
240
- OR?: Prisma.PaymentInstallmentWhereInput[];
241
- NOT?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
242
- id?: Prisma.StringFilter<"PaymentInstallment"> | string;
243
- scheduleId?: Prisma.StringFilter<"PaymentInstallment"> | string;
244
- installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
245
- amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
246
- principalAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
247
- interestAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
248
- dueDate?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
249
- status?: Prisma.StringFilter<"PaymentInstallment"> | string;
250
- paidAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
251
- paidDate?: Prisma.DateTimeNullableFilter<"PaymentInstallment"> | Date | string | null;
252
- lateFee?: Prisma.FloatFilter<"PaymentInstallment"> | number;
253
- createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
254
- updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
255
- schedule?: Prisma.XOR<Prisma.PaymentScheduleScalarRelationFilter, Prisma.PaymentScheduleWhereInput>;
256
- payments?: Prisma.PaymentListRelationFilter;
257
- };
258
- export type PaymentInstallmentOrderByWithRelationInput = {
259
- id?: Prisma.SortOrder;
260
- scheduleId?: Prisma.SortOrder;
261
- installmentNumber?: Prisma.SortOrder;
262
- amount?: Prisma.SortOrder;
263
- principalAmount?: Prisma.SortOrder;
264
- interestAmount?: Prisma.SortOrder;
265
- dueDate?: Prisma.SortOrder;
266
- status?: Prisma.SortOrder;
267
- paidAmount?: Prisma.SortOrder;
268
- paidDate?: Prisma.SortOrderInput | Prisma.SortOrder;
269
- lateFee?: Prisma.SortOrder;
270
- createdAt?: Prisma.SortOrder;
271
- updatedAt?: Prisma.SortOrder;
272
- schedule?: Prisma.PaymentScheduleOrderByWithRelationInput;
273
- payments?: Prisma.PaymentOrderByRelationAggregateInput;
274
- _relevance?: Prisma.PaymentInstallmentOrderByRelevanceInput;
275
- };
276
- export type PaymentInstallmentWhereUniqueInput = Prisma.AtLeast<{
277
- id?: string;
278
- AND?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
279
- OR?: Prisma.PaymentInstallmentWhereInput[];
280
- NOT?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
281
- scheduleId?: Prisma.StringFilter<"PaymentInstallment"> | string;
282
- installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
283
- amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
284
- principalAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
285
- interestAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
286
- dueDate?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
287
- status?: Prisma.StringFilter<"PaymentInstallment"> | string;
288
- paidAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
289
- paidDate?: Prisma.DateTimeNullableFilter<"PaymentInstallment"> | Date | string | null;
290
- lateFee?: Prisma.FloatFilter<"PaymentInstallment"> | number;
291
- createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
292
- updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
293
- schedule?: Prisma.XOR<Prisma.PaymentScheduleScalarRelationFilter, Prisma.PaymentScheduleWhereInput>;
294
- payments?: Prisma.PaymentListRelationFilter;
295
- }, "id">;
296
- export type PaymentInstallmentOrderByWithAggregationInput = {
297
- id?: Prisma.SortOrder;
298
- scheduleId?: Prisma.SortOrder;
299
- installmentNumber?: Prisma.SortOrder;
300
- amount?: Prisma.SortOrder;
301
- principalAmount?: Prisma.SortOrder;
302
- interestAmount?: Prisma.SortOrder;
303
- dueDate?: Prisma.SortOrder;
304
- status?: Prisma.SortOrder;
305
- paidAmount?: Prisma.SortOrder;
306
- paidDate?: Prisma.SortOrderInput | Prisma.SortOrder;
307
- lateFee?: Prisma.SortOrder;
308
- createdAt?: Prisma.SortOrder;
309
- updatedAt?: Prisma.SortOrder;
310
- _count?: Prisma.PaymentInstallmentCountOrderByAggregateInput;
311
- _avg?: Prisma.PaymentInstallmentAvgOrderByAggregateInput;
312
- _max?: Prisma.PaymentInstallmentMaxOrderByAggregateInput;
313
- _min?: Prisma.PaymentInstallmentMinOrderByAggregateInput;
314
- _sum?: Prisma.PaymentInstallmentSumOrderByAggregateInput;
315
- };
316
- export type PaymentInstallmentScalarWhereWithAggregatesInput = {
317
- AND?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput | Prisma.PaymentInstallmentScalarWhereWithAggregatesInput[];
318
- OR?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput[];
319
- NOT?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput | Prisma.PaymentInstallmentScalarWhereWithAggregatesInput[];
320
- id?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
321
- scheduleId?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
322
- installmentNumber?: Prisma.IntWithAggregatesFilter<"PaymentInstallment"> | number;
323
- amount?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
324
- principalAmount?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
325
- interestAmount?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
326
- dueDate?: Prisma.DateTimeWithAggregatesFilter<"PaymentInstallment"> | Date | string;
327
- status?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
328
- paidAmount?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
329
- paidDate?: Prisma.DateTimeNullableWithAggregatesFilter<"PaymentInstallment"> | Date | string | null;
330
- lateFee?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
331
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentInstallment"> | Date | string;
332
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentInstallment"> | Date | string;
333
- };
334
- export type PaymentInstallmentCreateInput = {
335
- id?: string;
336
- installmentNumber: number;
337
- amount: number;
338
- principalAmount: number;
339
- interestAmount: number;
340
- dueDate: Date | string;
341
- status?: string;
342
- paidAmount?: number;
343
- paidDate?: Date | string | null;
344
- lateFee?: number;
345
- createdAt?: Date | string;
346
- updatedAt?: Date | string;
347
- schedule: Prisma.PaymentScheduleCreateNestedOneWithoutInstallmentsInput;
348
- payments?: Prisma.PaymentCreateNestedManyWithoutInstallmentInput;
349
- };
350
- export type PaymentInstallmentUncheckedCreateInput = {
351
- id?: string;
352
- scheduleId: string;
353
- installmentNumber: number;
354
- amount: number;
355
- principalAmount: number;
356
- interestAmount: number;
357
- dueDate: Date | string;
358
- status?: string;
359
- paidAmount?: number;
360
- paidDate?: Date | string | null;
361
- lateFee?: number;
362
- createdAt?: Date | string;
363
- updatedAt?: Date | string;
364
- payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutInstallmentInput;
365
- };
366
- export type PaymentInstallmentUpdateInput = {
367
- id?: Prisma.StringFieldUpdateOperationsInput | string;
368
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
369
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
370
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
371
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
372
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
373
- status?: Prisma.StringFieldUpdateOperationsInput | string;
374
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
375
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
376
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
377
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
378
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
379
- schedule?: Prisma.PaymentScheduleUpdateOneRequiredWithoutInstallmentsNestedInput;
380
- payments?: Prisma.PaymentUpdateManyWithoutInstallmentNestedInput;
381
- };
382
- export type PaymentInstallmentUncheckedUpdateInput = {
383
- id?: Prisma.StringFieldUpdateOperationsInput | string;
384
- scheduleId?: Prisma.StringFieldUpdateOperationsInput | string;
385
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
386
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
387
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
388
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
389
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
390
- status?: Prisma.StringFieldUpdateOperationsInput | string;
391
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
392
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
393
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
394
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
395
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
396
- payments?: Prisma.PaymentUncheckedUpdateManyWithoutInstallmentNestedInput;
397
- };
398
- export type PaymentInstallmentCreateManyInput = {
399
- id?: string;
400
- scheduleId: string;
401
- installmentNumber: number;
402
- amount: number;
403
- principalAmount: number;
404
- interestAmount: number;
405
- dueDate: Date | string;
406
- status?: string;
407
- paidAmount?: number;
408
- paidDate?: Date | string | null;
409
- lateFee?: number;
410
- createdAt?: Date | string;
411
- updatedAt?: Date | string;
412
- };
413
- export type PaymentInstallmentUpdateManyMutationInput = {
414
- id?: Prisma.StringFieldUpdateOperationsInput | string;
415
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
416
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
417
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
418
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
419
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
420
- status?: Prisma.StringFieldUpdateOperationsInput | string;
421
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
422
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
423
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
424
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
425
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
426
- };
427
- export type PaymentInstallmentUncheckedUpdateManyInput = {
428
- id?: Prisma.StringFieldUpdateOperationsInput | string;
429
- scheduleId?: Prisma.StringFieldUpdateOperationsInput | string;
430
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
431
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
432
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
433
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
434
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
435
- status?: Prisma.StringFieldUpdateOperationsInput | string;
436
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
437
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
438
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
439
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
440
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
441
- };
442
- export type PaymentInstallmentListRelationFilter = {
443
- every?: Prisma.PaymentInstallmentWhereInput;
444
- some?: Prisma.PaymentInstallmentWhereInput;
445
- none?: Prisma.PaymentInstallmentWhereInput;
446
- };
447
- export type PaymentInstallmentOrderByRelationAggregateInput = {
448
- _count?: Prisma.SortOrder;
449
- };
450
- export type PaymentInstallmentOrderByRelevanceInput = {
451
- fields: Prisma.PaymentInstallmentOrderByRelevanceFieldEnum | Prisma.PaymentInstallmentOrderByRelevanceFieldEnum[];
452
- sort: Prisma.SortOrder;
453
- search: string;
454
- };
455
- export type PaymentInstallmentCountOrderByAggregateInput = {
456
- id?: Prisma.SortOrder;
457
- scheduleId?: Prisma.SortOrder;
458
- installmentNumber?: Prisma.SortOrder;
459
- amount?: Prisma.SortOrder;
460
- principalAmount?: Prisma.SortOrder;
461
- interestAmount?: Prisma.SortOrder;
462
- dueDate?: Prisma.SortOrder;
463
- status?: Prisma.SortOrder;
464
- paidAmount?: Prisma.SortOrder;
465
- paidDate?: Prisma.SortOrder;
466
- lateFee?: Prisma.SortOrder;
467
- createdAt?: Prisma.SortOrder;
468
- updatedAt?: Prisma.SortOrder;
469
- };
470
- export type PaymentInstallmentAvgOrderByAggregateInput = {
471
- installmentNumber?: Prisma.SortOrder;
472
- amount?: Prisma.SortOrder;
473
- principalAmount?: Prisma.SortOrder;
474
- interestAmount?: Prisma.SortOrder;
475
- paidAmount?: Prisma.SortOrder;
476
- lateFee?: Prisma.SortOrder;
477
- };
478
- export type PaymentInstallmentMaxOrderByAggregateInput = {
479
- id?: Prisma.SortOrder;
480
- scheduleId?: Prisma.SortOrder;
481
- installmentNumber?: Prisma.SortOrder;
482
- amount?: Prisma.SortOrder;
483
- principalAmount?: Prisma.SortOrder;
484
- interestAmount?: Prisma.SortOrder;
485
- dueDate?: Prisma.SortOrder;
486
- status?: Prisma.SortOrder;
487
- paidAmount?: Prisma.SortOrder;
488
- paidDate?: Prisma.SortOrder;
489
- lateFee?: Prisma.SortOrder;
490
- createdAt?: Prisma.SortOrder;
491
- updatedAt?: Prisma.SortOrder;
492
- };
493
- export type PaymentInstallmentMinOrderByAggregateInput = {
494
- id?: Prisma.SortOrder;
495
- scheduleId?: Prisma.SortOrder;
496
- installmentNumber?: Prisma.SortOrder;
497
- amount?: Prisma.SortOrder;
498
- principalAmount?: Prisma.SortOrder;
499
- interestAmount?: Prisma.SortOrder;
500
- dueDate?: Prisma.SortOrder;
501
- status?: Prisma.SortOrder;
502
- paidAmount?: Prisma.SortOrder;
503
- paidDate?: Prisma.SortOrder;
504
- lateFee?: Prisma.SortOrder;
505
- createdAt?: Prisma.SortOrder;
506
- updatedAt?: Prisma.SortOrder;
507
- };
508
- export type PaymentInstallmentSumOrderByAggregateInput = {
509
- installmentNumber?: Prisma.SortOrder;
510
- amount?: Prisma.SortOrder;
511
- principalAmount?: Prisma.SortOrder;
512
- interestAmount?: Prisma.SortOrder;
513
- paidAmount?: Prisma.SortOrder;
514
- lateFee?: Prisma.SortOrder;
515
- };
516
- export type PaymentInstallmentNullableScalarRelationFilter = {
517
- is?: Prisma.PaymentInstallmentWhereInput | null;
518
- isNot?: Prisma.PaymentInstallmentWhereInput | null;
519
- };
520
- export type PaymentInstallmentCreateNestedManyWithoutScheduleInput = {
521
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentInstallmentCreateWithoutScheduleInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput[];
522
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput | Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput[];
523
- createMany?: Prisma.PaymentInstallmentCreateManyScheduleInputEnvelope;
524
- connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
525
- };
526
- export type PaymentInstallmentUncheckedCreateNestedManyWithoutScheduleInput = {
527
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentInstallmentCreateWithoutScheduleInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput[];
528
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput | Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput[];
529
- createMany?: Prisma.PaymentInstallmentCreateManyScheduleInputEnvelope;
530
- connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
531
- };
532
- export type PaymentInstallmentUpdateManyWithoutScheduleNestedInput = {
533
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentInstallmentCreateWithoutScheduleInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput[];
534
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput | Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput[];
535
- upsert?: Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutScheduleInput | Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutScheduleInput[];
536
- createMany?: Prisma.PaymentInstallmentCreateManyScheduleInputEnvelope;
537
- set?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
538
- disconnect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
539
- delete?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
540
- connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
541
- update?: Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutScheduleInput | Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutScheduleInput[];
542
- updateMany?: Prisma.PaymentInstallmentUpdateManyWithWhereWithoutScheduleInput | Prisma.PaymentInstallmentUpdateManyWithWhereWithoutScheduleInput[];
543
- deleteMany?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
544
- };
545
- export type PaymentInstallmentUncheckedUpdateManyWithoutScheduleNestedInput = {
546
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput> | Prisma.PaymentInstallmentCreateWithoutScheduleInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput[];
547
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput | Prisma.PaymentInstallmentCreateOrConnectWithoutScheduleInput[];
548
- upsert?: Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutScheduleInput | Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutScheduleInput[];
549
- createMany?: Prisma.PaymentInstallmentCreateManyScheduleInputEnvelope;
550
- set?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
551
- disconnect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
552
- delete?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
553
- connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
554
- update?: Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutScheduleInput | Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutScheduleInput[];
555
- updateMany?: Prisma.PaymentInstallmentUpdateManyWithWhereWithoutScheduleInput | Prisma.PaymentInstallmentUpdateManyWithWhereWithoutScheduleInput[];
556
- deleteMany?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
557
- };
558
- export type PaymentInstallmentCreateNestedOneWithoutPaymentsInput = {
559
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentsInput>;
560
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutPaymentsInput;
561
- connect?: Prisma.PaymentInstallmentWhereUniqueInput;
562
- };
563
- export type PaymentInstallmentUpdateOneWithoutPaymentsNestedInput = {
564
- create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentsInput>;
565
- connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutPaymentsInput;
566
- upsert?: Prisma.PaymentInstallmentUpsertWithoutPaymentsInput;
567
- disconnect?: Prisma.PaymentInstallmentWhereInput | boolean;
568
- delete?: Prisma.PaymentInstallmentWhereInput | boolean;
569
- connect?: Prisma.PaymentInstallmentWhereUniqueInput;
570
- update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentInstallmentUpdateToOneWithWhereWithoutPaymentsInput, Prisma.PaymentInstallmentUpdateWithoutPaymentsInput>, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentsInput>;
571
- };
572
- export type PaymentInstallmentCreateWithoutScheduleInput = {
573
- id?: string;
574
- installmentNumber: number;
575
- amount: number;
576
- principalAmount: number;
577
- interestAmount: number;
578
- dueDate: Date | string;
579
- status?: string;
580
- paidAmount?: number;
581
- paidDate?: Date | string | null;
582
- lateFee?: number;
583
- createdAt?: Date | string;
584
- updatedAt?: Date | string;
585
- payments?: Prisma.PaymentCreateNestedManyWithoutInstallmentInput;
586
- };
587
- export type PaymentInstallmentUncheckedCreateWithoutScheduleInput = {
588
- id?: string;
589
- installmentNumber: number;
590
- amount: number;
591
- principalAmount: number;
592
- interestAmount: number;
593
- dueDate: Date | string;
594
- status?: string;
595
- paidAmount?: number;
596
- paidDate?: Date | string | null;
597
- lateFee?: number;
598
- createdAt?: Date | string;
599
- updatedAt?: Date | string;
600
- payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutInstallmentInput;
601
- };
602
- export type PaymentInstallmentCreateOrConnectWithoutScheduleInput = {
603
- where: Prisma.PaymentInstallmentWhereUniqueInput;
604
- create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput>;
605
- };
606
- export type PaymentInstallmentCreateManyScheduleInputEnvelope = {
607
- data: Prisma.PaymentInstallmentCreateManyScheduleInput | Prisma.PaymentInstallmentCreateManyScheduleInput[];
608
- skipDuplicates?: boolean;
609
- };
610
- export type PaymentInstallmentUpsertWithWhereUniqueWithoutScheduleInput = {
611
- where: Prisma.PaymentInstallmentWhereUniqueInput;
612
- update: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutScheduleInput>;
613
- create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedCreateWithoutScheduleInput>;
614
- };
615
- export type PaymentInstallmentUpdateWithWhereUniqueWithoutScheduleInput = {
616
- where: Prisma.PaymentInstallmentWhereUniqueInput;
617
- data: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutScheduleInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutScheduleInput>;
618
- };
619
- export type PaymentInstallmentUpdateManyWithWhereWithoutScheduleInput = {
620
- where: Prisma.PaymentInstallmentScalarWhereInput;
621
- data: Prisma.XOR<Prisma.PaymentInstallmentUpdateManyMutationInput, Prisma.PaymentInstallmentUncheckedUpdateManyWithoutScheduleInput>;
622
- };
623
- export type PaymentInstallmentScalarWhereInput = {
624
- AND?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
625
- OR?: Prisma.PaymentInstallmentScalarWhereInput[];
626
- NOT?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
627
- id?: Prisma.StringFilter<"PaymentInstallment"> | string;
628
- scheduleId?: Prisma.StringFilter<"PaymentInstallment"> | string;
629
- installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
630
- amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
631
- principalAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
632
- interestAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
633
- dueDate?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
634
- status?: Prisma.StringFilter<"PaymentInstallment"> | string;
635
- paidAmount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
636
- paidDate?: Prisma.DateTimeNullableFilter<"PaymentInstallment"> | Date | string | null;
637
- lateFee?: Prisma.FloatFilter<"PaymentInstallment"> | number;
638
- createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
639
- updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
640
- };
641
- export type PaymentInstallmentCreateWithoutPaymentsInput = {
642
- id?: string;
643
- installmentNumber: number;
644
- amount: number;
645
- principalAmount: number;
646
- interestAmount: number;
647
- dueDate: Date | string;
648
- status?: string;
649
- paidAmount?: number;
650
- paidDate?: Date | string | null;
651
- lateFee?: number;
652
- createdAt?: Date | string;
653
- updatedAt?: Date | string;
654
- schedule: Prisma.PaymentScheduleCreateNestedOneWithoutInstallmentsInput;
655
- };
656
- export type PaymentInstallmentUncheckedCreateWithoutPaymentsInput = {
657
- id?: string;
658
- scheduleId: string;
659
- installmentNumber: number;
660
- amount: number;
661
- principalAmount: number;
662
- interestAmount: number;
663
- dueDate: Date | string;
664
- status?: string;
665
- paidAmount?: number;
666
- paidDate?: Date | string | null;
667
- lateFee?: number;
668
- createdAt?: Date | string;
669
- updatedAt?: Date | string;
670
- };
671
- export type PaymentInstallmentCreateOrConnectWithoutPaymentsInput = {
672
- where: Prisma.PaymentInstallmentWhereUniqueInput;
673
- create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentsInput>;
674
- };
675
- export type PaymentInstallmentUpsertWithoutPaymentsInput = {
676
- update: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentsInput>;
677
- create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentsInput>;
678
- where?: Prisma.PaymentInstallmentWhereInput;
679
- };
680
- export type PaymentInstallmentUpdateToOneWithWhereWithoutPaymentsInput = {
681
- where?: Prisma.PaymentInstallmentWhereInput;
682
- data: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutPaymentsInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentsInput>;
683
- };
684
- export type PaymentInstallmentUpdateWithoutPaymentsInput = {
685
- id?: Prisma.StringFieldUpdateOperationsInput | string;
686
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
687
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
688
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
689
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
690
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
691
- status?: Prisma.StringFieldUpdateOperationsInput | string;
692
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
693
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
694
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
695
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
696
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
697
- schedule?: Prisma.PaymentScheduleUpdateOneRequiredWithoutInstallmentsNestedInput;
698
- };
699
- export type PaymentInstallmentUncheckedUpdateWithoutPaymentsInput = {
700
- id?: Prisma.StringFieldUpdateOperationsInput | string;
701
- scheduleId?: Prisma.StringFieldUpdateOperationsInput | string;
702
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
703
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
704
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
705
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
706
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
707
- status?: Prisma.StringFieldUpdateOperationsInput | string;
708
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
709
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
710
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
711
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
712
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
713
- };
714
- export type PaymentInstallmentCreateManyScheduleInput = {
715
- id?: string;
716
- installmentNumber: number;
717
- amount: number;
718
- principalAmount: number;
719
- interestAmount: number;
720
- dueDate: Date | string;
721
- status?: string;
722
- paidAmount?: number;
723
- paidDate?: Date | string | null;
724
- lateFee?: number;
725
- createdAt?: Date | string;
726
- updatedAt?: Date | string;
727
- };
728
- export type PaymentInstallmentUpdateWithoutScheduleInput = {
729
- id?: Prisma.StringFieldUpdateOperationsInput | string;
730
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
731
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
732
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
733
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
734
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
735
- status?: Prisma.StringFieldUpdateOperationsInput | string;
736
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
737
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
738
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
739
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
740
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
741
- payments?: Prisma.PaymentUpdateManyWithoutInstallmentNestedInput;
742
- };
743
- export type PaymentInstallmentUncheckedUpdateWithoutScheduleInput = {
744
- id?: Prisma.StringFieldUpdateOperationsInput | string;
745
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
746
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
747
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
748
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
749
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
750
- status?: Prisma.StringFieldUpdateOperationsInput | string;
751
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
752
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
753
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
754
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
755
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
756
- payments?: Prisma.PaymentUncheckedUpdateManyWithoutInstallmentNestedInput;
757
- };
758
- export type PaymentInstallmentUncheckedUpdateManyWithoutScheduleInput = {
759
- id?: Prisma.StringFieldUpdateOperationsInput | string;
760
- installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
761
- amount?: Prisma.FloatFieldUpdateOperationsInput | number;
762
- principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
763
- interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
764
- dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
765
- status?: Prisma.StringFieldUpdateOperationsInput | string;
766
- paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
767
- paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
768
- lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
769
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
770
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
771
- };
772
- /**
773
- * Count Type PaymentInstallmentCountOutputType
774
- */
775
- export type PaymentInstallmentCountOutputType = {
776
- payments: number;
777
- };
778
- export type PaymentInstallmentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
779
- payments?: boolean | PaymentInstallmentCountOutputTypeCountPaymentsArgs;
780
- };
781
- /**
782
- * PaymentInstallmentCountOutputType without action
783
- */
784
- export type PaymentInstallmentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
785
- /**
786
- * Select specific fields to fetch from the PaymentInstallmentCountOutputType
787
- */
788
- select?: Prisma.PaymentInstallmentCountOutputTypeSelect<ExtArgs> | null;
789
- };
790
- /**
791
- * PaymentInstallmentCountOutputType without action
792
- */
793
- export type PaymentInstallmentCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
794
- where?: Prisma.PaymentWhereInput;
795
- };
796
- export type PaymentInstallmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
797
- id?: boolean;
798
- scheduleId?: boolean;
799
- installmentNumber?: boolean;
800
- amount?: boolean;
801
- principalAmount?: boolean;
802
- interestAmount?: boolean;
803
- dueDate?: boolean;
804
- status?: boolean;
805
- paidAmount?: boolean;
806
- paidDate?: boolean;
807
- lateFee?: boolean;
808
- createdAt?: boolean;
809
- updatedAt?: boolean;
810
- schedule?: boolean | Prisma.PaymentScheduleDefaultArgs<ExtArgs>;
811
- payments?: boolean | Prisma.PaymentInstallment$paymentsArgs<ExtArgs>;
812
- _count?: boolean | Prisma.PaymentInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
813
- }, ExtArgs["result"]["paymentInstallment"]>;
814
- export type PaymentInstallmentSelectScalar = {
815
- id?: boolean;
816
- scheduleId?: boolean;
817
- installmentNumber?: boolean;
818
- amount?: boolean;
819
- principalAmount?: boolean;
820
- interestAmount?: boolean;
821
- dueDate?: boolean;
822
- status?: boolean;
823
- paidAmount?: boolean;
824
- paidDate?: boolean;
825
- lateFee?: boolean;
826
- createdAt?: boolean;
827
- updatedAt?: boolean;
828
- };
829
- export type PaymentInstallmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "scheduleId" | "installmentNumber" | "amount" | "principalAmount" | "interestAmount" | "dueDate" | "status" | "paidAmount" | "paidDate" | "lateFee" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentInstallment"]>;
830
- export type PaymentInstallmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
831
- schedule?: boolean | Prisma.PaymentScheduleDefaultArgs<ExtArgs>;
832
- payments?: boolean | Prisma.PaymentInstallment$paymentsArgs<ExtArgs>;
833
- _count?: boolean | Prisma.PaymentInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
834
- };
835
- export type $PaymentInstallmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
836
- name: "PaymentInstallment";
837
- objects: {
838
- schedule: Prisma.$PaymentSchedulePayload<ExtArgs>;
839
- payments: Prisma.$PaymentPayload<ExtArgs>[];
840
- };
841
- scalars: runtime.Types.Extensions.GetPayloadResult<{
842
- id: string;
843
- scheduleId: string;
844
- installmentNumber: number;
845
- amount: number;
846
- principalAmount: number;
847
- interestAmount: number;
848
- dueDate: Date;
849
- status: string;
850
- paidAmount: number;
851
- paidDate: Date | null;
852
- lateFee: number;
853
- createdAt: Date;
854
- updatedAt: Date;
855
- }, ExtArgs["result"]["paymentInstallment"]>;
856
- composites: {};
857
- };
858
- export type PaymentInstallmentGetPayload<S extends boolean | null | undefined | PaymentInstallmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload, S>;
859
- export type PaymentInstallmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PaymentInstallmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
860
- select?: PaymentInstallmentCountAggregateInputType | true;
861
- };
862
- export interface PaymentInstallmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
863
- [K: symbol]: {
864
- types: Prisma.TypeMap<ExtArgs>['model']['PaymentInstallment'];
865
- meta: {
866
- name: 'PaymentInstallment';
867
- };
868
- };
869
- /**
870
- * Find zero or one PaymentInstallment that matches the filter.
871
- * @param {PaymentInstallmentFindUniqueArgs} args - Arguments to find a PaymentInstallment
872
- * @example
873
- * // Get one PaymentInstallment
874
- * const paymentInstallment = await prisma.paymentInstallment.findUnique({
875
- * where: {
876
- * // ... provide filter here
877
- * }
878
- * })
879
- */
880
- findUnique<T extends PaymentInstallmentFindUniqueArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
881
- /**
882
- * Find one PaymentInstallment that matches the filter or throw an error with `error.code='P2025'`
883
- * if no matches were found.
884
- * @param {PaymentInstallmentFindUniqueOrThrowArgs} args - Arguments to find a PaymentInstallment
885
- * @example
886
- * // Get one PaymentInstallment
887
- * const paymentInstallment = await prisma.paymentInstallment.findUniqueOrThrow({
888
- * where: {
889
- * // ... provide filter here
890
- * }
891
- * })
892
- */
893
- findUniqueOrThrow<T extends PaymentInstallmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
894
- /**
895
- * Find the first PaymentInstallment that matches the filter.
896
- * Note, that providing `undefined` is treated as the value not being there.
897
- * Read more here: https://pris.ly/d/null-undefined
898
- * @param {PaymentInstallmentFindFirstArgs} args - Arguments to find a PaymentInstallment
899
- * @example
900
- * // Get one PaymentInstallment
901
- * const paymentInstallment = await prisma.paymentInstallment.findFirst({
902
- * where: {
903
- * // ... provide filter here
904
- * }
905
- * })
906
- */
907
- findFirst<T extends PaymentInstallmentFindFirstArgs>(args?: Prisma.SelectSubset<T, PaymentInstallmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
908
- /**
909
- * Find the first PaymentInstallment that matches the filter or
910
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
911
- * Note, that providing `undefined` is treated as the value not being there.
912
- * Read more here: https://pris.ly/d/null-undefined
913
- * @param {PaymentInstallmentFindFirstOrThrowArgs} args - Arguments to find a PaymentInstallment
914
- * @example
915
- * // Get one PaymentInstallment
916
- * const paymentInstallment = await prisma.paymentInstallment.findFirstOrThrow({
917
- * where: {
918
- * // ... provide filter here
919
- * }
920
- * })
921
- */
922
- findFirstOrThrow<T extends PaymentInstallmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PaymentInstallmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
923
- /**
924
- * Find zero or more PaymentInstallments that matches the filter.
925
- * Note, that providing `undefined` is treated as the value not being there.
926
- * Read more here: https://pris.ly/d/null-undefined
927
- * @param {PaymentInstallmentFindManyArgs} args - Arguments to filter and select certain fields only.
928
- * @example
929
- * // Get all PaymentInstallments
930
- * const paymentInstallments = await prisma.paymentInstallment.findMany()
931
- *
932
- * // Get first 10 PaymentInstallments
933
- * const paymentInstallments = await prisma.paymentInstallment.findMany({ take: 10 })
934
- *
935
- * // Only select the `id`
936
- * const paymentInstallmentWithIdOnly = await prisma.paymentInstallment.findMany({ select: { id: true } })
937
- *
938
- */
939
- findMany<T extends PaymentInstallmentFindManyArgs>(args?: Prisma.SelectSubset<T, PaymentInstallmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
940
- /**
941
- * Create a PaymentInstallment.
942
- * @param {PaymentInstallmentCreateArgs} args - Arguments to create a PaymentInstallment.
943
- * @example
944
- * // Create one PaymentInstallment
945
- * const PaymentInstallment = await prisma.paymentInstallment.create({
946
- * data: {
947
- * // ... data to create a PaymentInstallment
948
- * }
949
- * })
950
- *
951
- */
952
- create<T extends PaymentInstallmentCreateArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentCreateArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
953
- /**
954
- * Create many PaymentInstallments.
955
- * @param {PaymentInstallmentCreateManyArgs} args - Arguments to create many PaymentInstallments.
956
- * @example
957
- * // Create many PaymentInstallments
958
- * const paymentInstallment = await prisma.paymentInstallment.createMany({
959
- * data: [
960
- * // ... provide data here
961
- * ]
962
- * })
963
- *
964
- */
965
- createMany<T extends PaymentInstallmentCreateManyArgs>(args?: Prisma.SelectSubset<T, PaymentInstallmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
966
- /**
967
- * Delete a PaymentInstallment.
968
- * @param {PaymentInstallmentDeleteArgs} args - Arguments to delete one PaymentInstallment.
969
- * @example
970
- * // Delete one PaymentInstallment
971
- * const PaymentInstallment = await prisma.paymentInstallment.delete({
972
- * where: {
973
- * // ... filter to delete one PaymentInstallment
974
- * }
975
- * })
976
- *
977
- */
978
- delete<T extends PaymentInstallmentDeleteArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentDeleteArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
979
- /**
980
- * Update one PaymentInstallment.
981
- * @param {PaymentInstallmentUpdateArgs} args - Arguments to update one PaymentInstallment.
982
- * @example
983
- * // Update one PaymentInstallment
984
- * const paymentInstallment = await prisma.paymentInstallment.update({
985
- * where: {
986
- * // ... provide filter here
987
- * },
988
- * data: {
989
- * // ... provide data here
990
- * }
991
- * })
992
- *
993
- */
994
- update<T extends PaymentInstallmentUpdateArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentUpdateArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
995
- /**
996
- * Delete zero or more PaymentInstallments.
997
- * @param {PaymentInstallmentDeleteManyArgs} args - Arguments to filter PaymentInstallments to delete.
998
- * @example
999
- * // Delete a few PaymentInstallments
1000
- * const { count } = await prisma.paymentInstallment.deleteMany({
1001
- * where: {
1002
- * // ... provide filter here
1003
- * }
1004
- * })
1005
- *
1006
- */
1007
- deleteMany<T extends PaymentInstallmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, PaymentInstallmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1008
- /**
1009
- * Update zero or more PaymentInstallments.
1010
- * Note, that providing `undefined` is treated as the value not being there.
1011
- * Read more here: https://pris.ly/d/null-undefined
1012
- * @param {PaymentInstallmentUpdateManyArgs} args - Arguments to update one or more rows.
1013
- * @example
1014
- * // Update many PaymentInstallments
1015
- * const paymentInstallment = await prisma.paymentInstallment.updateMany({
1016
- * where: {
1017
- * // ... provide filter here
1018
- * },
1019
- * data: {
1020
- * // ... provide data here
1021
- * }
1022
- * })
1023
- *
1024
- */
1025
- updateMany<T extends PaymentInstallmentUpdateManyArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1026
- /**
1027
- * Create or update one PaymentInstallment.
1028
- * @param {PaymentInstallmentUpsertArgs} args - Arguments to update or create a PaymentInstallment.
1029
- * @example
1030
- * // Update or create a PaymentInstallment
1031
- * const paymentInstallment = await prisma.paymentInstallment.upsert({
1032
- * create: {
1033
- * // ... data to create a PaymentInstallment
1034
- * },
1035
- * update: {
1036
- * // ... in case it already exists, update
1037
- * },
1038
- * where: {
1039
- * // ... the filter for the PaymentInstallment we want to update
1040
- * }
1041
- * })
1042
- */
1043
- upsert<T extends PaymentInstallmentUpsertArgs>(args: Prisma.SelectSubset<T, PaymentInstallmentUpsertArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1044
- /**
1045
- * Count the number of PaymentInstallments.
1046
- * Note, that providing `undefined` is treated as the value not being there.
1047
- * Read more here: https://pris.ly/d/null-undefined
1048
- * @param {PaymentInstallmentCountArgs} args - Arguments to filter PaymentInstallments to count.
1049
- * @example
1050
- * // Count the number of PaymentInstallments
1051
- * const count = await prisma.paymentInstallment.count({
1052
- * where: {
1053
- * // ... the filter for the PaymentInstallments we want to count
1054
- * }
1055
- * })
1056
- **/
1057
- count<T extends PaymentInstallmentCountArgs>(args?: Prisma.Subset<T, PaymentInstallmentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PaymentInstallmentCountAggregateOutputType> : number>;
1058
- /**
1059
- * Allows you to perform aggregations operations on a PaymentInstallment.
1060
- * Note, that providing `undefined` is treated as the value not being there.
1061
- * Read more here: https://pris.ly/d/null-undefined
1062
- * @param {PaymentInstallmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1063
- * @example
1064
- * // Ordered by age ascending
1065
- * // Where email contains prisma.io
1066
- * // Limited to the 10 users
1067
- * const aggregations = await prisma.user.aggregate({
1068
- * _avg: {
1069
- * age: true,
1070
- * },
1071
- * where: {
1072
- * email: {
1073
- * contains: "prisma.io",
1074
- * },
1075
- * },
1076
- * orderBy: {
1077
- * age: "asc",
1078
- * },
1079
- * take: 10,
1080
- * })
1081
- **/
1082
- aggregate<T extends PaymentInstallmentAggregateArgs>(args: Prisma.Subset<T, PaymentInstallmentAggregateArgs>): Prisma.PrismaPromise<GetPaymentInstallmentAggregateType<T>>;
1083
- /**
1084
- * Group by PaymentInstallment.
1085
- * Note, that providing `undefined` is treated as the value not being there.
1086
- * Read more here: https://pris.ly/d/null-undefined
1087
- * @param {PaymentInstallmentGroupByArgs} args - Group by arguments.
1088
- * @example
1089
- * // Group by city, order by createdAt, get count
1090
- * const result = await prisma.user.groupBy({
1091
- * by: ['city', 'createdAt'],
1092
- * orderBy: {
1093
- * createdAt: true
1094
- * },
1095
- * _count: {
1096
- * _all: true
1097
- * },
1098
- * })
1099
- *
1100
- **/
1101
- groupBy<T extends PaymentInstallmentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1102
- orderBy: PaymentInstallmentGroupByArgs['orderBy'];
1103
- } : {
1104
- orderBy?: PaymentInstallmentGroupByArgs['orderBy'];
1105
- }, 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 ? {
1106
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1107
- Error,
1108
- 'Field ',
1109
- P,
1110
- ` in "having" needs to be provided in "by"`
1111
- ];
1112
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1113
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1114
- }[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 ? {} : {
1115
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1116
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1117
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1118
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, PaymentInstallmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPaymentInstallmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1119
- /**
1120
- * Fields of the PaymentInstallment model
1121
- */
1122
- readonly fields: PaymentInstallmentFieldRefs;
1123
- }
1124
- /**
1125
- * The delegate class that acts as a "Promise-like" for PaymentInstallment.
1126
- * Why is this prefixed with `Prisma__`?
1127
- * Because we want to prevent naming conflicts as mentioned in
1128
- * https://github.com/prisma/prisma-client-js/issues/707
1129
- */
1130
- export interface Prisma__PaymentInstallmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1131
- readonly [Symbol.toStringTag]: "PrismaPromise";
1132
- schedule<T extends Prisma.PaymentScheduleDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentScheduleDefaultArgs<ExtArgs>>): Prisma.Prisma__PaymentScheduleClient<runtime.Types.Result.GetResult<Prisma.$PaymentSchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1133
- payments<T extends Prisma.PaymentInstallment$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentInstallment$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1134
- /**
1135
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1136
- * @param onfulfilled The callback to execute when the Promise is resolved.
1137
- * @param onrejected The callback to execute when the Promise is rejected.
1138
- * @returns A Promise for the completion of which ever callback is executed.
1139
- */
1140
- 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>;
1141
- /**
1142
- * Attaches a callback for only the rejection of the Promise.
1143
- * @param onrejected The callback to execute when the Promise is rejected.
1144
- * @returns A Promise for the completion of the callback.
1145
- */
1146
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1147
- /**
1148
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1149
- * resolved value cannot be modified from the callback.
1150
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1151
- * @returns A Promise for the completion of the callback.
1152
- */
1153
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1154
- }
1155
- /**
1156
- * Fields of the PaymentInstallment model
1157
- */
1158
- export interface PaymentInstallmentFieldRefs {
1159
- readonly id: Prisma.FieldRef<"PaymentInstallment", 'String'>;
1160
- readonly scheduleId: Prisma.FieldRef<"PaymentInstallment", 'String'>;
1161
- readonly installmentNumber: Prisma.FieldRef<"PaymentInstallment", 'Int'>;
1162
- readonly amount: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
1163
- readonly principalAmount: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
1164
- readonly interestAmount: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
1165
- readonly dueDate: Prisma.FieldRef<"PaymentInstallment", 'DateTime'>;
1166
- readonly status: Prisma.FieldRef<"PaymentInstallment", 'String'>;
1167
- readonly paidAmount: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
1168
- readonly paidDate: Prisma.FieldRef<"PaymentInstallment", 'DateTime'>;
1169
- readonly lateFee: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
1170
- readonly createdAt: Prisma.FieldRef<"PaymentInstallment", 'DateTime'>;
1171
- readonly updatedAt: Prisma.FieldRef<"PaymentInstallment", 'DateTime'>;
1172
- }
1173
- /**
1174
- * PaymentInstallment findUnique
1175
- */
1176
- export type PaymentInstallmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1177
- /**
1178
- * Select specific fields to fetch from the PaymentInstallment
1179
- */
1180
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1181
- /**
1182
- * Omit specific fields from the PaymentInstallment
1183
- */
1184
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1185
- /**
1186
- * Choose, which related nodes to fetch as well
1187
- */
1188
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1189
- /**
1190
- * Filter, which PaymentInstallment to fetch.
1191
- */
1192
- where: Prisma.PaymentInstallmentWhereUniqueInput;
1193
- };
1194
- /**
1195
- * PaymentInstallment findUniqueOrThrow
1196
- */
1197
- export type PaymentInstallmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1198
- /**
1199
- * Select specific fields to fetch from the PaymentInstallment
1200
- */
1201
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1202
- /**
1203
- * Omit specific fields from the PaymentInstallment
1204
- */
1205
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1206
- /**
1207
- * Choose, which related nodes to fetch as well
1208
- */
1209
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1210
- /**
1211
- * Filter, which PaymentInstallment to fetch.
1212
- */
1213
- where: Prisma.PaymentInstallmentWhereUniqueInput;
1214
- };
1215
- /**
1216
- * PaymentInstallment findFirst
1217
- */
1218
- export type PaymentInstallmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1219
- /**
1220
- * Select specific fields to fetch from the PaymentInstallment
1221
- */
1222
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1223
- /**
1224
- * Omit specific fields from the PaymentInstallment
1225
- */
1226
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1227
- /**
1228
- * Choose, which related nodes to fetch as well
1229
- */
1230
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1231
- /**
1232
- * Filter, which PaymentInstallment to fetch.
1233
- */
1234
- where?: Prisma.PaymentInstallmentWhereInput;
1235
- /**
1236
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1237
- *
1238
- * Determine the order of PaymentInstallments to fetch.
1239
- */
1240
- orderBy?: Prisma.PaymentInstallmentOrderByWithRelationInput | Prisma.PaymentInstallmentOrderByWithRelationInput[];
1241
- /**
1242
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1243
- *
1244
- * Sets the position for searching for PaymentInstallments.
1245
- */
1246
- cursor?: Prisma.PaymentInstallmentWhereUniqueInput;
1247
- /**
1248
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1249
- *
1250
- * Take `±n` PaymentInstallments from the position of the cursor.
1251
- */
1252
- take?: number;
1253
- /**
1254
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1255
- *
1256
- * Skip the first `n` PaymentInstallments.
1257
- */
1258
- skip?: number;
1259
- /**
1260
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1261
- *
1262
- * Filter by unique combinations of PaymentInstallments.
1263
- */
1264
- distinct?: Prisma.PaymentInstallmentScalarFieldEnum | Prisma.PaymentInstallmentScalarFieldEnum[];
1265
- };
1266
- /**
1267
- * PaymentInstallment findFirstOrThrow
1268
- */
1269
- export type PaymentInstallmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1270
- /**
1271
- * Select specific fields to fetch from the PaymentInstallment
1272
- */
1273
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1274
- /**
1275
- * Omit specific fields from the PaymentInstallment
1276
- */
1277
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1278
- /**
1279
- * Choose, which related nodes to fetch as well
1280
- */
1281
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1282
- /**
1283
- * Filter, which PaymentInstallment to fetch.
1284
- */
1285
- where?: Prisma.PaymentInstallmentWhereInput;
1286
- /**
1287
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1288
- *
1289
- * Determine the order of PaymentInstallments to fetch.
1290
- */
1291
- orderBy?: Prisma.PaymentInstallmentOrderByWithRelationInput | Prisma.PaymentInstallmentOrderByWithRelationInput[];
1292
- /**
1293
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1294
- *
1295
- * Sets the position for searching for PaymentInstallments.
1296
- */
1297
- cursor?: Prisma.PaymentInstallmentWhereUniqueInput;
1298
- /**
1299
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1300
- *
1301
- * Take `±n` PaymentInstallments from the position of the cursor.
1302
- */
1303
- take?: number;
1304
- /**
1305
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1306
- *
1307
- * Skip the first `n` PaymentInstallments.
1308
- */
1309
- skip?: number;
1310
- /**
1311
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1312
- *
1313
- * Filter by unique combinations of PaymentInstallments.
1314
- */
1315
- distinct?: Prisma.PaymentInstallmentScalarFieldEnum | Prisma.PaymentInstallmentScalarFieldEnum[];
1316
- };
1317
- /**
1318
- * PaymentInstallment findMany
1319
- */
1320
- export type PaymentInstallmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
- /**
1322
- * Select specific fields to fetch from the PaymentInstallment
1323
- */
1324
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1325
- /**
1326
- * Omit specific fields from the PaymentInstallment
1327
- */
1328
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1329
- /**
1330
- * Choose, which related nodes to fetch as well
1331
- */
1332
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1333
- /**
1334
- * Filter, which PaymentInstallments to fetch.
1335
- */
1336
- where?: Prisma.PaymentInstallmentWhereInput;
1337
- /**
1338
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1339
- *
1340
- * Determine the order of PaymentInstallments to fetch.
1341
- */
1342
- orderBy?: Prisma.PaymentInstallmentOrderByWithRelationInput | Prisma.PaymentInstallmentOrderByWithRelationInput[];
1343
- /**
1344
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1345
- *
1346
- * Sets the position for listing PaymentInstallments.
1347
- */
1348
- cursor?: Prisma.PaymentInstallmentWhereUniqueInput;
1349
- /**
1350
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1351
- *
1352
- * Take `±n` PaymentInstallments from the position of the cursor.
1353
- */
1354
- take?: number;
1355
- /**
1356
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1357
- *
1358
- * Skip the first `n` PaymentInstallments.
1359
- */
1360
- skip?: number;
1361
- distinct?: Prisma.PaymentInstallmentScalarFieldEnum | Prisma.PaymentInstallmentScalarFieldEnum[];
1362
- };
1363
- /**
1364
- * PaymentInstallment create
1365
- */
1366
- export type PaymentInstallmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1367
- /**
1368
- * Select specific fields to fetch from the PaymentInstallment
1369
- */
1370
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1371
- /**
1372
- * Omit specific fields from the PaymentInstallment
1373
- */
1374
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1375
- /**
1376
- * Choose, which related nodes to fetch as well
1377
- */
1378
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1379
- /**
1380
- * The data needed to create a PaymentInstallment.
1381
- */
1382
- data: Prisma.XOR<Prisma.PaymentInstallmentCreateInput, Prisma.PaymentInstallmentUncheckedCreateInput>;
1383
- };
1384
- /**
1385
- * PaymentInstallment createMany
1386
- */
1387
- export type PaymentInstallmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1388
- /**
1389
- * The data used to create many PaymentInstallments.
1390
- */
1391
- data: Prisma.PaymentInstallmentCreateManyInput | Prisma.PaymentInstallmentCreateManyInput[];
1392
- skipDuplicates?: boolean;
1393
- };
1394
- /**
1395
- * PaymentInstallment update
1396
- */
1397
- export type PaymentInstallmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1398
- /**
1399
- * Select specific fields to fetch from the PaymentInstallment
1400
- */
1401
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1402
- /**
1403
- * Omit specific fields from the PaymentInstallment
1404
- */
1405
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1406
- /**
1407
- * Choose, which related nodes to fetch as well
1408
- */
1409
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1410
- /**
1411
- * The data needed to update a PaymentInstallment.
1412
- */
1413
- data: Prisma.XOR<Prisma.PaymentInstallmentUpdateInput, Prisma.PaymentInstallmentUncheckedUpdateInput>;
1414
- /**
1415
- * Choose, which PaymentInstallment to update.
1416
- */
1417
- where: Prisma.PaymentInstallmentWhereUniqueInput;
1418
- };
1419
- /**
1420
- * PaymentInstallment updateMany
1421
- */
1422
- export type PaymentInstallmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1423
- /**
1424
- * The data used to update PaymentInstallments.
1425
- */
1426
- data: Prisma.XOR<Prisma.PaymentInstallmentUpdateManyMutationInput, Prisma.PaymentInstallmentUncheckedUpdateManyInput>;
1427
- /**
1428
- * Filter which PaymentInstallments to update
1429
- */
1430
- where?: Prisma.PaymentInstallmentWhereInput;
1431
- /**
1432
- * Limit how many PaymentInstallments to update.
1433
- */
1434
- limit?: number;
1435
- };
1436
- /**
1437
- * PaymentInstallment upsert
1438
- */
1439
- export type PaymentInstallmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1440
- /**
1441
- * Select specific fields to fetch from the PaymentInstallment
1442
- */
1443
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1444
- /**
1445
- * Omit specific fields from the PaymentInstallment
1446
- */
1447
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1448
- /**
1449
- * Choose, which related nodes to fetch as well
1450
- */
1451
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1452
- /**
1453
- * The filter to search for the PaymentInstallment to update in case it exists.
1454
- */
1455
- where: Prisma.PaymentInstallmentWhereUniqueInput;
1456
- /**
1457
- * In case the PaymentInstallment found by the `where` argument doesn't exist, create a new PaymentInstallment with this data.
1458
- */
1459
- create: Prisma.XOR<Prisma.PaymentInstallmentCreateInput, Prisma.PaymentInstallmentUncheckedCreateInput>;
1460
- /**
1461
- * In case the PaymentInstallment was found with the provided `where` argument, update it with this data.
1462
- */
1463
- update: Prisma.XOR<Prisma.PaymentInstallmentUpdateInput, Prisma.PaymentInstallmentUncheckedUpdateInput>;
1464
- };
1465
- /**
1466
- * PaymentInstallment delete
1467
- */
1468
- export type PaymentInstallmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1469
- /**
1470
- * Select specific fields to fetch from the PaymentInstallment
1471
- */
1472
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1473
- /**
1474
- * Omit specific fields from the PaymentInstallment
1475
- */
1476
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1477
- /**
1478
- * Choose, which related nodes to fetch as well
1479
- */
1480
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1481
- /**
1482
- * Filter which PaymentInstallment to delete.
1483
- */
1484
- where: Prisma.PaymentInstallmentWhereUniqueInput;
1485
- };
1486
- /**
1487
- * PaymentInstallment deleteMany
1488
- */
1489
- export type PaymentInstallmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1490
- /**
1491
- * Filter which PaymentInstallments to delete
1492
- */
1493
- where?: Prisma.PaymentInstallmentWhereInput;
1494
- /**
1495
- * Limit how many PaymentInstallments to delete.
1496
- */
1497
- limit?: number;
1498
- };
1499
- /**
1500
- * PaymentInstallment.payments
1501
- */
1502
- export type PaymentInstallment$paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1503
- /**
1504
- * Select specific fields to fetch from the Payment
1505
- */
1506
- select?: Prisma.PaymentSelect<ExtArgs> | null;
1507
- /**
1508
- * Omit specific fields from the Payment
1509
- */
1510
- omit?: Prisma.PaymentOmit<ExtArgs> | null;
1511
- /**
1512
- * Choose, which related nodes to fetch as well
1513
- */
1514
- include?: Prisma.PaymentInclude<ExtArgs> | null;
1515
- where?: Prisma.PaymentWhereInput;
1516
- orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
1517
- cursor?: Prisma.PaymentWhereUniqueInput;
1518
- take?: number;
1519
- skip?: number;
1520
- distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
1521
- };
1522
- /**
1523
- * PaymentInstallment without action
1524
- */
1525
- export type PaymentInstallmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1526
- /**
1527
- * Select specific fields to fetch from the PaymentInstallment
1528
- */
1529
- select?: Prisma.PaymentInstallmentSelect<ExtArgs> | null;
1530
- /**
1531
- * Omit specific fields from the PaymentInstallment
1532
- */
1533
- omit?: Prisma.PaymentInstallmentOmit<ExtArgs> | null;
1534
- /**
1535
- * Choose, which related nodes to fetch as well
1536
- */
1537
- include?: Prisma.PaymentInstallmentInclude<ExtArgs> | null;
1538
- };
1539
- export {};