@valentine-efagene/qshelter-common 2.0.30 → 2.0.32
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 +152 -10
- package/dist/generated/client/enums.d.ts +41 -0
- package/dist/generated/client/enums.js +37 -0
- 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 +153 -1
- package/dist/generated/client/internal/prismaNamespace.js +67 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +69 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +67 -0
- package/dist/generated/client/models/Contract.d.ts +271 -0
- package/dist/generated/client/models/ContractPhase.d.ts +52 -1
- package/dist/generated/client/models/ContractTermination.d.ts +3449 -0
- package/dist/generated/client/models/ContractTermination.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +42 -1
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +51 -1
- package/dist/generated/client/models/Tenant.d.ts +163 -0
- package/dist/generated/client/models/User.d.ts +586 -0
- 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/migrations/20260101081428_normalize_schema/migration.sql +119 -0
- package/prisma/migrations/20260101102022_add_contract_termination/migration.sql +69 -0
- package/prisma/migrations/20260101110958_add_collect_funds/migration.sql +8 -0
- package/prisma/schema.prisma +165 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -34,6 +34,7 @@ export type PaymentPlanMinAggregateOutputType = {
|
|
|
34
34
|
numberOfInstallments: number | null;
|
|
35
35
|
calculateInterestDaily: boolean | null;
|
|
36
36
|
gracePeriodDays: number | null;
|
|
37
|
+
collectFunds: boolean | null;
|
|
37
38
|
createdAt: Date | null;
|
|
38
39
|
updatedAt: Date | null;
|
|
39
40
|
};
|
|
@@ -48,6 +49,7 @@ export type PaymentPlanMaxAggregateOutputType = {
|
|
|
48
49
|
numberOfInstallments: number | null;
|
|
49
50
|
calculateInterestDaily: boolean | null;
|
|
50
51
|
gracePeriodDays: number | null;
|
|
52
|
+
collectFunds: boolean | null;
|
|
51
53
|
createdAt: Date | null;
|
|
52
54
|
updatedAt: Date | null;
|
|
53
55
|
};
|
|
@@ -62,6 +64,7 @@ export type PaymentPlanCountAggregateOutputType = {
|
|
|
62
64
|
numberOfInstallments: number;
|
|
63
65
|
calculateInterestDaily: number;
|
|
64
66
|
gracePeriodDays: number;
|
|
67
|
+
collectFunds: number;
|
|
65
68
|
createdAt: number;
|
|
66
69
|
updatedAt: number;
|
|
67
70
|
_all: number;
|
|
@@ -87,6 +90,7 @@ export type PaymentPlanMinAggregateInputType = {
|
|
|
87
90
|
numberOfInstallments?: true;
|
|
88
91
|
calculateInterestDaily?: true;
|
|
89
92
|
gracePeriodDays?: true;
|
|
93
|
+
collectFunds?: true;
|
|
90
94
|
createdAt?: true;
|
|
91
95
|
updatedAt?: true;
|
|
92
96
|
};
|
|
@@ -101,6 +105,7 @@ export type PaymentPlanMaxAggregateInputType = {
|
|
|
101
105
|
numberOfInstallments?: true;
|
|
102
106
|
calculateInterestDaily?: true;
|
|
103
107
|
gracePeriodDays?: true;
|
|
108
|
+
collectFunds?: true;
|
|
104
109
|
createdAt?: true;
|
|
105
110
|
updatedAt?: true;
|
|
106
111
|
};
|
|
@@ -115,6 +120,7 @@ export type PaymentPlanCountAggregateInputType = {
|
|
|
115
120
|
numberOfInstallments?: true;
|
|
116
121
|
calculateInterestDaily?: true;
|
|
117
122
|
gracePeriodDays?: true;
|
|
123
|
+
collectFunds?: true;
|
|
118
124
|
createdAt?: true;
|
|
119
125
|
updatedAt?: true;
|
|
120
126
|
_all?: true;
|
|
@@ -206,6 +212,7 @@ export type PaymentPlanGroupByOutputType = {
|
|
|
206
212
|
numberOfInstallments: number;
|
|
207
213
|
calculateInterestDaily: boolean;
|
|
208
214
|
gracePeriodDays: number;
|
|
215
|
+
collectFunds: boolean;
|
|
209
216
|
createdAt: Date;
|
|
210
217
|
updatedAt: Date;
|
|
211
218
|
_count: PaymentPlanCountAggregateOutputType | null;
|
|
@@ -231,6 +238,7 @@ export type PaymentPlanWhereInput = {
|
|
|
231
238
|
numberOfInstallments?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
232
239
|
calculateInterestDaily?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
233
240
|
gracePeriodDays?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
241
|
+
collectFunds?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
234
242
|
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
235
243
|
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
236
244
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
@@ -248,6 +256,7 @@ export type PaymentPlanOrderByWithRelationInput = {
|
|
|
248
256
|
numberOfInstallments?: Prisma.SortOrder;
|
|
249
257
|
calculateInterestDaily?: Prisma.SortOrder;
|
|
250
258
|
gracePeriodDays?: Prisma.SortOrder;
|
|
259
|
+
collectFunds?: Prisma.SortOrder;
|
|
251
260
|
createdAt?: Prisma.SortOrder;
|
|
252
261
|
updatedAt?: Prisma.SortOrder;
|
|
253
262
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
@@ -270,6 +279,7 @@ export type PaymentPlanWhereUniqueInput = Prisma.AtLeast<{
|
|
|
270
279
|
numberOfInstallments?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
271
280
|
calculateInterestDaily?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
272
281
|
gracePeriodDays?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
282
|
+
collectFunds?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
273
283
|
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
274
284
|
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
275
285
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null;
|
|
@@ -287,6 +297,7 @@ export type PaymentPlanOrderByWithAggregationInput = {
|
|
|
287
297
|
numberOfInstallments?: Prisma.SortOrder;
|
|
288
298
|
calculateInterestDaily?: Prisma.SortOrder;
|
|
289
299
|
gracePeriodDays?: Prisma.SortOrder;
|
|
300
|
+
collectFunds?: Prisma.SortOrder;
|
|
290
301
|
createdAt?: Prisma.SortOrder;
|
|
291
302
|
updatedAt?: Prisma.SortOrder;
|
|
292
303
|
_count?: Prisma.PaymentPlanCountOrderByAggregateInput;
|
|
@@ -309,6 +320,7 @@ export type PaymentPlanScalarWhereWithAggregatesInput = {
|
|
|
309
320
|
numberOfInstallments?: Prisma.IntWithAggregatesFilter<"PaymentPlan"> | number;
|
|
310
321
|
calculateInterestDaily?: Prisma.BoolWithAggregatesFilter<"PaymentPlan"> | boolean;
|
|
311
322
|
gracePeriodDays?: Prisma.IntWithAggregatesFilter<"PaymentPlan"> | number;
|
|
323
|
+
collectFunds?: Prisma.BoolWithAggregatesFilter<"PaymentPlan"> | boolean;
|
|
312
324
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
313
325
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
314
326
|
};
|
|
@@ -322,6 +334,7 @@ export type PaymentPlanCreateInput = {
|
|
|
322
334
|
numberOfInstallments: number;
|
|
323
335
|
calculateInterestDaily?: boolean;
|
|
324
336
|
gracePeriodDays?: number;
|
|
337
|
+
collectFunds?: boolean;
|
|
325
338
|
createdAt?: Date | string;
|
|
326
339
|
updatedAt?: Date | string;
|
|
327
340
|
tenant?: Prisma.TenantCreateNestedOneWithoutPaymentPlansInput;
|
|
@@ -339,6 +352,7 @@ export type PaymentPlanUncheckedCreateInput = {
|
|
|
339
352
|
numberOfInstallments: number;
|
|
340
353
|
calculateInterestDaily?: boolean;
|
|
341
354
|
gracePeriodDays?: number;
|
|
355
|
+
collectFunds?: boolean;
|
|
342
356
|
createdAt?: Date | string;
|
|
343
357
|
updatedAt?: Date | string;
|
|
344
358
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
@@ -354,6 +368,7 @@ export type PaymentPlanUpdateInput = {
|
|
|
354
368
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
355
369
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
356
370
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
371
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
357
372
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
358
373
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
359
374
|
tenant?: Prisma.TenantUpdateOneWithoutPaymentPlansNestedInput;
|
|
@@ -371,6 +386,7 @@ export type PaymentPlanUncheckedUpdateInput = {
|
|
|
371
386
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
372
387
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
373
388
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
389
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
374
390
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
375
391
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
376
392
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
@@ -387,6 +403,7 @@ export type PaymentPlanCreateManyInput = {
|
|
|
387
403
|
numberOfInstallments: number;
|
|
388
404
|
calculateInterestDaily?: boolean;
|
|
389
405
|
gracePeriodDays?: number;
|
|
406
|
+
collectFunds?: boolean;
|
|
390
407
|
createdAt?: Date | string;
|
|
391
408
|
updatedAt?: Date | string;
|
|
392
409
|
};
|
|
@@ -400,6 +417,7 @@ export type PaymentPlanUpdateManyMutationInput = {
|
|
|
400
417
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
401
418
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
402
419
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
420
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
403
421
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
422
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
405
423
|
};
|
|
@@ -414,6 +432,7 @@ export type PaymentPlanUncheckedUpdateManyInput = {
|
|
|
414
432
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
415
433
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
416
434
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
435
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
417
436
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
418
437
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
419
438
|
};
|
|
@@ -445,6 +464,7 @@ export type PaymentPlanCountOrderByAggregateInput = {
|
|
|
445
464
|
numberOfInstallments?: Prisma.SortOrder;
|
|
446
465
|
calculateInterestDaily?: Prisma.SortOrder;
|
|
447
466
|
gracePeriodDays?: Prisma.SortOrder;
|
|
467
|
+
collectFunds?: Prisma.SortOrder;
|
|
448
468
|
createdAt?: Prisma.SortOrder;
|
|
449
469
|
updatedAt?: Prisma.SortOrder;
|
|
450
470
|
};
|
|
@@ -464,6 +484,7 @@ export type PaymentPlanMaxOrderByAggregateInput = {
|
|
|
464
484
|
numberOfInstallments?: Prisma.SortOrder;
|
|
465
485
|
calculateInterestDaily?: Prisma.SortOrder;
|
|
466
486
|
gracePeriodDays?: Prisma.SortOrder;
|
|
487
|
+
collectFunds?: Prisma.SortOrder;
|
|
467
488
|
createdAt?: Prisma.SortOrder;
|
|
468
489
|
updatedAt?: Prisma.SortOrder;
|
|
469
490
|
};
|
|
@@ -478,6 +499,7 @@ export type PaymentPlanMinOrderByAggregateInput = {
|
|
|
478
499
|
numberOfInstallments?: Prisma.SortOrder;
|
|
479
500
|
calculateInterestDaily?: Prisma.SortOrder;
|
|
480
501
|
gracePeriodDays?: Prisma.SortOrder;
|
|
502
|
+
collectFunds?: Prisma.SortOrder;
|
|
481
503
|
createdAt?: Prisma.SortOrder;
|
|
482
504
|
updatedAt?: Prisma.SortOrder;
|
|
483
505
|
};
|
|
@@ -569,6 +591,7 @@ export type PaymentPlanCreateWithoutTenantInput = {
|
|
|
569
591
|
numberOfInstallments: number;
|
|
570
592
|
calculateInterestDaily?: boolean;
|
|
571
593
|
gracePeriodDays?: number;
|
|
594
|
+
collectFunds?: boolean;
|
|
572
595
|
createdAt?: Date | string;
|
|
573
596
|
updatedAt?: Date | string;
|
|
574
597
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput;
|
|
@@ -584,6 +607,7 @@ export type PaymentPlanUncheckedCreateWithoutTenantInput = {
|
|
|
584
607
|
numberOfInstallments: number;
|
|
585
608
|
calculateInterestDaily?: boolean;
|
|
586
609
|
gracePeriodDays?: number;
|
|
610
|
+
collectFunds?: boolean;
|
|
587
611
|
createdAt?: Date | string;
|
|
588
612
|
updatedAt?: Date | string;
|
|
589
613
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
@@ -624,6 +648,7 @@ export type PaymentPlanScalarWhereInput = {
|
|
|
624
648
|
numberOfInstallments?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
625
649
|
calculateInterestDaily?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
626
650
|
gracePeriodDays?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
651
|
+
collectFunds?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
627
652
|
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
628
653
|
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
629
654
|
};
|
|
@@ -637,6 +662,7 @@ export type PaymentPlanCreateWithoutMethodPhasesInput = {
|
|
|
637
662
|
numberOfInstallments: number;
|
|
638
663
|
calculateInterestDaily?: boolean;
|
|
639
664
|
gracePeriodDays?: number;
|
|
665
|
+
collectFunds?: boolean;
|
|
640
666
|
createdAt?: Date | string;
|
|
641
667
|
updatedAt?: Date | string;
|
|
642
668
|
tenant?: Prisma.TenantCreateNestedOneWithoutPaymentPlansInput;
|
|
@@ -653,6 +679,7 @@ export type PaymentPlanUncheckedCreateWithoutMethodPhasesInput = {
|
|
|
653
679
|
numberOfInstallments: number;
|
|
654
680
|
calculateInterestDaily?: boolean;
|
|
655
681
|
gracePeriodDays?: number;
|
|
682
|
+
collectFunds?: boolean;
|
|
656
683
|
createdAt?: Date | string;
|
|
657
684
|
updatedAt?: Date | string;
|
|
658
685
|
contractPhases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
@@ -680,6 +707,7 @@ export type PaymentPlanUpdateWithoutMethodPhasesInput = {
|
|
|
680
707
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
681
708
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
682
709
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
710
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
683
711
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
684
712
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
685
713
|
tenant?: Prisma.TenantUpdateOneWithoutPaymentPlansNestedInput;
|
|
@@ -696,6 +724,7 @@ export type PaymentPlanUncheckedUpdateWithoutMethodPhasesInput = {
|
|
|
696
724
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
697
725
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
698
726
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
727
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
699
728
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
700
729
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
701
730
|
contractPhases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
@@ -710,6 +739,7 @@ export type PaymentPlanCreateWithoutContractPhasesInput = {
|
|
|
710
739
|
numberOfInstallments: number;
|
|
711
740
|
calculateInterestDaily?: boolean;
|
|
712
741
|
gracePeriodDays?: number;
|
|
742
|
+
collectFunds?: boolean;
|
|
713
743
|
createdAt?: Date | string;
|
|
714
744
|
updatedAt?: Date | string;
|
|
715
745
|
tenant?: Prisma.TenantCreateNestedOneWithoutPaymentPlansInput;
|
|
@@ -726,6 +756,7 @@ export type PaymentPlanUncheckedCreateWithoutContractPhasesInput = {
|
|
|
726
756
|
numberOfInstallments: number;
|
|
727
757
|
calculateInterestDaily?: boolean;
|
|
728
758
|
gracePeriodDays?: number;
|
|
759
|
+
collectFunds?: boolean;
|
|
729
760
|
createdAt?: Date | string;
|
|
730
761
|
updatedAt?: Date | string;
|
|
731
762
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
@@ -753,6 +784,7 @@ export type PaymentPlanUpdateWithoutContractPhasesInput = {
|
|
|
753
784
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
754
785
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
755
786
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
787
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
756
788
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
757
789
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
758
790
|
tenant?: Prisma.TenantUpdateOneWithoutPaymentPlansNestedInput;
|
|
@@ -769,6 +801,7 @@ export type PaymentPlanUncheckedUpdateWithoutContractPhasesInput = {
|
|
|
769
801
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
770
802
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
771
803
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
804
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
772
805
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
773
806
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
774
807
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
@@ -783,6 +816,7 @@ export type PaymentPlanCreateManyTenantInput = {
|
|
|
783
816
|
numberOfInstallments: number;
|
|
784
817
|
calculateInterestDaily?: boolean;
|
|
785
818
|
gracePeriodDays?: number;
|
|
819
|
+
collectFunds?: boolean;
|
|
786
820
|
createdAt?: Date | string;
|
|
787
821
|
updatedAt?: Date | string;
|
|
788
822
|
};
|
|
@@ -796,6 +830,7 @@ export type PaymentPlanUpdateWithoutTenantInput = {
|
|
|
796
830
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
797
831
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
798
832
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
833
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
799
834
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
800
835
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
801
836
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentPlanNestedInput;
|
|
@@ -811,6 +846,7 @@ export type PaymentPlanUncheckedUpdateWithoutTenantInput = {
|
|
|
811
846
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
812
847
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
813
848
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
849
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
814
850
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
815
851
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
816
852
|
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
@@ -826,6 +862,7 @@ export type PaymentPlanUncheckedUpdateManyWithoutTenantInput = {
|
|
|
826
862
|
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
827
863
|
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
828
864
|
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
865
|
+
collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
829
866
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
830
867
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
831
868
|
};
|
|
@@ -872,6 +909,7 @@ export type PaymentPlanSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
872
909
|
numberOfInstallments?: boolean;
|
|
873
910
|
calculateInterestDaily?: boolean;
|
|
874
911
|
gracePeriodDays?: boolean;
|
|
912
|
+
collectFunds?: boolean;
|
|
875
913
|
createdAt?: boolean;
|
|
876
914
|
updatedAt?: boolean;
|
|
877
915
|
tenant?: boolean | Prisma.PaymentPlan$tenantArgs<ExtArgs>;
|
|
@@ -890,10 +928,11 @@ export type PaymentPlanSelectScalar = {
|
|
|
890
928
|
numberOfInstallments?: boolean;
|
|
891
929
|
calculateInterestDaily?: boolean;
|
|
892
930
|
gracePeriodDays?: boolean;
|
|
931
|
+
collectFunds?: boolean;
|
|
893
932
|
createdAt?: boolean;
|
|
894
933
|
updatedAt?: boolean;
|
|
895
934
|
};
|
|
896
|
-
export type PaymentPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "description" | "isActive" | "paymentFrequency" | "customFrequencyDays" | "numberOfInstallments" | "calculateInterestDaily" | "gracePeriodDays" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPlan"]>;
|
|
935
|
+
export type PaymentPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "description" | "isActive" | "paymentFrequency" | "customFrequencyDays" | "numberOfInstallments" | "calculateInterestDaily" | "gracePeriodDays" | "collectFunds" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPlan"]>;
|
|
897
936
|
export type PaymentPlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
898
937
|
tenant?: boolean | Prisma.PaymentPlan$tenantArgs<ExtArgs>;
|
|
899
938
|
methodPhases?: boolean | Prisma.PaymentPlan$methodPhasesArgs<ExtArgs>;
|
|
@@ -918,6 +957,7 @@ export type $PaymentPlanPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
918
957
|
numberOfInstallments: number;
|
|
919
958
|
calculateInterestDaily: boolean;
|
|
920
959
|
gracePeriodDays: number;
|
|
960
|
+
collectFunds: boolean;
|
|
921
961
|
createdAt: Date;
|
|
922
962
|
updatedAt: Date;
|
|
923
963
|
}, ExtArgs["result"]["paymentPlan"]>;
|
|
@@ -1235,6 +1275,7 @@ export interface PaymentPlanFieldRefs {
|
|
|
1235
1275
|
readonly numberOfInstallments: Prisma.FieldRef<"PaymentPlan", 'Int'>;
|
|
1236
1276
|
readonly calculateInterestDaily: Prisma.FieldRef<"PaymentPlan", 'Boolean'>;
|
|
1237
1277
|
readonly gracePeriodDays: Prisma.FieldRef<"PaymentPlan", 'Int'>;
|
|
1278
|
+
readonly collectFunds: Prisma.FieldRef<"PaymentPlan", 'Boolean'>;
|
|
1238
1279
|
readonly createdAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1239
1280
|
readonly updatedAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1240
1281
|
}
|