@constructive-io/sdk 0.14.0 → 0.14.1

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 (93) hide show
  1. package/admin/orm/index.d.ts +6 -4
  2. package/admin/orm/index.js +6 -4
  3. package/admin/orm/input-types.d.ts +503 -295
  4. package/admin/orm/models/index.d.ts +3 -2
  5. package/admin/orm/models/index.js +7 -5
  6. package/admin/orm/models/orgMemberProfile.d.ts +56 -0
  7. package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
  8. package/auth/orm/index.d.ts +45 -15
  9. package/auth/orm/index.js +2 -2
  10. package/auth/orm/input-types.d.ts +186 -251
  11. package/auth/orm/input-types.js +0 -1
  12. package/auth/orm/models/index.d.ts +1 -1
  13. package/auth/orm/models/index.js +3 -3
  14. package/auth/orm/models/userConnectedAccount.d.ts +38 -0
  15. package/auth/orm/models/userConnectedAccount.js +76 -0
  16. package/auth/orm/mutation/index.d.ts +56 -16
  17. package/auth/orm/mutation/index.js +78 -18
  18. package/auth/orm/query/index.d.ts +12 -4
  19. package/auth/orm/query/index.js +19 -7
  20. package/esm/admin/orm/index.d.ts +6 -4
  21. package/esm/admin/orm/index.js +6 -4
  22. package/esm/admin/orm/input-types.d.ts +503 -295
  23. package/esm/admin/orm/models/index.d.ts +3 -2
  24. package/esm/admin/orm/models/index.js +3 -2
  25. package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
  26. package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
  27. package/esm/auth/orm/index.d.ts +45 -15
  28. package/esm/auth/orm/index.js +2 -2
  29. package/esm/auth/orm/input-types.d.ts +186 -251
  30. package/esm/auth/orm/input-types.js +0 -1
  31. package/esm/auth/orm/models/index.d.ts +1 -1
  32. package/esm/auth/orm/models/index.js +1 -1
  33. package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
  34. package/esm/auth/orm/models/userConnectedAccount.js +72 -0
  35. package/esm/auth/orm/mutation/index.d.ts +56 -16
  36. package/esm/auth/orm/mutation/index.js +78 -18
  37. package/esm/auth/orm/query/index.d.ts +12 -4
  38. package/esm/auth/orm/query/index.js +19 -7
  39. package/esm/public/orm/index.d.ts +69 -19
  40. package/esm/public/orm/index.js +16 -6
  41. package/esm/public/orm/input-types.d.ts +2047 -640
  42. package/esm/public/orm/input-types.js +15 -6
  43. package/esm/public/orm/models/devicesModule.d.ts +56 -0
  44. package/esm/public/orm/models/devicesModule.js +96 -0
  45. package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
  46. package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
  47. package/esm/public/orm/models/index.d.ts +8 -3
  48. package/esm/public/orm/models/index.js +8 -3
  49. package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
  50. package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
  51. package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
  52. package/esm/public/orm/models/sessionSecretsModule.js +96 -0
  53. package/esm/public/orm/models/spatialRelation.d.ts +56 -0
  54. package/esm/public/orm/models/spatialRelation.js +96 -0
  55. package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
  56. package/esm/public/orm/models/userConnectedAccount.js +72 -0
  57. package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  58. package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
  59. package/esm/public/orm/mutation/index.d.ts +72 -20
  60. package/esm/public/orm/mutation/index.js +96 -24
  61. package/esm/public/orm/query/index.d.ts +24 -2
  62. package/esm/public/orm/query/index.js +36 -4
  63. package/package.json +2 -2
  64. package/public/orm/index.d.ts +69 -19
  65. package/public/orm/index.js +16 -6
  66. package/public/orm/input-types.d.ts +2047 -640
  67. package/public/orm/input-types.js +15 -6
  68. package/public/orm/models/devicesModule.d.ts +56 -0
  69. package/public/orm/models/devicesModule.js +100 -0
  70. package/public/orm/models/entityTypeProvision.d.ts +56 -0
  71. package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
  72. package/public/orm/models/index.d.ts +8 -3
  73. package/public/orm/models/index.js +19 -9
  74. package/public/orm/models/orgMemberProfile.d.ts +56 -0
  75. package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
  76. package/public/orm/models/sessionSecretsModule.d.ts +56 -0
  77. package/public/orm/models/sessionSecretsModule.js +100 -0
  78. package/public/orm/models/spatialRelation.d.ts +56 -0
  79. package/public/orm/models/spatialRelation.js +100 -0
  80. package/public/orm/models/userConnectedAccount.d.ts +38 -0
  81. package/public/orm/models/userConnectedAccount.js +76 -0
  82. package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  83. package/public/orm/models/webauthnCredentialsModule.js +100 -0
  84. package/public/orm/mutation/index.d.ts +72 -20
  85. package/public/orm/mutation/index.js +96 -24
  86. package/public/orm/query/index.d.ts +24 -2
  87. package/public/orm/query/index.js +36 -4
  88. package/auth/orm/models/connectedAccount.d.ts +0 -56
  89. package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
  90. package/esm/public/orm/models/connectedAccount.d.ts +0 -56
  91. package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
  92. package/public/orm/models/connectedAccount.d.ts +0 -56
  93. package/public/orm/models/tableTemplateModule.d.ts +0 -56
@@ -367,17 +367,6 @@ export interface OrgOwnerGrant {
367
367
  createdAt?: string | null;
368
368
  updatedAt?: string | null;
369
369
  }
370
- /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
371
- export interface MembershipType {
372
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
373
- id: number;
374
- /** Human-readable name of the membership type */
375
- name?: string | null;
376
- /** Description of what this membership type represents */
377
- description?: string | null;
378
- /** Short prefix used to namespace tables and functions for this membership scope */
379
- prefix?: string | null;
380
- }
381
370
  /** Tracks per-actor usage counts against configurable maximum limits */
