@valentine-efagene/qshelter-common 2.0.146 → 2.0.147

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.
@@ -19,6 +19,7 @@ export type PaymentPhaseAvgAggregateOutputType = {
19
19
  selectedTermMonths: number | null;
20
20
  numberOfInstallments: number | null;
21
21
  minimumCompletionPercentage: number | null;
22
+ version: number | null;
22
23
  };
23
24
  export type PaymentPhaseSumAggregateOutputType = {
24
25
  totalAmount: number | null;
@@ -27,6 +28,7 @@ export type PaymentPhaseSumAggregateOutputType = {
27
28
  selectedTermMonths: number | null;
28
29
  numberOfInstallments: number | null;
29
30
  minimumCompletionPercentage: number | null;
31
+ version: number | null;
30
32
  };
31
33
  export type PaymentPhaseMinAggregateOutputType = {
32
34
  id: string | null;
@@ -40,6 +42,7 @@ export type PaymentPhaseMinAggregateOutputType = {
40
42
  numberOfInstallments: number | null;
41
43
  collectFunds: boolean | null;
42
44
  minimumCompletionPercentage: number | null;
45
+ version: number | null;
43
46
  createdAt: Date | null;
44
47
  updatedAt: Date | null;
45
48
  };
@@ -55,6 +58,7 @@ export type PaymentPhaseMaxAggregateOutputType = {
55
58
  numberOfInstallments: number | null;
56
59
  collectFunds: boolean | null;
57
60
  minimumCompletionPercentage: number | null;
61
+ version: number | null;
58
62
  createdAt: Date | null;
59
63
  updatedAt: Date | null;
60
64
  };
@@ -71,6 +75,7 @@ export type PaymentPhaseCountAggregateOutputType = {
71
75
  collectFunds: number;
72
76
  minimumCompletionPercentage: number;
73
77
  paymentPlanSnapshot: number;
78
+ version: number;
74
79
  createdAt: number;
75
80
  updatedAt: number;
76
81
  _all: number;
@@ -82,6 +87,7 @@ export type PaymentPhaseAvgAggregateInputType = {
82
87
  selectedTermMonths?: true;
83
88
  numberOfInstallments?: true;
84
89
  minimumCompletionPercentage?: true;
90
+ version?: true;
85
91
  };
86
92
  export type PaymentPhaseSumAggregateInputType = {
87
93
  totalAmount?: true;
@@ -90,6 +96,7 @@ export type PaymentPhaseSumAggregateInputType = {
90
96
  selectedTermMonths?: true;
91
97
  numberOfInstallments?: true;
92
98
  minimumCompletionPercentage?: true;
99
+ version?: true;
93
100
  };
94
101
  export type PaymentPhaseMinAggregateInputType = {
95
102
  id?: true;
@@ -103,6 +110,7 @@ export type PaymentPhaseMinAggregateInputType = {
103
110
  numberOfInstallments?: true;
104
111
  collectFunds?: true;
105
112
  minimumCompletionPercentage?: true;
113
+ version?: true;
106
114
  createdAt?: true;
107
115
  updatedAt?: true;
108
116
  };
@@ -118,6 +126,7 @@ export type PaymentPhaseMaxAggregateInputType = {
118
126
  numberOfInstallments?: true;
119
127
  collectFunds?: true;
120
128
  minimumCompletionPercentage?: true;
129
+ version?: true;
121
130
  createdAt?: true;
122
131
  updatedAt?: true;
123
132
  };
@@ -134,6 +143,7 @@ export type PaymentPhaseCountAggregateInputType = {
134
143
  collectFunds?: true;
135
144
  minimumCompletionPercentage?: true;
136
145
  paymentPlanSnapshot?: true;
146
+ version?: true;
137
147
  createdAt?: true;
138
148
  updatedAt?: true;
139
149
  _all?: true;
@@ -227,6 +237,7 @@ export type PaymentPhaseGroupByOutputType = {
227
237
  collectFunds: boolean;
228
238
  minimumCompletionPercentage: number | null;
229
239
  paymentPlanSnapshot: runtime.JsonValue | null;
240
+ version: number;
230
241
  createdAt: Date;
231
242
  updatedAt: Date;
232
243
  _count: PaymentPhaseCountAggregateOutputType | null;
@@ -254,6 +265,7 @@ export type PaymentPhaseWhereInput = {
254
265
  collectFunds?: Prisma.BoolFilter<"PaymentPhase"> | boolean;
255
266
  minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PaymentPhase"> | number | null;
256
267
  paymentPlanSnapshot?: Prisma.JsonNullableFilter<"PaymentPhase">;
268
+ version?: Prisma.IntFilter<"PaymentPhase"> | number;
257
269
  createdAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
258
270
  updatedAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
259
271
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
@@ -274,6 +286,7 @@ export type PaymentPhaseOrderByWithRelationInput = {
274
286
  collectFunds?: Prisma.SortOrder;
275
287
  minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
276
288
  paymentPlanSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
289
+ version?: Prisma.SortOrder;
277
290
  createdAt?: Prisma.SortOrder;
278
291
  updatedAt?: Prisma.SortOrder;
279
292
  tenant?: Prisma.TenantOrderByWithRelationInput;
@@ -298,6 +311,7 @@ export type PaymentPhaseWhereUniqueInput = Prisma.AtLeast<{
298
311
  collectFunds?: Prisma.BoolFilter<"PaymentPhase"> | boolean;
299
312
  minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PaymentPhase"> | number | null;
300
313
  paymentPlanSnapshot?: Prisma.JsonNullableFilter<"PaymentPhase">;
314
+ version?: Prisma.IntFilter<"PaymentPhase"> | number;
301
315
  createdAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
302
316
  updatedAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
303
317
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
@@ -318,6 +332,7 @@ export type PaymentPhaseOrderByWithAggregationInput = {
318
332
  collectFunds?: Prisma.SortOrder;
319
333
  minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
320
334
  paymentPlanSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
335
+ version?: Prisma.SortOrder;
321
336
  createdAt?: Prisma.SortOrder;
322
337
  updatedAt?: Prisma.SortOrder;
323
338
  _count?: Prisma.PaymentPhaseCountOrderByAggregateInput;
@@ -342,6 +357,7 @@ export type PaymentPhaseScalarWhereWithAggregatesInput = {
342
357
  collectFunds?: Prisma.BoolWithAggregatesFilter<"PaymentPhase"> | boolean;
343
358
  minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"PaymentPhase"> | number | null;
344
359
  paymentPlanSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"PaymentPhase">;
360
+ version?: Prisma.IntWithAggregatesFilter<"PaymentPhase"> | number;
345
361
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPhase"> | Date | string;
346
362
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPhase"> | Date | string;
347
363
  };
@@ -355,6 +371,7 @@ export type PaymentPhaseCreateInput = {
355
371
  collectFunds?: boolean;
356
372
  minimumCompletionPercentage?: number | null;
357
373
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
374
+ version?: number;
358
375
  createdAt?: Date | string;
359
376
  updatedAt?: Date | string;
360
377
  tenant: Prisma.TenantCreateNestedOneWithoutPaymentPhasesInput;
@@ -375,6 +392,7 @@ export type PaymentPhaseUncheckedCreateInput = {
375
392
  collectFunds?: boolean;
376
393
  minimumCompletionPercentage?: number | null;
377
394
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
395
+ version?: number;
378
396
  createdAt?: Date | string;
379
397
  updatedAt?: Date | string;
380
398
  installments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutPaymentPhaseInput;
@@ -389,6 +407,7 @@ export type PaymentPhaseUpdateInput = {
389
407
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
390
408
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
391
409
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
410
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
392
411
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
393
412
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
394
413
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentPhasesNestedInput;
@@ -409,6 +428,7 @@ export type PaymentPhaseUncheckedUpdateInput = {
409
428
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
410
429
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
411
430
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
431
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
412
432
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
413
433
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
414
434
  installments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseNestedInput;
@@ -426,6 +446,7 @@ export type PaymentPhaseCreateManyInput = {
426
446
  collectFunds?: boolean;
427
447
  minimumCompletionPercentage?: number | null;
428
448
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
449
+ version?: number;
429
450
  createdAt?: Date | string;
430
451
  updatedAt?: Date | string;
431
452
  };
@@ -439,6 +460,7 @@ export type PaymentPhaseUpdateManyMutationInput = {
439
460
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
440
461
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
441
462
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
463
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
442
464
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
443
465
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
444
466
  };
@@ -455,6 +477,7 @@ export type PaymentPhaseUncheckedUpdateManyInput = {
455
477
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
456
478
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
457
479
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
480
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
458
481
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
459
482
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
460
483
  };
@@ -488,6 +511,7 @@ export type PaymentPhaseCountOrderByAggregateInput = {
488
511
  collectFunds?: Prisma.SortOrder;
489
512
  minimumCompletionPercentage?: Prisma.SortOrder;
490
513
  paymentPlanSnapshot?: Prisma.SortOrder;
514
+ version?: Prisma.SortOrder;
491
515
  createdAt?: Prisma.SortOrder;
492
516
  updatedAt?: Prisma.SortOrder;
493
517
  };
@@ -498,6 +522,7 @@ export type PaymentPhaseAvgOrderByAggregateInput = {
498
522
  selectedTermMonths?: Prisma.SortOrder;
499
523
  numberOfInstallments?: Prisma.SortOrder;
500
524
  minimumCompletionPercentage?: Prisma.SortOrder;
525
+ version?: Prisma.SortOrder;
501
526
  };
502
527
  export type PaymentPhaseMaxOrderByAggregateInput = {
503
528
  id?: Prisma.SortOrder;
@@ -511,6 +536,7 @@ export type PaymentPhaseMaxOrderByAggregateInput = {
511
536
  numberOfInstallments?: Prisma.SortOrder;
512
537
  collectFunds?: Prisma.SortOrder;
513
538
  minimumCompletionPercentage?: Prisma.SortOrder;
539
+ version?: Prisma.SortOrder;
514
540
  createdAt?: Prisma.SortOrder;
515
541
  updatedAt?: Prisma.SortOrder;
516
542
  };
@@ -526,6 +552,7 @@ export type PaymentPhaseMinOrderByAggregateInput = {
526
552
  numberOfInstallments?: Prisma.SortOrder;
527
553
  collectFunds?: Prisma.SortOrder;
528
554
  minimumCompletionPercentage?: Prisma.SortOrder;
555
+ version?: Prisma.SortOrder;
529
556
  createdAt?: Prisma.SortOrder;
530
557
  updatedAt?: Prisma.SortOrder;
531
558
  };
@@ -536,6 +563,7 @@ export type PaymentPhaseSumOrderByAggregateInput = {
536
563
  selectedTermMonths?: Prisma.SortOrder;
537
564
  numberOfInstallments?: Prisma.SortOrder;
538
565
  minimumCompletionPercentage?: Prisma.SortOrder;
566
+ version?: Prisma.SortOrder;
539
567
  };
540
568
  export type PaymentPhaseScalarRelationFilter = {
541
569
  is?: Prisma.PaymentPhaseWhereInput;
@@ -667,6 +695,7 @@ export type PaymentPhaseCreateWithoutTenantInput = {
667
695
  collectFunds?: boolean;
668
696
  minimumCompletionPercentage?: number | null;
669
697
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
698
+ version?: number;
670
699
  createdAt?: Date | string;
671
700
  updatedAt?: Date | string;
672
701
  phase: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentPhaseInput;
@@ -685,6 +714,7 @@ export type PaymentPhaseUncheckedCreateWithoutTenantInput = {
685
714
  collectFunds?: boolean;
686
715
  minimumCompletionPercentage?: number | null;
687
716
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
717
+ version?: number;
688
718
  createdAt?: Date | string;
689
719
  updatedAt?: Date | string;
690
720
  installments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutPaymentPhaseInput;
@@ -726,6 +756,7 @@ export type PaymentPhaseScalarWhereInput = {
726
756
  collectFunds?: Prisma.BoolFilter<"PaymentPhase"> | boolean;
727
757
  minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PaymentPhase"> | number | null;
728
758
  paymentPlanSnapshot?: Prisma.JsonNullableFilter<"PaymentPhase">;
759
+ version?: Prisma.IntFilter<"PaymentPhase"> | number;
729
760
  createdAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
730
761
  updatedAt?: Prisma.DateTimeFilter<"PaymentPhase"> | Date | string;
731
762
  };
@@ -739,6 +770,7 @@ export type PaymentPhaseCreateWithoutPaymentPlanInput = {
739
770
  collectFunds?: boolean;
740
771
  minimumCompletionPercentage?: number | null;
741
772
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
773
+ version?: number;
742
774
  createdAt?: Date | string;
743
775
  updatedAt?: Date | string;
744
776
  tenant: Prisma.TenantCreateNestedOneWithoutPaymentPhasesInput;
@@ -757,6 +789,7 @@ export type PaymentPhaseUncheckedCreateWithoutPaymentPlanInput = {
757
789
  collectFunds?: boolean;
758
790
  minimumCompletionPercentage?: number | null;
759
791
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
792
+ version?: number;
760
793
  createdAt?: Date | string;
761
794
  updatedAt?: Date | string;
762
795
  installments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutPaymentPhaseInput;
@@ -792,6 +825,7 @@ export type PaymentPhaseCreateWithoutPhaseInput = {
792
825
  collectFunds?: boolean;
793
826
  minimumCompletionPercentage?: number | null;
794
827
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
828
+ version?: number;
795
829
  createdAt?: Date | string;
796
830
  updatedAt?: Date | string;
797
831
  tenant: Prisma.TenantCreateNestedOneWithoutPaymentPhasesInput;
@@ -810,6 +844,7 @@ export type PaymentPhaseUncheckedCreateWithoutPhaseInput = {
810
844
  collectFunds?: boolean;
811
845
  minimumCompletionPercentage?: number | null;
812
846
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
847
+ version?: number;
813
848
  createdAt?: Date | string;
814
849
  updatedAt?: Date | string;
815
850
  installments?: Prisma.PaymentInstallmentUncheckedCreateNestedManyWithoutPaymentPhaseInput;
@@ -837,6 +872,7 @@ export type PaymentPhaseUpdateWithoutPhaseInput = {
837
872
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
838
873
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
839
874
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
875
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
840
876
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
841
877
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
842
878
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentPhasesNestedInput;
@@ -855,6 +891,7 @@ export type PaymentPhaseUncheckedUpdateWithoutPhaseInput = {
855
891
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
856
892
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
857
893
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
894
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
858
895
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
859
896
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
897
  installments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseNestedInput;
@@ -869,6 +906,7 @@ export type PaymentPhaseCreateWithoutInstallmentsInput = {
869
906
  collectFunds?: boolean;
870
907
  minimumCompletionPercentage?: number | null;
871
908
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
909
+ version?: number;
872
910
  createdAt?: Date | string;
873
911
  updatedAt?: Date | string;
874
912
  tenant: Prisma.TenantCreateNestedOneWithoutPaymentPhasesInput;
@@ -888,6 +926,7 @@ export type PaymentPhaseUncheckedCreateWithoutInstallmentsInput = {
888
926
  collectFunds?: boolean;
889
927
  minimumCompletionPercentage?: number | null;
890
928
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
929
+ version?: number;
891
930
  createdAt?: Date | string;
892
931
  updatedAt?: Date | string;
893
932
  };
@@ -914,6 +953,7 @@ export type PaymentPhaseUpdateWithoutInstallmentsInput = {
914
953
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
915
954
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
916
955
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
956
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
917
957
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
918
958
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
919
959
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentPhasesNestedInput;
@@ -933,6 +973,7 @@ export type PaymentPhaseUncheckedUpdateWithoutInstallmentsInput = {
933
973
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
934
974
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
935
975
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
976
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
936
977
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
937
978
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
938
979
  };
@@ -948,6 +989,7 @@ export type PaymentPhaseCreateManyTenantInput = {
948
989
  collectFunds?: boolean;
949
990
  minimumCompletionPercentage?: number | null;
950
991
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
992
+ version?: number;
951
993
  createdAt?: Date | string;
952
994
  updatedAt?: Date | string;
953
995
  };
@@ -961,6 +1003,7 @@ export type PaymentPhaseUpdateWithoutTenantInput = {
961
1003
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
962
1004
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
963
1005
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1006
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
964
1007
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
965
1008
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
966
1009
  phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutPaymentPhaseNestedInput;
@@ -979,6 +1022,7 @@ export type PaymentPhaseUncheckedUpdateWithoutTenantInput = {
979
1022
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
980
1023
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
981
1024
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1025
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
982
1026
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
983
1027
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
984
1028
  installments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseNestedInput;
@@ -995,6 +1039,7 @@ export type PaymentPhaseUncheckedUpdateManyWithoutTenantInput = {
995
1039
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
996
1040
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
997
1041
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1042
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
998
1043
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
999
1044
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1000
1045
  };
@@ -1010,6 +1055,7 @@ export type PaymentPhaseCreateManyPaymentPlanInput = {
1010
1055
  collectFunds?: boolean;
1011
1056
  minimumCompletionPercentage?: number | null;
1012
1057
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1058
+ version?: number;
1013
1059
  createdAt?: Date | string;
1014
1060
  updatedAt?: Date | string;
1015
1061
  };
@@ -1023,6 +1069,7 @@ export type PaymentPhaseUpdateWithoutPaymentPlanInput = {
1023
1069
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1024
1070
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1025
1071
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1072
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
1026
1073
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1027
1074
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1028
1075
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentPhasesNestedInput;
@@ -1041,6 +1088,7 @@ export type PaymentPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1041
1088
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1042
1089
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1043
1090
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1091
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
1044
1092
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1045
1093
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1046
1094
  installments?: Prisma.PaymentInstallmentUncheckedUpdateManyWithoutPaymentPhaseNestedInput;
@@ -1057,6 +1105,7 @@ export type PaymentPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
1057
1105
  collectFunds?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1058
1106
  minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1059
1107
  paymentPlanSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1108
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
1060
1109
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1061
1110
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1062
1111
  };
@@ -1097,6 +1146,7 @@ export type PaymentPhaseSelect<ExtArgs extends runtime.Types.Extensions.Internal
1097
1146
  collectFunds?: boolean;
1098
1147
  minimumCompletionPercentage?: boolean;
1099
1148
  paymentPlanSnapshot?: boolean;
1149
+ version?: boolean;
1100
1150
  createdAt?: boolean;
1101
1151
  updatedAt?: boolean;
1102
1152
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
@@ -1118,10 +1168,11 @@ export type PaymentPhaseSelectScalar = {
1118
1168
  collectFunds?: boolean;
1119
1169
  minimumCompletionPercentage?: boolean;
1120
1170
  paymentPlanSnapshot?: boolean;
1171
+ version?: boolean;
1121
1172
  createdAt?: boolean;
1122
1173
  updatedAt?: boolean;
1123
1174
  };
1124
- export type PaymentPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "paymentPlanId" | "totalAmount" | "paidAmount" | "interestRate" | "selectedTermMonths" | "numberOfInstallments" | "collectFunds" | "minimumCompletionPercentage" | "paymentPlanSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPhase"]>;
1175
+ export type PaymentPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "phaseId" | "paymentPlanId" | "totalAmount" | "paidAmount" | "interestRate" | "selectedTermMonths" | "numberOfInstallments" | "collectFunds" | "minimumCompletionPercentage" | "paymentPlanSnapshot" | "version" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPhase"]>;
1125
1176
  export type PaymentPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1126
1177
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1127
1178
  phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
@@ -1150,6 +1201,7 @@ export type $PaymentPhasePayload<ExtArgs extends runtime.Types.Extensions.Intern
1150
1201
  collectFunds: boolean;
1151
1202
  minimumCompletionPercentage: number | null;
1152
1203
  paymentPlanSnapshot: runtime.JsonValue | null;
1204
+ version: number;
1153
1205
  createdAt: Date;
1154
1206
  updatedAt: Date;
1155
1207
  }, ExtArgs["result"]["paymentPhase"]>;
@@ -1470,6 +1522,7 @@ export interface PaymentPhaseFieldRefs {
1470
1522
  readonly collectFunds: Prisma.FieldRef<"PaymentPhase", 'Boolean'>;
1471
1523
  readonly minimumCompletionPercentage: Prisma.FieldRef<"PaymentPhase", 'Float'>;
1472
1524
  readonly paymentPlanSnapshot: Prisma.FieldRef<"PaymentPhase", 'Json'>;
1525
+ readonly version: Prisma.FieldRef<"PaymentPhase", 'Int'>;
1473
1526
  readonly createdAt: Prisma.FieldRef<"PaymentPhase", 'DateTime'>;
1474
1527
  readonly updatedAt: Prisma.FieldRef<"PaymentPhase", 'DateTime'>;
1475
1528
  }
@@ -357,6 +357,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
357
357
  };
358
358
  export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
359
359
  id?: string;
360
+ paymentMethodId_order?: Prisma.PropertyPaymentMethodPhasePaymentMethodIdOrderCompoundUniqueInput;
360
361
  AND?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
361
362
  OR?: Prisma.PropertyPaymentMethodPhaseWhereInput[];
362
363
  NOT?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
@@ -391,7 +392,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
391
392
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
392
393
  eventAttachments?: Prisma.PhaseEventAttachmentListRelationFilter;
393
394
  applicationPhases?: Prisma.ApplicationPhaseListRelationFilter;
394
- }, "id">;
395
+ }, "id" | "paymentMethodId_order">;
395
396
  export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
396
397
  id?: Prisma.SortOrder;
397
398
  tenantId?: Prisma.SortOrder;
@@ -644,6 +645,10 @@ export type PropertyPaymentMethodPhaseOrderByRelevanceInput = {
644
645
  sort: Prisma.SortOrder;
645
646
  search: string;
646
647
  };
648
+ export type PropertyPaymentMethodPhasePaymentMethodIdOrderCompoundUniqueInput = {
649
+ paymentMethodId: string;
650
+ order: number;
651
+ };
647
652
  export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
648
653
  id?: Prisma.SortOrder;
649
654
  tenantId?: Prisma.SortOrder;