@valentine-efagene/qshelter-common 2.0.86 → 2.0.87

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.
Files changed (30) hide show
  1. package/dist/generated/client/browser.d.ts +25 -0
  2. package/dist/generated/client/client.d.ts +25 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +30 -0
  4. package/dist/generated/client/enums.d.ts +18 -0
  5. package/dist/generated/client/enums.js +17 -0
  6. package/dist/generated/client/internal/class.d.ts +55 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
  9. package/dist/generated/client/internal/prismaNamespace.js +118 -40
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
  12. package/dist/generated/client/models/Contract.d.ts +303 -1574
  13. package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
  14. package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
  15. package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
  16. package/dist/generated/client/models/DocumentationPhase.js +1 -0
  17. package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
  18. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
  19. package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
  20. package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
  21. package/dist/generated/client/models/PaymentPhase.js +1 -0
  22. package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
  23. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
  24. package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
  25. package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
  26. package/dist/generated/client/models/QuestionnaireField.js +1 -0
  27. package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
  28. package/dist/generated/client/models/QuestionnairePhase.js +1 -0
  29. package/dist/generated/client/models.d.ts +5 -0
  30. package/package.json +1 -1
@@ -33,7 +33,7 @@ export type ContractInstallmentSumAggregateOutputType = {
33
33
  };
