@valentine-efagene/qshelter-common 2.0.120 → 2.0.121

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 (34) hide show
  1. package/dist/generated/client/browser.d.ts +11 -0
  2. package/dist/generated/client/client.d.ts +11 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +170 -0
  4. package/dist/generated/client/enums.d.ts +58 -0
  5. package/dist/generated/client/enums.js +52 -0
  6. package/dist/generated/client/internal/class.d.ts +22 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +240 -2
  9. package/dist/generated/client/internal/prismaNamespace.js +82 -2
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +85 -1
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +82 -2
  12. package/dist/generated/client/models/DocumentationPhase.d.ts +243 -1
  13. package/dist/generated/client/models/DocumentationStep.d.ts +121 -1
  14. package/dist/generated/client/models/Organization.d.ts +1930 -0
  15. package/dist/generated/client/models/Organization.js +1 -0
  16. package/dist/generated/client/models/OrganizationMember.d.ts +1598 -0
  17. package/dist/generated/client/models/OrganizationMember.js +1 -0
  18. package/dist/generated/client/models/QuestionnairePhase.d.ts +165 -0
  19. package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +25 -22
  20. package/dist/generated/client/models/Tenant.d.ts +555 -0
  21. package/dist/generated/client/models/User.d.ts +391 -0
  22. package/dist/generated/client/models.d.ts +2 -0
  23. package/dist/src/middleware/auth-context.d.ts +30 -1
  24. package/dist/src/middleware/auth-context.js +34 -1
  25. package/dist/src/prisma/tenant.js +2 -0
  26. package/dist/src/utils/condition-operators.d.ts +5 -23
  27. package/dist/src/utils/condition-operators.js +6 -19
  28. package/dist/src/utils/documentation-enums.d.ts +6 -0
  29. package/dist/src/utils/documentation-enums.js +6 -0
  30. package/package.json +1 -1
  31. package/prisma/migrations/20260115123703_add_organizations/migration.sql +69 -0
  32. package/prisma/migrations/20260115125519_add_requires_manual_review_to_step/migration.sql +2 -0
  33. package/prisma/migrations/20260115134106_add_conditional_step_support/migration.sql +11 -0
  34. package/prisma/schema.prisma +191 -1
@@ -266,6 +266,7 @@ export type UserWhereInput = {
266
266
  requestedRefunds?: Prisma.ApplicationRefundListRelationFilter;
267
267
  approvedRefunds?: Prisma.ApplicationRefundListRelationFilter;
268
268
  processedRefunds?: Prisma.ApplicationRefundListRelationFilter;
269
+ organizationMemberships?: Prisma.OrganizationMemberListRelationFilter;
269
270
  };
