@valentine-efagene/qshelter-common 2.0.98 → 2.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/generated/client/browser.d.ts +5 -0
  2. package/dist/generated/client/client.d.ts +5 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +90 -0
  4. package/dist/generated/client/enums.d.ts +26 -0
  5. package/dist/generated/client/enums.js +23 -0
  6. package/dist/generated/client/internal/class.d.ts +11 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +176 -1
  9. package/dist/generated/client/internal/prismaNamespace.js +95 -1
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +96 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +95 -1
  12. package/dist/generated/client/models/Amenity.d.ts +183 -3
  13. package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
  14. package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
  15. package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
  16. package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
  17. package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
  18. package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
  19. package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
  20. package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
  21. package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
  22. package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
  23. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
  24. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
  25. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
  26. package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
  27. package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
  28. package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
  29. package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
  30. package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
  31. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
  32. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
  33. package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
  34. package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
  35. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
  36. package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
  37. package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
  38. package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
  39. package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
  40. package/dist/generated/client/models/Tenant.d.ts +11653 -1153
  41. package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
  42. package/dist/generated/client/models/WorkflowBlocker.js +1 -0
  43. package/dist/generated/client/models/index.d.ts +1 -0
  44. package/dist/generated/client/models/index.js +1 -0
  45. package/dist/generated/client/models.d.ts +1 -0
  46. package/dist/src/index.d.ts +1 -0
  47. package/dist/src/index.js +1 -0
  48. package/dist/src/middleware/auth-context.d.ts +63 -6
  49. package/dist/src/middleware/auth-context.js +132 -13
  50. package/dist/src/prisma/tenant.js +26 -32
  51. package/dist/src/types/action-status.d.ts +137 -0
  52. package/dist/src/types/action-status.js +402 -0
  53. package/package.json +1 -1
  54. package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
  55. package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
  56. package/prisma/schema.prisma +273 -60
@@ -27,6 +27,7 @@ export type PropertyPaymentMethodPhaseSumAggregateOutputType = {
27
27
  };
28
28
  export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
29
29
  id: string | null;
30
+ tenantId: string | null;
30
31
  paymentMethodId: string | null;
31
32
  paymentPlanId: string | null;
32
33
  name: string | null;
@@ -45,6 +46,7 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
45
46
  };
46
47
  export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
47
48
  id: string | null;
49
+ tenantId: string | null;
48
50
  paymentMethodId: string | null;
49
51
  paymentPlanId: string | null;
50
52
  name: string | null;
@@ -63,6 +65,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
63
65
  };
64
66
  export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
65
67
  id: number;
68
+ tenantId: number;
66
69
  paymentMethodId: number;
67
70
  paymentPlanId: number;
68
71
  name: number;
@@ -96,6 +99,7 @@ export type PropertyPaymentMethodPhaseSumAggregateInputType = {
96
99
  };
97
100
  export type PropertyPaymentMethodPhaseMinAggregateInputType = {
98
101
  id?: true;
102
+ tenantId?: true;
99
103
  paymentMethodId?: true;
100
104
  paymentPlanId?: true;
101
105
  name?: true;
@@ -114,6 +118,7 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
114
118
  };
115
119
  export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
116
120
  id?: true;
121
+ tenantId?: true;
117
122
  paymentMethodId?: true;
118
123
  paymentPlanId?: true;
119
124
  name?: true;
@@ -132,6 +137,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
132
137
  };
133
138
  export type PropertyPaymentMethodPhaseCountAggregateInputType = {
134
139
  id?: true;
140
+ tenantId?: true;
135
141
  paymentMethodId?: true;
136
142
  paymentPlanId?: true;
137
143
  name?: true;
@@ -229,6 +235,7 @@ export type PropertyPaymentMethodPhaseGroupByArgs<ExtArgs extends runtime.Types.
229
235
  };
230
236
  export type PropertyPaymentMethodPhaseGroupByOutputType = {
231
237
  id: string;
238
+ tenantId: string;
232
239
  paymentMethodId: string;
233
240
  paymentPlanId: string | null;
234
241
  name: string;
@@ -260,6 +267,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
260
267
  OR?: Prisma.PropertyPaymentMethodPhaseWhereInput[];
261
268
  NOT?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
262
269
  id?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
270
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
263
271
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
264
272
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
265
273
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
@@ -277,6 +285,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
277
285
  requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
278
286
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
279
287
  updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
288
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
280
289
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
281
290
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
282
291
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
@@ -286,6 +295,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
286
295
  };
287
296
  export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
288
297
  id?: Prisma.SortOrder;
