@constructive-io/react 0.19.5 → 0.19.6
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.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +6 -6
- package/admin/hooks/invalidation.js +15 -15
- package/admin/hooks/mutation-keys.d.ts +12 -12
- package/admin/hooks/mutation-keys.js +8 -8
- package/admin/hooks/mutations/index.d.ts +3 -3
- package/admin/hooks/mutations/index.js +3 -3
- package/admin/hooks/queries/index.d.ts +2 -2
- package/admin/hooks/queries/index.js +2 -2
- package/admin/hooks/query-keys.d.ts +14 -14
- package/admin/hooks/query-keys.js +9 -9
- package/admin/orm/index.d.ts +2 -2
- package/admin/orm/index.js +2 -2
- package/admin/orm/input-types.d.ts +190 -183
- package/admin/orm/models/index.d.ts +1 -1
- package/admin/orm/models/index.js +3 -3
- package/admin/schema-types.d.ts +147 -141
- package/admin/types.d.ts +18 -17
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +6 -6
- package/esm/admin/hooks/invalidation.js +16 -16
- package/esm/admin/hooks/mutation-keys.d.ts +12 -12
- package/esm/admin/hooks/mutation-keys.js +7 -7
- package/esm/admin/hooks/mutations/index.d.ts +3 -3
- package/esm/admin/hooks/mutations/index.js +3 -3
- package/esm/admin/hooks/queries/index.d.ts +2 -2
- package/esm/admin/hooks/queries/index.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +14 -14
- package/esm/admin/hooks/query-keys.js +8 -8
- package/esm/admin/orm/index.d.ts +2 -2
- package/esm/admin/orm/index.js +2 -2
- package/esm/admin/orm/input-types.d.ts +190 -183
- package/esm/admin/orm/models/index.d.ts +1 -1
- package/esm/admin/orm/models/index.js +1 -1
- package/esm/admin/schema-types.d.ts +147 -141
- package/esm/admin/types.d.ts +18 -17
- package/esm/public/orm/input-types.d.ts +10 -1
- package/esm/public/schema-types.d.ts +111 -105
- package/esm/public/types.d.ts +1 -0
- package/package.json +4 -4
- package/public/orm/input-types.d.ts +10 -1
- package/public/schema-types.d.ts +111 -105
- package/public/types.d.ts +1 -0
|
@@ -838,35 +838,6 @@ export interface OrgLimit {
|
|
|
838
838
|
periodCredits?: string | null;
|
|
839
839
|
entityId?: string | null;
|
|
840
840
|
}
|
|
841
|
-
/** Invitation records sent to prospective members via email, with token-based redemption and expiration */
|
|
842
|
-
export interface OrgInvite {
|
|
843
|
-
id: string;
|
|
844
|
-
/** Email address of the invited recipient */
|
|
845
|
-
email?: ConstructiveInternalTypeEmail | null;
|
|
846
|
-
/** User ID of the member who sent this invitation */
|
|
847
|
-
senderId?: string | null;
|
|
848
|
-
/** User ID of the intended recipient, if targeting a specific user */
|
|
849
|
-
receiverId?: string | null;
|
|
850
|
-
/** Unique random hex token used to redeem this invitation */
|
|
851
|
-
inviteToken?: string | null;
|
|
852
|
-
/** Whether this invitation is still valid and can be redeemed */
|
|
853
|
-
inviteValid?: boolean | null;
|
|
854
|
-
/** Maximum number of times this invite can be claimed; -1 means unlimited */
|
|
855
|
-
inviteLimit?: number | null;
|
|
856
|
-
/** Running count of how many times this invite has been claimed */
|
|
857
|
-
inviteCount?: number | null;
|
|
858
|
-
/** Whether this invite can be claimed by multiple recipients */
|
|
859
|
-
multiple?: boolean | null;
|
|
860
|
-
/** Optional JSON payload of additional invite metadata */
|
|
861
|
-
data?: Record<string, unknown> | null;
|
|
862
|
-
/** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
|
|
863
|
-
profileId?: string | null;
|
|
864
|
-
/** Timestamp after which this invitation can no longer be redeemed */
|
|
865
|
-
expiresAt?: string | null;
|
|
866
|
-
createdAt?: string | null;
|
|
867
|
-
updatedAt?: string | null;
|
|
868
|
-
entityId?: string | null;
|
|
869
|
-
}
|
|
870
841
|
/** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */
|
|
871
842
|
export interface AppMembership {
|
|
872
843
|
id: string;
|
|
@@ -896,6 +867,37 @@ export interface AppMembership {
|
|
|
896
867
|
actorId?: string | null;
|
|
897
868
|
profileId?: string | null;
|
|
898
869
|
}
|
|
870
|
+
/** Invitation records sent to prospective members via email, with token-based redemption and expiration */
|
|
871
|
+
export interface OrgInvite {
|
|
872
|
+
id: string;
|
|
873
|
+
/** Email address of the invited recipient */
|
|
874
|
+
email?: ConstructiveInternalTypeEmail | null;
|
|
875
|
+
/** User ID of the member who sent this invitation */
|
|
876
|
+
senderId?: string | null;
|
|
877
|
+
/** User ID of the intended recipient, if targeting a specific user */
|
|
878
|
+
receiverId?: string | null;
|
|
879
|
+
/** Unique random hex token used to redeem this invitation */
|
|
880
|
+
inviteToken?: string | null;
|
|
881
|
+
/** Whether this invitation is still valid and can be redeemed */
|
|
882
|
+
inviteValid?: boolean | null;
|
|
883
|
+
/** Maximum number of times this invite can be claimed; -1 means unlimited */
|
|
884
|
+
inviteLimit?: number | null;
|
|
885
|
+
/** Running count of how many times this invite has been claimed */
|
|
886
|
+
inviteCount?: number | null;
|
|
887
|
+
/** Whether this invite can be claimed by multiple recipients */
|
|
888
|
+
multiple?: boolean | null;
|
|
889
|
+
/** Optional JSON payload of additional invite metadata */
|
|
890
|
+
data?: Record<string, unknown> | null;
|
|
891
|
+
/** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
|
|
892
|
+
profileId?: string | null;
|
|
893
|
+
/** Whether the resulting membership should be read-only when this invite is claimed */
|
|
894
|
+
isReadOnly?: boolean | null;
|
|
895
|
+
/** Timestamp after which this invitation can no longer be redeemed */
|
|
896
|
+
expiresAt?: string | null;
|
|
897
|
+
createdAt?: string | null;
|
|
898
|
+
updatedAt?: string | null;
|
|
899
|
+
entityId?: string | null;
|
|
900
|
+
}
|
|
899
901
|
/** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */
|
|
900
902
|
export interface OrgMembership {
|
|
901
903
|
id: string;
|
|
@@ -1039,10 +1041,10 @@ export interface OrgLimitAggregateRelations {
|
|
|
1039
1041
|
}
|
|
1040
1042
|
export interface OrgLimitRelations {
|
|
1041
1043
|
}
|
|
1042
|
-
export interface OrgInviteRelations {
|
|
1043
|
-
}
|
|
1044
1044
|
export interface AppMembershipRelations {
|
|
1045
1045
|
}
|
|
1046
|
+
export interface OrgInviteRelations {
|
|
1047
|
+
}
|
|
1046
1048
|
export interface OrgMembershipRelations {
|
|
1047
1049
|
orgMemberProfileByMembershipId?: OrgMemberProfile | null;
|
|
1048
1050
|
}
|
|
@@ -1090,8 +1092,8 @@ export type AppInviteWithRelations = AppInvite & AppInviteRelations;
|
|
|
1090
1092
|
export type OrgMembershipSettingWithRelations = OrgMembershipSetting & OrgMembershipSettingRelations;
|
|
1091
1093
|
export type OrgLimitAggregateWithRelations = OrgLimitAggregate & OrgLimitAggregateRelations;
|
|
1092
1094
|
export type OrgLimitWithRelations = OrgLimit & OrgLimitRelations;
|
|
1093
|
-
export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
|
|
1094
1095
|
export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
|
|
1096
|
+
export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
|
|
1095
1097
|
export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations;
|
|
1096
1098
|
export type OrgGetManagersRecordSelect = {
|
|
1097
1099
|
userId?: boolean;
|
|
@@ -1515,23 +1517,6 @@ export type OrgLimitSelect = {
|
|
|
1515
1517
|
periodCredits?: boolean;
|
|
1516
1518
|
entityId?: boolean;
|
|
1517
1519
|
};
|
|
1518
|
-
export type OrgInviteSelect = {
|
|
1519
|
-
id?: boolean;
|
|
1520
|
-
email?: boolean;
|
|
1521
|
-
senderId?: boolean;
|
|
1522
|
-
receiverId?: boolean;
|
|
1523
|
-
inviteToken?: boolean;
|
|
1524
|
-
inviteValid?: boolean;
|
|
1525
|
-
inviteLimit?: boolean;
|
|
1526
|
-
inviteCount?: boolean;
|
|
1527
|
-
multiple?: boolean;
|
|
1528
|
-
data?: boolean;
|
|
1529
|
-
profileId?: boolean;
|
|
1530
|
-
expiresAt?: boolean;
|
|
1531
|
-
createdAt?: boolean;
|
|
1532
|
-
updatedAt?: boolean;
|
|
1533
|
-
entityId?: boolean;
|
|
1534
|
-
};
|
|
1535
1520
|
export type AppMembershipSelect = {
|
|
1536
1521
|
id?: boolean;
|
|
1537
1522
|
createdAt?: boolean;
|
|
@@ -1550,6 +1535,24 @@ export type AppMembershipSelect = {
|
|
|
1550
1535
|
actorId?: boolean;
|
|
1551
1536
|
profileId?: boolean;
|
|
1552
1537
|
};
|
|
1538
|
+
export type OrgInviteSelect = {
|
|
1539
|
+
id?: boolean;
|
|
1540
|
+
email?: boolean;
|
|
1541
|
+
senderId?: boolean;
|
|
1542
|
+
receiverId?: boolean;
|
|
1543
|
+
inviteToken?: boolean;
|
|
1544
|
+
inviteValid?: boolean;
|
|
1545
|
+
inviteLimit?: boolean;
|
|
1546
|
+
inviteCount?: boolean;
|
|
1547
|
+
multiple?: boolean;
|
|
1548
|
+
data?: boolean;
|
|
1549
|
+
profileId?: boolean;
|
|
1550
|
+
isReadOnly?: boolean;
|
|
1551
|
+
expiresAt?: boolean;
|
|
1552
|
+
createdAt?: boolean;
|
|
1553
|
+
updatedAt?: boolean;
|
|
1554
|
+
entityId?: boolean;
|
|
1555
|
+
};
|
|
1553
1556
|
export type OrgMembershipSelect = {
|
|
1554
1557
|
id?: boolean;
|
|
1555
1558
|
createdAt?: boolean;
|
|
@@ -2513,42 +2516,6 @@ export interface OrgLimitFilter {
|
|
|
2513
2516
|
/** Negates the expression. */
|
|
2514
2517
|
not?: OrgLimitFilter;
|
|
2515
2518
|
}
|
|
2516
|
-
export interface OrgInviteFilter {
|
|
2517
|
-
/** Filter by the object’s `id` field. */
|
|
2518
|
-
id?: UUIDFilter;
|
|
2519
|
-
/** Filter by the object’s `email` field. */
|
|
2520
|
-
email?: ConstructiveInternalTypeEmailFilter;
|
|
2521
|
-
/** Filter by the object’s `senderId` field. */
|
|
2522
|
-
senderId?: UUIDFilter;
|
|
2523
|
-
/** Filter by the object’s `receiverId` field. */
|
|
2524
|
-
receiverId?: UUIDFilter;
|
|
2525
|
-
/** Filter by the object’s `inviteToken` field. */
|
|
2526
|
-
inviteToken?: StringFilter;
|
|
2527
|
-
/** Filter by the object’s `inviteValid` field. */
|
|
2528
|
-
inviteValid?: BooleanFilter;
|
|
2529
|
-
/** Filter by the object’s `inviteLimit` field. */
|
|
2530
|
-
inviteLimit?: IntFilter;
|
|
2531
|
-
/** Filter by the object’s `inviteCount` field. */
|
|
2532
|
-
inviteCount?: IntFilter;
|
|
2533
|
-
/** Filter by the object’s `multiple` field. */
|
|
2534
|
-
multiple?: BooleanFilter;
|
|
2535
|
-
/** Filter by the object’s `profileId` field. */
|
|
2536
|
-
profileId?: UUIDFilter;
|
|
2537
|
-
/** Filter by the object’s `expiresAt` field. */
|
|
2538
|
-
expiresAt?: DatetimeFilter;
|
|
2539
|
-
/** Filter by the object’s `createdAt` field. */
|
|
2540
|
-
createdAt?: DatetimeFilter;
|
|
2541
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2542
|
-
updatedAt?: DatetimeFilter;
|
|
2543
|
-
/** Filter by the object’s `entityId` field. */
|
|
2544
|
-
entityId?: UUIDFilter;
|
|
2545
|
-
/** Checks for all expressions in this list. */
|
|
2546
|
-
and?: OrgInviteFilter[];
|
|
2547
|
-
/** Checks for any expressions in this list. */
|
|
2548
|
-
or?: OrgInviteFilter[];
|
|
2549
|
-
/** Negates the expression. */
|
|
2550
|
-
not?: OrgInviteFilter;
|
|
2551
|
-
}
|
|
2552
2519
|
export interface AppMembershipFilter {
|
|
2553
2520
|
/** Filter by the object’s `id` field. */
|
|
2554
2521
|
id?: UUIDFilter;
|
|
@@ -2589,6 +2556,44 @@ export interface AppMembershipFilter {
|
|
|
2589
2556
|
/** Negates the expression. */
|
|
2590
2557
|
not?: AppMembershipFilter;
|
|
2591
2558
|
}
|
|
2559
|
+
export interface OrgInviteFilter {
|
|
2560
|
+
/** Filter by the object’s `id` field. */
|
|
2561
|
+
id?: UUIDFilter;
|
|
2562
|
+
/** Filter by the object’s `email` field. */
|
|
2563
|
+
email?: ConstructiveInternalTypeEmailFilter;
|
|
2564
|
+
/** Filter by the object’s `senderId` field. */
|
|
2565
|
+
senderId?: UUIDFilter;
|
|
2566
|
+
/** Filter by the object’s `receiverId` field. */
|
|
2567
|
+
receiverId?: UUIDFilter;
|
|
2568
|
+
/** Filter by the object’s `inviteToken` field. */
|
|
2569
|
+
inviteToken?: StringFilter;
|
|
2570
|
+
/** Filter by the object’s `inviteValid` field. */
|
|
2571
|
+
inviteValid?: BooleanFilter;
|
|
2572
|
+
/** Filter by the object’s `inviteLimit` field. */
|
|
2573
|
+
inviteLimit?: IntFilter;
|
|
2574
|
+
/** Filter by the object’s `inviteCount` field. */
|
|
2575
|
+
inviteCount?: IntFilter;
|
|
2576
|
+
/** Filter by the object’s `multiple` field. */
|
|
2577
|
+
multiple?: BooleanFilter;
|
|
2578
|
+
/** Filter by the object’s `profileId` field. */
|
|
2579
|
+
profileId?: UUIDFilter;
|
|
2580
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
2581
|
+
isReadOnly?: BooleanFilter;
|
|
2582
|
+
/** Filter by the object’s `expiresAt` field. */
|
|
2583
|
+
expiresAt?: DatetimeFilter;
|
|
2584
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2585
|
+
createdAt?: DatetimeFilter;
|
|
2586
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2587
|
+
updatedAt?: DatetimeFilter;
|
|
2588
|
+
/** Filter by the object’s `entityId` field. */
|
|
2589
|
+
entityId?: UUIDFilter;
|
|
2590
|
+
/** Checks for all expressions in this list. */
|
|
2591
|
+
and?: OrgInviteFilter[];
|
|
2592
|
+
/** Checks for any expressions in this list. */
|
|
2593
|
+
or?: OrgInviteFilter[];
|
|
2594
|
+
/** Negates the expression. */
|
|
2595
|
+
not?: OrgInviteFilter;
|
|
2596
|
+
}
|
|
2592
2597
|
export interface OrgMembershipFilter {
|
|
2593
2598
|
/** Filter by the object’s `id` field. */
|
|
2594
2599
|
id?: UUIDFilter;
|
|
@@ -2681,8 +2686,8 @@ export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
|
|
|
2681
2686
|
export type OrgMembershipSettingOrderBy = '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' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_CHILDREN_ASC' | 'DELETE_MEMBER_CASCADE_CHILDREN_DESC' | 'CREATE_CHILD_CASCADE_OWNERS_ASC' | 'CREATE_CHILD_CASCADE_OWNERS_DESC' | 'CREATE_CHILD_CASCADE_ADMINS_ASC' | 'CREATE_CHILD_CASCADE_ADMINS_DESC' | 'CREATE_CHILD_CASCADE_MEMBERS_ASC' | 'CREATE_CHILD_CASCADE_MEMBERS_DESC' | 'ALLOW_EXTERNAL_MEMBERS_ASC' | 'ALLOW_EXTERNAL_MEMBERS_DESC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_ASC' | 'INVITE_PROFILE_ASSIGNMENT_MODE_DESC' | 'POPULATE_MEMBER_EMAIL_ASC' | 'POPULATE_MEMBER_EMAIL_DESC' | 'LIMIT_ALLOCATION_MODE_ASC' | 'LIMIT_ALLOCATION_MODE_DESC';
|
|
2682
2687
|
export type OrgLimitAggregateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'RESERVED_ASC' | 'RESERVED_DESC';
|
|
2683
2688
|
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' | 'SOFT_MAX_ASC' | 'SOFT_MAX_DESC' | 'WINDOW_START_ASC' | 'WINDOW_START_DESC' | 'WINDOW_DURATION_ASC' | 'WINDOW_DURATION_DESC' | 'PLAN_MAX_ASC' | 'PLAN_MAX_DESC' | 'PURCHASED_CREDITS_ASC' | 'PURCHASED_CREDITS_DESC' | 'PERIOD_CREDITS_ASC' | 'PERIOD_CREDITS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
|
|
2684
|
-
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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_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';
|
|
2685
2689
|
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';
|
|
2690
|
+
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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_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';
|
|
2686
2691
|
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';
|
|
2687
2692
|
export interface CreateOrgGetManagersRecordInput {
|
|
2688
2693
|
clientMutationId?: string;
|
|
@@ -3808,46 +3813,6 @@ export interface DeleteOrgLimitInput {
|
|
|
3808
3813
|
clientMutationId?: string;
|
|
3809
3814
|
id: string;
|
|
3810
3815
|
}
|
|
3811
|
-
export interface CreateOrgInviteInput {
|
|
3812
|
-
clientMutationId?: string;
|
|
3813
|
-
orgInvite: {
|
|
3814
|
-
email?: ConstructiveInternalTypeEmail;
|
|
3815
|
-
senderId?: string;
|
|
3816
|
-
receiverId?: string;
|
|
3817
|
-
inviteToken?: string;
|
|
3818
|
-
inviteValid?: boolean;
|
|
3819
|
-
inviteLimit?: number;
|
|
3820
|
-
inviteCount?: number;
|
|
3821
|
-
multiple?: boolean;
|
|
3822
|
-
data?: Record<string, unknown>;
|
|
3823
|
-
profileId?: string;
|
|
3824
|
-
expiresAt?: string;
|
|
3825
|
-
entityId: string;
|
|
3826
|
-
};
|
|
3827
|
-
}
|
|
3828
|
-
export interface OrgInvitePatch {
|
|
3829
|
-
email?: ConstructiveInternalTypeEmail | null;
|
|
3830
|
-
senderId?: string | null;
|
|
3831
|
-
receiverId?: string | null;
|
|
3832
|
-
inviteToken?: string | null;
|
|
3833
|
-
inviteValid?: boolean | null;
|
|
3834
|
-
inviteLimit?: number | null;
|
|
3835
|
-
inviteCount?: number | null;
|
|
3836
|
-
multiple?: boolean | null;
|
|
3837
|
-
data?: Record<string, unknown> | null;
|
|
3838
|
-
profileId?: string | null;
|
|
3839
|
-
expiresAt?: string | null;
|
|
3840
|
-
entityId?: string | null;
|
|
3841
|
-
}
|
|
3842
|
-
export interface UpdateOrgInviteInput {
|
|
3843
|
-
clientMutationId?: string;
|
|
3844
|
-
id: string;
|
|
3845
|
-
orgInvitePatch: OrgInvitePatch;
|
|
3846
|
-
}
|
|
3847
|
-
export interface DeleteOrgInviteInput {
|
|
3848
|
-
clientMutationId?: string;
|
|
3849
|
-
id: string;
|
|
3850
|
-
}
|
|
3851
3816
|
export interface CreateAppMembershipInput {
|
|
3852
3817
|
clientMutationId?: string;
|
|
3853
3818
|
appMembership: {
|
|
@@ -3890,6 +3855,48 @@ export interface DeleteAppMembershipInput {
|
|
|
3890
3855
|
clientMutationId?: string;
|
|
3891
3856
|
id: string;
|
|
3892
3857
|
}
|
|
3858
|
+
export interface CreateOrgInviteInput {
|
|
3859
|
+
clientMutationId?: string;
|
|
3860
|
+
orgInvite: {
|
|
3861
|
+
email?: ConstructiveInternalTypeEmail;
|
|
3862
|
+
senderId?: string;
|
|
3863
|
+
receiverId?: string;
|
|
3864
|
+
inviteToken?: string;
|
|
3865
|
+
inviteValid?: boolean;
|
|
3866
|
+
inviteLimit?: number;
|
|
3867
|
+
inviteCount?: number;
|
|
3868
|
+
multiple?: boolean;
|
|
3869
|
+
data?: Record<string, unknown>;
|
|
3870
|
+
profileId?: string;
|
|
3871
|
+
isReadOnly?: boolean;
|
|
3872
|
+
expiresAt?: string;
|
|
3873
|
+
entityId: string;
|
|
3874
|
+
};
|
|
3875
|
+
}
|
|
3876
|
+
export interface OrgInvitePatch {
|
|
3877
|
+
email?: ConstructiveInternalTypeEmail | null;
|
|
3878
|
+
senderId?: string | null;
|
|
3879
|
+
receiverId?: string | null;
|
|
3880
|
+
inviteToken?: string | null;
|
|
3881
|
+
inviteValid?: boolean | null;
|
|
3882
|
+
inviteLimit?: number | null;
|
|
3883
|
+
inviteCount?: number | null;
|
|
3884
|
+
multiple?: boolean | null;
|
|
3885
|
+
data?: Record<string, unknown> | null;
|
|
3886
|
+
profileId?: string | null;
|
|
3887
|
+
isReadOnly?: boolean | null;
|
|
3888
|
+
expiresAt?: string | null;
|
|
3889
|
+
entityId?: string | null;
|
|
3890
|
+
}
|
|
3891
|
+
export interface UpdateOrgInviteInput {
|
|
3892
|
+
clientMutationId?: string;
|
|
3893
|
+
id: string;
|
|
3894
|
+
orgInvitePatch: OrgInvitePatch;
|
|
3895
|
+
}
|
|
3896
|
+
export interface DeleteOrgInviteInput {
|
|
3897
|
+
clientMutationId?: string;
|
|
3898
|
+
id: string;
|
|
3899
|
+
}
|
|
3893
3900
|
export interface CreateOrgMembershipInput {
|
|
3894
3901
|
clientMutationId?: string;
|
|
3895
3902
|
orgMembership: {
|
|
@@ -6410,51 +6417,6 @@ export type DeleteOrgLimitPayloadSelect = {
|
|
|
6410
6417
|
select: OrgLimitEdgeSelect;
|
|
6411
6418
|
};
|
|
6412
6419
|
};
|
|
6413
|
-
export interface CreateOrgInvitePayload {
|
|
6414
|
-
clientMutationId?: string | null;
|
|
6415
|
-
/** The `OrgInvite` that was created by this mutation. */
|
|
6416
|
-
orgInvite?: OrgInvite | null;
|
|
6417
|
-
orgInviteEdge?: OrgInviteEdge | null;
|
|
6418
|
-
}
|
|
6419
|
-
export type CreateOrgInvitePayloadSelect = {
|
|
6420
|
-
clientMutationId?: boolean;
|
|
6421
|
-
orgInvite?: {
|
|
6422
|
-
select: OrgInviteSelect;
|
|
6423
|
-
};
|
|
6424
|
-
orgInviteEdge?: {
|
|
6425
|
-
select: OrgInviteEdgeSelect;
|
|
6426
|
-
};
|
|
6427
|
-
};
|
|
6428
|
-
export interface UpdateOrgInvitePayload {
|
|
6429
|
-
clientMutationId?: string | null;
|
|
6430
|
-
/** The `OrgInvite` that was updated by this mutation. */
|
|
6431
|
-
orgInvite?: OrgInvite | null;
|
|
6432
|
-
orgInviteEdge?: OrgInviteEdge | null;
|
|
6433
|
-
}
|
|
6434
|
-
export type UpdateOrgInvitePayloadSelect = {
|
|
6435
|
-
clientMutationId?: boolean;
|
|
6436
|
-
orgInvite?: {
|
|
6437
|
-
select: OrgInviteSelect;
|
|
6438
|
-
};
|
|
6439
|
-
orgInviteEdge?: {
|
|
6440
|
-
select: OrgInviteEdgeSelect;
|
|
6441
|
-
};
|
|
6442
|
-
};
|
|
6443
|
-
export interface DeleteOrgInvitePayload {
|
|
6444
|
-
clientMutationId?: string | null;
|
|
6445
|
-
/** The `OrgInvite` that was deleted by this mutation. */
|
|
6446
|
-
orgInvite?: OrgInvite | null;
|
|
6447
|
-
orgInviteEdge?: OrgInviteEdge | null;
|
|
6448
|
-
}
|
|
6449
|
-
export type DeleteOrgInvitePayloadSelect = {
|
|
6450
|
-
clientMutationId?: boolean;
|
|
6451
|
-
orgInvite?: {
|
|
6452
|
-
select: OrgInviteSelect;
|
|
6453
|
-
};
|
|
6454
|
-
orgInviteEdge?: {
|
|
6455
|
-
select: OrgInviteEdgeSelect;
|
|
6456
|
-
};
|
|
6457
|
-
};
|
|
6458
6420
|
export interface CreateAppMembershipPayload {
|
|
6459
6421
|
clientMutationId?: string | null;
|
|
6460
6422
|
/** The `AppMembership` that was created by this mutation. */
|
|
@@ -6500,6 +6462,51 @@ export type DeleteAppMembershipPayloadSelect = {
|
|
|
6500
6462
|
select: AppMembershipEdgeSelect;
|
|
6501
6463
|
};
|
|
6502
6464
|
};
|
|
6465
|
+
export interface CreateOrgInvitePayload {
|
|
6466
|
+
clientMutationId?: string | null;
|
|
6467
|
+
/** The `OrgInvite` that was created by this mutation. */
|
|
6468
|
+
orgInvite?: OrgInvite | null;
|
|
6469
|
+
orgInviteEdge?: OrgInviteEdge | null;
|
|
6470
|
+
}
|
|
6471
|
+
export type CreateOrgInvitePayloadSelect = {
|
|
6472
|
+
clientMutationId?: boolean;
|
|
6473
|
+
orgInvite?: {
|
|
6474
|
+
select: OrgInviteSelect;
|
|
6475
|
+
};
|
|
6476
|
+
orgInviteEdge?: {
|
|
6477
|
+
select: OrgInviteEdgeSelect;
|
|
6478
|
+
};
|
|
6479
|
+
};
|
|
6480
|
+
export interface UpdateOrgInvitePayload {
|
|
6481
|
+
clientMutationId?: string | null;
|
|
6482
|
+
/** The `OrgInvite` that was updated by this mutation. */
|
|
6483
|
+
orgInvite?: OrgInvite | null;
|
|
6484
|
+
orgInviteEdge?: OrgInviteEdge | null;
|
|
6485
|
+
}
|
|
6486
|
+
export type UpdateOrgInvitePayloadSelect = {
|
|
6487
|
+
clientMutationId?: boolean;
|
|
6488
|
+
orgInvite?: {
|
|
6489
|
+
select: OrgInviteSelect;
|
|
6490
|
+
};
|
|
6491
|
+
orgInviteEdge?: {
|
|
6492
|
+
select: OrgInviteEdgeSelect;
|
|
6493
|
+
};
|
|
6494
|
+
};
|
|
6495
|
+
export interface DeleteOrgInvitePayload {
|
|
6496
|
+
clientMutationId?: string | null;
|
|
6497
|
+
/** The `OrgInvite` that was deleted by this mutation. */
|
|
6498
|
+
orgInvite?: OrgInvite | null;
|
|
6499
|
+
orgInviteEdge?: OrgInviteEdge | null;
|
|
6500
|
+
}
|
|
6501
|
+
export type DeleteOrgInvitePayloadSelect = {
|
|
6502
|
+
clientMutationId?: boolean;
|
|
6503
|
+
orgInvite?: {
|
|
6504
|
+
select: OrgInviteSelect;
|
|
6505
|
+
};
|
|
6506
|
+
orgInviteEdge?: {
|
|
6507
|
+
select: OrgInviteEdgeSelect;
|
|
6508
|
+
};
|
|
6509
|
+
};
|
|
6503
6510
|
export interface CreateOrgMembershipPayload {
|
|
6504
6511
|
clientMutationId?: string | null;
|
|
6505
6512
|
/** The `OrgMembership` that was created by this mutation. */
|
|
@@ -7042,18 +7049,6 @@ export type OrgLimitEdgeSelect = {
|
|
|
7042
7049
|
select: OrgLimitSelect;
|
|
7043
7050
|
};
|
|
7044
7051
|
};
|
|
7045
|
-
/** A `OrgInvite` edge in the connection. */
|
|
7046
|
-
export interface OrgInviteEdge {
|
|
7047
|
-
cursor?: string | null;
|
|
7048
|
-
/** The `OrgInvite` at the end of the edge. */
|
|
7049
|
-
node?: OrgInvite | null;
|
|
7050
|
-
}
|
|
7051
|
-
export type OrgInviteEdgeSelect = {
|
|
7052
|
-
cursor?: boolean;
|
|
7053
|
-
node?: {
|
|
7054
|
-
select: OrgInviteSelect;
|
|
7055
|
-
};
|
|
7056
|
-
};
|
|
7057
7052
|
/** A `AppMembership` edge in the connection. */
|
|
7058
7053
|
export interface AppMembershipEdge {
|
|
7059
7054
|
cursor?: string | null;
|
|
@@ -7066,6 +7061,18 @@ export type AppMembershipEdgeSelect = {
|
|
|
7066
7061
|
select: AppMembershipSelect;
|
|
7067
7062
|
};
|
|
7068
7063
|
};
|
|
7064
|
+
/** A `OrgInvite` edge in the connection. */
|
|
7065
|
+
export interface OrgInviteEdge {
|
|
7066
|
+
cursor?: string | null;
|
|
7067
|
+
/** The `OrgInvite` at the end of the edge. */
|
|
7068
|
+
node?: OrgInvite | null;
|
|
7069
|
+
}
|
|
7070
|
+
export type OrgInviteEdgeSelect = {
|
|
7071
|
+
cursor?: boolean;
|
|
7072
|
+
node?: {
|
|
7073
|
+
select: OrgInviteSelect;
|
|
7074
|
+
};
|
|
7075
|
+
};
|
|
7069
7076
|
/** A `OrgMembership` edge in the connection. */
|
|
7070
7077
|
export interface OrgMembershipEdge {
|
|
7071
7078
|
cursor?: string | null;
|
|
@@ -47,6 +47,6 @@ export { AppInviteModel } from './appInvite';
|
|
|
47
47
|
export { OrgMembershipSettingModel } from './orgMembershipSetting';
|
|
48
48
|
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
49
49
|
export { OrgLimitModel } from './orgLimit';
|
|
50
|
-
export { OrgInviteModel } from './orgInvite';
|
|
51
50
|
export { AppMembershipModel } from './appMembership';
|
|
51
|
+
export { OrgInviteModel } from './orgInvite';
|
|
52
52
|
export { OrgMembershipModel } from './orgMembership';
|
|
@@ -47,6 +47,6 @@ export { AppInviteModel } from './appInvite';
|
|
|
47
47
|
export { OrgMembershipSettingModel } from './orgMembershipSetting';
|
|
48
48
|
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
49
49
|
export { OrgLimitModel } from './orgLimit';
|
|
50
|
-
export { OrgInviteModel } from './orgInvite';
|
|
51
50
|
export { AppMembershipModel } from './appMembership';
|
|
51
|
+
export { OrgInviteModel } from './orgInvite';
|
|
52
52
|
export { OrgMembershipModel } from './orgMembership';
|