@constructive-sdk/cli 0.21.4 → 0.21.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/cli/commands/org-invite.js +22 -0
- package/admin/cli/commands.js +3 -3
- package/admin/cli/executor.d.ts +1 -1
- 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/esm/admin/cli/commands/org-invite.js +22 -0
- package/esm/admin/cli/commands.js +3 -3
- package/esm/admin/cli/executor.d.ts +1 -1
- 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/public/cli/commands/org-invite.js +22 -0
- package/esm/public/orm/input-types.d.ts +10 -1
- package/package.json +4 -4
- package/public/cli/commands/org-invite.js +22 -0
- package/public/orm/input-types.d.ts +10 -1
|
@@ -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';
|
|
@@ -18,6 +18,7 @@ const fieldSchema = {
|
|
|
18
18
|
multiple: 'boolean',
|
|
19
19
|
data: 'json',
|
|
20
20
|
profileId: 'uuid',
|
|
21
|
+
isReadOnly: 'boolean',
|
|
21
22
|
expiresAt: 'string',
|
|
22
23
|
createdAt: 'string',
|
|
23
24
|
updatedAt: 'string',
|
|
@@ -76,6 +77,7 @@ async function handleList(argv, _prompter) {
|
|
|
76
77
|
multiple: true,
|
|
77
78
|
data: true,
|
|
78
79
|
profileId: true,
|
|
80
|
+
isReadOnly: true,
|
|
79
81
|
expiresAt: true,
|
|
80
82
|
createdAt: true,
|
|
81
83
|
updatedAt: true,
|
|
@@ -108,6 +110,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
108
110
|
multiple: true,
|
|
109
111
|
data: true,
|
|
110
112
|
profileId: true,
|
|
113
|
+
isReadOnly: true,
|
|
111
114
|
expiresAt: true,
|
|
112
115
|
createdAt: true,
|
|
113
116
|
updatedAt: true,
|
|
@@ -152,6 +155,7 @@ async function handleGet(argv, prompter) {
|
|
|
152
155
|
multiple: true,
|
|
153
156
|
data: true,
|
|
154
157
|
profileId: true,
|
|
158
|
+
isReadOnly: true,
|
|
155
159
|
expiresAt: true,
|
|
156
160
|
createdAt: true,
|
|
157
161
|
updatedAt: true,
|
|
@@ -242,6 +246,13 @@ async function handleCreate(argv, prompter) {
|
|
|
242
246
|
required: false,
|
|
243
247
|
skipPrompt: true,
|
|
244
248
|
},
|
|
249
|
+
{
|
|
250
|
+
type: 'boolean',
|
|
251
|
+
name: 'isReadOnly',
|
|
252
|
+
message: 'isReadOnly',
|
|
253
|
+
required: false,
|
|
254
|
+
skipPrompt: true,
|
|
255
|
+
},
|
|
245
256
|
{
|
|
246
257
|
type: 'text',
|
|
247
258
|
name: 'expiresAt',
|
|
@@ -272,6 +283,7 @@ async function handleCreate(argv, prompter) {
|
|
|
272
283
|
multiple: cleanedData.multiple,
|
|
273
284
|
data: cleanedData.data,
|
|
274
285
|
profileId: cleanedData.profileId,
|
|
286
|
+
isReadOnly: cleanedData.isReadOnly,
|
|
275
287
|
expiresAt: cleanedData.expiresAt,
|
|
276
288
|
entityId: cleanedData.entityId,
|
|
277
289
|
},
|
|
@@ -287,6 +299,7 @@ async function handleCreate(argv, prompter) {
|
|
|
287
299
|
multiple: true,
|
|
288
300
|
data: true,
|
|
289
301
|
profileId: true,
|
|
302
|
+
isReadOnly: true,
|
|
290
303
|
expiresAt: true,
|
|
291
304
|
createdAt: true,
|
|
292
305
|
updatedAt: true,
|
|
@@ -383,6 +396,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
383
396
|
required: false,
|
|
384
397
|
skipPrompt: true,
|
|
385
398
|
},
|
|
399
|
+
{
|
|
400
|
+
type: 'boolean',
|
|
401
|
+
name: 'isReadOnly',
|
|
402
|
+
message: 'isReadOnly',
|
|
403
|
+
required: false,
|
|
404
|
+
skipPrompt: true,
|
|
405
|
+
},
|
|
386
406
|
{
|
|
387
407
|
type: 'text',
|
|
388
408
|
name: 'expiresAt',
|
|
@@ -416,6 +436,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
416
436
|
multiple: cleanedData.multiple,
|
|
417
437
|
data: cleanedData.data,
|
|
418
438
|
profileId: cleanedData.profileId,
|
|
439
|
+
isReadOnly: cleanedData.isReadOnly,
|
|
419
440
|
expiresAt: cleanedData.expiresAt,
|
|
420
441
|
entityId: cleanedData.entityId,
|
|
421
442
|
},
|
|
@@ -431,6 +452,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
431
452
|
multiple: true,
|
|
432
453
|
data: true,
|
|
433
454
|
profileId: true,
|
|
455
|
+
isReadOnly: true,
|
|
434
456
|
expiresAt: true,
|
|
435
457
|
createdAt: true,
|
|
436
458
|
updatedAt: true,
|
|
@@ -2218,6 +2218,8 @@ export interface OrgInvite {
|
|
|
2218
2218
|
data?: Record<string, unknown> | null;
|
|
2219
2219
|
/** Optional profile (role) to assign to the member when they claim this invite. Only allowed on email invites. */
|
|
2220
2220
|
profileId?: string | null;
|
|
2221
|
+
/** Whether the resulting membership should be read-only when this invite is claimed */
|
|
2222
|
+
isReadOnly?: boolean | null;
|
|
2221
2223
|
/** Timestamp after which this invitation can no longer be redeemed */
|
|
2222
2224
|
expiresAt?: string | null;
|
|
2223
2225
|
createdAt?: string | null;
|
|
@@ -7024,6 +7026,7 @@ export type OrgInviteSelect = {
|
|
|
7024
7026
|
multiple?: boolean;
|
|
7025
7027
|
data?: boolean;
|
|
7026
7028
|
profileId?: boolean;
|
|
7029
|
+
isReadOnly?: boolean;
|
|
7027
7030
|
expiresAt?: boolean;
|
|
7028
7031
|
createdAt?: boolean;
|
|
7029
7032
|
updatedAt?: boolean;
|
|
@@ -12512,6 +12515,8 @@ export interface OrgInviteFilter {
|
|
|
12512
12515
|
multiple?: BooleanFilter;
|
|
12513
12516
|
/** Filter by the object’s `profileId` field. */
|
|
12514
12517
|
profileId?: UUIDFilter;
|
|
12518
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
12519
|
+
isReadOnly?: BooleanFilter;
|
|
12515
12520
|
/** Filter by the object’s `expiresAt` field. */
|
|
12516
12521
|
expiresAt?: DatetimeFilter;
|
|
12517
12522
|
/** Filter by the object’s `createdAt` field. */
|
|
@@ -14235,7 +14240,7 @@ export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
|
|
|
14235
14240
|
export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14236
14241
|
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' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14237
14242
|
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';
|
|
14238
|
-
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';
|
|
14243
|
+
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';
|
|
14239
14244
|
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';
|
|
14240
14245
|
export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
14241
14246
|
export type AgentThreadOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC';
|
|
@@ -17834,6 +17839,7 @@ export interface CreateOrgInviteInput {
|
|
|
17834
17839
|
multiple?: boolean;
|
|
17835
17840
|
data?: Record<string, unknown>;
|
|
17836
17841
|
profileId?: string;
|
|
17842
|
+
isReadOnly?: boolean;
|
|
17837
17843
|
expiresAt?: string;
|
|
17838
17844
|
entityId: string;
|
|
17839
17845
|
};
|
|
@@ -17849,6 +17855,7 @@ export interface OrgInvitePatch {
|
|
|
17849
17855
|
multiple?: boolean | null;
|
|
17850
17856
|
data?: Record<string, unknown> | null;
|
|
17851
17857
|
profileId?: string | null;
|
|
17858
|
+
isReadOnly?: boolean | null;
|
|
17852
17859
|
expiresAt?: string | null;
|
|
17853
17860
|
entityId?: string | null;
|
|
17854
17861
|
}
|
|
@@ -25925,6 +25932,8 @@ export interface OrgInviteFilter {
|
|
|
25925
25932
|
multiple?: BooleanFilter;
|
|
25926
25933
|
/** Filter by the object’s `profileId` field. */
|
|
25927
25934
|
profileId?: UUIDFilter;
|
|
25935
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
25936
|
+
isReadOnly?: BooleanFilter;
|
|
25928
25937
|
/** Filter by the object’s `expiresAt` field. */
|
|
25929
25938
|
expiresAt?: DatetimeFilter;
|
|
25930
25939
|
/** Filter by the object’s `createdAt` field. */
|