298
+ tenantId?: Prisma.SortOrder;
289
299
  paymentMethodId?: Prisma.SortOrder;
290
300
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
291
301
  name?: Prisma.SortOrder;
@@ -303,6 +313,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
303
313
  requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
304
314
  createdAt?: Prisma.SortOrder;
305
315
  updatedAt?: Prisma.SortOrder;
316
+ tenant?: Prisma.TenantOrderByWithRelationInput;
306
317
  paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
307
318
  paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
308
319
  steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
@@ -316,6 +327,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
316
327
  AND?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
317
328
  OR?: Prisma.PropertyPaymentMethodPhaseWhereInput[];
318
329
  NOT?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
330
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
319
331
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
320
332
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
321
333
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
@@ -333,6 +345,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
333
345
  requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
334
346
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
335
347
  updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
348
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
336
349
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
337
350
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
338
351
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
@@ -342,6 +355,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
342
355
  }, "id">;
343
356
  export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
344
357
  id?: Prisma.SortOrder;
358
+ tenantId?: Prisma.SortOrder;
345
359
  paymentMethodId?: Prisma.SortOrder;
346
360
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
347
361
  name?: Prisma.SortOrder;
@@ -370,6 +384,7 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
370
384
  OR?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput[];
371
385
  NOT?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput[];
372
386
  id?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
387
+ tenantId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
373
388
  paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
374
389
  paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
375
390
  name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
@@ -405,6 +420,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
405
420
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
406
421
  createdAt?: Date | string;
407
422
  updatedAt?: Date | string;
423
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
408
424
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
409
425
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
410
426
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
@@ -414,6 +430,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
414
430
  };
415
431
  export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
416
432
  id?: string;
433
+ tenantId: string;
417
434
  paymentMethodId: string;
418
435
  paymentPlanId?: string | null;
419
436
  name: string;
@@ -453,6 +470,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
453
470
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
454
471
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
455
472
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
473
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
456
474
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
457
475
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
458
476
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
@@ -462,6 +480,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
462
480
  };
463
481
  export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
464
482
  id?: Prisma.StringFieldUpdateOperationsInput | string;
483
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
465
484
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
466
485
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
467
486
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -486,6 +505,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
486
505
  };
487
506
  export type PropertyPaymentMethodPhaseCreateManyInput = {
488
507
  id?: string;
508
+ tenantId: string;
489
509
  paymentMethodId: string;
490
510
  paymentPlanId?: string | null;
491
511
  name: string;
@@ -524,6 +544,7 @@ export type PropertyPaymentMethodPhaseUpdateManyMutationInput = {
524
544
  };
525
545
  export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
526
546
  id?: Prisma.StringFieldUpdateOperationsInput | string;
547
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
527
548
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
528
549
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
529
550
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -557,6 +578,7 @@ export type PropertyPaymentMethodPhaseOrderByRelevanceInput = {
557
578
  };
558
579
  export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
559
580
  id?: Prisma.SortOrder;
581
+ tenantId?: Prisma.SortOrder;
560
582
  paymentMethodId?: Prisma.SortOrder;
561
583
  paymentPlanId?: Prisma.SortOrder;
562
584
  name?: Prisma.SortOrder;
@@ -583,6 +605,7 @@ export type PropertyPaymentMethodPhaseAvgOrderByAggregateInput = {
583
605
  };
584
606
  export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
585
607
  id?: Prisma.SortOrder;
608
+ tenantId?: Prisma.SortOrder;
586
609
  paymentMethodId?: Prisma.SortOrder;
587
610
  paymentPlanId?: Prisma.SortOrder;
588
611
  name?: Prisma.SortOrder;
@@ -601,6 +624,7 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
601
624
  };
602
625
  export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
603
626
  id?: Prisma.SortOrder;
627
+ tenantId?: Prisma.SortOrder;
604
628
  paymentMethodId?: Prisma.SortOrder;
605
629
  paymentPlanId?: Prisma.SortOrder;
606
630
  name?: Prisma.SortOrder;
@@ -627,6 +651,44 @@ export type PropertyPaymentMethodPhaseScalarRelationFilter = {
627
651
  is?: Prisma.PropertyPaymentMethodPhaseWhereInput;
628
652
  isNot?: Prisma.PropertyPaymentMethodPhaseWhereInput;
629
653
  };
