@onesi/genesis 0.2.5 → 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;
@@ -9372,16 +9429,16 @@ export declare class Genesis extends GenesisClient {
9372
9429
  }, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesObjectList>;
9373
9430
  put(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
9374
9431
  content_type?: string;
9375
- }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
9432
+ }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
9376
9433
  remove: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
9377
9434
  download: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<Response>;
9378
9435
  putFlat(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
9379
9436
  content_type?: string;
9380
- }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
9437
+ }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
9381
9438
  removeFlat: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
9382
9439
  putDownload(project: string, id: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
9383
- content_type? /** One SQL statement, run once (never replayed) and metered on success. */: string;
9384
- }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
9440
+ content_type?: string;
9441
+ }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement | import("./hives-cells.js").HivesStorageWriteReplay>;
9385
9442
  removeDownload: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
9386
9443
  };
9387
9444
  presign(project: string, id: string, body: import("./hives-cells.js").HivesPresign, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesPresignedUrl>;