270
271
  export type UserOrderByWithRelationInput = {
271
272
  id?: Prisma.SortOrder;
@@ -317,6 +318,7 @@ export type UserOrderByWithRelationInput = {
317
318
  requestedRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
318
319
  approvedRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
319
320
  processedRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
321
+ organizationMemberships?: Prisma.OrganizationMemberOrderByRelationAggregateInput;
320
322
  _relevance?: Prisma.UserOrderByRelevanceInput;
321
323
  };
322
324
  export type UserWhereUniqueInput = Prisma.AtLeast<{
@@ -372,6 +374,7 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
372
374
  requestedRefunds?: Prisma.ApplicationRefundListRelationFilter;
373
375
  approvedRefunds?: Prisma.ApplicationRefundListRelationFilter;
374
376
  processedRefunds?: Prisma.ApplicationRefundListRelationFilter;
377
+ organizationMemberships?: Prisma.OrganizationMemberListRelationFilter;
375
378
  }, "id" | "email" | "phone" | "walletId">;
376
379
  export type UserOrderByWithAggregationInput = {
377
380
  id?: Prisma.SortOrder;
@@ -465,6 +468,7 @@ export type UserCreateInput = {
465
468
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
466
469
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
467
470
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
471
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
468
472
  };
469
473
  export type UserUncheckedCreateInput = {
470
474
  id?: string;
@@ -514,6 +518,7 @@ export type UserUncheckedCreateInput = {
514
518
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
515
519
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
516
520
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
521
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
517
522
  };
518
523
  export type UserUpdateInput = {
519
524
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -563,6 +568,7 @@ export type UserUpdateInput = {
563
568
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
564
569
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
565
570
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
571
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
566
572
  };
567
573
  export type UserUncheckedUpdateInput = {
568
574
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -612,6 +618,7 @@ export type UserUncheckedUpdateInput = {
612
618
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
613
619
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
614
620
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
621
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
615
622
  };
616
623
  export type UserCreateManyInput = {
617
624
  id?: string;
@@ -785,6 +792,18 @@ export type UserUpdateOneRequiredWithoutTenantMembershipsNestedInput = {
785
792
  connect?: Prisma.UserWhereUniqueInput;
786
793
  update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutTenantMembershipsInput, Prisma.UserUpdateWithoutTenantMembershipsInput>, Prisma.UserUncheckedUpdateWithoutTenantMembershipsInput>;
787
794
  };
795
+ export type UserCreateNestedOneWithoutOrganizationMembershipsInput = {
796
+ create?: Prisma.XOR<Prisma.UserCreateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedCreateWithoutOrganizationMembershipsInput>;
797
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutOrganizationMembershipsInput;
798
+ connect?: Prisma.UserWhereUniqueInput;
799
+ };
800
+ export type UserUpdateOneRequiredWithoutOrganizationMembershipsNestedInput = {
801
+ create?: Prisma.XOR<Prisma.UserCreateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedCreateWithoutOrganizationMembershipsInput>;
802
+ connectOrCreate?: Prisma.UserCreateOrConnectWithoutOrganizationMembershipsInput;
803
+ upsert?: Prisma.UserUpsertWithoutOrganizationMembershipsInput;
804
+ connect?: Prisma.UserWhereUniqueInput;
805
+ update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutOrganizationMembershipsInput, Prisma.UserUpdateWithoutOrganizationMembershipsInput>, Prisma.UserUncheckedUpdateWithoutOrganizationMembershipsInput>;
806
+ };
788
807
  export type UserCreateNestedManyWithoutTenantInput = {
789
808
  create?: Prisma.XOR<Prisma.UserCreateWithoutTenantInput, Prisma.UserUncheckedCreateWithoutTenantInput> | Prisma.UserCreateWithoutTenantInput[] | Prisma.UserUncheckedCreateWithoutTenantInput[];
790
809
  connectOrCreate?: Prisma.UserCreateOrConnectWithoutTenantInput | Prisma.UserCreateOrConnectWithoutTenantInput[];
@@ -1266,6 +1285,7 @@ export type UserCreateWithoutUserRolesInput = {
1266
1285
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
1267
1286
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1268
1287
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1288
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1269
1289
  };
1270
1290
  export type UserUncheckedCreateWithoutUserRolesInput = {
1271
1291
  id?: string;
@@ -1314,6 +1334,7 @@ export type UserUncheckedCreateWithoutUserRolesInput = {
1314
1334
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1315
1335
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1316
1336
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1337
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1317
1338
  };
1318
1339
  export type UserCreateOrConnectWithoutUserRolesInput = {
1319
1340
  where: Prisma.UserWhereUniqueInput;
@@ -1375,6 +1396,7 @@ export type UserUpdateWithoutUserRolesInput = {
1375
1396
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
1376
1397
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1377
1398
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1399
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
1378
1400
  };
1379
1401
  export type UserUncheckedUpdateWithoutUserRolesInput = {
1380
1402
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1423,6 +1445,7 @@ export type UserUncheckedUpdateWithoutUserRolesInput = {
1423
1445
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1424
1446
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1425
1447
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1448
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
1426
1449
  };
1427
1450
  export type UserCreateWithoutTenantMembershipsInput = {
1428
1451
  id?: string;
@@ -1471,6 +1494,7 @@ export type UserCreateWithoutTenantMembershipsInput = {
1471
1494
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
1472
1495
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1473
1496
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1497
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1474
1498
  };
1475
1499
  export type UserUncheckedCreateWithoutTenantMembershipsInput = {
1476
1500
  id?: string;
@@ -1519,6 +1543,7 @@ export type UserUncheckedCreateWithoutTenantMembershipsInput = {
1519
1543
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1520
1544
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1521
1545
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1546
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1522
1547
  };
1523
1548
  export type UserCreateOrConnectWithoutTenantMembershipsInput = {
1524
1549
  where: Prisma.UserWhereUniqueInput;
@@ -1580,6 +1605,7 @@ export type UserUpdateWithoutTenantMembershipsInput = {
1580
1605
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
1581
1606
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1582
1607
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1608
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
1583
1609
  };
1584
1610
  export type UserUncheckedUpdateWithoutTenantMembershipsInput = {
1585
1611
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1628,6 +1654,216 @@ export type UserUncheckedUpdateWithoutTenantMembershipsInput = {
1628
1654
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1629
1655
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1630
1656
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1657
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
1658
+ };
1659
+ export type UserCreateWithoutOrganizationMembershipsInput = {
1660
+ id?: string;
1661
+ email: string;
1662
+ password?: string | null;
1663
+ phone?: string | null;
1664
+ firstName?: string | null;
1665
+ lastName?: string | null;
1666
+ isActive?: boolean;
1667
+ isEmailVerified?: boolean;
1668
+ googleId?: string | null;
1669
+ avatar?: string | null;
1670
+ createdAt?: Date | string;
1671
+ updatedAt?: Date | string;
1672
+ emailVerifiedAt?: Date | string | null;
1673
+ emailVerificationToken?: string | null;
1674
+ lastLoginAt?: Date | string | null;
1675
+ tenant?: Prisma.TenantCreateNestedOneWithoutUsersInput;
1676
+ tenantMemberships?: Prisma.TenantMembershipCreateNestedManyWithoutUserInput;
1677
+ userRoles?: Prisma.UserRoleCreateNestedManyWithoutUserInput;
1678
+ wallet?: Prisma.WalletCreateNestedOneWithoutUserInput;
1679
+ refreshTokens?: Prisma.RefreshTokenCreateNestedManyWithoutUserInput;
1680
+ passwordResets?: Prisma.PasswordResetCreateNestedManyWithoutUserInput;
1681
+ suspensions?: Prisma.UserSuspensionCreateNestedManyWithoutUserInput;
1682
+ emailPreferences?: Prisma.EmailPreferenceCreateNestedManyWithoutUserInput;
1683
+ deviceEndpoints?: Prisma.DeviceEndpointCreateNestedManyWithoutUserInput;
1684
+ socials?: Prisma.SocialCreateNestedManyWithoutUserInput;
1685
+ properties?: Prisma.PropertyCreateNestedManyWithoutUserInput;
1686
+ applications?: Prisma.ApplicationCreateNestedManyWithoutBuyerInput;
1687
+ soldApplications?: Prisma.ApplicationCreateNestedManyWithoutSellerInput;
1688
+ applicationPayments?: Prisma.ApplicationPaymentCreateNestedManyWithoutPayerInput;
1689
+ assignedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutAssigneeInput;
1690
+ gateActedSteps?: Prisma.DocumentationStepCreateNestedManyWithoutGateActedByInput;
1691
+ stepApprovals?: Prisma.DocumentationStepApprovalCreateNestedManyWithoutApproverInput;
1692
+ uploadedDocs?: Prisma.ApplicationDocumentCreateNestedManyWithoutUploadedByInput;
1693
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutRequestorInput;
1694
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutReviewerInput;
1695
+ initiatedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutInitiatorInput;
1696
+ reviewedTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutReviewerInput;
1697
+ offerLettersGenerated?: Prisma.OfferLetterCreateNestedManyWithoutGeneratedByInput;
1698
+ offerLettersSent?: Prisma.OfferLetterCreateNestedManyWithoutSentByInput;
1699
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestCreateNestedManyWithoutRequestedByInput;
1700
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestCreateNestedManyWithoutReviewedByInput;
1701
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestCreateNestedManyWithoutRequestedByInput;
1702
+ approvalRequestsAssigned?: Prisma.ApprovalRequestCreateNestedManyWithoutAssigneeInput;
1703
+ approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
1704
+ requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
1705
+ approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1706
+ processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1707
+ };
1708
+ export type UserUncheckedCreateWithoutOrganizationMembershipsInput = {
1709
+ id?: string;
1710
+ email: string;
1711
+ password?: string | null;
1712
+ phone?: string | null;
1713
+ firstName?: string | null;
1714
+ lastName?: string | null;
1715
+ isActive?: boolean;
1716
+ isEmailVerified?: boolean;
1717
+ googleId?: string | null;
1718
+ avatar?: string | null;
1719
+ tenantId?: string | null;
1720
+ walletId?: string | null;
1721
+ createdAt?: Date | string;
1722
+ updatedAt?: Date | string;
1723
+ emailVerifiedAt?: Date | string | null;
1724
+ emailVerificationToken?: string | null;
1725
+ lastLoginAt?: Date | string | null;
1726
+ tenantMemberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutUserInput;
1727
+ userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutUserInput;
1728
+ refreshTokens?: Prisma.RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
1729
+ passwordResets?: Prisma.PasswordResetUncheckedCreateNestedManyWithoutUserInput;
1730
+ suspensions?: Prisma.UserSuspensionUncheckedCreateNestedManyWithoutUserInput;
1731
+ emailPreferences?: Prisma.EmailPreferenceUncheckedCreateNestedManyWithoutUserInput;
1732
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedCreateNestedManyWithoutUserInput;
1733
+ socials?: Prisma.SocialUncheckedCreateNestedManyWithoutUserInput;
1734
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutUserInput;
1735
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutBuyerInput;
1736
+ soldApplications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutSellerInput;
1737
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedCreateNestedManyWithoutPayerInput;
1738
+ assignedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutAssigneeInput;
1739
+ gateActedSteps?: Prisma.DocumentationStepUncheckedCreateNestedManyWithoutGateActedByInput;
1740
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedCreateNestedManyWithoutApproverInput;
1741
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedCreateNestedManyWithoutUploadedByInput;
1742
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutRequestorInput;
1743
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutReviewerInput;
1744
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutInitiatorInput;
1745
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutReviewerInput;
1746
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutGeneratedByInput;
1747
+ offerLettersSent?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutSentByInput;
1748
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1749
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1750
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutRequestedByInput;
1751
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutAssigneeInput;
1752
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
1753
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1754
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1755
+ processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1756
+ };
1757
+ export type UserCreateOrConnectWithoutOrganizationMembershipsInput = {
1758
+ where: Prisma.UserWhereUniqueInput;
1759
+ create: Prisma.XOR<Prisma.UserCreateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedCreateWithoutOrganizationMembershipsInput>;
1760
+ };
1761
+ export type UserUpsertWithoutOrganizationMembershipsInput = {
1762
+ update: Prisma.XOR<Prisma.UserUpdateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedUpdateWithoutOrganizationMembershipsInput>;
1763
+ create: Prisma.XOR<Prisma.UserCreateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedCreateWithoutOrganizationMembershipsInput>;
1764
+ where?: Prisma.UserWhereInput;
1765
+ };
1766
+ export type UserUpdateToOneWithWhereWithoutOrganizationMembershipsInput = {
1767
+ where?: Prisma.UserWhereInput;
1768
+ data: Prisma.XOR<Prisma.UserUpdateWithoutOrganizationMembershipsInput, Prisma.UserUncheckedUpdateWithoutOrganizationMembershipsInput>;
1769
+ };
1770
+ export type UserUpdateWithoutOrganizationMembershipsInput = {
1771
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1772
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1773
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1774
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1775
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1776
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1777
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1778
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1779
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1780
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1781
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1782
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1783
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1784
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1785
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1786
+ tenant?: Prisma.TenantUpdateOneWithoutUsersNestedInput;
1787
+ tenantMemberships?: Prisma.TenantMembershipUpdateManyWithoutUserNestedInput;
1788
+ userRoles?: Prisma.UserRoleUpdateManyWithoutUserNestedInput;
1789
+ wallet?: Prisma.WalletUpdateOneWithoutUserNestedInput;
1790
+ refreshTokens?: Prisma.RefreshTokenUpdateManyWithoutUserNestedInput;
1791
+ passwordResets?: Prisma.PasswordResetUpdateManyWithoutUserNestedInput;
1792
+ suspensions?: Prisma.UserSuspensionUpdateManyWithoutUserNestedInput;
1793
+ emailPreferences?: Prisma.EmailPreferenceUpdateManyWithoutUserNestedInput;
1794
+ deviceEndpoints?: Prisma.DeviceEndpointUpdateManyWithoutUserNestedInput;
1795
+ socials?: Prisma.SocialUpdateManyWithoutUserNestedInput;
1796
+ properties?: Prisma.PropertyUpdateManyWithoutUserNestedInput;
1797
+ applications?: Prisma.ApplicationUpdateManyWithoutBuyerNestedInput;
1798
+ soldApplications?: Prisma.ApplicationUpdateManyWithoutSellerNestedInput;
1799
+ applicationPayments?: Prisma.ApplicationPaymentUpdateManyWithoutPayerNestedInput;
1800
+ assignedSteps?: Prisma.DocumentationStepUpdateManyWithoutAssigneeNestedInput;
1801
+ gateActedSteps?: Prisma.DocumentationStepUpdateManyWithoutGateActedByNestedInput;
1802
+ stepApprovals?: Prisma.DocumentationStepApprovalUpdateManyWithoutApproverNestedInput;
1803
+ uploadedDocs?: Prisma.ApplicationDocumentUpdateManyWithoutUploadedByNestedInput;
1804
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutRequestorNestedInput;
1805
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutReviewerNestedInput;
1806
+ initiatedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutInitiatorNestedInput;
1807
+ reviewedTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutReviewerNestedInput;
1808
+ offerLettersGenerated?: Prisma.OfferLetterUpdateManyWithoutGeneratedByNestedInput;
1809
+ offerLettersSent?: Prisma.OfferLetterUpdateManyWithoutSentByNestedInput;
1810
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUpdateManyWithoutRequestedByNestedInput;
1811
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUpdateManyWithoutReviewedByNestedInput;
1812
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUpdateManyWithoutRequestedByNestedInput;
1813
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUpdateManyWithoutAssigneeNestedInput;
1814
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
1815
+ requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
1816
+ approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1817
+ processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
1818
+ };
1819
+ export type UserUncheckedUpdateWithoutOrganizationMembershipsInput = {
1820
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1821
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
1822
+ password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1823
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1824
+ firstName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1825
+ lastName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1826
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1827
+ isEmailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1828
+ googleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1829
+ avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1830
+ tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1831
+ walletId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1832
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1833
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1834
+ emailVerifiedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1835
+ emailVerificationToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1836
+ lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1837
+ tenantMemberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutUserNestedInput;
1838
+ userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutUserNestedInput;
1839
+ refreshTokens?: Prisma.RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
1840
+ passwordResets?: Prisma.PasswordResetUncheckedUpdateManyWithoutUserNestedInput;
1841
+ suspensions?: Prisma.UserSuspensionUncheckedUpdateManyWithoutUserNestedInput;
1842
+ emailPreferences?: Prisma.EmailPreferenceUncheckedUpdateManyWithoutUserNestedInput;
1843
+ deviceEndpoints?: Prisma.DeviceEndpointUncheckedUpdateManyWithoutUserNestedInput;
1844
+ socials?: Prisma.SocialUncheckedUpdateManyWithoutUserNestedInput;
1845
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutUserNestedInput;
1846
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutBuyerNestedInput;
1847
+ soldApplications?: Prisma.ApplicationUncheckedUpdateManyWithoutSellerNestedInput;
1848
+ applicationPayments?: Prisma.ApplicationPaymentUncheckedUpdateManyWithoutPayerNestedInput;
1849
+ assignedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutAssigneeNestedInput;
1850
+ gateActedSteps?: Prisma.DocumentationStepUncheckedUpdateManyWithoutGateActedByNestedInput;
1851
+ stepApprovals?: Prisma.DocumentationStepApprovalUncheckedUpdateManyWithoutApproverNestedInput;
1852
+ uploadedDocs?: Prisma.ApplicationDocumentUncheckedUpdateManyWithoutUploadedByNestedInput;
1853
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutRequestorNestedInput;
1854
+ reviewedChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutReviewerNestedInput;
1855
+ initiatedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutInitiatorNestedInput;
1856
+ reviewedTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutReviewerNestedInput;
1857
+ offerLettersGenerated?: Prisma.OfferLetterUncheckedUpdateManyWithoutGeneratedByNestedInput;
1858
+ offerLettersSent?: Prisma.OfferLetterUncheckedUpdateManyWithoutSentByNestedInput;
1859
+ transferRequestsSubmitted?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1860
+ transferRequestsReviewed?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
1861
+ approvalRequestsSubmitted?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutRequestedByNestedInput;
1862
+ approvalRequestsAssigned?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutAssigneeNestedInput;
1863
+ approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
1864
+ requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1865
+ approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1866
+ processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
1631
1867
  };
1632
1868
  export type UserCreateWithoutTenantInput = {
1633
1869
  id?: string;
@@ -1676,6 +1912,7 @@ export type UserCreateWithoutTenantInput = {
1676
1912
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
1677
1913
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1678
1914
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
1915
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1679
1916
  };
1680
1917
  export type UserUncheckedCreateWithoutTenantInput = {
1681
1918
  id?: string;
@@ -1724,6 +1961,7 @@ export type UserUncheckedCreateWithoutTenantInput = {
1724
1961
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1725
1962
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1726
1963
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
1964
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1727
1965
  };
1728
1966
  export type UserCreateOrConnectWithoutTenantInput = {
1729
1967
  where: Prisma.UserWhereUniqueInput;
@@ -1815,6 +2053,7 @@ export type UserCreateWithoutRefreshTokensInput = {
1815
2053
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
1816
2054
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
1817
2055
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2056
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
1818
2057
  };
1819
2058
  export type UserUncheckedCreateWithoutRefreshTokensInput = {
1820
2059
  id?: string;
@@ -1863,6 +2102,7 @@ export type UserUncheckedCreateWithoutRefreshTokensInput = {
1863
2102
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
1864
2103
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
1865
2104
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2105
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
1866
2106
  };
1867
2107
  export type UserCreateOrConnectWithoutRefreshTokensInput = {
1868
2108
  where: Prisma.UserWhereUniqueInput;
@@ -1924,6 +2164,7 @@ export type UserUpdateWithoutRefreshTokensInput = {
1924
2164
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
1925
2165
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
1926
2166
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2167
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
1927
2168
  };
1928
2169
  export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1929
2170
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1972,6 +2213,7 @@ export type UserUncheckedUpdateWithoutRefreshTokensInput = {
1972
2213
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
1973
2214
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
1974
2215
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2216
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
1975
2217
  };
1976
2218
  export type UserCreateWithoutPasswordResetsInput = {
1977
2219
  id?: string;
@@ -2020,6 +2262,7 @@ export type UserCreateWithoutPasswordResetsInput = {
2020
2262
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
2021
2263
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2022
2264
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2265
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2023
2266
  };
2024
2267
  export type UserUncheckedCreateWithoutPasswordResetsInput = {
2025
2268
  id?: string;
@@ -2068,6 +2311,7 @@ export type UserUncheckedCreateWithoutPasswordResetsInput = {
2068
2311
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2069
2312
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2070
2313
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2314
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2071
2315
  };
2072
2316
  export type UserCreateOrConnectWithoutPasswordResetsInput = {
2073
2317
  where: Prisma.UserWhereUniqueInput;
@@ -2129,6 +2373,7 @@ export type UserUpdateWithoutPasswordResetsInput = {
2129
2373
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
2130
2374
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2131
2375
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2376
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2132
2377
  };
2133
2378
  export type UserUncheckedUpdateWithoutPasswordResetsInput = {
2134
2379
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2177,6 +2422,7 @@ export type UserUncheckedUpdateWithoutPasswordResetsInput = {
2177
2422
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2178
2423
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2179
2424
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2425
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2180
2426
  };
2181
2427
  export type UserCreateWithoutSuspensionsInput = {
2182
2428
  id?: string;
@@ -2225,6 +2471,7 @@ export type UserCreateWithoutSuspensionsInput = {
2225
2471
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
2226
2472
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2227
2473
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2474
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2228
2475
  };
2229
2476
  export type UserUncheckedCreateWithoutSuspensionsInput = {
2230
2477
  id?: string;
@@ -2273,6 +2520,7 @@ export type UserUncheckedCreateWithoutSuspensionsInput = {
2273
2520
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2274
2521
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2275
2522
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2523
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2276
2524
  };
2277
2525
  export type UserCreateOrConnectWithoutSuspensionsInput = {
2278
2526
  where: Prisma.UserWhereUniqueInput;
@@ -2334,6 +2582,7 @@ export type UserUpdateWithoutSuspensionsInput = {
2334
2582
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
2335
2583
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2336
2584
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2585
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2337
2586
  };
2338
2587
  export type UserUncheckedUpdateWithoutSuspensionsInput = {
2339
2588
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2382,6 +2631,7 @@ export type UserUncheckedUpdateWithoutSuspensionsInput = {
2382
2631
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2383
2632
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2384
2633
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2634
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2385
2635
  };
2386
2636
  export type UserCreateWithoutEmailPreferencesInput = {
2387
2637
  id?: string;
@@ -2430,6 +2680,7 @@ export type UserCreateWithoutEmailPreferencesInput = {
2430
2680
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
2431
2681
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2432
2682
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2683
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2433
2684
  };
2434
2685
  export type UserUncheckedCreateWithoutEmailPreferencesInput = {
2435
2686
  id?: string;
@@ -2478,6 +2729,7 @@ export type UserUncheckedCreateWithoutEmailPreferencesInput = {
2478
2729
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2479
2730
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2480
2731
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2732
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2481
2733
  };
2482
2734
  export type UserCreateOrConnectWithoutEmailPreferencesInput = {
2483
2735
  where: Prisma.UserWhereUniqueInput;
@@ -2539,6 +2791,7 @@ export type UserUpdateWithoutEmailPreferencesInput = {
2539
2791
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
2540
2792
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2541
2793
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
2794
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2542
2795
  };
2543
2796
  export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
2544
2797
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2587,6 +2840,7 @@ export type UserUncheckedUpdateWithoutEmailPreferencesInput = {
2587
2840
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2588
2841
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2589
2842
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
2843
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2590
2844
  };
2591
2845
  export type UserCreateWithoutDeviceEndpointsInput = {
2592
2846
  id?: string;
@@ -2635,6 +2889,7 @@ export type UserCreateWithoutDeviceEndpointsInput = {
2635
2889
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
2636
2890
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2637
2891
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
2892
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2638
2893
  };
2639
2894
  export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
2640
2895
  id?: string;
@@ -2683,6 +2938,7 @@ export type UserUncheckedCreateWithoutDeviceEndpointsInput = {
2683
2938
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2684
2939
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2685
2940
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
2941
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2686
2942
  };
2687
2943
  export type UserCreateOrConnectWithoutDeviceEndpointsInput = {
2688
2944
  where: Prisma.UserWhereUniqueInput;
@@ -2744,6 +3000,7 @@ export type UserUpdateWithoutDeviceEndpointsInput = {
2744
3000
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
2745
3001
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2746
3002
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3003
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2747
3004
  };
2748
3005
  export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
2749
3006
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2792,6 +3049,7 @@ export type UserUncheckedUpdateWithoutDeviceEndpointsInput = {
2792
3049
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2793
3050
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2794
3051
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3052
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
2795
3053
  };
2796
3054
  export type UserCreateWithoutSocialsInput = {
2797
3055
  id?: string;
@@ -2840,6 +3098,7 @@ export type UserCreateWithoutSocialsInput = {
2840
3098
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
2841
3099
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
2842
3100
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3101
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
2843
3102
  };
2844
3103
  export type UserUncheckedCreateWithoutSocialsInput = {
2845
3104
  id?: string;
@@ -2888,6 +3147,7 @@ export type UserUncheckedCreateWithoutSocialsInput = {
2888
3147
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
2889
3148
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
2890
3149
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3150
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
2891
3151
  };
2892
3152
  export type UserCreateOrConnectWithoutSocialsInput = {
2893
3153
  where: Prisma.UserWhereUniqueInput;
@@ -2949,6 +3209,7 @@ export type UserUpdateWithoutSocialsInput = {
2949
3209
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
2950
3210
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
2951
3211
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3212
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
2952
3213
  };
2953
3214
  export type UserUncheckedUpdateWithoutSocialsInput = {
2954
3215
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2997,6 +3258,7 @@ export type UserUncheckedUpdateWithoutSocialsInput = {
2997
3258
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
2998
3259
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
2999
3260
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3261
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3000
3262
  };
3001
3263
  export type UserCreateWithoutWalletInput = {
3002
3264
  id?: string;
@@ -3045,6 +3307,7 @@ export type UserCreateWithoutWalletInput = {
3045
3307
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
3046
3308
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3047
3309
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3310
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3048
3311
  };
3049
3312
  export type UserUncheckedCreateWithoutWalletInput = {
3050
3313
  id?: string;
@@ -3093,6 +3356,7 @@ export type UserUncheckedCreateWithoutWalletInput = {
3093
3356
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3094
3357
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3095
3358
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3359
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3096
3360
  };
3097
3361
  export type UserCreateOrConnectWithoutWalletInput = {
3098
3362
  where: Prisma.UserWhereUniqueInput;
@@ -3154,6 +3418,7 @@ export type UserUpdateWithoutWalletInput = {
3154
3418
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
3155
3419
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3156
3420
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3421
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3157
3422
  };
3158
3423
  export type UserUncheckedUpdateWithoutWalletInput = {
3159
3424
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3202,6 +3467,7 @@ export type UserUncheckedUpdateWithoutWalletInput = {
3202
3467
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3203
3468
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3204
3469
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3470
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3205
3471
  };
3206
3472
  export type UserCreateWithoutPropertiesInput = {
3207
3473
  id?: string;
@@ -3250,6 +3516,7 @@ export type UserCreateWithoutPropertiesInput = {
3250
3516
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
3251
3517
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3252
3518
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3519
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3253
3520
  };
3254
3521
  export type UserUncheckedCreateWithoutPropertiesInput = {
3255
3522
  id?: string;
@@ -3298,6 +3565,7 @@ export type UserUncheckedCreateWithoutPropertiesInput = {
3298
3565
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3299
3566
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3300
3567
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3568
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3301
3569
  };
3302
3570
  export type UserCreateOrConnectWithoutPropertiesInput = {
3303
3571
  where: Prisma.UserWhereUniqueInput;
@@ -3359,6 +3627,7 @@ export type UserUpdateWithoutPropertiesInput = {
3359
3627
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
3360
3628
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3361
3629
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3630
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3362
3631
  };
3363
3632
  export type UserUncheckedUpdateWithoutPropertiesInput = {
3364
3633
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3407,6 +3676,7 @@ export type UserUncheckedUpdateWithoutPropertiesInput = {
3407
3676
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3408
3677
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3409
3678
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3679
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3410
3680
  };
3411
3681
  export type UserCreateWithoutApplicationsInput = {
3412
3682
  id?: string;
@@ -3455,6 +3725,7 @@ export type UserCreateWithoutApplicationsInput = {
3455
3725
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
3456
3726
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3457
3727
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3728
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3458
3729
  };
3459
3730
  export type UserUncheckedCreateWithoutApplicationsInput = {
3460
3731
  id?: string;
@@ -3503,6 +3774,7 @@ export type UserUncheckedCreateWithoutApplicationsInput = {
3503
3774
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3504
3775
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3505
3776
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3777
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3506
3778
  };
3507
3779
  export type UserCreateOrConnectWithoutApplicationsInput = {
3508
3780
  where: Prisma.UserWhereUniqueInput;
@@ -3555,6 +3827,7 @@ export type UserCreateWithoutSoldApplicationsInput = {
3555
3827
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
3556
3828
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3557
3829
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
3830
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3558
3831
  };
3559
3832
  export type UserUncheckedCreateWithoutSoldApplicationsInput = {
3560
3833
  id?: string;
@@ -3603,6 +3876,7 @@ export type UserUncheckedCreateWithoutSoldApplicationsInput = {
3603
3876
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
3604
3877
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3605
3878
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
3879
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3606
3880
  };
3607
3881
  export type UserCreateOrConnectWithoutSoldApplicationsInput = {
3608
3882
  where: Prisma.UserWhereUniqueInput;
@@ -3664,6 +3938,7 @@ export type UserUpdateWithoutApplicationsInput = {
3664
3938
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
3665
3939
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3666
3940
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
3941
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3667
3942
  };
3668
3943
  export type UserUncheckedUpdateWithoutApplicationsInput = {
3669
3944
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3712,6 +3987,7 @@ export type UserUncheckedUpdateWithoutApplicationsInput = {
3712
3987
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3713
3988
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3714
3989
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
3990
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3715
3991
  };
3716
3992
  export type UserUpsertWithoutSoldApplicationsInput = {
3717
3993
  update: Prisma.XOR<Prisma.UserUpdateWithoutSoldApplicationsInput, Prisma.UserUncheckedUpdateWithoutSoldApplicationsInput>;
@@ -3769,6 +4045,7 @@ export type UserUpdateWithoutSoldApplicationsInput = {
3769
4045
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
3770
4046
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
3771
4047
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4048
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
3772
4049
  };
3773
4050
  export type UserUncheckedUpdateWithoutSoldApplicationsInput = {
3774
4051
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3817,6 +4094,7 @@ export type UserUncheckedUpdateWithoutSoldApplicationsInput = {
3817
4094
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
3818
4095
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
3819
4096
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4097
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
3820
4098
  };
3821
4099
  export type UserCreateWithoutRequestedRefundsInput = {
3822
4100
  id?: string;
@@ -3865,6 +4143,7 @@ export type UserCreateWithoutRequestedRefundsInput = {
3865
4143
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3866
4144
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
3867
4145
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4146
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3868
4147
  };
3869
4148
  export type UserUncheckedCreateWithoutRequestedRefundsInput = {
3870
4149
  id?: string;
@@ -3913,6 +4192,7 @@ export type UserUncheckedCreateWithoutRequestedRefundsInput = {
3913
4192
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
3914
4193
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
3915
4194
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4195
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
3916
4196
  };
3917
4197
  export type UserCreateOrConnectWithoutRequestedRefundsInput = {
3918
4198
  where: Prisma.UserWhereUniqueInput;
@@ -3965,6 +4245,7 @@ export type UserCreateWithoutApprovedRefundsInput = {
3965
4245
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
3966
4246
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
3967
4247
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4248
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
3968
4249
  };
3969
4250
  export type UserUncheckedCreateWithoutApprovedRefundsInput = {
3970
4251
  id?: string;
@@ -4013,6 +4294,7 @@ export type UserUncheckedCreateWithoutApprovedRefundsInput = {
4013
4294
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4014
4295
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4015
4296
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4297
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4016
4298
  };
4017
4299
  export type UserCreateOrConnectWithoutApprovedRefundsInput = {
4018
4300
  where: Prisma.UserWhereUniqueInput;
@@ -4065,6 +4347,7 @@ export type UserCreateWithoutProcessedRefundsInput = {
4065
4347
  approvalRequestsReviewed?: Prisma.ApprovalRequestCreateNestedManyWithoutReviewedByInput;
4066
4348
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4067
4349
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4350
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4068
4351
  };
4069
4352
  export type UserUncheckedCreateWithoutProcessedRefundsInput = {
4070
4353
  id?: string;
@@ -4113,6 +4396,7 @@ export type UserUncheckedCreateWithoutProcessedRefundsInput = {
4113
4396
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutReviewedByInput;
4114
4397
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4115
4398
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4399
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4116
4400
  };
4117
4401
  export type UserCreateOrConnectWithoutProcessedRefundsInput = {
4118
4402
  where: Prisma.UserWhereUniqueInput;
@@ -4174,6 +4458,7 @@ export type UserUpdateWithoutRequestedRefundsInput = {
4174
4458
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4175
4459
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4176
4460
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4461
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4177
4462
  };
4178
4463
  export type UserUncheckedUpdateWithoutRequestedRefundsInput = {
4179
4464
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4222,6 +4507,7 @@ export type UserUncheckedUpdateWithoutRequestedRefundsInput = {
4222
4507
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4223
4508
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4224
4509
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4510
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4225
4511
  };
4226
4512
  export type UserUpsertWithoutApprovedRefundsInput = {
4227
4513
  update: Prisma.XOR<Prisma.UserUpdateWithoutApprovedRefundsInput, Prisma.UserUncheckedUpdateWithoutApprovedRefundsInput>;
@@ -4279,6 +4565,7 @@ export type UserUpdateWithoutApprovedRefundsInput = {
4279
4565
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4280
4566
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4281
4567
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4568
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4282
4569
  };
4283
4570
  export type UserUncheckedUpdateWithoutApprovedRefundsInput = {
4284
4571
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4327,6 +4614,7 @@ export type UserUncheckedUpdateWithoutApprovedRefundsInput = {
4327
4614
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4328
4615
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4329
4616
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
4617
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4330
4618
  };
4331
4619
  export type UserUpsertWithoutProcessedRefundsInput = {
4332
4620
  update: Prisma.XOR<Prisma.UserUpdateWithoutProcessedRefundsInput, Prisma.UserUncheckedUpdateWithoutProcessedRefundsInput>;
@@ -4384,6 +4672,7 @@ export type UserUpdateWithoutProcessedRefundsInput = {
4384
4672
  approvalRequestsReviewed?: Prisma.ApprovalRequestUpdateManyWithoutReviewedByNestedInput;
4385
4673
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4386
4674
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4675
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4387
4676
  };
4388
4677
  export type UserUncheckedUpdateWithoutProcessedRefundsInput = {
4389
4678
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4432,6 +4721,7 @@ export type UserUncheckedUpdateWithoutProcessedRefundsInput = {
4432
4721
  approvalRequestsReviewed?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutReviewedByNestedInput;
4433
4722
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4434
4723
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4724
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4435
4725
  };
4436
4726
  export type UserCreateWithoutAssignedStepsInput = {
4437
4727
  id?: string;
@@ -4480,6 +4770,7 @@ export type UserCreateWithoutAssignedStepsInput = {
4480
4770
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4481
4771
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4482
4772
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4773
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4483
4774
  };
4484
4775
  export type UserUncheckedCreateWithoutAssignedStepsInput = {
4485
4776
  id?: string;
@@ -4528,6 +4819,7 @@ export type UserUncheckedCreateWithoutAssignedStepsInput = {
4528
4819
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4529
4820
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4530
4821
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4822
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4531
4823
  };
4532
4824
  export type UserCreateOrConnectWithoutAssignedStepsInput = {
4533
4825
  where: Prisma.UserWhereUniqueInput;
@@ -4580,6 +4872,7 @@ export type UserCreateWithoutGateActedStepsInput = {
4580
4872
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4581
4873
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4582
4874
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
4875
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4583
4876
  };
4584
4877
  export type UserUncheckedCreateWithoutGateActedStepsInput = {
4585
4878
  id?: string;
@@ -4628,6 +4921,7 @@ export type UserUncheckedCreateWithoutGateActedStepsInput = {
4628
4921
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4629
4922
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4630
4923
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
4924
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4631
4925
  };
4632
4926
  export type UserCreateOrConnectWithoutGateActedStepsInput = {
4633
4927
  where: Prisma.UserWhereUniqueInput;
@@ -4689,6 +4983,7 @@ export type UserUpdateWithoutAssignedStepsInput = {
4689
4983
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4690
4984
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4691
4985
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
4986
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4692
4987
  };
4693
4988
  export type UserUncheckedUpdateWithoutAssignedStepsInput = {
4694
4989
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4737,6 +5032,7 @@ export type UserUncheckedUpdateWithoutAssignedStepsInput = {
4737
5032
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4738
5033
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4739
5034
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5035
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4740
5036
  };
4741
5037
  export type UserUpsertWithoutGateActedStepsInput = {
4742
5038
  update: Prisma.XOR<Prisma.UserUpdateWithoutGateActedStepsInput, Prisma.UserUncheckedUpdateWithoutGateActedStepsInput>;
@@ -4794,6 +5090,7 @@ export type UserUpdateWithoutGateActedStepsInput = {
4794
5090
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
4795
5091
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
4796
5092
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5093
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
4797
5094
  };
4798
5095
  export type UserUncheckedUpdateWithoutGateActedStepsInput = {
4799
5096
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -4842,6 +5139,7 @@ export type UserUncheckedUpdateWithoutGateActedStepsInput = {
4842
5139
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
4843
5140
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
4844
5141
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5142
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
4845
5143
  };
4846
5144
  export type UserCreateWithoutStepApprovalsInput = {
4847
5145
  id?: string;
@@ -4890,6 +5188,7 @@ export type UserCreateWithoutStepApprovalsInput = {
4890
5188
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
4891
5189
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
4892
5190
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5191
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
4893
5192
  };
4894
5193
  export type UserUncheckedCreateWithoutStepApprovalsInput = {
4895
5194
  id?: string;
@@ -4938,6 +5237,7 @@ export type UserUncheckedCreateWithoutStepApprovalsInput = {
4938
5237
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
4939
5238
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
4940
5239
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5240
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
4941
5241
  };
4942
5242
  export type UserCreateOrConnectWithoutStepApprovalsInput = {
4943
5243
  where: Prisma.UserWhereUniqueInput;
@@ -4999,6 +5299,7 @@ export type UserUpdateWithoutStepApprovalsInput = {
4999
5299
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
5000
5300
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5001
5301
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5302
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5002
5303
  };
5003
5304
  export type UserUncheckedUpdateWithoutStepApprovalsInput = {
5004
5305
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5047,6 +5348,7 @@ export type UserUncheckedUpdateWithoutStepApprovalsInput = {
5047
5348
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5048
5349
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5049
5350
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5351
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5050
5352
  };
5051
5353
  export type UserCreateWithoutApplicationPaymentsInput = {
5052
5354
  id?: string;
@@ -5095,6 +5397,7 @@ export type UserCreateWithoutApplicationPaymentsInput = {
5095
5397
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5096
5398
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5097
5399
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5400
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5098
5401
  };
5099
5402
  export type UserUncheckedCreateWithoutApplicationPaymentsInput = {
5100
5403
  id?: string;
@@ -5143,6 +5446,7 @@ export type UserUncheckedCreateWithoutApplicationPaymentsInput = {
5143
5446
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5144
5447
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5145
5448
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5449
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5146
5450
  };
5147
5451
  export type UserCreateOrConnectWithoutApplicationPaymentsInput = {
5148
5452
  where: Prisma.UserWhereUniqueInput;
@@ -5204,6 +5508,7 @@ export type UserUpdateWithoutApplicationPaymentsInput = {
5204
5508
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
5205
5509
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5206
5510
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5511
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5207
5512
  };
5208
5513
  export type UserUncheckedUpdateWithoutApplicationPaymentsInput = {
5209
5514
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5252,6 +5557,7 @@ export type UserUncheckedUpdateWithoutApplicationPaymentsInput = {
5252
5557
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5253
5558
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5254
5559
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5560
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5255
5561
  };
5256
5562
  export type UserCreateWithoutUploadedDocsInput = {
5257
5563
  id?: string;
@@ -5300,6 +5606,7 @@ export type UserCreateWithoutUploadedDocsInput = {
5300
5606
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5301
5607
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5302
5608
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5609
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5303
5610
  };
5304
5611
  export type UserUncheckedCreateWithoutUploadedDocsInput = {
5305
5612
  id?: string;
@@ -5348,6 +5655,7 @@ export type UserUncheckedCreateWithoutUploadedDocsInput = {
5348
5655
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5349
5656
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5350
5657
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5658
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5351
5659
  };
5352
5660
  export type UserCreateOrConnectWithoutUploadedDocsInput = {
5353
5661
  where: Prisma.UserWhereUniqueInput;
@@ -5409,6 +5717,7 @@ export type UserUpdateWithoutUploadedDocsInput = {
5409
5717
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
5410
5718
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5411
5719
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
5720
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5412
5721
  };
5413
5722
  export type UserUncheckedUpdateWithoutUploadedDocsInput = {
5414
5723
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5457,6 +5766,7 @@ export type UserUncheckedUpdateWithoutUploadedDocsInput = {
5457
5766
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5458
5767
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5459
5768
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
5769
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5460
5770
  };
5461
5771
  export type UserCreateWithoutOfferLettersGeneratedInput = {
5462
5772
  id?: string;
@@ -5505,6 +5815,7 @@ export type UserCreateWithoutOfferLettersGeneratedInput = {
5505
5815
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5506
5816
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5507
5817
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5818
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5508
5819
  };
5509
5820
  export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
5510
5821
  id?: string;
@@ -5553,6 +5864,7 @@ export type UserUncheckedCreateWithoutOfferLettersGeneratedInput = {
5553
5864
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5554
5865
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5555
5866
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5867
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5556
5868
  };
5557
5869
  export type UserCreateOrConnectWithoutOfferLettersGeneratedInput = {
5558
5870
  where: Prisma.UserWhereUniqueInput;
@@ -5605,6 +5917,7 @@ export type UserCreateWithoutOfferLettersSentInput = {
5605
5917
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5606
5918
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5607
5919
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
5920
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5608
5921
  };
5609
5922
  export type UserUncheckedCreateWithoutOfferLettersSentInput = {
5610
5923
  id?: string;
@@ -5653,6 +5966,7 @@ export type UserUncheckedCreateWithoutOfferLettersSentInput = {
5653
5966
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5654
5967
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5655
5968
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
5969
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5656
5970
  };
5657
5971
  export type UserCreateOrConnectWithoutOfferLettersSentInput = {
5658
5972
  where: Prisma.UserWhereUniqueInput;
@@ -5714,6 +6028,7 @@ export type UserUpdateWithoutOfferLettersGeneratedInput = {
5714
6028
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
5715
6029
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5716
6030
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6031
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5717
6032
  };
5718
6033
  export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
5719
6034
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5762,6 +6077,7 @@ export type UserUncheckedUpdateWithoutOfferLettersGeneratedInput = {
5762
6077
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5763
6078
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5764
6079
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6080
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5765
6081
  };
5766
6082
  export type UserUpsertWithoutOfferLettersSentInput = {
5767
6083
  update: Prisma.XOR<Prisma.UserUpdateWithoutOfferLettersSentInput, Prisma.UserUncheckedUpdateWithoutOfferLettersSentInput>;
@@ -5819,6 +6135,7 @@ export type UserUpdateWithoutOfferLettersSentInput = {
5819
6135
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
5820
6136
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
5821
6137
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6138
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
5822
6139
  };
5823
6140
  export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
5824
6141
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -5867,6 +6184,7 @@ export type UserUncheckedUpdateWithoutOfferLettersSentInput = {
5867
6184
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
5868
6185
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
5869
6186
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6187
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
5870
6188
  };
5871
6189
  export type UserCreateWithoutInitiatedTerminationsInput = {
5872
6190
  id?: string;
@@ -5915,6 +6233,7 @@ export type UserCreateWithoutInitiatedTerminationsInput = {
5915
6233
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
5916
6234
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
5917
6235
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6236
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
5918
6237
  };
5919
6238
  export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
5920
6239
  id?: string;
@@ -5963,6 +6282,7 @@ export type UserUncheckedCreateWithoutInitiatedTerminationsInput = {
5963
6282
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
5964
6283
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
5965
6284
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6285
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
5966
6286
  };
5967
6287
  export type UserCreateOrConnectWithoutInitiatedTerminationsInput = {
5968
6288
  where: Prisma.UserWhereUniqueInput;
@@ -6015,6 +6335,7 @@ export type UserCreateWithoutReviewedTerminationsInput = {
6015
6335
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6016
6336
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6017
6337
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6338
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6018
6339
  };
6019
6340
  export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
6020
6341
  id?: string;
@@ -6063,6 +6384,7 @@ export type UserUncheckedCreateWithoutReviewedTerminationsInput = {
6063
6384
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6064
6385
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6065
6386
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6387
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6066
6388
  };
6067
6389
  export type UserCreateOrConnectWithoutReviewedTerminationsInput = {
6068
6390
  where: Prisma.UserWhereUniqueInput;
@@ -6124,6 +6446,7 @@ export type UserUpdateWithoutInitiatedTerminationsInput = {
6124
6446
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6125
6447
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6126
6448
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6449
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6127
6450
  };
6128
6451
  export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
6129
6452
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6172,6 +6495,7 @@ export type UserUncheckedUpdateWithoutInitiatedTerminationsInput = {
6172
6495
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6173
6496
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6174
6497
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6498
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6175
6499
  };
6176
6500
  export type UserUpsertWithoutReviewedTerminationsInput = {
6177
6501
  update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedTerminationsInput, Prisma.UserUncheckedUpdateWithoutReviewedTerminationsInput>;
@@ -6229,6 +6553,7 @@ export type UserUpdateWithoutReviewedTerminationsInput = {
6229
6553
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6230
6554
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6231
6555
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6556
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6232
6557
  };
6233
6558
  export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
6234
6559
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6277,6 +6602,7 @@ export type UserUncheckedUpdateWithoutReviewedTerminationsInput = {
6277
6602
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6278
6603
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6279
6604
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6605
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6280
6606
  };
6281
6607
  export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
6282
6608
  id?: string;
@@ -6325,6 +6651,7 @@ export type UserCreateWithoutPaymentMethodChangeRequestsInput = {
6325
6651
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6326
6652
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6327
6653
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6654
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6328
6655
  };
6329
6656
  export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
6330
6657
  id?: string;
@@ -6373,6 +6700,7 @@ export type UserUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
6373
6700
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6374
6701
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6375
6702
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6703
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6376
6704
  };
6377
6705
  export type UserCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
6378
6706
  where: Prisma.UserWhereUniqueInput;
@@ -6425,6 +6753,7 @@ export type UserCreateWithoutReviewedChangeRequestsInput = {
6425
6753
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6426
6754
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6427
6755
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
6756
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6428
6757
  };
6429
6758
  export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
6430
6759
  id?: string;
@@ -6473,6 +6802,7 @@ export type UserUncheckedCreateWithoutReviewedChangeRequestsInput = {
6473
6802
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6474
6803
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6475
6804
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
6805
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6476
6806
  };
6477
6807
  export type UserCreateOrConnectWithoutReviewedChangeRequestsInput = {
6478
6808
  where: Prisma.UserWhereUniqueInput;
@@ -6534,6 +6864,7 @@ export type UserUpdateWithoutPaymentMethodChangeRequestsInput = {
6534
6864
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6535
6865
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6536
6866
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6867
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6537
6868
  };
6538
6869
  export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
6539
6870
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6582,6 +6913,7 @@ export type UserUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
6582
6913
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6583
6914
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6584
6915
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
6916
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6585
6917
  };
6586
6918
  export type UserUpsertWithoutReviewedChangeRequestsInput = {
6587
6919
  update: Prisma.XOR<Prisma.UserUpdateWithoutReviewedChangeRequestsInput, Prisma.UserUncheckedUpdateWithoutReviewedChangeRequestsInput>;
@@ -6639,6 +6971,7 @@ export type UserUpdateWithoutReviewedChangeRequestsInput = {
6639
6971
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6640
6972
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6641
6973
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
6974
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6642
6975
  };
6643
6976
  export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
6644
6977
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6687,6 +7020,7 @@ export type UserUncheckedUpdateWithoutReviewedChangeRequestsInput = {
6687
7020
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6688
7021
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6689
7022
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7023
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6690
7024
  };
6691
7025
  export type UserCreateWithoutTransferRequestsSubmittedInput = {
6692
7026
  id?: string;
@@ -6735,6 +7069,7 @@ export type UserCreateWithoutTransferRequestsSubmittedInput = {
6735
7069
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6736
7070
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6737
7071
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7072
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6738
7073
  };
6739
7074
  export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
6740
7075
  id?: string;
@@ -6783,6 +7118,7 @@ export type UserUncheckedCreateWithoutTransferRequestsSubmittedInput = {
6783
7118
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6784
7119
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6785
7120
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7121
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6786
7122
  };
6787
7123
  export type UserCreateOrConnectWithoutTransferRequestsSubmittedInput = {
6788
7124
  where: Prisma.UserWhereUniqueInput;
@@ -6835,6 +7171,7 @@ export type UserCreateWithoutTransferRequestsReviewedInput = {
6835
7171
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
6836
7172
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
6837
7173
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7174
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
6838
7175
  };
6839
7176
  export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
6840
7177
  id?: string;
@@ -6883,6 +7220,7 @@ export type UserUncheckedCreateWithoutTransferRequestsReviewedInput = {
6883
7220
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
6884
7221
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
6885
7222
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7223
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
6886
7224
  };
6887
7225
  export type UserCreateOrConnectWithoutTransferRequestsReviewedInput = {
6888
7226
  where: Prisma.UserWhereUniqueInput;
@@ -6944,6 +7282,7 @@ export type UserUpdateWithoutTransferRequestsSubmittedInput = {
6944
7282
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
6945
7283
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
6946
7284
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7285
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
6947
7286
  };
6948
7287
  export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
6949
7288
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -6992,6 +7331,7 @@ export type UserUncheckedUpdateWithoutTransferRequestsSubmittedInput = {
6992
7331
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
6993
7332
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
6994
7333
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7334
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
6995
7335
  };
6996
7336
  export type UserUpsertWithoutTransferRequestsReviewedInput = {
6997
7337
  update: Prisma.XOR<Prisma.UserUpdateWithoutTransferRequestsReviewedInput, Prisma.UserUncheckedUpdateWithoutTransferRequestsReviewedInput>;
@@ -7049,6 +7389,7 @@ export type UserUpdateWithoutTransferRequestsReviewedInput = {
7049
7389
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
7050
7390
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7051
7391
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7392
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7052
7393
  };
7053
7394
  export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
7054
7395
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7097,6 +7438,7 @@ export type UserUncheckedUpdateWithoutTransferRequestsReviewedInput = {
7097
7438
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7098
7439
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7099
7440
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7441
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7100
7442
  };
7101
7443
  export type UserCreateWithoutApprovalRequestsSubmittedInput = {
7102
7444
  id?: string;
@@ -7145,6 +7487,7 @@ export type UserCreateWithoutApprovalRequestsSubmittedInput = {
7145
7487
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
7146
7488
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7147
7489
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7490
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7148
7491
  };
7149
7492
  export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
7150
7493
  id?: string;
@@ -7193,6 +7536,7 @@ export type UserUncheckedCreateWithoutApprovalRequestsSubmittedInput = {
7193
7536
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
7194
7537
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7195
7538
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7539
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7196
7540
  };
7197
7541
  export type UserCreateOrConnectWithoutApprovalRequestsSubmittedInput = {
7198
7542
  where: Prisma.UserWhereUniqueInput;
@@ -7245,6 +7589,7 @@ export type UserCreateWithoutApprovalRequestsAssignedInput = {
7245
7589
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
7246
7590
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7247
7591
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7592
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7248
7593
  };
7249
7594
  export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
7250
7595
  id?: string;
@@ -7293,6 +7638,7 @@ export type UserUncheckedCreateWithoutApprovalRequestsAssignedInput = {
7293
7638
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
7294
7639
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7295
7640
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7641
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7296
7642
  };
7297
7643
  export type UserCreateOrConnectWithoutApprovalRequestsAssignedInput = {
7298
7644
  where: Prisma.UserWhereUniqueInput;
@@ -7345,6 +7691,7 @@ export type UserCreateWithoutApprovalRequestsReviewedInput = {
7345
7691
  requestedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutRequestedByInput;
7346
7692
  approvedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutApprovedByInput;
7347
7693
  processedRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutProcessedByInput;
7694
+ organizationMemberships?: Prisma.OrganizationMemberCreateNestedManyWithoutUserInput;
7348
7695
  };
7349
7696
  export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
7350
7697
  id?: string;
@@ -7393,6 +7740,7 @@ export type UserUncheckedCreateWithoutApprovalRequestsReviewedInput = {
7393
7740
  requestedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutRequestedByInput;
7394
7741
  approvedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutApprovedByInput;
7395
7742
  processedRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutProcessedByInput;
7743
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutUserInput;
7396
7744
  };
7397
7745
  export type UserCreateOrConnectWithoutApprovalRequestsReviewedInput = {
7398
7746
  where: Prisma.UserWhereUniqueInput;
@@ -7454,6 +7802,7 @@ export type UserUpdateWithoutApprovalRequestsSubmittedInput = {
7454
7802
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
7455
7803
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7456
7804
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7805
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7457
7806
  };
7458
7807
  export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
7459
7808
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7502,6 +7851,7 @@ export type UserUncheckedUpdateWithoutApprovalRequestsSubmittedInput = {
7502
7851
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7503
7852
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7504
7853
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7854
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7505
7855
  };
7506
7856
  export type UserUpsertWithoutApprovalRequestsAssignedInput = {
7507
7857
  update: Prisma.XOR<Prisma.UserUpdateWithoutApprovalRequestsAssignedInput, Prisma.UserUncheckedUpdateWithoutApprovalRequestsAssignedInput>;
@@ -7559,6 +7909,7 @@ export type UserUpdateWithoutApprovalRequestsAssignedInput = {
7559
7909
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
7560
7910
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7561
7911
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
7912
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7562
7913
  };
7563
7914
  export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
7564
7915
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7607,6 +7958,7 @@ export type UserUncheckedUpdateWithoutApprovalRequestsAssignedInput = {
7607
7958
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7608
7959
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7609
7960
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
7961
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7610
7962
  };
7611
7963
  export type UserUpsertWithoutApprovalRequestsReviewedInput = {
7612
7964
  update: Prisma.XOR<Prisma.UserUpdateWithoutApprovalRequestsReviewedInput, Prisma.UserUncheckedUpdateWithoutApprovalRequestsReviewedInput>;
@@ -7664,6 +8016,7 @@ export type UserUpdateWithoutApprovalRequestsReviewedInput = {
7664
8016
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
7665
8017
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7666
8018
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8019
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7667
8020
  };
7668
8021
  export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
7669
8022
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7712,6 +8065,7 @@ export type UserUncheckedUpdateWithoutApprovalRequestsReviewedInput = {
7712
8065
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7713
8066
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7714
8067
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8068
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7715
8069
  };
7716
8070
  export type UserCreateManyTenantInput = {
7717
8071
  id?: string;
@@ -7778,6 +8132,7 @@ export type UserUpdateWithoutTenantInput = {
7778
8132
  requestedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutRequestedByNestedInput;
7779
8133
  approvedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutApprovedByNestedInput;
7780
8134
  processedRefunds?: Prisma.ApplicationRefundUpdateManyWithoutProcessedByNestedInput;
8135
+ organizationMemberships?: Prisma.OrganizationMemberUpdateManyWithoutUserNestedInput;
7781
8136
  };
7782
8137
  export type UserUncheckedUpdateWithoutTenantInput = {
7783
8138
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7826,6 +8181,7 @@ export type UserUncheckedUpdateWithoutTenantInput = {
7826
8181
  requestedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutRequestedByNestedInput;
7827
8182
  approvedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutApprovedByNestedInput;
7828
8183
  processedRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutProcessedByNestedInput;
8184
+ organizationMemberships?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput;
7829
8185
  };
7830
8186
  export type UserUncheckedUpdateManyWithoutTenantInput = {
7831
8187
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -7879,6 +8235,7 @@ export type UserCountOutputType = {
7879
8235
  requestedRefunds: number;
7880
8236
  approvedRefunds: number;
7881
8237
  processedRefunds: number;
8238
+ organizationMemberships: number;
7882
8239
  };
7883
8240
  export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7884
8241
  tenantMemberships?: boolean | UserCountOutputTypeCountTenantMembershipsArgs;
@@ -7911,6 +8268,7 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
7911
8268
  requestedRefunds?: boolean | UserCountOutputTypeCountRequestedRefundsArgs;
7912
8269
  approvedRefunds?: boolean | UserCountOutputTypeCountApprovedRefundsArgs;
7913
8270
  processedRefunds?: boolean | UserCountOutputTypeCountProcessedRefundsArgs;
8271
+ organizationMemberships?: boolean | UserCountOutputTypeCountOrganizationMembershipsArgs;
7914
8272
  };
7915
8273
  /**
7916
8274
  * UserCountOutputType without action
@@ -8101,6 +8459,12 @@ export type UserCountOutputTypeCountApprovedRefundsArgs<ExtArgs extends runtime.
8101
8459
  export type UserCountOutputTypeCountProcessedRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8102
8460
  where?: Prisma.ApplicationRefundWhereInput;
8103
8461
  };
8462
+ /**
8463
+ * UserCountOutputType without action
8464
+ */
8465
+ export type UserCountOutputTypeCountOrganizationMembershipsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
8466
+ where?: Prisma.OrganizationMemberWhereInput;
8467
+ };
8104
8468
  export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
8105
8469
  id?: boolean;
8106
8470
  email?: boolean;
@@ -8151,6 +8515,7 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
8151
8515
  requestedRefunds?: boolean | Prisma.User$requestedRefundsArgs<ExtArgs>;
8152
8516
  approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
8153
8517
  processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
8518
+ organizationMemberships?: boolean | Prisma.User$organizationMembershipsArgs<ExtArgs>;
8154
8519
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
8155
8520
  }, ExtArgs["result"]["user"]>;
8156
8521
  export type UserSelectScalar = {
@@ -8206,6 +8571,7 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
8206
8571
  requestedRefunds?: boolean | Prisma.User$requestedRefundsArgs<ExtArgs>;
8207
8572
  approvedRefunds?: boolean | Prisma.User$approvedRefundsArgs<ExtArgs>;
8208
8573
  processedRefunds?: boolean | Prisma.User$processedRefundsArgs<ExtArgs>;
8574
+ organizationMemberships?: boolean | Prisma.User$organizationMembershipsArgs<ExtArgs>;
8209
8575
  _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>;
8210
8576
  };
8211
8577
  export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -8243,6 +8609,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
8243
8609
  requestedRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
8244
8610
  approvedRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
8245
8611
  processedRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
8612
+ organizationMemberships: Prisma.$OrganizationMemberPayload<ExtArgs>[];
8246
8613
  };
8247
8614
  scalars: runtime.Types.Extensions.GetPayloadResult<{
8248
8615
  id: string;
@@ -8571,6 +8938,7 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
8571
8938
  requestedRefunds<T extends Prisma.User$requestedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$requestedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
8572
8939
  approvedRefunds<T extends Prisma.User$approvedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$approvedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
8573
8940
  processedRefunds<T extends Prisma.User$processedRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$processedRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
8941
+ organizationMemberships<T extends Prisma.User$organizationMembershipsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$organizationMembershipsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
8574
8942
  /**
8575
8943
  * Attaches callbacks for the resolution and/or rejection of the Promise.
8576
8944
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -9666,6 +10034,29 @@ export type User$processedRefundsArgs<ExtArgs extends runtime.Types.Extensions.I
9666
10034
  skip?: number;
9667
10035
  distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
9668
10036
  };
10037
+ /**
10038
+ * User.organizationMemberships
10039
+ */
10040
+ export type User$organizationMembershipsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10041
+ /**
10042
+ * Select specific fields to fetch from the OrganizationMember
10043
+ */
10044
+ select?: Prisma.OrganizationMemberSelect<ExtArgs> | null;
10045
+ /**
10046
+ * Omit specific fields from the OrganizationMember
10047
+ */
10048
+ omit?: Prisma.OrganizationMemberOmit<ExtArgs> | null;
10049
+ /**
10050
+ * Choose, which related nodes to fetch as well
10051
+ */
10052
+ include?: Prisma.OrganizationMemberInclude<ExtArgs> | null;
10053
+ where?: Prisma.OrganizationMemberWhereInput;
10054
+ orderBy?: Prisma.OrganizationMemberOrderByWithRelationInput | Prisma.OrganizationMemberOrderByWithRelationInput[];
10055
+ cursor?: Prisma.OrganizationMemberWhereUniqueInput;
10056
+ take?: number;
10057
+ skip?: number;
10058
+ distinct?: Prisma.OrganizationMemberScalarFieldEnum | Prisma.OrganizationMemberScalarFieldEnum[];
10059
+ };
9669
10060
  /**
9670
10061
  * User without action
9671
10062
  */