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