@valentine-efagene/qshelter-common 2.0.78 → 2.0.81
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 +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +120 -30
- package/dist/generated/client/enums.d.ts +10 -10
- package/dist/generated/client/enums.js +9 -9
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +129 -8
- package/dist/generated/client/internal/prismaNamespace.js +44 -4
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +45 -3
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +44 -4
- package/dist/generated/client/models/Contract.d.ts +323 -0
- package/dist/generated/client/models/ContractEvent.d.ts +76 -66
- package/dist/generated/client/models/ContractRefund.d.ts +2560 -0
- package/dist/generated/client/models/ContractRefund.js +1 -0
- package/dist/generated/client/models/ContractTermination.d.ts +0 -3
- package/dist/generated/client/models/Tenant.d.ts +235 -0
- package/dist/generated/client/models/User.d.ts +1103 -22
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +77 -11
|
@@ -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 ContractRefund
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type ContractRefundModel = runtime.Types.Result.DefaultSelection<Prisma.$ContractRefundPayload>;
|
|
9
|
+
export type AggregateContractRefund = {
|
|
10
|
+
_count: ContractRefundCountAggregateOutputType | null;
|
|
11
|
+
_avg: ContractRefundAvgAggregateOutputType | null;
|
|
12
|
+
_sum: ContractRefundSumAggregateOutputType | null;
|
|
13
|
+
_min: ContractRefundMinAggregateOutputType | null;
|
|
14
|
+
_max: ContractRefundMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type ContractRefundAvgAggregateOutputType = {
|
|
17
|
+
amount: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type ContractRefundSumAggregateOutputType = {
|
|
20
|
+
amount: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type ContractRefundMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
tenantId: string | null;
|
|
25
|
+
contractId: 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 ContractRefundMaxAggregateOutputType = {
|
|
48
|
+
id: string | null;
|
|
49
|
+
tenantId: string | null;
|
|
50
|
+
contractId: 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 ContractRefundCountAggregateOutputType = {
|
|
73
|
+
id: number;
|
|
74
|
+
tenantId: number;
|
|
75
|
+
contractId: 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 ContractRefundAvgAggregateInputType = {
|
|
99
|
+
amount?: true;
|
|
100
|
+
};
|
|
101
|
+
export type ContractRefundSumAggregateInputType = {
|
|
102
|
+
amount?: true;
|
|
103
|
+
};
|
|
104
|
+
export type ContractRefundMinAggregateInputType = {
|
|
105
|
+
id?: true;
|
|
106
|
+
tenantId?: true;
|
|
107
|
+
contractId?: 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 ContractRefundMaxAggregateInputType = {
|
|
130
|
+
id?: true;
|
|
131
|
+
tenantId?: true;
|
|
132
|
+
contractId?: 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 ContractRefundCountAggregateInputType = {
|
|
155
|
+
id?: true;
|
|
156
|
+
tenantId?: true;
|
|
157
|
+
contractId?: 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 ContractRefundAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
+
/**
|
|
182
|
+
* Filter which ContractRefund to aggregate.
|
|
183
|
+
*/
|
|
184
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
187
|
+
*
|
|
188
|
+
* Determine the order of ContractRefunds to fetch.
|
|
189
|
+
*/
|
|
190
|
+
orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
|
|
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.ContractRefundWhereUniqueInput;
|
|
197
|
+
/**
|
|
198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
199
|
+
*
|
|
200
|
+
* Take `±n` ContractRefunds 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` ContractRefunds.
|
|
207
|
+
*/
|
|
208
|
+
skip?: number;
|
|
209
|
+
/**
|
|
210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
211
|
+
*
|
|
212
|
+
* Count returned ContractRefunds
|
|
213
|
+
**/
|
|
214
|
+
_count?: true | ContractRefundCountAggregateInputType;
|
|
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?: ContractRefundAvgAggregateInputType;
|
|
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?: ContractRefundSumAggregateInputType;
|
|
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?: ContractRefundMinAggregateInputType;
|
|
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?: ContractRefundMaxAggregateInputType;
|
|
239
|
+
};
|
|
240
|
+
export type GetContractRefundAggregateType<T extends ContractRefundAggregateArgs> = {
|
|
241
|
+
[P in keyof T & keyof AggregateContractRefund]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateContractRefund[P]> : Prisma.GetScalarType<T[P], AggregateContractRefund[P]>;
|
|
242
|
+
};
|
|
243
|
+
export type ContractRefundGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
244
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
245
|
+
orderBy?: Prisma.ContractRefundOrderByWithAggregationInput | Prisma.ContractRefundOrderByWithAggregationInput[];
|
|
246
|
+
by: Prisma.ContractRefundScalarFieldEnum[] | Prisma.ContractRefundScalarFieldEnum;
|
|
247
|
+
having?: Prisma.ContractRefundScalarWhereWithAggregatesInput;
|
|
248
|
+
take?: number;
|
|
249
|
+
skip?: number;
|
|
250
|
+
_count?: ContractRefundCountAggregateInputType | true;
|
|
251
|
+
_avg?: ContractRefundAvgAggregateInputType;
|
|
252
|
+
_sum?: ContractRefundSumAggregateInputType;
|
|
253
|
+
_min?: ContractRefundMinAggregateInputType;
|
|
254
|
+
_max?: ContractRefundMaxAggregateInputType;
|
|
255
|
+
};
|
|
256
|
+
export type ContractRefundGroupByOutputType = {
|
|
257
|
+
id: string;
|
|
258
|
+
tenantId: string;
|
|
259
|
+
contractId: 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: ContractRefundCountAggregateOutputType | null;
|
|
281
|
+
_avg: ContractRefundAvgAggregateOutputType | null;
|
|
282
|
+
_sum: ContractRefundSumAggregateOutputType | null;
|
|
283
|
+
_min: ContractRefundMinAggregateOutputType | null;
|
|
284
|
+
_max: ContractRefundMaxAggregateOutputType | null;
|
|
285
|
+
};
|
|
286
|
+
type GetContractRefundGroupByPayload<T extends ContractRefundGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ContractRefundGroupByOutputType, T['by']> & {
|
|
287
|
+
[P in ((keyof T) & (keyof ContractRefundGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ContractRefundGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ContractRefundGroupByOutputType[P]>;
|
|
288
|
+
}>>;
|
|
289
|
+
export type ContractRefundWhereInput = {
|
|
290
|
+
AND?: Prisma.ContractRefundWhereInput | Prisma.ContractRefundWhereInput[];
|
|
291
|
+
OR?: Prisma.ContractRefundWhereInput[];
|
|
292
|
+
NOT?: Prisma.ContractRefundWhereInput | Prisma.ContractRefundWhereInput[];
|
|
293
|
+
id?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
294
|
+
tenantId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
295
|
+
contractId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
296
|
+
amount?: Prisma.FloatFilter<"ContractRefund"> | number;
|
|
297
|
+
reason?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
298
|
+
status?: Prisma.EnumRefundStatusFilter<"ContractRefund"> | $Enums.RefundStatus;
|
|
299
|
+
requestedById?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
300
|
+
approvedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
301
|
+
processedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
302
|
+
paymentMethod?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
303
|
+
referenceNumber?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
304
|
+
recipientName?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
305
|
+
recipientAccount?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
306
|
+
recipientBank?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
307
|
+
requestedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
308
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
309
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
310
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
311
|
+
approvalNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
312
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
313
|
+
processingNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
314
|
+
createdAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
315
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
316
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
317
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
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 ContractRefundOrderByWithRelationInput = {
|
|
323
|
+
id?: Prisma.SortOrder;
|
|
324
|
+
tenantId?: Prisma.SortOrder;
|
|
325
|
+
contractId?: 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
|
+
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
348
|
+
requestedBy?: Prisma.UserOrderByWithRelationInput;
|
|
349
|
+
approvedBy?: Prisma.UserOrderByWithRelationInput;
|
|
350
|
+
processedBy?: Prisma.UserOrderByWithRelationInput;
|
|
351
|
+
_relevance?: Prisma.ContractRefundOrderByRelevanceInput;
|
|
352
|
+
};
|
|
353
|
+
export type ContractRefundWhereUniqueInput = Prisma.AtLeast<{
|
|
354
|
+
id?: string;
|
|
355
|
+
AND?: Prisma.ContractRefundWhereInput | Prisma.ContractRefundWhereInput[];
|
|
356
|
+
OR?: Prisma.ContractRefundWhereInput[];
|
|
357
|
+
NOT?: Prisma.ContractRefundWhereInput | Prisma.ContractRefundWhereInput[];
|
|
358
|
+
tenantId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
359
|
+
contractId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
360
|
+
amount?: Prisma.FloatFilter<"ContractRefund"> | number;
|
|
361
|
+
reason?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
362
|
+
status?: Prisma.EnumRefundStatusFilter<"ContractRefund"> | $Enums.RefundStatus;
|
|
363
|
+
requestedById?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
364
|
+
approvedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
365
|
+
processedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
366
|
+
paymentMethod?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
367
|
+
referenceNumber?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
368
|
+
recipientName?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
369
|
+
recipientAccount?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
370
|
+
recipientBank?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
371
|
+
requestedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
372
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
373
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
374
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
375
|
+
approvalNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
376
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
377
|
+
processingNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
378
|
+
createdAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
379
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
380
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
381
|
+
contract?: Prisma.XOR<Prisma.ContractScalarRelationFilter, Prisma.ContractWhereInput>;
|
|
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 ContractRefundOrderByWithAggregationInput = {
|
|
387
|
+
id?: Prisma.SortOrder;
|
|
388
|
+
tenantId?: Prisma.SortOrder;
|
|
389
|
+
contractId?: 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.ContractRefundCountOrderByAggregateInput;
|
|
411
|
+
_avg?: Prisma.ContractRefundAvgOrderByAggregateInput;
|
|
412
|
+
_max?: Prisma.ContractRefundMaxOrderByAggregateInput;
|
|
413
|
+
_min?: Prisma.ContractRefundMinOrderByAggregateInput;
|
|
414
|
+
_sum?: Prisma.ContractRefundSumOrderByAggregateInput;
|
|
415
|
+
};
|
|
416
|
+
export type ContractRefundScalarWhereWithAggregatesInput = {
|
|
417
|
+
AND?: Prisma.ContractRefundScalarWhereWithAggregatesInput | Prisma.ContractRefundScalarWhereWithAggregatesInput[];
|
|
418
|
+
OR?: Prisma.ContractRefundScalarWhereWithAggregatesInput[];
|
|
419
|
+
NOT?: Prisma.ContractRefundScalarWhereWithAggregatesInput | Prisma.ContractRefundScalarWhereWithAggregatesInput[];
|
|
420
|
+
id?: Prisma.StringWithAggregatesFilter<"ContractRefund"> | string;
|
|
421
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"ContractRefund"> | string;
|
|
422
|
+
contractId?: Prisma.StringWithAggregatesFilter<"ContractRefund"> | string;
|
|
423
|
+
amount?: Prisma.FloatWithAggregatesFilter<"ContractRefund"> | number;
|
|
424
|
+
reason?: Prisma.StringWithAggregatesFilter<"ContractRefund"> | string;
|
|
425
|
+
status?: Prisma.EnumRefundStatusWithAggregatesFilter<"ContractRefund"> | $Enums.RefundStatus;
|
|
426
|
+
requestedById?: Prisma.StringWithAggregatesFilter<"ContractRefund"> | string;
|
|
427
|
+
approvedById?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
428
|
+
processedById?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
429
|
+
paymentMethod?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
430
|
+
referenceNumber?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
431
|
+
recipientName?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
432
|
+
recipientAccount?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
433
|
+
recipientBank?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
434
|
+
requestedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractRefund"> | Date | string;
|
|
435
|
+
approvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractRefund"> | Date | string | null;
|
|
436
|
+
rejectedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractRefund"> | Date | string | null;
|
|
437
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractRefund"> | Date | string | null;
|
|
438
|
+
approvalNotes?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
439
|
+
rejectionNotes?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
440
|
+
processingNotes?: Prisma.StringNullableWithAggregatesFilter<"ContractRefund"> | string | null;
|
|
441
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractRefund"> | Date | string;
|
|
442
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractRefund"> | Date | string;
|
|
443
|
+
};
|
|
444
|
+
export type ContractRefundCreateInput = {
|
|
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
|
+
contract: Prisma.ContractCreateNestedOneWithoutRefundsInput;
|
|
465
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
466
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
467
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
468
|
+
};
|
|
469
|
+
export type ContractRefundUncheckedCreateInput = {
|
|
470
|
+
id?: string;
|
|
471
|
+
tenantId: string;
|
|
472
|
+
contractId: 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 ContractRefundUpdateInput = {
|
|
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
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutRefundsNestedInput;
|
|
515
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
516
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
517
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
518
|
+
};
|
|
519
|
+
export type ContractRefundUncheckedUpdateInput = {
|
|
520
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
522
|
+
contractId?: 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 ContractRefundCreateManyInput = {
|
|
545
|
+
id?: string;
|
|
546
|
+
tenantId: string;
|
|
547
|
+
contractId: 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 ContractRefundUpdateManyMutationInput = {
|
|
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 ContractRefundUncheckedUpdateManyInput = {
|
|
590
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
591
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
592
|
+
contractId?: 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 ContractRefundListRelationFilter = {
|
|
615
|
+
every?: Prisma.ContractRefundWhereInput;
|
|
616
|
+
some?: Prisma.ContractRefundWhereInput;
|
|
617
|
+
none?: Prisma.ContractRefundWhereInput;
|
|
618
|
+
};
|
|
619
|
+
export type ContractRefundOrderByRelationAggregateInput = {
|
|
620
|
+
_count?: Prisma.SortOrder;
|
|
621
|
+
};
|
|
622
|
+
export type ContractRefundOrderByRelevanceInput = {
|
|
623
|
+
fields: Prisma.ContractRefundOrderByRelevanceFieldEnum | Prisma.ContractRefundOrderByRelevanceFieldEnum[];
|
|
624
|
+
sort: Prisma.SortOrder;
|
|
625
|
+
search: string;
|
|
626
|
+
};
|
|
627
|
+
export type ContractRefundCountOrderByAggregateInput = {
|
|
628
|
+
id?: Prisma.SortOrder;
|
|
629
|
+
tenantId?: Prisma.SortOrder;
|
|
630
|
+
contractId?: 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 ContractRefundAvgOrderByAggregateInput = {
|
|
653
|
+
amount?: Prisma.SortOrder;
|
|
654
|
+
};
|
|
655
|
+
export type ContractRefundMaxOrderByAggregateInput = {
|
|
656
|
+
id?: Prisma.SortOrder;
|
|
657
|
+
tenantId?: Prisma.SortOrder;
|
|
658
|
+
contractId?: 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 ContractRefundMinOrderByAggregateInput = {
|
|
681
|
+
id?: Prisma.SortOrder;
|
|
682
|
+
tenantId?: Prisma.SortOrder;
|
|
683
|
+
contractId?: 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 ContractRefundSumOrderByAggregateInput = {
|
|
706
|
+
amount?: Prisma.SortOrder;
|
|
707
|
+
};
|
|
708
|
+
export type ContractRefundCreateNestedManyWithoutRequestedByInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ContractRefundCreateWithoutRequestedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput[];
|
|
710
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput | Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput[];
|
|
711
|
+
createMany?: Prisma.ContractRefundCreateManyRequestedByInputEnvelope;
|
|
712
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
713
|
+
};
|
|
714
|
+
export type ContractRefundCreateNestedManyWithoutApprovedByInput = {
|
|
715
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ContractRefundCreateWithoutApprovedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput[];
|
|
716
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput | Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput[];
|
|
717
|
+
createMany?: Prisma.ContractRefundCreateManyApprovedByInputEnvelope;
|
|
718
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
719
|
+
};
|
|
720
|
+
export type ContractRefundCreateNestedManyWithoutProcessedByInput = {
|
|
721
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ContractRefundCreateWithoutProcessedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput[];
|
|
722
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput | Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput[];
|
|
723
|
+
createMany?: Prisma.ContractRefundCreateManyProcessedByInputEnvelope;
|
|
724
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
725
|
+
};
|
|
726
|
+
export type ContractRefundUncheckedCreateNestedManyWithoutRequestedByInput = {
|
|
727
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ContractRefundCreateWithoutRequestedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput[];
|
|
728
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput | Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput[];
|
|
729
|
+
createMany?: Prisma.ContractRefundCreateManyRequestedByInputEnvelope;
|
|
730
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
731
|
+
};
|
|
732
|
+
export type ContractRefundUncheckedCreateNestedManyWithoutApprovedByInput = {
|
|
733
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ContractRefundCreateWithoutApprovedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput[];
|
|
734
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput | Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput[];
|
|
735
|
+
createMany?: Prisma.ContractRefundCreateManyApprovedByInputEnvelope;
|
|
736
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
737
|
+
};
|
|
738
|
+
export type ContractRefundUncheckedCreateNestedManyWithoutProcessedByInput = {
|
|
739
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ContractRefundCreateWithoutProcessedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput[];
|
|
740
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput | Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput[];
|
|
741
|
+
createMany?: Prisma.ContractRefundCreateManyProcessedByInputEnvelope;
|
|
742
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
743
|
+
};
|
|
744
|
+
export type ContractRefundUpdateManyWithoutRequestedByNestedInput = {
|
|
745
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ContractRefundCreateWithoutRequestedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput[];
|
|
746
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput | Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput[];
|
|
747
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutRequestedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutRequestedByInput[];
|
|
748
|
+
createMany?: Prisma.ContractRefundCreateManyRequestedByInputEnvelope;
|
|
749
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
750
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
751
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
752
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
753
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutRequestedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutRequestedByInput[];
|
|
754
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutRequestedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutRequestedByInput[];
|
|
755
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
756
|
+
};
|
|
757
|
+
export type ContractRefundUpdateManyWithoutApprovedByNestedInput = {
|
|
758
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ContractRefundCreateWithoutApprovedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput[];
|
|
759
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput | Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput[];
|
|
760
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutApprovedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutApprovedByInput[];
|
|
761
|
+
createMany?: Prisma.ContractRefundCreateManyApprovedByInputEnvelope;
|
|
762
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
763
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
764
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
765
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
766
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutApprovedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutApprovedByInput[];
|
|
767
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutApprovedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutApprovedByInput[];
|
|
768
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
769
|
+
};
|
|
770
|
+
export type ContractRefundUpdateManyWithoutProcessedByNestedInput = {
|
|
771
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ContractRefundCreateWithoutProcessedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput[];
|
|
772
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput | Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput[];
|
|
773
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutProcessedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutProcessedByInput[];
|
|
774
|
+
createMany?: Prisma.ContractRefundCreateManyProcessedByInputEnvelope;
|
|
775
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
776
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
777
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
778
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
779
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutProcessedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutProcessedByInput[];
|
|
780
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutProcessedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutProcessedByInput[];
|
|
781
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
782
|
+
};
|
|
783
|
+
export type ContractRefundUncheckedUpdateManyWithoutRequestedByNestedInput = {
|
|
784
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput> | Prisma.ContractRefundCreateWithoutRequestedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput[];
|
|
785
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput | Prisma.ContractRefundCreateOrConnectWithoutRequestedByInput[];
|
|
786
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutRequestedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutRequestedByInput[];
|
|
787
|
+
createMany?: Prisma.ContractRefundCreateManyRequestedByInputEnvelope;
|
|
788
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
789
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
790
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
791
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
792
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutRequestedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutRequestedByInput[];
|
|
793
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutRequestedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutRequestedByInput[];
|
|
794
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
795
|
+
};
|
|
796
|
+
export type ContractRefundUncheckedUpdateManyWithoutApprovedByNestedInput = {
|
|
797
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput> | Prisma.ContractRefundCreateWithoutApprovedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput[];
|
|
798
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput | Prisma.ContractRefundCreateOrConnectWithoutApprovedByInput[];
|
|
799
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutApprovedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutApprovedByInput[];
|
|
800
|
+
createMany?: Prisma.ContractRefundCreateManyApprovedByInputEnvelope;
|
|
801
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
802
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
803
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
804
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
805
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutApprovedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutApprovedByInput[];
|
|
806
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutApprovedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutApprovedByInput[];
|
|
807
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
808
|
+
};
|
|
809
|
+
export type ContractRefundUncheckedUpdateManyWithoutProcessedByNestedInput = {
|
|
810
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput> | Prisma.ContractRefundCreateWithoutProcessedByInput[] | Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput[];
|
|
811
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput | Prisma.ContractRefundCreateOrConnectWithoutProcessedByInput[];
|
|
812
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutProcessedByInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutProcessedByInput[];
|
|
813
|
+
createMany?: Prisma.ContractRefundCreateManyProcessedByInputEnvelope;
|
|
814
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
815
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
816
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
817
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
818
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutProcessedByInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutProcessedByInput[];
|
|
819
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutProcessedByInput | Prisma.ContractRefundUpdateManyWithWhereWithoutProcessedByInput[];
|
|
820
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
821
|
+
};
|
|
822
|
+
export type ContractRefundCreateNestedManyWithoutTenantInput = {
|
|
823
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput> | Prisma.ContractRefundCreateWithoutTenantInput[] | Prisma.ContractRefundUncheckedCreateWithoutTenantInput[];
|
|
824
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutTenantInput | Prisma.ContractRefundCreateOrConnectWithoutTenantInput[];
|
|
825
|
+
createMany?: Prisma.ContractRefundCreateManyTenantInputEnvelope;
|
|
826
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
827
|
+
};
|
|
828
|
+
export type ContractRefundUncheckedCreateNestedManyWithoutTenantInput = {
|
|
829
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput> | Prisma.ContractRefundCreateWithoutTenantInput[] | Prisma.ContractRefundUncheckedCreateWithoutTenantInput[];
|
|
830
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutTenantInput | Prisma.ContractRefundCreateOrConnectWithoutTenantInput[];
|
|
831
|
+
createMany?: Prisma.ContractRefundCreateManyTenantInputEnvelope;
|
|
832
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
833
|
+
};
|
|
834
|
+
export type ContractRefundUpdateManyWithoutTenantNestedInput = {
|
|
835
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput> | Prisma.ContractRefundCreateWithoutTenantInput[] | Prisma.ContractRefundUncheckedCreateWithoutTenantInput[];
|
|
836
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutTenantInput | Prisma.ContractRefundCreateOrConnectWithoutTenantInput[];
|
|
837
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutTenantInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutTenantInput[];
|
|
838
|
+
createMany?: Prisma.ContractRefundCreateManyTenantInputEnvelope;
|
|
839
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
840
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
841
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
842
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
843
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutTenantInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutTenantInput[];
|
|
844
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutTenantInput | Prisma.ContractRefundUpdateManyWithWhereWithoutTenantInput[];
|
|
845
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
846
|
+
};
|
|
847
|
+
export type ContractRefundUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
848
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput> | Prisma.ContractRefundCreateWithoutTenantInput[] | Prisma.ContractRefundUncheckedCreateWithoutTenantInput[];
|
|
849
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutTenantInput | Prisma.ContractRefundCreateOrConnectWithoutTenantInput[];
|
|
850
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutTenantInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutTenantInput[];
|
|
851
|
+
createMany?: Prisma.ContractRefundCreateManyTenantInputEnvelope;
|
|
852
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
853
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
854
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
855
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
856
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutTenantInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutTenantInput[];
|
|
857
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutTenantInput | Prisma.ContractRefundUpdateManyWithWhereWithoutTenantInput[];
|
|
858
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
859
|
+
};
|
|
860
|
+
export type ContractRefundCreateNestedManyWithoutContractInput = {
|
|
861
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput> | Prisma.ContractRefundCreateWithoutContractInput[] | Prisma.ContractRefundUncheckedCreateWithoutContractInput[];
|
|
862
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutContractInput | Prisma.ContractRefundCreateOrConnectWithoutContractInput[];
|
|
863
|
+
createMany?: Prisma.ContractRefundCreateManyContractInputEnvelope;
|
|
864
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
865
|
+
};
|
|
866
|
+
export type ContractRefundUncheckedCreateNestedManyWithoutContractInput = {
|
|
867
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput> | Prisma.ContractRefundCreateWithoutContractInput[] | Prisma.ContractRefundUncheckedCreateWithoutContractInput[];
|
|
868
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutContractInput | Prisma.ContractRefundCreateOrConnectWithoutContractInput[];
|
|
869
|
+
createMany?: Prisma.ContractRefundCreateManyContractInputEnvelope;
|
|
870
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
871
|
+
};
|
|
872
|
+
export type ContractRefundUpdateManyWithoutContractNestedInput = {
|
|
873
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput> | Prisma.ContractRefundCreateWithoutContractInput[] | Prisma.ContractRefundUncheckedCreateWithoutContractInput[];
|
|
874
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutContractInput | Prisma.ContractRefundCreateOrConnectWithoutContractInput[];
|
|
875
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutContractInput[];
|
|
876
|
+
createMany?: Prisma.ContractRefundCreateManyContractInputEnvelope;
|
|
877
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
878
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
879
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
880
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
881
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutContractInput[];
|
|
882
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutContractInput | Prisma.ContractRefundUpdateManyWithWhereWithoutContractInput[];
|
|
883
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
884
|
+
};
|
|
885
|
+
export type ContractRefundUncheckedUpdateManyWithoutContractNestedInput = {
|
|
886
|
+
create?: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput> | Prisma.ContractRefundCreateWithoutContractInput[] | Prisma.ContractRefundUncheckedCreateWithoutContractInput[];
|
|
887
|
+
connectOrCreate?: Prisma.ContractRefundCreateOrConnectWithoutContractInput | Prisma.ContractRefundCreateOrConnectWithoutContractInput[];
|
|
888
|
+
upsert?: Prisma.ContractRefundUpsertWithWhereUniqueWithoutContractInput | Prisma.ContractRefundUpsertWithWhereUniqueWithoutContractInput[];
|
|
889
|
+
createMany?: Prisma.ContractRefundCreateManyContractInputEnvelope;
|
|
890
|
+
set?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
891
|
+
disconnect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
892
|
+
delete?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
893
|
+
connect?: Prisma.ContractRefundWhereUniqueInput | Prisma.ContractRefundWhereUniqueInput[];
|
|
894
|
+
update?: Prisma.ContractRefundUpdateWithWhereUniqueWithoutContractInput | Prisma.ContractRefundUpdateWithWhereUniqueWithoutContractInput[];
|
|
895
|
+
updateMany?: Prisma.ContractRefundUpdateManyWithWhereWithoutContractInput | Prisma.ContractRefundUpdateManyWithWhereWithoutContractInput[];
|
|
896
|
+
deleteMany?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
897
|
+
};
|
|
898
|
+
export type EnumRefundStatusFieldUpdateOperationsInput = {
|
|
899
|
+
set?: $Enums.RefundStatus;
|
|
900
|
+
};
|
|
901
|
+
export type ContractRefundCreateWithoutRequestedByInput = {
|
|
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
|
+
contract: Prisma.ContractCreateNestedOneWithoutRefundsInput;
|
|
922
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
923
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
924
|
+
};
|
|
925
|
+
export type ContractRefundUncheckedCreateWithoutRequestedByInput = {
|
|
926
|
+
id?: string;
|
|
927
|
+
tenantId: string;
|
|
928
|
+
contractId: 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 ContractRefundCreateOrConnectWithoutRequestedByInput = {
|
|
950
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
951
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput>;
|
|
952
|
+
};
|
|
953
|
+
export type ContractRefundCreateManyRequestedByInputEnvelope = {
|
|
954
|
+
data: Prisma.ContractRefundCreateManyRequestedByInput | Prisma.ContractRefundCreateManyRequestedByInput[];
|
|
955
|
+
skipDuplicates?: boolean;
|
|
956
|
+
};
|
|
957
|
+
export type ContractRefundCreateWithoutApprovedByInput = {
|
|
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
|
+
contract: Prisma.ContractCreateNestedOneWithoutRefundsInput;
|
|
978
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
979
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
980
|
+
};
|
|
981
|
+
export type ContractRefundUncheckedCreateWithoutApprovedByInput = {
|
|
982
|
+
id?: string;
|
|
983
|
+
tenantId: string;
|
|
984
|
+
contractId: 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 ContractRefundCreateOrConnectWithoutApprovedByInput = {
|
|
1006
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1007
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput>;
|
|
1008
|
+
};
|
|
1009
|
+
export type ContractRefundCreateManyApprovedByInputEnvelope = {
|
|
1010
|
+
data: Prisma.ContractRefundCreateManyApprovedByInput | Prisma.ContractRefundCreateManyApprovedByInput[];
|
|
1011
|
+
skipDuplicates?: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
export type ContractRefundCreateWithoutProcessedByInput = {
|
|
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
|
+
contract: Prisma.ContractCreateNestedOneWithoutRefundsInput;
|
|
1034
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
1035
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
1036
|
+
};
|
|
1037
|
+
export type ContractRefundUncheckedCreateWithoutProcessedByInput = {
|
|
1038
|
+
id?: string;
|
|
1039
|
+
tenantId: string;
|
|
1040
|
+
contractId: 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 ContractRefundCreateOrConnectWithoutProcessedByInput = {
|
|
1062
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1063
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput>;
|
|
1064
|
+
};
|
|
1065
|
+
export type ContractRefundCreateManyProcessedByInputEnvelope = {
|
|
1066
|
+
data: Prisma.ContractRefundCreateManyProcessedByInput | Prisma.ContractRefundCreateManyProcessedByInput[];
|
|
1067
|
+
skipDuplicates?: boolean;
|
|
1068
|
+
};
|
|
1069
|
+
export type ContractRefundUpsertWithWhereUniqueWithoutRequestedByInput = {
|
|
1070
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1071
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateWithoutRequestedByInput, Prisma.ContractRefundUncheckedUpdateWithoutRequestedByInput>;
|
|
1072
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutRequestedByInput, Prisma.ContractRefundUncheckedCreateWithoutRequestedByInput>;
|
|
1073
|
+
};
|
|
1074
|
+
export type ContractRefundUpdateWithWhereUniqueWithoutRequestedByInput = {
|
|
1075
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1076
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateWithoutRequestedByInput, Prisma.ContractRefundUncheckedUpdateWithoutRequestedByInput>;
|
|
1077
|
+
};
|
|
1078
|
+
export type ContractRefundUpdateManyWithWhereWithoutRequestedByInput = {
|
|
1079
|
+
where: Prisma.ContractRefundScalarWhereInput;
|
|
1080
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyWithoutRequestedByInput>;
|
|
1081
|
+
};
|
|
1082
|
+
export type ContractRefundScalarWhereInput = {
|
|
1083
|
+
AND?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
1084
|
+
OR?: Prisma.ContractRefundScalarWhereInput[];
|
|
1085
|
+
NOT?: Prisma.ContractRefundScalarWhereInput | Prisma.ContractRefundScalarWhereInput[];
|
|
1086
|
+
id?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
1087
|
+
tenantId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
1088
|
+
contractId?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
1089
|
+
amount?: Prisma.FloatFilter<"ContractRefund"> | number;
|
|
1090
|
+
reason?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
1091
|
+
status?: Prisma.EnumRefundStatusFilter<"ContractRefund"> | $Enums.RefundStatus;
|
|
1092
|
+
requestedById?: Prisma.StringFilter<"ContractRefund"> | string;
|
|
1093
|
+
approvedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1094
|
+
processedById?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1095
|
+
paymentMethod?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1096
|
+
referenceNumber?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1097
|
+
recipientName?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1098
|
+
recipientAccount?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1099
|
+
recipientBank?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1100
|
+
requestedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
1101
|
+
approvedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
1102
|
+
rejectedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
1103
|
+
processedAt?: Prisma.DateTimeNullableFilter<"ContractRefund"> | Date | string | null;
|
|
1104
|
+
approvalNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1105
|
+
rejectionNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1106
|
+
processingNotes?: Prisma.StringNullableFilter<"ContractRefund"> | string | null;
|
|
1107
|
+
createdAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
1108
|
+
updatedAt?: Prisma.DateTimeFilter<"ContractRefund"> | Date | string;
|
|
1109
|
+
};
|
|
1110
|
+
export type ContractRefundUpsertWithWhereUniqueWithoutApprovedByInput = {
|
|
1111
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1112
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateWithoutApprovedByInput, Prisma.ContractRefundUncheckedUpdateWithoutApprovedByInput>;
|
|
1113
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutApprovedByInput, Prisma.ContractRefundUncheckedCreateWithoutApprovedByInput>;
|
|
1114
|
+
};
|
|
1115
|
+
export type ContractRefundUpdateWithWhereUniqueWithoutApprovedByInput = {
|
|
1116
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1117
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateWithoutApprovedByInput, Prisma.ContractRefundUncheckedUpdateWithoutApprovedByInput>;
|
|
1118
|
+
};
|
|
1119
|
+
export type ContractRefundUpdateManyWithWhereWithoutApprovedByInput = {
|
|
1120
|
+
where: Prisma.ContractRefundScalarWhereInput;
|
|
1121
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyWithoutApprovedByInput>;
|
|
1122
|
+
};
|
|
1123
|
+
export type ContractRefundUpsertWithWhereUniqueWithoutProcessedByInput = {
|
|
1124
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1125
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateWithoutProcessedByInput, Prisma.ContractRefundUncheckedUpdateWithoutProcessedByInput>;
|
|
1126
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutProcessedByInput, Prisma.ContractRefundUncheckedCreateWithoutProcessedByInput>;
|
|
1127
|
+
};
|
|
1128
|
+
export type ContractRefundUpdateWithWhereUniqueWithoutProcessedByInput = {
|
|
1129
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1130
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateWithoutProcessedByInput, Prisma.ContractRefundUncheckedUpdateWithoutProcessedByInput>;
|
|
1131
|
+
};
|
|
1132
|
+
export type ContractRefundUpdateManyWithWhereWithoutProcessedByInput = {
|
|
1133
|
+
where: Prisma.ContractRefundScalarWhereInput;
|
|
1134
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyWithoutProcessedByInput>;
|
|
1135
|
+
};
|
|
1136
|
+
export type ContractRefundCreateWithoutTenantInput = {
|
|
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
|
+
contract: Prisma.ContractCreateNestedOneWithoutRefundsInput;
|
|
1156
|
+
requestedBy: Prisma.UserCreateNestedOneWithoutRequestedRefundsInput;
|
|
1157
|
+
approvedBy?: Prisma.UserCreateNestedOneWithoutApprovedRefundsInput;
|
|
1158
|
+
processedBy?: Prisma.UserCreateNestedOneWithoutProcessedRefundsInput;
|
|
1159
|
+
};
|
|
1160
|
+
export type ContractRefundUncheckedCreateWithoutTenantInput = {
|
|
1161
|
+
id?: string;
|
|
1162
|
+
contractId: 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 ContractRefundCreateOrConnectWithoutTenantInput = {
|
|
1185
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1186
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput>;
|
|
1187
|
+
};
|
|
1188
|
+
export type ContractRefundCreateManyTenantInputEnvelope = {
|
|
1189
|
+
data: Prisma.ContractRefundCreateManyTenantInput | Prisma.ContractRefundCreateManyTenantInput[];
|
|
1190
|
+
skipDuplicates?: boolean;
|
|
1191
|
+
};
|
|
1192
|
+
export type ContractRefundUpsertWithWhereUniqueWithoutTenantInput = {
|
|
1193
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1194
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateWithoutTenantInput, Prisma.ContractRefundUncheckedUpdateWithoutTenantInput>;
|
|
1195
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutTenantInput, Prisma.ContractRefundUncheckedCreateWithoutTenantInput>;
|
|
1196
|
+
};
|
|
1197
|
+
export type ContractRefundUpdateWithWhereUniqueWithoutTenantInput = {
|
|
1198
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1199
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateWithoutTenantInput, Prisma.ContractRefundUncheckedUpdateWithoutTenantInput>;
|
|
1200
|
+
};
|
|
1201
|
+
export type ContractRefundUpdateManyWithWhereWithoutTenantInput = {
|
|
1202
|
+
where: Prisma.ContractRefundScalarWhereInput;
|
|
1203
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyWithoutTenantInput>;
|
|
1204
|
+
};
|
|
1205
|
+
export type ContractRefundCreateWithoutContractInput = {
|
|
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 ContractRefundUncheckedCreateWithoutContractInput = {
|
|
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 ContractRefundCreateOrConnectWithoutContractInput = {
|
|
1254
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1255
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput>;
|
|
1256
|
+
};
|
|
1257
|
+
export type ContractRefundCreateManyContractInputEnvelope = {
|
|
1258
|
+
data: Prisma.ContractRefundCreateManyContractInput | Prisma.ContractRefundCreateManyContractInput[];
|
|
1259
|
+
skipDuplicates?: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
export type ContractRefundUpsertWithWhereUniqueWithoutContractInput = {
|
|
1262
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1263
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateWithoutContractInput, Prisma.ContractRefundUncheckedUpdateWithoutContractInput>;
|
|
1264
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateWithoutContractInput, Prisma.ContractRefundUncheckedCreateWithoutContractInput>;
|
|
1265
|
+
};
|
|
1266
|
+
export type ContractRefundUpdateWithWhereUniqueWithoutContractInput = {
|
|
1267
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
1268
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateWithoutContractInput, Prisma.ContractRefundUncheckedUpdateWithoutContractInput>;
|
|
1269
|
+
};
|
|
1270
|
+
export type ContractRefundUpdateManyWithWhereWithoutContractInput = {
|
|
1271
|
+
where: Prisma.ContractRefundScalarWhereInput;
|
|
1272
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyWithoutContractInput>;
|
|
1273
|
+
};
|
|
1274
|
+
export type ContractRefundCreateManyRequestedByInput = {
|
|
1275
|
+
id?: string;
|
|
1276
|
+
tenantId: string;
|
|
1277
|
+
contractId: 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 ContractRefundCreateManyApprovedByInput = {
|
|
1299
|
+
id?: string;
|
|
1300
|
+
tenantId: string;
|
|
1301
|
+
contractId: 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 ContractRefundCreateManyProcessedByInput = {
|
|
1323
|
+
id?: string;
|
|
1324
|
+
tenantId: string;
|
|
1325
|
+
contractId: 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 ContractRefundUpdateWithoutRequestedByInput = {
|
|
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
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1367
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1368
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1369
|
+
};
|
|
1370
|
+
export type ContractRefundUncheckedUpdateWithoutRequestedByInput = {
|
|
1371
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1372
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1373
|
+
contractId?: 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 ContractRefundUncheckedUpdateManyWithoutRequestedByInput = {
|
|
1395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1396
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1397
|
+
contractId?: 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 ContractRefundUpdateWithoutApprovedByInput = {
|
|
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
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1439
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1440
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1441
|
+
};
|
|
1442
|
+
export type ContractRefundUncheckedUpdateWithoutApprovedByInput = {
|
|
1443
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1444
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1445
|
+
contractId?: 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 ContractRefundUncheckedUpdateManyWithoutApprovedByInput = {
|
|
1467
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1468
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1469
|
+
contractId?: 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 ContractRefundUpdateWithoutProcessedByInput = {
|
|
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
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1511
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1512
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1513
|
+
};
|
|
1514
|
+
export type ContractRefundUncheckedUpdateWithoutProcessedByInput = {
|
|
1515
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1516
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1517
|
+
contractId?: 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 ContractRefundUncheckedUpdateManyWithoutProcessedByInput = {
|
|
1539
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1540
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1541
|
+
contractId?: 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 ContractRefundCreateManyTenantInput = {
|
|
1563
|
+
id?: string;
|
|
1564
|
+
contractId: 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 ContractRefundUpdateWithoutTenantInput = {
|
|
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
|
+
contract?: Prisma.ContractUpdateOneRequiredWithoutRefundsNestedInput;
|
|
1606
|
+
requestedBy?: Prisma.UserUpdateOneRequiredWithoutRequestedRefundsNestedInput;
|
|
1607
|
+
approvedBy?: Prisma.UserUpdateOneWithoutApprovedRefundsNestedInput;
|
|
1608
|
+
processedBy?: Prisma.UserUpdateOneWithoutProcessedRefundsNestedInput;
|
|
1609
|
+
};
|
|
1610
|
+
export type ContractRefundUncheckedUpdateWithoutTenantInput = {
|
|
1611
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1612
|
+
contractId?: 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 ContractRefundUncheckedUpdateManyWithoutTenantInput = {
|
|
1635
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1636
|
+
contractId?: 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 ContractRefundCreateManyContractInput = {
|
|
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 ContractRefundUpdateWithoutContractInput = {
|
|
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 ContractRefundUncheckedUpdateWithoutContractInput = {
|
|
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 ContractRefundUncheckedUpdateManyWithoutContractInput = {
|
|
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 ContractRefundSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1755
|
+
id?: boolean;
|
|
1756
|
+
tenantId?: boolean;
|
|
1757
|
+
contractId?: 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
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
1780
|
+
requestedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1781
|
+
approvedBy?: boolean | Prisma.ContractRefund$approvedByArgs<ExtArgs>;
|
|
1782
|
+
processedBy?: boolean | Prisma.ContractRefund$processedByArgs<ExtArgs>;
|
|
1783
|
+
}, ExtArgs["result"]["contractRefund"]>;
|
|
1784
|
+
export type ContractRefundSelectScalar = {
|
|
1785
|
+
id?: boolean;
|
|
1786
|
+
tenantId?: boolean;
|
|
1787
|
+
contractId?: 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 ContractRefundOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "contractId" | "amount" | "reason" | "status" | "requestedById" | "approvedById" | "processedById" | "paymentMethod" | "referenceNumber" | "recipientName" | "recipientAccount" | "recipientBank" | "requestedAt" | "approvedAt" | "rejectedAt" | "processedAt" | "approvalNotes" | "rejectionNotes" | "processingNotes" | "createdAt" | "updatedAt", ExtArgs["result"]["contractRefund"]>;
|
|
1810
|
+
export type ContractRefundInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1811
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1812
|
+
contract?: boolean | Prisma.ContractDefaultArgs<ExtArgs>;
|
|
1813
|
+
requestedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1814
|
+
approvedBy?: boolean | Prisma.ContractRefund$approvedByArgs<ExtArgs>;
|
|
1815
|
+
processedBy?: boolean | Prisma.ContractRefund$processedByArgs<ExtArgs>;
|
|
1816
|
+
};
|
|
1817
|
+
export type $ContractRefundPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1818
|
+
name: "ContractRefund";
|
|
1819
|
+
objects: {
|
|
1820
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1821
|
+
contract: Prisma.$ContractPayload<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
|
+
contractId: 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"]["contractRefund"]>;
|
|
1851
|
+
composites: {};
|
|
1852
|
+
};
|
|
1853
|
+
export type ContractRefundGetPayload<S extends boolean | null | undefined | ContractRefundDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload, S>;
|
|
1854
|
+
export type ContractRefundCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ContractRefundFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1855
|
+
select?: ContractRefundCountAggregateInputType | true;
|
|
1856
|
+
};
|
|
1857
|
+
export interface ContractRefundDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1858
|
+
[K: symbol]: {
|
|
1859
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ContractRefund'];
|
|
1860
|
+
meta: {
|
|
1861
|
+
name: 'ContractRefund';
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
/**
|
|
1865
|
+
* Find zero or one ContractRefund that matches the filter.
|
|
1866
|
+
* @param {ContractRefundFindUniqueArgs} args - Arguments to find a ContractRefund
|
|
1867
|
+
* @example
|
|
1868
|
+
* // Get one ContractRefund
|
|
1869
|
+
* const contractRefund = await prisma.contractRefund.findUnique({
|
|
1870
|
+
* where: {
|
|
1871
|
+
* // ... provide filter here
|
|
1872
|
+
* }
|
|
1873
|
+
* })
|
|
1874
|
+
*/
|
|
1875
|
+
findUnique<T extends ContractRefundFindUniqueArgs>(args: Prisma.SelectSubset<T, ContractRefundFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Find one ContractRefund that matches the filter or throw an error with `error.code='P2025'`
|
|
1878
|
+
* if no matches were found.
|
|
1879
|
+
* @param {ContractRefundFindUniqueOrThrowArgs} args - Arguments to find a ContractRefund
|
|
1880
|
+
* @example
|
|
1881
|
+
* // Get one ContractRefund
|
|
1882
|
+
* const contractRefund = await prisma.contractRefund.findUniqueOrThrow({
|
|
1883
|
+
* where: {
|
|
1884
|
+
* // ... provide filter here
|
|
1885
|
+
* }
|
|
1886
|
+
* })
|
|
1887
|
+
*/
|
|
1888
|
+
findUniqueOrThrow<T extends ContractRefundFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ContractRefundFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1889
|
+
/**
|
|
1890
|
+
* Find the first ContractRefund 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 {ContractRefundFindFirstArgs} args - Arguments to find a ContractRefund
|
|
1894
|
+
* @example
|
|
1895
|
+
* // Get one ContractRefund
|
|
1896
|
+
* const contractRefund = await prisma.contractRefund.findFirst({
|
|
1897
|
+
* where: {
|
|
1898
|
+
* // ... provide filter here
|
|
1899
|
+
* }
|
|
1900
|
+
* })
|
|
1901
|
+
*/
|
|
1902
|
+
findFirst<T extends ContractRefundFindFirstArgs>(args?: Prisma.SelectSubset<T, ContractRefundFindFirstArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Find the first ContractRefund 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 {ContractRefundFindFirstOrThrowArgs} args - Arguments to find a ContractRefund
|
|
1909
|
+
* @example
|
|
1910
|
+
* // Get one ContractRefund
|
|
1911
|
+
* const contractRefund = await prisma.contractRefund.findFirstOrThrow({
|
|
1912
|
+
* where: {
|
|
1913
|
+
* // ... provide filter here
|
|
1914
|
+
* }
|
|
1915
|
+
* })
|
|
1916
|
+
*/
|
|
1917
|
+
findFirstOrThrow<T extends ContractRefundFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ContractRefundFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Find zero or more ContractRefunds 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 {ContractRefundFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1923
|
+
* @example
|
|
1924
|
+
* // Get all ContractRefunds
|
|
1925
|
+
* const contractRefunds = await prisma.contractRefund.findMany()
|
|
1926
|
+
*
|
|
1927
|
+
* // Get first 10 ContractRefunds
|
|
1928
|
+
* const contractRefunds = await prisma.contractRefund.findMany({ take: 10 })
|
|
1929
|
+
*
|
|
1930
|
+
* // Only select the `id`
|
|
1931
|
+
* const contractRefundWithIdOnly = await prisma.contractRefund.findMany({ select: { id: true } })
|
|
1932
|
+
*
|
|
1933
|
+
*/
|
|
1934
|
+
findMany<T extends ContractRefundFindManyArgs>(args?: Prisma.SelectSubset<T, ContractRefundFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1935
|
+
/**
|
|
1936
|
+
* Create a ContractRefund.
|
|
1937
|
+
* @param {ContractRefundCreateArgs} args - Arguments to create a ContractRefund.
|
|
1938
|
+
* @example
|
|
1939
|
+
* // Create one ContractRefund
|
|
1940
|
+
* const ContractRefund = await prisma.contractRefund.create({
|
|
1941
|
+
* data: {
|
|
1942
|
+
* // ... data to create a ContractRefund
|
|
1943
|
+
* }
|
|
1944
|
+
* })
|
|
1945
|
+
*
|
|
1946
|
+
*/
|
|
1947
|
+
create<T extends ContractRefundCreateArgs>(args: Prisma.SelectSubset<T, ContractRefundCreateArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1948
|
+
/**
|
|
1949
|
+
* Create many ContractRefunds.
|
|
1950
|
+
* @param {ContractRefundCreateManyArgs} args - Arguments to create many ContractRefunds.
|
|
1951
|
+
* @example
|
|
1952
|
+
* // Create many ContractRefunds
|
|
1953
|
+
* const contractRefund = await prisma.contractRefund.createMany({
|
|
1954
|
+
* data: [
|
|
1955
|
+
* // ... provide data here
|
|
1956
|
+
* ]
|
|
1957
|
+
* })
|
|
1958
|
+
*
|
|
1959
|
+
*/
|
|
1960
|
+
createMany<T extends ContractRefundCreateManyArgs>(args?: Prisma.SelectSubset<T, ContractRefundCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Delete a ContractRefund.
|
|
1963
|
+
* @param {ContractRefundDeleteArgs} args - Arguments to delete one ContractRefund.
|
|
1964
|
+
* @example
|
|
1965
|
+
* // Delete one ContractRefund
|
|
1966
|
+
* const ContractRefund = await prisma.contractRefund.delete({
|
|
1967
|
+
* where: {
|
|
1968
|
+
* // ... filter to delete one ContractRefund
|
|
1969
|
+
* }
|
|
1970
|
+
* })
|
|
1971
|
+
*
|
|
1972
|
+
*/
|
|
1973
|
+
delete<T extends ContractRefundDeleteArgs>(args: Prisma.SelectSubset<T, ContractRefundDeleteArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Update one ContractRefund.
|
|
1976
|
+
* @param {ContractRefundUpdateArgs} args - Arguments to update one ContractRefund.
|
|
1977
|
+
* @example
|
|
1978
|
+
* // Update one ContractRefund
|
|
1979
|
+
* const contractRefund = await prisma.contractRefund.update({
|
|
1980
|
+
* where: {
|
|
1981
|
+
* // ... provide filter here
|
|
1982
|
+
* },
|
|
1983
|
+
* data: {
|
|
1984
|
+
* // ... provide data here
|
|
1985
|
+
* }
|
|
1986
|
+
* })
|
|
1987
|
+
*
|
|
1988
|
+
*/
|
|
1989
|
+
update<T extends ContractRefundUpdateArgs>(args: Prisma.SelectSubset<T, ContractRefundUpdateArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1990
|
+
/**
|
|
1991
|
+
* Delete zero or more ContractRefunds.
|
|
1992
|
+
* @param {ContractRefundDeleteManyArgs} args - Arguments to filter ContractRefunds to delete.
|
|
1993
|
+
* @example
|
|
1994
|
+
* // Delete a few ContractRefunds
|
|
1995
|
+
* const { count } = await prisma.contractRefund.deleteMany({
|
|
1996
|
+
* where: {
|
|
1997
|
+
* // ... provide filter here
|
|
1998
|
+
* }
|
|
1999
|
+
* })
|
|
2000
|
+
*
|
|
2001
|
+
*/
|
|
2002
|
+
deleteMany<T extends ContractRefundDeleteManyArgs>(args?: Prisma.SelectSubset<T, ContractRefundDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2003
|
+
/**
|
|
2004
|
+
* Update zero or more ContractRefunds.
|
|
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 {ContractRefundUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2008
|
+
* @example
|
|
2009
|
+
* // Update many ContractRefunds
|
|
2010
|
+
* const contractRefund = await prisma.contractRefund.updateMany({
|
|
2011
|
+
* where: {
|
|
2012
|
+
* // ... provide filter here
|
|
2013
|
+
* },
|
|
2014
|
+
* data: {
|
|
2015
|
+
* // ... provide data here
|
|
2016
|
+
* }
|
|
2017
|
+
* })
|
|
2018
|
+
*
|
|
2019
|
+
*/
|
|
2020
|
+
updateMany<T extends ContractRefundUpdateManyArgs>(args: Prisma.SelectSubset<T, ContractRefundUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Create or update one ContractRefund.
|
|
2023
|
+
* @param {ContractRefundUpsertArgs} args - Arguments to update or create a ContractRefund.
|
|
2024
|
+
* @example
|
|
2025
|
+
* // Update or create a ContractRefund
|
|
2026
|
+
* const contractRefund = await prisma.contractRefund.upsert({
|
|
2027
|
+
* create: {
|
|
2028
|
+
* // ... data to create a ContractRefund
|
|
2029
|
+
* },
|
|
2030
|
+
* update: {
|
|
2031
|
+
* // ... in case it already exists, update
|
|
2032
|
+
* },
|
|
2033
|
+
* where: {
|
|
2034
|
+
* // ... the filter for the ContractRefund we want to update
|
|
2035
|
+
* }
|
|
2036
|
+
* })
|
|
2037
|
+
*/
|
|
2038
|
+
upsert<T extends ContractRefundUpsertArgs>(args: Prisma.SelectSubset<T, ContractRefundUpsertArgs<ExtArgs>>): Prisma.Prisma__ContractRefundClient<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2039
|
+
/**
|
|
2040
|
+
* Count the number of ContractRefunds.
|
|
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 {ContractRefundCountArgs} args - Arguments to filter ContractRefunds to count.
|
|
2044
|
+
* @example
|
|
2045
|
+
* // Count the number of ContractRefunds
|
|
2046
|
+
* const count = await prisma.contractRefund.count({
|
|
2047
|
+
* where: {
|
|
2048
|
+
* // ... the filter for the ContractRefunds we want to count
|
|
2049
|
+
* }
|
|
2050
|
+
* })
|
|
2051
|
+
**/
|
|
2052
|
+
count<T extends ContractRefundCountArgs>(args?: Prisma.Subset<T, ContractRefundCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ContractRefundCountAggregateOutputType> : number>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Allows you to perform aggregations operations on a ContractRefund.
|
|
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 {ContractRefundAggregateArgs} 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 ContractRefundAggregateArgs>(args: Prisma.Subset<T, ContractRefundAggregateArgs>): Prisma.PrismaPromise<GetContractRefundAggregateType<T>>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Group by ContractRefund.
|
|
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 {ContractRefundGroupByArgs} 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 ContractRefundGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2097
|
+
orderBy: ContractRefundGroupByArgs['orderBy'];
|
|
2098
|
+
} : {
|
|
2099
|
+
orderBy?: ContractRefundGroupByArgs['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, ContractRefundGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetContractRefundGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Fields of the ContractRefund model
|
|
2116
|
+
*/
|
|
2117
|
+
readonly fields: ContractRefundFieldRefs;
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* The delegate class that acts as a "Promise-like" for ContractRefund.
|
|
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__ContractRefundClient<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
|
+
contract<T extends Prisma.ContractDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractClient<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
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.ContractRefund$approvedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractRefund$approvedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2131
|
+
processedBy<T extends Prisma.ContractRefund$processedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractRefund$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 ContractRefund model
|
|
2155
|
+
*/
|
|
2156
|
+
export interface ContractRefundFieldRefs {
|
|
2157
|
+
readonly id: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2158
|
+
readonly tenantId: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2159
|
+
readonly contractId: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2160
|
+
readonly amount: Prisma.FieldRef<"ContractRefund", 'Float'>;
|
|
2161
|
+
readonly reason: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2162
|
+
readonly status: Prisma.FieldRef<"ContractRefund", 'RefundStatus'>;
|
|
2163
|
+
readonly requestedById: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2164
|
+
readonly approvedById: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2165
|
+
readonly processedById: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2166
|
+
readonly paymentMethod: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2167
|
+
readonly referenceNumber: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2168
|
+
readonly recipientName: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2169
|
+
readonly recipientAccount: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2170
|
+
readonly recipientBank: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2171
|
+
readonly requestedAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2172
|
+
readonly approvedAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2173
|
+
readonly rejectedAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2174
|
+
readonly processedAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2175
|
+
readonly approvalNotes: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2176
|
+
readonly rejectionNotes: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2177
|
+
readonly processingNotes: Prisma.FieldRef<"ContractRefund", 'String'>;
|
|
2178
|
+
readonly createdAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2179
|
+
readonly updatedAt: Prisma.FieldRef<"ContractRefund", 'DateTime'>;
|
|
2180
|
+
}
|
|
2181
|
+
/**
|
|
2182
|
+
* ContractRefund findUnique
|
|
2183
|
+
*/
|
|
2184
|
+
export type ContractRefundFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2185
|
+
/**
|
|
2186
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2187
|
+
*/
|
|
2188
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2189
|
+
/**
|
|
2190
|
+
* Omit specific fields from the ContractRefund
|
|
2191
|
+
*/
|
|
2192
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2193
|
+
/**
|
|
2194
|
+
* Choose, which related nodes to fetch as well
|
|
2195
|
+
*/
|
|
2196
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2197
|
+
/**
|
|
2198
|
+
* Filter, which ContractRefund to fetch.
|
|
2199
|
+
*/
|
|
2200
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* ContractRefund findUniqueOrThrow
|
|
2204
|
+
*/
|
|
2205
|
+
export type ContractRefundFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2206
|
+
/**
|
|
2207
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2208
|
+
*/
|
|
2209
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2210
|
+
/**
|
|
2211
|
+
* Omit specific fields from the ContractRefund
|
|
2212
|
+
*/
|
|
2213
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* Choose, which related nodes to fetch as well
|
|
2216
|
+
*/
|
|
2217
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2218
|
+
/**
|
|
2219
|
+
* Filter, which ContractRefund to fetch.
|
|
2220
|
+
*/
|
|
2221
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
2222
|
+
};
|
|
2223
|
+
/**
|
|
2224
|
+
* ContractRefund findFirst
|
|
2225
|
+
*/
|
|
2226
|
+
export type ContractRefundFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2227
|
+
/**
|
|
2228
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2229
|
+
*/
|
|
2230
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* Omit specific fields from the ContractRefund
|
|
2233
|
+
*/
|
|
2234
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2235
|
+
/**
|
|
2236
|
+
* Choose, which related nodes to fetch as well
|
|
2237
|
+
*/
|
|
2238
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2239
|
+
/**
|
|
2240
|
+
* Filter, which ContractRefund to fetch.
|
|
2241
|
+
*/
|
|
2242
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
2243
|
+
/**
|
|
2244
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2245
|
+
*
|
|
2246
|
+
* Determine the order of ContractRefunds to fetch.
|
|
2247
|
+
*/
|
|
2248
|
+
orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
|
|
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 ContractRefunds.
|
|
2253
|
+
*/
|
|
2254
|
+
cursor?: Prisma.ContractRefundWhereUniqueInput;
|
|
2255
|
+
/**
|
|
2256
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2257
|
+
*
|
|
2258
|
+
* Take `±n` ContractRefunds 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` ContractRefunds.
|
|
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 ContractRefunds.
|
|
2271
|
+
*/
|
|
2272
|
+
distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* ContractRefund findFirstOrThrow
|
|
2276
|
+
*/
|
|
2277
|
+
export type ContractRefundFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2278
|
+
/**
|
|
2279
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2280
|
+
*/
|
|
2281
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2282
|
+
/**
|
|
2283
|
+
* Omit specific fields from the ContractRefund
|
|
2284
|
+
*/
|
|
2285
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2286
|
+
/**
|
|
2287
|
+
* Choose, which related nodes to fetch as well
|
|
2288
|
+
*/
|
|
2289
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2290
|
+
/**
|
|
2291
|
+
* Filter, which ContractRefund to fetch.
|
|
2292
|
+
*/
|
|
2293
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
2294
|
+
/**
|
|
2295
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2296
|
+
*
|
|
2297
|
+
* Determine the order of ContractRefunds to fetch.
|
|
2298
|
+
*/
|
|
2299
|
+
orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
|
|
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 ContractRefunds.
|
|
2304
|
+
*/
|
|
2305
|
+
cursor?: Prisma.ContractRefundWhereUniqueInput;
|
|
2306
|
+
/**
|
|
2307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2308
|
+
*
|
|
2309
|
+
* Take `±n` ContractRefunds 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` ContractRefunds.
|
|
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 ContractRefunds.
|
|
2322
|
+
*/
|
|
2323
|
+
distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
|
|
2324
|
+
};
|
|
2325
|
+
/**
|
|
2326
|
+
* ContractRefund findMany
|
|
2327
|
+
*/
|
|
2328
|
+
export type ContractRefundFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2329
|
+
/**
|
|
2330
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2331
|
+
*/
|
|
2332
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2333
|
+
/**
|
|
2334
|
+
* Omit specific fields from the ContractRefund
|
|
2335
|
+
*/
|
|
2336
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2337
|
+
/**
|
|
2338
|
+
* Choose, which related nodes to fetch as well
|
|
2339
|
+
*/
|
|
2340
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2341
|
+
/**
|
|
2342
|
+
* Filter, which ContractRefunds to fetch.
|
|
2343
|
+
*/
|
|
2344
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
2345
|
+
/**
|
|
2346
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2347
|
+
*
|
|
2348
|
+
* Determine the order of ContractRefunds to fetch.
|
|
2349
|
+
*/
|
|
2350
|
+
orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
|
|
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 ContractRefunds.
|
|
2355
|
+
*/
|
|
2356
|
+
cursor?: Prisma.ContractRefundWhereUniqueInput;
|
|
2357
|
+
/**
|
|
2358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2359
|
+
*
|
|
2360
|
+
* Take `±n` ContractRefunds 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` ContractRefunds.
|
|
2367
|
+
*/
|
|
2368
|
+
skip?: number;
|
|
2369
|
+
distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
|
|
2370
|
+
};
|
|
2371
|
+
/**
|
|
2372
|
+
* ContractRefund create
|
|
2373
|
+
*/
|
|
2374
|
+
export type ContractRefundCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2375
|
+
/**
|
|
2376
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2377
|
+
*/
|
|
2378
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2379
|
+
/**
|
|
2380
|
+
* Omit specific fields from the ContractRefund
|
|
2381
|
+
*/
|
|
2382
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2383
|
+
/**
|
|
2384
|
+
* Choose, which related nodes to fetch as well
|
|
2385
|
+
*/
|
|
2386
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* The data needed to create a ContractRefund.
|
|
2389
|
+
*/
|
|
2390
|
+
data: Prisma.XOR<Prisma.ContractRefundCreateInput, Prisma.ContractRefundUncheckedCreateInput>;
|
|
2391
|
+
};
|
|
2392
|
+
/**
|
|
2393
|
+
* ContractRefund createMany
|
|
2394
|
+
*/
|
|
2395
|
+
export type ContractRefundCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2396
|
+
/**
|
|
2397
|
+
* The data used to create many ContractRefunds.
|
|
2398
|
+
*/
|
|
2399
|
+
data: Prisma.ContractRefundCreateManyInput | Prisma.ContractRefundCreateManyInput[];
|
|
2400
|
+
skipDuplicates?: boolean;
|
|
2401
|
+
};
|
|
2402
|
+
/**
|
|
2403
|
+
* ContractRefund update
|
|
2404
|
+
*/
|
|
2405
|
+
export type ContractRefundUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2406
|
+
/**
|
|
2407
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2408
|
+
*/
|
|
2409
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2410
|
+
/**
|
|
2411
|
+
* Omit specific fields from the ContractRefund
|
|
2412
|
+
*/
|
|
2413
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2414
|
+
/**
|
|
2415
|
+
* Choose, which related nodes to fetch as well
|
|
2416
|
+
*/
|
|
2417
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2418
|
+
/**
|
|
2419
|
+
* The data needed to update a ContractRefund.
|
|
2420
|
+
*/
|
|
2421
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateInput, Prisma.ContractRefundUncheckedUpdateInput>;
|
|
2422
|
+
/**
|
|
2423
|
+
* Choose, which ContractRefund to update.
|
|
2424
|
+
*/
|
|
2425
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
2426
|
+
};
|
|
2427
|
+
/**
|
|
2428
|
+
* ContractRefund updateMany
|
|
2429
|
+
*/
|
|
2430
|
+
export type ContractRefundUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2431
|
+
/**
|
|
2432
|
+
* The data used to update ContractRefunds.
|
|
2433
|
+
*/
|
|
2434
|
+
data: Prisma.XOR<Prisma.ContractRefundUpdateManyMutationInput, Prisma.ContractRefundUncheckedUpdateManyInput>;
|
|
2435
|
+
/**
|
|
2436
|
+
* Filter which ContractRefunds to update
|
|
2437
|
+
*/
|
|
2438
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
2439
|
+
/**
|
|
2440
|
+
* Limit how many ContractRefunds to update.
|
|
2441
|
+
*/
|
|
2442
|
+
limit?: number;
|
|
2443
|
+
};
|
|
2444
|
+
/**
|
|
2445
|
+
* ContractRefund upsert
|
|
2446
|
+
*/
|
|
2447
|
+
export type ContractRefundUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2448
|
+
/**
|
|
2449
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2450
|
+
*/
|
|
2451
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2452
|
+
/**
|
|
2453
|
+
* Omit specific fields from the ContractRefund
|
|
2454
|
+
*/
|
|
2455
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2456
|
+
/**
|
|
2457
|
+
* Choose, which related nodes to fetch as well
|
|
2458
|
+
*/
|
|
2459
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2460
|
+
/**
|
|
2461
|
+
* The filter to search for the ContractRefund to update in case it exists.
|
|
2462
|
+
*/
|
|
2463
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
2464
|
+
/**
|
|
2465
|
+
* In case the ContractRefund found by the `where` argument doesn't exist, create a new ContractRefund with this data.
|
|
2466
|
+
*/
|
|
2467
|
+
create: Prisma.XOR<Prisma.ContractRefundCreateInput, Prisma.ContractRefundUncheckedCreateInput>;
|
|
2468
|
+
/**
|
|
2469
|
+
* In case the ContractRefund was found with the provided `where` argument, update it with this data.
|
|
2470
|
+
*/
|
|
2471
|
+
update: Prisma.XOR<Prisma.ContractRefundUpdateInput, Prisma.ContractRefundUncheckedUpdateInput>;
|
|
2472
|
+
};
|
|
2473
|
+
/**
|
|
2474
|
+
* ContractRefund delete
|
|
2475
|
+
*/
|
|
2476
|
+
export type ContractRefundDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2477
|
+
/**
|
|
2478
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2479
|
+
*/
|
|
2480
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2481
|
+
/**
|
|
2482
|
+
* Omit specific fields from the ContractRefund
|
|
2483
|
+
*/
|
|
2484
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2485
|
+
/**
|
|
2486
|
+
* Choose, which related nodes to fetch as well
|
|
2487
|
+
*/
|
|
2488
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2489
|
+
/**
|
|
2490
|
+
* Filter which ContractRefund to delete.
|
|
2491
|
+
*/
|
|
2492
|
+
where: Prisma.ContractRefundWhereUniqueInput;
|
|
2493
|
+
};
|
|
2494
|
+
/**
|
|
2495
|
+
* ContractRefund deleteMany
|
|
2496
|
+
*/
|
|
2497
|
+
export type ContractRefundDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2498
|
+
/**
|
|
2499
|
+
* Filter which ContractRefunds to delete
|
|
2500
|
+
*/
|
|
2501
|
+
where?: Prisma.ContractRefundWhereInput;
|
|
2502
|
+
/**
|
|
2503
|
+
* Limit how many ContractRefunds to delete.
|
|
2504
|
+
*/
|
|
2505
|
+
limit?: number;
|
|
2506
|
+
};
|
|
2507
|
+
/**
|
|
2508
|
+
* ContractRefund.approvedBy
|
|
2509
|
+
*/
|
|
2510
|
+
export type ContractRefund$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
|
+
* ContractRefund.processedBy
|
|
2527
|
+
*/
|
|
2528
|
+
export type ContractRefund$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
|
+
* ContractRefund without action
|
|
2545
|
+
*/
|
|
2546
|
+
export type ContractRefundDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2547
|
+
/**
|
|
2548
|
+
* Select specific fields to fetch from the ContractRefund
|
|
2549
|
+
*/
|
|
2550
|
+
select?: Prisma.ContractRefundSelect<ExtArgs> | null;
|
|
2551
|
+
/**
|
|
2552
|
+
* Omit specific fields from the ContractRefund
|
|
2553
|
+
*/
|
|
2554
|
+
omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
|
|
2555
|
+
/**
|
|
2556
|
+
* Choose, which related nodes to fetch as well
|
|
2557
|
+
*/
|
|
2558
|
+
include?: Prisma.ContractRefundInclude<ExtArgs> | null;
|
|
2559
|
+
};
|
|
2560
|
+
export {};
|