654
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutTenantInput = {
655
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput[];
656
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput[];
657
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyTenantInputEnvelope;
658
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
659
+ };
660
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutTenantInput = {
661
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput[];
662
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput[];
663
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyTenantInputEnvelope;
664
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
665
+ };
666
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutTenantNestedInput = {
667
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput[];
668
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput[];
669
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutTenantInput[];
670
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyTenantInputEnvelope;
671
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
672
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
673
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
674
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
675
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutTenantInput[];
676
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput[];
677
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
678
+ };
679
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantNestedInput = {
680
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput[];
681
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput[];
682
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutTenantInput[];
683
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyTenantInputEnvelope;
684
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
685
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
686
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
687
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
688
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutTenantInput[];
689
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput[];
690
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
691
+ };
630
692
  export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
631
693
  create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
632
694
  connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
@@ -763,7 +825,7 @@ export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutQuestionnaireField
763
825
  connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
764
826
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutQuestionnaireFieldsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput>;
765
827
  };
766
- export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
828
+ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
767
829
  id?: string;
768
830
  name: string;
769
831
  description?: string | null;
@@ -781,14 +843,16 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
781
843
  createdAt?: Date | string;
782
844
  updatedAt?: Date | string;
783
845
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
846
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
784
847
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
785
848
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
786
849
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
787
850
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
788
851
  };
789
- export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
852
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
790
853
  id?: string;
791
854
  paymentMethodId: string;
855
+ paymentPlanId?: string | null;
792
856
  name: string;
793
857
  description?: string | null;
794
858
  phaseCategory: $Enums.PhaseCategory;
@@ -809,32 +873,33 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
809
873
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
810
874
  eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
811
875
  };
812
- export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
876
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutTenantInput = {
813
877
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
814
- create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
878
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput>;
815
879
  };
816
- export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope = {
817
- data: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput[];
880
+ export type PropertyPaymentMethodPhaseCreateManyTenantInputEnvelope = {
881
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyTenantInput | Prisma.PropertyPaymentMethodPhaseCreateManyTenantInput[];
818
882
  skipDuplicates?: boolean;
819
883
  };
820
- export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput = {
884
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutTenantInput = {
821
885
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
822
- update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
823
- create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
886
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput>;
887
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput>;
824
888
  };
825
- export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput = {
889
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutTenantInput = {
826
890
  where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
827
- data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
891
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput>;
828
892
  };
829
- export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput = {
893
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput = {
830
894
  where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
831
- data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput>;
895
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput>;
832
896
  };
833
897
  export type PropertyPaymentMethodPhaseScalarWhereInput = {
834
898
  AND?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
835
899
  OR?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
836
900
  NOT?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
837
901
  id?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
902
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
838
903
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
839
904
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
840
905
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
@@ -853,6 +918,75 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
853
918
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
854
919
  updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
855
920
  };
921
+ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
922
+ id?: string;
923
+ name: string;
924
+ description?: string | null;
925
+ phaseCategory: $Enums.PhaseCategory;
926
+ phaseType: $Enums.PhaseType;
927
+ order: number;
928
+ interestRate?: number | null;
929
+ percentOfPrice?: number | null;
930
+ collectFunds?: boolean | null;
931
+ requiresPreviousPhaseCompletion?: boolean;
932
+ minimumCompletionPercentage?: number | null;
933
+ completionCriterion?: $Enums.CompletionCriterion | null;
934
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
935
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
936
+ createdAt?: Date | string;
937
+ updatedAt?: Date | string;
938
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
939
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
940
+ steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
941
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
942
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
943
+ eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
944
+ };
945
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
946
+ id?: string;
947
+ tenantId: string;
948
+ paymentMethodId: string;
949
+ name: string;
950
+ description?: string | null;
951
+ phaseCategory: $Enums.PhaseCategory;
952
+ phaseType: $Enums.PhaseType;
953
+ order: number;
954
+ interestRate?: number | null;
955
+ percentOfPrice?: number | null;
956
+ collectFunds?: boolean | null;
957
+ requiresPreviousPhaseCompletion?: boolean;
958
+ minimumCompletionPercentage?: number | null;
959
+ completionCriterion?: $Enums.CompletionCriterion | null;
960
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
961
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
962
+ createdAt?: Date | string;
963
+ updatedAt?: Date | string;
964
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
965
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
966
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
967
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
968
+ };
969
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
970
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
971
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
972
+ };
973
+ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope = {
974
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput[];
975
+ skipDuplicates?: boolean;
976
+ };
977
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput = {
978
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
979
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
980
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
981
+ };
982
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput = {
983
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
984
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
985
+ };
986
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput = {
987
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
988
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput>;
989
+ };
856
990
  export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
857
991
  id?: string;
858
992
  name: string;
@@ -870,6 +1004,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
870
1004
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
871
1005
  createdAt?: Date | string;
872
1006
  updatedAt?: Date | string;
1007
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
873
1008
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
874
1009
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
875
1010
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
@@ -878,6 +1013,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
878
1013
  };
