@wacht/jsx 0.0.1-alpha.40 → 0.0.1-alpha.41

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/dist/index.d.ts CHANGED
@@ -974,6 +974,10 @@ export declare const useActiveWorkspace: () => {
974
974
  removeMember: (memberId: string) => Promise<unknown>;
975
975
  addMemberRole: (membershipId: string, roleId: string) => Promise<unknown>;
976
976
  removeMemberRole: (membershipId: string, roleId: string) => Promise<unknown>;
977
+ getInvitations: () => Promise<any[]>;
978
+ createInvitation: (email: string, workspaceRoleId: string) => Promise<unknown>;
979
+ discardInvitation: (invitationId: string) => Promise<unknown>;
980
+ resendInvitation: (invitationId: string) => Promise<unknown>;
977
981
  };
978
982
 
979
983
  export declare function useAgentConversation({ contextId, agentName, token, platformAdapter, autoConnect, }: UseAgentConversationProps): {
@@ -1403,6 +1407,10 @@ export declare const useWorkspaceList: () => {
1403
1407
  removeWorkspaceMember: (workspace: Workspace, memberId: string) => Promise<unknown>;
1404
1408
  addWorkspaceMemberRole: (workspace: Workspace, membershipId: string, roleId: string) => Promise<unknown>;
1405
1409
  removeWorkspaceMemberRole: (workspace: Workspace, membershipId: string, roleId: string) => Promise<unknown>;
1410
+ getWorkspaceInvitations: (workspace: WorkspaceWithOrganization) => Promise<any[]>;
1411
+ createWorkspaceInvitation: (workspace: WorkspaceWithOrganization, email: string, workspaceRoleId: string) => Promise<unknown>;
1412
+ discardWorkspaceInvitation: (workspace: WorkspaceWithOrganization, invitationId: string) => Promise<unknown>;
1413
+ resendWorkspaceInvitation: (workspace: WorkspaceWithOrganization, invitationId: string) => Promise<unknown>;
1406
1414
  };
1407
1415
 
1408
1416
  export declare const useWorkspaceMemberships: () => {