@valentine-efagene/qshelter-common 2.0.99 → 2.0.100
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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespace.js +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/src/prisma/tenant.js +26 -32
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +143 -30
|
@@ -33,6 +33,7 @@ export type PaymentInstallmentSumAggregateOutputType = {
|
|
|
33
33
|
};
|
|
34
34
|
export type PaymentInstallmentMinAggregateOutputType = {
|
|
35
35
|
id: string | null;
|
|
36
|
+
tenantId: string | null;
|
|
36
37
|
paymentPhaseId: string | null;
|
|
37
38
|
installmentNumber: number | null;
|
|
38
39
|
amount: number | null;
|
|
@@ -51,6 +52,7 @@ export type PaymentInstallmentMinAggregateOutputType = {
|
|
|
51
52
|
};
|
|
52
53
|
export type PaymentInstallmentMaxAggregateOutputType = {
|
|
53
54
|
id: string | null;
|
|
55
|
+
tenantId: string | null;
|
|
54
56
|
paymentPhaseId: string | null;
|
|
55
57
|
installmentNumber: number | null;
|
|
56
58
|
amount: number | null;
|
|
@@ -69,6 +71,7 @@ export type PaymentInstallmentMaxAggregateOutputType = {
|
|
|
69
71
|
};
|
|
70
72
|
export type PaymentInstallmentCountAggregateOutputType = {
|
|
71
73
|
id: number;
|
|
74
|
+
tenantId: number;
|
|
72
75
|
paymentPhaseId: number;
|
|
73
76
|
installmentNumber: number;
|
|
74
77
|
amount: number;
|
|
@@ -106,6 +109,7 @@ export type PaymentInstallmentSumAggregateInputType = {
|
|
|
106
109
|
};
|
|
107
110
|
export type PaymentInstallmentMinAggregateInputType = {
|
|
108
111
|
id?: true;
|
|
112
|
+
tenantId?: true;
|
|
109
113
|
paymentPhaseId?: true;
|
|
110
114
|
installmentNumber?: true;
|
|
111
115
|
amount?: true;
|
|
@@ -124,6 +128,7 @@ export type PaymentInstallmentMinAggregateInputType = {
|
|
|
124
128
|
};
|
|
125
129
|
export type PaymentInstallmentMaxAggregateInputType = {
|
|
126
130
|
id?: true;
|
|
131
|
+
tenantId?: true;
|
|
127
132
|
paymentPhaseId?: true;
|
|
128
133
|
installmentNumber?: true;
|
|
129
134
|
amount?: true;
|
|
@@ -142,6 +147,7 @@ export type PaymentInstallmentMaxAggregateInputType = {
|
|
|
142
147
|
};
|
|
143
148
|
export type PaymentInstallmentCountAggregateInputType = {
|
|
144
149
|
id?: true;
|
|
150
|
+
tenantId?: true;
|
|
145
151
|
paymentPhaseId?: true;
|
|
146
152
|
installmentNumber?: true;
|
|
147
153
|
amount?: true;
|
|
@@ -237,6 +243,7 @@ export type PaymentInstallmentGroupByArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
237
243
|
};
|
|
238
244
|
export type PaymentInstallmentGroupByOutputType = {
|
|
239
245
|
id: string;
|
|
246
|
+
tenantId: string;
|
|
240
247
|
paymentPhaseId: string;
|
|
241
248
|
installmentNumber: number;
|
|
242
249
|
amount: number;
|
|
@@ -266,6 +273,7 @@ export type PaymentInstallmentWhereInput = {
|
|
|
266
273
|
OR?: Prisma.PaymentInstallmentWhereInput[];
|
|
267
274
|
NOT?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
|
|
268
275
|
id?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
276
|
+
tenantId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
269
277
|
paymentPhaseId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
270
278
|
installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
|
|
271
279
|
amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
|
|
@@ -281,11 +289,13 @@ export type PaymentInstallmentWhereInput = {
|
|
|
281
289
|
gracePeriodEndDate?: Prisma.DateTimeNullableFilter<"PaymentInstallment"> | Date | string | null;
|
|
282
290
|
createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
283
291
|
updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
292
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
284
293
|
paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseScalarRelationFilter, Prisma.PaymentPhaseWhereInput>;
|
|
285
294
|
payments?: Prisma.ApplicationPaymentListRelationFilter;
|
|
286
295
|
};
|
|
287
296
|
export type PaymentInstallmentOrderByWithRelationInput = {
|
|
288
297
|
id?: Prisma.SortOrder;
|
|
298
|
+
tenantId?: Prisma.SortOrder;
|
|
289
299
|
paymentPhaseId?: Prisma.SortOrder;
|
|
290
300
|
installmentNumber?: Prisma.SortOrder;
|
|
291
301
|
amount?: Prisma.SortOrder;
|
|
@@ -301,6 +311,7 @@ export type PaymentInstallmentOrderByWithRelationInput = {
|
|
|
301
311
|
gracePeriodEndDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
302
312
|
createdAt?: Prisma.SortOrder;
|
|
303
313
|
updatedAt?: Prisma.SortOrder;
|
|
314
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
304
315
|
paymentPhase?: Prisma.PaymentPhaseOrderByWithRelationInput;
|
|
305
316
|
payments?: Prisma.ApplicationPaymentOrderByRelationAggregateInput;
|
|
306
317
|
_relevance?: Prisma.PaymentInstallmentOrderByRelevanceInput;
|
|
@@ -310,6 +321,7 @@ export type PaymentInstallmentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
310
321
|
AND?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
|
|
311
322
|
OR?: Prisma.PaymentInstallmentWhereInput[];
|
|
312
323
|
NOT?: Prisma.PaymentInstallmentWhereInput | Prisma.PaymentInstallmentWhereInput[];
|
|
324
|
+
tenantId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
313
325
|
paymentPhaseId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
314
326
|
installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
|
|
315
327
|
amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
|
|
@@ -325,11 +337,13 @@ export type PaymentInstallmentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
325
337
|
gracePeriodEndDate?: Prisma.DateTimeNullableFilter<"PaymentInstallment"> | Date | string | null;
|
|
326
338
|
createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
327
339
|
updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
340
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
328
341
|
paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseScalarRelationFilter, Prisma.PaymentPhaseWhereInput>;
|
|
329
342
|
payments?: Prisma.ApplicationPaymentListRelationFilter;
|
|
330
343
|
}, "id">;
|
|
331
344
|
export type PaymentInstallmentOrderByWithAggregationInput = {
|
|
332
345
|
id?: Prisma.SortOrder;
|
|
346
|
+
tenantId?: Prisma.SortOrder;
|
|
333
347
|
paymentPhaseId?: Prisma.SortOrder;
|
|
334
348
|
installmentNumber?: Prisma.SortOrder;
|
|
335
349
|
amount?: Prisma.SortOrder;
|
|
@@ -356,6 +370,7 @@ export type PaymentInstallmentScalarWhereWithAggregatesInput = {
|
|
|
356
370
|
OR?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput[];
|
|
357
371
|
NOT?: Prisma.PaymentInstallmentScalarWhereWithAggregatesInput | Prisma.PaymentInstallmentScalarWhereWithAggregatesInput[];
|
|
358
372
|
id?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
|
|
373
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
|
|
359
374
|
paymentPhaseId?: Prisma.StringWithAggregatesFilter<"PaymentInstallment"> | string;
|
|
360
375
|
installmentNumber?: Prisma.IntWithAggregatesFilter<"PaymentInstallment"> | number;
|
|
361
376
|
amount?: Prisma.FloatWithAggregatesFilter<"PaymentInstallment"> | number;
|
|
@@ -388,11 +403,13 @@ export type PaymentInstallmentCreateInput = {
|
|
|
388
403
|
gracePeriodEndDate?: Date | string | null;
|
|
389
404
|
createdAt?: Date | string;
|
|
390
405
|
updatedAt?: Date | string;
|
|
406
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentInstallmentsInput;
|
|
391
407
|
paymentPhase: Prisma.PaymentPhaseCreateNestedOneWithoutInstallmentsInput;
|
|
392
408
|
payments?: Prisma.ApplicationPaymentCreateNestedManyWithoutInstallmentInput;
|
|
393
409
|
};
|
|
394
410
|
export type PaymentInstallmentUncheckedCreateInput = {
|
|
395
411
|
id?: string;
|
|
412
|
+
tenantId: string;
|
|
396
413
|
paymentPhaseId: string;
|
|
397
414
|
installmentNumber: number;
|
|
398
415
|
amount: number;
|
|
@@ -426,11 +443,13 @@ export type PaymentInstallmentUpdateInput = {
|
|
|
426
443
|
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
427
444
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
428
445
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
446
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentInstallmentsNestedInput;
|
|
429
447
|
paymentPhase?: Prisma.PaymentPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
|
|
430
448
|
payments?: Prisma.ApplicationPaymentUpdateManyWithoutInstallmentNestedInput;
|
|
431
449
|
};
|
|
432
450
|
export type PaymentInstallmentUncheckedUpdateInput = {
|
|
433
451
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
452
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
434
453
|
paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
454
|
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
436
455
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
@@ -450,6 +469,7 @@ export type PaymentInstallmentUncheckedUpdateInput = {
|
|
|
450
469
|
};
|
|
451
470
|
export type PaymentInstallmentCreateManyInput = {
|
|
452
471
|
id?: string;
|
|
472
|
+
tenantId: string;
|
|
453
473
|
paymentPhaseId: string;
|
|
454
474
|
installmentNumber: number;
|
|
455
475
|
amount: number;
|
|
@@ -485,6 +505,7 @@ export type PaymentInstallmentUpdateManyMutationInput = {
|
|
|
485
505
|
};
|
|
486
506
|
export type PaymentInstallmentUncheckedUpdateManyInput = {
|
|
487
507
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
508
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
488
509
|
paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
489
510
|
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
490
511
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
@@ -516,6 +537,7 @@ export type PaymentInstallmentOrderByRelevanceInput = {
|
|
|
516
537
|
};
|
|
517
538
|
export type PaymentInstallmentCountOrderByAggregateInput = {
|
|
518
539
|
id?: Prisma.SortOrder;
|
|
540
|
+
tenantId?: Prisma.SortOrder;
|
|
519
541
|
paymentPhaseId?: Prisma.SortOrder;
|
|
520
542
|
installmentNumber?: Prisma.SortOrder;
|
|
521
543
|
amount?: Prisma.SortOrder;
|
|
@@ -543,6 +565,7 @@ export type PaymentInstallmentAvgOrderByAggregateInput = {
|
|
|
543
565
|
};
|
|
544
566
|
export type PaymentInstallmentMaxOrderByAggregateInput = {
|
|
545
567
|
id?: Prisma.SortOrder;
|
|
568
|
+
tenantId?: Prisma.SortOrder;
|
|
546
569
|
paymentPhaseId?: Prisma.SortOrder;
|
|
547
570
|
installmentNumber?: Prisma.SortOrder;
|
|
548
571
|
amount?: Prisma.SortOrder;
|
|
@@ -561,6 +584,7 @@ export type PaymentInstallmentMaxOrderByAggregateInput = {
|
|
|
561
584
|
};
|
|
562
585
|
export type PaymentInstallmentMinOrderByAggregateInput = {
|
|
563
586
|
id?: Prisma.SortOrder;
|
|
587
|
+
tenantId?: Prisma.SortOrder;
|
|
564
588
|
paymentPhaseId?: Prisma.SortOrder;
|
|
565
589
|
installmentNumber?: Prisma.SortOrder;
|
|
566
590
|
amount?: Prisma.SortOrder;
|
|
@@ -590,6 +614,44 @@ export type PaymentInstallmentNullableScalarRelationFilter = {
|
|
|
590
614
|
is?: Prisma.PaymentInstallmentWhereInput | null;
|
|
591
615
|
isNot?: Prisma.PaymentInstallmentWhereInput | null;
|
|
592
616
|
};
|
|
617
|
+
export type PaymentInstallmentCreateNestedManyWithoutTenantInput = {
|
|
618
|
+
create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput> | Prisma.PaymentInstallmentCreateWithoutTenantInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput[];
|
|
619
|
+
connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput | Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput[];
|
|
620
|
+
createMany?: Prisma.PaymentInstallmentCreateManyTenantInputEnvelope;
|
|
621
|
+
connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
622
|
+
};
|
|
623
|
+
export type PaymentInstallmentUncheckedCreateNestedManyWithoutTenantInput = {
|
|
624
|
+
create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput> | Prisma.PaymentInstallmentCreateWithoutTenantInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput[];
|
|
625
|
+
connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput | Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput[];
|
|
626
|
+
createMany?: Prisma.PaymentInstallmentCreateManyTenantInputEnvelope;
|
|
627
|
+
connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
628
|
+
};
|
|
629
|
+
export type PaymentInstallmentUpdateManyWithoutTenantNestedInput = {
|
|
630
|
+
create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput> | Prisma.PaymentInstallmentCreateWithoutTenantInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput[];
|
|
631
|
+
connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput | Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput[];
|
|
632
|
+
upsert?: Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutTenantInput | Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
633
|
+
createMany?: Prisma.PaymentInstallmentCreateManyTenantInputEnvelope;
|
|
634
|
+
set?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
635
|
+
disconnect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
636
|
+
delete?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
637
|
+
connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
638
|
+
update?: Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutTenantInput | Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
639
|
+
updateMany?: Prisma.PaymentInstallmentUpdateManyWithWhereWithoutTenantInput | Prisma.PaymentInstallmentUpdateManyWithWhereWithoutTenantInput[];
|
|
640
|
+
deleteMany?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
|
|
641
|
+
};
|
|
642
|
+
export type PaymentInstallmentUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
643
|
+
create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput> | Prisma.PaymentInstallmentCreateWithoutTenantInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput[];
|
|
644
|
+
connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput | Prisma.PaymentInstallmentCreateOrConnectWithoutTenantInput[];
|
|
645
|
+
upsert?: Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutTenantInput | Prisma.PaymentInstallmentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
646
|
+
createMany?: Prisma.PaymentInstallmentCreateManyTenantInputEnvelope;
|
|
647
|
+
set?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
648
|
+
disconnect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
649
|
+
delete?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
650
|
+
connect?: Prisma.PaymentInstallmentWhereUniqueInput | Prisma.PaymentInstallmentWhereUniqueInput[];
|
|
651
|
+
update?: Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutTenantInput | Prisma.PaymentInstallmentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
652
|
+
updateMany?: Prisma.PaymentInstallmentUpdateManyWithWhereWithoutTenantInput | Prisma.PaymentInstallmentUpdateManyWithWhereWithoutTenantInput[];
|
|
653
|
+
deleteMany?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
|
|
654
|
+
};
|
|
593
655
|
export type PaymentInstallmentCreateNestedManyWithoutPaymentPhaseInput = {
|
|
594
656
|
create?: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentPhaseInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput> | Prisma.PaymentInstallmentCreateWithoutPaymentPhaseInput[] | Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput[];
|
|
595
657
|
connectOrCreate?: Prisma.PaymentInstallmentCreateOrConnectWithoutPaymentPhaseInput | Prisma.PaymentInstallmentCreateOrConnectWithoutPaymentPhaseInput[];
|
|
@@ -645,7 +707,7 @@ export type PaymentInstallmentUpdateOneWithoutPaymentsNestedInput = {
|
|
|
645
707
|
connect?: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
646
708
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentInstallmentUpdateToOneWithWhereWithoutPaymentsInput, Prisma.PaymentInstallmentUpdateWithoutPaymentsInput>, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentsInput>;
|
|
647
709
|
};
|
|
648
|
-
export type
|
|
710
|
+
export type PaymentInstallmentCreateWithoutTenantInput = {
|
|
649
711
|
id?: string;
|
|
650
712
|
installmentNumber: number;
|
|
651
713
|
amount: number;
|
|
@@ -661,10 +723,12 @@ export type PaymentInstallmentCreateWithoutPaymentPhaseInput = {
|
|
|
661
723
|
gracePeriodEndDate?: Date | string | null;
|
|
662
724
|
createdAt?: Date | string;
|
|
663
725
|
updatedAt?: Date | string;
|
|
726
|
+
paymentPhase: Prisma.PaymentPhaseCreateNestedOneWithoutInstallmentsInput;
|
|
664
727
|
payments?: Prisma.ApplicationPaymentCreateNestedManyWithoutInstallmentInput;
|
|
665
728
|
};
|
|
666
|
-
export type
|
|
729
|
+
export type PaymentInstallmentUncheckedCreateWithoutTenantInput = {
|
|
667
730
|
id?: string;
|
|
731
|
+
paymentPhaseId: string;
|
|
668
732
|
installmentNumber: number;
|
|
669
733
|
amount: number;
|
|
670
734
|
principalAmount?: number;
|
|
@@ -681,32 +745,33 @@ export type PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput = {
|
|
|
681
745
|
updatedAt?: Date | string;
|
|
682
746
|
payments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutInstallmentInput;
|
|
683
747
|
};
|
|
684
|
-
export type
|
|
748
|
+
export type PaymentInstallmentCreateOrConnectWithoutTenantInput = {
|
|
685
749
|
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
686
|
-
create: Prisma.XOR<Prisma.
|
|
750
|
+
create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput>;
|
|
687
751
|
};
|
|
688
|
-
export type
|
|
689
|
-
data: Prisma.
|
|
752
|
+
export type PaymentInstallmentCreateManyTenantInputEnvelope = {
|
|
753
|
+
data: Prisma.PaymentInstallmentCreateManyTenantInput | Prisma.PaymentInstallmentCreateManyTenantInput[];
|
|
690
754
|
skipDuplicates?: boolean;
|
|
691
755
|
};
|
|
692
|
-
export type
|
|
756
|
+
export type PaymentInstallmentUpsertWithWhereUniqueWithoutTenantInput = {
|
|
693
757
|
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
694
|
-
update: Prisma.XOR<Prisma.
|
|
695
|
-
create: Prisma.XOR<Prisma.
|
|
758
|
+
update: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutTenantInput>;
|
|
759
|
+
create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedCreateWithoutTenantInput>;
|
|
696
760
|
};
|
|
697
|
-
export type
|
|
761
|
+
export type PaymentInstallmentUpdateWithWhereUniqueWithoutTenantInput = {
|
|
698
762
|
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
699
|
-
data: Prisma.XOR<Prisma.
|
|
763
|
+
data: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutTenantInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutTenantInput>;
|
|
700
764
|
};
|
|
701
|
-
export type
|
|
765
|
+
export type PaymentInstallmentUpdateManyWithWhereWithoutTenantInput = {
|
|
702
766
|
where: Prisma.PaymentInstallmentScalarWhereInput;
|
|
703
|
-
data: Prisma.XOR<Prisma.PaymentInstallmentUpdateManyMutationInput, Prisma.
|
|
767
|
+
data: Prisma.XOR<Prisma.PaymentInstallmentUpdateManyMutationInput, Prisma.PaymentInstallmentUncheckedUpdateManyWithoutTenantInput>;
|
|
704
768
|
};
|
|
705
769
|
export type PaymentInstallmentScalarWhereInput = {
|
|
706
770
|
AND?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
|
|
707
771
|
OR?: Prisma.PaymentInstallmentScalarWhereInput[];
|
|
708
772
|
NOT?: Prisma.PaymentInstallmentScalarWhereInput | Prisma.PaymentInstallmentScalarWhereInput[];
|
|
709
773
|
id?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
774
|
+
tenantId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
710
775
|
paymentPhaseId?: Prisma.StringFilter<"PaymentInstallment"> | string;
|
|
711
776
|
installmentNumber?: Prisma.IntFilter<"PaymentInstallment"> | number;
|
|
712
777
|
amount?: Prisma.FloatFilter<"PaymentInstallment"> | number;
|
|
@@ -723,6 +788,65 @@ export type PaymentInstallmentScalarWhereInput = {
|
|
|
723
788
|
createdAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
724
789
|
updatedAt?: Prisma.DateTimeFilter<"PaymentInstallment"> | Date | string;
|
|
725
790
|
};
|
|
791
|
+
export type PaymentInstallmentCreateWithoutPaymentPhaseInput = {
|
|
792
|
+
id?: string;
|
|
793
|
+
installmentNumber: number;
|
|
794
|
+
amount: number;
|
|
795
|
+
principalAmount?: number;
|
|
796
|
+
interestAmount?: number;
|
|
797
|
+
dueDate: Date | string;
|
|
798
|
+
status?: $Enums.InstallmentStatus;
|
|
799
|
+
paidAmount?: number;
|
|
800
|
+
paidDate?: Date | string | null;
|
|
801
|
+
lateFee?: number;
|
|
802
|
+
lateFeeWaived?: boolean;
|
|
803
|
+
gracePeriodDays?: number;
|
|
804
|
+
gracePeriodEndDate?: Date | string | null;
|
|
805
|
+
createdAt?: Date | string;
|
|
806
|
+
updatedAt?: Date | string;
|
|
807
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentInstallmentsInput;
|
|
808
|
+
payments?: Prisma.ApplicationPaymentCreateNestedManyWithoutInstallmentInput;
|
|
809
|
+
};
|
|
810
|
+
export type PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput = {
|
|
811
|
+
id?: string;
|
|
812
|
+
tenantId: string;
|
|
813
|
+
installmentNumber: number;
|
|
814
|
+
amount: number;
|
|
815
|
+
principalAmount?: number;
|
|
816
|
+
interestAmount?: number;
|
|
817
|
+
dueDate: Date | string;
|
|
818
|
+
status?: $Enums.InstallmentStatus;
|
|
819
|
+
paidAmount?: number;
|
|
820
|
+
paidDate?: Date | string | null;
|
|
821
|
+
lateFee?: number;
|
|
822
|
+
lateFeeWaived?: boolean;
|
|
823
|
+
gracePeriodDays?: number;
|
|
824
|
+
gracePeriodEndDate?: Date | string | null;
|
|
825
|
+
createdAt?: Date | string;
|
|
826
|
+
updatedAt?: Date | string;
|
|
827
|
+
payments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutInstallmentInput;
|
|
828
|
+
};
|
|
829
|
+
export type PaymentInstallmentCreateOrConnectWithoutPaymentPhaseInput = {
|
|
830
|
+
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
831
|
+
create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentPhaseInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput>;
|
|
832
|
+
};
|
|
833
|
+
export type PaymentInstallmentCreateManyPaymentPhaseInputEnvelope = {
|
|
834
|
+
data: Prisma.PaymentInstallmentCreateManyPaymentPhaseInput | Prisma.PaymentInstallmentCreateManyPaymentPhaseInput[];
|
|
835
|
+
skipDuplicates?: boolean;
|
|
836
|
+
};
|
|
837
|
+
export type PaymentInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput = {
|
|
838
|
+
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
839
|
+
update: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutPaymentPhaseInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentPhaseInput>;
|
|
840
|
+
create: Prisma.XOR<Prisma.PaymentInstallmentCreateWithoutPaymentPhaseInput, Prisma.PaymentInstallmentUncheckedCreateWithoutPaymentPhaseInput>;
|
|
841
|
+
};
|
|
842
|
+
export type PaymentInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput = {
|
|
843
|
+
where: Prisma.PaymentInstallmentWhereUniqueInput;
|
|
844
|
+
data: Prisma.XOR<Prisma.PaymentInstallmentUpdateWithoutPaymentPhaseInput, Prisma.PaymentInstallmentUncheckedUpdateWithoutPaymentPhaseInput>;
|
|
845
|
+
};
|
|
846
|
+
export type PaymentInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput = {
|
|
847
|
+
where: Prisma.PaymentInstallmentScalarWhereInput;
|
|
848
|
+
data: Prisma.XOR<Prisma.PaymentInstallmentUpdateManyMutationInput, Prisma.PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseInput>;
|
|
849
|
+
};
|
|
726
850
|
export type PaymentInstallmentCreateWithoutPaymentsInput = {
|
|
727
851
|
id?: string;
|
|
728
852
|
installmentNumber: number;
|
|
@@ -739,10 +863,12 @@ export type PaymentInstallmentCreateWithoutPaymentsInput = {
|
|
|
739
863
|
gracePeriodEndDate?: Date | string | null;
|
|
740
864
|
createdAt?: Date | string;
|
|
741
865
|
updatedAt?: Date | string;
|
|
866
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentInstallmentsInput;
|
|
742
867
|
paymentPhase: Prisma.PaymentPhaseCreateNestedOneWithoutInstallmentsInput;
|
|
743
868
|
};
|
|
744
869
|
export type PaymentInstallmentUncheckedCreateWithoutPaymentsInput = {
|
|
745
870
|
id?: string;
|
|
871
|
+
tenantId: string;
|
|
746
872
|
paymentPhaseId: string;
|
|
747
873
|
installmentNumber: number;
|
|
748
874
|
amount: number;
|
|
@@ -788,9 +914,85 @@ export type PaymentInstallmentUpdateWithoutPaymentsInput = {
|
|
|
788
914
|
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
789
915
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
790
916
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
917
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentInstallmentsNestedInput;
|
|
791
918
|
paymentPhase?: Prisma.PaymentPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
|
|
792
919
|
};
|
|
793
920
|
export type PaymentInstallmentUncheckedUpdateWithoutPaymentsInput = {
|
|
921
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
922
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
924
|
+
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
925
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
926
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
927
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
928
|
+
dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
929
|
+
status?: Prisma.EnumInstallmentStatusFieldUpdateOperationsInput | $Enums.InstallmentStatus;
|
|
930
|
+
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
931
|
+
paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
932
|
+
lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
933
|
+
lateFeeWaived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
934
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
935
|
+
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
936
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
937
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
};
|
|
939
|
+
export type PaymentInstallmentCreateManyTenantInput = {
|
|
940
|
+
id?: string;
|
|
941
|
+
paymentPhaseId: string;
|
|
942
|
+
installmentNumber: number;
|
|
943
|
+
amount: number;
|
|
944
|
+
principalAmount?: number;
|
|
945
|
+
interestAmount?: number;
|
|
946
|
+
dueDate: Date | string;
|
|
947
|
+
status?: $Enums.InstallmentStatus;
|
|
948
|
+
paidAmount?: number;
|
|
949
|
+
paidDate?: Date | string | null;
|
|
950
|
+
lateFee?: number;
|
|
951
|
+
lateFeeWaived?: boolean;
|
|
952
|
+
gracePeriodDays?: number;
|
|
953
|
+
gracePeriodEndDate?: Date | string | null;
|
|
954
|
+
createdAt?: Date | string;
|
|
955
|
+
updatedAt?: Date | string;
|
|
956
|
+
};
|
|
957
|
+
export type PaymentInstallmentUpdateWithoutTenantInput = {
|
|
958
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
959
|
+
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
960
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
961
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
962
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
963
|
+
dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
964
|
+
status?: Prisma.EnumInstallmentStatusFieldUpdateOperationsInput | $Enums.InstallmentStatus;
|
|
965
|
+
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
966
|
+
paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
967
|
+
lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
968
|
+
lateFeeWaived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
969
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
970
|
+
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
971
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
972
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
973
|
+
paymentPhase?: Prisma.PaymentPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
|
|
974
|
+
payments?: Prisma.ApplicationPaymentUpdateManyWithoutInstallmentNestedInput;
|
|
975
|
+
};
|
|
976
|
+
export type PaymentInstallmentUncheckedUpdateWithoutTenantInput = {
|
|
977
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
978
|
+
paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
979
|
+
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
980
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
981
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
982
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
983
|
+
dueDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
984
|
+
status?: Prisma.EnumInstallmentStatusFieldUpdateOperationsInput | $Enums.InstallmentStatus;
|
|
985
|
+
paidAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
986
|
+
paidDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
987
|
+
lateFee?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
988
|
+
lateFeeWaived?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
989
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
990
|
+
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
991
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
992
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
993
|
+
payments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutInstallmentNestedInput;
|
|
994
|
+
};
|
|
995
|
+
export type PaymentInstallmentUncheckedUpdateManyWithoutTenantInput = {
|
|
794
996
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
795
997
|
paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
796
998
|
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -810,6 +1012,7 @@ export type PaymentInstallmentUncheckedUpdateWithoutPaymentsInput = {
|
|
|
810
1012
|
};
|
|
811
1013
|
export type PaymentInstallmentCreateManyPaymentPhaseInput = {
|
|
812
1014
|
id?: string;
|
|
1015
|
+
tenantId: string;
|
|
813
1016
|
installmentNumber: number;
|
|
814
1017
|
amount: number;
|
|
815
1018
|
principalAmount?: number;
|
|
@@ -841,10 +1044,12 @@ export type PaymentInstallmentUpdateWithoutPaymentPhaseInput = {
|
|
|
841
1044
|
gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
842
1045
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
843
1046
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1047
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentInstallmentsNestedInput;
|
|
844
1048
|
payments?: Prisma.ApplicationPaymentUpdateManyWithoutInstallmentNestedInput;
|
|
845
1049
|
};
|
|
846
1050
|
export type PaymentInstallmentUncheckedUpdateWithoutPaymentPhaseInput = {
|
|
847
1051
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1052
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
848
1053
|
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
849
1054
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
850
1055
|
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
@@ -863,6 +1068,7 @@ export type PaymentInstallmentUncheckedUpdateWithoutPaymentPhaseInput = {
|
|
|
863
1068
|
};
|
|
864
1069
|
export type PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseInput = {
|
|
865
1070
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1071
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
866
1072
|
installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
867
1073
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
868
1074
|
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
@@ -904,6 +1110,7 @@ export type PaymentInstallmentCountOutputTypeCountPaymentsArgs<ExtArgs extends r
|
|
|
904
1110
|
};
|
|
905
1111
|
export type PaymentInstallmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
906
1112
|
id?: boolean;
|
|
1113
|
+
tenantId?: boolean;
|
|
907
1114
|
paymentPhaseId?: boolean;
|
|
908
1115
|
installmentNumber?: boolean;
|
|
909
1116
|
amount?: boolean;
|
|
@@ -919,12 +1126,14 @@ export type PaymentInstallmentSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
919
1126
|
gracePeriodEndDate?: boolean;
|
|
920
1127
|
createdAt?: boolean;
|
|
921
1128
|
updatedAt?: boolean;
|
|
1129
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
922
1130
|
paymentPhase?: boolean | Prisma.PaymentPhaseDefaultArgs<ExtArgs>;
|
|
923
1131
|
payments?: boolean | Prisma.PaymentInstallment$paymentsArgs<ExtArgs>;
|
|
924
1132
|
_count?: boolean | Prisma.PaymentInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
925
1133
|
}, ExtArgs["result"]["paymentInstallment"]>;
|
|
926
1134
|
export type PaymentInstallmentSelectScalar = {
|
|
927
1135
|
id?: boolean;
|
|
1136
|
+
tenantId?: boolean;
|
|
928
1137
|
paymentPhaseId?: boolean;
|
|
929
1138
|
installmentNumber?: boolean;
|
|
930
1139
|
amount?: boolean;
|
|
@@ -941,8 +1150,9 @@ export type PaymentInstallmentSelectScalar = {
|
|
|
941
1150
|
createdAt?: boolean;
|
|
942
1151
|
updatedAt?: boolean;
|
|
943
1152
|
};
|
|
944
|
-
export type PaymentInstallmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "paymentPhaseId" | "installmentNumber" | "amount" | "principalAmount" | "interestAmount" | "dueDate" | "status" | "paidAmount" | "paidDate" | "lateFee" | "lateFeeWaived" | "gracePeriodDays" | "gracePeriodEndDate" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentInstallment"]>;
|
|
1153
|
+
export type PaymentInstallmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentPhaseId" | "installmentNumber" | "amount" | "principalAmount" | "interestAmount" | "dueDate" | "status" | "paidAmount" | "paidDate" | "lateFee" | "lateFeeWaived" | "gracePeriodDays" | "gracePeriodEndDate" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentInstallment"]>;
|
|
945
1154
|
export type PaymentInstallmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1155
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
946
1156
|
paymentPhase?: boolean | Prisma.PaymentPhaseDefaultArgs<ExtArgs>;
|
|
947
1157
|
payments?: boolean | Prisma.PaymentInstallment$paymentsArgs<ExtArgs>;
|
|
948
1158
|
_count?: boolean | Prisma.PaymentInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -950,11 +1160,13 @@ export type PaymentInstallmentInclude<ExtArgs extends runtime.Types.Extensions.I
|
|
|
950
1160
|
export type $PaymentInstallmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
951
1161
|
name: "PaymentInstallment";
|
|
952
1162
|
objects: {
|
|
1163
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
953
1164
|
paymentPhase: Prisma.$PaymentPhasePayload<ExtArgs>;
|
|
954
1165
|
payments: Prisma.$ApplicationPaymentPayload<ExtArgs>[];
|
|
955
1166
|
};
|
|
956
1167
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
957
1168
|
id: string;
|
|
1169
|
+
tenantId: string;
|
|
958
1170
|
paymentPhaseId: string;
|
|
959
1171
|
installmentNumber: number;
|
|
960
1172
|
amount: number;
|
|
@@ -1247,6 +1459,7 @@ export interface PaymentInstallmentDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
1247
1459
|
*/
|
|
1248
1460
|
export interface Prisma__PaymentInstallmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1249
1461
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1462
|
+
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>;
|
|
1250
1463
|
paymentPhase<T extends Prisma.PaymentPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__PaymentPhaseClient<runtime.Types.Result.GetResult<Prisma.$PaymentPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1251
1464
|
payments<T extends Prisma.PaymentInstallment$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentInstallment$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1252
1465
|
/**
|
|
@@ -1275,6 +1488,7 @@ export interface Prisma__PaymentInstallmentClient<T, Null = never, ExtArgs exten
|
|
|
1275
1488
|
*/
|
|
1276
1489
|
export interface PaymentInstallmentFieldRefs {
|
|
1277
1490
|
readonly id: Prisma.FieldRef<"PaymentInstallment", 'String'>;
|
|
1491
|
+
readonly tenantId: Prisma.FieldRef<"PaymentInstallment", 'String'>;
|
|
1278
1492
|
readonly paymentPhaseId: Prisma.FieldRef<"PaymentInstallment", 'String'>;
|
|
1279
1493
|
readonly installmentNumber: Prisma.FieldRef<"PaymentInstallment", 'Int'>;
|
|
1280
1494
|
readonly amount: Prisma.FieldRef<"PaymentInstallment", 'Float'>;
|