@onesi/genesis 0.2.6 → 0.2.7

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/genesis.d.ts CHANGED
@@ -3520,6 +3520,17 @@ export declare class Genesis extends GenesisClient {
3520
3520
  kind: "api_key" | "m2m_token" | "bridge_session";
3521
3521
  scopes: string[];
3522
3522
  }>;
3523
+ mcp: (message: In<"auto_callMcp">["body"]) => Promise<{
3524
+ jsonrpc: "2.0";
3525
+ id?: string | number | null;
3526
+ result?: {
3527
+ [key: string]: unknown;
3528
+ };
3529
+ error?: {
3530
+ code: number;
3531
+ message: string;
3532
+ };
3533
+ }>;
3523
3534
  orgs: {
3524
3535
  list: (includeArchived?: boolean) => Promise<{
3525
3536
  data: components["schemas"]["Auto.Org"][];
@@ -7403,6 +7414,52 @@ export declare class Genesis extends GenesisClient {
7403
7414
  meta?: components["schemas"]["Boxes.MailListMeta"];
7404
7415
  }>;
7405
7416
  };
7417
+ agents: {
7418
+ list: () => Promise<{
7419
+ success: boolean;
7420
+ data: components["schemas"]["Boxes.MailAgentMailbox"][];
7421
+ }>;
7422
+ create: (body: In<"boxes_mail_agents_create">["body"]) => Promise<{
7423
+ success: boolean;
7424
+ data: components["schemas"]["Boxes.MailAgentMailbox"];
7425
+ }>;
7426
+ get: (agentId: In<"boxes_mail_agents_get">["agentId"]) => Promise<{
7427
+ success: boolean;
7428
+ data: components["schemas"]["Boxes.MailAgentMailbox"];
7429
+ }>;
7430
+ delete: (agentId: In<"boxes_mail_agents_delete">["agentId"]) => Promise<{
7431
+ success: boolean;
7432
+ data: components["schemas"]["Boxes.MailAgentMailbox"];
7433
+ }>;
7434
+ inbox: {
7435
+ list: (agentId: In<"boxes_mail_agents_inbox_list">["agentId"], q?: Omit<In<"boxes_mail_agents_inbox_list">, "body" | "agentId">) => Promise<{
7436
+ success: boolean;
7437
+ data: components["schemas"]["Boxes.MailMessage"][];
7438
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7439
+ }>;
7440
+ };
7441
+ send: (agentId: In<"boxes_mail_agents_send">["agentId"], body: In<"boxes_mail_agents_send">["body"], idempotencyKey?: string) => Promise<{
7442
+ success: boolean;
7443
+ data: components["schemas"]["Boxes.MailMessage"];
7444
+ }>;
7445
+ threads: {
7446
+ list: (agentId: In<"boxes_mail_agents_threads_list">["agentId"], q?: Omit<In<"boxes_mail_agents_threads_list">, "body" | "agentId">) => Promise<{
7447
+ success: boolean;
7448
+ data: components["schemas"]["Boxes.MailThread"][];
7449
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7450
+ }>;
7451
+ get: (agentId: In<"boxes_mail_agents_threads_get">["agentId"], id: In<"boxes_mail_agents_threads_get">["id"]) => Promise<{
7452
+ success: boolean;
7453
+ data: components["schemas"]["Boxes.MailThreadDetail"];
7454
+ }>;
7455
+ };
7456
+ messages: {
7457
+ get: (agentId: In<"boxes_mail_agents_messages_get">["agentId"], id: In<"boxes_mail_agents_messages_get">["id"]) => Promise<{
7458
+ success: boolean;
7459
+ data: components["schemas"]["Boxes.MailMessageWithLabels"];
7460
+ }>;
7461
+ };
7462
+ };
7406
7463
  mailboxes: {
7407
7464
  list: () => Promise<{
7408
7465
  success: boolean;