@valentine-efagene/qshelter-common 2.0.78 → 2.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -477,6 +477,7 @@ export type ContractWhereInput = {
477
477
  outgoingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
478
478
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
479
479
  events?: Prisma.ContractEventListRelationFilter;
480
+ refunds?: Prisma.ContractRefundListRelationFilter;
480
481
  };
481
482
  export type ContractOrderByWithRelationInput = {
482
483
  id?: Prisma.SortOrder;
@@ -531,6 +532,7 @@ export type ContractOrderByWithRelationInput = {
531
532
  outgoingTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
532
533
  incomingTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
533
534
  events?: Prisma.ContractEventOrderByRelationAggregateInput;
535
+ refunds?: Prisma.ContractRefundOrderByRelationAggregateInput;
534
536
  _relevance?: Prisma.ContractOrderByRelevanceInput;
535
537
  };
536
538
  export type ContractWhereUniqueInput = Prisma.AtLeast<{
@@ -589,6 +591,7 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
589
591
  outgoingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
590
592
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
591
593
  events?: Prisma.ContractEventListRelationFilter;
594
+ refunds?: Prisma.ContractRefundListRelationFilter;
592
595
  }, "id" | "contractNumber" | "transferredFromId">;
593
596
  export type ContractOrderByWithAggregationInput = {
594
597
  id?: Prisma.SortOrder;
@@ -721,6 +724,7 @@ export type ContractCreateInput = {
721
724
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
722
725
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
723
726
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
727
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
724
728
  };
725
729
  export type ContractUncheckedCreateInput = {
726
730
  id?: string;
@@ -769,6 +773,7 @@ export type ContractUncheckedCreateInput = {
769
773
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
770
774
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
771
775
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
776
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
772
777
  };
773
778
  export type ContractUpdateInput = {
774
779
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -817,6 +822,7 @@ export type ContractUpdateInput = {
817
822
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
818
823
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
819
824
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
825
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
820
826
  };
821
827
  export type ContractUncheckedUpdateInput = {
822
828
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -865,6 +871,7 @@ export type ContractUncheckedUpdateInput = {
865
871
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
866
872
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
867
873
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
874
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
868
875
  };
869
876
  export type ContractCreateManyInput = {
870
877
  id?: string;
@@ -1372,6 +1379,18 @@ export type ContractUncheckedUpdateOneWithoutTransferredFromNestedInput = {
1372
1379
  connect?: Prisma.ContractWhereUniqueInput;
1373
1380
  update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutTransferredFromInput, Prisma.ContractUpdateWithoutTransferredFromInput>, Prisma.ContractUncheckedUpdateWithoutTransferredFromInput>;
1374
1381
  };
1382
+ export type ContractCreateNestedOneWithoutRefundsInput = {
1383
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutRefundsInput, Prisma.ContractUncheckedCreateWithoutRefundsInput>;
1384
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutRefundsInput;
1385
+ connect?: Prisma.ContractWhereUniqueInput;
1386
+ };
1387
+ export type ContractUpdateOneRequiredWithoutRefundsNestedInput = {
1388
+ create?: Prisma.XOR<Prisma.ContractCreateWithoutRefundsInput, Prisma.ContractUncheckedCreateWithoutRefundsInput>;
1389
+ connectOrCreate?: Prisma.ContractCreateOrConnectWithoutRefundsInput;
1390
+ upsert?: Prisma.ContractUpsertWithoutRefundsInput;
1391
+ connect?: Prisma.ContractWhereUniqueInput;
1392
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutRefundsInput, Prisma.ContractUpdateWithoutRefundsInput>, Prisma.ContractUncheckedUpdateWithoutRefundsInput>;
1393
+ };
1375
1394
  export type ContractCreateNestedOneWithoutPhasesInput = {
1376
1395
  create?: Prisma.XOR<Prisma.ContractCreateWithoutPhasesInput, Prisma.ContractUncheckedCreateWithoutPhasesInput>;
1377
1396
  connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPhasesInput;
@@ -1528,6 +1547,7 @@ export type ContractCreateWithoutBuyerInput = {
1528
1547
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1529
1548
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1530
1549
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1550
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
1531
1551
  };
1532
1552
  export type ContractUncheckedCreateWithoutBuyerInput = {
1533
1553
  id?: string;
@@ -1575,6 +1595,7 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
1575
1595
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1576
1596
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1577
1597
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1598
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
1578
1599
  };
1579
1600
  export type ContractCreateOrConnectWithoutBuyerInput = {
1580
1601
  where: Prisma.ContractWhereUniqueInput;
@@ -1630,6 +1651,7 @@ export type ContractCreateWithoutSellerInput = {
1630
1651
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1631
1652
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1632
1653
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1654
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
1633
1655
  };
1634
1656
  export type ContractUncheckedCreateWithoutSellerInput = {
1635
1657
  id?: string;
@@ -1677,6 +1699,7 @@ export type ContractUncheckedCreateWithoutSellerInput = {
1677
1699
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1678
1700
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1679
1701
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1702
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
1680
1703
  };
1681
1704
  export type ContractCreateOrConnectWithoutSellerInput = {
1682
1705
  where: Prisma.ContractWhereUniqueInput;
@@ -1799,6 +1822,7 @@ export type ContractCreateWithoutTenantInput = {
1799
1822
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1800
1823
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1801
1824
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1825
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
1802
1826
  };
1803
1827
  export type ContractUncheckedCreateWithoutTenantInput = {
1804
1828
  id?: string;
@@ -1846,6 +1870,7 @@ export type ContractUncheckedCreateWithoutTenantInput = {
1846
1870
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1847
1871
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1848
1872
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1873
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
1849
1874
  };
1850
1875
  export type ContractCreateOrConnectWithoutTenantInput = {
1851
1876
  where: Prisma.ContractWhereUniqueInput;
@@ -1914,6 +1939,7 @@ export type ContractCreateWithoutPropertyUnitInput = {
1914
1939
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
1915
1940
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
1916
1941
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
1942
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
1917
1943
  };
1918
1944
  export type ContractUncheckedCreateWithoutPropertyUnitInput = {
1919
1945
  id?: string;
@@ -1961,6 +1987,7 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
1961
1987
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
1962
1988
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
1963
1989
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
1990
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
1964
1991
  };
1965
1992
  export type ContractCreateOrConnectWithoutPropertyUnitInput = {
1966
1993
  where: Prisma.ContractWhereUniqueInput;
@@ -2029,6 +2056,7 @@ export type ContractCreateWithoutPaymentMethodInput = {
2029
2056
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2030
2057
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2031
2058
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2059
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2032
2060
  };
2033
2061
  export type ContractUncheckedCreateWithoutPaymentMethodInput = {
2034
2062
  id?: string;
@@ -2076,6 +2104,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
2076
2104
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2077
2105
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2078
2106
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2107
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2079
2108
  };
2080
2109
  export type ContractCreateOrConnectWithoutPaymentMethodInput = {
2081
2110
  where: Prisma.ContractWhereUniqueInput;
@@ -2144,6 +2173,7 @@ export type ContractCreateWithoutTransferredToInput = {
2144
2173
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2145
2174
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2146
2175
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2176
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2147
2177
  };
2148
2178
  export type ContractUncheckedCreateWithoutTransferredToInput = {
2149
2179
  id?: string;
@@ -2191,6 +2221,7 @@ export type ContractUncheckedCreateWithoutTransferredToInput = {
2191
2221
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2192
2222
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2193
2223
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2224
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2194
2225
  };
2195
2226
  export type ContractCreateOrConnectWithoutTransferredToInput = {
2196
2227
  where: Prisma.ContractWhereUniqueInput;
@@ -2242,6 +2273,7 @@ export type ContractCreateWithoutTransferredFromInput = {
2242
2273
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2243
2274
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2244
2275
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2276
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2245
2277
  };
2246
2278
  export type ContractUncheckedCreateWithoutTransferredFromInput = {
2247
2279
  id?: string;
@@ -2289,6 +2321,7 @@ export type ContractUncheckedCreateWithoutTransferredFromInput = {
2289
2321
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2290
2322
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2291
2323
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2324
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2292
2325
  };
2293
2326
  export type ContractCreateOrConnectWithoutTransferredFromInput = {
2294
2327
  where: Prisma.ContractWhereUniqueInput;
@@ -2349,6 +2382,7 @@ export type ContractUpdateWithoutTransferredToInput = {
2349
2382
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2350
2383
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2351
2384
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2385
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
2352
2386
  };
2353
2387
  export type ContractUncheckedUpdateWithoutTransferredToInput = {
2354
2388
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2396,6 +2430,7 @@ export type ContractUncheckedUpdateWithoutTransferredToInput = {
2396
2430
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2397
2431
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2398
2432
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2433
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
2399
2434
  };
2400
2435
  export type ContractUpsertWithoutTransferredFromInput = {
2401
2436
  update: Prisma.XOR<Prisma.ContractUpdateWithoutTransferredFromInput, Prisma.ContractUncheckedUpdateWithoutTransferredFromInput>;
@@ -2452,6 +2487,7 @@ export type ContractUpdateWithoutTransferredFromInput = {
2452
2487
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2453
2488
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2454
2489
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2490
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
2455
2491
  };
2456
2492
  export type ContractUncheckedUpdateWithoutTransferredFromInput = {
2457
2493
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2499,6 +2535,212 @@ export type ContractUncheckedUpdateWithoutTransferredFromInput = {
2499
2535
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2500
2536
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2501
2537
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2538
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
2539
+ };
2540
+ export type ContractCreateWithoutRefundsInput = {
2541
+ id?: string;
2542
+ contractNumber: string;
2543
+ title: string;
2544
+ description?: string | null;
2545
+ contractType: string;
2546
+ totalAmount: number;
2547
+ downPayment?: number;
2548
+ downPaymentPaid?: number;
2549
+ principal?: number | null;
2550
+ interestRate?: number | null;
2551
+ termMonths?: number | null;
2552
+ periodicPayment?: number | null;
2553
+ totalPaidToDate?: number;
2554
+ totalInterestPaid?: number;
2555
+ monthlyIncome?: number | null;
2556
+ monthlyExpenses?: number | null;
2557
+ preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2558
+ underwritingScore?: number | null;
2559
+ debtToIncomeRatio?: number | null;
2560
+ status?: $Enums.ContractStatus;
2561
+ state?: $Enums.ContractStatus;
2562
+ currentPhaseId?: string | null;
2563
+ nextPaymentDueDate?: Date | string | null;
2564
+ lastReminderSentAt?: Date | string | null;
2565
+ startDate?: Date | string | null;
2566
+ endDate?: Date | string | null;
2567
+ signedAt?: Date | string | null;
2568
+ terminatedAt?: Date | string | null;
2569
+ createdAt?: Date | string;
2570
+ updatedAt?: Date | string;
2571
+ tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
2572
+ propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
2573
+ buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
2574
+ seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
2575
+ paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
2576
+ phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
2577
+ documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
2578
+ payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
2579
+ terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
2580
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
2581
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
2582
+ transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
2583
+ transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2584
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2585
+ incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2586
+ events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2587
+ };
2588
+ export type ContractUncheckedCreateWithoutRefundsInput = {
2589
+ id?: string;
2590
+ tenantId: string;
2591
+ propertyUnitId: string;
2592
+ buyerId: string;
2593
+ sellerId?: string | null;
2594
+ paymentMethodId?: string | null;
2595
+ contractNumber: string;
2596
+ title: string;
2597
+ description?: string | null;
2598
+ contractType: string;
2599
+ totalAmount: number;
2600
+ downPayment?: number;
2601
+ downPaymentPaid?: number;
2602
+ principal?: number | null;
2603
+ interestRate?: number | null;
2604
+ termMonths?: number | null;
2605
+ periodicPayment?: number | null;
2606
+ totalPaidToDate?: number;
2607
+ totalInterestPaid?: number;
2608
+ monthlyIncome?: number | null;
2609
+ monthlyExpenses?: number | null;
2610
+ preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2611
+ underwritingScore?: number | null;
2612
+ debtToIncomeRatio?: number | null;
2613
+ status?: $Enums.ContractStatus;
2614
+ state?: $Enums.ContractStatus;
2615
+ currentPhaseId?: string | null;
2616
+ nextPaymentDueDate?: Date | string | null;
2617
+ lastReminderSentAt?: Date | string | null;
2618
+ startDate?: Date | string | null;
2619
+ endDate?: Date | string | null;
2620
+ signedAt?: Date | string | null;
2621
+ terminatedAt?: Date | string | null;
2622
+ createdAt?: Date | string;
2623
+ updatedAt?: Date | string;
2624
+ transferredFromId?: string | null;
2625
+ phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
2626
+ documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
2627
+ payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
2628
+ terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
2629
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
2630
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
2631
+ transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2632
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2633
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2634
+ events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2635
+ };
2636
+ export type ContractCreateOrConnectWithoutRefundsInput = {
2637
+ where: Prisma.ContractWhereUniqueInput;
2638
+ create: Prisma.XOR<Prisma.ContractCreateWithoutRefundsInput, Prisma.ContractUncheckedCreateWithoutRefundsInput>;
2639
+ };
2640
+ export type ContractUpsertWithoutRefundsInput = {
2641
+ update: Prisma.XOR<Prisma.ContractUpdateWithoutRefundsInput, Prisma.ContractUncheckedUpdateWithoutRefundsInput>;
2642
+ create: Prisma.XOR<Prisma.ContractCreateWithoutRefundsInput, Prisma.ContractUncheckedCreateWithoutRefundsInput>;
2643
+ where?: Prisma.ContractWhereInput;
2644
+ };
2645
+ export type ContractUpdateToOneWithWhereWithoutRefundsInput = {
2646
+ where?: Prisma.ContractWhereInput;
2647
+ data: Prisma.XOR<Prisma.ContractUpdateWithoutRefundsInput, Prisma.ContractUncheckedUpdateWithoutRefundsInput>;
2648
+ };
2649
+ export type ContractUpdateWithoutRefundsInput = {
2650
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2651
+ contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2652
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2653
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2654
+ contractType?: Prisma.StringFieldUpdateOperationsInput | string;
2655
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2656
+ downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
2657
+ downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2658
+ principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2659
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2660
+ termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2661
+ periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2662
+ totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
2663
+ totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2664
+ monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2665
+ monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2666
+ preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2667
+ underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2668
+ debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2669
+ status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2670
+ state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2671
+ currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2672
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2673
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2674
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2675
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2676
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2677
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2678
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2679
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2680
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
2681
+ propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
2682
+ buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
2683
+ seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
2684
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
2685
+ phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
2686
+ documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
2687
+ payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
2688
+ terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
2689
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
2690
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
2691
+ transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
2692
+ transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
2693
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2694
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2695
+ events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2696
+ };
2697
+ export type ContractUncheckedUpdateWithoutRefundsInput = {
2698
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2699
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2700
+ propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
2701
+ buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2702
+ sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2703
+ paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2704
+ contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2705
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2706
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2707
+ contractType?: Prisma.StringFieldUpdateOperationsInput | string;
2708
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2709
+ downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
2710
+ downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2711
+ principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2712
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2713
+ termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2714
+ periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2715
+ totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
2716
+ totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
2717
+ monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2718
+ monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2719
+ preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2720
+ underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2721
+ debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2722
+ status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2723
+ state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
2724
+ currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2725
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2726
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2727
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2728
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2729
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2730
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2731
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2732
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2733
+ transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2734
+ phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
2735
+ documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
2736
+ payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
2737
+ terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
2738
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
2739
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
2740
+ transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
2741
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2742
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2743
+ events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2502
2744
  };
2503
2745
  export type ContractCreateWithoutPhasesInput = {
2504
2746
  id?: string;
@@ -2546,6 +2788,7 @@ export type ContractCreateWithoutPhasesInput = {
2546
2788
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2547
2789
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2548
2790
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
2791
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2549
2792
  };
2550
2793
  export type ContractUncheckedCreateWithoutPhasesInput = {
2551
2794
  id?: string;
@@ -2593,6 +2836,7 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
2593
2836
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2594
2837
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2595
2838
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
2839
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2596
2840
  };
2597
2841
  export type ContractCreateOrConnectWithoutPhasesInput = {
2598
2842
  where: Prisma.ContractWhereUniqueInput;
@@ -2653,6 +2897,7 @@ export type ContractUpdateWithoutPhasesInput = {
2653
2897
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2654
2898
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
2655
2899
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
2900
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
2656
2901
  };
2657
2902
  export type ContractUncheckedUpdateWithoutPhasesInput = {
2658
2903
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2700,6 +2945,7 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
2700
2945
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2701
2946
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
2702
2947
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
2948
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
2703
2949
  };
2704
2950
  export type ContractCreateWithoutEventsInput = {
2705
2951
  id?: string;
@@ -2747,6 +2993,7 @@ export type ContractCreateWithoutEventsInput = {
2747
2993
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
2748
2994
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2749
2995
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2996
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2750
2997
  };
2751
2998
  export type ContractUncheckedCreateWithoutEventsInput = {
2752
2999
  id?: string;
@@ -2794,6 +3041,7 @@ export type ContractUncheckedCreateWithoutEventsInput = {
2794
3041
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
2795
3042
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2796
3043
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3044
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2797
3045
  };
2798
3046
  export type ContractCreateOrConnectWithoutEventsInput = {
2799
3047
  where: Prisma.ContractWhereUniqueInput;
@@ -2854,6 +3102,7 @@ export type ContractUpdateWithoutEventsInput = {
2854
3102
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
2855
3103
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
2856
3104
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3105
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
2857
3106
  };
2858
3107
  export type ContractUncheckedUpdateWithoutEventsInput = {
2859
3108
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2901,6 +3150,7 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
2901
3150
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
2902
3151
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
2903
3152
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3153
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
2904
3154
  };
2905
3155
  export type ContractCreateWithoutPaymentsInput = {
2906
3156
  id?: string;
@@ -2948,6 +3198,7 @@ export type ContractCreateWithoutPaymentsInput = {
2948
3198
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
2949
3199
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
2950
3200
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3201
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
2951
3202
  };
2952
3203
  export type ContractUncheckedCreateWithoutPaymentsInput = {
2953
3204
  id?: string;
@@ -2995,6 +3246,7 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
2995
3246
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
2996
3247
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
2997
3248
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3249
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
2998
3250
  };
2999
3251
  export type ContractCreateOrConnectWithoutPaymentsInput = {
3000
3252
  where: Prisma.ContractWhereUniqueInput;
@@ -3055,6 +3307,7 @@ export type ContractUpdateWithoutPaymentsInput = {
3055
3307
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3056
3308
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3057
3309
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3310
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
3058
3311
  };
3059
3312
  export type ContractUncheckedUpdateWithoutPaymentsInput = {
3060
3313
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3102,6 +3355,7 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
3102
3355
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3103
3356
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3104
3357
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3358
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
3105
3359
  };
3106
3360
  export type ContractCreateWithoutDocumentsInput = {
3107
3361
  id?: string;
@@ -3149,6 +3403,7 @@ export type ContractCreateWithoutDocumentsInput = {
3149
3403
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3150
3404
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3151
3405
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3406
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
3152
3407
  };
3153
3408
  export type ContractUncheckedCreateWithoutDocumentsInput = {
3154
3409
  id?: string;
@@ -3196,6 +3451,7 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
3196
3451
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3197
3452
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3198
3453
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3454
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
3199
3455
  };
3200
3456
  export type ContractCreateOrConnectWithoutDocumentsInput = {
3201
3457
  where: Prisma.ContractWhereUniqueInput;
@@ -3256,6 +3512,7 @@ export type ContractUpdateWithoutDocumentsInput = {
3256
3512
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3257
3513
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3258
3514
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3515
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
3259
3516
  };
3260
3517
  export type ContractUncheckedUpdateWithoutDocumentsInput = {
3261
3518
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3303,6 +3560,7 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
3303
3560
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3304
3561
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3305
3562
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3563
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
3306
3564
  };
3307
3565
  export type ContractCreateWithoutOfferLettersInput = {
3308
3566
  id?: string;
@@ -3350,6 +3608,7 @@ export type ContractCreateWithoutOfferLettersInput = {
3350
3608
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3351
3609
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3352
3610
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3611
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
3353
3612
  };
3354
3613
  export type ContractUncheckedCreateWithoutOfferLettersInput = {
3355
3614
  id?: string;
@@ -3397,6 +3656,7 @@ export type ContractUncheckedCreateWithoutOfferLettersInput = {
3397
3656
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3398
3657
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3399
3658
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3659
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
3400
3660
  };
3401
3661
  export type ContractCreateOrConnectWithoutOfferLettersInput = {
3402
3662
  where: Prisma.ContractWhereUniqueInput;
@@ -3457,6 +3717,7 @@ export type ContractUpdateWithoutOfferLettersInput = {
3457
3717
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3458
3718
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3459
3719
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3720
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
3460
3721
  };
3461
3722
  export type ContractUncheckedUpdateWithoutOfferLettersInput = {
3462
3723
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3504,6 +3765,7 @@ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
3504
3765
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3505
3766
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3506
3767
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3768
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
3507
3769
  };
3508
3770
  export type ContractCreateWithoutTerminationsInput = {
3509
3771
  id?: string;
@@ -3551,6 +3813,7 @@ export type ContractCreateWithoutTerminationsInput = {
3551
3813
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3552
3814
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3553
3815
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
3816
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
3554
3817
  };
3555
3818
  export type ContractUncheckedCreateWithoutTerminationsInput = {
3556
3819
  id?: string;
@@ -3598,6 +3861,7 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
3598
3861
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3599
3862
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3600
3863
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
3864
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
3601
3865
  };
3602
3866
  export type ContractCreateOrConnectWithoutTerminationsInput = {
3603
3867
  where: Prisma.ContractWhereUniqueInput;
@@ -3658,6 +3922,7 @@ export type ContractUpdateWithoutTerminationsInput = {
3658
3922
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3659
3923
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3660
3924
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
3925
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
3661
3926
  };
3662
3927
  export type ContractUncheckedUpdateWithoutTerminationsInput = {
3663
3928
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3705,6 +3970,7 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
3705
3970
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3706
3971
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3707
3972
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
3973
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
3708
3974
  };
3709
3975
  export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
3710
3976
  id?: string;
@@ -3752,6 +4018,7 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
3752
4018
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
3753
4019
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3754
4020
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
4021
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
3755
4022
  };
3756
4023
  export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3757
4024
  id?: string;
@@ -3799,6 +4066,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3799
4066
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
3800
4067
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
3801
4068
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4069
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
3802
4070
  };
3803
4071
  export type ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
3804
4072
  where: Prisma.ContractWhereUniqueInput;
@@ -3859,6 +4127,7 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
3859
4127
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
3860
4128
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
3861
4129
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4130
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
3862
4131
  };
3863
4132
  export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3864
4133
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3906,6 +4175,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3906
4175
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
3907
4176
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
3908
4177
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4178
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
3909
4179
  };
3910
4180
  export type ContractCreateWithoutOutgoingTransferRequestsInput = {
3911
4181
  id?: string;
@@ -3953,6 +4223,7 @@ export type ContractCreateWithoutOutgoingTransferRequestsInput = {
3953
4223
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
3954
4224
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
3955
4225
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
4226
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
3956
4227
  };
3957
4228
  export type ContractUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3958
4229
  id?: string;
@@ -4000,6 +4271,7 @@ export type ContractUncheckedCreateWithoutOutgoingTransferRequestsInput = {
4000
4271
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
4001
4272
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
4002
4273
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4274
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
4003
4275
  };
4004
4276
  export type ContractCreateOrConnectWithoutOutgoingTransferRequestsInput = {
4005
4277
  where: Prisma.ContractWhereUniqueInput;
@@ -4051,6 +4323,7 @@ export type ContractCreateWithoutIncomingTransferRequestsInput = {
4051
4323
  transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
4052
4324
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
4053
4325
  events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
4326
+ refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
4054
4327
  };
4055
4328
  export type ContractUncheckedCreateWithoutIncomingTransferRequestsInput = {
4056
4329
  id?: string;
@@ -4098,6 +4371,7 @@ export type ContractUncheckedCreateWithoutIncomingTransferRequestsInput = {
4098
4371
  transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
4099
4372
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
4100
4373
  events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
4374
+ refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
4101
4375
  };
4102
4376
  export type ContractCreateOrConnectWithoutIncomingTransferRequestsInput = {
4103
4377
  where: Prisma.ContractWhereUniqueInput;
@@ -4158,6 +4432,7 @@ export type ContractUpdateWithoutOutgoingTransferRequestsInput = {
4158
4432
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4159
4433
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4160
4434
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4435
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4161
4436
  };
4162
4437
  export type ContractUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
4163
4438
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4205,6 +4480,7 @@ export type ContractUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
4205
4480
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4206
4481
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4207
4482
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4483
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4208
4484
  };
4209
4485
  export type ContractUpsertWithoutIncomingTransferRequestsInput = {
4210
4486
  update: Prisma.XOR<Prisma.ContractUpdateWithoutIncomingTransferRequestsInput, Prisma.ContractUncheckedUpdateWithoutIncomingTransferRequestsInput>;
@@ -4261,6 +4537,7 @@ export type ContractUpdateWithoutIncomingTransferRequestsInput = {
4261
4537
  transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
4262
4538
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4263
4539
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4540
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4264
4541
  };
4265
4542
  export type ContractUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4266
4543
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4308,6 +4585,7 @@ export type ContractUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4308
4585
  transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
4309
4586
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4310
4587
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4588
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4311
4589
  };
4312
4590
  export type ContractCreateManyBuyerInput = {
4313
4591
  id?: string;
@@ -4429,6 +4707,7 @@ export type ContractUpdateWithoutBuyerInput = {
4429
4707
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4430
4708
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4431
4709
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4710
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4432
4711
  };
4433
4712
  export type ContractUncheckedUpdateWithoutBuyerInput = {
4434
4713
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4476,6 +4755,7 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
4476
4755
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4477
4756
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4478
4757
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4758
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4479
4759
  };
4480
4760
  export type ContractUncheckedUpdateManyWithoutBuyerInput = {
4481
4761
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4560,6 +4840,7 @@ export type ContractUpdateWithoutSellerInput = {
4560
4840
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4561
4841
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4562
4842
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
4843
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4563
4844
  };
4564
4845
  export type ContractUncheckedUpdateWithoutSellerInput = {
4565
4846
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4607,6 +4888,7 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
4607
4888
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4608
4889
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4609
4890
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
4891
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4610
4892
  };
4611
4893
  export type ContractUncheckedUpdateManyWithoutSellerInput = {
4612
4894
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4728,6 +5010,7 @@ export type ContractUpdateWithoutTenantInput = {
4728
5010
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4729
5011
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4730
5012
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
5013
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4731
5014
  };
4732
5015
  export type ContractUncheckedUpdateWithoutTenantInput = {
4733
5016
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4775,6 +5058,7 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
4775
5058
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4776
5059
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4777
5060
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
5061
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4778
5062
  };
4779
5063
  export type ContractUncheckedUpdateManyWithoutTenantInput = {
4780
5064
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4896,6 +5180,7 @@ export type ContractUpdateWithoutPropertyUnitInput = {
4896
5180
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
4897
5181
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
4898
5182
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
5183
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
4899
5184
  };
4900
5185
  export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
4901
5186
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4943,6 +5228,7 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
4943
5228
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
4944
5229
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
4945
5230
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
5231
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
4946
5232
  };
4947
5233
  export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
4948
5234
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5064,6 +5350,7 @@ export type ContractUpdateWithoutPaymentMethodInput = {
5064
5350
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
5065
5351
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
5066
5352
  events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
5353
+ refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
5067
5354
  };
5068
5355
  export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
5069
5356
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5111,6 +5398,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
5111
5398
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
5112
5399
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
5113
5400
  events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
5401
+ refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
5114
5402
  };
5115
5403
  export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
5116
5404
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5162,6 +5450,7 @@ export type ContractCountOutputType = {
5162
5450
  outgoingTransferRequests: number;
5163
5451
  incomingTransferRequests: number;
5164
5452
  events: number;
5453
+ refunds: number;
5165
5454
  };
5166
5455
  export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5167
5456
  phases?: boolean | ContractCountOutputTypeCountPhasesArgs;
@@ -5173,6 +5462,7 @@ export type ContractCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensio
5173
5462
  outgoingTransferRequests?: boolean | ContractCountOutputTypeCountOutgoingTransferRequestsArgs;
5174
5463
  incomingTransferRequests?: boolean | ContractCountOutputTypeCountIncomingTransferRequestsArgs;
5175
5464
  events?: boolean | ContractCountOutputTypeCountEventsArgs;
5465
+ refunds?: boolean | ContractCountOutputTypeCountRefundsArgs;
5176
5466
  };
5177
5467
  /**
5178
5468
  * ContractCountOutputType without action
@@ -5237,6 +5527,12 @@ export type ContractCountOutputTypeCountIncomingTransferRequestsArgs<ExtArgs ext
5237
5527
  export type ContractCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5238
5528
  where?: Prisma.ContractEventWhereInput;
5239
5529
  };
5530
+ /**
5531
+ * ContractCountOutputType without action
5532
+ */
5533
+ export type ContractCountOutputTypeCountRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5534
+ where?: Prisma.ContractRefundWhereInput;
5535
+ };
5240
5536
  export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
5241
5537
  id?: boolean;
5242
5538
  tenantId?: boolean;
@@ -5290,6 +5586,7 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
5290
5586
  outgoingTransferRequests?: boolean | Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>;
5291
5587
  incomingTransferRequests?: boolean | Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>;
5292
5588
  events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5589
+ refunds?: boolean | Prisma.Contract$refundsArgs<ExtArgs>;
5293
5590
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
5294
5591
  }, ExtArgs["result"]["contract"]>;
5295
5592
  export type ContractSelectScalar = {
@@ -5348,6 +5645,7 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
5348
5645
  outgoingTransferRequests?: boolean | Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>;
5349
5646
  incomingTransferRequests?: boolean | Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>;
5350
5647
  events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
5648
+ refunds?: boolean | Prisma.Contract$refundsArgs<ExtArgs>;
5351
5649
  _count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
5352
5650
  };
5353
5651
  export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -5369,6 +5667,7 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
5369
5667
  outgoingTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
5370
5668
  incomingTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
5371
5669
  events: Prisma.$ContractEventPayload<ExtArgs>[];
5670
+ refunds: Prisma.$ContractRefundPayload<ExtArgs>[];
5372
5671
  };
5373
5672
  scalars: runtime.Types.Extensions.GetPayloadResult<{
5374
5673
  id: string;
@@ -5700,6 +5999,7 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
5700
5999
  outgoingTransferRequests<T extends Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$outgoingTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5701
6000
  incomingTransferRequests<T extends Prisma.Contract$incomingTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$incomingTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5702
6001
  events<T extends Prisma.Contract$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
6002
+ refunds<T extends Prisma.Contract$refundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$refundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5703
6003
  /**
5704
6004
  * Attaches callbacks for the resolution and/or rejection of the Promise.
5705
6005
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -6367,6 +6667,29 @@ export type Contract$eventsArgs<ExtArgs extends runtime.Types.Extensions.Interna
6367
6667
  skip?: number;
6368
6668
  distinct?: Prisma.ContractEventScalarFieldEnum | Prisma.ContractEventScalarFieldEnum[];
6369
6669
  };
6670
+ /**
6671
+ * Contract.refunds
6672
+ */
6673
+ export type Contract$refundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6674
+ /**
6675
+ * Select specific fields to fetch from the ContractRefund
6676
+ */
6677
+ select?: Prisma.ContractRefundSelect<ExtArgs> | null;
6678
+ /**
6679
+ * Omit specific fields from the ContractRefund
6680
+ */
6681
+ omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
6682
+ /**
6683
+ * Choose, which related nodes to fetch as well
6684
+ */
6685
+ include?: Prisma.ContractRefundInclude<ExtArgs> | null;
6686
+ where?: Prisma.ContractRefundWhereInput;
6687
+ orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
6688
+ cursor?: Prisma.ContractRefundWhereUniqueInput;
6689
+ take?: number;
6690
+ skip?: number;
6691
+ distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
6692
+ };
6370
6693
  /**
6371
6694
  * Contract without action
6372
6695
  */