@valentine-efagene/qshelter-common 2.0.93 → 2.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +16 -16
- package/dist/generated/client/client.d.ts +16 -16
- package/dist/generated/client/commonInputTypes.d.ts +72 -72
- package/dist/generated/client/enums.d.ts +13 -13
- package/dist/generated/client/enums.js +10 -10
- package/dist/generated/client/internal/class.d.ts +32 -32
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +328 -321
- package/dist/generated/client/internal/prismaNamespace.js +57 -50
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +73 -66
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +57 -50
- package/dist/generated/client/models/Application.d.ts +5439 -0
- package/dist/generated/client/models/Application.js +1 -0
- package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
- package/dist/generated/client/models/ApplicationDocument.js +1 -0
- package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
- package/dist/generated/client/models/ApplicationEvent.js +1 -0
- package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
- package/dist/generated/client/models/ApplicationPayment.js +1 -0
- package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
- package/dist/generated/client/models/ApplicationPhase.js +1 -0
- package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
- package/dist/generated/client/models/ApplicationRefund.js +1 -0
- package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
- package/dist/generated/client/models/ApplicationTermination.js +1 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
- package/dist/generated/client/models/OfferLetter.d.ts +97 -97
- package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
- package/dist/generated/client/models/PaymentInstallment.js +1 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
- package/dist/generated/client/models/PaymentPhase.d.ts +135 -41
- package/dist/generated/client/models/PaymentPlan.d.ts +259 -30
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
- package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
- package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
- package/dist/generated/client/models/Tenant.d.ts +323 -323
- package/dist/generated/client/models/User.d.ts +1329 -1329
- package/dist/generated/client/models/index.d.ts +8 -8
- package/dist/generated/client/models/index.js +8 -8
- package/dist/generated/client/models.d.ts +8 -8
- package/package.json +1 -1
- package/prisma/migrations/20260112041159_add_flexible_term_configuration/migration.sql +11 -0
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
- package/prisma/schema.prisma +123 -108
- package/prisma/schema.prisma.backup +2601 -0
|
@@ -0,0 +1,2560 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model ApplicationRefund
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type ApplicationRefundModel = runtime.Types.Result.DefaultSelection<Prisma.$ApplicationRefundPayload>;
|
|
9
|
+
export type AggregateApplicationRefund = {
|
|
10
|
+
_count: ApplicationRefundCountAggregateOutputType | null;
|
|
11
|
+
_avg: ApplicationRefundAvgAggregateOutputType | null;
|
|
12
|
+
_sum: ApplicationRefundSumAggregateOutputType | null;
|
|
13
|
+
_min: ApplicationRefundMinAggregateOutputType | null;
|
|
14
|
+
_max: ApplicationRefundMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type ApplicationRefundAvgAggregateOutputType = {
|
|
17
|
+
amount: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type ApplicationRefundSumAggregateOutputType = {
|
|
20
|
+
amount: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type ApplicationRefundMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
tenantId: string | null;
|
|
25
|
+
applicationId: string | null;
|
|
26
|
+
amount: number | null;
|
|
27
|
+
reason: string | null;
|
|
28
|
+
status: $Enums.RefundStatus | null;
|
|
29
|
+
requestedById: string | null;
|
|
30
|
+
approvedById: string | null;
|
|
31
|
+
processedById: string | null;
|
|
32
|
+
paymentMethod: string | null;
|
|
33
|
+
referenceNumber: string | null;
|
|
34
|
+
recipientName: string | null;
|
|
35
|
+
recipientAccount: string | null;
|
|
36
|
+
recipientBank: string | null;
|
|
37
|
+
requestedAt: Date | null;
|
|
38
|
+
approvedAt: Date | null;
|
|
39
|
+
rejectedAt: Date | null;
|
|
40
|
+
processedAt: Date | null;
|
|
41
|
+
approvalNotes: string | null;
|
|
42
|
+
rejectionNotes: string | null;
|
|
43
|
+
processingNotes: string | null;
|
|
44
|
+
createdAt: Date | null;
|
|
45
|
+
updatedAt: Date | null;
|
|
46
|
+
};
|
|
47
|
+
export type ApplicationRefundMaxAggregateOutputType = {
|
|
48
|
+
id: string | null;
|
|
49
|
+
tenantId: string | null;
|
|
50
|
+
applicationId: string | null;
|
|
51
|
+
amount: number | null;
|
|
52
|
+
reason: string | null;
|
|
53
|
+
status: $Enums.RefundStatus | null;
|
|
54
|
+
requestedById: string | null;
|
|
55
|
+
approvedById: string | null;
|
|
56
|
+
processedById: string | null;
|
|
57
|
+
paymentMethod: string | null;
|
|
58
|
+
referenceNumber: string | null;
|
|
59
|
+
recipientName: string | null;
|
|
60
|
+
recipientAccount: string | null;
|
|
61
|
+
recipientBank: string | null;
|
|
62
|
+
requestedAt: Date | null;
|
|
63
|
+
approvedAt: Date | null;
|
|
64
|
+
rejectedAt: Date | null;
|
|
65
|
+
processedAt: Date | null;
|
|
66
|
+
approvalNotes: string | null;
|
|
67
|
+
rejectionNotes: string | null;
|
|
68
|
+
processingNotes: string | null;
|
|
69
|
+
createdAt: Date | null;
|
|
70
|
+
updatedAt: Date | null;
|
|
71
|
+
};
|
|
72
|
+
export type ApplicationRefundCountAggregateOutputType = {
|
|
73
|
+
id: number;
|
|
74
|
+
tenantId: number;
|
|
75
|
+
applicationId: number;
|
|
76
|
+
amount: number;
|
|
77
|
+
reason: number;
|
|
78
|
+
status: number;
|
|
79
|
+
requestedById: number;
|
|
80
|
+
approvedById: number;
|
|
81
|
+
processedById: number;
|
|
82
|
+
paymentMethod: number;
|
|
83
|
+
referenceNumber: number;
|
|
84
|
+
recipientName: number;
|
|
85
|
+
recipientAccount: number;
|
|
86
|
+
recipientBank: number;
|
|
87
|
+
requestedAt: number;
|
|
88
|
+
approvedAt: number;
|
|
89
|
+
rejectedAt: number;
|
|
90
|
+
processedAt: number;
|
|
91
|
+
approvalNotes: number;
|
|
92
|
+
rejectionNotes: number;
|
|
93
|
+
processingNotes: number;
|
|
94
|
+
createdAt: number;
|
|
95
|
+
updatedAt: number;
|
|
96
|
+
_all: number;
|
|
97
|
+
};
|
|
98
|
+
export type ApplicationRefundAvgAggregateInputType = {
|
|
99
|
+
amount?: true;
|
|
100
|
+
};
|
|
101
|
+
export type ApplicationRefundSumAggregateInputType = {
|
|
102
|
+
amount?: true;
|
|
103
|
+
};
|
|
104
|
+
export type ApplicationRefundMinAggregateInputType = {
|
|
105
|
+
id?: true;
|
|
106
|
+
tenantId?: true;
|
|
107
|
+
applicationId?: true;
|
|
108
|
+
amount?: true;
|
|
109
|
+
reason?: true;
|
|
110
|
+
status?: true;
|
|
111
|
+
requestedById?: true;
|
|
112
|
+
approvedById?: true;
|
|
113
|
+
processedById?: true;
|
|
114
|
+
paymentMethod?: true;
|
|
115
|
+
referenceNumber?: true;
|
|
116
|
+
recipientName?: true;
|
|
117
|
+
recipientAccount?: true;
|
|
118
|
+
recipientBank?: true;
|
|
119
|
+
requestedAt?: true;
|
|
120
|
+
approvedAt?: true;
|
|
121
|
+
rejectedAt?: true;
|
|
122
|
+
processedAt?: true;
|
|
123
|
+
approvalNotes?: true;
|
|
124
|
+
rejectionNotes?: true;
|
|
125
|
+
processingNotes?: true;
|
|
126
|
+
createdAt?: true;
|
|
127
|
+
updatedAt?: true;
|
|
128
|
+
};
|
|
129
|
+
export type ApplicationRefundMaxAggregateInputType = {
|
|
130
|
+
id?: true;
|
|
131
|
+
tenantId?: true;
|
|
132
|
+
applicationId?: true;
|
|
133
|
+
amount?: true;
|
|
134
|
+
reason?: true;
|
|
135
|
+
status?: true;
|
|
136
|
+
requestedById?: true;
|
|
137
|
+
approvedById?: true;
|
|
138
|
+
processedById?: true;
|
|
139
|
+
paymentMethod?: true;
|
|
140
|
+
referenceNumber?: true;
|
|
141
|
+
recipientName?: true;
|
|
142
|
+
recipientAccount?: true;
|
|
143
|
+
recipientBank?: true;
|
|
144
|
+
requestedAt?: true;
|
|
145
|
+
approvedAt?: true;
|
|
146
|
+
rejectedAt?: true;
|
|
147
|
+
processedAt?: true;
|
|
148
|
+
approvalNotes?: true;
|
|
149
|
+
rejectionNotes?: true;
|
|
150
|
+
processingNotes?: true;
|
|
151
|
+
createdAt?: true;
|
|
152
|
+
updatedAt?: true;
|
|
153
|
+
};
|
|
154
|
+
export type ApplicationRefundCountAggregateInputType = {
|
|
155
|
+
id?: true;
|
|
156
|
+
tenantId?: true;
|
|
157
|
+
applicationId?: true;
|
|
158
|
+
amount?: true;
|
|
159
|
+
reason?: true;
|
|
160
|
+
status?: true;
|
|
161
|
+
requestedById?: true;
|
|
162
|
+
approvedById?: true;
|
|
163
|
+
processedById?: true;
|
|
164
|
+
paymentMethod?: true;
|
|
165
|
+
referenceNumber?: true;
|
|
166
|
+
recipientName?: true;
|
|
167
|
+
recipientAccount?: true;
|
|
168
|
+
recipientBank?: true;
|
|
169
|
+
requestedAt?: true;
|
|
170
|
+
approvedAt?: true;
|
|
171
|
+
rejectedAt?: true;
|
|
172
|
+
processedAt?: true;
|
|
173
|
+
approvalNotes?: true;
|
|
174
|
+
rejectionNotes?: true;
|
|
175
|
+
processingNotes?: true;
|
|
176
|
+
createdAt?: true;
|
|
177
|
+
updatedAt?: true;
|
|
178
|
+
_all?: true;
|
|
179
|
+
};
|
|
180
|
+
export type ApplicationRefundAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
+
/**
|
|
182
|
+
* Filter which ApplicationRefund to aggregate.
|
|
183
|
+
*/
|
|
184
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
187
|
+
*
|
|
188
|
+
* Determine the order of ApplicationRefunds to fetch.
|
|
189
|
+
*/
|
|
190
|
+
orderBy?: Prisma.ApplicationRefundOrderByWithRelationInput | Prisma.ApplicationRefundOrderByWithRelationInput[];
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
193
|
+
*
|
|
194
|
+
* Sets the start position
|
|
195
|
+
*/
|
|
196
|
+
cursor?: Prisma.ApplicationRefundWhereUniqueInput;
|
|
197
|
+
/**
|
|
198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
199
|
+
*
|
|
200
|
+
* Take `±n` ApplicationRefunds from the position of the cursor.
|
|
201
|
+
*/
|
|
202
|
+
take?: number;
|
|
203
|
+
/**
|
|
204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
205
|
+
*
|
|
206
|
+
* Skip the first `n` ApplicationRefunds.
|
|
207
|
+
*/
|
|
208
|
+
skip?: number;
|
|
209
|
+
/**
|
|
210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
211
|
+
*
|
|
212
|
+
* Count returned ApplicationRefunds
|
|
213
|
+
**/
|
|
214
|
+
_count?: true | ApplicationRefundCountAggregateInputType;
|
|
215
|
+
/**
|
|
216
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
217
|
+
*
|
|
218
|
+
* Select which fields to average
|
|
219
|
+
**/
|
|
220
|
+
_avg?: ApplicationRefundAvgAggregateInputType;
|
|
221
|
+
/**
|
|
222
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
223
|
+
*
|
|
224
|
+
* Select which fields to sum
|
|
225
|
+
**/
|
|
226
|
+
_sum?: ApplicationRefundSumAggregateInputType;
|
|
227
|
+
/**
|
|
228
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
229
|
+
*
|
|
230
|
+
* Select which fields to find the minimum value
|
|
231
|
+
**/
|
|
232
|
+
_min?: ApplicationRefundMinAggregateInputType;
|
|
233
|
+
/**
|
|
234
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
235
|
+
*
|
|
236
|
+
* Select which fields to find the maximum value
|
|
237
|
+
**/
|
|
238
|
+
_max?: ApplicationRefundMaxAggregateInputType;
|
|
239
|
+
};
|
|
240
|
+
export type GetApplicationRefundAggregateType<T extends ApplicationRefundAggregateArgs> = {
|
|
241
|
+
[P in keyof T & keyof AggregateApplicationRefund]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateApplicationRefund[P]> : Prisma.GetScalarType<T[P], AggregateApplicationRefund[P]>;
|
|
242
|
+
};
|
|
243
|
+
export type ApplicationRefundGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
244
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
245
|
+
orderBy?: Prisma.ApplicationRefundOrderByWithAggregationInput | Prisma.ApplicationRefundOrderByWithAggregationInput[];
|
|
246
|
+
by: Prisma.ApplicationRefundScalarFieldEnum[] | Prisma.ApplicationRefundScalarFieldEnum;
|
|
247
|
+
having?: Prisma.ApplicationRefundScalarWhereWithAggregatesInput;
|
|
248
|
+
take?: number;
|
|
249
|
+
skip?: number;
|
|
250
|
+
_count?: ApplicationRefundCountAggregateInputType | true;
|
|
251
|
+
_avg?: ApplicationRefundAvgAggregateInputType;
|
|
252
|
+
_sum?: ApplicationRefundSumAggregateInputType;
|
|
253
|
+
_min?: ApplicationRefundMinAggregateInputType;
|
|
254
|
+
_max?: ApplicationRefundMaxAggregateInputType;
|
|
255
|
+
};
|
|
256
|
+
export type ApplicationRefundGroupByOutputType = {
|
|
257
|
+
id: string;
|
|
258
|
+
tenantId: string;
|
|
259
|
+
applicationId: string;
|
|
260
|
+
amount: number;
|
|
261
|
+
reason: string;
|
|
262
|
+
status: $Enums.RefundStatus;
|
|
263
|
+
requestedById: string;
|
|
264
|
+
approvedById: string | null;
|
|
265
|
+
processedById: string | null;
|
|
266
|
+
paymentMethod: string | null;
|
|
267
|
+
referenceNumber: string | null;
|
|
268
|
+
recipientName: string | null;
|
|
269
|
+
recipientAccount: string | null;
|
|
270
|
+
recipientBank: string | null;
|
|
271
|
+
requestedAt: Date;
|
|
272
|
+
approvedAt: Date | null;
|
|
273
|
+
rejectedAt: Date | null;
|
|
274
|
+
processedAt: Date | null;
|
|
275
|
+
approvalNotes: string | null;
|
|
276
|
+
rejectionNotes: string | null;
|
|
277
|
+
processingNotes: string | null;
|
|
278
|
+
createdAt: Date;
|
|
279
|
+
updatedAt: Date;
|
|
280
|
+
_count: ApplicationRefundCountAggregateOutputType | null;
|
|
281
|
+
_avg: ApplicationRefundAvgAggregateOutputType | null;
|
|
282
|
+
_sum: ApplicationRefundSumAggregateOutputType | null;
|
|
283
|
+
_min: ApplicationRefundMinAggregateOutputType | null;
|
|
284
|
+
_max: ApplicationRefundMaxAggregateOutputType | null;
|
|
285
|
+
};
|
|
286
|
+
type GetApplicationRefundGroupByPayload<T extends ApplicationRefundGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ApplicationRefundGroupByOutputType, T['by']> & {
|
|
287
|
+
[P in ((keyof T) & (keyof ApplicationRefundGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ApplicationRefundGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ApplicationRefundGroupByOutputType[P]>;
|
|
288
|
+
}>>;
|
|
289
|
+
export type ApplicationRefundWhereInput = {
|
|
290
|
+
AND?: Prisma.ApplicationRefundWhereInput | Prisma.ApplicationRefundWhereInput[];
|
|
291
|
+
OR?: Prisma.ApplicationRefundWhereInput[];
|
|
292
|
+
NOT?: Prisma.ApplicationRefundWhereInput | Prisma.ApplicationRefundWhereInput[];
|
|
293
|
+
id?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
294
|
+
tenantId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
295
|
+
applicationId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
296
|
+
amount?: Prisma.FloatFilter<"ApplicationRefund"> | number;
|
|
297
|
+
reason?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
298
|
+
status?: Prisma.EnumRefundStatusFilter<"ApplicationRefund"> | $Enums.RefundStatus;
|
|
299
|
+
requestedById?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
300
|
+
approvedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
301
|
+
processedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
302
|
+
paymentMethod?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
303
|
+
referenceNumber?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
304
|
+
recipientName?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
305
|
+
recipientAccount?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
306
|
+
recipientBank?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
307
|
+
requestedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
308
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
309
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
310
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
311
|
+
approvalNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
312
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
313
|
+
processingNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
314
|
+
createdAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
315
|
+
updatedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
316
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
317
|
+
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
318
|
+
requestedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
319
|
+
approvedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
320
|
+
processedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
321
|
+
};
|
|
322
|
+
export type ApplicationRefundOrderByWithRelationInput = {
|
|
323
|
+
id?: Prisma.SortOrder;
|
|
324
|
+
tenantId?: Prisma.SortOrder;
|
|
325
|
+
applicationId?: Prisma.SortOrder;
|
|
326
|
+
amount?: Prisma.SortOrder;
|
|
327
|
+
reason?: Prisma.SortOrder;
|
|
328
|
+
status?: Prisma.SortOrder;
|
|
329
|
+
requestedById?: Prisma.SortOrder;
|
|
330
|
+
approvedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
|
+
processedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
332
|
+
paymentMethod?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
333
|
+
referenceNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
334
|
+
recipientName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
335
|
+
recipientAccount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
336
|
+
recipientBank?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
337
|
+
requestedAt?: Prisma.SortOrder;
|
|
338
|
+
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
339
|
+
rejectedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
340
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
341
|
+
approvalNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
+
rejectionNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
343
|
+
processingNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
344
|
+
createdAt?: Prisma.SortOrder;
|
|
345
|
+
updatedAt?: Prisma.SortOrder;
|
|
346
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
347
|
+
application?: Prisma.ApplicationOrderByWithRelationInput;
|
|
348
|
+
requestedBy?: Prisma.UserOrderByWithRelationInput;
|
|
349
|
+
approvedBy?: Prisma.UserOrderByWithRelationInput;
|
|
350
|
+
processedBy?: Prisma.UserOrderByWithRelationInput;
|
|
351
|
+
_relevance?: Prisma.ApplicationRefundOrderByRelevanceInput;
|
|
352
|
+
};
|
|
353
|
+
export type ApplicationRefundWhereUniqueInput = Prisma.AtLeast<{
|
|
354
|
+
id?: string;
|
|
355
|
+
AND?: Prisma.ApplicationRefundWhereInput | Prisma.ApplicationRefundWhereInput[];
|
|
356
|
+
OR?: Prisma.ApplicationRefundWhereInput[];
|
|
357
|
+
NOT?: Prisma.ApplicationRefundWhereInput | Prisma.ApplicationRefundWhereInput[];
|
|
358
|
+
tenantId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
359
|
+
applicationId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
360
|
+
amount?: Prisma.FloatFilter<"ApplicationRefund"> | number;
|
|
361
|
+
reason?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
362
|
+
status?: Prisma.EnumRefundStatusFilter<"ApplicationRefund"> | $Enums.RefundStatus;
|
|
363
|
+
requestedById?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
364
|
+
approvedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
365
|
+
processedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
366
|
+
paymentMethod?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
367
|
+
referenceNumber?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
368
|
+
recipientName?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
369
|
+
recipientAccount?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
370
|
+
recipientBank?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
371
|
+
requestedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
372
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
373
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
374
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
375
|
+
approvalNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
376
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
377
|
+
processingNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
378
|
+
createdAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
379
|
+
updatedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
380
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
381
|
+
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
382
|
+
requestedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
383
|
+
approvedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
384
|
+
processedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
385
|
+
}, "id">;
|
|
386
|
+
export type ApplicationRefundOrderByWithAggregationInput = {
|
|
387
|
+
id?: Prisma.SortOrder;
|
|
388
|
+
tenantId?: Prisma.SortOrder;
|
|
389
|
+
applicationId?: Prisma.SortOrder;
|
|
390
|
+
amount?: Prisma.SortOrder;
|
|
391
|
+
reason?: Prisma.SortOrder;
|
|
392
|
+
status?: Prisma.SortOrder;
|
|
393
|
+
requestedById?: Prisma.SortOrder;
|
|
394
|
+
approvedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
395
|
+
processedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
396
|
+
paymentMethod?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
397
|
+
referenceNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
398
|
+
recipientName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
399
|
+
recipientAccount?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
400
|
+
recipientBank?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
401
|
+
requestedAt?: Prisma.SortOrder;
|
|
402
|
+
approvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
403
|
+
rejectedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
404
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
405
|
+
approvalNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
406
|
+
rejectionNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
407
|
+
processingNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
408
|
+
createdAt?: Prisma.SortOrder;
|
|
409
|
+
updatedAt?: Prisma.SortOrder;
|
|
410
|
+
_count?: Prisma.ApplicationRefundCountOrderByAggregateInput;
|
|
411
|
+
_avg?: Prisma.ApplicationRefundAvgOrderByAggregateInput;
|
|
412
|
+
_max?: Prisma.ApplicationRefundMaxOrderByAggregateInput;
|
|
413
|
+
_min?: Prisma.ApplicationRefundMinOrderByAggregateInput;
|
|
414
|
+
_sum?: Prisma.ApplicationRefundSumOrderByAggregateInput;
|
|
415
|
+
};
|
|
416
|
+
export type ApplicationRefundScalarWhereWithAggregatesInput = {
|
|
417
|
+
AND?: Prisma.ApplicationRefundScalarWhereWithAggregatesInput | Prisma.ApplicationRefundScalarWhereWithAggregatesInput[];
|
|
418
|
+
OR?: Prisma.ApplicationRefundScalarWhereWithAggregatesInput[];
|
|
419
|
+
NOT?: Prisma.ApplicationRefundScalarWhereWithAggregatesInput | Prisma.ApplicationRefundScalarWhereWithAggregatesInput[];
|
|
420
|
+
id?: Prisma.StringWithAggregatesFilter<"ApplicationRefund"> | string;
|
|
421
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"ApplicationRefund"> | string;
|
|
422
|
+
applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationRefund"> | string;
|
|
423
|
+
amount?: Prisma.FloatWithAggregatesFilter<"ApplicationRefund"> | number;
|
|
424
|
+
reason?: Prisma.StringWithAggregatesFilter<"ApplicationRefund"> | string;
|
|
425
|
+
status?: Prisma.EnumRefundStatusWithAggregatesFilter<"ApplicationRefund"> | $Enums.RefundStatus;
|
|
426
|
+
requestedById?: Prisma.StringWithAggregatesFilter<"ApplicationRefund"> | string;
|
|
427
|
+
approvedById?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
428
|
+
processedById?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
429
|
+
paymentMethod?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
430
|
+
referenceNumber?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
431
|
+
recipientName?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
432
|
+
recipientAccount?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
433
|
+
recipientBank?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
434
|
+
requestedAt?: Prisma.DateTimeWithAggregatesFilter<"ApplicationRefund"> | Date | string;
|
|
435
|
+
approvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApplicationRefund"> | Date | string | null;
|
|
436
|
+
rejectedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApplicationRefund"> | Date | string | null;
|
|
437
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ApplicationRefund"> | Date | string | null;
|
|
438
|
+
approvalNotes?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
439
|
+
rejectionNotes?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
440
|
+
processingNotes?: Prisma.StringNullableWithAggregatesFilter<"ApplicationRefund"> | string | null;
|
|
441
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ApplicationRefund"> | Date | string;
|
|
442
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ApplicationRefund"> | Date | string;
|
|
443
|
+
};
|
|
444
|
+
export type ApplicationRefundCreateInput = {
|
|
445
|
+
id?: string;
|
|
446
|
+
amount: number;
|
|
447
|
+
reason: string;
|
|
448
|
+
status?: $Enums.RefundStatus;
|
|
449
|
+
paymentMethod?: string | null;
|
|
450
|
+
referenceNumber?: string | null;
|
|
451
|
+
recipientName?: string | null;
|
|
452
|
+
recipientAccount?: string | null;
|
|
453
|
+
recipientBank?: string | null;
|
|
454
|
+
requestedAt?: Date | string;
|
|
455
|
+
approvedAt?: Date | string | null;
|
|
456
|
+
rejectedAt?: Date | string | null;
|
|
457
|
+
processedAt?: Date | string | null;
|
|
458
|
+
approvalNotes?: string | null;
|
|
459
|
+
rejectionNotes?: string | null;
|
|
460
|
+
processingNotes?: string | null;
|
|
461
|
+
createdAt?: Date | string;
|
|
462
|
+
updatedAt?: Date | string;
|
|
463
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractRefundsInput;
|
|
464
|
+
application: Prisma.ApplicationCreateNestedOneWithoutRefundsInput;
|
|
465
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
466
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
467
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
468
|
+
};
|
|
469
|
+
export type ApplicationRefundUncheckedCreateInput = {
|
|
470
|
+
id?: string;
|
|
471
|
+
tenantId: string;
|
|
472
|
+
applicationId: string;
|
|
473
|
+
amount: number;
|
|
474
|
+
reason: string;
|
|
475
|
+
status?: $Enums.RefundStatus;
|
|
476
|
+
requestedById: string;
|
|
477
|
+
approvedById?: string | null;
|
|
478
|
+
processedById?: string | null;
|
|
479
|
+
paymentMethod?: string | null;
|
|
480
|
+
referenceNumber?: string | null;
|
|
481
|
+
recipientName?: string | null;
|
|
482
|
+
recipientAccount?: string | null;
|
|
483
|
+
recipientBank?: string | null;
|
|
484
|
+
requestedAt?: Date | string;
|
|
485
|
+
approvedAt?: Date | string | null;
|
|
486
|
+
rejectedAt?: Date | string | null;
|
|
487
|
+
processedAt?: Date | string | null;
|
|
488
|
+
approvalNotes?: string | null;
|
|
489
|
+
rejectionNotes?: string | null;
|
|
490
|
+
processingNotes?: string | null;
|
|
491
|
+
createdAt?: Date | string;
|
|
492
|
+
updatedAt?: Date | string;
|
|
493
|
+
};
|
|
494
|
+
export type ApplicationRefundUpdateInput = {
|
|
495
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
496
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
497
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
498
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
499
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
500
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
502
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
504
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
506
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
507
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
508
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
509
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
510
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
511
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
512
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractRefundsNestedInput;
|
|
514
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutRefundsNestedInput;
|
|
515
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
516
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
517
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
518
|
+
};
|
|
519
|
+
export type ApplicationRefundUncheckedUpdateInput = {
|
|
520
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
522
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
524
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
525
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
526
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
527
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
528
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
529
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
530
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
531
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
532
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
533
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
534
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
535
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
536
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
537
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
538
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
539
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
540
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
541
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
542
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
543
|
+
};
|
|
544
|
+
export type ApplicationRefundCreateManyInput = {
|
|
545
|
+
id?: string;
|
|
546
|
+
tenantId: string;
|
|
547
|
+
applicationId: string;
|
|
548
|
+
amount: number;
|
|
549
|
+
reason: string;
|
|
550
|
+
status?: $Enums.RefundStatus;
|
|
551
|
+
requestedById: string;
|
|
552
|
+
approvedById?: string | null;
|
|
553
|
+
processedById?: string | null;
|
|
554
|
+
paymentMethod?: string | null;
|
|
555
|
+
referenceNumber?: string | null;
|
|
556
|
+
recipientName?: string | null;
|
|
557
|
+
recipientAccount?: string | null;
|
|
558
|
+
recipientBank?: string | null;
|
|
559
|
+
requestedAt?: Date | string;
|
|
560
|
+
approvedAt?: Date | string | null;
|
|
561
|
+
rejectedAt?: Date | string | null;
|
|
562
|
+
processedAt?: Date | string | null;
|
|
563
|
+
approvalNotes?: string | null;
|
|
564
|
+
rejectionNotes?: string | null;
|
|
565
|
+
processingNotes?: string | null;
|
|
566
|
+
createdAt?: Date | string;
|
|
567
|
+
updatedAt?: Date | string;
|
|
568
|
+
};
|
|
569
|
+
export type ApplicationRefundUpdateManyMutationInput = {
|
|
570
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
571
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
572
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
573
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
574
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
575
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
576
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
577
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
578
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
579
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
580
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
581
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
582
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
583
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
584
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
585
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
586
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
587
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
588
|
+
};
|
|
589
|
+
export type ApplicationRefundUncheckedUpdateManyInput = {
|
|
590
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
591
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
592
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
593
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
594
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
595
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
596
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
598
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
599
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
600
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
601
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
602
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
603
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
604
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
605
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
606
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
607
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
608
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
609
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
610
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
611
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
612
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
613
|
+
};
|
|
614
|
+
export type ApplicationRefundListRelationFilter = {
|
|
615
|
+
every?: Prisma.ApplicationRefundWhereInput;
|
|
616
|
+
some?: Prisma.ApplicationRefundWhereInput;
|
|
617
|
+
none?: Prisma.ApplicationRefundWhereInput;
|
|
618
|
+
};
|
|
619
|
+
export type ApplicationRefundOrderByRelationAggregateInput = {
|
|
620
|
+
_count?: Prisma.SortOrder;
|
|
621
|
+
};
|
|
622
|
+
export type ApplicationRefundOrderByRelevanceInput = {
|
|
623
|
+
fields: Prisma.ApplicationRefundOrderByRelevanceFieldEnum | Prisma.ApplicationRefundOrderByRelevanceFieldEnum[];
|
|
624
|
+
sort: Prisma.SortOrder;
|
|
625
|
+
search: string;
|
|
626
|
+
};
|
|
627
|
+
export type ApplicationRefundCountOrderByAggregateInput = {
|
|
628
|
+
id?: Prisma.SortOrder;
|
|
629
|
+
tenantId?: Prisma.SortOrder;
|
|
630
|
+
applicationId?: Prisma.SortOrder;
|
|
631
|
+
amount?: Prisma.SortOrder;
|
|
632
|
+
reason?: Prisma.SortOrder;
|
|
633
|
+
status?: Prisma.SortOrder;
|
|
634
|
+
requestedById?: Prisma.SortOrder;
|
|
635
|
+
approvedById?: Prisma.SortOrder;
|
|
636
|
+
processedById?: Prisma.SortOrder;
|
|
637
|
+
paymentMethod?: Prisma.SortOrder;
|
|
638
|
+
referenceNumber?: Prisma.SortOrder;
|
|
639
|
+
recipientName?: Prisma.SortOrder;
|
|
640
|
+
recipientAccount?: Prisma.SortOrder;
|
|
641
|
+
recipientBank?: Prisma.SortOrder;
|
|
642
|
+
requestedAt?: Prisma.SortOrder;
|
|
643
|
+
approvedAt?: Prisma.SortOrder;
|
|
644
|
+
rejectedAt?: Prisma.SortOrder;
|
|
645
|
+
processedAt?: Prisma.SortOrder;
|
|
646
|
+
approvalNotes?: Prisma.SortOrder;
|
|
647
|
+
rejectionNotes?: Prisma.SortOrder;
|
|
648
|
+
processingNotes?: Prisma.SortOrder;
|
|
649
|
+
createdAt?: Prisma.SortOrder;
|
|
650
|
+
updatedAt?: Prisma.SortOrder;
|
|
651
|
+
};
|
|
652
|
+
export type ApplicationRefundAvgOrderByAggregateInput = {
|
|
653
|
+
amount?: Prisma.SortOrder;
|
|
654
|
+
};
|
|
655
|
+
export type ApplicationRefundMaxOrderByAggregateInput = {
|
|
656
|
+
id?: Prisma.SortOrder;
|
|
657
|
+
tenantId?: Prisma.SortOrder;
|
|
658
|
+
applicationId?: Prisma.SortOrder;
|
|
659
|
+
amount?: Prisma.SortOrder;
|
|
660
|
+
reason?: Prisma.SortOrder;
|
|
661
|
+
status?: Prisma.SortOrder;
|
|
662
|
+
requestedById?: Prisma.SortOrder;
|
|
663
|
+
approvedById?: Prisma.SortOrder;
|
|
664
|
+
processedById?: Prisma.SortOrder;
|
|
665
|
+
paymentMethod?: Prisma.SortOrder;
|
|
666
|
+
referenceNumber?: Prisma.SortOrder;
|
|
667
|
+
recipientName?: Prisma.SortOrder;
|
|
668
|
+
recipientAccount?: Prisma.SortOrder;
|
|
669
|
+
recipientBank?: Prisma.SortOrder;
|
|
670
|
+
requestedAt?: Prisma.SortOrder;
|
|
671
|
+
approvedAt?: Prisma.SortOrder;
|
|
672
|
+
rejectedAt?: Prisma.SortOrder;
|
|
673
|
+
processedAt?: Prisma.SortOrder;
|
|
674
|
+
approvalNotes?: Prisma.SortOrder;
|
|
675
|
+
rejectionNotes?: Prisma.SortOrder;
|
|
676
|
+
processingNotes?: Prisma.SortOrder;
|
|
677
|
+
createdAt?: Prisma.SortOrder;
|
|
678
|
+
updatedAt?: Prisma.SortOrder;
|
|
679
|
+
};
|
|
680
|
+
export type ApplicationRefundMinOrderByAggregateInput = {
|
|
681
|
+
id?: Prisma.SortOrder;
|
|
682
|
+
tenantId?: Prisma.SortOrder;
|
|
683
|
+
applicationId?: Prisma.SortOrder;
|
|
684
|
+
amount?: Prisma.SortOrder;
|
|
685
|
+
reason?: Prisma.SortOrder;
|
|
686
|
+
status?: Prisma.SortOrder;
|
|
687
|
+
requestedById?: Prisma.SortOrder;
|
|
688
|
+
approvedById?: Prisma.SortOrder;
|
|
689
|
+
processedById?: Prisma.SortOrder;
|
|
690
|
+
paymentMethod?: Prisma.SortOrder;
|
|
691
|
+
referenceNumber?: Prisma.SortOrder;
|
|
692
|
+
recipientName?: Prisma.SortOrder;
|
|
693
|
+
recipientAccount?: Prisma.SortOrder;
|
|
694
|
+
recipientBank?: Prisma.SortOrder;
|
|
695
|
+
requestedAt?: Prisma.SortOrder;
|
|
696
|
+
approvedAt?: Prisma.SortOrder;
|
|
697
|
+
rejectedAt?: Prisma.SortOrder;
|
|
698
|
+
processedAt?: Prisma.SortOrder;
|
|
699
|
+
approvalNotes?: Prisma.SortOrder;
|
|
700
|
+
rejectionNotes?: Prisma.SortOrder;
|
|
701
|
+
processingNotes?: Prisma.SortOrder;
|
|
702
|
+
createdAt?: Prisma.SortOrder;
|
|
703
|
+
updatedAt?: Prisma.SortOrder;
|
|
704
|
+
};
|
|
705
|
+
export type ApplicationRefundSumOrderByAggregateInput = {
|
|
706
|
+
amount?: Prisma.SortOrder;
|
|
707
|
+
};
|
|
708
|
+
export type ApplicationRefundCreateNestedManyWithoutRequestedByInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ApplicationRefundCreateWithoutRequestedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput[];
|
|
710
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput[];
|
|
711
|
+
createMany?: Prisma.ApplicationRefundCreateManyRequestedByInputEnvelope;
|
|
712
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
713
|
+
};
|
|
714
|
+
export type ApplicationRefundCreateNestedManyWithoutApprovedByInput = {
|
|
715
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ApplicationRefundCreateWithoutApprovedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput[];
|
|
716
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput[];
|
|
717
|
+
createMany?: Prisma.ApplicationRefundCreateManyApprovedByInputEnvelope;
|
|
718
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
719
|
+
};
|
|
720
|
+
export type ApplicationRefundCreateNestedManyWithoutProcessedByInput = {
|
|
721
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ApplicationRefundCreateWithoutProcessedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput[];
|
|
722
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput[];
|
|
723
|
+
createMany?: Prisma.ApplicationRefundCreateManyProcessedByInputEnvelope;
|
|
724
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
725
|
+
};
|
|
726
|
+
export type ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput = {
|
|
727
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ApplicationRefundCreateWithoutRequestedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput[];
|
|
728
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput[];
|
|
729
|
+
createMany?: Prisma.ApplicationRefundCreateManyRequestedByInputEnvelope;
|
|
730
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
731
|
+
};
|
|
732
|
+
export type ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput = {
|
|
733
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ApplicationRefundCreateWithoutApprovedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput[];
|
|
734
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput[];
|
|
735
|
+
createMany?: Prisma.ApplicationRefundCreateManyApprovedByInputEnvelope;
|
|
736
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
737
|
+
};
|
|
738
|
+
export type ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput = {
|
|
739
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ApplicationRefundCreateWithoutProcessedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput[];
|
|
740
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput[];
|
|
741
|
+
createMany?: Prisma.ApplicationRefundCreateManyProcessedByInputEnvelope;
|
|
742
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
743
|
+
};
|
|
744
|
+
export type ApplicationRefundUpdateManyWithoutRequestedByNestedInput = {
|
|
745
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ApplicationRefundCreateWithoutRequestedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput[];
|
|
746
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput[];
|
|
747
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutRequestedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutRequestedByInput[];
|
|
748
|
+
createMany?: Prisma.ApplicationRefundCreateManyRequestedByInputEnvelope;
|
|
749
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
750
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
751
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
752
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
753
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutRequestedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutRequestedByInput[];
|
|
754
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutRequestedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutRequestedByInput[];
|
|
755
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
756
|
+
};
|
|
757
|
+
export type ApplicationRefundUpdateManyWithoutApprovedByNestedInput = {
|
|
758
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ApplicationRefundCreateWithoutApprovedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput[];
|
|
759
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput[];
|
|
760
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApprovedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApprovedByInput[];
|
|
761
|
+
createMany?: Prisma.ApplicationRefundCreateManyApprovedByInputEnvelope;
|
|
762
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
763
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
764
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
765
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
766
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApprovedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApprovedByInput[];
|
|
767
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutApprovedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutApprovedByInput[];
|
|
768
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
769
|
+
};
|
|
770
|
+
export type ApplicationRefundUpdateManyWithoutProcessedByNestedInput = {
|
|
771
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ApplicationRefundCreateWithoutProcessedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput[];
|
|
772
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput[];
|
|
773
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutProcessedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutProcessedByInput[];
|
|
774
|
+
createMany?: Prisma.ApplicationRefundCreateManyProcessedByInputEnvelope;
|
|
775
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
776
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
777
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
778
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
779
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutProcessedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutProcessedByInput[];
|
|
780
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutProcessedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutProcessedByInput[];
|
|
781
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
782
|
+
};
|
|
783
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput = {
|
|
784
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ApplicationRefundCreateWithoutRequestedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput[];
|
|
785
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutRequestedByInput[];
|
|
786
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutRequestedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutRequestedByInput[];
|
|
787
|
+
createMany?: Prisma.ApplicationRefundCreateManyRequestedByInputEnvelope;
|
|
788
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
789
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
790
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
791
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
792
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutRequestedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutRequestedByInput[];
|
|
793
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutRequestedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutRequestedByInput[];
|
|
794
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
795
|
+
};
|
|
796
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput = {
|
|
797
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ApplicationRefundCreateWithoutApprovedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput[];
|
|
798
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutApprovedByInput[];
|
|
799
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApprovedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApprovedByInput[];
|
|
800
|
+
createMany?: Prisma.ApplicationRefundCreateManyApprovedByInputEnvelope;
|
|
801
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
802
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
803
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
804
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
805
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApprovedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApprovedByInput[];
|
|
806
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutApprovedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutApprovedByInput[];
|
|
807
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
808
|
+
};
|
|
809
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput = {
|
|
810
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ApplicationRefundCreateWithoutProcessedByInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput[];
|
|
811
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput | Prisma.ApplicationRefundCreateOrConnectWithoutProcessedByInput[];
|
|
812
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutProcessedByInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutProcessedByInput[];
|
|
813
|
+
createMany?: Prisma.ApplicationRefundCreateManyProcessedByInputEnvelope;
|
|
814
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
815
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
816
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
817
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
818
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutProcessedByInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutProcessedByInput[];
|
|
819
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutProcessedByInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutProcessedByInput[];
|
|
820
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
821
|
+
};
|
|
822
|
+
export type ApplicationRefundCreateNestedManyWithoutTenantInput = {
|
|
823
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput> | Prisma.ApplicationRefundCreateWithoutTenantInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput[];
|
|
824
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput | Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput[];
|
|
825
|
+
createMany?: Prisma.ApplicationRefundCreateManyTenantInputEnvelope;
|
|
826
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
827
|
+
};
|
|
828
|
+
export type ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput = {
|
|
829
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput> | Prisma.ApplicationRefundCreateWithoutTenantInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput[];
|
|
830
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput | Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput[];
|
|
831
|
+
createMany?: Prisma.ApplicationRefundCreateManyTenantInputEnvelope;
|
|
832
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
833
|
+
};
|
|
834
|
+
export type ApplicationRefundUpdateManyWithoutTenantNestedInput = {
|
|
835
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput> | Prisma.ApplicationRefundCreateWithoutTenantInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput[];
|
|
836
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput | Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput[];
|
|
837
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutTenantInput[];
|
|
838
|
+
createMany?: Prisma.ApplicationRefundCreateManyTenantInputEnvelope;
|
|
839
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
840
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
841
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
842
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
843
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutTenantInput[];
|
|
844
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutTenantInput[];
|
|
845
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
846
|
+
};
|
|
847
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
848
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput> | Prisma.ApplicationRefundCreateWithoutTenantInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput[];
|
|
849
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput | Prisma.ApplicationRefundCreateOrConnectWithoutTenantInput[];
|
|
850
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutTenantInput[];
|
|
851
|
+
createMany?: Prisma.ApplicationRefundCreateManyTenantInputEnvelope;
|
|
852
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
853
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
854
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
855
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
856
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutTenantInput[];
|
|
857
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutTenantInput[];
|
|
858
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
859
|
+
};
|
|
860
|
+
export type ApplicationRefundCreateNestedManyWithoutApplicationInput = {
|
|
861
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationRefundCreateWithoutApplicationInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput[];
|
|
862
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput | Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput[];
|
|
863
|
+
createMany?: Prisma.ApplicationRefundCreateManyApplicationInputEnvelope;
|
|
864
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
865
|
+
};
|
|
866
|
+
export type ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput = {
|
|
867
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationRefundCreateWithoutApplicationInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput[];
|
|
868
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput | Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput[];
|
|
869
|
+
createMany?: Prisma.ApplicationRefundCreateManyApplicationInputEnvelope;
|
|
870
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
871
|
+
};
|
|
872
|
+
export type ApplicationRefundUpdateManyWithoutApplicationNestedInput = {
|
|
873
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationRefundCreateWithoutApplicationInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput[];
|
|
874
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput | Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput[];
|
|
875
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApplicationInput[];
|
|
876
|
+
createMany?: Prisma.ApplicationRefundCreateManyApplicationInputEnvelope;
|
|
877
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
878
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
879
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
880
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
881
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApplicationInput[];
|
|
882
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutApplicationInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutApplicationInput[];
|
|
883
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
884
|
+
};
|
|
885
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput = {
|
|
886
|
+
create?: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationRefundCreateWithoutApplicationInput[] | Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput[];
|
|
887
|
+
connectOrCreate?: Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput | Prisma.ApplicationRefundCreateOrConnectWithoutApplicationInput[];
|
|
888
|
+
upsert?: Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationRefundUpsertWithWhereUniqueWithoutApplicationInput[];
|
|
889
|
+
createMany?: Prisma.ApplicationRefundCreateManyApplicationInputEnvelope;
|
|
890
|
+
set?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
891
|
+
disconnect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
892
|
+
delete?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
893
|
+
connect?: Prisma.ApplicationRefundWhereUniqueInput | Prisma.ApplicationRefundWhereUniqueInput[];
|
|
894
|
+
update?: Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApplicationInput | Prisma.ApplicationRefundUpdateWithWhereUniqueWithoutApplicationInput[];
|
|
895
|
+
updateMany?: Prisma.ApplicationRefundUpdateManyWithWhereWithoutApplicationInput | Prisma.ApplicationRefundUpdateManyWithWhereWithoutApplicationInput[];
|
|
896
|
+
deleteMany?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
897
|
+
};
|
|
898
|
+
export type EnumRefundStatusFieldUpdateOperationsInput = {
|
|
899
|
+
set?: $Enums.RefundStatus;
|
|
900
|
+
};
|
|
901
|
+
export type ApplicationRefundCreateWithoutRequestedByInput = {
|
|
902
|
+
id?: string;
|
|
903
|
+
amount: number;
|
|
904
|
+
reason: string;
|
|
905
|
+
status?: $Enums.RefundStatus;
|
|
906
|
+
paymentMethod?: string | null;
|
|
907
|
+
referenceNumber?: string | null;
|
|
908
|
+
recipientName?: string | null;
|
|
909
|
+
recipientAccount?: string | null;
|
|
910
|
+
recipientBank?: string | null;
|
|
911
|
+
requestedAt?: Date | string;
|
|
912
|
+
approvedAt?: Date | string | null;
|
|
913
|
+
rejectedAt?: Date | string | null;
|
|
914
|
+
processedAt?: Date | string | null;
|
|
915
|
+
approvalNotes?: string | null;
|
|
916
|
+
rejectionNotes?: string | null;
|
|
917
|
+
processingNotes?: string | null;
|
|
918
|
+
createdAt?: Date | string;
|
|
919
|
+
updatedAt?: Date | string;
|
|
920
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractRefundsInput;
|
|
921
|
+
application: Prisma.ApplicationCreateNestedOneWithoutRefundsInput;
|
|
922
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
923
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
924
|
+
};
|
|
925
|
+
export type ApplicationRefundUncheckedCreateWithoutRequestedByInput = {
|
|
926
|
+
id?: string;
|
|
927
|
+
tenantId: string;
|
|
928
|
+
applicationId: string;
|
|
929
|
+
amount: number;
|
|
930
|
+
reason: string;
|
|
931
|
+
status?: $Enums.RefundStatus;
|
|
932
|
+
approvedById?: string | null;
|
|
933
|
+
processedById?: string | null;
|
|
934
|
+
paymentMethod?: string | null;
|
|
935
|
+
referenceNumber?: string | null;
|
|
936
|
+
recipientName?: string | null;
|
|
937
|
+
recipientAccount?: string | null;
|
|
938
|
+
recipientBank?: string | null;
|
|
939
|
+
requestedAt?: Date | string;
|
|
940
|
+
approvedAt?: Date | string | null;
|
|
941
|
+
rejectedAt?: Date | string | null;
|
|
942
|
+
processedAt?: Date | string | null;
|
|
943
|
+
approvalNotes?: string | null;
|
|
944
|
+
rejectionNotes?: string | null;
|
|
945
|
+
processingNotes?: string | null;
|
|
946
|
+
createdAt?: Date | string;
|
|
947
|
+
updatedAt?: Date | string;
|
|
948
|
+
};
|
|
949
|
+
export type ApplicationRefundCreateOrConnectWithoutRequestedByInput = {
|
|
950
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
951
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput>;
|
|
952
|
+
};
|
|
953
|
+
export type ApplicationRefundCreateManyRequestedByInputEnvelope = {
|
|
954
|
+
data: Prisma.ApplicationRefundCreateManyRequestedByInput | Prisma.ApplicationRefundCreateManyRequestedByInput[];
|
|
955
|
+
skipDuplicates?: boolean;
|
|
956
|
+
};
|
|
957
|
+
export type ApplicationRefundCreateWithoutApprovedByInput = {
|
|
958
|
+
id?: string;
|
|
959
|
+
amount: number;
|
|
960
|
+
reason: string;
|
|
961
|
+
status?: $Enums.RefundStatus;
|
|
962
|
+
paymentMethod?: string | null;
|
|
963
|
+
referenceNumber?: string | null;
|
|
964
|
+
recipientName?: string | null;
|
|
965
|
+
recipientAccount?: string | null;
|
|
966
|
+
recipientBank?: string | null;
|
|
967
|
+
requestedAt?: Date | string;
|
|
968
|
+
approvedAt?: Date | string | null;
|
|
969
|
+
rejectedAt?: Date | string | null;
|
|
970
|
+
processedAt?: Date | string | null;
|
|
971
|
+
approvalNotes?: string | null;
|
|
972
|
+
rejectionNotes?: string | null;
|
|
973
|
+
processingNotes?: string | null;
|
|
974
|
+
createdAt?: Date | string;
|
|
975
|
+
updatedAt?: Date | string;
|
|
976
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractRefundsInput;
|
|
977
|
+
application: Prisma.ApplicationCreateNestedOneWithoutRefundsInput;
|
|
978
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
979
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
980
|
+
};
|
|
981
|
+
export type ApplicationRefundUncheckedCreateWithoutApprovedByInput = {
|
|
982
|
+
id?: string;
|
|
983
|
+
tenantId: string;
|
|
984
|
+
applicationId: string;
|
|
985
|
+
amount: number;
|
|
986
|
+
reason: string;
|
|
987
|
+
status?: $Enums.RefundStatus;
|
|
988
|
+
requestedById: string;
|
|
989
|
+
processedById?: string | null;
|
|
990
|
+
paymentMethod?: string | null;
|
|
991
|
+
referenceNumber?: string | null;
|
|
992
|
+
recipientName?: string | null;
|
|
993
|
+
recipientAccount?: string | null;
|
|
994
|
+
recipientBank?: string | null;
|
|
995
|
+
requestedAt?: Date | string;
|
|
996
|
+
approvedAt?: Date | string | null;
|
|
997
|
+
rejectedAt?: Date | string | null;
|
|
998
|
+
processedAt?: Date | string | null;
|
|
999
|
+
approvalNotes?: string | null;
|
|
1000
|
+
rejectionNotes?: string | null;
|
|
1001
|
+
processingNotes?: string | null;
|
|
1002
|
+
createdAt?: Date | string;
|
|
1003
|
+
updatedAt?: Date | string;
|
|
1004
|
+
};
|
|
1005
|
+
export type ApplicationRefundCreateOrConnectWithoutApprovedByInput = {
|
|
1006
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1007
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput>;
|
|
1008
|
+
};
|
|
1009
|
+
export type ApplicationRefundCreateManyApprovedByInputEnvelope = {
|
|
1010
|
+
data: Prisma.ApplicationRefundCreateManyApprovedByInput | Prisma.ApplicationRefundCreateManyApprovedByInput[];
|
|
1011
|
+
skipDuplicates?: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
export type ApplicationRefundCreateWithoutProcessedByInput = {
|
|
1014
|
+
id?: string;
|
|
1015
|
+
amount: number;
|
|
1016
|
+
reason: string;
|
|
1017
|
+
status?: $Enums.RefundStatus;
|
|
1018
|
+
paymentMethod?: string | null;
|
|
1019
|
+
referenceNumber?: string | null;
|
|
1020
|
+
recipientName?: string | null;
|
|
1021
|
+
recipientAccount?: string | null;
|
|
1022
|
+
recipientBank?: string | null;
|
|
1023
|
+
requestedAt?: Date | string;
|
|
1024
|
+
approvedAt?: Date | string | null;
|
|
1025
|
+
rejectedAt?: Date | string | null;
|
|
1026
|
+
processedAt?: Date | string | null;
|
|
1027
|
+
approvalNotes?: string | null;
|
|
1028
|
+
rejectionNotes?: string | null;
|
|
1029
|
+
processingNotes?: string | null;
|
|
1030
|
+
createdAt?: Date | string;
|
|
1031
|
+
updatedAt?: Date | string;
|
|
1032
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractRefundsInput;
|
|
1033
|
+
application: Prisma.ApplicationCreateNestedOneWithoutRefundsInput;
|
|
1034
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
1035
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
1036
|
+
};
|
|
1037
|
+
export type ApplicationRefundUncheckedCreateWithoutProcessedByInput = {
|
|
1038
|
+
id?: string;
|
|
1039
|
+
tenantId: string;
|
|
1040
|
+
applicationId: string;
|
|
1041
|
+
amount: number;
|
|
1042
|
+
reason: string;
|
|
1043
|
+
status?: $Enums.RefundStatus;
|
|
1044
|
+
requestedById: string;
|
|
1045
|
+
approvedById?: string | null;
|
|
1046
|
+
paymentMethod?: string | null;
|
|
1047
|
+
referenceNumber?: string | null;
|
|
1048
|
+
recipientName?: string | null;
|
|
1049
|
+
recipientAccount?: string | null;
|
|
1050
|
+
recipientBank?: string | null;
|
|
1051
|
+
requestedAt?: Date | string;
|
|
1052
|
+
approvedAt?: Date | string | null;
|
|
1053
|
+
rejectedAt?: Date | string | null;
|
|
1054
|
+
processedAt?: Date | string | null;
|
|
1055
|
+
approvalNotes?: string | null;
|
|
1056
|
+
rejectionNotes?: string | null;
|
|
1057
|
+
processingNotes?: string | null;
|
|
1058
|
+
createdAt?: Date | string;
|
|
1059
|
+
updatedAt?: Date | string;
|
|
1060
|
+
};
|
|
1061
|
+
export type ApplicationRefundCreateOrConnectWithoutProcessedByInput = {
|
|
1062
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1063
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput>;
|
|
1064
|
+
};
|
|
1065
|
+
export type ApplicationRefundCreateManyProcessedByInputEnvelope = {
|
|
1066
|
+
data: Prisma.ApplicationRefundCreateManyProcessedByInput | Prisma.ApplicationRefundCreateManyProcessedByInput[];
|
|
1067
|
+
skipDuplicates?: boolean;
|
|
1068
|
+
};
|
|
1069
|
+
export type ApplicationRefundUpsertWithWhereUniqueWithoutRequestedByInput = {
|
|
1070
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1071
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutRequestedByInput>;
|
|
1072
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutRequestedByInput>;
|
|
1073
|
+
};
|
|
1074
|
+
export type ApplicationRefundUpdateWithWhereUniqueWithoutRequestedByInput = {
|
|
1075
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1076
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutRequestedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutRequestedByInput>;
|
|
1077
|
+
};
|
|
1078
|
+
export type ApplicationRefundUpdateManyWithWhereWithoutRequestedByInput = {
|
|
1079
|
+
where: Prisma.ApplicationRefundScalarWhereInput;
|
|
1080
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByInput>;
|
|
1081
|
+
};
|
|
1082
|
+
export type ApplicationRefundScalarWhereInput = {
|
|
1083
|
+
AND?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
1084
|
+
OR?: Prisma.ApplicationRefundScalarWhereInput[];
|
|
1085
|
+
NOT?: Prisma.ApplicationRefundScalarWhereInput | Prisma.ApplicationRefundScalarWhereInput[];
|
|
1086
|
+
id?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
1087
|
+
tenantId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
1088
|
+
applicationId?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
1089
|
+
amount?: Prisma.FloatFilter<"ApplicationRefund"> | number;
|
|
1090
|
+
reason?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
1091
|
+
status?: Prisma.EnumRefundStatusFilter<"ApplicationRefund"> | $Enums.RefundStatus;
|
|
1092
|
+
requestedById?: Prisma.StringFilter<"ApplicationRefund"> | string;
|
|
1093
|
+
approvedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1094
|
+
processedById?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1095
|
+
paymentMethod?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1096
|
+
referenceNumber?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1097
|
+
recipientName?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1098
|
+
recipientAccount?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1099
|
+
recipientBank?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1100
|
+
requestedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
1101
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
1102
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
1103
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ApplicationRefund"> | Date | string | null;
|
|
1104
|
+
approvalNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1105
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1106
|
+
processingNotes?: Prisma.StringNullableFilter<"ApplicationRefund"> | string | null;
|
|
1107
|
+
createdAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
1108
|
+
updatedAt?: Prisma.DateTimeFilter<"ApplicationRefund"> | Date | string;
|
|
1109
|
+
};
|
|
1110
|
+
export type ApplicationRefundUpsertWithWhereUniqueWithoutApprovedByInput = {
|
|
1111
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1112
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutApprovedByInput>;
|
|
1113
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutApprovedByInput>;
|
|
1114
|
+
};
|
|
1115
|
+
export type ApplicationRefundUpdateWithWhereUniqueWithoutApprovedByInput = {
|
|
1116
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1117
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutApprovedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutApprovedByInput>;
|
|
1118
|
+
};
|
|
1119
|
+
export type ApplicationRefundUpdateManyWithWhereWithoutApprovedByInput = {
|
|
1120
|
+
where: Prisma.ApplicationRefundScalarWhereInput;
|
|
1121
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByInput>;
|
|
1122
|
+
};
|
|
1123
|
+
export type ApplicationRefundUpsertWithWhereUniqueWithoutProcessedByInput = {
|
|
1124
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1125
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutProcessedByInput>;
|
|
1126
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedCreateWithoutProcessedByInput>;
|
|
1127
|
+
};
|
|
1128
|
+
export type ApplicationRefundUpdateWithWhereUniqueWithoutProcessedByInput = {
|
|
1129
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1130
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutProcessedByInput, Prisma.ApplicationRefundUncheckedUpdateWithoutProcessedByInput>;
|
|
1131
|
+
};
|
|
1132
|
+
export type ApplicationRefundUpdateManyWithWhereWithoutProcessedByInput = {
|
|
1133
|
+
where: Prisma.ApplicationRefundScalarWhereInput;
|
|
1134
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByInput>;
|
|
1135
|
+
};
|
|
1136
|
+
export type ApplicationRefundCreateWithoutTenantInput = {
|
|
1137
|
+
id?: string;
|
|
1138
|
+
amount: number;
|
|
1139
|
+
reason: string;
|
|
1140
|
+
status?: $Enums.RefundStatus;
|
|
1141
|
+
paymentMethod?: string | null;
|
|
1142
|
+
referenceNumber?: string | null;
|
|
1143
|
+
recipientName?: string | null;
|
|
1144
|
+
recipientAccount?: string | null;
|
|
1145
|
+
recipientBank?: string | null;
|
|
1146
|
+
requestedAt?: Date | string;
|
|
1147
|
+
approvedAt?: Date | string | null;
|
|
1148
|
+
rejectedAt?: Date | string | null;
|
|
1149
|
+
processedAt?: Date | string | null;
|
|
1150
|
+
approvalNotes?: string | null;
|
|
1151
|
+
rejectionNotes?: string | null;
|
|
1152
|
+
processingNotes?: string | null;
|
|
1153
|
+
createdAt?: Date | string;
|
|
1154
|
+
updatedAt?: Date | string;
|
|
1155
|
+
application: Prisma.ApplicationCreateNestedOneWithoutRefundsInput;
|
|
1156
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
1157
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
1158
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
1159
|
+
};
|
|
1160
|
+
export type ApplicationRefundUncheckedCreateWithoutTenantInput = {
|
|
1161
|
+
id?: string;
|
|
1162
|
+
applicationId: string;
|
|
1163
|
+
amount: number;
|
|
1164
|
+
reason: string;
|
|
1165
|
+
status?: $Enums.RefundStatus;
|
|
1166
|
+
requestedById: string;
|
|
1167
|
+
approvedById?: string | null;
|
|
1168
|
+
processedById?: string | null;
|
|
1169
|
+
paymentMethod?: string | null;
|
|
1170
|
+
referenceNumber?: string | null;
|
|
1171
|
+
recipientName?: string | null;
|
|
1172
|
+
recipientAccount?: string | null;
|
|
1173
|
+
recipientBank?: string | null;
|
|
1174
|
+
requestedAt?: Date | string;
|
|
1175
|
+
approvedAt?: Date | string | null;
|
|
1176
|
+
rejectedAt?: Date | string | null;
|
|
1177
|
+
processedAt?: Date | string | null;
|
|
1178
|
+
approvalNotes?: string | null;
|
|
1179
|
+
rejectionNotes?: string | null;
|
|
1180
|
+
processingNotes?: string | null;
|
|
1181
|
+
createdAt?: Date | string;
|
|
1182
|
+
updatedAt?: Date | string;
|
|
1183
|
+
};
|
|
1184
|
+
export type ApplicationRefundCreateOrConnectWithoutTenantInput = {
|
|
1185
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1186
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput>;
|
|
1187
|
+
};
|
|
1188
|
+
export type ApplicationRefundCreateManyTenantInputEnvelope = {
|
|
1189
|
+
data: Prisma.ApplicationRefundCreateManyTenantInput | Prisma.ApplicationRefundCreateManyTenantInput[];
|
|
1190
|
+
skipDuplicates?: boolean;
|
|
1191
|
+
};
|
|
1192
|
+
export type ApplicationRefundUpsertWithWhereUniqueWithoutTenantInput = {
|
|
1193
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1194
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutTenantInput, Prisma.ApplicationRefundUncheckedUpdateWithoutTenantInput>;
|
|
1195
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutTenantInput, Prisma.ApplicationRefundUncheckedCreateWithoutTenantInput>;
|
|
1196
|
+
};
|
|
1197
|
+
export type ApplicationRefundUpdateWithWhereUniqueWithoutTenantInput = {
|
|
1198
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1199
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutTenantInput, Prisma.ApplicationRefundUncheckedUpdateWithoutTenantInput>;
|
|
1200
|
+
};
|
|
1201
|
+
export type ApplicationRefundUpdateManyWithWhereWithoutTenantInput = {
|
|
1202
|
+
where: Prisma.ApplicationRefundScalarWhereInput;
|
|
1203
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantInput>;
|
|
1204
|
+
};
|
|
1205
|
+
export type ApplicationRefundCreateWithoutApplicationInput = {
|
|
1206
|
+
id?: string;
|
|
1207
|
+
amount: number;
|
|
1208
|
+
reason: string;
|
|
1209
|
+
status?: $Enums.RefundStatus;
|
|
1210
|
+
paymentMethod?: string | null;
|
|
1211
|
+
referenceNumber?: string | null;
|
|
1212
|
+
recipientName?: string | null;
|
|
1213
|
+
recipientAccount?: string | null;
|
|
1214
|
+
recipientBank?: string | null;
|
|
1215
|
+
requestedAt?: Date | string;
|
|
1216
|
+
approvedAt?: Date | string | null;
|
|
1217
|
+
rejectedAt?: Date | string | null;
|
|
1218
|
+
processedAt?: Date | string | null;
|
|
1219
|
+
approvalNotes?: string | null;
|
|
1220
|
+
rejectionNotes?: string | null;
|
|
1221
|
+
processingNotes?: string | null;
|
|
1222
|
+
createdAt?: Date | string;
|
|
1223
|
+
updatedAt?: Date | string;
|
|
1224
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractRefundsInput;
|
|
1225
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
1226
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
1227
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
1228
|
+
};
|
|
1229
|
+
export type ApplicationRefundUncheckedCreateWithoutApplicationInput = {
|
|
1230
|
+
id?: string;
|
|
1231
|
+
tenantId: string;
|
|
1232
|
+
amount: number;
|
|
1233
|
+
reason: string;
|
|
1234
|
+
status?: $Enums.RefundStatus;
|
|
1235
|
+
requestedById: string;
|
|
1236
|
+
approvedById?: string | null;
|
|
1237
|
+
processedById?: string | null;
|
|
1238
|
+
paymentMethod?: string | null;
|
|
1239
|
+
referenceNumber?: string | null;
|
|
1240
|
+
recipientName?: string | null;
|
|
1241
|
+
recipientAccount?: string | null;
|
|
1242
|
+
recipientBank?: string | null;
|
|
1243
|
+
requestedAt?: Date | string;
|
|
1244
|
+
approvedAt?: Date | string | null;
|
|
1245
|
+
rejectedAt?: Date | string | null;
|
|
1246
|
+
processedAt?: Date | string | null;
|
|
1247
|
+
approvalNotes?: string | null;
|
|
1248
|
+
rejectionNotes?: string | null;
|
|
1249
|
+
processingNotes?: string | null;
|
|
1250
|
+
createdAt?: Date | string;
|
|
1251
|
+
updatedAt?: Date | string;
|
|
1252
|
+
};
|
|
1253
|
+
export type ApplicationRefundCreateOrConnectWithoutApplicationInput = {
|
|
1254
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1255
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput>;
|
|
1256
|
+
};
|
|
1257
|
+
export type ApplicationRefundCreateManyApplicationInputEnvelope = {
|
|
1258
|
+
data: Prisma.ApplicationRefundCreateManyApplicationInput | Prisma.ApplicationRefundCreateManyApplicationInput[];
|
|
1259
|
+
skipDuplicates?: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
export type ApplicationRefundUpsertWithWhereUniqueWithoutApplicationInput = {
|
|
1262
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1263
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedUpdateWithoutApplicationInput>;
|
|
1264
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedCreateWithoutApplicationInput>;
|
|
1265
|
+
};
|
|
1266
|
+
export type ApplicationRefundUpdateWithWhereUniqueWithoutApplicationInput = {
|
|
1267
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
1268
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateWithoutApplicationInput, Prisma.ApplicationRefundUncheckedUpdateWithoutApplicationInput>;
|
|
1269
|
+
};
|
|
1270
|
+
export type ApplicationRefundUpdateManyWithWhereWithoutApplicationInput = {
|
|
1271
|
+
where: Prisma.ApplicationRefundScalarWhereInput;
|
|
1272
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationInput>;
|
|
1273
|
+
};
|
|
1274
|
+
export type ApplicationRefundCreateManyRequestedByInput = {
|
|
1275
|
+
id?: string;
|
|
1276
|
+
tenantId: string;
|
|
1277
|
+
applicationId: string;
|
|
1278
|
+
amount: number;
|
|
1279
|
+
reason: string;
|
|
1280
|
+
status?: $Enums.RefundStatus;
|
|
1281
|
+
approvedById?: string | null;
|
|
1282
|
+
processedById?: string | null;
|
|
1283
|
+
paymentMethod?: string | null;
|
|
1284
|
+
referenceNumber?: string | null;
|
|
1285
|
+
recipientName?: string | null;
|
|
1286
|
+
recipientAccount?: string | null;
|
|
1287
|
+
recipientBank?: string | null;
|
|
1288
|
+
requestedAt?: Date | string;
|
|
1289
|
+
approvedAt?: Date | string | null;
|
|
1290
|
+
rejectedAt?: Date | string | null;
|
|
1291
|
+
processedAt?: Date | string | null;
|
|
1292
|
+
approvalNotes?: string | null;
|
|
1293
|
+
rejectionNotes?: string | null;
|
|
1294
|
+
processingNotes?: string | null;
|
|
1295
|
+
createdAt?: Date | string;
|
|
1296
|
+
updatedAt?: Date | string;
|
|
1297
|
+
};
|
|
1298
|
+
export type ApplicationRefundCreateManyApprovedByInput = {
|
|
1299
|
+
id?: string;
|
|
1300
|
+
tenantId: string;
|
|
1301
|
+
applicationId: string;
|
|
1302
|
+
amount: number;
|
|
1303
|
+
reason: string;
|
|
1304
|
+
status?: $Enums.RefundStatus;
|
|
1305
|
+
requestedById: string;
|
|
1306
|
+
processedById?: string | null;
|
|
1307
|
+
paymentMethod?: string | null;
|
|
1308
|
+
referenceNumber?: string | null;
|
|
1309
|
+
recipientName?: string | null;
|
|
1310
|
+
recipientAccount?: string | null;
|
|
1311
|
+
recipientBank?: string | null;
|
|
1312
|
+
requestedAt?: Date | string;
|
|
1313
|
+
approvedAt?: Date | string | null;
|
|
1314
|
+
rejectedAt?: Date | string | null;
|
|
1315
|
+
processedAt?: Date | string | null;
|
|
1316
|
+
approvalNotes?: string | null;
|
|
1317
|
+
rejectionNotes?: string | null;
|
|
1318
|
+
processingNotes?: string | null;
|
|
1319
|
+
createdAt?: Date | string;
|
|
1320
|
+
updatedAt?: Date | string;
|
|
1321
|
+
};
|
|
1322
|
+
export type ApplicationRefundCreateManyProcessedByInput = {
|
|
1323
|
+
id?: string;
|
|
1324
|
+
tenantId: string;
|
|
1325
|
+
applicationId: string;
|
|
1326
|
+
amount: number;
|
|
1327
|
+
reason: string;
|
|
1328
|
+
status?: $Enums.RefundStatus;
|
|
1329
|
+
requestedById: string;
|
|
1330
|
+
approvedById?: string | null;
|
|
1331
|
+
paymentMethod?: string | null;
|
|
1332
|
+
referenceNumber?: string | null;
|
|
1333
|
+
recipientName?: string | null;
|
|
1334
|
+
recipientAccount?: string | null;
|
|
1335
|
+
recipientBank?: string | null;
|
|
1336
|
+
requestedAt?: Date | string;
|
|
1337
|
+
approvedAt?: Date | string | null;
|
|
1338
|
+
rejectedAt?: Date | string | null;
|
|
1339
|
+
processedAt?: Date | string | null;
|
|
1340
|
+
approvalNotes?: string | null;
|
|
1341
|
+
rejectionNotes?: string | null;
|
|
1342
|
+
processingNotes?: string | null;
|
|
1343
|
+
createdAt?: Date | string;
|
|
1344
|
+
updatedAt?: Date | string;
|
|
1345
|
+
};
|
|
1346
|
+
export type ApplicationRefundUpdateWithoutRequestedByInput = {
|
|
1347
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1348
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1349
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1350
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1351
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1352
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1353
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1354
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1355
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1356
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1357
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1358
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1359
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1360
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1361
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1362
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1363
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1364
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1365
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractRefundsNestedInput;
|
|
1366
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1367
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1368
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1369
|
+
};
|
|
1370
|
+
export type ApplicationRefundUncheckedUpdateWithoutRequestedByInput = {
|
|
1371
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1372
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1373
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1374
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1375
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1376
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1377
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1378
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1379
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1380
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1381
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1382
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1383
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1384
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1385
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1386
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1387
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1388
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1389
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1390
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1391
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1392
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1393
|
+
};
|
|
1394
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutRequestedByInput = {
|
|
1395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1396
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1397
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1398
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1399
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1400
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1401
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1402
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1403
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1404
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1405
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1406
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1407
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1408
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1409
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1410
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1411
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1412
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1413
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1414
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1415
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1416
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1417
|
+
};
|
|
1418
|
+
export type ApplicationRefundUpdateWithoutApprovedByInput = {
|
|
1419
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1420
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1421
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1422
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1423
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1424
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1425
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1426
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1427
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1428
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1429
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1430
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1431
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1432
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1433
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1434
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1435
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1436
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1437
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractRefundsNestedInput;
|
|
1438
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1439
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1440
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1441
|
+
};
|
|
1442
|
+
export type ApplicationRefundUncheckedUpdateWithoutApprovedByInput = {
|
|
1443
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1444
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1445
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1446
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1447
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1448
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1449
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1450
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1451
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1452
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1453
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1454
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1455
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1456
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1457
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1458
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1459
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1460
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1461
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1462
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1463
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1464
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1465
|
+
};
|
|
1466
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutApprovedByInput = {
|
|
1467
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1468
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1469
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1470
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1471
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1472
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1473
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1474
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1475
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1476
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1477
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1478
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1479
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1480
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1481
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1482
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1483
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1484
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1485
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1486
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1487
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1488
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1489
|
+
};
|
|
1490
|
+
export type ApplicationRefundUpdateWithoutProcessedByInput = {
|
|
1491
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1492
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1493
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1494
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1495
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1496
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1497
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1498
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1499
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1500
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1501
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1502
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1503
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1504
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1505
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1506
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1507
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1508
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1509
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractRefundsNestedInput;
|
|
1510
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1511
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1512
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1513
|
+
};
|
|
1514
|
+
export type ApplicationRefundUncheckedUpdateWithoutProcessedByInput = {
|
|
1515
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1516
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1517
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1518
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1519
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1520
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1521
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1522
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1523
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1524
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1525
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1526
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1527
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1528
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1529
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1530
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1531
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1532
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1533
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1534
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1535
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1536
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1537
|
+
};
|
|
1538
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutProcessedByInput = {
|
|
1539
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1540
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1541
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1542
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1543
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1544
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1545
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1546
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1547
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1548
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1549
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1550
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1551
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1552
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1553
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1554
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1555
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1556
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1557
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1558
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1559
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1560
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1561
|
+
};
|
|
1562
|
+
export type ApplicationRefundCreateManyTenantInput = {
|
|
1563
|
+
id?: string;
|
|
1564
|
+
applicationId: string;
|
|
1565
|
+
amount: number;
|
|
1566
|
+
reason: string;
|
|
1567
|
+
status?: $Enums.RefundStatus;
|
|
1568
|
+
requestedById: string;
|
|
1569
|
+
approvedById?: string | null;
|
|
1570
|
+
processedById?: string | null;
|
|
1571
|
+
paymentMethod?: string | null;
|
|
1572
|
+
referenceNumber?: string | null;
|
|
1573
|
+
recipientName?: string | null;
|
|
1574
|
+
recipientAccount?: string | null;
|
|
1575
|
+
recipientBank?: string | null;
|
|
1576
|
+
requestedAt?: Date | string;
|
|
1577
|
+
approvedAt?: Date | string | null;
|
|
1578
|
+
rejectedAt?: Date | string | null;
|
|
1579
|
+
processedAt?: Date | string | null;
|
|
1580
|
+
approvalNotes?: string | null;
|
|
1581
|
+
rejectionNotes?: string | null;
|
|
1582
|
+
processingNotes?: string | null;
|
|
1583
|
+
createdAt?: Date | string;
|
|
1584
|
+
updatedAt?: Date | string;
|
|
1585
|
+
};
|
|
1586
|
+
export type ApplicationRefundUpdateWithoutTenantInput = {
|
|
1587
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1588
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1589
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1590
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1591
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1592
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1593
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1594
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1595
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1596
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1597
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1598
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1599
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1600
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1601
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1602
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1603
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1604
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1605
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1606
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1607
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1608
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1609
|
+
};
|
|
1610
|
+
export type ApplicationRefundUncheckedUpdateWithoutTenantInput = {
|
|
1611
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1612
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1613
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1614
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1615
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1616
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1617
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1618
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1619
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1620
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1621
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1622
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1623
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1624
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1625
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1626
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1627
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1628
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1629
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1630
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1631
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1632
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1633
|
+
};
|
|
1634
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutTenantInput = {
|
|
1635
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1636
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1637
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1638
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1639
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1640
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1641
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1642
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1643
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1644
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1645
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1646
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1647
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1648
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1649
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1650
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1651
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1652
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1653
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1654
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1655
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1656
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1657
|
+
};
|
|
1658
|
+
export type ApplicationRefundCreateManyApplicationInput = {
|
|
1659
|
+
id?: string;
|
|
1660
|
+
tenantId: string;
|
|
1661
|
+
amount: number;
|
|
1662
|
+
reason: string;
|
|
1663
|
+
status?: $Enums.RefundStatus;
|
|
1664
|
+
requestedById: string;
|
|
1665
|
+
approvedById?: string | null;
|
|
1666
|
+
processedById?: string | null;
|
|
1667
|
+
paymentMethod?: string | null;
|
|
1668
|
+
referenceNumber?: string | null;
|
|
1669
|
+
recipientName?: string | null;
|
|
1670
|
+
recipientAccount?: string | null;
|
|
1671
|
+
recipientBank?: string | null;
|
|
1672
|
+
requestedAt?: Date | string;
|
|
1673
|
+
approvedAt?: Date | string | null;
|
|
1674
|
+
rejectedAt?: Date | string | null;
|
|
1675
|
+
processedAt?: Date | string | null;
|
|
1676
|
+
approvalNotes?: string | null;
|
|
1677
|
+
rejectionNotes?: string | null;
|
|
1678
|
+
processingNotes?: string | null;
|
|
1679
|
+
createdAt?: Date | string;
|
|
1680
|
+
updatedAt?: Date | string;
|
|
1681
|
+
};
|
|
1682
|
+
export type ApplicationRefundUpdateWithoutApplicationInput = {
|
|
1683
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1684
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1685
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1686
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1687
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1688
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1689
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1690
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1691
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1692
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1693
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1694
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1695
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1696
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1697
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1698
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1699
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1700
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1701
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractRefundsNestedInput;
|
|
1702
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1703
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1704
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1705
|
+
};
|
|
1706
|
+
export type ApplicationRefundUncheckedUpdateWithoutApplicationInput = {
|
|
1707
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1708
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1709
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1710
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1711
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1712
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1713
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1714
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1715
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1716
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1717
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1718
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1719
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1720
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1721
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1722
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1723
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1724
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1725
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1726
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1727
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1728
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1729
|
+
};
|
|
1730
|
+
export type ApplicationRefundUncheckedUpdateManyWithoutApplicationInput = {
|
|
1731
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1732
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1733
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1734
|
+
reason?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1735
|
+
status?: Prisma.EnumRefundStatusFieldUpdateOperationsInput | $Enums.RefundStatus;
|
|
1736
|
+
requestedById?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1737
|
+
approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1738
|
+
processedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1739
|
+
paymentMethod?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1740
|
+
referenceNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1741
|
+
recipientName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1742
|
+
recipientAccount?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1743
|
+
recipientBank?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1744
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1745
|
+
approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1746
|
+
rejectedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1747
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1748
|
+
approvalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1749
|
+
rejectionNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1750
|
+
processingNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1751
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1752
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1753
|
+
};
|
|
1754
|
+
export type ApplicationRefundSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1755
|
+
id?: boolean;
|
|
1756
|
+
tenantId?: boolean;
|
|
1757
|
+
applicationId?: boolean;
|
|
1758
|
+
amount?: boolean;
|
|
1759
|
+
reason?: boolean;
|
|
1760
|
+
status?: boolean;
|
|
1761
|
+
requestedById?: boolean;
|
|
1762
|
+
approvedById?: boolean;
|
|
1763
|
+
processedById?: boolean;
|
|
1764
|
+
paymentMethod?: boolean;
|
|
1765
|
+
referenceNumber?: boolean;
|
|
1766
|
+
recipientName?: boolean;
|
|
1767
|
+
recipientAccount?: boolean;
|
|
1768
|
+
recipientBank?: boolean;
|
|
1769
|
+
requestedAt?: boolean;
|
|
1770
|
+
approvedAt?: boolean;
|
|
1771
|
+
rejectedAt?: boolean;
|
|
1772
|
+
processedAt?: boolean;
|
|
1773
|
+
approvalNotes?: boolean;
|
|
1774
|
+
rejectionNotes?: boolean;
|
|
1775
|
+
processingNotes?: boolean;
|
|
1776
|
+
createdAt?: boolean;
|
|
1777
|
+
updatedAt?: boolean;
|
|
1778
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1779
|
+
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
1780
|
+
requestedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1781
|
+
approvedBy?: boolean | Prisma.ApplicationRefund$approvedByArgs<ExtArgs>;
|
|
1782
|
+
processedBy?: boolean | Prisma.ApplicationRefund$processedByArgs<ExtArgs>;
|
|
1783
|
+
}, ExtArgs["result"]["applicationRefund"]>;
|
|
1784
|
+
export type ApplicationRefundSelectScalar = {
|
|
1785
|
+
id?: boolean;
|
|
1786
|
+
tenantId?: boolean;
|
|
1787
|
+
applicationId?: boolean;
|
|
1788
|
+
amount?: boolean;
|
|
1789
|
+
reason?: boolean;
|
|
1790
|
+
status?: boolean;
|
|
1791
|
+
requestedById?: boolean;
|
|
1792
|
+
approvedById?: boolean;
|
|
1793
|
+
processedById?: boolean;
|
|
1794
|
+
paymentMethod?: boolean;
|
|
1795
|
+
referenceNumber?: boolean;
|
|
1796
|
+
recipientName?: boolean;
|
|
1797
|
+
recipientAccount?: boolean;
|
|
1798
|
+
recipientBank?: boolean;
|
|
1799
|
+
requestedAt?: boolean;
|
|
1800
|
+
approvedAt?: boolean;
|
|
1801
|
+
rejectedAt?: boolean;
|
|
1802
|
+
processedAt?: boolean;
|
|
1803
|
+
approvalNotes?: boolean;
|
|
1804
|
+
rejectionNotes?: boolean;
|
|
1805
|
+
processingNotes?: boolean;
|
|
1806
|
+
createdAt?: boolean;
|
|
1807
|
+
updatedAt?: boolean;
|
|
1808
|
+
};
|
|
1809
|
+
export type ApplicationRefundOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "amount" | "reason" | "status" | "requestedById" | "approvedById" | "processedById" | "paymentMethod" | "referenceNumber" | "recipientName" | "recipientAccount" | "recipientBank" | "requestedAt" | "approvedAt" | "rejectedAt" | "processedAt" | "approvalNotes" | "rejectionNotes" | "processingNotes" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationRefund"]>;
|
|
1810
|
+
export type ApplicationRefundInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1811
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1812
|
+
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
1813
|
+
requestedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1814
|
+
approvedBy?: boolean | Prisma.ApplicationRefund$approvedByArgs<ExtArgs>;
|
|
1815
|
+
processedBy?: boolean | Prisma.ApplicationRefund$processedByArgs<ExtArgs>;
|
|
1816
|
+
};
|
|
1817
|
+
export type $ApplicationRefundPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1818
|
+
name: "ApplicationRefund";
|
|
1819
|
+
objects: {
|
|
1820
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1821
|
+
application: Prisma.$ApplicationPayload<ExtArgs>;
|
|
1822
|
+
requestedBy: Prisma.$UserPayload<ExtArgs>;
|
|
1823
|
+
approvedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
1824
|
+
processedBy: Prisma.$UserPayload<ExtArgs> | null;
|
|
1825
|
+
};
|
|
1826
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1827
|
+
id: string;
|
|
1828
|
+
tenantId: string;
|
|
1829
|
+
applicationId: string;
|
|
1830
|
+
amount: number;
|
|
1831
|
+
reason: string;
|
|
1832
|
+
status: $Enums.RefundStatus;
|
|
1833
|
+
requestedById: string;
|
|
1834
|
+
approvedById: string | null;
|
|
1835
|
+
processedById: string | null;
|
|
1836
|
+
paymentMethod: string | null;
|
|
1837
|
+
referenceNumber: string | null;
|
|
1838
|
+
recipientName: string | null;
|
|
1839
|
+
recipientAccount: string | null;
|
|
1840
|
+
recipientBank: string | null;
|
|
1841
|
+
requestedAt: Date;
|
|
1842
|
+
approvedAt: Date | null;
|
|
1843
|
+
rejectedAt: Date | null;
|
|
1844
|
+
processedAt: Date | null;
|
|
1845
|
+
approvalNotes: string | null;
|
|
1846
|
+
rejectionNotes: string | null;
|
|
1847
|
+
processingNotes: string | null;
|
|
1848
|
+
createdAt: Date;
|
|
1849
|
+
updatedAt: Date;
|
|
1850
|
+
}, ExtArgs["result"]["applicationRefund"]>;
|
|
1851
|
+
composites: {};
|
|
1852
|
+
};
|
|
1853
|
+
export type ApplicationRefundGetPayload<S extends boolean | null | undefined | ApplicationRefundDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload, S>;
|
|
1854
|
+
export type ApplicationRefundCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ApplicationRefundFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1855
|
+
select?: ApplicationRefundCountAggregateInputType | true;
|
|
1856
|
+
};
|
|
1857
|
+
export interface ApplicationRefundDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1858
|
+
[K: symbol]: {
|
|
1859
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ApplicationRefund'];
|
|
1860
|
+
meta: {
|
|
1861
|
+
name: 'ApplicationRefund';
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
/**
|
|
1865
|
+
* Find zero or one ApplicationRefund that matches the filter.
|
|
1866
|
+
* @param {ApplicationRefundFindUniqueArgs} args - Arguments to find a ApplicationRefund
|
|
1867
|
+
* @example
|
|
1868
|
+
* // Get one ApplicationRefund
|
|
1869
|
+
* const applicationRefund = await prisma.applicationRefund.findUnique({
|
|
1870
|
+
* where: {
|
|
1871
|
+
* // ... provide filter here
|
|
1872
|
+
* }
|
|
1873
|
+
* })
|
|
1874
|
+
*/
|
|
1875
|
+
findUnique<T extends ApplicationRefundFindUniqueArgs>(args: Prisma.SelectSubset<T, ApplicationRefundFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Find one ApplicationRefund that matches the filter or throw an error with `error.code='P2025'`
|
|
1878
|
+
* if no matches were found.
|
|
1879
|
+
* @param {ApplicationRefundFindUniqueOrThrowArgs} args - Arguments to find a ApplicationRefund
|
|
1880
|
+
* @example
|
|
1881
|
+
* // Get one ApplicationRefund
|
|
1882
|
+
* const applicationRefund = await prisma.applicationRefund.findUniqueOrThrow({
|
|
1883
|
+
* where: {
|
|
1884
|
+
* // ... provide filter here
|
|
1885
|
+
* }
|
|
1886
|
+
* })
|
|
1887
|
+
*/
|
|
1888
|
+
findUniqueOrThrow<T extends ApplicationRefundFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApplicationRefundFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1889
|
+
/**
|
|
1890
|
+
* Find the first ApplicationRefund that matches the filter.
|
|
1891
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1892
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1893
|
+
* @param {ApplicationRefundFindFirstArgs} args - Arguments to find a ApplicationRefund
|
|
1894
|
+
* @example
|
|
1895
|
+
* // Get one ApplicationRefund
|
|
1896
|
+
* const applicationRefund = await prisma.applicationRefund.findFirst({
|
|
1897
|
+
* where: {
|
|
1898
|
+
* // ... provide filter here
|
|
1899
|
+
* }
|
|
1900
|
+
* })
|
|
1901
|
+
*/
|
|
1902
|
+
findFirst<T extends ApplicationRefundFindFirstArgs>(args?: Prisma.SelectSubset<T, ApplicationRefundFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Find the first ApplicationRefund that matches the filter or
|
|
1905
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1906
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1907
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1908
|
+
* @param {ApplicationRefundFindFirstOrThrowArgs} args - Arguments to find a ApplicationRefund
|
|
1909
|
+
* @example
|
|
1910
|
+
* // Get one ApplicationRefund
|
|
1911
|
+
* const applicationRefund = await prisma.applicationRefund.findFirstOrThrow({
|
|
1912
|
+
* where: {
|
|
1913
|
+
* // ... provide filter here
|
|
1914
|
+
* }
|
|
1915
|
+
* })
|
|
1916
|
+
*/
|
|
1917
|
+
findFirstOrThrow<T extends ApplicationRefundFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApplicationRefundFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Find zero or more ApplicationRefunds that matches the filter.
|
|
1920
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1921
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1922
|
+
* @param {ApplicationRefundFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1923
|
+
* @example
|
|
1924
|
+
* // Get all ApplicationRefunds
|
|
1925
|
+
* const applicationRefunds = await prisma.applicationRefund.findMany()
|
|
1926
|
+
*
|
|
1927
|
+
* // Get first 10 ApplicationRefunds
|
|
1928
|
+
* const applicationRefunds = await prisma.applicationRefund.findMany({ take: 10 })
|
|
1929
|
+
*
|
|
1930
|
+
* // Only select the `id`
|
|
1931
|
+
* const applicationRefundWithIdOnly = await prisma.applicationRefund.findMany({ select: { id: true } })
|
|
1932
|
+
*
|
|
1933
|
+
*/
|
|
1934
|
+
findMany<T extends ApplicationRefundFindManyArgs>(args?: Prisma.SelectSubset<T, ApplicationRefundFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1935
|
+
/**
|
|
1936
|
+
* Create a ApplicationRefund.
|
|
1937
|
+
* @param {ApplicationRefundCreateArgs} args - Arguments to create a ApplicationRefund.
|
|
1938
|
+
* @example
|
|
1939
|
+
* // Create one ApplicationRefund
|
|
1940
|
+
* const ApplicationRefund = await prisma.applicationRefund.create({
|
|
1941
|
+
* data: {
|
|
1942
|
+
* // ... data to create a ApplicationRefund
|
|
1943
|
+
* }
|
|
1944
|
+
* })
|
|
1945
|
+
*
|
|
1946
|
+
*/
|
|
1947
|
+
create<T extends ApplicationRefundCreateArgs>(args: Prisma.SelectSubset<T, ApplicationRefundCreateArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1948
|
+
/**
|
|
1949
|
+
* Create many ApplicationRefunds.
|
|
1950
|
+
* @param {ApplicationRefundCreateManyArgs} args - Arguments to create many ApplicationRefunds.
|
|
1951
|
+
* @example
|
|
1952
|
+
* // Create many ApplicationRefunds
|
|
1953
|
+
* const applicationRefund = await prisma.applicationRefund.createMany({
|
|
1954
|
+
* data: [
|
|
1955
|
+
* // ... provide data here
|
|
1956
|
+
* ]
|
|
1957
|
+
* })
|
|
1958
|
+
*
|
|
1959
|
+
*/
|
|
1960
|
+
createMany<T extends ApplicationRefundCreateManyArgs>(args?: Prisma.SelectSubset<T, ApplicationRefundCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Delete a ApplicationRefund.
|
|
1963
|
+
* @param {ApplicationRefundDeleteArgs} args - Arguments to delete one ApplicationRefund.
|
|
1964
|
+
* @example
|
|
1965
|
+
* // Delete one ApplicationRefund
|
|
1966
|
+
* const ApplicationRefund = await prisma.applicationRefund.delete({
|
|
1967
|
+
* where: {
|
|
1968
|
+
* // ... filter to delete one ApplicationRefund
|
|
1969
|
+
* }
|
|
1970
|
+
* })
|
|
1971
|
+
*
|
|
1972
|
+
*/
|
|
1973
|
+
delete<T extends ApplicationRefundDeleteArgs>(args: Prisma.SelectSubset<T, ApplicationRefundDeleteArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Update one ApplicationRefund.
|
|
1976
|
+
* @param {ApplicationRefundUpdateArgs} args - Arguments to update one ApplicationRefund.
|
|
1977
|
+
* @example
|
|
1978
|
+
* // Update one ApplicationRefund
|
|
1979
|
+
* const applicationRefund = await prisma.applicationRefund.update({
|
|
1980
|
+
* where: {
|
|
1981
|
+
* // ... provide filter here
|
|
1982
|
+
* },
|
|
1983
|
+
* data: {
|
|
1984
|
+
* // ... provide data here
|
|
1985
|
+
* }
|
|
1986
|
+
* })
|
|
1987
|
+
*
|
|
1988
|
+
*/
|
|
1989
|
+
update<T extends ApplicationRefundUpdateArgs>(args: Prisma.SelectSubset<T, ApplicationRefundUpdateArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Delete zero or more ApplicationRefunds.
|
|
1992
|
+
* @param {ApplicationRefundDeleteManyArgs} args - Arguments to filter ApplicationRefunds to delete.
|
|
1993
|
+
* @example
|
|
1994
|
+
* // Delete a few ApplicationRefunds
|
|
1995
|
+
* const { count } = await prisma.applicationRefund.deleteMany({
|
|
1996
|
+
* where: {
|
|
1997
|
+
* // ... provide filter here
|
|
1998
|
+
* }
|
|
1999
|
+
* })
|
|
2000
|
+
*
|
|
2001
|
+
*/
|
|
2002
|
+
deleteMany<T extends ApplicationRefundDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApplicationRefundDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2003
|
+
/**
|
|
2004
|
+
* Update zero or more ApplicationRefunds.
|
|
2005
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2006
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2007
|
+
* @param {ApplicationRefundUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2008
|
+
* @example
|
|
2009
|
+
* // Update many ApplicationRefunds
|
|
2010
|
+
* const applicationRefund = await prisma.applicationRefund.updateMany({
|
|
2011
|
+
* where: {
|
|
2012
|
+
* // ... provide filter here
|
|
2013
|
+
* },
|
|
2014
|
+
* data: {
|
|
2015
|
+
* // ... provide data here
|
|
2016
|
+
* }
|
|
2017
|
+
* })
|
|
2018
|
+
*
|
|
2019
|
+
*/
|
|
2020
|
+
updateMany<T extends ApplicationRefundUpdateManyArgs>(args: Prisma.SelectSubset<T, ApplicationRefundUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Create or update one ApplicationRefund.
|
|
2023
|
+
* @param {ApplicationRefundUpsertArgs} args - Arguments to update or create a ApplicationRefund.
|
|
2024
|
+
* @example
|
|
2025
|
+
* // Update or create a ApplicationRefund
|
|
2026
|
+
* const applicationRefund = await prisma.applicationRefund.upsert({
|
|
2027
|
+
* create: {
|
|
2028
|
+
* // ... data to create a ApplicationRefund
|
|
2029
|
+
* },
|
|
2030
|
+
* update: {
|
|
2031
|
+
* // ... in case it already exists, update
|
|
2032
|
+
* },
|
|
2033
|
+
* where: {
|
|
2034
|
+
* // ... the filter for the ApplicationRefund we want to update
|
|
2035
|
+
* }
|
|
2036
|
+
* })
|
|
2037
|
+
*/
|
|
2038
|
+
upsert<T extends ApplicationRefundUpsertArgs>(args: Prisma.SelectSubset<T, ApplicationRefundUpsertArgs<ExtArgs>>): Prisma.Prisma__ApplicationRefundClient<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2039
|
+
/**
|
|
2040
|
+
* Count the number of ApplicationRefunds.
|
|
2041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2043
|
+
* @param {ApplicationRefundCountArgs} args - Arguments to filter ApplicationRefunds to count.
|
|
2044
|
+
* @example
|
|
2045
|
+
* // Count the number of ApplicationRefunds
|
|
2046
|
+
* const count = await prisma.applicationRefund.count({
|
|
2047
|
+
* where: {
|
|
2048
|
+
* // ... the filter for the ApplicationRefunds we want to count
|
|
2049
|
+
* }
|
|
2050
|
+
* })
|
|
2051
|
+
**/
|
|
2052
|
+
count<T extends ApplicationRefundCountArgs>(args?: Prisma.Subset<T, ApplicationRefundCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ApplicationRefundCountAggregateOutputType> : number>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Allows you to perform aggregations operations on a ApplicationRefund.
|
|
2055
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2056
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2057
|
+
* @param {ApplicationRefundAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2058
|
+
* @example
|
|
2059
|
+
* // Ordered by age ascending
|
|
2060
|
+
* // Where email contains prisma.io
|
|
2061
|
+
* // Limited to the 10 users
|
|
2062
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2063
|
+
* _avg: {
|
|
2064
|
+
* age: true,
|
|
2065
|
+
* },
|
|
2066
|
+
* where: {
|
|
2067
|
+
* email: {
|
|
2068
|
+
* contains: "prisma.io",
|
|
2069
|
+
* },
|
|
2070
|
+
* },
|
|
2071
|
+
* orderBy: {
|
|
2072
|
+
* age: "asc",
|
|
2073
|
+
* },
|
|
2074
|
+
* take: 10,
|
|
2075
|
+
* })
|
|
2076
|
+
**/
|
|
2077
|
+
aggregate<T extends ApplicationRefundAggregateArgs>(args: Prisma.Subset<T, ApplicationRefundAggregateArgs>): Prisma.PrismaPromise<GetApplicationRefundAggregateType<T>>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Group by ApplicationRefund.
|
|
2080
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2081
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2082
|
+
* @param {ApplicationRefundGroupByArgs} args - Group by arguments.
|
|
2083
|
+
* @example
|
|
2084
|
+
* // Group by city, order by createdAt, get count
|
|
2085
|
+
* const result = await prisma.user.groupBy({
|
|
2086
|
+
* by: ['city', 'createdAt'],
|
|
2087
|
+
* orderBy: {
|
|
2088
|
+
* createdAt: true
|
|
2089
|
+
* },
|
|
2090
|
+
* _count: {
|
|
2091
|
+
* _all: true
|
|
2092
|
+
* },
|
|
2093
|
+
* })
|
|
2094
|
+
*
|
|
2095
|
+
**/
|
|
2096
|
+
groupBy<T extends ApplicationRefundGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2097
|
+
orderBy: ApplicationRefundGroupByArgs['orderBy'];
|
|
2098
|
+
} : {
|
|
2099
|
+
orderBy?: ApplicationRefundGroupByArgs['orderBy'];
|
|
2100
|
+
}, 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 ? {
|
|
2101
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
2102
|
+
Error,
|
|
2103
|
+
'Field ',
|
|
2104
|
+
P,
|
|
2105
|
+
` in "having" needs to be provided in "by"`
|
|
2106
|
+
];
|
|
2107
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2108
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2109
|
+
}[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 ? {} : {
|
|
2110
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2111
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2112
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2113
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ApplicationRefundGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApplicationRefundGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Fields of the ApplicationRefund model
|
|
2116
|
+
*/
|
|
2117
|
+
readonly fields: ApplicationRefundFieldRefs;
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* The delegate class that acts as a "Promise-like" for ApplicationRefund.
|
|
2121
|
+
* Why is this prefixed with `Prisma__`?
|
|
2122
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2123
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2124
|
+
*/
|
|
2125
|
+
export interface Prisma__ApplicationRefundClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2126
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2127
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2128
|
+
application<T extends Prisma.ApplicationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2129
|
+
requestedBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2130
|
+
approvedBy<T extends Prisma.ApplicationRefund$approvedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationRefund$approvedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2131
|
+
processedBy<T extends Prisma.ApplicationRefund$processedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationRefund$processedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2132
|
+
/**
|
|
2133
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2134
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2135
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2136
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2137
|
+
*/
|
|
2138
|
+
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>;
|
|
2139
|
+
/**
|
|
2140
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2141
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2142
|
+
* @returns A Promise for the completion of the callback.
|
|
2143
|
+
*/
|
|
2144
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2147
|
+
* resolved value cannot be modified from the callback.
|
|
2148
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2149
|
+
* @returns A Promise for the completion of the callback.
|
|
2150
|
+
*/
|
|
2151
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2152
|
+
}
|
|
2153
|
+
/**
|
|
2154
|
+
* Fields of the ApplicationRefund model
|
|
2155
|
+
*/
|
|
2156
|
+
export interface ApplicationRefundFieldRefs {
|
|
2157
|
+
readonly id: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2158
|
+
readonly tenantId: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2159
|
+
readonly applicationId: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2160
|
+
readonly amount: Prisma.FieldRef<"ApplicationRefund", 'Float'>;
|
|
2161
|
+
readonly reason: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2162
|
+
readonly status: Prisma.FieldRef<"ApplicationRefund", 'RefundStatus'>;
|
|
2163
|
+
readonly requestedById: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2164
|
+
readonly approvedById: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2165
|
+
readonly processedById: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2166
|
+
readonly paymentMethod: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2167
|
+
readonly referenceNumber: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2168
|
+
readonly recipientName: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2169
|
+
readonly recipientAccount: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2170
|
+
readonly recipientBank: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2171
|
+
readonly requestedAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2172
|
+
readonly approvedAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2173
|
+
readonly rejectedAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2174
|
+
readonly processedAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2175
|
+
readonly approvalNotes: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2176
|
+
readonly rejectionNotes: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2177
|
+
readonly processingNotes: Prisma.FieldRef<"ApplicationRefund", 'String'>;
|
|
2178
|
+
readonly createdAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2179
|
+
readonly updatedAt: Prisma.FieldRef<"ApplicationRefund", 'DateTime'>;
|
|
2180
|
+
}
|
|
2181
|
+
/**
|
|
2182
|
+
* ApplicationRefund findUnique
|
|
2183
|
+
*/
|
|
2184
|
+
export type ApplicationRefundFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2185
|
+
/**
|
|
2186
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2187
|
+
*/
|
|
2188
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2189
|
+
/**
|
|
2190
|
+
* Omit specific fields from the ApplicationRefund
|
|
2191
|
+
*/
|
|
2192
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2193
|
+
/**
|
|
2194
|
+
* Choose, which related nodes to fetch as well
|
|
2195
|
+
*/
|
|
2196
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2197
|
+
/**
|
|
2198
|
+
* Filter, which ApplicationRefund to fetch.
|
|
2199
|
+
*/
|
|
2200
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* ApplicationRefund findUniqueOrThrow
|
|
2204
|
+
*/
|
|
2205
|
+
export type ApplicationRefundFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2206
|
+
/**
|
|
2207
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2208
|
+
*/
|
|
2209
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2210
|
+
/**
|
|
2211
|
+
* Omit specific fields from the ApplicationRefund
|
|
2212
|
+
*/
|
|
2213
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* Choose, which related nodes to fetch as well
|
|
2216
|
+
*/
|
|
2217
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2218
|
+
/**
|
|
2219
|
+
* Filter, which ApplicationRefund to fetch.
|
|
2220
|
+
*/
|
|
2221
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2222
|
+
};
|
|
2223
|
+
/**
|
|
2224
|
+
* ApplicationRefund findFirst
|
|
2225
|
+
*/
|
|
2226
|
+
export type ApplicationRefundFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2227
|
+
/**
|
|
2228
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2229
|
+
*/
|
|
2230
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* Omit specific fields from the ApplicationRefund
|
|
2233
|
+
*/
|
|
2234
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2235
|
+
/**
|
|
2236
|
+
* Choose, which related nodes to fetch as well
|
|
2237
|
+
*/
|
|
2238
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2239
|
+
/**
|
|
2240
|
+
* Filter, which ApplicationRefund to fetch.
|
|
2241
|
+
*/
|
|
2242
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
2243
|
+
/**
|
|
2244
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2245
|
+
*
|
|
2246
|
+
* Determine the order of ApplicationRefunds to fetch.
|
|
2247
|
+
*/
|
|
2248
|
+
orderBy?: Prisma.ApplicationRefundOrderByWithRelationInput | Prisma.ApplicationRefundOrderByWithRelationInput[];
|
|
2249
|
+
/**
|
|
2250
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2251
|
+
*
|
|
2252
|
+
* Sets the position for searching for ApplicationRefunds.
|
|
2253
|
+
*/
|
|
2254
|
+
cursor?: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2255
|
+
/**
|
|
2256
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2257
|
+
*
|
|
2258
|
+
* Take `±n` ApplicationRefunds from the position of the cursor.
|
|
2259
|
+
*/
|
|
2260
|
+
take?: number;
|
|
2261
|
+
/**
|
|
2262
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2263
|
+
*
|
|
2264
|
+
* Skip the first `n` ApplicationRefunds.
|
|
2265
|
+
*/
|
|
2266
|
+
skip?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2269
|
+
*
|
|
2270
|
+
* Filter by unique combinations of ApplicationRefunds.
|
|
2271
|
+
*/
|
|
2272
|
+
distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* ApplicationRefund findFirstOrThrow
|
|
2276
|
+
*/
|
|
2277
|
+
export type ApplicationRefundFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2278
|
+
/**
|
|
2279
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2280
|
+
*/
|
|
2281
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2282
|
+
/**
|
|
2283
|
+
* Omit specific fields from the ApplicationRefund
|
|
2284
|
+
*/
|
|
2285
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2286
|
+
/**
|
|
2287
|
+
* Choose, which related nodes to fetch as well
|
|
2288
|
+
*/
|
|
2289
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2290
|
+
/**
|
|
2291
|
+
* Filter, which ApplicationRefund to fetch.
|
|
2292
|
+
*/
|
|
2293
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
2294
|
+
/**
|
|
2295
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2296
|
+
*
|
|
2297
|
+
* Determine the order of ApplicationRefunds to fetch.
|
|
2298
|
+
*/
|
|
2299
|
+
orderBy?: Prisma.ApplicationRefundOrderByWithRelationInput | Prisma.ApplicationRefundOrderByWithRelationInput[];
|
|
2300
|
+
/**
|
|
2301
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2302
|
+
*
|
|
2303
|
+
* Sets the position for searching for ApplicationRefunds.
|
|
2304
|
+
*/
|
|
2305
|
+
cursor?: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2306
|
+
/**
|
|
2307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2308
|
+
*
|
|
2309
|
+
* Take `±n` ApplicationRefunds from the position of the cursor.
|
|
2310
|
+
*/
|
|
2311
|
+
take?: number;
|
|
2312
|
+
/**
|
|
2313
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2314
|
+
*
|
|
2315
|
+
* Skip the first `n` ApplicationRefunds.
|
|
2316
|
+
*/
|
|
2317
|
+
skip?: number;
|
|
2318
|
+
/**
|
|
2319
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2320
|
+
*
|
|
2321
|
+
* Filter by unique combinations of ApplicationRefunds.
|
|
2322
|
+
*/
|
|
2323
|
+
distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
|
|
2324
|
+
};
|
|
2325
|
+
/**
|
|
2326
|
+
* ApplicationRefund findMany
|
|
2327
|
+
*/
|
|
2328
|
+
export type ApplicationRefundFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2329
|
+
/**
|
|
2330
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2331
|
+
*/
|
|
2332
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2333
|
+
/**
|
|
2334
|
+
* Omit specific fields from the ApplicationRefund
|
|
2335
|
+
*/
|
|
2336
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2337
|
+
/**
|
|
2338
|
+
* Choose, which related nodes to fetch as well
|
|
2339
|
+
*/
|
|
2340
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2341
|
+
/**
|
|
2342
|
+
* Filter, which ApplicationRefunds to fetch.
|
|
2343
|
+
*/
|
|
2344
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
2345
|
+
/**
|
|
2346
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2347
|
+
*
|
|
2348
|
+
* Determine the order of ApplicationRefunds to fetch.
|
|
2349
|
+
*/
|
|
2350
|
+
orderBy?: Prisma.ApplicationRefundOrderByWithRelationInput | Prisma.ApplicationRefundOrderByWithRelationInput[];
|
|
2351
|
+
/**
|
|
2352
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2353
|
+
*
|
|
2354
|
+
* Sets the position for listing ApplicationRefunds.
|
|
2355
|
+
*/
|
|
2356
|
+
cursor?: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2357
|
+
/**
|
|
2358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2359
|
+
*
|
|
2360
|
+
* Take `±n` ApplicationRefunds from the position of the cursor.
|
|
2361
|
+
*/
|
|
2362
|
+
take?: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2365
|
+
*
|
|
2366
|
+
* Skip the first `n` ApplicationRefunds.
|
|
2367
|
+
*/
|
|
2368
|
+
skip?: number;
|
|
2369
|
+
distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
|
|
2370
|
+
};
|
|
2371
|
+
/**
|
|
2372
|
+
* ApplicationRefund create
|
|
2373
|
+
*/
|
|
2374
|
+
export type ApplicationRefundCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2375
|
+
/**
|
|
2376
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2377
|
+
*/
|
|
2378
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2379
|
+
/**
|
|
2380
|
+
* Omit specific fields from the ApplicationRefund
|
|
2381
|
+
*/
|
|
2382
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2383
|
+
/**
|
|
2384
|
+
* Choose, which related nodes to fetch as well
|
|
2385
|
+
*/
|
|
2386
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* The data needed to create a ApplicationRefund.
|
|
2389
|
+
*/
|
|
2390
|
+
data: Prisma.XOR<Prisma.ApplicationRefundCreateInput, Prisma.ApplicationRefundUncheckedCreateInput>;
|
|
2391
|
+
};
|
|
2392
|
+
/**
|
|
2393
|
+
* ApplicationRefund createMany
|
|
2394
|
+
*/
|
|
2395
|
+
export type ApplicationRefundCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2396
|
+
/**
|
|
2397
|
+
* The data used to create many ApplicationRefunds.
|
|
2398
|
+
*/
|
|
2399
|
+
data: Prisma.ApplicationRefundCreateManyInput | Prisma.ApplicationRefundCreateManyInput[];
|
|
2400
|
+
skipDuplicates?: boolean;
|
|
2401
|
+
};
|
|
2402
|
+
/**
|
|
2403
|
+
* ApplicationRefund update
|
|
2404
|
+
*/
|
|
2405
|
+
export type ApplicationRefundUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2406
|
+
/**
|
|
2407
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2408
|
+
*/
|
|
2409
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2410
|
+
/**
|
|
2411
|
+
* Omit specific fields from the ApplicationRefund
|
|
2412
|
+
*/
|
|
2413
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2414
|
+
/**
|
|
2415
|
+
* Choose, which related nodes to fetch as well
|
|
2416
|
+
*/
|
|
2417
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2418
|
+
/**
|
|
2419
|
+
* The data needed to update a ApplicationRefund.
|
|
2420
|
+
*/
|
|
2421
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateInput, Prisma.ApplicationRefundUncheckedUpdateInput>;
|
|
2422
|
+
/**
|
|
2423
|
+
* Choose, which ApplicationRefund to update.
|
|
2424
|
+
*/
|
|
2425
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2426
|
+
};
|
|
2427
|
+
/**
|
|
2428
|
+
* ApplicationRefund updateMany
|
|
2429
|
+
*/
|
|
2430
|
+
export type ApplicationRefundUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2431
|
+
/**
|
|
2432
|
+
* The data used to update ApplicationRefunds.
|
|
2433
|
+
*/
|
|
2434
|
+
data: Prisma.XOR<Prisma.ApplicationRefundUpdateManyMutationInput, Prisma.ApplicationRefundUncheckedUpdateManyInput>;
|
|
2435
|
+
/**
|
|
2436
|
+
* Filter which ApplicationRefunds to update
|
|
2437
|
+
*/
|
|
2438
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
2439
|
+
/**
|
|
2440
|
+
* Limit how many ApplicationRefunds to update.
|
|
2441
|
+
*/
|
|
2442
|
+
limit?: number;
|
|
2443
|
+
};
|
|
2444
|
+
/**
|
|
2445
|
+
* ApplicationRefund upsert
|
|
2446
|
+
*/
|
|
2447
|
+
export type ApplicationRefundUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2448
|
+
/**
|
|
2449
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2450
|
+
*/
|
|
2451
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2452
|
+
/**
|
|
2453
|
+
* Omit specific fields from the ApplicationRefund
|
|
2454
|
+
*/
|
|
2455
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2456
|
+
/**
|
|
2457
|
+
* Choose, which related nodes to fetch as well
|
|
2458
|
+
*/
|
|
2459
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2460
|
+
/**
|
|
2461
|
+
* The filter to search for the ApplicationRefund to update in case it exists.
|
|
2462
|
+
*/
|
|
2463
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2464
|
+
/**
|
|
2465
|
+
* In case the ApplicationRefund found by the `where` argument doesn't exist, create a new ApplicationRefund with this data.
|
|
2466
|
+
*/
|
|
2467
|
+
create: Prisma.XOR<Prisma.ApplicationRefundCreateInput, Prisma.ApplicationRefundUncheckedCreateInput>;
|
|
2468
|
+
/**
|
|
2469
|
+
* In case the ApplicationRefund was found with the provided `where` argument, update it with this data.
|
|
2470
|
+
*/
|
|
2471
|
+
update: Prisma.XOR<Prisma.ApplicationRefundUpdateInput, Prisma.ApplicationRefundUncheckedUpdateInput>;
|
|
2472
|
+
};
|
|
2473
|
+
/**
|
|
2474
|
+
* ApplicationRefund delete
|
|
2475
|
+
*/
|
|
2476
|
+
export type ApplicationRefundDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2477
|
+
/**
|
|
2478
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2479
|
+
*/
|
|
2480
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2481
|
+
/**
|
|
2482
|
+
* Omit specific fields from the ApplicationRefund
|
|
2483
|
+
*/
|
|
2484
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2485
|
+
/**
|
|
2486
|
+
* Choose, which related nodes to fetch as well
|
|
2487
|
+
*/
|
|
2488
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2489
|
+
/**
|
|
2490
|
+
* Filter which ApplicationRefund to delete.
|
|
2491
|
+
*/
|
|
2492
|
+
where: Prisma.ApplicationRefundWhereUniqueInput;
|
|
2493
|
+
};
|
|
2494
|
+
/**
|
|
2495
|
+
* ApplicationRefund deleteMany
|
|
2496
|
+
*/
|
|
2497
|
+
export type ApplicationRefundDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2498
|
+
/**
|
|
2499
|
+
* Filter which ApplicationRefunds to delete
|
|
2500
|
+
*/
|
|
2501
|
+
where?: Prisma.ApplicationRefundWhereInput;
|
|
2502
|
+
/**
|
|
2503
|
+
* Limit how many ApplicationRefunds to delete.
|
|
2504
|
+
*/
|
|
2505
|
+
limit?: number;
|
|
2506
|
+
};
|
|
2507
|
+
/**
|
|
2508
|
+
* ApplicationRefund.approvedBy
|
|
2509
|
+
*/
|
|
2510
|
+
export type ApplicationRefund$approvedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2511
|
+
/**
|
|
2512
|
+
* Select specific fields to fetch from the User
|
|
2513
|
+
*/
|
|
2514
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
2515
|
+
/**
|
|
2516
|
+
* Omit specific fields from the User
|
|
2517
|
+
*/
|
|
2518
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2519
|
+
/**
|
|
2520
|
+
* Choose, which related nodes to fetch as well
|
|
2521
|
+
*/
|
|
2522
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2523
|
+
where?: Prisma.UserWhereInput;
|
|
2524
|
+
};
|
|
2525
|
+
/**
|
|
2526
|
+
* ApplicationRefund.processedBy
|
|
2527
|
+
*/
|
|
2528
|
+
export type ApplicationRefund$processedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2529
|
+
/**
|
|
2530
|
+
* Select specific fields to fetch from the User
|
|
2531
|
+
*/
|
|
2532
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
2533
|
+
/**
|
|
2534
|
+
* Omit specific fields from the User
|
|
2535
|
+
*/
|
|
2536
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2537
|
+
/**
|
|
2538
|
+
* Choose, which related nodes to fetch as well
|
|
2539
|
+
*/
|
|
2540
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2541
|
+
where?: Prisma.UserWhereInput;
|
|
2542
|
+
};
|
|
2543
|
+
/**
|
|
2544
|
+
* ApplicationRefund without action
|
|
2545
|
+
*/
|
|
2546
|
+
export type ApplicationRefundDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2547
|
+
/**
|
|
2548
|
+
* Select specific fields to fetch from the ApplicationRefund
|
|
2549
|
+
*/
|
|
2550
|
+
select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
|
|
2551
|
+
/**
|
|
2552
|
+
* Omit specific fields from the ApplicationRefund
|
|
2553
|
+
*/
|
|
2554
|
+
omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
|
|
2555
|
+
/**
|
|
2556
|
+
* Choose, which related nodes to fetch as well
|
|
2557
|
+
*/
|
|
2558
|
+
include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
|
|
2559
|
+
};
|
|
2560
|
+
export {};
|