@onesi/genesis 0.2.0 → 0.2.1

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
@@ -280,12 +280,12 @@ export declare class Genesis extends GenesisClient {
280
280
  forgetting: {
281
281
  getPolicies: (mindId: string, input?: {}, options?: import("./minds-engine.js").MindsEngineOptions) => Promise<unknown>;
282
282
  postPoliciesToggle: (mindId: string, input: {
283
+ id: string;
283
284
  body: {
284
285
  enabled?: unknown;
285
286
  } & {
286
287
  [key: string]: unknown;
287
288
  };
288
- id: string;
289
289
  }, options?: import("./minds-engine.js").MindsEngineOptions) => Promise<unknown>;
290
290
  getProof: (mindId: string, input: {
291
291
  id: string;
@@ -553,12 +553,12 @@ export declare class Genesis extends GenesisClient {
553
553
  id: string;
554
554
  }, options?: import("./minds-engine.js").MindsEngineOptions) => Promise<unknown>;
555
555
  put: (mindId: string, input: {
556
+ id: string;
556
557
  body: {
557
558
  event: unknown;
558
559
  } & {
559
560
  [key: string]: unknown;
560
561
  };
561
- id: string;
562
562
  }, options?: import("./minds-engine.js").MindsEngineOptions) => Promise<unknown>;
563
563
  postSearch: (mindId: string, input: {
564
564
  body: {
@@ -1541,6 +1541,17 @@ export declare class Genesis extends GenesisClient {
1541
1541
  }) => Promise<{
1542
1542
  events: components["schemas"]["Blinds.ActivityEvent"][];
1543
1543
  }>;
1544
+ proxy: (body: In<"blinds_proxyRequest">["body"], init?: {
1545
+ signal?: AbortSignal;
1546
+ idempotencyKey?: string;
1547
+ }) => Promise<{
1548
+ status: number;
1549
+ headers: {
1550
+ [key: string]: string;
1551
+ };
1552
+ body: string;
1553
+ request_id: string;
1554
+ }>;
1544
1555
  ownerEnrollment: {
1545
1556
  reserve: (body: In<"blinds_ownerReserve">["body"], init?: {
1546
1557
  signal?: AbortSignal;
@@ -2649,6 +2660,11 @@ export declare class Genesis extends GenesisClient {
2649
2660
  accounts?: components["schemas"]["Flocks.HeartbeatAccount"][];
2650
2661
  accounts_supported?: boolean;
2651
2662
  }[]>;
2663
+ activity: (id: string, query?: Omit<In<"flocks_getNodeActivity">, "id">) => Promise<{
2664
+ node: components["schemas"]["Flocks.NodePresence"];
2665
+ items: components["schemas"]["Flocks.Run"][];
2666
+ next_cursor: string | null;
2667
+ }>;
2652
2668
  rename: (id: string, nickname: string) => Promise<{
2653
2669
  id: string;
2654
2670
  name: string;
@@ -2815,7 +2831,32 @@ export declare class Genesis extends GenesisClient {
2815
2831
  owner_subject?: string;
2816
2832
  created_at: number;
2817
2833
  updated_at: number;
2834
+ inference_account_id: string | null;
2835
+ account_owner_org: string | null;
2836
+ grantee_org: string | null;
2837
+ run_seconds: number | null;
2818
2838
  }>;
2839
+ create: (agent_id: string, body: In<"flocks_createRun">["body"], o?: {
2840
+ signal?: AbortSignal;
2841
+ }) => Promise<{
2842
+ id: string;
2843
+ agent_id: string;
2844
+ harness: string;
2845
+ node_id: string | null;
2846
+ task: string;
2847
+ state: "pending" | "running" | "completed" | "failed";
2848
+ error_code: string | null;
2849
+ owner_subject?: string;
2850
+ created_at: number;
2851
+ updated_at: number;
2852
+ inference_account_id: string | null;
2853
+ account_owner_org: string | null;
2854
+ grantee_org: string | null;
2855
+ run_seconds: number | null;
2856
+ }>;
2857
+ wait: (run_id: string, o?: import("./flocks.js").WaitForJobOptions & {
2858
+ onUpdate?: (run: import("./flocks.js").FlocksRun) => void;
2859
+ }) => Promise<import("./flocks.js").FlocksRun>;
2819
2860
  };
2820
2861
  joinTokens: {
2821
2862
  exchange: (body: In<"flocks_exchangeJoinToken">["body"]) => Promise<{
@@ -2870,6 +2911,20 @@ export declare class Genesis extends GenesisClient {
2870
2911
  updated_at: number;
2871
2912
  bound_instances?: number;
2872
2913
  }>;
2914
+ resetIdentity: (id: string, o?: import("./flocks.js").FlocksWriteOptions) => Promise<{
2915
+ id: string;
2916
+ provider: string;
2917
+ label: string;
2918
+ auth_kind: "subscription_oauth" | "api_key";
2919
+ identity: string | null;
2920
+ status: "pending_login" | "active" | "needs_login" | "revoked" | "deleted";
2921
+ owner_org: string;
2922
+ granted: boolean;
2923
+ created_by: string;
2924
+ created_at: number;
2925
+ updated_at: number;
2926
+ bound_instances?: number;
2927
+ }>;
2873
2928
  delete: (id: string, o?: import("./flocks.js").FlocksWriteOptions) => Promise<{
2874
2929
  account: components["schemas"]["Flocks.Account"];
2875
2930
  job_id: string;
@@ -4531,6 +4586,7 @@ export declare class Genesis extends GenesisClient {
4531
4586
  }>;
4532
4587
  createTask: (project: string, body: In<"scopes_createTask">["body"]) => Promise<{
4533
4588
  id: string;
4589
+ seq?: number;
4534
4590
  project_id: string;
4535
4591
  number: number;
4536
4592
  identifier: string;
@@ -4569,6 +4625,7 @@ export declare class Genesis extends GenesisClient {
4569
4625
  }>;
4570
4626
  get: (task: string) => Promise<{
4571
4627
  id: string;
4628
+ seq?: number;
4572
4629
  project_id: string;
4573
4630
  number: number;
4574
4631
  identifier: string;
@@ -4594,6 +4651,7 @@ export declare class Genesis extends GenesisClient {
4594
4651
  }>;
4595
4652
  update: (task: string, version: number | string, body: In<"scopes_updateTask">["body"]) => Promise<{
4596
4653
  id: string;
4654
+ seq?: number;
4597
4655
  project_id: string;
4598
4656
  number: number;
4599
4657
  identifier: string;
@@ -4619,6 +4677,7 @@ export declare class Genesis extends GenesisClient {
4619
4677
  }>;
4620
4678
  archive: (task: string, version: number | string) => Promise<{
4621
4679
  id: string;
4680
+ seq?: number;
4622
4681
  project_id: string;
4623
4682
  number: number;
4624
4683
  identifier: string;
@@ -4644,6 +4703,7 @@ export declare class Genesis extends GenesisClient {
4644
4703
  }>;
4645
4704
  assign: (task: string, version: number | string, body: In<"scopes_assignTask">["body"]) => Promise<{
4646
4705
  id: string;
4706
+ seq?: number;
4647
4707
  project_id: string;
4648
4708
  number: number;
4649
4709
  identifier: string;
@@ -4669,6 +4729,7 @@ export declare class Genesis extends GenesisClient {
4669
4729
  }>;
4670
4730
  unassign: (task: string, version: number | string) => Promise<{
4671
4731
  id: string;
4732
+ seq?: number;
4672
4733
  project_id: string;
4673
4734
  number: number;
4674
4735
  identifier: string;
@@ -7124,7 +7185,13 @@ export declare class Genesis extends GenesisClient {
7124
7185
  next_cursor?: string | null;
7125
7186
  }>;
7126
7187
  tenantContext: () => Promise<{
7127
- tenant: components["schemas"]["Iam.TenantContext"];
7188
+ organizationId: string;
7189
+ projectId: string;
7190
+ platformId: string;
7191
+ workspaceId?: string;
7192
+ fleetId?: string;
7193
+ organizationName?: string;
7194
+ environmentId?: string;
7128
7195
  }>;
7129
7196
  checkPermission: (body: {
7130
7197
  principalId?: string;
@@ -7284,6 +7351,1074 @@ export declare class Genesis extends GenesisClient {
7284
7351
  };
7285
7352
  };
7286
7353
  };
7354
+ readonly boxes: {
7355
+ mail: {
7356
+ addresses: {
7357
+ create: (body: In<"boxes_mail_addresses_create">["body"]) => Promise<{
7358
+ success: boolean;
7359
+ data: components["schemas"]["Boxes.MailAddressRecord"];
7360
+ }>;
7361
+ list: () => Promise<{
7362
+ success: boolean;
7363
+ data: components["schemas"]["Boxes.MailAddressEntry"][];
7364
+ }>;
7365
+ };
7366
+ domains: {
7367
+ addresses: {
7368
+ create: (domainId: In<"boxes_mail_domains_addresses_create">["domain_id"], body: In<"boxes_mail_domains_addresses_create">["body"]) => Promise<{
7369
+ success: boolean;
7370
+ data: components["schemas"]["Boxes.MailAddressRecord"];
7371
+ }>;
7372
+ };
7373
+ create: (body: In<"boxes_mail_domains_create">["body"]) => Promise<{
7374
+ success: boolean;
7375
+ data: components["schemas"]["Boxes.MailDomain"];
7376
+ }>;
7377
+ list: () => Promise<{
7378
+ success: boolean;
7379
+ data: components["schemas"]["Boxes.MailDomain"][];
7380
+ }>;
7381
+ verify: (domainId: In<"boxes_mail_domains_verify">["domain_id"]) => Promise<{
7382
+ success: boolean;
7383
+ data: components["schemas"]["Boxes.MailDomain"];
7384
+ meta?: components["schemas"]["Boxes.MailVerifyDomainMeta"];
7385
+ }>;
7386
+ };
7387
+ inbox: {
7388
+ list: (q?: Omit<In<"boxes_mail_inbox_list">, "body">) => Promise<{
7389
+ success: boolean;
7390
+ data: components["schemas"]["Boxes.MailMessage"][];
7391
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7392
+ }>;
7393
+ };
7394
+ mailboxes: {
7395
+ list: () => Promise<{
7396
+ success: boolean;
7397
+ data: components["schemas"]["Boxes.MailMailbox"][];
7398
+ }>;
7399
+ delegations: {
7400
+ list: (mailboxId: In<"boxes_mail_mailboxes_delegations_list">["mailbox_id"]) => Promise<{
7401
+ id: string;
7402
+ mailboxId: string;
7403
+ granteeId: string;
7404
+ granteeKind: "agent" | "user";
7405
+ role: "owner" | "delegate" | "send_as" | "read_only";
7406
+ grantedBy: string;
7407
+ isActive: boolean;
7408
+ expiresAt?: string | null;
7409
+ createdAt: string;
7410
+ updatedAt: string;
7411
+ }[]>;
7412
+ };
7413
+ };
7414
+ messages: {
7415
+ get: (id: In<"boxes_mail_messages_get">["id"]) => Promise<{
7416
+ success: boolean;
7417
+ data: components["schemas"]["Boxes.MailMessageWithLabels"];
7418
+ }>;
7419
+ delete: (id: In<"boxes_mail_messages_delete">["id"]) => Promise<void>;
7420
+ update: (id: In<"boxes_mail_messages_update">["id"], body: In<"boxes_mail_messages_update">["body"]) => Promise<{
7421
+ success: boolean;
7422
+ data: components["schemas"]["Boxes.MailMessage"];
7423
+ }>;
7424
+ attachments: {
7425
+ list: (messageId: In<"boxes_mail_messages_attachments_list">["messageId"]) => Promise<{
7426
+ success: boolean;
7427
+ data: components["schemas"]["Boxes.MailAttachment"][];
7428
+ }>;
7429
+ };
7430
+ delivery: {
7431
+ get: (id: In<"boxes_mail_messages_delivery_get">["id"]) => Promise<{
7432
+ success: boolean;
7433
+ data: components["schemas"]["Boxes.MailDelivery"];
7434
+ }>;
7435
+ };
7436
+ };
7437
+ send: (body: In<"boxes_mail_send">["body"], idempotencyKey?: string) => Promise<{
7438
+ success: boolean;
7439
+ data: components["schemas"]["Boxes.MailMessage"];
7440
+ }>;
7441
+ threads: {
7442
+ get: (id: In<"boxes_mail_threads_get">["id"]) => Promise<{
7443
+ success: boolean;
7444
+ data: components["schemas"]["Boxes.MailThreadDetail"];
7445
+ }>;
7446
+ list: (q?: Omit<In<"boxes_mail_threads_list">, "body">) => Promise<{
7447
+ success: boolean;
7448
+ data: components["schemas"]["Boxes.MailThread"][];
7449
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7450
+ }>;
7451
+ };
7452
+ agent: {
7453
+ batchSend: (body: In<"boxes_mail_agent_batch_send">["body"], idempotencyKey?: string) => Promise<{
7454
+ success: boolean;
7455
+ data: components["schemas"]["Boxes.MailAgentBatchSendResult"];
7456
+ }>;
7457
+ webhooks: {
7458
+ create: (body: In<"boxes_mail_agent_webhooks_create">["body"]) => Promise<{
7459
+ success: boolean;
7460
+ data: components["schemas"]["Boxes.MailWebhookCreated"];
7461
+ }>;
7462
+ list: () => Promise<{
7463
+ success: boolean;
7464
+ data: components["schemas"]["Boxes.MailWebhook"][];
7465
+ }>;
7466
+ delete: (id: In<"boxes_mail_agent_webhooks_delete">["id"]) => Promise<void>;
7467
+ };
7468
+ activities: {
7469
+ list: (q?: Omit<In<"boxes_mail_agent_activities_list">, "body">) => Promise<{
7470
+ success: boolean;
7471
+ data: components["schemas"]["Boxes.MailAgentActivity"][];
7472
+ }>;
7473
+ };
7474
+ state: {
7475
+ list: (q?: Omit<In<"boxes_mail_agent_state_list">, "body">) => Promise<{
7476
+ success: boolean;
7477
+ data: components["schemas"]["Boxes.MailAgentState"][];
7478
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7479
+ }>;
7480
+ update: (messageId: In<"boxes_mail_agent_state_update">["messageId"], body: In<"boxes_mail_agent_state_update">["body"]) => Promise<{
7481
+ success: boolean;
7482
+ data: components["schemas"]["Boxes.MailAgentState"];
7483
+ }>;
7484
+ };
7485
+ };
7486
+ attachments: {
7487
+ content: {
7488
+ get: (id: In<"boxes_mail_attachments_content_get">["id"]) => Promise<Response>;
7489
+ };
7490
+ get: (id: In<"boxes_mail_attachments_get">["id"]) => Promise<{
7491
+ success: boolean;
7492
+ data: components["schemas"]["Boxes.MailAttachmentDetail"];
7493
+ }>;
7494
+ delete: (id: In<"boxes_mail_attachments_delete">["id"]) => Promise<void>;
7495
+ upload: (body: In<"boxes_mail_attachments_upload">["body"]) => Promise<{
7496
+ success: boolean;
7497
+ data: components["schemas"]["Boxes.MailPendingAttachment"];
7498
+ }>;
7499
+ };
7500
+ search: (q: Omit<In<"boxes_mail_search">, "body">) => Promise<{
7501
+ success: boolean;
7502
+ data: components["schemas"]["Boxes.MailMessage"][];
7503
+ meta?: components["schemas"]["Boxes.MailListMeta"];
7504
+ }>;
7505
+ stream: {
7506
+ sse: () => Promise<Response>;
7507
+ };
7508
+ batch: (body: In<"boxes_mail_batch">["body"]) => Promise<{
7509
+ success: boolean;
7510
+ data: components["schemas"]["Boxes.MailBatchResult"];
7511
+ }>;
7512
+ delegations: {
7513
+ revoke: (delegationId: In<"boxes_mail_delegations_revoke">["delegation_id"]) => Promise<{
7514
+ success: boolean;
7515
+ }>;
7516
+ };
7517
+ extraction: {
7518
+ message: {
7519
+ get: (messageId: In<"boxes_mail_extraction_message_get">["message_id"]) => Promise<{
7520
+ id: string;
7521
+ messageId: string;
7522
+ mailboxId: string;
7523
+ summary: string;
7524
+ intent: "inquiry" | "request" | "response" | "notification" | "introduction" | "follow_up" | "complaint" | "appreciation" | "negotiation" | "scheduling" | "forwarded" | "automated";
7525
+ sentiment: "positive" | "neutral" | "negative" | "urgent";
7526
+ category: "transactional" | "conversational" | "marketing" | "notification" | "newsletter" | "internal" | "support" | "sales" | "legal" | "financial";
7527
+ language: string;
7528
+ actionItems: {
7529
+ description: string;
7530
+ assignee?: string | null;
7531
+ deadline?: string | null;
7532
+ priority?: string | null;
7533
+ }[];
7534
+ questions: string[];
7535
+ deadlines: {
7536
+ description: string;
7537
+ date?: string | null;
7538
+ sourceText: string;
7539
+ }[];
7540
+ entities: {
7541
+ name: string;
7542
+ entityType: string;
7543
+ value?: string | null;
7544
+ }[];
7545
+ topics: string[];
7546
+ priorityScore: number;
7547
+ spamScore: number;
7548
+ phishingScore: number;
7549
+ requiresResponse: boolean;
7550
+ suggestedResponseBy?: string | null;
7551
+ extractionModel: string;
7552
+ extractionLatencyMs: number;
7553
+ createdAt: string;
7554
+ } | null>;
7555
+ };
7556
+ thread: {
7557
+ get: (threadId: In<"boxes_mail_extraction_thread_get">["thread_id"]) => Promise<{
7558
+ id: string;
7559
+ messageId: string;
7560
+ mailboxId: string;
7561
+ summary: string;
7562
+ intent: "inquiry" | "request" | "response" | "notification" | "introduction" | "follow_up" | "complaint" | "appreciation" | "negotiation" | "scheduling" | "forwarded" | "automated";
7563
+ sentiment: "positive" | "neutral" | "negative" | "urgent";
7564
+ category: "transactional" | "conversational" | "marketing" | "notification" | "newsletter" | "internal" | "support" | "sales" | "legal" | "financial";
7565
+ language: string;
7566
+ actionItems: {
7567
+ description: string;
7568
+ assignee?: string | null;
7569
+ deadline?: string | null;
7570
+ priority?: string | null;
7571
+ }[];
7572
+ questions: string[];
7573
+ deadlines: {
7574
+ description: string;
7575
+ date?: string | null;
7576
+ sourceText: string;
7577
+ }[];
7578
+ entities: {
7579
+ name: string;
7580
+ entityType: string;
7581
+ value?: string | null;
7582
+ }[];
7583
+ topics: string[];
7584
+ priorityScore: number;
7585
+ spamScore: number;
7586
+ phishingScore: number;
7587
+ requiresResponse: boolean;
7588
+ suggestedResponseBy?: string | null;
7589
+ extractionModel: string;
7590
+ extractionLatencyMs: number;
7591
+ createdAt: string;
7592
+ }[]>;
7593
+ };
7594
+ };
7595
+ folders: {
7596
+ create: (body: In<"boxes_mail_folders_create">["body"]) => Promise<{
7597
+ success: boolean;
7598
+ data: components["schemas"]["Boxes.MailFolder"];
7599
+ }>;
7600
+ list: () => Promise<{
7601
+ success: boolean;
7602
+ data: components["schemas"]["Boxes.MailFolderList"];
7603
+ }>;
7604
+ };
7605
+ governance: {
7606
+ audit: {
7607
+ list: (q?: Omit<In<"boxes_mail_governance_audit_list">, "body">) => Promise<{
7608
+ success: boolean;
7609
+ data: components["schemas"]["Boxes.MailAuditEntry"][];
7610
+ pagination?: components["schemas"]["Boxes.MailPagination"];
7611
+ }>;
7612
+ };
7613
+ };
7614
+ intelligence: {
7615
+ thread: {
7616
+ get: (threadId: In<"boxes_mail_intelligence_thread_get">["thread_id"]) => Promise<{
7617
+ id: string;
7618
+ threadId: string;
7619
+ mailboxId: string;
7620
+ summary: string;
7621
+ sentimentTrajectory: {
7622
+ messageId: string;
7623
+ fromAddress: string;
7624
+ sentiment: string;
7625
+ timestamp: string;
7626
+ }[];
7627
+ currentSentiment: string;
7628
+ recommendedActions: {
7629
+ action: string;
7630
+ reason: string;
7631
+ priority: string;
7632
+ deadline?: string | null;
7633
+ }[];
7634
+ urgencyScore: number;
7635
+ topics: string[];
7636
+ openActionItems: unknown[];
7637
+ unansweredQuestions: unknown[];
7638
+ participantEngagement: {
7639
+ address: string;
7640
+ name?: string | null;
7641
+ messageCount: number;
7642
+ lastMessageAt: string;
7643
+ averageResponseTimeSecs?: number | null;
7644
+ primarySentiments: string[];
7645
+ }[];
7646
+ messageCount: number;
7647
+ lastAnalyzedAt: string;
7648
+ createdAt: string;
7649
+ updatedAt: string;
7650
+ } | null>;
7651
+ };
7652
+ };
7653
+ labels: {
7654
+ create: (body: In<"boxes_mail_labels_create">["body"]) => Promise<{
7655
+ success: boolean;
7656
+ data: components["schemas"]["Boxes.MailLabel"];
7657
+ }>;
7658
+ list: () => Promise<{
7659
+ success: boolean;
7660
+ data: components["schemas"]["Boxes.MailLabelSummary"][];
7661
+ }>;
7662
+ delete: (id: In<"boxes_mail_labels_delete">["id"]) => Promise<void>;
7663
+ };
7664
+ memory: {
7665
+ events: {
7666
+ submit: (body: In<"boxes_mail_memory_events_submit">["body"]) => Promise<{
7667
+ ok: boolean;
7668
+ }>;
7669
+ };
7670
+ recall: (q: Omit<In<"boxes_mail_memory_recall">, "body">) => Promise<Record<string, never>>;
7671
+ search: (q: Omit<In<"boxes_mail_memory_search">, "body">) => Promise<Record<string, never>>;
7672
+ store: (body: In<"boxes_mail_memory_store">["body"]) => Promise<Record<string, never>>;
7673
+ };
7674
+ personas: {
7675
+ list: () => Promise<{
7676
+ id: string;
7677
+ mailboxId: string;
7678
+ granteeId: string;
7679
+ granteeKind: "agent" | "user";
7680
+ role: "owner" | "delegate" | "send_as" | "read_only";
7681
+ grantedBy: string;
7682
+ isActive: boolean;
7683
+ expiresAt?: string | null;
7684
+ createdAt: string;
7685
+ updatedAt: string;
7686
+ }[]>;
7687
+ };
7688
+ templates: {
7689
+ list: () => Promise<{
7690
+ success: boolean;
7691
+ data: components["schemas"]["Boxes.MailTemplate"][];
7692
+ }>;
7693
+ };
7694
+ };
7695
+ files: {
7696
+ list: (q?: Omit<In<"boxes_files_list">, "body">) => Promise<{
7697
+ success: boolean;
7698
+ data: components["schemas"]["Boxes.FilesFile"][];
7699
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7700
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7701
+ }>;
7702
+ search: (q: Omit<In<"boxes_files_search">, "body">) => Promise<{
7703
+ success: boolean;
7704
+ data: components["schemas"]["Boxes.FilesFile"][];
7705
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7706
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7707
+ }>;
7708
+ recent: {
7709
+ list: (q?: Omit<In<"boxes_files_recent_list">, "body">) => Promise<{
7710
+ success: boolean;
7711
+ data: components["schemas"]["Boxes.FilesFile"][];
7712
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7713
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7714
+ }>;
7715
+ };
7716
+ trash: {
7717
+ list: (q?: Omit<In<"boxes_files_trash_list">, "body">) => Promise<{
7718
+ success: boolean;
7719
+ data: components["schemas"]["Boxes.FilesFile"][];
7720
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7721
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7722
+ }>;
7723
+ };
7724
+ sharedWithMe: {
7725
+ list: (q?: Omit<In<"boxes_files_shared_with_me_list">, "body">) => Promise<{
7726
+ success: boolean;
7727
+ data: components["schemas"]["Boxes.FilesFile"][];
7728
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7729
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7730
+ }>;
7731
+ };
7732
+ upload: (body: In<"boxes_files_upload">["body"]) => Promise<{
7733
+ success: boolean;
7734
+ data: components["schemas"]["Boxes.FilesFile"];
7735
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7736
+ }>;
7737
+ folders: {
7738
+ create: (body: In<"boxes_files_folders_create">["body"]) => Promise<{
7739
+ success: boolean;
7740
+ data: components["schemas"]["Boxes.FilesFile"];
7741
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7742
+ }>;
7743
+ };
7744
+ get: (id: In<"boxes_files_get">["id"]) => Promise<{
7745
+ success: boolean;
7746
+ data: components["schemas"]["Boxes.FilesFile"];
7747
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7748
+ }>;
7749
+ update: (id: In<"boxes_files_update">["id"], body: In<"boxes_files_update">["body"]) => Promise<{
7750
+ success: boolean;
7751
+ data: components["schemas"]["Boxes.FilesFile"];
7752
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7753
+ }>;
7754
+ delete: (id: In<"boxes_files_delete">["id"]) => Promise<{
7755
+ success: boolean;
7756
+ data: components["schemas"]["Boxes.FilesFile"];
7757
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7758
+ }>;
7759
+ download: (id: In<"boxes_files_download">["id"]) => Promise<Response>;
7760
+ restore: (id: In<"boxes_files_restore">["id"]) => Promise<{
7761
+ success: boolean;
7762
+ data: components["schemas"]["Boxes.FilesFile"];
7763
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7764
+ }>;
7765
+ purge: (id: In<"boxes_files_purge">["id"]) => Promise<{
7766
+ success: boolean;
7767
+ data: {
7768
+ deleted: boolean;
7769
+ };
7770
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7771
+ }>;
7772
+ share: (id: In<"boxes_files_share">["id"], body: In<"boxes_files_share">["body"]) => Promise<{
7773
+ success: boolean;
7774
+ data: components["schemas"]["Boxes.FilesShare"] | components["schemas"]["Boxes.BoxesDocsFilesShareInvitation"];
7775
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7776
+ }>;
7777
+ shares: {
7778
+ list: (id: In<"boxes_files_shares_list">["id"]) => Promise<{
7779
+ success: boolean;
7780
+ data: components["schemas"]["Boxes.FilesShare"][];
7781
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7782
+ }>;
7783
+ };
7784
+ unshare: (id: In<"boxes_files_unshare">["id"], shareId: In<"boxes_files_unshare">["share_id"]) => Promise<{
7785
+ success: boolean;
7786
+ data: {
7787
+ deleted: boolean;
7788
+ };
7789
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7790
+ }>;
7791
+ };
7792
+ docs: {
7793
+ documents: {
7794
+ list: (q?: Omit<In<"boxes_docs_documents_list">, "body">) => Promise<{
7795
+ success: boolean;
7796
+ data: components["schemas"]["Boxes.DocsDocument"][];
7797
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7798
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7799
+ }>;
7800
+ create: (body: In<"boxes_docs_documents_create">["body"]) => Promise<{
7801
+ success: boolean;
7802
+ data: components["schemas"]["Boxes.DocsDocument"];
7803
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7804
+ }>;
7805
+ get: (id: In<"boxes_docs_documents_get">["id"]) => Promise<{
7806
+ success: boolean;
7807
+ data: components["schemas"]["Boxes.DocsDocument"];
7808
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7809
+ }>;
7810
+ update: (id: In<"boxes_docs_documents_update">["id"], body: In<"boxes_docs_documents_update">["body"]) => Promise<{
7811
+ success: boolean;
7812
+ data: components["schemas"]["Boxes.DocsDocument"];
7813
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7814
+ }>;
7815
+ delete: (id: In<"boxes_docs_documents_delete">["id"]) => Promise<{
7816
+ success: boolean;
7817
+ data: components["schemas"]["Boxes.DocsDocument"];
7818
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7819
+ }>;
7820
+ purge: (id: In<"boxes_docs_documents_purge">["id"]) => Promise<{
7821
+ success: boolean;
7822
+ data: {
7823
+ deleted: boolean;
7824
+ };
7825
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7826
+ }>;
7827
+ versions: {
7828
+ list: (id: In<"boxes_docs_documents_versions_list">["id"], q?: Omit<In<"boxes_docs_documents_versions_list">, "body" | "id">) => Promise<{
7829
+ success: boolean;
7830
+ data: components["schemas"]["Boxes.DocsVersion"][];
7831
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7832
+ }>;
7833
+ };
7834
+ share: (id: In<"boxes_docs_documents_share">["id"], body: In<"boxes_docs_documents_share">["body"]) => Promise<{
7835
+ success: boolean;
7836
+ data: components["schemas"]["Boxes.DocsShare"] | components["schemas"]["Boxes.BoxesDocsFilesShareInvitation"];
7837
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7838
+ }>;
7839
+ shares: {
7840
+ list: (id: In<"boxes_docs_documents_shares_list">["id"]) => Promise<{
7841
+ success: boolean;
7842
+ data: components["schemas"]["Boxes.DocsShare"][];
7843
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7844
+ }>;
7845
+ };
7846
+ unshare: (id: In<"boxes_docs_documents_unshare">["id"], shareId: In<"boxes_docs_documents_unshare">["share_id"]) => Promise<{
7847
+ success: boolean;
7848
+ data: {
7849
+ deleted: boolean;
7850
+ };
7851
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7852
+ }>;
7853
+ collaborators: {
7854
+ list: (id: In<"boxes_docs_documents_collaborators_list">["id"]) => Promise<{
7855
+ success: boolean;
7856
+ data: components["schemas"]["Boxes.DocsCollaborator"][];
7857
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7858
+ }>;
7859
+ };
7860
+ presence: {
7861
+ update: (id: In<"boxes_docs_documents_presence_update">["id"], body: In<"boxes_docs_documents_presence_update">["body"]) => Promise<{
7862
+ success: boolean;
7863
+ data: components["schemas"]["Boxes.DocsCollaborator"];
7864
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7865
+ }>;
7866
+ };
7867
+ operations: {
7868
+ list: (id: In<"boxes_docs_documents_operations_list">["id"], q?: Omit<In<"boxes_docs_documents_operations_list">, "body" | "id">) => Promise<{
7869
+ success: boolean;
7870
+ data: components["schemas"]["Boxes.DocsOperation"][];
7871
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7872
+ }>;
7873
+ apply: (id: In<"boxes_docs_documents_operations_apply">["id"], body: In<"boxes_docs_documents_operations_apply">["body"]) => Promise<{
7874
+ success: boolean;
7875
+ data: components["schemas"]["Boxes.DocsOperation"];
7876
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7877
+ }>;
7878
+ };
7879
+ events: {
7880
+ stream: (id: In<"boxes_docs_documents_events_stream">["id"], q?: Omit<In<"boxes_docs_documents_events_stream">, "body" | "id">) => Promise<Response>;
7881
+ };
7882
+ };
7883
+ folders: {
7884
+ create: (body: In<"boxes_docs_folders_create">["body"]) => Promise<{
7885
+ success: boolean;
7886
+ data: components["schemas"]["Boxes.DocsDocument"];
7887
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7888
+ }>;
7889
+ };
7890
+ search: (q: Omit<In<"boxes_docs_search">, "body">) => Promise<{
7891
+ success: boolean;
7892
+ data: components["schemas"]["Boxes.DocsDocument"][];
7893
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7894
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7895
+ }>;
7896
+ recent: {
7897
+ list: (q?: Omit<In<"boxes_docs_recent_list">, "body">) => Promise<{
7898
+ success: boolean;
7899
+ data: components["schemas"]["Boxes.DocsDocument"][];
7900
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7901
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7902
+ }>;
7903
+ };
7904
+ trash: {
7905
+ list: (q?: Omit<In<"boxes_docs_trash_list">, "body">) => Promise<{
7906
+ success: boolean;
7907
+ data: components["schemas"]["Boxes.DocsDocument"][];
7908
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7909
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7910
+ }>;
7911
+ };
7912
+ templates: {
7913
+ list: (q?: Omit<In<"boxes_docs_templates_list">, "body">) => Promise<{
7914
+ success: boolean;
7915
+ data: components["schemas"]["Boxes.DocsDocument"][];
7916
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7917
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7918
+ }>;
7919
+ };
7920
+ sharedWithMe: {
7921
+ list: (q?: Omit<In<"boxes_docs_shared_with_me_list">, "body">) => Promise<{
7922
+ success: boolean;
7923
+ data: components["schemas"]["Boxes.DocsDocument"][];
7924
+ pagination: components["schemas"]["Boxes.BoxesDocsFilesPagination"];
7925
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7926
+ }>;
7927
+ };
7928
+ mcp: {
7929
+ action: (action: In<"boxes_docs_mcp_action">["action"], body: In<"boxes_docs_mcp_action">["body"]) => Promise<{
7930
+ success: boolean;
7931
+ data: {
7932
+ [key: string]: unknown;
7933
+ } | unknown[];
7934
+ meta?: components["schemas"]["Boxes.BoxesDocsFilesMeta"];
7935
+ }>;
7936
+ };
7937
+ };
7938
+ sheets: {
7939
+ cells: {
7940
+ batch: (id: In<"boxes_sheets_cells_batch">["id"], tabId: In<"boxes_sheets_cells_batch">["tab_id"], body: In<"boxes_sheets_cells_batch">["body"]) => Promise<{
7941
+ success: boolean;
7942
+ data: components["schemas"]["Boxes.SheetsCell"][];
7943
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7944
+ }>;
7945
+ delete: (id: In<"boxes_sheets_cells_delete">["id"], tabId: In<"boxes_sheets_cells_delete">["tab_id"], row: In<"boxes_sheets_cells_delete">["row"], col: In<"boxes_sheets_cells_delete">["col"]) => Promise<{
7946
+ success: boolean;
7947
+ data: components["schemas"]["Boxes.SheetsDeleted"];
7948
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7949
+ }>;
7950
+ get: (id: In<"boxes_sheets_cells_get">["id"], tabId: In<"boxes_sheets_cells_get">["tab_id"], row: In<"boxes_sheets_cells_get">["row"], col: In<"boxes_sheets_cells_get">["col"]) => Promise<{
7951
+ success: boolean;
7952
+ data: components["schemas"]["Boxes.SheetsCell"];
7953
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7954
+ }>;
7955
+ list: (id: In<"boxes_sheets_cells_list">["id"], tabId: In<"boxes_sheets_cells_list">["tab_id"], q?: Omit<In<"boxes_sheets_cells_list">, "body" | "id" | "tab_id">) => Promise<{
7956
+ success: boolean;
7957
+ data: components["schemas"]["Boxes.SheetsCell"][];
7958
+ pagination: components["schemas"]["Boxes.SheetsPagination"];
7959
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7960
+ }>;
7961
+ set: (id: In<"boxes_sheets_cells_set">["id"], tabId: In<"boxes_sheets_cells_set">["tab_id"], body: In<"boxes_sheets_cells_set">["body"]) => Promise<{
7962
+ success: boolean;
7963
+ data: components["schemas"]["Boxes.SheetsCell"];
7964
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7965
+ }>;
7966
+ query: (id: In<"boxes_sheets_cells_query">["id"], tabId: In<"boxes_sheets_cells_query">["tab_id"], q: Omit<In<"boxes_sheets_cells_query">, "body" | "id" | "tab_id">) => Promise<{
7967
+ success: boolean;
7968
+ data: components["schemas"]["Boxes.SheetsCell"][];
7969
+ pagination: components["schemas"]["Boxes.SheetsPagination"];
7970
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7971
+ }>;
7972
+ range: {
7973
+ get: (id: In<"boxes_sheets_cells_range_get">["id"], tabId: In<"boxes_sheets_cells_range_get">["tab_id"], q: Omit<In<"boxes_sheets_cells_range_get">, "body" | "id" | "tab_id">) => Promise<{
7974
+ success: boolean;
7975
+ data: components["schemas"]["Boxes.SheetsCell"][];
7976
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7977
+ }>;
7978
+ };
7979
+ };
7980
+ search: (q: Omit<In<"boxes_sheets_search">, "body">) => Promise<{
7981
+ success: boolean;
7982
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"][];
7983
+ pagination: components["schemas"]["Boxes.SheetsPagination"];
7984
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7985
+ }>;
7986
+ sharedWithMe: {
7987
+ list: (q?: Omit<In<"boxes_sheets_shared_with_me_list">, "body">) => Promise<{
7988
+ success: boolean;
7989
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"][];
7990
+ pagination: components["schemas"]["Boxes.SheetsPagination"];
7991
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7992
+ }>;
7993
+ };
7994
+ spreadsheets: {
7995
+ create: (body: In<"boxes_sheets_spreadsheets_create">["body"]) => Promise<{
7996
+ success: boolean;
7997
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"];
7998
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
7999
+ }>;
8000
+ list: (q?: Omit<In<"boxes_sheets_spreadsheets_list">, "body">) => Promise<{
8001
+ success: boolean;
8002
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"][];
8003
+ pagination: components["schemas"]["Boxes.SheetsPagination"];
8004
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8005
+ }>;
8006
+ delete: (id: In<"boxes_sheets_spreadsheets_delete">["id"]) => Promise<{
8007
+ success: boolean;
8008
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"];
8009
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8010
+ }>;
8011
+ get: (id: In<"boxes_sheets_spreadsheets_get">["id"]) => Promise<{
8012
+ success: boolean;
8013
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"];
8014
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8015
+ }>;
8016
+ update: (id: In<"boxes_sheets_spreadsheets_update">["id"], body: In<"boxes_sheets_spreadsheets_update">["body"]) => Promise<{
8017
+ success: boolean;
8018
+ data: components["schemas"]["Boxes.SheetsSpreadsheet"];
8019
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8020
+ }>;
8021
+ purge: (id: In<"boxes_sheets_spreadsheets_purge">["id"]) => Promise<{
8022
+ success: boolean;
8023
+ data: components["schemas"]["Boxes.SheetsDeleted"];
8024
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8025
+ }>;
8026
+ share: (id: In<"boxes_sheets_spreadsheets_share">["id"], body: In<"boxes_sheets_spreadsheets_share">["body"]) => Promise<{
8027
+ success: boolean;
8028
+ data: components["schemas"]["Boxes.SheetsShare"] | components["schemas"]["Boxes.SheetsShareInvitation"];
8029
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8030
+ }>;
8031
+ shares: {
8032
+ list: (id: In<"boxes_sheets_spreadsheets_shares_list">["id"]) => Promise<{
8033
+ success: boolean;
8034
+ data: components["schemas"]["Boxes.SheetsShare"][];
8035
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8036
+ }>;
8037
+ };
8038
+ unshare: (id: In<"boxes_sheets_spreadsheets_unshare">["id"], shareId: In<"boxes_sheets_spreadsheets_unshare">["share_id"]) => Promise<{
8039
+ success: boolean;
8040
+ data: components["schemas"]["Boxes.SheetsDeleted"];
8041
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8042
+ }>;
8043
+ };
8044
+ tabs: {
8045
+ create: (id: In<"boxes_sheets_tabs_create">["id"], body: In<"boxes_sheets_tabs_create">["body"]) => Promise<{
8046
+ success: boolean;
8047
+ data: components["schemas"]["Boxes.SheetsTab"];
8048
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8049
+ }>;
8050
+ list: (id: In<"boxes_sheets_tabs_list">["id"]) => Promise<{
8051
+ success: boolean;
8052
+ data: components["schemas"]["Boxes.SheetsTab"][];
8053
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8054
+ }>;
8055
+ delete: (id: In<"boxes_sheets_tabs_delete">["id"], tabId: In<"boxes_sheets_tabs_delete">["tab_id"]) => Promise<{
8056
+ success: boolean;
8057
+ data: components["schemas"]["Boxes.SheetsDeleted"];
8058
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8059
+ }>;
8060
+ get: (id: In<"boxes_sheets_tabs_get">["id"], tabId: In<"boxes_sheets_tabs_get">["tab_id"]) => Promise<{
8061
+ success: boolean;
8062
+ data: components["schemas"]["Boxes.SheetsTab"];
8063
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8064
+ }>;
8065
+ update: (id: In<"boxes_sheets_tabs_update">["id"], tabId: In<"boxes_sheets_tabs_update">["tab_id"], body: In<"boxes_sheets_tabs_update">["body"]) => Promise<{
8066
+ success: boolean;
8067
+ data: components["schemas"]["Boxes.SheetsTab"];
8068
+ meta?: components["schemas"]["Boxes.SheetsMeta"];
8069
+ }>;
8070
+ };
8071
+ };
8072
+ slides: {
8073
+ presentations: {
8074
+ create: (body: In<"boxes_slides_presentations_create">["body"]) => Promise<{
8075
+ success: boolean;
8076
+ data: components["schemas"]["Boxes.SlidesPresentation"];
8077
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8078
+ }>;
8079
+ list: (q?: Omit<In<"boxes_slides_presentations_list">, "body">) => Promise<{
8080
+ success: boolean;
8081
+ data: components["schemas"]["Boxes.SlidesPresentation"][];
8082
+ pagination: components["schemas"]["Boxes.SlidesPagination"];
8083
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8084
+ }>;
8085
+ delete: (id: In<"boxes_slides_presentations_delete">["id"]) => Promise<void>;
8086
+ get: (id: In<"boxes_slides_presentations_get">["id"]) => Promise<{
8087
+ success: boolean;
8088
+ data: components["schemas"]["Boxes.SlidesPresentation"];
8089
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8090
+ }>;
8091
+ update: (id: In<"boxes_slides_presentations_update">["id"], body: In<"boxes_slides_presentations_update">["body"]) => Promise<{
8092
+ success: boolean;
8093
+ data: components["schemas"]["Boxes.SlidesPresentation"];
8094
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8095
+ }>;
8096
+ share: (id: In<"boxes_slides_presentations_share">["id"], body: In<"boxes_slides_presentations_share">["body"]) => Promise<{
8097
+ success: boolean;
8098
+ data: components["schemas"]["Boxes.SlidesShare"] | components["schemas"]["Boxes.SlidesShareInvitation"];
8099
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8100
+ }>;
8101
+ sharedWithMe: {
8102
+ list: (q?: Omit<In<"boxes_slides_presentations_shared_with_me_list">, "body">) => Promise<{
8103
+ success: boolean;
8104
+ data: components["schemas"]["Boxes.SlidesPresentation"][];
8105
+ pagination: components["schemas"]["Boxes.SlidesPagination"];
8106
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8107
+ }>;
8108
+ };
8109
+ shares: {
8110
+ list: (id: In<"boxes_slides_presentations_shares_list">["id"]) => Promise<{
8111
+ success: boolean;
8112
+ data: components["schemas"]["Boxes.SlidesShare"][];
8113
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8114
+ }>;
8115
+ };
8116
+ unshare: (id: In<"boxes_slides_presentations_unshare">["id"], shareId: In<"boxes_slides_presentations_unshare">["share_id"]) => Promise<{
8117
+ success: boolean;
8118
+ data: components["schemas"]["Boxes.SlidesDeleted"];
8119
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8120
+ }>;
8121
+ };
8122
+ slides: {
8123
+ create: (presentationId: In<"boxes_slides_slides_create">["presentation_id"], body: In<"boxes_slides_slides_create">["body"]) => Promise<{
8124
+ success: boolean;
8125
+ data: components["schemas"]["Boxes.SlidesSlide"];
8126
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8127
+ }>;
8128
+ list: (presentationId: In<"boxes_slides_slides_list">["presentation_id"]) => Promise<{
8129
+ success: boolean;
8130
+ data: components["schemas"]["Boxes.SlidesSlide"][];
8131
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8132
+ }>;
8133
+ delete: (presentationId: In<"boxes_slides_slides_delete">["presentation_id"], slideId: In<"boxes_slides_slides_delete">["slide_id"]) => Promise<void>;
8134
+ get: (presentationId: In<"boxes_slides_slides_get">["presentation_id"], slideId: In<"boxes_slides_slides_get">["slide_id"]) => Promise<{
8135
+ success: boolean;
8136
+ data: components["schemas"]["Boxes.SlidesSlide"];
8137
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8138
+ }>;
8139
+ update: (presentationId: In<"boxes_slides_slides_update">["presentation_id"], slideId: In<"boxes_slides_slides_update">["slide_id"], body: In<"boxes_slides_slides_update">["body"]) => Promise<{
8140
+ success: boolean;
8141
+ data: components["schemas"]["Boxes.SlidesSlide"];
8142
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8143
+ }>;
8144
+ reorder: (presentationId: In<"boxes_slides_slides_reorder">["presentation_id"], slideId: In<"boxes_slides_slides_reorder">["slide_id"], body: In<"boxes_slides_slides_reorder">["body"]) => Promise<{
8145
+ success: boolean;
8146
+ data: components["schemas"]["Boxes.SlidesSlide"];
8147
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8148
+ }>;
8149
+ };
8150
+ templates: {
8151
+ create: (body: In<"boxes_slides_templates_create">["body"]) => Promise<{
8152
+ success: boolean;
8153
+ data: components["schemas"]["Boxes.SlidesTemplate"];
8154
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8155
+ }>;
8156
+ list: (q?: Omit<In<"boxes_slides_templates_list">, "body">) => Promise<{
8157
+ success: boolean;
8158
+ data: components["schemas"]["Boxes.SlidesTemplate"][];
8159
+ pagination: components["schemas"]["Boxes.SlidesPagination"];
8160
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8161
+ }>;
8162
+ delete: (id: In<"boxes_slides_templates_delete">["id"]) => Promise<void>;
8163
+ get: (id: In<"boxes_slides_templates_get">["id"]) => Promise<{
8164
+ success: boolean;
8165
+ data: components["schemas"]["Boxes.SlidesTemplate"];
8166
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8167
+ }>;
8168
+ update: (id: In<"boxes_slides_templates_update">["id"], body: In<"boxes_slides_templates_update">["body"]) => Promise<{
8169
+ success: boolean;
8170
+ data: components["schemas"]["Boxes.SlidesTemplate"];
8171
+ meta?: components["schemas"]["Boxes.SlidesMeta"];
8172
+ }>;
8173
+ };
8174
+ };
8175
+ calendar: {
8176
+ availability: {
8177
+ get: (q: Omit<In<"boxes_calendar_availability_get">, "body">) => Promise<{
8178
+ success: boolean;
8179
+ data: components["schemas"]["Boxes.CalendarAvailability"];
8180
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8181
+ }>;
8182
+ };
8183
+ calendars: {
8184
+ create: (body: In<"boxes_calendar_calendars_create">["body"]) => Promise<{
8185
+ success: boolean;
8186
+ data: components["schemas"]["Boxes.CalendarCalendar"];
8187
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8188
+ }>;
8189
+ list: () => Promise<{
8190
+ success: boolean;
8191
+ data: components["schemas"]["Boxes.CalendarCalendar"][];
8192
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8193
+ }>;
8194
+ delete: (id: In<"boxes_calendar_calendars_delete">["id"]) => Promise<{
8195
+ success: boolean;
8196
+ data: components["schemas"]["Boxes.CalendarDeleted"];
8197
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8198
+ }>;
8199
+ get: (id: In<"boxes_calendar_calendars_get">["id"]) => Promise<{
8200
+ success: boolean;
8201
+ data: components["schemas"]["Boxes.CalendarCalendar"];
8202
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8203
+ }>;
8204
+ update: (id: In<"boxes_calendar_calendars_update">["id"], body: In<"boxes_calendar_calendars_update">["body"]) => Promise<{
8205
+ success: boolean;
8206
+ data: components["schemas"]["Boxes.CalendarCalendar"];
8207
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8208
+ }>;
8209
+ };
8210
+ events: {
8211
+ attendees: {
8212
+ list: (id: In<"boxes_calendar_events_attendees_list">["id"]) => Promise<{
8213
+ success: boolean;
8214
+ data: components["schemas"]["Boxes.CalendarAttendee"][];
8215
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8216
+ }>;
8217
+ };
8218
+ create: (body: In<"boxes_calendar_events_create">["body"]) => Promise<{
8219
+ success: boolean;
8220
+ data: components["schemas"]["Boxes.CalendarEvent"];
8221
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8222
+ }>;
8223
+ list: (q?: Omit<In<"boxes_calendar_events_list">, "body">) => Promise<{
8224
+ success: boolean;
8225
+ data: components["schemas"]["Boxes.CalendarEvent"][];
8226
+ pagination: components["schemas"]["Boxes.CalendarPagination"];
8227
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8228
+ }>;
8229
+ delete: (id: In<"boxes_calendar_events_delete">["id"]) => Promise<{
8230
+ success: boolean;
8231
+ data: components["schemas"]["Boxes.CalendarDeleted"];
8232
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8233
+ }>;
8234
+ get: (id: In<"boxes_calendar_events_get">["id"]) => Promise<{
8235
+ success: boolean;
8236
+ data: components["schemas"]["Boxes.CalendarEvent"];
8237
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8238
+ }>;
8239
+ update: (id: In<"boxes_calendar_events_update">["id"], body: In<"boxes_calendar_events_update">["body"]) => Promise<{
8240
+ success: boolean;
8241
+ data: components["schemas"]["Boxes.CalendarEvent"];
8242
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8243
+ }>;
8244
+ rsvp: (id: In<"boxes_calendar_events_rsvp">["id"], body: In<"boxes_calendar_events_rsvp">["body"]) => Promise<{
8245
+ success: boolean;
8246
+ data: components["schemas"]["Boxes.CalendarAttendee"];
8247
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8248
+ }>;
8249
+ search: (q: Omit<In<"boxes_calendar_events_search">, "body">) => Promise<{
8250
+ success: boolean;
8251
+ data: components["schemas"]["Boxes.CalendarEvent"][];
8252
+ pagination: components["schemas"]["Boxes.CalendarPagination"];
8253
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8254
+ }>;
8255
+ };
8256
+ schedulingLinks: {
8257
+ book: (id: In<"boxes_calendar_scheduling_links_book">["id"], body: In<"boxes_calendar_scheduling_links_book">["body"]) => Promise<{
8258
+ success: boolean;
8259
+ data: components["schemas"]["Boxes.CalendarEvent"];
8260
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8261
+ }>;
8262
+ bySlug: {
8263
+ get: (slug: In<"boxes_calendar_scheduling_links_by_slug_get">["slug"]) => Promise<{
8264
+ success: boolean;
8265
+ data: components["schemas"]["Boxes.CalendarSchedulingLink"];
8266
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8267
+ }>;
8268
+ };
8269
+ create: (body: In<"boxes_calendar_scheduling_links_create">["body"]) => Promise<{
8270
+ success: boolean;
8271
+ data: components["schemas"]["Boxes.CalendarSchedulingLink"];
8272
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8273
+ }>;
8274
+ list: () => Promise<{
8275
+ success: boolean;
8276
+ data: components["schemas"]["Boxes.CalendarSchedulingLink"][];
8277
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8278
+ }>;
8279
+ delete: (id: In<"boxes_calendar_scheduling_links_delete">["id"]) => Promise<{
8280
+ success: boolean;
8281
+ data: components["schemas"]["Boxes.CalendarDeleted"];
8282
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8283
+ }>;
8284
+ get: (id: In<"boxes_calendar_scheduling_links_get">["id"]) => Promise<{
8285
+ success: boolean;
8286
+ data: components["schemas"]["Boxes.CalendarSchedulingLink"];
8287
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8288
+ }>;
8289
+ update: (id: In<"boxes_calendar_scheduling_links_update">["id"], body: In<"boxes_calendar_scheduling_links_update">["body"]) => Promise<{
8290
+ success: boolean;
8291
+ data: components["schemas"]["Boxes.CalendarSchedulingLink"];
8292
+ meta?: components["schemas"]["Boxes.CalendarMeta"];
8293
+ }>;
8294
+ };
8295
+ };
8296
+ identity: {
8297
+ me: {
8298
+ get: () => Promise<{
8299
+ success: boolean;
8300
+ data: components["schemas"]["Boxes.IdentityUser"];
8301
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8302
+ }>;
8303
+ };
8304
+ tenants: {
8305
+ current: {
8306
+ get: () => Promise<{
8307
+ success: boolean;
8308
+ data: components["schemas"]["Boxes.IdentityTenant"];
8309
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8310
+ }>;
8311
+ };
8312
+ };
8313
+ users: {
8314
+ get: (id: In<"boxes_identity_users_get">["id"]) => Promise<{
8315
+ success: boolean;
8316
+ data: components["schemas"]["Boxes.IdentityUser"];
8317
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8318
+ }>;
8319
+ list: (q?: Omit<In<"boxes_identity_users_list">, "body">) => Promise<{
8320
+ success: boolean;
8321
+ data: components["schemas"]["Boxes.IdentityUser"][];
8322
+ pagination: components["schemas"]["Boxes.IdentityPagination"];
8323
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8324
+ }>;
8325
+ };
8326
+ workspaces: {
8327
+ list: (q?: Omit<In<"boxes_identity_workspaces_list">, "body">) => Promise<{
8328
+ success: boolean;
8329
+ data: components["schemas"]["Boxes.IdentityWorkspace"][];
8330
+ pagination: components["schemas"]["Boxes.IdentityPagination"];
8331
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8332
+ }>;
8333
+ get: (id: In<"boxes_identity_workspaces_get">["id"]) => Promise<{
8334
+ success: boolean;
8335
+ data: components["schemas"]["Boxes.IdentityWorkspace"];
8336
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8337
+ }>;
8338
+ members: {
8339
+ list: (id: In<"boxes_identity_workspaces_members_list">["id"]) => Promise<{
8340
+ success: boolean;
8341
+ data: components["schemas"]["Boxes.IdentityWorkspaceMember"][];
8342
+ meta?: components["schemas"]["Boxes.IdentityMeta"];
8343
+ }>;
8344
+ };
8345
+ };
8346
+ };
8347
+ mcp: {
8348
+ sessions: {
8349
+ context: {
8350
+ set: (sessionId: In<"boxes_mcp_sessions_context_set">["session_id"], body: In<"boxes_mcp_sessions_context_set">["body"]) => Promise<{
8351
+ id: string;
8352
+ agentId: string;
8353
+ tenantId: string;
8354
+ agentDid: string | null;
8355
+ context: unknown;
8356
+ createdAt: string;
8357
+ lastActiveAt: string;
8358
+ ttlSeconds: number;
8359
+ }>;
8360
+ };
8361
+ create: (body: In<"boxes_mcp_sessions_create">["body"]) => Promise<{
8362
+ id: string;
8363
+ agentId: string;
8364
+ tenantId: string;
8365
+ agentDid: string | null;
8366
+ context: unknown;
8367
+ createdAt: string;
8368
+ lastActiveAt: string;
8369
+ ttlSeconds: number;
8370
+ }>;
8371
+ list: () => Promise<{
8372
+ id: string;
8373
+ agentId: string;
8374
+ tenantId: string;
8375
+ agentDid: string | null;
8376
+ context: unknown;
8377
+ createdAt: string;
8378
+ lastActiveAt: string;
8379
+ ttlSeconds: number;
8380
+ }[]>;
8381
+ delete: (sessionId: In<"boxes_mcp_sessions_delete">["session_id"]) => Promise<{
8382
+ deleted: boolean;
8383
+ sessionId: string;
8384
+ }>;
8385
+ get: (sessionId: In<"boxes_mcp_sessions_get">["session_id"]) => Promise<{
8386
+ id: string;
8387
+ agentId: string;
8388
+ tenantId: string;
8389
+ agentDid: string | null;
8390
+ context: unknown;
8391
+ createdAt: string;
8392
+ lastActiveAt: string;
8393
+ ttlSeconds: number;
8394
+ }>;
8395
+ };
8396
+ tools: {
8397
+ call: (body: In<"boxes_mcp_tools_call">["body"]) => Promise<{
8398
+ tool: string;
8399
+ success: boolean;
8400
+ result?: unknown;
8401
+ error?: {
8402
+ code: string;
8403
+ message: string;
8404
+ };
8405
+ usage: {
8406
+ durationMs: number;
8407
+ tokensUsed?: number | null;
8408
+ };
8409
+ }>;
8410
+ list: () => Promise<{
8411
+ tools: components["schemas"]["Boxes.McpToolDefinition"][];
8412
+ total: number;
8413
+ protocolVersion: string;
8414
+ serverInfo: {
8415
+ name: string;
8416
+ version: string;
8417
+ };
8418
+ }>;
8419
+ };
8420
+ };
8421
+ };
7287
8422
  readonly foundry: {
7288
8423
  billing: {
7289
8424
  profile: (options?: {
@@ -7568,6 +8703,10 @@ export declare class Genesis extends GenesisClient {
7568
8703
  verificationKey: () => Promise<{
7569
8704
  [key: string]: unknown;
7570
8705
  }>;
8706
+ verificationKeys: () => Promise<{
8707
+ current: components["schemas"]["Foundry.ReceiptVerificationKey"];
8708
+ retired: components["schemas"]["Foundry.ReceiptVerificationKey"][];
8709
+ }>;
7571
8710
  };
7572
8711
  keys: {
7573
8712
  list: () => Promise<{
@@ -8215,15 +9354,19 @@ export declare class Genesis extends GenesisClient {
8215
9354
  continuation_token?: string;
8216
9355
  max_keys?: number;
8217
9356
  }, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesObjectList>;
8218
- put(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesResourceOptions & {
9357
+ put(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
8219
9358
  content_type?: string;
8220
9359
  }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
8221
9360
  remove: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
8222
9361
  download: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<Response>;
8223
- putFlat(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesResourceOptions & {
8224
- content_type?: string;
9362
+ putFlat(project: string, id: string, key: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
9363
+ content_type? /** Rename within the selected project; 409 when the name is taken. */: string;
8225
9364
  }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
8226
9365
  removeFlat: (project: string, id: string, key: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
9366
+ putDownload(project: string, id: string, bytes: Blob | ArrayBuffer | ArrayBufferView, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions & {
9367
+ content_type?: string;
9368
+ }): Promise<import("./hives-cells.js").HivesObjectAcknowledgement>;
9369
+ removeDownload: (project: string, id: string, options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<void>;
8227
9370
  };
8228
9371
  presign(project: string, id: string, body: import("./hives-cells.js").HivesPresign, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-cells.js").HivesPresignedUrl>;
8229
9372
  };
@@ -8311,7 +9454,7 @@ export declare class Genesis extends GenesisClient {
8311
9454
  deleted: true;
8312
9455
  }>;
8313
9456
  };
8314
- publish(project: string, id: string, body: import("./hives-topics.js").HivesTopicPublish, options?: import("./hives-resources-transport.js").HivesResourceOptions): Promise<import("./hives-topics.js").HivesTopicPublication>;
9457
+ publish(project: string, id: string, body: import("./hives-topics.js").HivesTopicPublish, options?: import("./hives-resources-transport.js").HivesFundedWriteOptions): Promise<import("./hives-topics.js").HivesTopicPublication>;
8315
9458
  };
8316
9459
  runtimes: {
8317
9460
  list: (options?: import("./hives-resources-transport.js").HivesResourceOptions) => Promise<{