@valentine-efagene/qshelter-common 2.0.143 → 2.0.144

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 (36) hide show
  1. package/dist/generated/client/browser.d.ts +32 -0
  2. package/dist/generated/client/client.d.ts +32 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +354 -144
  4. package/dist/generated/client/enums.d.ts +45 -0
  5. package/dist/generated/client/enums.js +39 -0
  6. package/dist/generated/client/internal/class.d.ts +66 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +633 -3
  9. package/dist/generated/client/internal/prismaNamespace.js +193 -1
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +204 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +193 -1
  12. package/dist/generated/client/models/Application.d.ts +669 -1
  13. package/dist/generated/client/models/ApplicationDocument.d.ts +577 -1
  14. package/dist/generated/client/models/ApplicationOrganization.d.ts +2385 -0
  15. package/dist/generated/client/models/ApplicationOrganization.js +1 -0
  16. package/dist/generated/client/models/BankDocumentRequirement.d.ts +1932 -0
  17. package/dist/generated/client/models/BankDocumentRequirement.js +1 -0
  18. package/dist/generated/client/models/DocumentExpiryWarning.d.ts +1141 -0
  19. package/dist/generated/client/models/DocumentExpiryWarning.js +1 -0
  20. package/dist/generated/client/models/Organization.d.ts +390 -0
  21. package/dist/generated/client/models/PropertyMedia.d.ts +0 -7
  22. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +192 -3
  23. package/dist/generated/client/models/PropertyVariant.d.ts +0 -7
  24. package/dist/generated/client/models/ScheduledJob.d.ts +1317 -0
  25. package/dist/generated/client/models/ScheduledJob.js +1 -0
  26. package/dist/generated/client/models/StateTransitionDefinition.d.ts +1104 -0
  27. package/dist/generated/client/models/StateTransitionDefinition.js +1 -0
  28. package/dist/generated/client/models/StateTransitionLog.d.ts +1383 -0
  29. package/dist/generated/client/models/StateTransitionLog.js +1 -0
  30. package/dist/generated/client/models/Tenant.d.ts +2535 -798
  31. package/dist/generated/client/models/index.d.ts +6 -0
  32. package/dist/generated/client/models/index.js +6 -0
  33. package/dist/generated/client/models.d.ts +6 -0
  34. package/dist/src/prisma/tenant.js +4 -0
  35. package/package.json +1 -1
  36. package/prisma/schema.prisma +423 -2