879
1014
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput = {
880
1015
  id?: string;
1016
+ tenantId: string;
881
1017
  paymentPlanId?: string | null;
882
1018
  name: string;
883
1019
  description?: string | null;
@@ -937,6 +1073,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
937
1073
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
938
1074
  createdAt?: Date | string;
939
1075
  updatedAt?: Date | string;
1076
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
940
1077
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
941
1078
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
942
1079
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
@@ -945,6 +1082,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
945
1082
  };
946
1083
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInput = {
947
1084
  id?: string;
1085
+ tenantId: string;
948
1086
  paymentMethodId: string;
949
1087
  paymentPlanId?: string | null;
950
1088
  name: string;
@@ -996,6 +1134,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
996
1134
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
997
1135
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
998
1136
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1137
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
999
1138
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1000
1139
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1001
1140
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
@@ -1004,6 +1143,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
1004
1143
  };
1005
1144
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInput = {
1006
1145
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1146
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1007
1147
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1008
1148
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1009
1149
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1042,6 +1182,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
1042
1182
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1043
1183
  createdAt?: Date | string;
1044
1184
  updatedAt?: Date | string;
1185
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1045
1186
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1046
1187
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1047
1188
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
@@ -1050,6 +1191,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
1050
1191
  };
1051
1192
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
1052
1193
  id?: string;
1194
+ tenantId: string;
1053
1195
  paymentMethodId: string;
1054
1196
  paymentPlanId?: string | null;
1055
1197
  name: string;
@@ -1101,6 +1243,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
1101
1243
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1102
1244
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1103
1245
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1246
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1104
1247
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1105
1248
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1106
1249
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
@@ -1109,6 +1252,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
1109
1252
  };
1110
1253
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
1111
1254
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1255
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1112
1256
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1113
1257
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1114
1258
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1147,6 +1291,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
1147
1291
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1148
1292
  createdAt?: Date | string;
1149
1293
  updatedAt?: Date | string;
1294
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1150
1295
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1151
1296
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1152
1297
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
@@ -1155,6 +1300,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
1155
1300
  };
1156
1301
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput = {
1157
1302
  id?: string;
1303
+ tenantId: string;
1158
1304
  paymentMethodId: string;
1159
1305
  paymentPlanId?: string | null;
1160
1306
  name: string;
@@ -1206,6 +1352,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1206
1352
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1207
1353
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1208
1354
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1355
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1209
1356
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1210
1357
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1211
1358
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
@@ -1214,6 +1361,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1214
1361
  };
1215
1362
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput = {
1216
1363
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1364
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1217
1365
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1218
1366
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1219
1367
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1252,6 +1400,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1252
1400
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1253
1401
  createdAt?: Date | string;
1254
1402
  updatedAt?: Date | string;
1403
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1255
1404
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1256
1405
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1257
1406
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
@@ -1260,6 +1409,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1260
1409
  };
1261
1410
  export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsInput = {
1262
1411
  id?: string;
1412
+ tenantId: string;
1263
1413
  paymentMethodId: string;
1264
1414
  paymentPlanId?: string | null;
1265
1415
  name: string;
@@ -1311,6 +1461,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1311
1461
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1312
1462
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1313
1463
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1464
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1314
1465
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1315
1466
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1316
1467
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
@@ -1319,6 +1470,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1319
1470
  };
1320
1471
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsInput = {
1321
1472
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1473
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1322
1474
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1323
1475
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1324
1476
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1340,8 +1492,97 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
1340
1492
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1341
1493
  eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
1342
1494
  };
1495
+ export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
1496
+ id?: string;
1497
+ paymentMethodId: string;
1498
+ paymentPlanId?: string | null;
1499
+ name: string;
1500
+ description?: string | null;
1501
+ phaseCategory: $Enums.PhaseCategory;
1502
+ phaseType: $Enums.PhaseType;
1503
+ order: number;
1504
+ interestRate?: number | null;
1505
+ percentOfPrice?: number | null;
1506
+ collectFunds?: boolean | null;
1507
+ requiresPreviousPhaseCompletion?: boolean;
1508
+ minimumCompletionPercentage?: number | null;
1509
+ completionCriterion?: $Enums.CompletionCriterion | null;
1510
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1511
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1512
+ createdAt?: Date | string;
1513
+ updatedAt?: Date | string;
1514
+ };
1515
+ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
1516
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1517
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1518
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1519
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1520
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1521
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1522
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1523
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1524
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1525
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1526
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1527
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1528
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1529
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1530
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1531
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1532
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1533
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1534
+ steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1535
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1536
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1537
+ eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
1538
+ };
1539
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
1540
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1541
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1542
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1544
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1545
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1546
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1547
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1548
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1549
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1550
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1551
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1552
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1553
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1554
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1555
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1556
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1557
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1558
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1559
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1560
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1561
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
1562
+ };
1563
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
1564
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1565
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1566
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1567
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1568
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1569
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1570
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1571
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1572
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1573
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1574
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1575
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1576
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1577
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1578
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1579
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1580
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1581
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1582
+ };
1343
1583
  export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