34
34
  export type ContractInstallmentMinAggregateOutputType = {
35
35
  id: string | null;
36
- phaseId: string | null;
36
+ paymentPhaseId: string | null;
37
37
  installmentNumber: number | null;
38
38
  amount: number | null;
39
39
  principalAmount: number | null;
@@ -51,7 +51,7 @@ export type ContractInstallmentMinAggregateOutputType = {
51
51
  };
52
52
  export type ContractInstallmentMaxAggregateOutputType = {
53
53
  id: string | null;
54
- phaseId: string | null;
54
+ paymentPhaseId: string | null;
55
55
  installmentNumber: number | null;
56
56
  amount: number | null;
57
57
  principalAmount: number | null;
@@ -69,7 +69,7 @@ export type ContractInstallmentMaxAggregateOutputType = {
69
69
  };
70
70
  export type ContractInstallmentCountAggregateOutputType = {
71
71
  id: number;
72
- phaseId: number;
72
+ paymentPhaseId: number;
73
73
  installmentNumber: number;
74
74
  amount: number;
75
75
  principalAmount: number;
@@ -106,7 +106,7 @@ export type ContractInstallmentSumAggregateInputType = {
106
106
  };
107
107
  export type ContractInstallmentMinAggregateInputType = {
108
108
  id?: true;
109
- phaseId?: true;
109
+ paymentPhaseId?: true;
110
110
  installmentNumber?: true;
111
111
  amount?: true;
112
112
  principalAmount?: true;
@@ -124,7 +124,7 @@ export type ContractInstallmentMinAggregateInputType = {
124
124
  };
125
125
  export type ContractInstallmentMaxAggregateInputType = {
126
126
  id?: true;
127
- phaseId?: true;
127
+ paymentPhaseId?: true;
128
128
  installmentNumber?: true;
129
129
  amount?: true;
130
130
  principalAmount?: true;
@@ -142,7 +142,7 @@ export type ContractInstallmentMaxAggregateInputType = {
142
142
  };
143
143
  export type ContractInstallmentCountAggregateInputType = {
144
144
  id?: true;
145
- phaseId?: true;
145
+ paymentPhaseId?: true;
146
146
  installmentNumber?: true;
147
147
  amount?: true;
148
148
  principalAmount?: true;
@@ -237,7 +237,7 @@ export type ContractInstallmentGroupByArgs<ExtArgs extends runtime.Types.Extensi
237
237
  };
238
238
  export type ContractInstallmentGroupByOutputType = {
239
239
  id: string;
240
- phaseId: string;
240
+ paymentPhaseId: string;
241
241
  installmentNumber: number;
242
242
  amount: number;
243
243
  principalAmount: number;
@@ -266,7 +266,7 @@ export type ContractInstallmentWhereInput = {
266
266
  OR?: Prisma.ContractInstallmentWhereInput[];
267
267
  NOT?: Prisma.ContractInstallmentWhereInput | Prisma.ContractInstallmentWhereInput[];
268
268
  id?: Prisma.StringFilter<"ContractInstallment"> | string;
269
- phaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
269
+ paymentPhaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
270
270
  installmentNumber?: Prisma.IntFilter<"ContractInstallment"> | number;
271
271
  amount?: Prisma.FloatFilter<"ContractInstallment"> | number;
272
272
  principalAmount?: Prisma.FloatFilter<"ContractInstallment"> | number;
@@ -281,12 +281,12 @@ export type ContractInstallmentWhereInput = {
281
281
  gracePeriodEndDate?: Prisma.DateTimeNullableFilter<"ContractInstallment"> | Date | string | null;
282
282
  createdAt?: Prisma.DateTimeFilter<"ContractInstallment"> | Date | string;
283
283
  updatedAt?: Prisma.DateTimeFilter<"ContractInstallment"> | Date | string;
284
- phase?: Prisma.XOR<Prisma.ContractPhaseScalarRelationFilter, Prisma.ContractPhaseWhereInput>;
284
+ paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseScalarRelationFilter, Prisma.PaymentPhaseWhereInput>;
285
285
  payments?: Prisma.ContractPaymentListRelationFilter;
286
286
  };
287
287
  export type ContractInstallmentOrderByWithRelationInput = {
288
288
  id?: Prisma.SortOrder;
289
- phaseId?: Prisma.SortOrder;
289
+ paymentPhaseId?: Prisma.SortOrder;
290
290
  installmentNumber?: Prisma.SortOrder;
291
291
  amount?: Prisma.SortOrder;
292
292
  principalAmount?: Prisma.SortOrder;
@@ -301,7 +301,7 @@ export type ContractInstallmentOrderByWithRelationInput = {
301
301
  gracePeriodEndDate?: Prisma.SortOrderInput | Prisma.SortOrder;
302
302
  createdAt?: Prisma.SortOrder;
303
303
  updatedAt?: Prisma.SortOrder;
304
- phase?: Prisma.ContractPhaseOrderByWithRelationInput;
304
+ paymentPhase?: Prisma.PaymentPhaseOrderByWithRelationInput;
305
305
  payments?: Prisma.ContractPaymentOrderByRelationAggregateInput;
306
306
  _relevance?: Prisma.ContractInstallmentOrderByRelevanceInput;
307
307
  };
@@ -310,7 +310,7 @@ export type ContractInstallmentWhereUniqueInput = Prisma.AtLeast<{
310
310
  AND?: Prisma.ContractInstallmentWhereInput | Prisma.ContractInstallmentWhereInput[];
311
311
  OR?: Prisma.ContractInstallmentWhereInput[];
312
312
  NOT?: Prisma.ContractInstallmentWhereInput | Prisma.ContractInstallmentWhereInput[];
313
- phaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
313
+ paymentPhaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
314
314
  installmentNumber?: Prisma.IntFilter<"ContractInstallment"> | number;
315
315
  amount?: Prisma.FloatFilter<"ContractInstallment"> | number;
316
316
  principalAmount?: Prisma.FloatFilter<"ContractInstallment"> | number;
@@ -325,12 +325,12 @@ export type ContractInstallmentWhereUniqueInput = Prisma.AtLeast<{
325
325
  gracePeriodEndDate?: Prisma.DateTimeNullableFilter<"ContractInstallment"> | Date | string | null;
326
326
  createdAt?: Prisma.DateTimeFilter<"ContractInstallment"> | Date | string;
327
327
  updatedAt?: Prisma.DateTimeFilter<"ContractInstallment"> | Date | string;
328
- phase?: Prisma.XOR<Prisma.ContractPhaseScalarRelationFilter, Prisma.ContractPhaseWhereInput>;
328
+ paymentPhase?: Prisma.XOR<Prisma.PaymentPhaseScalarRelationFilter, Prisma.PaymentPhaseWhereInput>;
329
329
  payments?: Prisma.ContractPaymentListRelationFilter;
330
330
  }, "id">;
331
331
  export type ContractInstallmentOrderByWithAggregationInput = {
332
332
  id?: Prisma.SortOrder;
333
- phaseId?: Prisma.SortOrder;
333
+ paymentPhaseId?: Prisma.SortOrder;
334
334
  installmentNumber?: Prisma.SortOrder;
335
335
  amount?: Prisma.SortOrder;
336
336
  principalAmount?: Prisma.SortOrder;
@@ -356,7 +356,7 @@ export type ContractInstallmentScalarWhereWithAggregatesInput = {
356
356
  OR?: Prisma.ContractInstallmentScalarWhereWithAggregatesInput[];
357
357
  NOT?: Prisma.ContractInstallmentScalarWhereWithAggregatesInput | Prisma.ContractInstallmentScalarWhereWithAggregatesInput[];
358
358
  id?: Prisma.StringWithAggregatesFilter<"ContractInstallment"> | string;
359
- phaseId?: Prisma.StringWithAggregatesFilter<"ContractInstallment"> | string;
359
+ paymentPhaseId?: Prisma.StringWithAggregatesFilter<"ContractInstallment"> | string;
360
360
  installmentNumber?: Prisma.IntWithAggregatesFilter<"ContractInstallment"> | number;
361
361
  amount?: Prisma.FloatWithAggregatesFilter<"ContractInstallment"> | number;
362
362
  principalAmount?: Prisma.FloatWithAggregatesFilter<"ContractInstallment"> | number;
@@ -388,12 +388,12 @@ export type ContractInstallmentCreateInput = {
388
388
  gracePeriodEndDate?: Date | string | null;
389
389
  createdAt?: Date | string;
390
390
  updatedAt?: Date | string;
391
- phase: Prisma.ContractPhaseCreateNestedOneWithoutInstallmentsInput;
391
+ paymentPhase: Prisma.PaymentPhaseCreateNestedOneWithoutInstallmentsInput;
392
392
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutInstallmentInput;
393
393
  };
394
394
  export type ContractInstallmentUncheckedCreateInput = {
395
395
  id?: string;
396
- phaseId: string;
396
+ paymentPhaseId: string;
397
397
  installmentNumber: number;
398
398
  amount: number;
399
399
  principalAmount?: number;
@@ -426,12 +426,12 @@ export type ContractInstallmentUpdateInput = {
426
426
  gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
427
427
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
428
428
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
429
- phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
429
+ paymentPhase?: Prisma.PaymentPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
430
430
  payments?: Prisma.ContractPaymentUpdateManyWithoutInstallmentNestedInput;
431
431
  };
432
432
  export type ContractInstallmentUncheckedUpdateInput = {
433
433
  id?: Prisma.StringFieldUpdateOperationsInput | string;
434
- phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
434
+ paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
435
435
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
436
436
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
437
437
  principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -450,7 +450,7 @@ export type ContractInstallmentUncheckedUpdateInput = {
450
450
  };
451
451
  export type ContractInstallmentCreateManyInput = {
452
452
  id?: string;
453
- phaseId: string;
453
+ paymentPhaseId: string;
454
454
  installmentNumber: number;
455
455
  amount: number;
456
456
  principalAmount?: number;
@@ -485,7 +485,7 @@ export type ContractInstallmentUpdateManyMutationInput = {
485
485
  };
486
486
  export type ContractInstallmentUncheckedUpdateManyInput = {
487
487
  id?: Prisma.StringFieldUpdateOperationsInput | string;
488
- phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
488
+ paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
489
489
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
490
490
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
491
491
  principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -516,7 +516,7 @@ export type ContractInstallmentOrderByRelevanceInput = {
516
516
  };
517
517
  export type ContractInstallmentCountOrderByAggregateInput = {
518
518
  id?: Prisma.SortOrder;
519
- phaseId?: Prisma.SortOrder;
519
+ paymentPhaseId?: Prisma.SortOrder;
520
520
  installmentNumber?: Prisma.SortOrder;
521
521
  amount?: Prisma.SortOrder;
522
522
  principalAmount?: Prisma.SortOrder;
@@ -543,7 +543,7 @@ export type ContractInstallmentAvgOrderByAggregateInput = {
543
543
  };
544
544
  export type ContractInstallmentMaxOrderByAggregateInput = {
545
545
  id?: Prisma.SortOrder;
546
- phaseId?: Prisma.SortOrder;
546
+ paymentPhaseId?: Prisma.SortOrder;
547
547
  installmentNumber?: Prisma.SortOrder;
548
548
  amount?: Prisma.SortOrder;
549
549
  principalAmount?: Prisma.SortOrder;
@@ -561,7 +561,7 @@ export type ContractInstallmentMaxOrderByAggregateInput = {
561
561
  };
562
562
  export type ContractInstallmentMinOrderByAggregateInput = {
563
563
  id?: Prisma.SortOrder;
564
- phaseId?: Prisma.SortOrder;
564
+ paymentPhaseId?: Prisma.SortOrder;
565
565
  installmentNumber?: Prisma.SortOrder;
566
566
  amount?: Prisma.SortOrder;
567
567
  principalAmount?: Prisma.SortOrder;
@@ -590,42 +590,42 @@ export type ContractInstallmentNullableScalarRelationFilter = {
590
590
  is?: Prisma.ContractInstallmentWhereInput | null;
591
591
  isNot?: Prisma.ContractInstallmentWhereInput | null;
592
592
  };
593
- export type ContractInstallmentCreateNestedManyWithoutPhaseInput = {
594
- create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput> | Prisma.ContractInstallmentCreateWithoutPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput[];
595
- connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput[];
596
- createMany?: Prisma.ContractInstallmentCreateManyPhaseInputEnvelope;
593
+ export type ContractInstallmentCreateNestedManyWithoutPaymentPhaseInput = {
594
+ create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput> | Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput[];
595
+ connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput[];
596
+ createMany?: Prisma.ContractInstallmentCreateManyPaymentPhaseInputEnvelope;
597
597
  connect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
598
598
  };
599
- export type ContractInstallmentUncheckedCreateNestedManyWithoutPhaseInput = {
600
- create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput> | Prisma.ContractInstallmentCreateWithoutPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput[];
601
- connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput[];
602
- createMany?: Prisma.ContractInstallmentCreateManyPhaseInputEnvelope;
599
+ export type ContractInstallmentUncheckedCreateNestedManyWithoutPaymentPhaseInput = {
600
+ create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput> | Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput[];
601
+ connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput[];
602
+ createMany?: Prisma.ContractInstallmentCreateManyPaymentPhaseInputEnvelope;
603
603
  connect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
604
604
  };
605
- export type ContractInstallmentUpdateManyWithoutPhaseNestedInput = {
606
- create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput> | Prisma.ContractInstallmentCreateWithoutPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput[];
607
- connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput[];
608
- upsert?: Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPhaseInput[];
609
- createMany?: Prisma.ContractInstallmentCreateManyPhaseInputEnvelope;
605
+ export type ContractInstallmentUpdateManyWithoutPaymentPhaseNestedInput = {
606
+ create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput> | Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput[];
607
+ connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput[];
608
+ upsert?: Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput[];
609
+ createMany?: Prisma.ContractInstallmentCreateManyPaymentPhaseInputEnvelope;
610
610
  set?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
611
611
  disconnect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
612
612
  delete?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
613
613
  connect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
614
- update?: Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPhaseInput[];
615
- updateMany?: Prisma.ContractInstallmentUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractInstallmentUpdateManyWithWhereWithoutPhaseInput[];
614
+ update?: Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput[];
615
+ updateMany?: Prisma.ContractInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput[];
616
616
  deleteMany?: Prisma.ContractInstallmentScalarWhereInput | Prisma.ContractInstallmentScalarWhereInput[];
617
617
  };
618
- export type ContractInstallmentUncheckedUpdateManyWithoutPhaseNestedInput = {
619
- create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput> | Prisma.ContractInstallmentCreateWithoutPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput[];
620
- connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPhaseInput[];
621
- upsert?: Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPhaseInput[];
622
- createMany?: Prisma.ContractInstallmentCreateManyPhaseInputEnvelope;
618
+ export type ContractInstallmentUncheckedUpdateManyWithoutPaymentPhaseNestedInput = {
619
+ create?: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput> | Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput[] | Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput[];
620
+ connectOrCreate?: Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput | Prisma.ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput[];
621
+ upsert?: Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput[];
622
+ createMany?: Prisma.ContractInstallmentCreateManyPaymentPhaseInputEnvelope;
623
623
  set?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
624
624
  disconnect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
625
625
  delete?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
626
626
  connect?: Prisma.ContractInstallmentWhereUniqueInput | Prisma.ContractInstallmentWhereUniqueInput[];
627
- update?: Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPhaseInput[];
628
- updateMany?: Prisma.ContractInstallmentUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractInstallmentUpdateManyWithWhereWithoutPhaseInput[];
627
+ update?: Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput[];
628
+ updateMany?: Prisma.ContractInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput | Prisma.ContractInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput[];
629
629
  deleteMany?: Prisma.ContractInstallmentScalarWhereInput | Prisma.ContractInstallmentScalarWhereInput[];
630
630
  };
631
631
  export type EnumInstallmentStatusFieldUpdateOperationsInput = {
@@ -645,7 +645,7 @@ export type ContractInstallmentUpdateOneWithoutPaymentsNestedInput = {
645
645
  connect?: Prisma.ContractInstallmentWhereUniqueInput;
646
646
  update?: Prisma.XOR<Prisma.XOR<Prisma.ContractInstallmentUpdateToOneWithWhereWithoutPaymentsInput, Prisma.ContractInstallmentUpdateWithoutPaymentsInput>, Prisma.ContractInstallmentUncheckedUpdateWithoutPaymentsInput>;
647
647
  };
648
- export type ContractInstallmentCreateWithoutPhaseInput = {
648
+ export type ContractInstallmentCreateWithoutPaymentPhaseInput = {
649
649
  id?: string;
650
650
  installmentNumber: number;
651
651
  amount: number;
@@ -663,7 +663,7 @@ export type ContractInstallmentCreateWithoutPhaseInput = {
663
663
  updatedAt?: Date | string;
664
664
  payments?: Prisma.ContractPaymentCreateNestedManyWithoutInstallmentInput;
665
665
  };
666
- export type ContractInstallmentUncheckedCreateWithoutPhaseInput = {
666
+ export type ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput = {
667
667
  id?: string;
668
668
  installmentNumber: number;
669
669
  amount: number;
@@ -681,33 +681,33 @@ export type ContractInstallmentUncheckedCreateWithoutPhaseInput = {
681
681
  updatedAt?: Date | string;
682
682
  payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutInstallmentInput;
683
683
  };
684
- export type ContractInstallmentCreateOrConnectWithoutPhaseInput = {
684
+ export type ContractInstallmentCreateOrConnectWithoutPaymentPhaseInput = {
685
685
  where: Prisma.ContractInstallmentWhereUniqueInput;
686
- create: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput>;
686
+ create: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput>;
687
687
  };
688
- export type ContractInstallmentCreateManyPhaseInputEnvelope = {
689
- data: Prisma.ContractInstallmentCreateManyPhaseInput | Prisma.ContractInstallmentCreateManyPhaseInput[];
688
+ export type ContractInstallmentCreateManyPaymentPhaseInputEnvelope = {
689
+ data: Prisma.ContractInstallmentCreateManyPaymentPhaseInput | Prisma.ContractInstallmentCreateManyPaymentPhaseInput[];
690
690
  skipDuplicates?: boolean;
691
691
  };
692
- export type ContractInstallmentUpsertWithWhereUniqueWithoutPhaseInput = {
692
+ export type ContractInstallmentUpsertWithWhereUniqueWithoutPaymentPhaseInput = {
693
693
  where: Prisma.ContractInstallmentWhereUniqueInput;
694
- update: Prisma.XOR<Prisma.ContractInstallmentUpdateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedUpdateWithoutPhaseInput>;
695
- create: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPhaseInput>;
694
+ update: Prisma.XOR<Prisma.ContractInstallmentUpdateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedUpdateWithoutPaymentPhaseInput>;
695
+ create: Prisma.XOR<Prisma.ContractInstallmentCreateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedCreateWithoutPaymentPhaseInput>;
696
696
  };
697
- export type ContractInstallmentUpdateWithWhereUniqueWithoutPhaseInput = {
697
+ export type ContractInstallmentUpdateWithWhereUniqueWithoutPaymentPhaseInput = {
698
698
  where: Prisma.ContractInstallmentWhereUniqueInput;
699
- data: Prisma.XOR<Prisma.ContractInstallmentUpdateWithoutPhaseInput, Prisma.ContractInstallmentUncheckedUpdateWithoutPhaseInput>;
699
+ data: Prisma.XOR<Prisma.ContractInstallmentUpdateWithoutPaymentPhaseInput, Prisma.ContractInstallmentUncheckedUpdateWithoutPaymentPhaseInput>;
700
700
  };
701
- export type ContractInstallmentUpdateManyWithWhereWithoutPhaseInput = {
701
+ export type ContractInstallmentUpdateManyWithWhereWithoutPaymentPhaseInput = {
702
702
  where: Prisma.ContractInstallmentScalarWhereInput;
703
- data: Prisma.XOR<Prisma.ContractInstallmentUpdateManyMutationInput, Prisma.ContractInstallmentUncheckedUpdateManyWithoutPhaseInput>;
703
+ data: Prisma.XOR<Prisma.ContractInstallmentUpdateManyMutationInput, Prisma.ContractInstallmentUncheckedUpdateManyWithoutPaymentPhaseInput>;
704
704
  };
705
705
  export type ContractInstallmentScalarWhereInput = {
706
706
  AND?: Prisma.ContractInstallmentScalarWhereInput | Prisma.ContractInstallmentScalarWhereInput[];
707
707
  OR?: Prisma.ContractInstallmentScalarWhereInput[];
708
708
  NOT?: Prisma.ContractInstallmentScalarWhereInput | Prisma.ContractInstallmentScalarWhereInput[];
709
709
  id?: Prisma.StringFilter<"ContractInstallment"> | string;
710
- phaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
710
+ paymentPhaseId?: Prisma.StringFilter<"ContractInstallment"> | string;
711
711
  installmentNumber?: Prisma.IntFilter<"ContractInstallment"> | number;
712
712
  amount?: Prisma.FloatFilter<"ContractInstallment"> | number;
713
713
  principalAmount?: Prisma.FloatFilter<"ContractInstallment"> | number;
@@ -739,11 +739,11 @@ export type ContractInstallmentCreateWithoutPaymentsInput = {
739
739
  gracePeriodEndDate?: Date | string | null;
740
740
  createdAt?: Date | string;
741
741
  updatedAt?: Date | string;
742
- phase: Prisma.ContractPhaseCreateNestedOneWithoutInstallmentsInput;
742
+ paymentPhase: Prisma.PaymentPhaseCreateNestedOneWithoutInstallmentsInput;
743
743
  };
744
744
  export type ContractInstallmentUncheckedCreateWithoutPaymentsInput = {
745
745
  id?: string;
746
- phaseId: string;
746
+ paymentPhaseId: string;
747
747
  installmentNumber: number;
748
748
  amount: number;
749
749
  principalAmount?: number;
@@ -788,11 +788,11 @@ export type ContractInstallmentUpdateWithoutPaymentsInput = {
788
788
  gracePeriodEndDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
789
789
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
790
790
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
791
- phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
791
+ paymentPhase?: Prisma.PaymentPhaseUpdateOneRequiredWithoutInstallmentsNestedInput;
792
792
  };
793
793
  export type ContractInstallmentUncheckedUpdateWithoutPaymentsInput = {
794
794
  id?: Prisma.StringFieldUpdateOperationsInput | string;
795
- phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
795
+ paymentPhaseId?: Prisma.StringFieldUpdateOperationsInput | string;
796
796
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
797
797
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
798
798
  principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -808,7 +808,7 @@ export type ContractInstallmentUncheckedUpdateWithoutPaymentsInput = {
808
808
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
809
809
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
810
810
  };
811
- export type ContractInstallmentCreateManyPhaseInput = {
811
+ export type ContractInstallmentCreateManyPaymentPhaseInput = {
812
812
  id?: string;
813
813
  installmentNumber: number;
814
814
  amount: number;
@@ -825,7 +825,7 @@ export type ContractInstallmentCreateManyPhaseInput = {
825
825
  createdAt?: Date | string;
826
826
  updatedAt?: Date | string;
827
827
  };
828
- export type ContractInstallmentUpdateWithoutPhaseInput = {
828
+ export type ContractInstallmentUpdateWithoutPaymentPhaseInput = {
829
829
  id?: Prisma.StringFieldUpdateOperationsInput | string;
830
830
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
831
831
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -843,7 +843,7 @@ export type ContractInstallmentUpdateWithoutPhaseInput = {
843
843
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
844
844
  payments?: Prisma.ContractPaymentUpdateManyWithoutInstallmentNestedInput;
845
845
  };
846
- export type ContractInstallmentUncheckedUpdateWithoutPhaseInput = {
846
+ export type ContractInstallmentUncheckedUpdateWithoutPaymentPhaseInput = {
847
847
  id?: Prisma.StringFieldUpdateOperationsInput | string;
848
848
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
849
849
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -861,7 +861,7 @@ export type ContractInstallmentUncheckedUpdateWithoutPhaseInput = {
861
861
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
862
862
  payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutInstallmentNestedInput;
863
863
  };
864
- export type ContractInstallmentUncheckedUpdateManyWithoutPhaseInput = {
864
+ export type ContractInstallmentUncheckedUpdateManyWithoutPaymentPhaseInput = {
865
865
  id?: Prisma.StringFieldUpdateOperationsInput | string;
866
866
  installmentNumber?: Prisma.IntFieldUpdateOperationsInput | number;
867
867
  amount?: Prisma.FloatFieldUpdateOperationsInput | number;
@@ -904,7 +904,7 @@ export type ContractInstallmentCountOutputTypeCountPaymentsArgs<ExtArgs extends
904
904
  };
905
905
  export type ContractInstallmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
906
906
  id?: boolean;
907
- phaseId?: boolean;
907
+ paymentPhaseId?: boolean;
908
908
  installmentNumber?: boolean;
909
909
  amount?: boolean;
910
910
  principalAmount?: boolean;
@@ -919,13 +919,13 @@ export type ContractInstallmentSelect<ExtArgs extends runtime.Types.Extensions.I
919
919
  gracePeriodEndDate?: boolean;
920
920
  createdAt?: boolean;
921
921
  updatedAt?: boolean;
922
- phase?: boolean | Prisma.ContractPhaseDefaultArgs<ExtArgs>;
922
+ paymentPhase?: boolean | Prisma.PaymentPhaseDefaultArgs<ExtArgs>;
923
923
  payments?: boolean | Prisma.ContractInstallment$paymentsArgs<ExtArgs>;
924
924
  _count?: boolean | Prisma.ContractInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
925
925
  }, ExtArgs["result"]["contractInstallment"]>;
926
926
  export type ContractInstallmentSelectScalar = {
927
927
  id?: boolean;
928
- phaseId?: boolean;
928
+ paymentPhaseId?: boolean;
929
929
  installmentNumber?: boolean;
930
930
  amount?: boolean;
931
931
  principalAmount?: boolean;
@@ -941,21 +941,21 @@ export type ContractInstallmentSelectScalar = {
941
941
  createdAt?: boolean;
942
942
  updatedAt?: boolean;
943
943
  };
944
- export type ContractInstallmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "installmentNumber" | "amount" | "principalAmount" | "interestAmount" | "dueDate" | "status" | "paidAmount" | "paidDate" | "lateFee" | "lateFeeWaived" | "gracePeriodDays" | "gracePeriodEndDate" | "createdAt" | "updatedAt", ExtArgs["result"]["contractInstallment"]>;
944
+ export type ContractInstallmentOmit<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"]["contractInstallment"]>;
945
945
  export type ContractInstallmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
946
- phase?: boolean | Prisma.ContractPhaseDefaultArgs<ExtArgs>;
946
+ paymentPhase?: boolean | Prisma.PaymentPhaseDefaultArgs<ExtArgs>;
947
947
  payments?: boolean | Prisma.ContractInstallment$paymentsArgs<ExtArgs>;
948
948
  _count?: boolean | Prisma.ContractInstallmentCountOutputTypeDefaultArgs<ExtArgs>;
949
949
  };
950
950
  export type $ContractInstallmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
951
951
  name: "ContractInstallment";
952
952
  objects: {
953
- phase: Prisma.$ContractPhasePayload<ExtArgs>;
953
+ paymentPhase: Prisma.$PaymentPhasePayload<ExtArgs>;
954
954
  payments: Prisma.$ContractPaymentPayload<ExtArgs>[];
955
955
  };
956
956
  scalars: runtime.Types.Extensions.GetPayloadResult<{
957
957
  id: string;
958
- phaseId: string;
958
+ paymentPhaseId: string;
959
959
  installmentNumber: number;
960
960
  amount: number;
961
961
  principalAmount: number;
@@ -1247,7 +1247,7 @@ export interface ContractInstallmentDelegate<ExtArgs extends runtime.Types.Exten
1247
1247
  */
1248
1248
  export interface Prisma__ContractInstallmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1249
1249
  readonly [Symbol.toStringTag]: "PrismaPromise";
1250
- phase<T extends Prisma.ContractPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseClient<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1250
+ 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
1251
  payments<T extends Prisma.ContractInstallment$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractInstallment$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1252
1252
  /**
1253
1253
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -1275,7 +1275,7 @@ export interface Prisma__ContractInstallmentClient<T, Null = never, ExtArgs exte
1275
1275
  */
1276
1276
  export interface ContractInstallmentFieldRefs {
1277
1277
  readonly id: Prisma.FieldRef<"ContractInstallment", 'String'>;
1278
- readonly phaseId: Prisma.FieldRef<"ContractInstallment", 'String'>;
1278
+ readonly paymentPhaseId: Prisma.FieldRef<"ContractInstallment", 'String'>;
1279
1279
  readonly installmentNumber: Prisma.FieldRef<"ContractInstallment", 'Int'>;
1280
1280
  readonly amount: Prisma.FieldRef<"ContractInstallment", 'Float'>;
1281
1281
  readonly principalAmount: Prisma.FieldRef<"ContractInstallment", 'Float'>;