@excali-boards/boards-api-client 1.1.1-dev.14 → 1.1.1-dev.16

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.
@@ -58,7 +58,10 @@ export type CreateInviteOutput = {
58
58
  expiresAt: string;
59
59
  maxUses: number;
60
60
  };
61
- export type GetUserInvitesOutput = Invite[];
61
+ export type GetUserInvitesOutput = {
62
+ invites: Invite[];
63
+ canInvite: boolean;
64
+ };
62
65
  export type GetResourceInvitesOutput = InviteData[];
63
66
  export type UseInviteOutput = {
64
67
  granted: GrantedRoles;
@@ -5,8 +5,8 @@ export declare class APISessions {
5
5
  constructor(web: BoardsManager);
6
6
  createSession({ auth, body }: SessionsFunctionsInput['createSession']): Promise<import("..").WebResponse<CreateSessionOutput>>;
7
7
  getAllSessions({ auth }: SessionsFunctionsInput['getAllSessions']): Promise<import("..").WebResponse<SessionsOutput>>;
8
- deleteSession({ auth, token }: SessionsFunctionsInput['deleteSession']): Promise<import("..").WebResponse<void>>;
9
- deleteAllSessions({ auth }: SessionsFunctionsInput['deleteAllSessions']): Promise<import("..").WebResponse<void>>;
8
+ deleteSession({ auth, token }: SessionsFunctionsInput['deleteSession']): Promise<import("..").WebResponse<string>>;
9
+ deleteAllSessions({ auth }: SessionsFunctionsInput['deleteAllSessions']): Promise<import("..").WebResponse<string>>;
10
10
  }
11
11
  export type SessionsFunctionsInput = {
12
12
  'createSession': {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.1-dev.14",
2
+ "version": "1.1.1-dev.16",
3
3
  "name": "@excali-boards/boards-api-client",
4
4
  "description": "A simple API client for the Boards API.",
5
5
  "repository": "https://github.com/Excali-Boards/boards-api-client",