1344
1584
  id?: string;
1585
+ tenantId: string;
1345
1586
  paymentMethodId: string;
1346
1587
  name: string;
1347
1588
  description?: string | null;
@@ -1376,6 +1617,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1376
1617
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1377
1618
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1378
1619
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1620
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1379
1621
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1380
1622
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1381
1623
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
@@ -1384,6 +1626,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1384
1626
  };
1385
1627
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1386
1628
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1629
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1387
1630
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1388
1631
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1389
1632
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1407,6 +1650,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1407
1650
  };
1408
1651
  export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
1409
1652
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1653
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1410
1654
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1411
1655
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1412
1656
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1426,6 +1670,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput
1426
1670
  };
1427
1671
  export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
1428
1672
  id?: string;
1673
+ tenantId: string;
1429
1674
  paymentPlanId?: string | null;
1430
1675
  name: string;
1431
1676
  description?: string | null;
@@ -1460,6 +1705,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1460
1705
  requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1461
1706
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1462
1707
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1708
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1463
1709
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1464
1710
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1465
1711
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
@@ -1468,6 +1714,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1468
1714
  };
1469
1715
  export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput = {
1470
1716
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1717
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1471
1718
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1472
1719
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1473
1720
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1491,6 +1738,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
1491
1738
  };
1492
1739
  export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput = {
1493
1740
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1741
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1494
1742
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1495
1743
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1496
1744
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1558,6 +1806,7 @@ export type PropertyPaymentMethodPhaseCountOutputTypeCountEventAttachmentsArgs<E
1558
1806
  };
1559
1807
  export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1560
1808
  id?: boolean;
1809
+ tenantId?: boolean;
1561
1810
  paymentMethodId?: boolean;
1562
1811
  paymentPlanId?: boolean;
1563
1812
  name?: boolean;
@@ -1575,6 +1824,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1575
1824
  requiredDocumentSnapshot?: boolean;
1576
1825
  createdAt?: boolean;
1577
1826
  updatedAt?: boolean;
1827
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1578
1828
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1579
1829
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
1580
1830
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
@@ -1585,6 +1835,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1585
1835
  }, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
1586
1836
  export type PropertyPaymentMethodPhaseSelectScalar = {
1587
1837
  id?: boolean;
1838
+ tenantId?: boolean;
1588
1839
  paymentMethodId?: boolean;
1589
1840
  paymentPlanId?: boolean;
1590
1841
  name?: boolean;
@@ -1603,8 +1854,9 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
1603
1854
  createdAt?: boolean;
1604
1855
  updatedAt?: boolean;
1605
1856
  };
1606
- export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
1857
+ export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
1607
1858
  export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1859
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1608
1860
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1609
1861
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
1610
1862
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
@@ -1616,6 +1868,7 @@ export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Exte
1616
1868
  export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1617
1869
  name: "PropertyPaymentMethodPhase";
1618
1870
  objects: {
1871
+ tenant: Prisma.$TenantPayload<ExtArgs>;
1619
1872
  paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
1620
1873
  paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
1621
1874
  steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
@@ -1625,6 +1878,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1625
1878
  };
1626
1879
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1627
1880
  id: string;
1881
+ tenantId: string;
1628
1882
  paymentMethodId: string;
1629
1883
  paymentPlanId: string | null;
1630
1884
  name: string;
@@ -1919,6 +2173,7 @@ export interface PropertyPaymentMethodPhaseDelegate<ExtArgs extends runtime.Type
1919
2173
  */
1920
2174
  export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1921
2175
  readonly [Symbol.toStringTag]: "PrismaPromise";
2176
+ tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1922
2177
  paymentMethod<T extends Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1923
2178
  paymentPlan<T extends Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1924
2179
  steps<T extends Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -1951,6 +2206,7 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
1951
2206
  */
1952
2207
  export interface PropertyPaymentMethodPhaseFieldRefs {
1953
2208
  readonly id: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2209
+ readonly tenantId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1954
2210
  readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1955
2211
  readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1956
2212
  readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;