@@ -26,6 +26,8 @@ export type ApplicationMinAggregateOutputType = {
26
26
  buyerId: string | null;
27
27
  sellerId: string | null;
28
28
  paymentMethodId: string | null;
29
+ paymentMethodSnapshotAt: Date | null;
30
+ paymentMethodSnapshotHash: string | null;
29
31
  applicationNumber: string | null;
30
32
  title: string | null;
31
33
  description: string | null;
@@ -52,6 +54,8 @@ export type ApplicationMaxAggregateOutputType = {
52
54
  buyerId: string | null;
53
55
  sellerId: string | null;
54
56
  paymentMethodId: string | null;
57
+ paymentMethodSnapshotAt: Date | null;
58
+ paymentMethodSnapshotHash: string | null;
55
59
  applicationNumber: string | null;
56
60
  title: string | null;
57
61
  description: string | null;
@@ -78,6 +82,9 @@ export type ApplicationCountAggregateOutputType = {
78
82
  buyerId: number;
79
83
  sellerId: number;
80
84
  paymentMethodId: number;
85
+ paymentMethodSnapshot: number;
86
+ paymentMethodSnapshotAt: number;
87
+ paymentMethodSnapshotHash: number;
81
88
  applicationNumber: number;
82
89
  title: number;
83
90
  description: number;
@@ -111,6 +118,8 @@ export type ApplicationMinAggregateInputType = {
111
118
  buyerId?: true;
112
119
  sellerId?: true;
113
120
  paymentMethodId?: true;
121
+ paymentMethodSnapshotAt?: true;
122
+ paymentMethodSnapshotHash?: true;
114
123
  applicationNumber?: true;
115
124
  title?: true;
116
125
  description?: true;
@@ -137,6 +146,8 @@ export type ApplicationMaxAggregateInputType = {
137
146
  buyerId?: true;
138
147
  sellerId?: true;
139
148
  paymentMethodId?: true;
149
+ paymentMethodSnapshotAt?: true;
150
+ paymentMethodSnapshotHash?: true;
140
151
  applicationNumber?: true;
141
152
  title?: true;
142
153
  description?: true;
@@ -163,6 +174,9 @@ export type ApplicationCountAggregateInputType = {
163
174
  buyerId?: true;
164
175
  sellerId?: true;
165
176
  paymentMethodId?: true;
177
+ paymentMethodSnapshot?: true;
178
+ paymentMethodSnapshotAt?: true;
179
+ paymentMethodSnapshotHash?: true;
166
180
  applicationNumber?: true;
167
181
  title?: true;
168
182
  description?: true;
@@ -266,6 +280,9 @@ export type ApplicationGroupByOutputType = {
266
280
  buyerId: string;
267
281
  sellerId: string | null;
268
282
  paymentMethodId: string | null;
283
+ paymentMethodSnapshot: runtime.JsonValue | null;
284
+ paymentMethodSnapshotAt: Date | null;
285
+ paymentMethodSnapshotHash: string | null;
269
286
  applicationNumber: string;
270
287
  title: string;
271
288
  description: string | null;
@@ -303,6 +320,9 @@ export type ApplicationWhereInput = {
303
320
  buyerId?: Prisma.StringFilter<"Application"> | string;
304
321
  sellerId?: Prisma.StringNullableFilter<"Application"> | string | null;
305
322
  paymentMethodId?: Prisma.StringNullableFilter<"Application"> | string | null;
323
+ paymentMethodSnapshot?: Prisma.JsonNullableFilter<"Application">;
324
+ paymentMethodSnapshotAt?: Prisma.DateTimeNullableFilter<"Application"> | Date | string | null;
325
+ paymentMethodSnapshotHash?: Prisma.StringNullableFilter<"Application"> | string | null;
306
326
  applicationNumber?: Prisma.StringFilter<"Application"> | string;
307
327
  title?: Prisma.StringFilter<"Application"> | string;
308
328
  description?: Prisma.StringNullableFilter<"Application"> | string | null;
@@ -341,6 +361,7 @@ export type ApplicationWhereInput = {
341
361
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
342
362
  events?: Prisma.ApplicationEventListRelationFilter;
343
363
  refunds?: Prisma.ApplicationRefundListRelationFilter;
364
+ organizations?: Prisma.ApplicationOrganizationListRelationFilter;
344
365
  };
345
366
  export type ApplicationOrderByWithRelationInput = {
346
367
  id?: Prisma.SortOrder;
@@ -349,6 +370,9 @@ export type ApplicationOrderByWithRelationInput = {
349
370
  buyerId?: Prisma.SortOrder;
350
371
  sellerId?: Prisma.SortOrderInput | Prisma.SortOrder;
351
372
  paymentMethodId?: Prisma.SortOrderInput | Prisma.SortOrder;
373
+ paymentMethodSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
374
+ paymentMethodSnapshotAt?: Prisma.SortOrderInput | Prisma.SortOrder;
375
+ paymentMethodSnapshotHash?: Prisma.SortOrderInput | Prisma.SortOrder;
352
376
  applicationNumber?: Prisma.SortOrder;
353
377
  title?: Prisma.SortOrder;
354
378
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -387,6 +411,7 @@ export type ApplicationOrderByWithRelationInput = {
387
411
  incomingTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
388
412
  events?: Prisma.ApplicationEventOrderByRelationAggregateInput;
389
413
  refunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
414
+ organizations?: Prisma.ApplicationOrganizationOrderByRelationAggregateInput;
390
415
  _relevance?: Prisma.ApplicationOrderByRelevanceInput;
391
416
  };
392
417
  export type ApplicationWhereUniqueInput = Prisma.AtLeast<{
@@ -401,6 +426,9 @@ export type ApplicationWhereUniqueInput = Prisma.AtLeast<{
401
426
  buyerId?: Prisma.StringFilter<"Application"> | string;
402
427
  sellerId?: Prisma.StringNullableFilter<"Application"> | string | null;
403
428
  paymentMethodId?: Prisma.StringNullableFilter<"Application"> | string | null;
429
+ paymentMethodSnapshot?: Prisma.JsonNullableFilter<"Application">;
430
+ paymentMethodSnapshotAt?: Prisma.DateTimeNullableFilter<"Application"> | Date | string | null;
431
+ paymentMethodSnapshotHash?: Prisma.StringNullableFilter<"Application"> | string | null;
404
432
  title?: Prisma.StringFilter<"Application"> | string;
405
433
  description?: Prisma.StringNullableFilter<"Application"> | string | null;
406
434
  applicationType?: Prisma.StringFilter<"Application"> | string;
@@ -437,6 +465,7 @@ export type ApplicationWhereUniqueInput = Prisma.AtLeast<{
437
465
  incomingTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
438
466
  events?: Prisma.ApplicationEventListRelationFilter;
439
467
  refunds?: Prisma.ApplicationRefundListRelationFilter;
468
+ organizations?: Prisma.ApplicationOrganizationListRelationFilter;
440
469
  }, "id" | "applicationNumber" | "transferredFromId">;
441
470
  export type ApplicationOrderByWithAggregationInput = {
442
471
  id?: Prisma.SortOrder;
@@ -445,6 +474,9 @@ export type ApplicationOrderByWithAggregationInput = {
445
474
  buyerId?: Prisma.SortOrder;
446
475
  sellerId?: Prisma.SortOrderInput | Prisma.SortOrder;
447
476
  paymentMethodId?: Prisma.SortOrderInput | Prisma.SortOrder;
477
+ paymentMethodSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
478
+ paymentMethodSnapshotAt?: Prisma.SortOrderInput | Prisma.SortOrder;
479
+ paymentMethodSnapshotHash?: Prisma.SortOrderInput | Prisma.SortOrder;
448
480
  applicationNumber?: Prisma.SortOrder;
449
481
  title?: Prisma.SortOrder;
450
482
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -479,6 +511,9 @@ export type ApplicationScalarWhereWithAggregatesInput = {
479
511
  buyerId?: Prisma.StringWithAggregatesFilter<"Application"> | string;
480
512
  sellerId?: Prisma.StringNullableWithAggregatesFilter<"Application"> | string | null;
481
513
  paymentMethodId?: Prisma.StringNullableWithAggregatesFilter<"Application"> | string | null;
514
+ paymentMethodSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"Application">;
515
+ paymentMethodSnapshotAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Application"> | Date | string | null;
516
+ paymentMethodSnapshotHash?: Prisma.StringNullableWithAggregatesFilter<"Application"> | string | null;
482
517
  applicationNumber?: Prisma.StringWithAggregatesFilter<"Application"> | string;
483
518
  title?: Prisma.StringWithAggregatesFilter<"Application"> | string;
484
519
  description?: Prisma.StringNullableWithAggregatesFilter<"Application"> | string | null;
@@ -500,6 +535,9 @@ export type ApplicationScalarWhereWithAggregatesInput = {
500
535
  };
501
536
  export type ApplicationCreateInput = {
502
537
  id?: string;
538
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
539
+ paymentMethodSnapshotAt?: Date | string | null;
540
+ paymentMethodSnapshotHash?: string | null;
503
541
  applicationNumber: string;
504
542
  title: string;
505
543
  description?: string | null;
@@ -535,6 +573,7 @@ export type ApplicationCreateInput = {
535
573
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
536
574
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
537
575
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
576
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
538
577
  };
539
578
  export type ApplicationUncheckedCreateInput = {
540
579
  id?: string;
@@ -543,6 +582,9 @@ export type ApplicationUncheckedCreateInput = {
543
582
  buyerId: string;
544
583
  sellerId?: string | null;
545
584
  paymentMethodId?: string | null;
585
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
586
+ paymentMethodSnapshotAt?: Date | string | null;
587
+ paymentMethodSnapshotHash?: string | null;
546
588
  applicationNumber: string;
547
589
  title: string;
548
590
  description?: string | null;
@@ -573,9 +615,13 @@ export type ApplicationUncheckedCreateInput = {
573
615
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
574
616
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
575
617
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
618
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
576
619
  };
577
620
  export type ApplicationUpdateInput = {
578
621
  id?: Prisma.StringFieldUpdateOperationsInput | string;
622
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
623
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
624
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
579
625
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
580
626
  title?: Prisma.StringFieldUpdateOperationsInput | string;
581
627
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -611,6 +657,7 @@ export type ApplicationUpdateInput = {
611
657
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
612
658
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
613
659
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
660
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
614
661
  };
615
662
  export type ApplicationUncheckedUpdateInput = {
616
663
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -619,6 +666,9 @@ export type ApplicationUncheckedUpdateInput = {
619
666
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
620
667
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
621
668
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
669
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
670
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
671
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
622
672
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
623
673
  title?: Prisma.StringFieldUpdateOperationsInput | string;
624
674
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -649,6 +699,7 @@ export type ApplicationUncheckedUpdateInput = {
649
699
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
650
700
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
651
701
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
702
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
652
703
  };
653
704
  export type ApplicationCreateManyInput = {
654
705
  id?: string;
@@ -657,6 +708,9 @@ export type ApplicationCreateManyInput = {
657
708
  buyerId: string;
658
709
  sellerId?: string | null;
659
710
  paymentMethodId?: string | null;
711
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
712
+ paymentMethodSnapshotAt?: Date | string | null;
713
+ paymentMethodSnapshotHash?: string | null;
660
714
  applicationNumber: string;
661
715
  title: string;
662
716
  description?: string | null;
@@ -678,6 +732,9 @@ export type ApplicationCreateManyInput = {
678
732
  };
679
733
  export type ApplicationUpdateManyMutationInput = {
680
734
  id?: Prisma.StringFieldUpdateOperationsInput | string;
735
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
736
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
737
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
681
738
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
682
739
  title?: Prisma.StringFieldUpdateOperationsInput | string;
683
740
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -701,6 +758,9 @@ export type ApplicationUncheckedUpdateManyInput = {
701
758
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
702
759
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
703
760
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
761
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
762
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
763
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
704
764
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
705
765
  title?: Prisma.StringFieldUpdateOperationsInput | string;
706
766
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -744,6 +804,9 @@ export type ApplicationCountOrderByAggregateInput = {
744
804
  buyerId?: Prisma.SortOrder;
745
805
  sellerId?: Prisma.SortOrder;
746
806
  paymentMethodId?: Prisma.SortOrder;
807
+ paymentMethodSnapshot?: Prisma.SortOrder;
808
+ paymentMethodSnapshotAt?: Prisma.SortOrder;
809
+ paymentMethodSnapshotHash?: Prisma.SortOrder;
747
810
  applicationNumber?: Prisma.SortOrder;
748
811
  title?: Prisma.SortOrder;
749
812
  description?: Prisma.SortOrder;
@@ -773,6 +836,8 @@ export type ApplicationMaxOrderByAggregateInput = {
773
836
  buyerId?: Prisma.SortOrder;
774
837
  sellerId?: Prisma.SortOrder;
775
838
  paymentMethodId?: Prisma.SortOrder;
839
+ paymentMethodSnapshotAt?: Prisma.SortOrder;
840
+ paymentMethodSnapshotHash?: Prisma.SortOrder;
776
841
  applicationNumber?: Prisma.SortOrder;
777
842
  title?: Prisma.SortOrder;
778
843
  description?: Prisma.SortOrder;
@@ -799,6 +864,8 @@ export type ApplicationMinOrderByAggregateInput = {
799
864
  buyerId?: Prisma.SortOrder;
800
865
  sellerId?: Prisma.SortOrder;
801
866
  paymentMethodId?: Prisma.SortOrder;
867
+ paymentMethodSnapshotAt?: Prisma.SortOrder;
868
+ paymentMethodSnapshotHash?: Prisma.SortOrder;
802
869
  applicationNumber?: Prisma.SortOrder;
803
870
  title?: Prisma.SortOrder;
804
871
  description?: Prisma.SortOrder;
@@ -1112,6 +1179,18 @@ export type ApplicationUncheckedUpdateManyWithoutSupersededByNestedInput = {
1112
1179
  updateMany?: Prisma.ApplicationUpdateManyWithWhereWithoutSupersededByInput | Prisma.ApplicationUpdateManyWithWhereWithoutSupersededByInput[];
1113
1180
  deleteMany?: Prisma.ApplicationScalarWhereInput | Prisma.ApplicationScalarWhereInput[];
1114
1181
  };
1182
+ export type ApplicationCreateNestedOneWithoutOrganizationsInput = {
1183
+ create?: Prisma.XOR<Prisma.ApplicationCreateWithoutOrganizationsInput, Prisma.ApplicationUncheckedCreateWithoutOrganizationsInput>;
1184
+ connectOrCreate?: Prisma.ApplicationCreateOrConnectWithoutOrganizationsInput;
1185
+ connect?: Prisma.ApplicationWhereUniqueInput;
1186
+ };
1187
+ export type ApplicationUpdateOneRequiredWithoutOrganizationsNestedInput = {
1188
+ create?: Prisma.XOR<Prisma.ApplicationCreateWithoutOrganizationsInput, Prisma.ApplicationUncheckedCreateWithoutOrganizationsInput>;
1189
+ connectOrCreate?: Prisma.ApplicationCreateOrConnectWithoutOrganizationsInput;
1190
+ upsert?: Prisma.ApplicationUpsertWithoutOrganizationsInput;
1191
+ connect?: Prisma.ApplicationWhereUniqueInput;
1192
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ApplicationUpdateToOneWithWhereWithoutOrganizationsInput, Prisma.ApplicationUpdateWithoutOrganizationsInput>, Prisma.ApplicationUncheckedUpdateWithoutOrganizationsInput>;
1193
+ };
1115
1194
  export type ApplicationCreateNestedOneWithoutRefundsInput = {
1116
1195
  create?: Prisma.XOR<Prisma.ApplicationCreateWithoutRefundsInput, Prisma.ApplicationUncheckedCreateWithoutRefundsInput>;
1117
1196
  connectOrCreate?: Prisma.ApplicationCreateOrConnectWithoutRefundsInput;
@@ -1274,6 +1353,9 @@ export type ApplicationUpdateOneWithoutIncomingTransferRequestsNestedInput = {
1274
1353
  };
1275
1354
  export type ApplicationCreateWithoutBuyerInput = {
1276
1355
  id?: string;
1356
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1357
+ paymentMethodSnapshotAt?: Date | string | null;
1358
+ paymentMethodSnapshotHash?: string | null;
1277
1359
  applicationNumber: string;
1278
1360
  title: string;
1279
1361
  description?: string | null;
@@ -1308,6 +1390,7 @@ export type ApplicationCreateWithoutBuyerInput = {
1308
1390
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1309
1391
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1310
1392
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1393
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1311
1394
  };
1312
1395
  export type ApplicationUncheckedCreateWithoutBuyerInput = {
1313
1396
  id?: string;
@@ -1315,6 +1398,9 @@ export type ApplicationUncheckedCreateWithoutBuyerInput = {
1315
1398
  propertyUnitId: string;
1316
1399
  sellerId?: string | null;
1317
1400
  paymentMethodId?: string | null;
1401
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1402
+ paymentMethodSnapshotAt?: Date | string | null;
1403
+ paymentMethodSnapshotHash?: string | null;
1318
1404
  applicationNumber: string;
1319
1405
  title: string;
1320
1406
  description?: string | null;
@@ -1345,6 +1431,7 @@ export type ApplicationUncheckedCreateWithoutBuyerInput = {
1345
1431
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1346
1432
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1347
1433
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1434
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1348
1435
  };
1349
1436
  export type ApplicationCreateOrConnectWithoutBuyerInput = {
1350
1437
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1356,6 +1443,9 @@ export type ApplicationCreateManyBuyerInputEnvelope = {
1356
1443
  };
1357
1444
  export type ApplicationCreateWithoutSellerInput = {
1358
1445
  id?: string;
1446
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1447
+ paymentMethodSnapshotAt?: Date | string | null;
1448
+ paymentMethodSnapshotHash?: string | null;
1359
1449
  applicationNumber: string;
1360
1450
  title: string;
1361
1451
  description?: string | null;
@@ -1390,6 +1480,7 @@ export type ApplicationCreateWithoutSellerInput = {
1390
1480
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1391
1481
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1392
1482
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1483
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1393
1484
  };
1394
1485
  export type ApplicationUncheckedCreateWithoutSellerInput = {
1395
1486
  id?: string;
@@ -1397,6 +1488,9 @@ export type ApplicationUncheckedCreateWithoutSellerInput = {
1397
1488
  propertyUnitId: string;
1398
1489
  buyerId: string;
1399
1490
  paymentMethodId?: string | null;
1491
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1492
+ paymentMethodSnapshotAt?: Date | string | null;
1493
+ paymentMethodSnapshotHash?: string | null;
1400
1494
  applicationNumber: string;
1401
1495
  title: string;
1402
1496
  description?: string | null;
@@ -1427,6 +1521,7 @@ export type ApplicationUncheckedCreateWithoutSellerInput = {
1427
1521
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1428
1522
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1429
1523
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1524
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1430
1525
  };
1431
1526
  export type ApplicationCreateOrConnectWithoutSellerInput = {
1432
1527
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1459,6 +1554,9 @@ export type ApplicationScalarWhereInput = {
1459
1554
  buyerId?: Prisma.StringFilter<"Application"> | string;
1460
1555
  sellerId?: Prisma.StringNullableFilter<"Application"> | string | null;
1461
1556
  paymentMethodId?: Prisma.StringNullableFilter<"Application"> | string | null;
1557
+ paymentMethodSnapshot?: Prisma.JsonNullableFilter<"Application">;
1558
+ paymentMethodSnapshotAt?: Prisma.DateTimeNullableFilter<"Application"> | Date | string | null;
1559
+ paymentMethodSnapshotHash?: Prisma.StringNullableFilter<"Application"> | string | null;
1462
1560
  applicationNumber?: Prisma.StringFilter<"Application"> | string;
1463
1561
  title?: Prisma.StringFilter<"Application"> | string;
1464
1562
  description?: Prisma.StringNullableFilter<"Application"> | string | null;
@@ -1493,6 +1591,9 @@ export type ApplicationUpdateManyWithWhereWithoutSellerInput = {
1493
1591
  };
1494
1592
  export type ApplicationCreateWithoutTenantInput = {
1495
1593
  id?: string;
1594
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1595
+ paymentMethodSnapshotAt?: Date | string | null;
1596
+ paymentMethodSnapshotHash?: string | null;
1496
1597
  applicationNumber: string;
1497
1598
  title: string;
1498
1599
  description?: string | null;
@@ -1527,6 +1628,7 @@ export type ApplicationCreateWithoutTenantInput = {
1527
1628
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1528
1629
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1529
1630
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1631
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1530
1632
  };
1531
1633
  export type ApplicationUncheckedCreateWithoutTenantInput = {
1532
1634
  id?: string;
@@ -1534,6 +1636,9 @@ export type ApplicationUncheckedCreateWithoutTenantInput = {
1534
1636
  buyerId: string;
1535
1637
  sellerId?: string | null;
1536
1638
  paymentMethodId?: string | null;
1639
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1640
+ paymentMethodSnapshotAt?: Date | string | null;
1641
+ paymentMethodSnapshotHash?: string | null;
1537
1642
  applicationNumber: string;
1538
1643
  title: string;
1539
1644
  description?: string | null;
@@ -1564,6 +1669,7 @@ export type ApplicationUncheckedCreateWithoutTenantInput = {
1564
1669
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1565
1670
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1566
1671
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1672
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1567
1673
  };
1568
1674
  export type ApplicationCreateOrConnectWithoutTenantInput = {
1569
1675
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1588,6 +1694,9 @@ export type ApplicationUpdateManyWithWhereWithoutTenantInput = {
1588
1694
  };
1589
1695
  export type ApplicationCreateWithoutPropertyUnitInput = {
1590
1696
  id?: string;
1697
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1698
+ paymentMethodSnapshotAt?: Date | string | null;
1699
+ paymentMethodSnapshotHash?: string | null;
1591
1700
  applicationNumber: string;
1592
1701
  title: string;
1593
1702
  description?: string | null;
@@ -1622,6 +1731,7 @@ export type ApplicationCreateWithoutPropertyUnitInput = {
1622
1731
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1623
1732
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1624
1733
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1734
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1625
1735
  };
1626
1736
  export type ApplicationUncheckedCreateWithoutPropertyUnitInput = {
1627
1737
  id?: string;
@@ -1629,6 +1739,9 @@ export type ApplicationUncheckedCreateWithoutPropertyUnitInput = {
1629
1739
  buyerId: string;
1630
1740
  sellerId?: string | null;
1631
1741
  paymentMethodId?: string | null;
1742
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1743
+ paymentMethodSnapshotAt?: Date | string | null;
1744
+ paymentMethodSnapshotHash?: string | null;
1632
1745
  applicationNumber: string;
1633
1746
  title: string;
1634
1747
  description?: string | null;
@@ -1659,6 +1772,7 @@ export type ApplicationUncheckedCreateWithoutPropertyUnitInput = {
1659
1772
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1660
1773
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1661
1774
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1775
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1662
1776
  };
1663
1777
  export type ApplicationCreateOrConnectWithoutPropertyUnitInput = {
1664
1778
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1683,6 +1797,9 @@ export type ApplicationUpdateManyWithWhereWithoutPropertyUnitInput = {
1683
1797
  };
1684
1798
  export type ApplicationCreateWithoutPaymentMethodInput = {
1685
1799
  id?: string;
1800
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1801
+ paymentMethodSnapshotAt?: Date | string | null;
1802
+ paymentMethodSnapshotHash?: string | null;
1686
1803
  applicationNumber: string;
1687
1804
  title: string;
1688
1805
  description?: string | null;
@@ -1717,6 +1834,7 @@ export type ApplicationCreateWithoutPaymentMethodInput = {
1717
1834
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1718
1835
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1719
1836
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1837
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1720
1838
  };
1721
1839
  export type ApplicationUncheckedCreateWithoutPaymentMethodInput = {
1722
1840
  id?: string;
@@ -1724,6 +1842,9 @@ export type ApplicationUncheckedCreateWithoutPaymentMethodInput = {
1724
1842
  propertyUnitId: string;
1725
1843
  buyerId: string;
1726
1844
  sellerId?: string | null;
1845
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1846
+ paymentMethodSnapshotAt?: Date | string | null;
1847
+ paymentMethodSnapshotHash?: string | null;
1727
1848
  applicationNumber: string;
1728
1849
  title: string;
1729
1850
  description?: string | null;
@@ -1754,6 +1875,7 @@ export type ApplicationUncheckedCreateWithoutPaymentMethodInput = {
1754
1875
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1755
1876
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1756
1877
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1878
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1757
1879
  };
1758
1880
  export type ApplicationCreateOrConnectWithoutPaymentMethodInput = {
1759
1881
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1778,6 +1900,9 @@ export type ApplicationUpdateManyWithWhereWithoutPaymentMethodInput = {
1778
1900
  };
1779
1901
  export type ApplicationCreateWithoutTransferredToInput = {
1780
1902
  id?: string;
1903
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1904
+ paymentMethodSnapshotAt?: Date | string | null;
1905
+ paymentMethodSnapshotHash?: string | null;
1781
1906
  applicationNumber: string;
1782
1907
  title: string;
1783
1908
  description?: string | null;
@@ -1812,6 +1937,7 @@ export type ApplicationCreateWithoutTransferredToInput = {
1812
1937
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1813
1938
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1814
1939
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
1940
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1815
1941
  };
1816
1942
  export type ApplicationUncheckedCreateWithoutTransferredToInput = {
1817
1943
  id?: string;
@@ -1820,6 +1946,9 @@ export type ApplicationUncheckedCreateWithoutTransferredToInput = {
1820
1946
  buyerId: string;
1821
1947
  sellerId?: string | null;
1822
1948
  paymentMethodId?: string | null;
1949
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1950
+ paymentMethodSnapshotAt?: Date | string | null;
1951
+ paymentMethodSnapshotHash?: string | null;
1823
1952
  applicationNumber: string;
1824
1953
  title: string;
1825
1954
  description?: string | null;
@@ -1849,6 +1978,7 @@ export type ApplicationUncheckedCreateWithoutTransferredToInput = {
1849
1978
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1850
1979
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1851
1980
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
1981
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1852
1982
  };
1853
1983
  export type ApplicationCreateOrConnectWithoutTransferredToInput = {
1854
1984
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1856,6 +1986,9 @@ export type ApplicationCreateOrConnectWithoutTransferredToInput = {
1856
1986
  };
1857
1987
  export type ApplicationCreateWithoutTransferredFromInput = {
1858
1988
  id?: string;
1989
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1990
+ paymentMethodSnapshotAt?: Date | string | null;
1991
+ paymentMethodSnapshotHash?: string | null;
1859
1992
  applicationNumber: string;
1860
1993
  title: string;
1861
1994
  description?: string | null;
@@ -1890,6 +2023,7 @@ export type ApplicationCreateWithoutTransferredFromInput = {
1890
2023
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1891
2024
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1892
2025
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
2026
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1893
2027
  };
1894
2028
  export type ApplicationUncheckedCreateWithoutTransferredFromInput = {
1895
2029
  id?: string;
@@ -1898,6 +2032,9 @@ export type ApplicationUncheckedCreateWithoutTransferredFromInput = {
1898
2032
  buyerId: string;
1899
2033
  sellerId?: string | null;
1900
2034
  paymentMethodId?: string | null;
2035
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2036
+ paymentMethodSnapshotAt?: Date | string | null;
2037
+ paymentMethodSnapshotHash?: string | null;
1901
2038
  applicationNumber: string;
1902
2039
  title: string;
1903
2040
  description?: string | null;
@@ -1927,6 +2064,7 @@ export type ApplicationUncheckedCreateWithoutTransferredFromInput = {
1927
2064
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
1928
2065
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
1929
2066
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
2067
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
1930
2068
  };
1931
2069
  export type ApplicationCreateOrConnectWithoutTransferredFromInput = {
1932
2070
  where: Prisma.ApplicationWhereUniqueInput;
@@ -1934,6 +2072,9 @@ export type ApplicationCreateOrConnectWithoutTransferredFromInput = {
1934
2072
  };
1935
2073
  export type ApplicationCreateWithoutSupersededApplicationsInput = {
1936
2074
  id?: string;
2075
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2076
+ paymentMethodSnapshotAt?: Date | string | null;
2077
+ paymentMethodSnapshotHash?: string | null;
1937
2078
  applicationNumber: string;
1938
2079
  title: string;
1939
2080
  description?: string | null;
@@ -1968,6 +2109,7 @@ export type ApplicationCreateWithoutSupersededApplicationsInput = {
1968
2109
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
1969
2110
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
1970
2111
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
2112
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
1971
2113
  };
1972
2114
  export type ApplicationUncheckedCreateWithoutSupersededApplicationsInput = {
1973
2115
  id?: string;
@@ -1976,6 +2118,9 @@ export type ApplicationUncheckedCreateWithoutSupersededApplicationsInput = {
1976
2118
  buyerId: string;
1977
2119
  sellerId?: string | null;
1978
2120
  paymentMethodId?: string | null;
2121
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2122
+ paymentMethodSnapshotAt?: Date | string | null;
2123
+ paymentMethodSnapshotHash?: string | null;
1979
2124
  applicationNumber: string;
1980
2125
  title: string;
1981
2126
  description?: string | null;
@@ -2005,6 +2150,7 @@ export type ApplicationUncheckedCreateWithoutSupersededApplicationsInput = {
2005
2150
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2006
2151
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2007
2152
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
2153
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2008
2154
  };
2009
2155
  export type ApplicationCreateOrConnectWithoutSupersededApplicationsInput = {
2010
2156
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2012,6 +2158,9 @@ export type ApplicationCreateOrConnectWithoutSupersededApplicationsInput = {
2012
2158
  };
2013
2159
  export type ApplicationCreateWithoutSupersededByInput = {
2014
2160
  id?: string;
2161
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2162
+ paymentMethodSnapshotAt?: Date | string | null;
2163
+ paymentMethodSnapshotHash?: string | null;
2015
2164
  applicationNumber: string;
2016
2165
  title: string;
2017
2166
  description?: string | null;
@@ -2046,6 +2195,7 @@ export type ApplicationCreateWithoutSupersededByInput = {
2046
2195
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2047
2196
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2048
2197
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
2198
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2049
2199
  };
2050
2200
  export type ApplicationUncheckedCreateWithoutSupersededByInput = {
2051
2201
  id?: string;
@@ -2054,6 +2204,9 @@ export type ApplicationUncheckedCreateWithoutSupersededByInput = {
2054
2204
  buyerId: string;
2055
2205
  sellerId?: string | null;
2056
2206
  paymentMethodId?: string | null;
2207
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2208
+ paymentMethodSnapshotAt?: Date | string | null;
2209
+ paymentMethodSnapshotHash?: string | null;
2057
2210
  applicationNumber: string;
2058
2211
  title: string;
2059
2212
  description?: string | null;
@@ -2083,6 +2236,7 @@ export type ApplicationUncheckedCreateWithoutSupersededByInput = {
2083
2236
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2084
2237
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2085
2238
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
2239
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2086
2240
  };
2087
2241
  export type ApplicationCreateOrConnectWithoutSupersededByInput = {
2088
2242
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2103,6 +2257,9 @@ export type ApplicationUpdateToOneWithWhereWithoutTransferredToInput = {
2103
2257
  };
2104
2258
  export type ApplicationUpdateWithoutTransferredToInput = {
2105
2259
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2260
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2261
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2262
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2106
2263
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2107
2264
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2108
2265
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2137,6 +2294,7 @@ export type ApplicationUpdateWithoutTransferredToInput = {
2137
2294
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2138
2295
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2139
2296
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
2297
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2140
2298
  };
2141
2299
  export type ApplicationUncheckedUpdateWithoutTransferredToInput = {
2142
2300
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2145,6 +2303,9 @@ export type ApplicationUncheckedUpdateWithoutTransferredToInput = {
2145
2303
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2146
2304
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2147
2305
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2306
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2307
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2308
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2148
2309
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2149
2310
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2150
2311
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2174,6 +2335,7 @@ export type ApplicationUncheckedUpdateWithoutTransferredToInput = {
2174
2335
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2175
2336
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2176
2337
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
2338
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2177
2339
  };
2178
2340
  export type ApplicationUpsertWithoutTransferredFromInput = {
2179
2341
  update: Prisma.XOR<Prisma.ApplicationUpdateWithoutTransferredFromInput, Prisma.ApplicationUncheckedUpdateWithoutTransferredFromInput>;
@@ -2186,6 +2348,9 @@ export type ApplicationUpdateToOneWithWhereWithoutTransferredFromInput = {
2186
2348
  };
2187
2349
  export type ApplicationUpdateWithoutTransferredFromInput = {
2188
2350
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2351
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2352
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2353
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2189
2354
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2190
2355
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2191
2356
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2220,6 +2385,7 @@ export type ApplicationUpdateWithoutTransferredFromInput = {
2220
2385
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2221
2386
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2222
2387
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
2388
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2223
2389
  };
2224
2390
  export type ApplicationUncheckedUpdateWithoutTransferredFromInput = {
2225
2391
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2228,6 +2394,9 @@ export type ApplicationUncheckedUpdateWithoutTransferredFromInput = {
2228
2394
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2229
2395
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2230
2396
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2397
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2398
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2399
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2231
2400
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2232
2401
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2233
2402
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2257,6 +2426,7 @@ export type ApplicationUncheckedUpdateWithoutTransferredFromInput = {
2257
2426
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2258
2427
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2259
2428
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
2429
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2260
2430
  };
2261
2431
  export type ApplicationUpsertWithoutSupersededApplicationsInput = {
2262
2432
  update: Prisma.XOR<Prisma.ApplicationUpdateWithoutSupersededApplicationsInput, Prisma.ApplicationUncheckedUpdateWithoutSupersededApplicationsInput>;
@@ -2269,6 +2439,9 @@ export type ApplicationUpdateToOneWithWhereWithoutSupersededApplicationsInput =
2269
2439
  };
2270
2440
  export type ApplicationUpdateWithoutSupersededApplicationsInput = {
2271
2441
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2442
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2443
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2444
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2272
2445
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2273
2446
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2274
2447
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2303,6 +2476,7 @@ export type ApplicationUpdateWithoutSupersededApplicationsInput = {
2303
2476
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2304
2477
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2305
2478
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
2479
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2306
2480
  };
2307
2481
  export type ApplicationUncheckedUpdateWithoutSupersededApplicationsInput = {
2308
2482
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2311,6 +2485,9 @@ export type ApplicationUncheckedUpdateWithoutSupersededApplicationsInput = {
2311
2485
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2312
2486
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2313
2487
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2488
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2489
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2490
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2314
2491
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2315
2492
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2316
2493
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2340,6 +2517,7 @@ export type ApplicationUncheckedUpdateWithoutSupersededApplicationsInput = {
2340
2517
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2341
2518
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2342
2519
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
2520
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2343
2521
  };
2344
2522
  export type ApplicationUpsertWithWhereUniqueWithoutSupersededByInput = {
2345
2523
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2354,8 +2532,188 @@ export type ApplicationUpdateManyWithWhereWithoutSupersededByInput = {
2354
2532
  where: Prisma.ApplicationScalarWhereInput;
2355
2533
  data: Prisma.XOR<Prisma.ApplicationUpdateManyMutationInput, Prisma.ApplicationUncheckedUpdateManyWithoutSupersededByInput>;
2356
2534
  };
2535
+ export type ApplicationCreateWithoutOrganizationsInput = {
2536
+ id?: string;
2537
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2538
+ paymentMethodSnapshotAt?: Date | string | null;
2539
+ paymentMethodSnapshotHash?: string | null;
2540
+ applicationNumber: string;
2541
+ title: string;
2542
+ description?: string | null;
2543
+ applicationType: string;
2544
+ totalAmount: number;
2545
+ status?: $Enums.ApplicationStatus;
2546
+ nextPaymentDueDate?: Date | string | null;
2547
+ lastReminderSentAt?: Date | string | null;
2548
+ startDate?: Date | string | null;
2549
+ endDate?: Date | string | null;
2550
+ signedAt?: Date | string | null;
2551
+ terminatedAt?: Date | string | null;
2552
+ createdAt?: Date | string;
2553
+ updatedAt?: Date | string;
2554
+ supersededAt?: Date | string | null;
2555
+ tenant: Prisma.TenantCreateNestedOneWithoutApplicationsInput;
2556
+ propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutApplicationsInput;
2557
+ buyer: Prisma.UserCreateNestedOneWithoutApplicationsInput;
2558
+ seller?: Prisma.UserCreateNestedOneWithoutSoldApplicationsInput;
2559
+ paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutApplicationsInput;
2560
+ currentPhase?: Prisma.ApplicationPhaseCreateNestedOneWithoutCurrentForApplicationsInput;
2561
+ phases?: Prisma.ApplicationPhaseCreateNestedManyWithoutApplicationInput;
2562
+ documents?: Prisma.ApplicationDocumentCreateNestedManyWithoutApplicationInput;
2563
+ payments?: Prisma.ApplicationPaymentCreateNestedManyWithoutApplicationInput;
2564
+ terminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutApplicationInput;
2565
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutApplicationInput;
2566
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutApplicationInput;
2567
+ transferredFrom?: Prisma.ApplicationCreateNestedOneWithoutTransferredToInput;
2568
+ transferredTo?: Prisma.ApplicationCreateNestedOneWithoutTransferredFromInput;
2569
+ supersededBy?: Prisma.ApplicationCreateNestedOneWithoutSupersededApplicationsInput;
2570
+ supersededApplications?: Prisma.ApplicationCreateNestedManyWithoutSupersededByInput;
2571
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceApplicationInput;
2572
+ incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2573
+ events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2574
+ refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
2575
+ };
2576
+ export type ApplicationUncheckedCreateWithoutOrganizationsInput = {
2577
+ id?: string;
2578
+ tenantId: string;
2579
+ propertyUnitId: string;
2580
+ buyerId: string;
2581
+ sellerId?: string | null;
2582
+ paymentMethodId?: string | null;
2583
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2584
+ paymentMethodSnapshotAt?: Date | string | null;
2585
+ paymentMethodSnapshotHash?: string | null;
2586
+ applicationNumber: string;
2587
+ title: string;
2588
+ description?: string | null;
2589
+ applicationType: string;
2590
+ totalAmount: number;
2591
+ status?: $Enums.ApplicationStatus;
2592
+ currentPhaseId?: string | null;
2593
+ nextPaymentDueDate?: Date | string | null;
2594
+ lastReminderSentAt?: Date | string | null;
2595
+ startDate?: Date | string | null;
2596
+ endDate?: Date | string | null;
2597
+ signedAt?: Date | string | null;
2598
+ terminatedAt?: Date | string | null;
2599
+ createdAt?: Date | string;
2600
+ updatedAt?: Date | string;
2601
+ transferredFromId?: string | null;
2602
+ supersededById?: string | null;
2603
+ supersededAt?: Date | string | null;
2604
+ phases?: Prisma.ApplicationPhaseUncheckedCreateNestedManyWithoutApplicationInput;
2605
+ documents?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutApplicationInput;
2606
+ payments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutApplicationInput;
2607
+ terminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutApplicationInput;
2608
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutApplicationInput;
2609
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutApplicationInput;
2610
+ transferredTo?: Prisma.ApplicationUncheckedCreateNestedOneWithoutTransferredFromInput;
2611
+ supersededApplications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutSupersededByInput;
2612
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceApplicationInput;
2613
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2614
+ events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2615
+ refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
2616
+ };
2617
+ export type ApplicationCreateOrConnectWithoutOrganizationsInput = {
2618
+ where: Prisma.ApplicationWhereUniqueInput;
2619
+ create: Prisma.XOR<Prisma.ApplicationCreateWithoutOrganizationsInput, Prisma.ApplicationUncheckedCreateWithoutOrganizationsInput>;
2620
+ };
2621
+ export type ApplicationUpsertWithoutOrganizationsInput = {
2622
+ update: Prisma.XOR<Prisma.ApplicationUpdateWithoutOrganizationsInput, Prisma.ApplicationUncheckedUpdateWithoutOrganizationsInput>;
2623
+ create: Prisma.XOR<Prisma.ApplicationCreateWithoutOrganizationsInput, Prisma.ApplicationUncheckedCreateWithoutOrganizationsInput>;
2624
+ where?: Prisma.ApplicationWhereInput;
2625
+ };
2626
+ export type ApplicationUpdateToOneWithWhereWithoutOrganizationsInput = {
2627
+ where?: Prisma.ApplicationWhereInput;
2628
+ data: Prisma.XOR<Prisma.ApplicationUpdateWithoutOrganizationsInput, Prisma.ApplicationUncheckedUpdateWithoutOrganizationsInput>;
2629
+ };
2630
+ export type ApplicationUpdateWithoutOrganizationsInput = {
2631
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2632
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2633
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2634
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2635
+ applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2636
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2637
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2638
+ applicationType?: Prisma.StringFieldUpdateOperationsInput | string;
2639
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2640
+ status?: Prisma.EnumApplicationStatusFieldUpdateOperationsInput | $Enums.ApplicationStatus;
2641
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2642
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2643
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2644
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2645
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2646
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2647
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2648
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2649
+ supersededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2650
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationsNestedInput;
2651
+ propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutApplicationsNestedInput;
2652
+ buyer?: Prisma.UserUpdateOneRequiredWithoutApplicationsNestedInput;
2653
+ seller?: Prisma.UserUpdateOneWithoutSoldApplicationsNestedInput;
2654
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutApplicationsNestedInput;
2655
+ currentPhase?: Prisma.ApplicationPhaseUpdateOneWithoutCurrentForApplicationsNestedInput;
2656
+ phases?: Prisma.ApplicationPhaseUpdateManyWithoutApplicationNestedInput;
2657
+ documents?: Prisma.ApplicationDocumentUpdateManyWithoutApplicationNestedInput;
2658
+ payments?: Prisma.ApplicationPaymentUpdateManyWithoutApplicationNestedInput;
2659
+ terminations?: Prisma.ApplicationTerminationUpdateManyWithoutApplicationNestedInput;
2660
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutApplicationNestedInput;
2661
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutApplicationNestedInput;
2662
+ transferredFrom?: Prisma.ApplicationUpdateOneWithoutTransferredToNestedInput;
2663
+ transferredTo?: Prisma.ApplicationUpdateOneWithoutTransferredFromNestedInput;
2664
+ supersededBy?: Prisma.ApplicationUpdateOneWithoutSupersededApplicationsNestedInput;
2665
+ supersededApplications?: Prisma.ApplicationUpdateManyWithoutSupersededByNestedInput;
2666
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceApplicationNestedInput;
2667
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2668
+ events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2669
+ refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
2670
+ };
2671
+ export type ApplicationUncheckedUpdateWithoutOrganizationsInput = {
2672
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2673
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2674
+ propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
2675
+ buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2676
+ sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2677
+ paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2678
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2679
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2680
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2681
+ applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2682
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
2683
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2684
+ applicationType?: Prisma.StringFieldUpdateOperationsInput | string;
2685
+ totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
2686
+ status?: Prisma.EnumApplicationStatusFieldUpdateOperationsInput | $Enums.ApplicationStatus;
2687
+ currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2688
+ nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2689
+ lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2690
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2691
+ endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2692
+ signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2693
+ terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2694
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2695
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2696
+ transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2697
+ supersededById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2698
+ supersededAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2699
+ phases?: Prisma.ApplicationPhaseUncheckedUpdateManyWithoutApplicationNestedInput;
2700
+ documents?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutApplicationNestedInput;
2701
+ payments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutApplicationNestedInput;
2702
+ terminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutApplicationNestedInput;
2703
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutApplicationNestedInput;
2704
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutApplicationNestedInput;
2705
+ transferredTo?: Prisma.ApplicationUncheckedUpdateOneWithoutTransferredFromNestedInput;
2706
+ supersededApplications?: Prisma.ApplicationUncheckedUpdateManyWithoutSupersededByNestedInput;
2707
+ outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceApplicationNestedInput;
2708
+ incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2709
+ events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2710
+ refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
2711
+ };
2357
2712
  export type ApplicationCreateWithoutRefundsInput = {
2358
2713
  id?: string;
2714
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2715
+ paymentMethodSnapshotAt?: Date | string | null;
2716
+ paymentMethodSnapshotHash?: string | null;
2359
2717
  applicationNumber: string;
2360
2718
  title: string;
2361
2719
  description?: string | null;
@@ -2390,6 +2748,7 @@ export type ApplicationCreateWithoutRefundsInput = {
2390
2748
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceApplicationInput;
2391
2749
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2392
2750
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2751
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2393
2752
  };
2394
2753
  export type ApplicationUncheckedCreateWithoutRefundsInput = {
2395
2754
  id?: string;
@@ -2398,6 +2757,9 @@ export type ApplicationUncheckedCreateWithoutRefundsInput = {
2398
2757
  buyerId: string;
2399
2758
  sellerId?: string | null;
2400
2759
  paymentMethodId?: string | null;
2760
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2761
+ paymentMethodSnapshotAt?: Date | string | null;
2762
+ paymentMethodSnapshotHash?: string | null;
2401
2763
  applicationNumber: string;
2402
2764
  title: string;
2403
2765
  description?: string | null;
@@ -2427,6 +2789,7 @@ export type ApplicationUncheckedCreateWithoutRefundsInput = {
2427
2789
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceApplicationInput;
2428
2790
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2429
2791
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2792
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2430
2793
  };
2431
2794
  export type ApplicationCreateOrConnectWithoutRefundsInput = {
2432
2795
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2443,6 +2806,9 @@ export type ApplicationUpdateToOneWithWhereWithoutRefundsInput = {
2443
2806
  };
2444
2807
  export type ApplicationUpdateWithoutRefundsInput = {
2445
2808
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2809
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2810
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2811
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2446
2812
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2447
2813
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2448
2814
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2477,6 +2843,7 @@ export type ApplicationUpdateWithoutRefundsInput = {
2477
2843
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceApplicationNestedInput;
2478
2844
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2479
2845
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2846
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2480
2847
  };
2481
2848
  export type ApplicationUncheckedUpdateWithoutRefundsInput = {
2482
2849
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2485,6 +2852,9 @@ export type ApplicationUncheckedUpdateWithoutRefundsInput = {
2485
2852
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2486
2853
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2487
2854
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2855
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2856
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2857
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2488
2858
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2489
2859
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2490
2860
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2514,9 +2884,13 @@ export type ApplicationUncheckedUpdateWithoutRefundsInput = {
2514
2884
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceApplicationNestedInput;
2515
2885
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2516
2886
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2887
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2517
2888
  };
2518
2889
  export type ApplicationCreateWithoutPhasesInput = {
2519
2890
  id?: string;
2891
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2892
+ paymentMethodSnapshotAt?: Date | string | null;
2893
+ paymentMethodSnapshotHash?: string | null;
2520
2894
  applicationNumber: string;
2521
2895
  title: string;
2522
2896
  description?: string | null;
@@ -2551,6 +2925,7 @@ export type ApplicationCreateWithoutPhasesInput = {
2551
2925
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2552
2926
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2553
2927
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
2928
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2554
2929
  };
2555
2930
  export type ApplicationUncheckedCreateWithoutPhasesInput = {
2556
2931
  id?: string;
@@ -2559,6 +2934,9 @@ export type ApplicationUncheckedCreateWithoutPhasesInput = {
2559
2934
  buyerId: string;
2560
2935
  sellerId?: string | null;
2561
2936
  paymentMethodId?: string | null;
2937
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2938
+ paymentMethodSnapshotAt?: Date | string | null;
2939
+ paymentMethodSnapshotHash?: string | null;
2562
2940
  applicationNumber: string;
2563
2941
  title: string;
2564
2942
  description?: string | null;
@@ -2588,6 +2966,7 @@ export type ApplicationUncheckedCreateWithoutPhasesInput = {
2588
2966
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2589
2967
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2590
2968
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
2969
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2591
2970
  };
2592
2971
  export type ApplicationCreateOrConnectWithoutPhasesInput = {
2593
2972
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2595,6 +2974,9 @@ export type ApplicationCreateOrConnectWithoutPhasesInput = {
2595
2974
  };
2596
2975
  export type ApplicationCreateWithoutCurrentPhaseInput = {
2597
2976
  id?: string;
2977
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2978
+ paymentMethodSnapshotAt?: Date | string | null;
2979
+ paymentMethodSnapshotHash?: string | null;
2598
2980
  applicationNumber: string;
2599
2981
  title: string;
2600
2982
  description?: string | null;
@@ -2629,6 +3011,7 @@ export type ApplicationCreateWithoutCurrentPhaseInput = {
2629
3011
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2630
3012
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2631
3013
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3014
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2632
3015
  };
2633
3016
  export type ApplicationUncheckedCreateWithoutCurrentPhaseInput = {
2634
3017
  id?: string;
@@ -2637,6 +3020,9 @@ export type ApplicationUncheckedCreateWithoutCurrentPhaseInput = {
2637
3020
  buyerId: string;
2638
3021
  sellerId?: string | null;
2639
3022
  paymentMethodId?: string | null;
3023
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3024
+ paymentMethodSnapshotAt?: Date | string | null;
3025
+ paymentMethodSnapshotHash?: string | null;
2640
3026
  applicationNumber: string;
2641
3027
  title: string;
2642
3028
  description?: string | null;
@@ -2666,6 +3052,7 @@ export type ApplicationUncheckedCreateWithoutCurrentPhaseInput = {
2666
3052
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2667
3053
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
2668
3054
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3055
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2669
3056
  };
2670
3057
  export type ApplicationCreateOrConnectWithoutCurrentPhaseInput = {
2671
3058
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2686,6 +3073,9 @@ export type ApplicationUpdateToOneWithWhereWithoutPhasesInput = {
2686
3073
  };
2687
3074
  export type ApplicationUpdateWithoutPhasesInput = {
2688
3075
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3076
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3077
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3078
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2689
3079
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2690
3080
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2691
3081
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2720,6 +3110,7 @@ export type ApplicationUpdateWithoutPhasesInput = {
2720
3110
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2721
3111
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
2722
3112
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
3113
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2723
3114
  };
2724
3115
  export type ApplicationUncheckedUpdateWithoutPhasesInput = {
2725
3116
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2728,6 +3119,9 @@ export type ApplicationUncheckedUpdateWithoutPhasesInput = {
2728
3119
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2729
3120
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2730
3121
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3122
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3123
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3124
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2731
3125
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2732
3126
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2733
3127
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2757,6 +3151,7 @@ export type ApplicationUncheckedUpdateWithoutPhasesInput = {
2757
3151
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2758
3152
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
2759
3153
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
3154
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2760
3155
  };
2761
3156
  export type ApplicationUpsertWithWhereUniqueWithoutCurrentPhaseInput = {
2762
3157
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2773,6 +3168,9 @@ export type ApplicationUpdateManyWithWhereWithoutCurrentPhaseInput = {
2773
3168
  };
2774
3169
  export type ApplicationCreateWithoutEventsInput = {
2775
3170
  id?: string;
3171
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3172
+ paymentMethodSnapshotAt?: Date | string | null;
3173
+ paymentMethodSnapshotHash?: string | null;
2776
3174
  applicationNumber: string;
2777
3175
  title: string;
2778
3176
  description?: string | null;
@@ -2807,6 +3205,7 @@ export type ApplicationCreateWithoutEventsInput = {
2807
3205
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceApplicationInput;
2808
3206
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2809
3207
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3208
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2810
3209
  };
2811
3210
  export type ApplicationUncheckedCreateWithoutEventsInput = {
2812
3211
  id?: string;
@@ -2815,6 +3214,9 @@ export type ApplicationUncheckedCreateWithoutEventsInput = {
2815
3214
  buyerId: string;
2816
3215
  sellerId?: string | null;
2817
3216
  paymentMethodId?: string | null;
3217
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3218
+ paymentMethodSnapshotAt?: Date | string | null;
3219
+ paymentMethodSnapshotHash?: string | null;
2818
3220
  applicationNumber: string;
2819
3221
  title: string;
2820
3222
  description?: string | null;
@@ -2844,6 +3246,7 @@ export type ApplicationUncheckedCreateWithoutEventsInput = {
2844
3246
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceApplicationInput;
2845
3247
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
2846
3248
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3249
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
2847
3250
  };
2848
3251
  export type ApplicationCreateOrConnectWithoutEventsInput = {
2849
3252
  where: Prisma.ApplicationWhereUniqueInput;
@@ -2860,6 +3263,9 @@ export type ApplicationUpdateToOneWithWhereWithoutEventsInput = {
2860
3263
  };
2861
3264
  export type ApplicationUpdateWithoutEventsInput = {
2862
3265
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3266
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3267
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3268
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2863
3269
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2864
3270
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2865
3271
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2894,6 +3300,7 @@ export type ApplicationUpdateWithoutEventsInput = {
2894
3300
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceApplicationNestedInput;
2895
3301
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
2896
3302
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
3303
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
2897
3304
  };
2898
3305
  export type ApplicationUncheckedUpdateWithoutEventsInput = {
2899
3306
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2902,6 +3309,9 @@ export type ApplicationUncheckedUpdateWithoutEventsInput = {
2902
3309
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
2903
3310
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2904
3311
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3312
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3313
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3314
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2905
3315
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
2906
3316
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2907
3317
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2931,9 +3341,13 @@ export type ApplicationUncheckedUpdateWithoutEventsInput = {
2931
3341
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceApplicationNestedInput;
2932
3342
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
2933
3343
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
3344
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
2934
3345
  };
2935
3346
  export type ApplicationCreateWithoutPaymentsInput = {
2936
3347
  id?: string;
3348
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3349
+ paymentMethodSnapshotAt?: Date | string | null;
3350
+ paymentMethodSnapshotHash?: string | null;
2937
3351
  applicationNumber: string;
2938
3352
  title: string;
2939
3353
  description?: string | null;
@@ -2968,6 +3382,7 @@ export type ApplicationCreateWithoutPaymentsInput = {
2968
3382
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
2969
3383
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
2970
3384
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3385
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
2971
3386
  };
2972
3387
  export type ApplicationUncheckedCreateWithoutPaymentsInput = {
2973
3388
  id?: string;
@@ -2976,6 +3391,9 @@ export type ApplicationUncheckedCreateWithoutPaymentsInput = {
2976
3391
  buyerId: string;
2977
3392
  sellerId?: string | null;
2978
3393
  paymentMethodId?: string | null;
3394
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3395
+ paymentMethodSnapshotAt?: Date | string | null;
3396
+ paymentMethodSnapshotHash?: string | null;
2979
3397
  applicationNumber: string;
2980
3398
  title: string;
2981
3399
  description?: string | null;
@@ -3005,6 +3423,7 @@ export type ApplicationUncheckedCreateWithoutPaymentsInput = {
3005
3423
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3006
3424
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3007
3425
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3426
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3008
3427
  };
3009
3428
  export type ApplicationCreateOrConnectWithoutPaymentsInput = {
3010
3429
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3021,6 +3440,9 @@ export type ApplicationUpdateToOneWithWhereWithoutPaymentsInput = {
3021
3440
  };
3022
3441
  export type ApplicationUpdateWithoutPaymentsInput = {
3023
3442
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3443
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3444
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3445
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3024
3446
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3025
3447
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3026
3448
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3055,6 +3477,7 @@ export type ApplicationUpdateWithoutPaymentsInput = {
3055
3477
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3056
3478
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3057
3479
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
3480
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3058
3481
  };
3059
3482
  export type ApplicationUncheckedUpdateWithoutPaymentsInput = {
3060
3483
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3063,6 +3486,9 @@ export type ApplicationUncheckedUpdateWithoutPaymentsInput = {
3063
3486
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3064
3487
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3065
3488
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3489
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3490
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3491
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3066
3492
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3067
3493
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3068
3494
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3092,9 +3518,13 @@ export type ApplicationUncheckedUpdateWithoutPaymentsInput = {
3092
3518
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3093
3519
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3094
3520
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
3521
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3095
3522
  };
3096
3523
  export type ApplicationCreateWithoutDocumentsInput = {
3097
3524
  id?: string;
3525
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3526
+ paymentMethodSnapshotAt?: Date | string | null;
3527
+ paymentMethodSnapshotHash?: string | null;
3098
3528
  applicationNumber: string;
3099
3529
  title: string;
3100
3530
  description?: string | null;
@@ -3129,6 +3559,7 @@ export type ApplicationCreateWithoutDocumentsInput = {
3129
3559
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
3130
3560
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3131
3561
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3562
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3132
3563
  };
3133
3564
  export type ApplicationUncheckedCreateWithoutDocumentsInput = {
3134
3565
  id?: string;
@@ -3137,6 +3568,9 @@ export type ApplicationUncheckedCreateWithoutDocumentsInput = {
3137
3568
  buyerId: string;
3138
3569
  sellerId?: string | null;
3139
3570
  paymentMethodId?: string | null;
3571
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3572
+ paymentMethodSnapshotAt?: Date | string | null;
3573
+ paymentMethodSnapshotHash?: string | null;
3140
3574
  applicationNumber: string;
3141
3575
  title: string;
3142
3576
  description?: string | null;
@@ -3166,6 +3600,7 @@ export type ApplicationUncheckedCreateWithoutDocumentsInput = {
3166
3600
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3167
3601
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3168
3602
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3603
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3169
3604
  };
3170
3605
  export type ApplicationCreateOrConnectWithoutDocumentsInput = {
3171
3606
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3182,6 +3617,9 @@ export type ApplicationUpdateToOneWithWhereWithoutDocumentsInput = {
3182
3617
  };
3183
3618
  export type ApplicationUpdateWithoutDocumentsInput = {
3184
3619
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3620
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3621
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3622
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3185
3623
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3186
3624
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3187
3625
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3216,6 +3654,7 @@ export type ApplicationUpdateWithoutDocumentsInput = {
3216
3654
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3217
3655
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3218
3656
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
3657
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3219
3658
  };
3220
3659
  export type ApplicationUncheckedUpdateWithoutDocumentsInput = {
3221
3660
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3224,6 +3663,9 @@ export type ApplicationUncheckedUpdateWithoutDocumentsInput = {
3224
3663
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3225
3664
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3226
3665
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3666
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3667
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3668
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3227
3669
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3228
3670
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3229
3671
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3253,9 +3695,13 @@ export type ApplicationUncheckedUpdateWithoutDocumentsInput = {
3253
3695
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3254
3696
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3255
3697
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
3698
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3256
3699
  };
3257
3700
  export type ApplicationCreateWithoutOfferLettersInput = {
3258
3701
  id?: string;
3702
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3703
+ paymentMethodSnapshotAt?: Date | string | null;
3704
+ paymentMethodSnapshotHash?: string | null;
3259
3705
  applicationNumber: string;
3260
3706
  title: string;
3261
3707
  description?: string | null;
@@ -3290,6 +3736,7 @@ export type ApplicationCreateWithoutOfferLettersInput = {
3290
3736
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
3291
3737
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3292
3738
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3739
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3293
3740
  };
3294
3741
  export type ApplicationUncheckedCreateWithoutOfferLettersInput = {
3295
3742
  id?: string;
@@ -3298,6 +3745,9 @@ export type ApplicationUncheckedCreateWithoutOfferLettersInput = {
3298
3745
  buyerId: string;
3299
3746
  sellerId?: string | null;
3300
3747
  paymentMethodId?: string | null;
3748
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3749
+ paymentMethodSnapshotAt?: Date | string | null;
3750
+ paymentMethodSnapshotHash?: string | null;
3301
3751
  applicationNumber: string;
3302
3752
  title: string;
3303
3753
  description?: string | null;
@@ -3327,6 +3777,7 @@ export type ApplicationUncheckedCreateWithoutOfferLettersInput = {
3327
3777
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3328
3778
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3329
3779
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3780
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3330
3781
  };
3331
3782
  export type ApplicationCreateOrConnectWithoutOfferLettersInput = {
3332
3783
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3343,6 +3794,9 @@ export type ApplicationUpdateToOneWithWhereWithoutOfferLettersInput = {
3343
3794
  };
3344
3795
  export type ApplicationUpdateWithoutOfferLettersInput = {
3345
3796
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3797
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3798
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3799
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3346
3800
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3347
3801
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3348
3802
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3377,6 +3831,7 @@ export type ApplicationUpdateWithoutOfferLettersInput = {
3377
3831
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3378
3832
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3379
3833
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
3834
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3380
3835
  };
3381
3836
  export type ApplicationUncheckedUpdateWithoutOfferLettersInput = {
3382
3837
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3385,6 +3840,9 @@ export type ApplicationUncheckedUpdateWithoutOfferLettersInput = {
3385
3840
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3386
3841
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3387
3842
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3843
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3844
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3845
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3388
3846
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3389
3847
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3390
3848
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3414,9 +3872,13 @@ export type ApplicationUncheckedUpdateWithoutOfferLettersInput = {
3414
3872
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3415
3873
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3416
3874
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
3875
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3417
3876
  };
3418
3877
  export type ApplicationCreateWithoutTerminationsInput = {
3419
3878
  id?: string;
3879
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3880
+ paymentMethodSnapshotAt?: Date | string | null;
3881
+ paymentMethodSnapshotHash?: string | null;
3420
3882
  applicationNumber: string;
3421
3883
  title: string;
3422
3884
  description?: string | null;
@@ -3451,6 +3913,7 @@ export type ApplicationCreateWithoutTerminationsInput = {
3451
3913
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
3452
3914
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3453
3915
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
3916
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3454
3917
  };
3455
3918
  export type ApplicationUncheckedCreateWithoutTerminationsInput = {
3456
3919
  id?: string;
@@ -3459,6 +3922,9 @@ export type ApplicationUncheckedCreateWithoutTerminationsInput = {
3459
3922
  buyerId: string;
3460
3923
  sellerId?: string | null;
3461
3924
  paymentMethodId?: string | null;
3925
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3926
+ paymentMethodSnapshotAt?: Date | string | null;
3927
+ paymentMethodSnapshotHash?: string | null;
3462
3928
  applicationNumber: string;
3463
3929
  title: string;
3464
3930
  description?: string | null;
@@ -3488,6 +3954,7 @@ export type ApplicationUncheckedCreateWithoutTerminationsInput = {
3488
3954
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3489
3955
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3490
3956
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
3957
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3491
3958
  };
3492
3959
  export type ApplicationCreateOrConnectWithoutTerminationsInput = {
3493
3960
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3504,6 +3971,9 @@ export type ApplicationUpdateToOneWithWhereWithoutTerminationsInput = {
3504
3971
  };
3505
3972
  export type ApplicationUpdateWithoutTerminationsInput = {
3506
3973
  id?: Prisma.StringFieldUpdateOperationsInput | string;
3974
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
3975
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3976
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3507
3977
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3508
3978
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3509
3979
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3538,6 +4008,7 @@ export type ApplicationUpdateWithoutTerminationsInput = {
3538
4008
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3539
4009
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3540
4010
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4011
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3541
4012
  };
3542
4013
  export type ApplicationUncheckedUpdateWithoutTerminationsInput = {
3543
4014
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3546,6 +4017,9 @@ export type ApplicationUncheckedUpdateWithoutTerminationsInput = {
3546
4017
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3547
4018
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3548
4019
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4020
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4021
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4022
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3549
4023
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3550
4024
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3551
4025
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3575,9 +4049,13 @@ export type ApplicationUncheckedUpdateWithoutTerminationsInput = {
3575
4049
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3576
4050
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3577
4051
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4052
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3578
4053
  };
3579
4054
  export type ApplicationCreateWithoutPaymentMethodChangeRequestsInput = {
3580
4055
  id?: string;
4056
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4057
+ paymentMethodSnapshotAt?: Date | string | null;
4058
+ paymentMethodSnapshotHash?: string | null;
3581
4059
  applicationNumber: string;
3582
4060
  title: string;
3583
4061
  description?: string | null;
@@ -3612,6 +4090,7 @@ export type ApplicationCreateWithoutPaymentMethodChangeRequestsInput = {
3612
4090
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
3613
4091
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3614
4092
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
4093
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3615
4094
  };
3616
4095
  export type ApplicationUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
3617
4096
  id?: string;
@@ -3620,6 +4099,9 @@ export type ApplicationUncheckedCreateWithoutPaymentMethodChangeRequestsInput =
3620
4099
  buyerId: string;
3621
4100
  sellerId?: string | null;
3622
4101
  paymentMethodId?: string | null;
4102
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4103
+ paymentMethodSnapshotAt?: Date | string | null;
4104
+ paymentMethodSnapshotHash?: string | null;
3623
4105
  applicationNumber: string;
3624
4106
  title: string;
3625
4107
  description?: string | null;
@@ -3649,6 +4131,7 @@ export type ApplicationUncheckedCreateWithoutPaymentMethodChangeRequestsInput =
3649
4131
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3650
4132
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3651
4133
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
4134
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3652
4135
  };
3653
4136
  export type ApplicationCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
3654
4137
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3665,6 +4148,9 @@ export type ApplicationUpdateToOneWithWhereWithoutPaymentMethodChangeRequestsInp
3665
4148
  };
3666
4149
  export type ApplicationUpdateWithoutPaymentMethodChangeRequestsInput = {
3667
4150
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4151
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4152
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4153
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3668
4154
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3669
4155
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3670
4156
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3699,6 +4185,7 @@ export type ApplicationUpdateWithoutPaymentMethodChangeRequestsInput = {
3699
4185
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3700
4186
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3701
4187
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4188
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3702
4189
  };
3703
4190
  export type ApplicationUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
3704
4191
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3707,6 +4194,9 @@ export type ApplicationUncheckedUpdateWithoutPaymentMethodChangeRequestsInput =
3707
4194
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3708
4195
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3709
4196
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4197
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4198
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4199
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3710
4200
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3711
4201
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3712
4202
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3736,9 +4226,13 @@ export type ApplicationUncheckedUpdateWithoutPaymentMethodChangeRequestsInput =
3736
4226
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3737
4227
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3738
4228
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4229
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3739
4230
  };
3740
4231
  export type ApplicationCreateWithoutOutgoingTransferRequestsInput = {
3741
4232
  id?: string;
4233
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4234
+ paymentMethodSnapshotAt?: Date | string | null;
4235
+ paymentMethodSnapshotHash?: string | null;
3742
4236
  applicationNumber: string;
3743
4237
  title: string;
3744
4238
  description?: string | null;
@@ -3773,6 +4267,7 @@ export type ApplicationCreateWithoutOutgoingTransferRequestsInput = {
3773
4267
  incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetApplicationInput;
3774
4268
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3775
4269
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
4270
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3776
4271
  };
3777
4272
  export type ApplicationUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3778
4273
  id?: string;
@@ -3781,6 +4276,9 @@ export type ApplicationUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3781
4276
  buyerId: string;
3782
4277
  sellerId?: string | null;
3783
4278
  paymentMethodId?: string | null;
4279
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4280
+ paymentMethodSnapshotAt?: Date | string | null;
4281
+ paymentMethodSnapshotHash?: string | null;
3784
4282
  applicationNumber: string;
3785
4283
  title: string;
3786
4284
  description?: string | null;
@@ -3810,6 +4308,7 @@ export type ApplicationUncheckedCreateWithoutOutgoingTransferRequestsInput = {
3810
4308
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetApplicationInput;
3811
4309
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3812
4310
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
4311
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3813
4312
  };
3814
4313
  export type ApplicationCreateOrConnectWithoutOutgoingTransferRequestsInput = {
3815
4314
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3817,6 +4316,9 @@ export type ApplicationCreateOrConnectWithoutOutgoingTransferRequestsInput = {
3817
4316
  };
3818
4317
  export type ApplicationCreateWithoutIncomingTransferRequestsInput = {
3819
4318
  id?: string;
4319
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4320
+ paymentMethodSnapshotAt?: Date | string | null;
4321
+ paymentMethodSnapshotHash?: string | null;
3820
4322
  applicationNumber: string;
3821
4323
  title: string;
3822
4324
  description?: string | null;
@@ -3851,6 +4353,7 @@ export type ApplicationCreateWithoutIncomingTransferRequestsInput = {
3851
4353
  outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceApplicationInput;
3852
4354
  events?: Prisma.ApplicationEventCreateNestedManyWithoutApplicationInput;
3853
4355
  refunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApplicationInput;
4356
+ organizations?: Prisma.ApplicationOrganizationCreateNestedManyWithoutApplicationInput;
3854
4357
  };
3855
4358
  export type ApplicationUncheckedCreateWithoutIncomingTransferRequestsInput = {
3856
4359
  id?: string;
@@ -3859,6 +4362,9 @@ export type ApplicationUncheckedCreateWithoutIncomingTransferRequestsInput = {
3859
4362
  buyerId: string;
3860
4363
  sellerId?: string | null;
3861
4364
  paymentMethodId?: string | null;
4365
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4366
+ paymentMethodSnapshotAt?: Date | string | null;
4367
+ paymentMethodSnapshotHash?: string | null;
3862
4368
  applicationNumber: string;
3863
4369
  title: string;
3864
4370
  description?: string | null;
@@ -3888,6 +4394,7 @@ export type ApplicationUncheckedCreateWithoutIncomingTransferRequestsInput = {
3888
4394
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceApplicationInput;
3889
4395
  events?: Prisma.ApplicationEventUncheckedCreateNestedManyWithoutApplicationInput;
3890
4396
  refunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApplicationInput;
4397
+ organizations?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutApplicationInput;
3891
4398
  };
3892
4399
  export type ApplicationCreateOrConnectWithoutIncomingTransferRequestsInput = {
3893
4400
  where: Prisma.ApplicationWhereUniqueInput;
@@ -3904,6 +4411,9 @@ export type ApplicationUpdateToOneWithWhereWithoutOutgoingTransferRequestsInput
3904
4411
  };
3905
4412
  export type ApplicationUpdateWithoutOutgoingTransferRequestsInput = {
3906
4413
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4414
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4415
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4416
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3907
4417
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3908
4418
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3909
4419
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3938,6 +4448,7 @@ export type ApplicationUpdateWithoutOutgoingTransferRequestsInput = {
3938
4448
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
3939
4449
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
3940
4450
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4451
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
3941
4452
  };
3942
4453
  export type ApplicationUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
3943
4454
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3946,6 +4457,9 @@ export type ApplicationUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
3946
4457
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
3947
4458
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3948
4459
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4460
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4461
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4462
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3949
4463
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3950
4464
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3951
4465
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -3975,6 +4489,7 @@ export type ApplicationUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
3975
4489
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
3976
4490
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
3977
4491
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4492
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
3978
4493
  };
3979
4494
  export type ApplicationUpsertWithoutIncomingTransferRequestsInput = {
3980
4495
  update: Prisma.XOR<Prisma.ApplicationUpdateWithoutIncomingTransferRequestsInput, Prisma.ApplicationUncheckedUpdateWithoutIncomingTransferRequestsInput>;
@@ -3987,6 +4502,9 @@ export type ApplicationUpdateToOneWithWhereWithoutIncomingTransferRequestsInput
3987
4502
  };
3988
4503
  export type ApplicationUpdateWithoutIncomingTransferRequestsInput = {
3989
4504
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4505
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4506
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4507
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
3990
4508
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
3991
4509
  title?: Prisma.StringFieldUpdateOperationsInput | string;
3992
4510
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4021,6 +4539,7 @@ export type ApplicationUpdateWithoutIncomingTransferRequestsInput = {
4021
4539
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceApplicationNestedInput;
4022
4540
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4023
4541
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4542
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4024
4543
  };
4025
4544
  export type ApplicationUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4026
4545
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4029,6 +4548,9 @@ export type ApplicationUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4029
4548
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4030
4549
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4031
4550
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4551
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4552
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4553
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4032
4554
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4033
4555
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4034
4556
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4058,6 +4580,7 @@ export type ApplicationUncheckedUpdateWithoutIncomingTransferRequestsInput = {
4058
4580
  outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceApplicationNestedInput;
4059
4581
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4060
4582
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4583
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4061
4584
  };
4062
4585
  export type ApplicationCreateManyBuyerInput = {
4063
4586
  id?: string;
@@ -4065,6 +4588,9 @@ export type ApplicationCreateManyBuyerInput = {
4065
4588
  propertyUnitId: string;
4066
4589
  sellerId?: string | null;
4067
4590
  paymentMethodId?: string | null;
4591
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4592
+ paymentMethodSnapshotAt?: Date | string | null;
4593
+ paymentMethodSnapshotHash?: string | null;
4068
4594
  applicationNumber: string;
4069
4595
  title: string;
4070
4596
  description?: string | null;
@@ -4090,6 +4616,9 @@ export type ApplicationCreateManySellerInput = {
4090
4616
  propertyUnitId: string;
4091
4617
  buyerId: string;
4092
4618
  paymentMethodId?: string | null;
4619
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4620
+ paymentMethodSnapshotAt?: Date | string | null;
4621
+ paymentMethodSnapshotHash?: string | null;
4093
4622
  applicationNumber: string;
4094
4623
  title: string;
4095
4624
  description?: string | null;
@@ -4111,6 +4640,9 @@ export type ApplicationCreateManySellerInput = {
4111
4640
  };
4112
4641
  export type ApplicationUpdateWithoutBuyerInput = {
4113
4642
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4643
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4644
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4645
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4114
4646
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4115
4647
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4116
4648
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4145,6 +4677,7 @@ export type ApplicationUpdateWithoutBuyerInput = {
4145
4677
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4146
4678
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4147
4679
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4680
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4148
4681
  };
4149
4682
  export type ApplicationUncheckedUpdateWithoutBuyerInput = {
4150
4683
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4152,6 +4685,9 @@ export type ApplicationUncheckedUpdateWithoutBuyerInput = {
4152
4685
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4153
4686
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4154
4687
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4688
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4689
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4690
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4155
4691
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4156
4692
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4157
4693
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4182,6 +4718,7 @@ export type ApplicationUncheckedUpdateWithoutBuyerInput = {
4182
4718
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4183
4719
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4184
4720
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4721
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4185
4722
  };
4186
4723
  export type ApplicationUncheckedUpdateManyWithoutBuyerInput = {
4187
4724
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4189,6 +4726,9 @@ export type ApplicationUncheckedUpdateManyWithoutBuyerInput = {
4189
4726
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4190
4727
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4191
4728
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4729
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4730
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4731
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4192
4732
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4193
4733
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4194
4734
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4210,6 +4750,9 @@ export type ApplicationUncheckedUpdateManyWithoutBuyerInput = {
4210
4750
  };
4211
4751
  export type ApplicationUpdateWithoutSellerInput = {
4212
4752
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4753
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4754
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4755
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4213
4756
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4214
4757
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4215
4758
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4244,6 +4787,7 @@ export type ApplicationUpdateWithoutSellerInput = {
4244
4787
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4245
4788
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4246
4789
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4790
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4247
4791
  };
4248
4792
  export type ApplicationUncheckedUpdateWithoutSellerInput = {
4249
4793
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4251,6 +4795,9 @@ export type ApplicationUncheckedUpdateWithoutSellerInput = {
4251
4795
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4252
4796
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4253
4797
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4798
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4799
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4800
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4254
4801
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4255
4802
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4256
4803
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4281,6 +4828,7 @@ export type ApplicationUncheckedUpdateWithoutSellerInput = {
4281
4828
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4282
4829
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4283
4830
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4831
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4284
4832
  };
4285
4833
  export type ApplicationUncheckedUpdateManyWithoutSellerInput = {
4286
4834
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4288,6 +4836,9 @@ export type ApplicationUncheckedUpdateManyWithoutSellerInput = {
4288
4836
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4289
4837
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4290
4838
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4839
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4840
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4841
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4291
4842
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4292
4843
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4293
4844
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4313,6 +4864,9 @@ export type ApplicationCreateManyTenantInput = {
4313
4864
  buyerId: string;
4314
4865
  sellerId?: string | null;
4315
4866
  paymentMethodId?: string | null;
4867
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4868
+ paymentMethodSnapshotAt?: Date | string | null;
4869
+ paymentMethodSnapshotHash?: string | null;
4316
4870
  applicationNumber: string;
4317
4871
  title: string;
4318
4872
  description?: string | null;
@@ -4334,6 +4888,9 @@ export type ApplicationCreateManyTenantInput = {
4334
4888
  };
4335
4889
  export type ApplicationUpdateWithoutTenantInput = {
4336
4890
  id?: Prisma.StringFieldUpdateOperationsInput | string;
4891
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4892
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4893
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4337
4894
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4338
4895
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4339
4896
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4368,6 +4925,7 @@ export type ApplicationUpdateWithoutTenantInput = {
4368
4925
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4369
4926
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4370
4927
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
4928
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4371
4929
  };
4372
4930
  export type ApplicationUncheckedUpdateWithoutTenantInput = {
4373
4931
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4375,6 +4933,9 @@ export type ApplicationUncheckedUpdateWithoutTenantInput = {
4375
4933
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4376
4934
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4377
4935
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4936
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4937
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4938
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4378
4939
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4379
4940
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4380
4941
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4405,6 +4966,7 @@ export type ApplicationUncheckedUpdateWithoutTenantInput = {
4405
4966
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4406
4967
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4407
4968
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
4969
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4408
4970
  };
4409
4971
  export type ApplicationUncheckedUpdateManyWithoutTenantInput = {
4410
4972
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4412,6 +4974,9 @@ export type ApplicationUncheckedUpdateManyWithoutTenantInput = {
4412
4974
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4413
4975
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4414
4976
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4977
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
4978
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
4979
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4415
4980
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4416
4981
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4417
4982
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4437,6 +5002,9 @@ export type ApplicationCreateManyPropertyUnitInput = {
4437
5002
  buyerId: string;
4438
5003
  sellerId?: string | null;
4439
5004
  paymentMethodId?: string | null;
5005
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5006
+ paymentMethodSnapshotAt?: Date | string | null;
5007
+ paymentMethodSnapshotHash?: string | null;
4440
5008
  applicationNumber: string;
4441
5009
  title: string;
4442
5010
  description?: string | null;
@@ -4458,6 +5026,9 @@ export type ApplicationCreateManyPropertyUnitInput = {
4458
5026
  };
4459
5027
  export type ApplicationUpdateWithoutPropertyUnitInput = {
4460
5028
  id?: Prisma.StringFieldUpdateOperationsInput | string;
5029
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5030
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5031
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4461
5032
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4462
5033
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4463
5034
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4492,6 +5063,7 @@ export type ApplicationUpdateWithoutPropertyUnitInput = {
4492
5063
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4493
5064
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4494
5065
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
5066
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4495
5067
  };
4496
5068
  export type ApplicationUncheckedUpdateWithoutPropertyUnitInput = {
4497
5069
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4499,6 +5071,9 @@ export type ApplicationUncheckedUpdateWithoutPropertyUnitInput = {
4499
5071
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4500
5072
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4501
5073
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5074
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5075
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5076
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4502
5077
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4503
5078
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4504
5079
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4529,6 +5104,7 @@ export type ApplicationUncheckedUpdateWithoutPropertyUnitInput = {
4529
5104
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4530
5105
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4531
5106
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
5107
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4532
5108
  };
4533
5109
  export type ApplicationUncheckedUpdateManyWithoutPropertyUnitInput = {
4534
5110
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4536,6 +5112,9 @@ export type ApplicationUncheckedUpdateManyWithoutPropertyUnitInput = {
4536
5112
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4537
5113
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4538
5114
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5115
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5116
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5117
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4539
5118
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4540
5119
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4541
5120
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4561,6 +5140,9 @@ export type ApplicationCreateManyPaymentMethodInput = {
4561
5140
  propertyUnitId: string;
4562
5141
  buyerId: string;
4563
5142
  sellerId?: string | null;
5143
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5144
+ paymentMethodSnapshotAt?: Date | string | null;
5145
+ paymentMethodSnapshotHash?: string | null;
4564
5146
  applicationNumber: string;
4565
5147
  title: string;
4566
5148
  description?: string | null;
@@ -4582,6 +5164,9 @@ export type ApplicationCreateManyPaymentMethodInput = {
4582
5164
  };
4583
5165
  export type ApplicationUpdateWithoutPaymentMethodInput = {
4584
5166
  id?: Prisma.StringFieldUpdateOperationsInput | string;
5167
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5168
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5169
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4585
5170
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4586
5171
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4587
5172
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4616,6 +5201,7 @@ export type ApplicationUpdateWithoutPaymentMethodInput = {
4616
5201
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4617
5202
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4618
5203
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
5204
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4619
5205
  };
4620
5206
  export type ApplicationUncheckedUpdateWithoutPaymentMethodInput = {
4621
5207
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4623,6 +5209,9 @@ export type ApplicationUncheckedUpdateWithoutPaymentMethodInput = {
4623
5209
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4624
5210
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4625
5211
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5212
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5213
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5214
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4626
5215
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4627
5216
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4628
5217
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4653,6 +5242,7 @@ export type ApplicationUncheckedUpdateWithoutPaymentMethodInput = {
4653
5242
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4654
5243
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4655
5244
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
5245
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4656
5246
  };
4657
5247
  export type ApplicationUncheckedUpdateManyWithoutPaymentMethodInput = {
4658
5248
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4660,6 +5250,9 @@ export type ApplicationUncheckedUpdateManyWithoutPaymentMethodInput = {
4660
5250
  propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
4661
5251
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4662
5252
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5253
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5254
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5255
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4663
5256
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4664
5257
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4665
5258
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4686,6 +5279,9 @@ export type ApplicationCreateManySupersededByInput = {
4686
5279
  buyerId: string;
4687
5280
  sellerId?: string | null;
4688
5281
  paymentMethodId?: string | null;
5282
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5283
+ paymentMethodSnapshotAt?: Date | string | null;
5284
+ paymentMethodSnapshotHash?: string | null;
4689
5285
  applicationNumber: string;
4690
5286
  title: string;
4691
5287
  description?: string | null;
@@ -4706,6 +5302,9 @@ export type ApplicationCreateManySupersededByInput = {
4706
5302
  };
4707
5303
  export type ApplicationUpdateWithoutSupersededByInput = {
4708
5304
  id?: Prisma.StringFieldUpdateOperationsInput | string;
5305
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5306
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5307
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4709
5308
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4710
5309
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4711
5310
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4740,6 +5339,7 @@ export type ApplicationUpdateWithoutSupersededByInput = {
4740
5339
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4741
5340
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4742
5341
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
5342
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4743
5343
  };
4744
5344
  export type ApplicationUncheckedUpdateWithoutSupersededByInput = {
4745
5345
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4748,6 +5348,9 @@ export type ApplicationUncheckedUpdateWithoutSupersededByInput = {
4748
5348
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4749
5349
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4750
5350
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5351
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5352
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5353
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4751
5354
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4752
5355
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4753
5356
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4777,6 +5380,7 @@ export type ApplicationUncheckedUpdateWithoutSupersededByInput = {
4777
5380
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4778
5381
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4779
5382
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
5383
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4780
5384
  };
4781
5385
  export type ApplicationUncheckedUpdateManyWithoutSupersededByInput = {
4782
5386
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4785,6 +5389,9 @@ export type ApplicationUncheckedUpdateManyWithoutSupersededByInput = {
4785
5389
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4786
5390
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4787
5391
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5392
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5393
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5394
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4788
5395
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4789
5396
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4790
5397
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4810,6 +5417,9 @@ export type ApplicationCreateManyCurrentPhaseInput = {
4810
5417
  buyerId: string;
4811
5418
  sellerId?: string | null;
4812
5419
  paymentMethodId?: string | null;
5420
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5421
+ paymentMethodSnapshotAt?: Date | string | null;
5422
+ paymentMethodSnapshotHash?: string | null;
4813
5423
  applicationNumber: string;
4814
5424
  title: string;
4815
5425
  description?: string | null;
@@ -4830,6 +5440,9 @@ export type ApplicationCreateManyCurrentPhaseInput = {
4830
5440
  };
4831
5441
  export type ApplicationUpdateWithoutCurrentPhaseInput = {
4832
5442
  id?: Prisma.StringFieldUpdateOperationsInput | string;
5443
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5444
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5445
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4833
5446
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4834
5447
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4835
5448
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4864,6 +5477,7 @@ export type ApplicationUpdateWithoutCurrentPhaseInput = {
4864
5477
  incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetApplicationNestedInput;
4865
5478
  events?: Prisma.ApplicationEventUpdateManyWithoutApplicationNestedInput;
4866
5479
  refunds?: Prisma.ApplicationRefundUpdateManyWithoutApplicationNestedInput;
5480
+ organizations?: Prisma.ApplicationOrganizationUpdateManyWithoutApplicationNestedInput;
4867
5481
  };
4868
5482
  export type ApplicationUncheckedUpdateWithoutCurrentPhaseInput = {
4869
5483
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4872,6 +5486,9 @@ export type ApplicationUncheckedUpdateWithoutCurrentPhaseInput = {
4872
5486
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4873
5487
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4874
5488
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5489
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5490
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5491
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4875
5492
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4876
5493
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4877
5494
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4901,6 +5518,7 @@ export type ApplicationUncheckedUpdateWithoutCurrentPhaseInput = {
4901
5518
  incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetApplicationNestedInput;
4902
5519
  events?: Prisma.ApplicationEventUncheckedUpdateManyWithoutApplicationNestedInput;
4903
5520
  refunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApplicationNestedInput;
5521
+ organizations?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutApplicationNestedInput;
4904
5522
  };
4905
5523
  export type ApplicationUncheckedUpdateManyWithoutCurrentPhaseInput = {
4906
5524
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4909,6 +5527,9 @@ export type ApplicationUncheckedUpdateManyWithoutCurrentPhaseInput = {
4909
5527
  buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
4910
5528
  sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4911
5529
  paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
5530
+ paymentMethodSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
5531
+ paymentMethodSnapshotAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
5532
+ paymentMethodSnapshotHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
4912
5533
  applicationNumber?: Prisma.StringFieldUpdateOperationsInput | string;
4913
5534
  title?: Prisma.StringFieldUpdateOperationsInput | string;
4914
5535
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -4942,6 +5563,7 @@ export type ApplicationCountOutputType = {
4942
5563
  incomingTransferRequests: number;
4943
5564
  events: number;
4944
5565
  refunds: number;
5566
+ organizations: number;
4945
5567
  };
4946
5568
  export type ApplicationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4947
5569
  phases?: boolean | ApplicationCountOutputTypeCountPhasesArgs;
@@ -4955,6 +5577,7 @@ export type ApplicationCountOutputTypeSelect<ExtArgs extends runtime.Types.Exten
4955
5577
  incomingTransferRequests?: boolean | ApplicationCountOutputTypeCountIncomingTransferRequestsArgs;
4956
5578
  events?: boolean | ApplicationCountOutputTypeCountEventsArgs;
4957
5579
  refunds?: boolean | ApplicationCountOutputTypeCountRefundsArgs;
5580
+ organizations?: boolean | ApplicationCountOutputTypeCountOrganizationsArgs;
4958
5581
  };
4959
5582
  /**
4960
5583
  * ApplicationCountOutputType without action
@@ -5031,6 +5654,12 @@ export type ApplicationCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Ty
5031
5654
  export type ApplicationCountOutputTypeCountRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5032
5655
  where?: Prisma.ApplicationRefundWhereInput;
5033
5656
  };
5657
+ /**
5658
+ * ApplicationCountOutputType without action
5659
+ */
5660
+ export type ApplicationCountOutputTypeCountOrganizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5661
+ where?: Prisma.ApplicationOrganizationWhereInput;
5662
+ };
5034
5663
  export type ApplicationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
5035
5664
  id?: boolean;
5036
5665
  tenantId?: boolean;
@@ -5038,6 +5667,9 @@ export type ApplicationSelect<ExtArgs extends runtime.Types.Extensions.InternalA
5038
5667
  buyerId?: boolean;
5039
5668
  sellerId?: boolean;
5040
5669
  paymentMethodId?: boolean;
5670
+ paymentMethodSnapshot?: boolean;
5671
+ paymentMethodSnapshotAt?: boolean;
5672
+ paymentMethodSnapshotHash?: boolean;
5041
5673
  applicationNumber?: boolean;
5042
5674
  title?: boolean;
5043
5675
  description?: boolean;
@@ -5076,6 +5708,7 @@ export type ApplicationSelect<ExtArgs extends runtime.Types.Extensions.InternalA
5076
5708
  incomingTransferRequests?: boolean | Prisma.Application$incomingTransferRequestsArgs<ExtArgs>;
5077
5709
  events?: boolean | Prisma.Application$eventsArgs<ExtArgs>;
5078
5710
  refunds?: boolean | Prisma.Application$refundsArgs<ExtArgs>;
5711
+ organizations?: boolean | Prisma.Application$organizationsArgs<ExtArgs>;
5079
5712
  _count?: boolean | Prisma.ApplicationCountOutputTypeDefaultArgs<ExtArgs>;
5080
5713
  }, ExtArgs["result"]["application"]>;
5081
5714
  export type ApplicationSelectScalar = {
@@ -5085,6 +5718,9 @@ export type ApplicationSelectScalar = {
5085
5718
  buyerId?: boolean;
5086
5719
  sellerId?: boolean;
5087
5720
  paymentMethodId?: boolean;
5721
+ paymentMethodSnapshot?: boolean;
5722
+ paymentMethodSnapshotAt?: boolean;
5723
+ paymentMethodSnapshotHash?: boolean;
5088
5724
  applicationNumber?: boolean;
5089
5725
  title?: boolean;
5090
5726
  description?: boolean;
@@ -5104,7 +5740,7 @@ export type ApplicationSelectScalar = {
5104
5740
  supersededById?: boolean;
5105
5741
  supersededAt?: boolean;
5106
5742
  };
5107
- export type ApplicationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyUnitId" | "buyerId" | "sellerId" | "paymentMethodId" | "applicationNumber" | "title" | "description" | "applicationType" | "totalAmount" | "status" | "currentPhaseId" | "nextPaymentDueDate" | "lastReminderSentAt" | "startDate" | "endDate" | "signedAt" | "terminatedAt" | "createdAt" | "updatedAt" | "transferredFromId" | "supersededById" | "supersededAt", ExtArgs["result"]["application"]>;
5743
+ export type ApplicationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyUnitId" | "buyerId" | "sellerId" | "paymentMethodId" | "paymentMethodSnapshot" | "paymentMethodSnapshotAt" | "paymentMethodSnapshotHash" | "applicationNumber" | "title" | "description" | "applicationType" | "totalAmount" | "status" | "currentPhaseId" | "nextPaymentDueDate" | "lastReminderSentAt" | "startDate" | "endDate" | "signedAt" | "terminatedAt" | "createdAt" | "updatedAt" | "transferredFromId" | "supersededById" | "supersededAt", ExtArgs["result"]["application"]>;
5108
5744
  export type ApplicationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5109
5745
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
5110
5746
  propertyUnit?: boolean | Prisma.PropertyUnitDefaultArgs<ExtArgs>;
@@ -5126,6 +5762,7 @@ export type ApplicationInclude<ExtArgs extends runtime.Types.Extensions.Internal
5126
5762
  incomingTransferRequests?: boolean | Prisma.Application$incomingTransferRequestsArgs<ExtArgs>;
5127
5763
  events?: boolean | Prisma.Application$eventsArgs<ExtArgs>;
5128
5764
  refunds?: boolean | Prisma.Application$refundsArgs<ExtArgs>;
5765
+ organizations?: boolean | Prisma.Application$organizationsArgs<ExtArgs>;
5129
5766
  _count?: boolean | Prisma.ApplicationCountOutputTypeDefaultArgs<ExtArgs>;
5130
5767
  };
5131
5768
  export type $ApplicationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -5151,6 +5788,7 @@ export type $ApplicationPayload<ExtArgs extends runtime.Types.Extensions.Interna
5151
5788
  incomingTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
5152
5789
  events: Prisma.$ApplicationEventPayload<ExtArgs>[];
5153
5790
  refunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
5791
+ organizations: Prisma.$ApplicationOrganizationPayload<ExtArgs>[];
5154
5792
  };
5155
5793
  scalars: runtime.Types.Extensions.GetPayloadResult<{
5156
5794
  id: string;
@@ -5159,6 +5797,9 @@ export type $ApplicationPayload<ExtArgs extends runtime.Types.Extensions.Interna
5159
5797
  buyerId: string;
5160
5798
  sellerId: string | null;
5161
5799
  paymentMethodId: string | null;
5800
+ paymentMethodSnapshot: runtime.JsonValue | null;
5801
+ paymentMethodSnapshotAt: Date | null;
5802
+ paymentMethodSnapshotHash: string | null;
5162
5803
  applicationNumber: string;
5163
5804
  title: string;
5164
5805
  description: string | null;
@@ -5474,6 +6115,7 @@ export interface Prisma__ApplicationClient<T, Null = never, ExtArgs extends runt
5474
6115
  incomingTransferRequests<T extends Prisma.Application$incomingTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Application$incomingTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5475
6116
  events<T extends Prisma.Application$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Application$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5476
6117
  refunds<T extends Prisma.Application$refundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Application$refundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
6118
+ organizations<T extends Prisma.Application$organizationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Application$organizationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationOrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
5477
6119
  /**
5478
6120
  * Attaches callbacks for the resolution and/or rejection of the Promise.
5479
6121
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -5505,6 +6147,9 @@ export interface ApplicationFieldRefs {
5505
6147
  readonly buyerId: Prisma.FieldRef<"Application", 'String'>;
5506
6148
  readonly sellerId: Prisma.FieldRef<"Application", 'String'>;
5507
6149
  readonly paymentMethodId: Prisma.FieldRef<"Application", 'String'>;
6150
+ readonly paymentMethodSnapshot: Prisma.FieldRef<"Application", 'Json'>;
6151
+ readonly paymentMethodSnapshotAt: Prisma.FieldRef<"Application", 'DateTime'>;
6152
+ readonly paymentMethodSnapshotHash: Prisma.FieldRef<"Application", 'String'>;
5508
6153
  readonly applicationNumber: Prisma.FieldRef<"Application", 'String'>;
5509
6154
  readonly title: Prisma.FieldRef<"Application", 'String'>;
5510
6155
  readonly description: Prisma.FieldRef<"Application", 'String'>;
@@ -6211,6 +6856,29 @@ export type Application$refundsArgs<ExtArgs extends runtime.Types.Extensions.Int
6211
6856
  skip?: number;
6212
6857
  distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
6213
6858
  };
6859
+ /**
6860
+ * Application.organizations
6861
+ */
6862
+ export type Application$organizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
6863
+ /**
6864
+ * Select specific fields to fetch from the ApplicationOrganization
6865
+ */
6866
+ select?: Prisma.ApplicationOrganizationSelect<ExtArgs> | null;
6867
+ /**
6868
+ * Omit specific fields from the ApplicationOrganization
6869
+ */
6870
+ omit?: Prisma.ApplicationOrganizationOmit<ExtArgs> | null;
6871
+ /**
6872
+ * Choose, which related nodes to fetch as well
6873
+ */
6874
+ include?: Prisma.ApplicationOrganizationInclude<ExtArgs> | null;
6875
+ where?: Prisma.ApplicationOrganizationWhereInput;
6876
+ orderBy?: Prisma.ApplicationOrganizationOrderByWithRelationInput | Prisma.ApplicationOrganizationOrderByWithRelationInput[];
6877
+ cursor?: Prisma.ApplicationOrganizationWhereUniqueInput;
6878
+ take?: number;
6879
+ skip?: number;
6880
+ distinct?: Prisma.ApplicationOrganizationScalarFieldEnum | Prisma.ApplicationOrganizationScalarFieldEnum[];
6881
+ };
6214
6882
  /**
6215
6883
  * Application without action
6216
6884
  */