shipmail-mcp 0.5.4 → 0.5.8

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/server.d.ts CHANGED
@@ -6,6 +6,14 @@ type McpConfig = {
6
6
  readonly organizationId: string | undefined;
7
7
  };
8
8
 
9
- declare function createShipMailMcpServer(config: McpConfig, allowedTools: ReadonlySet<string>): McpServer;
9
+ declare const CROSS_ORGANIZATION_TOOL_NAMES: ReadonlySet<string>;
10
10
 
11
- export { createShipMailMcpServer };
11
+ type HostedOrganizationGrant = {
12
+ readonly id: string;
13
+ readonly name: string;
14
+ readonly apiKey: string;
15
+ readonly allowedTools: ReadonlySet<string>;
16
+ };
17
+ declare function createShipMailMcpServer(config: McpConfig, allowedTools: ReadonlySet<string>, organizationGrants?: readonly HostedOrganizationGrant[]): McpServer;
18
+
19
+ export { CROSS_ORGANIZATION_TOOL_NAMES, type HostedOrganizationGrant, createShipMailMcpServer };