382
371
  export interface AppLimit {
383
372
  id: string;
@@ -457,6 +446,21 @@ export interface OrgLimit {
457
446
  max?: number | null;
458
447
  entityId?: string | null;
459
448
  }
449
+ /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
450
+ export interface MembershipType {
451
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
452
+ id: number;
453
+ /** Human-readable name of the membership type */
454
+ name?: string | null;
455
+ /** Description of what this membership type represents */
456
+ description?: string | null;
457
+ /** Short prefix used to namespace tables and functions for this membership scope */
458
+ prefix?: string | null;
459
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
460
+ parentMembershipType?: number | null;
461
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
462
+ hasUsersTableEntry?: boolean | null;
463
+ }
460
464
  /** Records of individual permission grants and revocations for members via bitmask */
461
465
  export interface AppGrant {
462
466
  id: string;
@@ -542,6 +546,28 @@ export interface OrgMembershipDefault {
542
546
  /** When a group is created, whether to auto-add existing org members as group members */
543
547
  createGroupsCascadeMembers?: boolean | null;
544
548
  }
549
+ /** Per-membership profile information visible to other entity members (display name, email, title, bio, avatar) */
550
+ export interface OrgMemberProfile {
551
+ id: string;
552
+ createdAt?: string | null;
553
+ updatedAt?: string | null;
554
+ /** References the membership this profile belongs to (1:1) */
555
+ membershipId?: string | null;
556
+ /** References the entity this profile belongs to (used for RLS lookups) */
557
+ entityId?: string | null;
558
+ /** References the user who owns this profile (for self-edit RLS) */
559
+ actorId?: string | null;
560
+ /** Display name shown to other entity members */
561
+ displayName?: string | null;
562
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
563
+ email?: string | null;
564
+ /** Job title or role description visible to other entity members */
565
+ title?: string | null;
566
+ /** Short biography visible to other entity members */
567
+ bio?: string | null;
568
+ /** Profile picture visible to other entity members */
569
+ profilePicture?: ConstructiveInternalTypeImage | null;
570
+ }
545
571
  /** Defines available levels that users can achieve by completing requirements */
546
572
  export interface AppLevel {
547
573
  id: string;
@@ -580,6 +606,33 @@ export interface AppInvite {
580
606
  createdAt?: string | null;
581
607
  updatedAt?: string | null;
582
608
  }
609
+ /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
610
+ export interface OrgInvite {
611
+ id: string;
612
+ /** Email address of the invited recipient */
613
+ email?: ConstructiveInternalTypeEmail | null;
614
+ /** User ID of the member who sent this invitation */
615
+ senderId?: string | null;
616
+ /** User ID of the intended recipient, if targeting a specific user */
617
+ receiverId?: string | null;
618
+ /** Unique random hex token used to redeem this invitation */
619
+ inviteToken?: string | null;
620
+ /** Whether this invitation is still valid and can be redeemed */
621
+ inviteValid?: boolean | null;
622
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
623
+ inviteLimit?: number | null;
624
+ /** Running count of how many times this invite has been claimed */
625
+ inviteCount?: number | null;
626
+ /** Whether this invite can be claimed by multiple recipients */
627
+ multiple?: boolean | null;
628
+ /** Optional JSON payload of additional invite metadata */
629
+ data?: Record<string, unknown> | null;
630
+ /** Timestamp after which this invitation can no longer be redeemed */
631
+ expiresAt?: string | null;
632
+ createdAt?: string | null;
633
+ updatedAt?: string | null;
634
+ entityId?: string | null;
635
+ }
583
636
  /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */
584
637
  export interface AppMembership {
585
638
  id: string;
@@ -597,6 +650,8 @@ export interface AppMembership {
597
650
  isVerified?: boolean | null;
598
651
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
599
652
  isActive?: boolean | null;
653
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
654
+ isExternal?: boolean | null;
600
655
  /** Whether the actor is the owner of this entity */
601
656
  isOwner?: boolean | null;
602
657
  /** Whether the actor has admin privileges on this entity */
@@ -624,6 +679,8 @@ export interface OrgMembership {
624
679
  isDisabled?: boolean | null;
625
680
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
626
681
  isActive?: boolean | null;
682
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
683
+ isExternal?: boolean | null;
627
684
  /** Whether the actor is the owner of this entity */
628
685
  isOwner?: boolean | null;
629
686
  /** Whether the actor has admin privileges on this entity */
@@ -636,35 +693,10 @@ export interface OrgMembership {
636
693
  actorId?: string | null;
637
694
  /** References the entity (org or group) this membership belongs to */
638
695
  entityId?: string | null;
696
+ /** Whether this member has read-only access (blocks mutations when true) */
697
+ isReadOnly?: boolean | null;
639
698
  profileId?: string | null;
640
699
  }
641
- /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
642
- export interface OrgInvite {
643
- id: string;
644
- /** Email address of the invited recipient */
645
- email?: ConstructiveInternalTypeEmail | null;
646
- /** User ID of the member who sent this invitation */
647
- senderId?: string | null;
648
- /** User ID of the intended recipient, if targeting a specific user */
649
- receiverId?: string | null;
650
- /** Unique random hex token used to redeem this invitation */
651
- inviteToken?: string | null;
652
- /** Whether this invitation is still valid and can be redeemed */
653
- inviteValid?: boolean | null;
654
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
655
- inviteLimit?: number | null;
656
- /** Running count of how many times this invite has been claimed */
657
- inviteCount?: number | null;
658
- /** Whether this invite can be claimed by multiple recipients */
659
- multiple?: boolean | null;
660
- /** Optional JSON payload of additional invite metadata */
661
- data?: Record<string, unknown> | null;
662
- /** Timestamp after which this invitation can no longer be redeemed */
663
- expiresAt?: string | null;
664
- createdAt?: string | null;
665
- updatedAt?: string | null;
666
- entityId?: string | null;
667
- }
668
700
  export interface ConnectionResult<T> {
669
701
  nodes: T[];
670
702
  totalCount: number;
@@ -704,8 +736,6 @@ export interface OrgAdminGrantRelations {
704
736
  }
705
737
  export interface OrgOwnerGrantRelations {
706
738
  }
707
- export interface MembershipTypeRelations {
708
- }
709
739
  export interface AppLimitRelations {
710
740
  }
711
741
  export interface AppAchievementRelations {
@@ -718,6 +748,8 @@ export interface OrgChartEdgeGrantRelations {
718
748
  }
719
749
  export interface OrgLimitRelations {
720
750
  }
751
+ export interface MembershipTypeRelations {
752
+ }
721
753
  export interface AppGrantRelations {
722
754
  }
723
755
  export interface AppMembershipDefaultRelations {
@@ -730,15 +762,19 @@ export interface OrgChartEdgeRelations {
730
762
  }
731
763
  export interface OrgMembershipDefaultRelations {
732
764
  }
765
+ export interface OrgMemberProfileRelations {
766
+ membership?: OrgMembership | null;
767
+ }
733
768
  export interface AppLevelRelations {
734
769
  }
735
770
  export interface AppInviteRelations {
736
771
  }
772
+ export interface OrgInviteRelations {
773
+ }
737
774
  export interface AppMembershipRelations {
738
775
  }
739
776
  export interface OrgMembershipRelations {
740
- }
741
- export interface OrgInviteRelations {
777
+ orgMemberProfileByMembershipId?: OrgMemberProfile | null;
742
778
  }
743
779
  export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & OrgGetManagersRecordRelations;
744
780
  export type OrgGetSubordinatesRecordWithRelations = OrgGetSubordinatesRecord & OrgGetSubordinatesRecordRelations;
@@ -754,24 +790,25 @@ export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRela
754
790
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
755
791
  export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations;
756
792
  export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations;
757
- export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
758
793
  export type AppLimitWithRelations = AppLimit & AppLimitRelations;
759
794
  export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations;
760
795
  export type AppStepWithRelations = AppStep & AppStepRelations;
761
796
  export type AppClaimedInviteWithRelations = AppClaimedInvite & AppClaimedInviteRelations;
762
797
  export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations;
763
798
  export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations;
799
+ export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
764
800
  export type AppGrantWithRelations = AppGrant & AppGrantRelations;
765
801
  export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations;
766
802
  export type OrgClaimedInviteWithRelations = OrgClaimedInvite & OrgClaimedInviteRelations;
767
803
  export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations;
768
804
  export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations;
769
805
  export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
806
+ export type OrgMemberProfileWithRelations = OrgMemberProfile & OrgMemberProfileRelations;
770
807
  export type AppLevelWithRelations = AppLevel & AppLevelRelations;
771
808
  export type AppInviteWithRelations = AppInvite & AppInviteRelations;
809
+ export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
772
810
  export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
773
811
  export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations;
774
- export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
775
812
  export type OrgGetManagersRecordSelect = {
776
813
  userId?: boolean;
777
814
  depth?: boolean;
@@ -863,12 +900,6 @@ export type OrgOwnerGrantSelect = {
863
900
  createdAt?: boolean;
864
901
  updatedAt?: boolean;
865
902
  };
866
- export type MembershipTypeSelect = {
867
- id?: boolean;
868
- name?: boolean;
869
- description?: boolean;
870
- prefix?: boolean;
871
- };
872
903
  export type AppLimitSelect = {
873
904
  id?: boolean;
874
905
  name?: boolean;
@@ -919,6 +950,14 @@ export type OrgLimitSelect = {
919
950
  max?: boolean;
920
951
  entityId?: boolean;
921
952
  };
953
+ export type MembershipTypeSelect = {
954
+ id?: boolean;
955
+ name?: boolean;
956
+ description?: boolean;
957
+ prefix?: boolean;
958
+ parentMembershipType?: boolean;
959
+ hasUsersTableEntry?: boolean;
960
+ };
922
961
  export type AppGrantSelect = {
923
962
  id?: boolean;
924
963
  permissions?: boolean;
@@ -977,6 +1016,22 @@ export type OrgMembershipDefaultSelect = {
977
1016
  deleteMemberCascadeGroups?: boolean;
978
1017
  createGroupsCascadeMembers?: boolean;
979
1018
  };
1019
+ export type OrgMemberProfileSelect = {
1020
+ id?: boolean;
1021
+ createdAt?: boolean;
1022
+ updatedAt?: boolean;
1023
+ membershipId?: boolean;
1024
+ entityId?: boolean;
1025
+ actorId?: boolean;
1026
+ displayName?: boolean;
1027
+ email?: boolean;
1028
+ title?: boolean;
1029
+ bio?: boolean;
1030
+ profilePicture?: boolean;
1031
+ membership?: {
1032
+ select: OrgMembershipSelect;
1033
+ };
1034
+ };
980
1035
  export type AppLevelSelect = {
981
1036
  id?: boolean;
982
1037
  name?: boolean;
@@ -1000,6 +1055,22 @@ export type AppInviteSelect = {
1000
1055
  createdAt?: boolean;
1001
1056
  updatedAt?: boolean;
1002
1057
  };
1058
+ export type OrgInviteSelect = {
1059
+ id?: boolean;
1060
+ email?: boolean;
1061
+ senderId?: boolean;
1062
+ receiverId?: boolean;
1063
+ inviteToken?: boolean;
1064
+ inviteValid?: boolean;
1065
+ inviteLimit?: boolean;
1066
+ inviteCount?: boolean;
1067
+ multiple?: boolean;
1068
+ data?: boolean;
1069
+ expiresAt?: boolean;
1070
+ createdAt?: boolean;
1071
+ updatedAt?: boolean;
1072
+ entityId?: boolean;
1073
+ };
1003
1074
  export type AppMembershipSelect = {
1004
1075
  id?: boolean;
1005
1076
  createdAt?: boolean;
@@ -1011,6 +1082,7 @@ export type AppMembershipSelect = {
1011
1082
  isDisabled?: boolean;
1012
1083
  isVerified?: boolean;
1013
1084
  isActive?: boolean;
1085
+ isExternal?: boolean;
1014
1086
  isOwner?: boolean;
1015
1087
  isAdmin?: boolean;
1016
1088
  permissions?: boolean;
@@ -1028,29 +1100,18 @@ export type OrgMembershipSelect = {
1028
1100
  isBanned?: boolean;
1029
1101
  isDisabled?: boolean;
1030
1102
  isActive?: boolean;
1103
+ isExternal?: boolean;
1031
1104
  isOwner?: boolean;
1032
1105
  isAdmin?: boolean;
1033
1106
  permissions?: boolean;
1034
1107
  granted?: boolean;
1035
1108
  actorId?: boolean;
1036
1109
  entityId?: boolean;
1110
+ isReadOnly?: boolean;
1037
1111
  profileId?: boolean;
1038
- };
1039
- export type OrgInviteSelect = {
1040
- id?: boolean;
1041
- email?: boolean;
1042
- senderId?: boolean;
1043
- receiverId?: boolean;
1044
- inviteToken?: boolean;
1045
- inviteValid?: boolean;
1046
- inviteLimit?: boolean;
1047
- inviteCount?: boolean;
1048
- multiple?: boolean;
1049
- data?: boolean;
1050
- expiresAt?: boolean;
1051
- createdAt?: boolean;
1052
- updatedAt?: boolean;
1053
- entityId?: boolean;
1112
+ orgMemberProfileByMembershipId?: {
1113
+ select: OrgMemberProfileSelect;
1114
+ };
1054
1115
  };
1055
1116
  export interface OrgGetManagersRecordFilter {
1056
1117
  userId?: UUIDFilter;
@@ -1280,22 +1341,6 @@ export interface OrgOwnerGrantFilter {
1280
1341
  /** Negates the expression. */
1281
1342
  not?: OrgOwnerGrantFilter;
1282
1343
  }
1283
- export interface MembershipTypeFilter {
1284
- /** Filter by the object’s `id` field. */
1285
- id?: IntFilter;
1286
- /** Filter by the object’s `name` field. */
1287
- name?: StringFilter;
1288
- /** Filter by the object’s `description` field. */
1289
- description?: StringFilter;
1290
- /** Filter by the object’s `prefix` field. */
1291
- prefix?: StringFilter;
1292
- /** Checks for all expressions in this list. */
1293
- and?: MembershipTypeFilter[];
1294
- /** Checks for any expressions in this list. */
1295
- or?: MembershipTypeFilter[];
1296
- /** Negates the expression. */
1297
- not?: MembershipTypeFilter;
1298
- }
1299
1344
  export interface AppLimitFilter {
1300
1345
  /** Filter by the object’s `id` field. */
1301
1346
  id?: UUIDFilter;
@@ -1418,6 +1463,26 @@ export interface OrgLimitFilter {
1418
1463
  /** Negates the expression. */
1419
1464
  not?: OrgLimitFilter;
1420
1465
  }
1466
+ export interface MembershipTypeFilter {
1467
+ /** Filter by the object’s `id` field. */
1468
+ id?: IntFilter;
1469
+ /** Filter by the object’s `name` field. */
1470
+ name?: StringFilter;
1471
+ /** Filter by the object’s `description` field. */
1472
+ description?: StringFilter;
1473
+ /** Filter by the object’s `prefix` field. */
1474
+ prefix?: StringFilter;
1475
+ /** Filter by the object’s `parentMembershipType` field. */
1476
+ parentMembershipType?: IntFilter;
1477
+ /** Filter by the object’s `hasUsersTableEntry` field. */
1478
+ hasUsersTableEntry?: BooleanFilter;
1479
+ /** Checks for all expressions in this list. */
1480
+ and?: MembershipTypeFilter[];
1481
+ /** Checks for any expressions in this list. */
1482
+ or?: MembershipTypeFilter[];
1483
+ /** Negates the expression. */
1484
+ not?: MembershipTypeFilter;
1485
+ }
1421
1486
  export interface AppGrantFilter {
1422
1487
  /** Filter by the object’s `id` field. */
1423
1488
  id?: UUIDFilter;
@@ -1556,6 +1621,38 @@ export interface OrgMembershipDefaultFilter {
1556
1621
  /** Negates the expression. */
1557
1622
  not?: OrgMembershipDefaultFilter;
1558
1623
  }
1624
+ export interface OrgMemberProfileFilter {
1625
+ /** Filter by the object’s `id` field. */
1626
+ id?: UUIDFilter;
1627
+ /** Filter by the object’s `createdAt` field. */
1628
+ createdAt?: DatetimeFilter;
1629
+ /** Filter by the object’s `updatedAt` field. */
1630
+ updatedAt?: DatetimeFilter;
1631
+ /** Filter by the object’s `membershipId` field. */
1632
+ membershipId?: UUIDFilter;
1633
+ /** Filter by the object’s `entityId` field. */
1634
+ entityId?: UUIDFilter;
1635
+ /** Filter by the object’s `actorId` field. */
1636
+ actorId?: UUIDFilter;
1637
+ /** Filter by the object’s `displayName` field. */
1638
+ displayName?: StringFilter;
1639
+ /** Filter by the object’s `email` field. */
1640
+ email?: StringFilter;
1641
+ /** Filter by the object’s `title` field. */
1642
+ title?: StringFilter;
1643
+ /** Filter by the object’s `bio` field. */
1644
+ bio?: StringFilter;
1645
+ /** Filter by the object’s `profilePicture` field. */
1646
+ profilePicture?: ConstructiveInternalTypeImageFilter;
1647
+ /** Checks for all expressions in this list. */
1648
+ and?: OrgMemberProfileFilter[];
1649
+ /** Checks for any expressions in this list. */
1650
+ or?: OrgMemberProfileFilter[];
1651
+ /** Negates the expression. */
1652
+ not?: OrgMemberProfileFilter;
1653
+ /** Filter by the object’s `membership` relation. */
1654
+ membership?: OrgMembershipFilter;
1655
+ }
1559
1656
  export interface AppLevelFilter {
1560
1657
  /** Filter by the object’s `id` field. */
1561
1658
  id?: UUIDFilter;
@@ -1608,6 +1705,40 @@ export interface AppInviteFilter {
1608
1705
  /** Negates the expression. */
1609
1706
  not?: AppInviteFilter;
1610
1707
  }
1708
+ export interface OrgInviteFilter {
1709
+ /** Filter by the object’s `id` field. */
1710
+ id?: UUIDFilter;
1711
+ /** Filter by the object’s `email` field. */
1712
+ email?: ConstructiveInternalTypeEmailFilter;
1713
+ /** Filter by the object’s `senderId` field. */
1714
+ senderId?: UUIDFilter;
1715
+ /** Filter by the object’s `receiverId` field. */
1716
+ receiverId?: UUIDFilter;
1717
+ /** Filter by the object’s `inviteToken` field. */
1718
+ inviteToken?: StringFilter;
1719
+ /** Filter by the object’s `inviteValid` field. */
1720
+ inviteValid?: BooleanFilter;
1721
+ /** Filter by the object’s `inviteLimit` field. */
1722
+ inviteLimit?: IntFilter;
1723
+ /** Filter by the object’s `inviteCount` field. */
1724
+ inviteCount?: IntFilter;
1725
+ /** Filter by the object’s `multiple` field. */
1726
+ multiple?: BooleanFilter;
1727
+ /** Filter by the object’s `expiresAt` field. */
1728
+ expiresAt?: DatetimeFilter;
1729
+ /** Filter by the object’s `createdAt` field. */
1730
+ createdAt?: DatetimeFilter;
1731
+ /** Filter by the object’s `updatedAt` field. */
1732
+ updatedAt?: DatetimeFilter;
1733
+ /** Filter by the object’s `entityId` field. */
1734
+ entityId?: UUIDFilter;
1735
+ /** Checks for all expressions in this list. */
1736
+ and?: OrgInviteFilter[];
1737
+ /** Checks for any expressions in this list. */
1738
+ or?: OrgInviteFilter[];
1739
+ /** Negates the expression. */
1740
+ not?: OrgInviteFilter;
1741
+ }
1611
1742
  export interface AppMembershipFilter {
1612
1743
  /** Filter by the object’s `id` field. */
1613
1744
  id?: UUIDFilter;
@@ -1629,6 +1760,8 @@ export interface AppMembershipFilter {
1629
1760
  isVerified?: BooleanFilter;
1630
1761
  /** Filter by the object’s `isActive` field. */
1631
1762
  isActive?: BooleanFilter;
1763
+ /** Filter by the object’s `isExternal` field. */
1764
+ isExternal?: BooleanFilter;
1632
1765
  /** Filter by the object’s `isOwner` field. */
1633
1766
  isOwner?: BooleanFilter;
1634
1767
  /** Filter by the object’s `isAdmin` field. */
@@ -1667,6 +1800,8 @@ export interface OrgMembershipFilter {
1667
1800
  isDisabled?: BooleanFilter;
1668
1801
  /** Filter by the object’s `isActive` field. */
1669
1802
  isActive?: BooleanFilter;
1803
+ /** Filter by the object’s `isExternal` field. */
1804
+ isExternal?: BooleanFilter;
1670
1805
  /** Filter by the object’s `isOwner` field. */
1671
1806
  isOwner?: BooleanFilter;
1672
1807
  /** Filter by the object’s `isAdmin` field. */
@@ -1679,6 +1814,8 @@ export interface OrgMembershipFilter {
1679
1814
  actorId?: UUIDFilter;
1680
1815
  /** Filter by the object’s `entityId` field. */
1681
1816
  entityId?: UUIDFilter;
1817
+ /** Filter by the object’s `isReadOnly` field. */
1818
+ isReadOnly?: BooleanFilter;
1682
1819
  /** Filter by the object’s `profileId` field. */
1683
1820
  profileId?: UUIDFilter;
1684
1821
  /** Checks for all expressions in this list. */
@@ -1687,40 +1824,10 @@ export interface OrgMembershipFilter {
1687
1824
  or?: OrgMembershipFilter[];
1688
1825
  /** Negates the expression. */
1689
1826
  not?: OrgMembershipFilter;
1690
- }
1691
- export interface OrgInviteFilter {
1692
- /** Filter by the object’s `id` field. */
1693
- id?: UUIDFilter;
1694
- /** Filter by the object’s `email` field. */
1695
- email?: ConstructiveInternalTypeEmailFilter;
1696
- /** Filter by the object’s `senderId` field. */
1697
- senderId?: UUIDFilter;
1698
- /** Filter by the object’s `receiverId` field. */
1699
- receiverId?: UUIDFilter;
1700
- /** Filter by the object’s `inviteToken` field. */
1701
- inviteToken?: StringFilter;
1702
- /** Filter by the object’s `inviteValid` field. */
1703
- inviteValid?: BooleanFilter;
1704
- /** Filter by the object’s `inviteLimit` field. */
1705
- inviteLimit?: IntFilter;
1706
- /** Filter by the object’s `inviteCount` field. */
1707
- inviteCount?: IntFilter;
1708
- /** Filter by the object’s `multiple` field. */
1709
- multiple?: BooleanFilter;
1710
- /** Filter by the object’s `expiresAt` field. */
1711
- expiresAt?: DatetimeFilter;
1712
- /** Filter by the object’s `createdAt` field. */
1713
- createdAt?: DatetimeFilter;
1714
- /** Filter by the object’s `updatedAt` field. */
1715
- updatedAt?: DatetimeFilter;
1716
- /** Filter by the object’s `entityId` field. */
1717
- entityId?: UUIDFilter;
1718
- /** Checks for all expressions in this list. */
1719
- and?: OrgInviteFilter[];
1720
- /** Checks for any expressions in this list. */
1721
- or?: OrgInviteFilter[];
1722
- /** Negates the expression. */
1723
- not?: OrgInviteFilter;
1827
+ /** Filter by the object’s `orgMemberProfileByMembershipId` relation. */
1828
+ orgMemberProfileByMembershipId?: OrgMemberProfileFilter;
1829
+ /** A related `orgMemberProfileByMembershipId` exists. */
1830
+ orgMemberProfileByMembershipIdExists?: boolean;
1724
1831
  }
1725
1832
  export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
1726
1833
  export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
@@ -1736,24 +1843,25 @@ export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KE
1736
1843
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
1737
1844
  export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1738
1845
  export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1739
- export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
1740
1846
  export type AppLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC';
1741
1847
  export type AppAchievementOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1742
1848
  export type AppStepOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1743
1849
  export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1744
1850
  export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1745
1851
  export type OrgLimitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1852
+ export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
1746
1853
  export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1747
1854
  export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC';
1748
1855
  export type OrgClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1749
1856
  export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1750
1857
  export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC';
1751
1858
  export type OrgMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_GROUPS_ASC' | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC';
1859
+ export type OrgMemberProfileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'MEMBERSHIP_ID_ASC' | 'MEMBERSHIP_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'BIO_ASC' | 'BIO_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC';
1752
1860
  export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1753
1861
  export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1754
- export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1755
- export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1756
1862
  export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1863
+ export type AppMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1864
+ export type OrgMembershipOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1757
1865
  export interface CreateOrgGetManagersRecordInput {
1758
1866
  clientMutationId?: string;
1759
1867
  orgGetManagersRecord: {
@@ -2060,28 +2168,6 @@ export interface DeleteOrgOwnerGrantInput {
2060
2168
  clientMutationId?: string;
2061
2169
  id: string;
2062
2170
  }
2063
- export interface CreateMembershipTypeInput {
2064
- clientMutationId?: string;
2065
- membershipType: {
2066
- name: string;
2067
- description: string;
2068
- prefix: string;
2069
- };
2070
- }
2071
- export interface MembershipTypePatch {
2072
- name?: string | null;
2073
- description?: string | null;
2074
- prefix?: string | null;
2075
- }
2076
- export interface UpdateMembershipTypeInput {
2077
- clientMutationId?: string;
2078
- id: number;
2079
- membershipTypePatch: MembershipTypePatch;
2080
- }
2081
- export interface DeleteMembershipTypeInput {
2082
- clientMutationId?: string;
2083
- id: number;
2084
- }
2085
2171
  export interface CreateAppLimitInput {
2086
2172
  clientMutationId?: string;
2087
2173
  appLimit: {
@@ -2228,6 +2314,32 @@ export interface DeleteOrgLimitInput {
2228
2314
  clientMutationId?: string;
2229
2315
  id: string;
2230
2316
  }
2317
+ export interface CreateMembershipTypeInput {
2318
+ clientMutationId?: string;
2319
+ membershipType: {
2320
+ name: string;
2321
+ description: string;
2322
+ prefix: string;
2323
+ parentMembershipType?: number;
2324
+ hasUsersTableEntry?: boolean;
2325
+ };
2326
+ }
2327
+ export interface MembershipTypePatch {
2328
+ name?: string | null;
2329
+ description?: string | null;
2330
+ prefix?: string | null;
2331
+ parentMembershipType?: number | null;
2332
+ hasUsersTableEntry?: boolean | null;
2333
+ }
2334
+ export interface UpdateMembershipTypeInput {
2335
+ clientMutationId?: string;
2336
+ id: number;
2337
+ membershipTypePatch: MembershipTypePatch;
2338
+ }
2339
+ export interface DeleteMembershipTypeInput {
2340
+ clientMutationId?: string;
2341
+ id: number;
2342
+ }
2231
2343
  export interface CreateAppGrantInput {
2232
2344
  clientMutationId?: string;
2233
2345
  appGrant: {
@@ -2380,6 +2492,39 @@ export interface DeleteOrgMembershipDefaultInput {
2380
2492
  clientMutationId?: string;
2381
2493
  id: string;
2382
2494
  }
2495
+ export interface CreateOrgMemberProfileInput {
2496
+ clientMutationId?: string;
2497
+ orgMemberProfile: {
2498
+ membershipId: string;
2499
+ entityId: string;
2500
+ actorId: string;
2501
+ displayName?: string;
2502
+ email?: string;
2503
+ title?: string;
2504
+ bio?: string;
2505
+ profilePicture?: ConstructiveInternalTypeImage;
2506
+ };
2507
+ }
2508
+ export interface OrgMemberProfilePatch {
2509
+ membershipId?: string | null;
2510
+ entityId?: string | null;
2511
+ actorId?: string | null;
2512
+ displayName?: string | null;
2513
+ email?: string | null;
2514
+ title?: string | null;
2515
+ bio?: string | null;
2516
+ profilePicture?: ConstructiveInternalTypeImage | null;
2517
+ profilePictureUpload?: File | null;
2518
+ }
2519
+ export interface UpdateOrgMemberProfileInput {
2520
+ clientMutationId?: string;
2521
+ id: string;
2522
+ orgMemberProfilePatch: OrgMemberProfilePatch;
2523
+ }
2524
+ export interface DeleteOrgMemberProfileInput {
2525
+ clientMutationId?: string;
2526
+ id: string;
2527
+ }
2383
2528
  export interface CreateAppLevelInput {
2384
2529
  clientMutationId?: string;
2385
2530
  appLevel: {
@@ -2439,6 +2584,44 @@ export interface DeleteAppInviteInput {
2439
2584
  clientMutationId?: string;
2440
2585
  id: string;
2441
2586
  }
2587
+ export interface CreateOrgInviteInput {
2588
+ clientMutationId?: string;
2589
+ orgInvite: {
2590
+ email?: ConstructiveInternalTypeEmail;
2591
+ senderId?: string;
2592
+ receiverId?: string;
2593
+ inviteToken?: string;
2594
+ inviteValid?: boolean;
2595
+ inviteLimit?: number;
2596
+ inviteCount?: number;
2597
+ multiple?: boolean;
2598
+ data?: Record<string, unknown>;
2599
+ expiresAt?: string;
2600
+ entityId: string;
2601
+ };
2602
+ }
2603
+ export interface OrgInvitePatch {
2604
+ email?: ConstructiveInternalTypeEmail | null;
2605
+ senderId?: string | null;
2606
+ receiverId?: string | null;
2607
+ inviteToken?: string | null;
2608
+ inviteValid?: boolean | null;
2609
+ inviteLimit?: number | null;
2610
+ inviteCount?: number | null;
2611
+ multiple?: boolean | null;
2612
+ data?: Record<string, unknown> | null;
2613
+ expiresAt?: string | null;
2614
+ entityId?: string | null;
2615
+ }
2616
+ export interface UpdateOrgInviteInput {
2617
+ clientMutationId?: string;
2618
+ id: string;
2619
+ orgInvitePatch: OrgInvitePatch;
2620
+ }
2621
+ export interface DeleteOrgInviteInput {
2622
+ clientMutationId?: string;
2623
+ id: string;
2624
+ }
2442
2625
  export interface CreateAppMembershipInput {
2443
2626
  clientMutationId?: string;
2444
2627
  appMembership: {
@@ -2449,6 +2632,7 @@ export interface CreateAppMembershipInput {
2449
2632
  isDisabled?: boolean;
2450
2633
  isVerified?: boolean;
2451
2634
  isActive?: boolean;
2635
+ isExternal?: boolean;
2452
2636
  isOwner?: boolean;
2453
2637
  isAdmin?: boolean;
2454
2638
  permissions?: string;
@@ -2465,6 +2649,7 @@ export interface AppMembershipPatch {
2465
2649
  isDisabled?: boolean | null;
2466
2650
  isVerified?: boolean | null;
2467
2651
  isActive?: boolean | null;
2652
+ isExternal?: boolean | null;
2468
2653
  isOwner?: boolean | null;
2469
2654
  isAdmin?: boolean | null;
2470
2655
  permissions?: string | null;
@@ -2490,12 +2675,14 @@ export interface CreateOrgMembershipInput {
2490
2675
  isBanned?: boolean;
2491
2676
  isDisabled?: boolean;
2492
2677
  isActive?: boolean;
2678
+ isExternal?: boolean;
2493
2679
  isOwner?: boolean;
2494
2680
  isAdmin?: boolean;
2495
2681
  permissions?: string;
2496
2682
  granted?: string;
2497
2683
  actorId: string;
2498
2684
  entityId: string;
2685
+ isReadOnly?: boolean;
2499
2686
  profileId?: string;
2500
2687
  };
2501
2688
  }
@@ -2506,58 +2693,22 @@ export interface OrgMembershipPatch {
2506
2693
  isBanned?: boolean | null;
2507
2694
  isDisabled?: boolean | null;
2508
2695
  isActive?: boolean | null;
2696
+ isExternal?: boolean | null;
2509
2697
  isOwner?: boolean | null;
2510
2698
  isAdmin?: boolean | null;
2511
2699
  permissions?: string | null;
2512
2700
  granted?: string | null;
2513
2701
  actorId?: string | null;
2514
2702
  entityId?: string | null;
2703
+ isReadOnly?: boolean | null;
2515
2704
  profileId?: string | null;
2516
2705
  }
2517
2706
  export interface UpdateOrgMembershipInput {
2518
2707
  clientMutationId?: string;
2519
2708
  id: string;
2520
- orgMembershipPatch: OrgMembershipPatch;
2521
- }
2522
- export interface DeleteOrgMembershipInput {
2523
- clientMutationId?: string;
2524
- id: string;
2525
- }
2526
- export interface CreateOrgInviteInput {
2527
- clientMutationId?: string;
2528
- orgInvite: {
2529
- email?: ConstructiveInternalTypeEmail;
2530
- senderId?: string;
2531
- receiverId?: string;
2532
- inviteToken?: string;
2533
- inviteValid?: boolean;
2534
- inviteLimit?: number;
2535
- inviteCount?: number;
2536
- multiple?: boolean;
2537
- data?: Record<string, unknown>;
2538
- expiresAt?: string;
2539
- entityId: string;
2540
- };
2541
- }
2542
- export interface OrgInvitePatch {
2543
- email?: ConstructiveInternalTypeEmail | null;
2544
- senderId?: string | null;
2545
- receiverId?: string | null;
2546
- inviteToken?: string | null;
2547
- inviteValid?: boolean | null;
2548
- inviteLimit?: number | null;
2549
- inviteCount?: number | null;
2550
- multiple?: boolean | null;
2551
- data?: Record<string, unknown> | null;
2552
- expiresAt?: string | null;
2553
- entityId?: string | null;
2554
- }
2555
- export interface UpdateOrgInviteInput {
2556
- clientMutationId?: string;
2557
- id: string;
2558
- orgInvitePatch: OrgInvitePatch;
2709
+ orgMembershipPatch: OrgMembershipPatch;
2559
2710
  }
2560
- export interface DeleteOrgInviteInput {
2711
+ export interface DeleteOrgMembershipInput {
2561
2712
  clientMutationId?: string;
2562
2713
  id: string;
2563
2714
  }
@@ -3369,51 +3520,6 @@ export type DeleteOrgOwnerGrantPayloadSelect = {
3369
3520
  select: OrgOwnerGrantEdgeSelect;
3370
3521
  };
3371
3522
  };
3372
- export interface CreateMembershipTypePayload {
3373
- clientMutationId?: string | null;
3374
- /** The `MembershipType` that was created by this mutation. */
3375
- membershipType?: MembershipType | null;
3376
- membershipTypeEdge?: MembershipTypeEdge | null;
3377
- }
3378
- export type CreateMembershipTypePayloadSelect = {
3379
- clientMutationId?: boolean;
3380
- membershipType?: {
3381
- select: MembershipTypeSelect;
3382
- };
3383
- membershipTypeEdge?: {
3384
- select: MembershipTypeEdgeSelect;
3385
- };
3386
- };
3387
- export interface UpdateMembershipTypePayload {
3388
- clientMutationId?: string | null;
3389
- /** The `MembershipType` that was updated by this mutation. */
3390
- membershipType?: MembershipType | null;
3391
- membershipTypeEdge?: MembershipTypeEdge | null;
3392
- }
3393
- export type UpdateMembershipTypePayloadSelect = {
3394
- clientMutationId?: boolean;
3395
- membershipType?: {
3396
- select: MembershipTypeSelect;
3397
- };
3398
- membershipTypeEdge?: {
3399
- select: MembershipTypeEdgeSelect;
3400
- };
3401
- };
3402
- export interface DeleteMembershipTypePayload {
3403
- clientMutationId?: string | null;
3404
- /** The `MembershipType` that was deleted by this mutation. */
3405
- membershipType?: MembershipType | null;
3406
- membershipTypeEdge?: MembershipTypeEdge | null;
3407
- }
3408
- export type DeleteMembershipTypePayloadSelect = {
3409
- clientMutationId?: boolean;
3410
- membershipType?: {
3411
- select: MembershipTypeSelect;
3412
- };
3413
- membershipTypeEdge?: {
3414
- select: MembershipTypeEdgeSelect;
3415
- };
3416
- };
3417
3523
  export interface CreateAppLimitPayload {
3418
3524
  clientMutationId?: string | null;
3419
3525
  /** The `AppLimit` that was created by this mutation. */
@@ -3684,6 +3790,51 @@ export type DeleteOrgLimitPayloadSelect = {
3684
3790
  select: OrgLimitEdgeSelect;
3685
3791
  };
3686
3792
  };
3793
+ export interface CreateMembershipTypePayload {
3794
+ clientMutationId?: string | null;
3795
+ /** The `MembershipType` that was created by this mutation. */
3796
+ membershipType?: MembershipType | null;
3797
+ membershipTypeEdge?: MembershipTypeEdge | null;
3798
+ }
3799
+ export type CreateMembershipTypePayloadSelect = {
3800
+ clientMutationId?: boolean;
3801
+ membershipType?: {
3802
+ select: MembershipTypeSelect;
3803
+ };
3804
+ membershipTypeEdge?: {
3805
+ select: MembershipTypeEdgeSelect;
3806
+ };
3807
+ };
3808
+ export interface UpdateMembershipTypePayload {
3809
+ clientMutationId?: string | null;
3810
+ /** The `MembershipType` that was updated by this mutation. */
3811
+ membershipType?: MembershipType | null;
3812
+ membershipTypeEdge?: MembershipTypeEdge | null;
3813
+ }
3814
+ export type UpdateMembershipTypePayloadSelect = {
3815
+ clientMutationId?: boolean;
3816
+ membershipType?: {
3817
+ select: MembershipTypeSelect;
3818
+ };
3819
+ membershipTypeEdge?: {
3820
+ select: MembershipTypeEdgeSelect;
3821
+ };
3822
+ };
3823
+ export interface DeleteMembershipTypePayload {
3824
+ clientMutationId?: string | null;
3825
+ /** The `MembershipType` that was deleted by this mutation. */
3826
+ membershipType?: MembershipType | null;
3827
+ membershipTypeEdge?: MembershipTypeEdge | null;
3828
+ }
3829
+ export type DeleteMembershipTypePayloadSelect = {
3830
+ clientMutationId?: boolean;
3831
+ membershipType?: {
3832
+ select: MembershipTypeSelect;
3833
+ };
3834
+ membershipTypeEdge?: {
3835
+ select: MembershipTypeEdgeSelect;
3836
+ };
3837
+ };
3687
3838
  export interface CreateAppGrantPayload {
3688
3839
  clientMutationId?: string | null;
3689
3840
  /** The `AppGrant` that was created by this mutation. */
@@ -3954,6 +4105,51 @@ export type DeleteOrgMembershipDefaultPayloadSelect = {
3954
4105
  select: OrgMembershipDefaultEdgeSelect;
3955
4106
  };
3956
4107
  };
4108
+ export interface CreateOrgMemberProfilePayload {
4109
+ clientMutationId?: string | null;
4110
+ /** The `OrgMemberProfile` that was created by this mutation. */
4111
+ orgMemberProfile?: OrgMemberProfile | null;
4112
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
4113
+ }
4114
+ export type CreateOrgMemberProfilePayloadSelect = {
4115
+ clientMutationId?: boolean;
4116
+ orgMemberProfile?: {
4117
+ select: OrgMemberProfileSelect;
4118
+ };
4119
+ orgMemberProfileEdge?: {
4120
+ select: OrgMemberProfileEdgeSelect;
4121
+ };
4122
+ };
4123
+ export interface UpdateOrgMemberProfilePayload {
4124
+ clientMutationId?: string | null;
4125
+ /** The `OrgMemberProfile` that was updated by this mutation. */
4126
+ orgMemberProfile?: OrgMemberProfile | null;
4127
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
4128
+ }
4129
+ export type UpdateOrgMemberProfilePayloadSelect = {
4130
+ clientMutationId?: boolean;
4131
+ orgMemberProfile?: {
4132
+ select: OrgMemberProfileSelect;
4133
+ };
4134
+ orgMemberProfileEdge?: {
4135
+ select: OrgMemberProfileEdgeSelect;
4136
+ };
4137
+ };
4138
+ export interface DeleteOrgMemberProfilePayload {
4139
+ clientMutationId?: string | null;
4140
+ /** The `OrgMemberProfile` that was deleted by this mutation. */
4141
+ orgMemberProfile?: OrgMemberProfile | null;
4142
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
4143
+ }
4144
+ export type DeleteOrgMemberProfilePayloadSelect = {
4145
+ clientMutationId?: boolean;
4146
+ orgMemberProfile?: {
4147
+ select: OrgMemberProfileSelect;
4148
+ };
4149
+ orgMemberProfileEdge?: {
4150
+ select: OrgMemberProfileEdgeSelect;
4151
+ };
4152
+ };
3957
4153
  export interface CreateAppLevelPayload {
3958
4154
  clientMutationId?: string | null;
3959
4155
  /** The `AppLevel` that was created by this mutation. */
@@ -4044,6 +4240,51 @@ export type DeleteAppInvitePayloadSelect = {
4044
4240
  select: AppInviteEdgeSelect;
4045
4241
  };
4046
4242
  };
4243
+ export interface CreateOrgInvitePayload {
4244
+ clientMutationId?: string | null;
4245
+ /** The `OrgInvite` that was created by this mutation. */
4246
+ orgInvite?: OrgInvite | null;
4247
+ orgInviteEdge?: OrgInviteEdge | null;
4248
+ }
4249
+ export type CreateOrgInvitePayloadSelect = {
4250
+ clientMutationId?: boolean;
4251
+ orgInvite?: {
4252
+ select: OrgInviteSelect;
4253
+ };
4254
+ orgInviteEdge?: {
4255
+ select: OrgInviteEdgeSelect;
4256
+ };
4257
+ };
4258
+ export interface UpdateOrgInvitePayload {
4259
+ clientMutationId?: string | null;
4260
+ /** The `OrgInvite` that was updated by this mutation. */
4261
+ orgInvite?: OrgInvite | null;
4262
+ orgInviteEdge?: OrgInviteEdge | null;
4263
+ }
4264
+ export type UpdateOrgInvitePayloadSelect = {
4265
+ clientMutationId?: boolean;
4266
+ orgInvite?: {
4267
+ select: OrgInviteSelect;
4268
+ };
4269
+ orgInviteEdge?: {
4270
+ select: OrgInviteEdgeSelect;
4271
+ };
4272
+ };
4273
+ export interface DeleteOrgInvitePayload {
4274
+ clientMutationId?: string | null;
4275
+ /** The `OrgInvite` that was deleted by this mutation. */
4276
+ orgInvite?: OrgInvite | null;
4277
+ orgInviteEdge?: OrgInviteEdge | null;
4278
+ }
4279
+ export type DeleteOrgInvitePayloadSelect = {
4280
+ clientMutationId?: boolean;
4281
+ orgInvite?: {
4282
+ select: OrgInviteSelect;
4283
+ };
4284
+ orgInviteEdge?: {
4285
+ select: OrgInviteEdgeSelect;
4286
+ };
4287
+ };
4047
4288
  export interface CreateAppMembershipPayload {
4048
4289
  clientMutationId?: string | null;
4049
4290
  /** The `AppMembership` that was created by this mutation. */
@@ -4134,51 +4375,6 @@ export type DeleteOrgMembershipPayloadSelect = {
4134
4375
  select: OrgMembershipEdgeSelect;
4135
4376
  };
4136
4377
  };
4137
- export interface CreateOrgInvitePayload {
4138
- clientMutationId?: string | null;
4139
- /** The `OrgInvite` that was created by this mutation. */
4140
- orgInvite?: OrgInvite | null;
4141
- orgInviteEdge?: OrgInviteEdge | null;
4142
- }
4143
- export type CreateOrgInvitePayloadSelect = {
4144
- clientMutationId?: boolean;
4145
- orgInvite?: {
4146
- select: OrgInviteSelect;
4147
- };
4148
- orgInviteEdge?: {
4149
- select: OrgInviteEdgeSelect;
4150
- };
4151
- };
4152
- export interface UpdateOrgInvitePayload {
4153
- clientMutationId?: string | null;
4154
- /** The `OrgInvite` that was updated by this mutation. */
4155
- orgInvite?: OrgInvite | null;
4156
- orgInviteEdge?: OrgInviteEdge | null;
4157
- }
4158
- export type UpdateOrgInvitePayloadSelect = {
4159
- clientMutationId?: boolean;
4160
- orgInvite?: {
4161
- select: OrgInviteSelect;
4162
- };
4163
- orgInviteEdge?: {
4164
- select: OrgInviteEdgeSelect;
4165
- };
4166
- };
4167
- export interface DeleteOrgInvitePayload {
4168
- clientMutationId?: string | null;
4169
- /** The `OrgInvite` that was deleted by this mutation. */
4170
- orgInvite?: OrgInvite | null;
4171
- orgInviteEdge?: OrgInviteEdge | null;
4172
- }
4173
- export type DeleteOrgInvitePayloadSelect = {
4174
- clientMutationId?: boolean;
4175
- orgInvite?: {
4176
- select: OrgInviteSelect;
4177
- };
4178
- orgInviteEdge?: {
4179
- select: OrgInviteEdgeSelect;
4180
- };
4181
- };
4182
4378
  /** A `AppPermission` edge in the connection. */
4183
4379
  export interface AppPermissionEdge {
4184
4380
  cursor?: string | null;
@@ -4340,18 +4536,6 @@ export type OrgOwnerGrantEdgeSelect = {
4340
4536
  select: OrgOwnerGrantSelect;
4341
4537
  };
4342
4538
  };
4343
- /** A `MembershipType` edge in the connection. */
4344
- export interface MembershipTypeEdge {
4345
- cursor?: string | null;
4346
- /** The `MembershipType` at the end of the edge. */
4347
- node?: MembershipType | null;
4348
- }
4349
- export type MembershipTypeEdgeSelect = {
4350
- cursor?: boolean;
4351
- node?: {
4352
- select: MembershipTypeSelect;
4353
- };
4354
- };
4355
4539
  /** A `AppLimit` edge in the connection. */
4356
4540
  export interface AppLimitEdge {
4357
4541
  cursor?: string | null;
@@ -4424,6 +4608,18 @@ export type OrgLimitEdgeSelect = {
4424
4608
  select: OrgLimitSelect;
4425
4609
  };
4426
4610
  };
4611
+ /** A `MembershipType` edge in the connection. */
4612
+ export interface MembershipTypeEdge {
4613
+ cursor?: string | null;
4614
+ /** The `MembershipType` at the end of the edge. */
4615
+ node?: MembershipType | null;
4616
+ }
4617
+ export type MembershipTypeEdgeSelect = {
4618
+ cursor?: boolean;
4619
+ node?: {
4620
+ select: MembershipTypeSelect;
4621
+ };
4622
+ };
4427
4623
  /** A `AppGrant` edge in the connection. */
4428
4624
  export interface AppGrantEdge {
4429
4625
  cursor?: string | null;
@@ -4496,6 +4692,18 @@ export type OrgMembershipDefaultEdgeSelect = {
4496
4692
  select: OrgMembershipDefaultSelect;
4497
4693
  };
4498
4694
  };
4695
+ /** A `OrgMemberProfile` edge in the connection. */
4696
+ export interface OrgMemberProfileEdge {
4697
+ cursor?: string | null;
4698
+ /** The `OrgMemberProfile` at the end of the edge. */
4699
+ node?: OrgMemberProfile | null;
4700
+ }
4701
+ export type OrgMemberProfileEdgeSelect = {
4702
+ cursor?: boolean;
4703
+ node?: {
4704
+ select: OrgMemberProfileSelect;
4705
+ };
4706
+ };
4499
4707
  /** A `AppLevel` edge in the connection. */
4500
4708
  export interface AppLevelEdge {
4501
4709
  cursor?: string | null;
@@ -4520,6 +4728,18 @@ export type AppInviteEdgeSelect = {
4520
4728
  select: AppInviteSelect;
4521
4729
  };
4522
4730
  };
4731
+ /** A `OrgInvite` edge in the connection. */
4732
+ export interface OrgInviteEdge {
4733
+ cursor?: string | null;
4734
+ /** The `OrgInvite` at the end of the edge. */
4735
+ node?: OrgInvite | null;
4736
+ }
4737
+ export type OrgInviteEdgeSelect = {
4738
+ cursor?: boolean;
4739
+ node?: {
4740
+ select: OrgInviteSelect;
4741
+ };
4742
+ };
4523
4743
  /** A `AppMembership` edge in the connection. */
4524
4744
  export interface AppMembershipEdge {
4525
4745
  cursor?: string | null;
@@ -4544,15 +4764,3 @@ export type OrgMembershipEdgeSelect = {
4544
4764
  select: OrgMembershipSelect;
4545
4765
  };
4546
4766
  };
4547
- /** A `OrgInvite` edge in the connection. */
4548
- export interface OrgInviteEdge {
4549
- cursor?: string | null;
4550
- /** The `OrgInvite` at the end of the edge. */
4551
- node?: OrgInvite | null;
4552
- }
4553
- export type OrgInviteEdgeSelect = {
4554
- cursor?: boolean;
4555
- node?: {
4556
- select: OrgInviteSelect;
4557
- };
4558
- };