@arbidocs/client 0.4.106 → 0.4.108
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/index.d.cts +580 -4
- package/dist/index.d.ts +580 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6650,6 +6650,150 @@ interface paths {
|
|
|
6650
6650
|
patch?: never;
|
|
6651
6651
|
trace?: never;
|
|
6652
6652
|
};
|
|
6653
|
+
'/v1/mail/drafts/editor': {
|
|
6654
|
+
parameters: {
|
|
6655
|
+
query?: never;
|
|
6656
|
+
header?: never;
|
|
6657
|
+
path?: never;
|
|
6658
|
+
cookie?: never;
|
|
6659
|
+
};
|
|
6660
|
+
get?: never;
|
|
6661
|
+
put?: never;
|
|
6662
|
+
/**
|
|
6663
|
+
* Open Draft Editor
|
|
6664
|
+
* @description The Word editor on a draft's body (see ``src.core.native_mail.rooms``). A locked room answers 423 with its
|
|
6665
|
+
* ``sealed_key``: the browser unwraps it, seals it to the session and calls again with ``key``.
|
|
6666
|
+
*/
|
|
6667
|
+
post: operations['open_draft_editor_v1_mail_drafts_editor_post'];
|
|
6668
|
+
delete?: never;
|
|
6669
|
+
options?: never;
|
|
6670
|
+
head?: never;
|
|
6671
|
+
patch?: never;
|
|
6672
|
+
trace?: never;
|
|
6673
|
+
};
|
|
6674
|
+
'/v1/mail/drafts/editor/projects': {
|
|
6675
|
+
parameters: {
|
|
6676
|
+
query?: never;
|
|
6677
|
+
header?: never;
|
|
6678
|
+
path?: never;
|
|
6679
|
+
cookie?: never;
|
|
6680
|
+
};
|
|
6681
|
+
/**
|
|
6682
|
+
* Draft Editor Projects
|
|
6683
|
+
* @description The projects an email's AI work can be billed to: the person's own first, then each matter (the project of a
|
|
6684
|
+
* workspace they own or collaborate in).
|
|
6685
|
+
*/
|
|
6686
|
+
get: operations['draft_editor_projects_v1_mail_drafts_editor_projects_get'];
|
|
6687
|
+
put?: never;
|
|
6688
|
+
post?: never;
|
|
6689
|
+
delete?: never;
|
|
6690
|
+
options?: never;
|
|
6691
|
+
head?: never;
|
|
6692
|
+
patch?: never;
|
|
6693
|
+
trace?: never;
|
|
6694
|
+
};
|
|
6695
|
+
'/v1/mail/drafts/editor/{room_id}/project': {
|
|
6696
|
+
parameters: {
|
|
6697
|
+
query?: never;
|
|
6698
|
+
header?: never;
|
|
6699
|
+
path?: never;
|
|
6700
|
+
cookie?: never;
|
|
6701
|
+
};
|
|
6702
|
+
get?: never;
|
|
6703
|
+
/**
|
|
6704
|
+
* Set Draft Editor Project
|
|
6705
|
+
* @description Bill this draft's AI work to another project the person may bill (None: their own).
|
|
6706
|
+
*/
|
|
6707
|
+
put: operations['set_draft_editor_project_v1_mail_drafts_editor__room_id__project_put'];
|
|
6708
|
+
post?: never;
|
|
6709
|
+
delete?: never;
|
|
6710
|
+
options?: never;
|
|
6711
|
+
head?: never;
|
|
6712
|
+
patch?: never;
|
|
6713
|
+
trace?: never;
|
|
6714
|
+
};
|
|
6715
|
+
'/v1/mail/drafts/editor/{room_id}/body': {
|
|
6716
|
+
parameters: {
|
|
6717
|
+
query?: never;
|
|
6718
|
+
header?: never;
|
|
6719
|
+
path?: never;
|
|
6720
|
+
cookie?: never;
|
|
6721
|
+
};
|
|
6722
|
+
get?: never;
|
|
6723
|
+
put?: never;
|
|
6724
|
+
/**
|
|
6725
|
+
* Draft Editor Body
|
|
6726
|
+
* @description The editor's body as text and HTML, for a client that builds the message itself (secure delivery
|
|
6727
|
+
* encrypts it in the browser). ``final`` refuses (409) while suggestions wait.
|
|
6728
|
+
*/
|
|
6729
|
+
post: operations['draft_editor_body_v1_mail_drafts_editor__room_id__body_post'];
|
|
6730
|
+
delete?: never;
|
|
6731
|
+
options?: never;
|
|
6732
|
+
head?: never;
|
|
6733
|
+
patch?: never;
|
|
6734
|
+
trace?: never;
|
|
6735
|
+
};
|
|
6736
|
+
'/v1/mail/drafts/editor/{room_id}/save': {
|
|
6737
|
+
parameters: {
|
|
6738
|
+
query?: never;
|
|
6739
|
+
header?: never;
|
|
6740
|
+
path?: never;
|
|
6741
|
+
cookie?: never;
|
|
6742
|
+
};
|
|
6743
|
+
get?: never;
|
|
6744
|
+
put?: never;
|
|
6745
|
+
/**
|
|
6746
|
+
* Save Draft Editor
|
|
6747
|
+
* @description Save the editor's body as the draft. Suggestions still waiting in the editor stay out of it.
|
|
6748
|
+
*/
|
|
6749
|
+
post: operations['save_draft_editor_v1_mail_drafts_editor__room_id__save_post'];
|
|
6750
|
+
delete?: never;
|
|
6751
|
+
options?: never;
|
|
6752
|
+
head?: never;
|
|
6753
|
+
patch?: never;
|
|
6754
|
+
trace?: never;
|
|
6755
|
+
};
|
|
6756
|
+
'/v1/mail/drafts/editor/{room_id}/send': {
|
|
6757
|
+
parameters: {
|
|
6758
|
+
query?: never;
|
|
6759
|
+
header?: never;
|
|
6760
|
+
path?: never;
|
|
6761
|
+
cookie?: never;
|
|
6762
|
+
};
|
|
6763
|
+
get?: never;
|
|
6764
|
+
put?: never;
|
|
6765
|
+
/**
|
|
6766
|
+
* Send Draft Editor
|
|
6767
|
+
* @description Send the editor's body. Refused (409) while suggestions wait: a suggestion is never sent unreviewed.
|
|
6768
|
+
*/
|
|
6769
|
+
post: operations['send_draft_editor_v1_mail_drafts_editor__room_id__send_post'];
|
|
6770
|
+
delete?: never;
|
|
6771
|
+
options?: never;
|
|
6772
|
+
head?: never;
|
|
6773
|
+
patch?: never;
|
|
6774
|
+
trace?: never;
|
|
6775
|
+
};
|
|
6776
|
+
'/v1/workspace/house-template/candidates': {
|
|
6777
|
+
parameters: {
|
|
6778
|
+
query?: never;
|
|
6779
|
+
header?: never;
|
|
6780
|
+
path?: never;
|
|
6781
|
+
cookie?: never;
|
|
6782
|
+
};
|
|
6783
|
+
/**
|
|
6784
|
+
* List House Template Candidates
|
|
6785
|
+
* @description Documents the active workspace may use as its house template: live, shared Word documents of the workspace
|
|
6786
|
+
* and of the deployment's public workspaces (no membership there needed), names decrypted. Read-only.
|
|
6787
|
+
*/
|
|
6788
|
+
get: operations['list_house_template_candidates'];
|
|
6789
|
+
put?: never;
|
|
6790
|
+
post?: never;
|
|
6791
|
+
delete?: never;
|
|
6792
|
+
options?: never;
|
|
6793
|
+
head?: never;
|
|
6794
|
+
patch?: never;
|
|
6795
|
+
trace?: never;
|
|
6796
|
+
};
|
|
6653
6797
|
}
|
|
6654
6798
|
type webhooks = Record<string, never>;
|
|
6655
6799
|
interface components {
|
|
@@ -13824,6 +13968,8 @@ interface components {
|
|
|
13824
13968
|
delivery_status?: ('sent' | 'delivered' | 'delayed' | 'partially_bounced' | 'bounced') | null;
|
|
13825
13969
|
/** Delivery */
|
|
13826
13970
|
delivery?: components['schemas']['MailDeliveryRecipient'][];
|
|
13971
|
+
/** Folder */
|
|
13972
|
+
folder?: string | null;
|
|
13827
13973
|
};
|
|
13828
13974
|
/** MailMessagePage */
|
|
13829
13975
|
MailMessagePage: {
|
|
@@ -14157,7 +14303,7 @@ interface components {
|
|
|
14157
14303
|
input: string;
|
|
14158
14304
|
/** Tools */
|
|
14159
14305
|
tools?: {
|
|
14160
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14306
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14161
14307
|
};
|
|
14162
14308
|
/**
|
|
14163
14309
|
* Workspace Ext Id
|
|
@@ -14246,7 +14392,7 @@ interface components {
|
|
|
14246
14392
|
content: string;
|
|
14247
14393
|
/** Tools */
|
|
14248
14394
|
tools?: {
|
|
14249
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14395
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14250
14396
|
};
|
|
14251
14397
|
/** Config Ext Id */
|
|
14252
14398
|
config_ext_id?: string | null;
|
|
@@ -14356,7 +14502,7 @@ interface components {
|
|
|
14356
14502
|
content: string;
|
|
14357
14503
|
/** Tools */
|
|
14358
14504
|
tools?: {
|
|
14359
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14505
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14360
14506
|
};
|
|
14361
14507
|
/** Config Ext Id */
|
|
14362
14508
|
config_ext_id?: string | null;
|
|
@@ -17445,6 +17591,7 @@ interface components {
|
|
|
17445
17591
|
detail_create_artifact?: components['schemas']['CreateArtifactDetail'] | null;
|
|
17446
17592
|
detail_ask_user?: components['schemas']['AskUserDetail'] | null;
|
|
17447
17593
|
detail_goal_progress?: components['schemas']['GoalProgressDetail'] | null;
|
|
17594
|
+
mail_draft?: components['schemas']['MailDraftSSEEvent'] | null;
|
|
17448
17595
|
};
|
|
17449
17596
|
/**
|
|
17450
17597
|
* SSOConfigResponse
|
|
@@ -20089,7 +20236,7 @@ interface components {
|
|
|
20089
20236
|
content: string;
|
|
20090
20237
|
/** Tools */
|
|
20091
20238
|
tools?: {
|
|
20092
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
20239
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
20093
20240
|
};
|
|
20094
20241
|
/** Config Ext Id */
|
|
20095
20242
|
config_ext_id?: string | null;
|
|
@@ -20619,6 +20766,7 @@ interface components {
|
|
|
20619
20766
|
notification?: components['schemas']['NotificationResponse'] | null;
|
|
20620
20767
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
20621
20768
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
20769
|
+
mail_draft_replaced?: components['schemas']['MailDraftReplacedMessage'] | null;
|
|
20622
20770
|
};
|
|
20623
20771
|
/** WeeklyHours */
|
|
20624
20772
|
WeeklyHours: {
|
|
@@ -21149,6 +21297,221 @@ interface components {
|
|
|
21149
21297
|
* @enum {string}
|
|
21150
21298
|
*/
|
|
21151
21299
|
src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
|
|
21300
|
+
/**
|
|
21301
|
+
* MailDraftReplacedMessage
|
|
21302
|
+
* @description A native mail draft was saved again and now has a new id: a composer showing ``old_id`` follows it.
|
|
21303
|
+
*/
|
|
21304
|
+
MailDraftReplacedMessage: {
|
|
21305
|
+
/**
|
|
21306
|
+
* Type
|
|
21307
|
+
* @default mail.draft_replaced
|
|
21308
|
+
* @constant
|
|
21309
|
+
*/
|
|
21310
|
+
type: 'mail.draft_replaced';
|
|
21311
|
+
/** Old Id */
|
|
21312
|
+
old_id: string;
|
|
21313
|
+
/** New Id */
|
|
21314
|
+
new_id: string;
|
|
21315
|
+
};
|
|
21316
|
+
/**
|
|
21317
|
+
* MailDraftSSEEvent
|
|
21318
|
+
* @description The agent saved an email draft in the person's own mailbox (a reply it drafted, or recipients it changed).
|
|
21319
|
+
*
|
|
21320
|
+
* The frontend opens the draft beside the chat, in the mail panel, where its body is a Word document: later turns
|
|
21321
|
+
* edit it there as tracked changes. ``replaces`` is the draft this one replaced (a draft's id changes when saved).
|
|
21322
|
+
*
|
|
21323
|
+
* Example:
|
|
21324
|
+
* {"type": "arbi.mail_draft", "draft_id": "4f0c…", "replaces": null, "message_ext_id": "msg-abc12345"}
|
|
21325
|
+
*/
|
|
21326
|
+
MailDraftSSEEvent: {
|
|
21327
|
+
/**
|
|
21328
|
+
* T
|
|
21329
|
+
* @description Seconds elapsed since stream start.
|
|
21330
|
+
*/
|
|
21331
|
+
t?: number | null;
|
|
21332
|
+
/**
|
|
21333
|
+
* Type
|
|
21334
|
+
* @default arbi.mail_draft
|
|
21335
|
+
* @constant
|
|
21336
|
+
*/
|
|
21337
|
+
type: 'arbi.mail_draft';
|
|
21338
|
+
/**
|
|
21339
|
+
* Draft Id
|
|
21340
|
+
* @description The draft's id in the native mailbox (eml-…)
|
|
21341
|
+
*/
|
|
21342
|
+
draft_id?: string | null;
|
|
21343
|
+
/**
|
|
21344
|
+
* Replaces
|
|
21345
|
+
* @description The draft this one replaced, if any
|
|
21346
|
+
*/
|
|
21347
|
+
replaces?: string | null;
|
|
21348
|
+
/**
|
|
21349
|
+
* Message Ext Id
|
|
21350
|
+
* @description The assistant message that saved it
|
|
21351
|
+
*/
|
|
21352
|
+
message_ext_id?: string | null;
|
|
21353
|
+
/**
|
|
21354
|
+
* Reply To
|
|
21355
|
+
* @description The email this draft answers (eml-…), if any
|
|
21356
|
+
*/
|
|
21357
|
+
reply_to?: string | null;
|
|
21358
|
+
/**
|
|
21359
|
+
* Room Id
|
|
21360
|
+
* @description The new reply's Word body room (mail_…), not yet a draft
|
|
21361
|
+
*/
|
|
21362
|
+
room_id?: string | null;
|
|
21363
|
+
};
|
|
21364
|
+
/**
|
|
21365
|
+
* MailProject
|
|
21366
|
+
* @description A project an email's AI work can be billed to: the person's own, or a matter they own or collaborate in.
|
|
21367
|
+
*/
|
|
21368
|
+
MailProject: {
|
|
21369
|
+
/** External Id */
|
|
21370
|
+
external_id: string;
|
|
21371
|
+
/** Name */
|
|
21372
|
+
name: string;
|
|
21373
|
+
/**
|
|
21374
|
+
* Personal
|
|
21375
|
+
* @default false
|
|
21376
|
+
*/
|
|
21377
|
+
personal: boolean;
|
|
21378
|
+
};
|
|
21379
|
+
/**
|
|
21380
|
+
* MailRoomBody
|
|
21381
|
+
* @description The editor's body as the message's parts: ``final`` refuses while suggestions wait (to send it).
|
|
21382
|
+
*/
|
|
21383
|
+
MailRoomBody: {
|
|
21384
|
+
/** State */
|
|
21385
|
+
state?: string | null;
|
|
21386
|
+
/**
|
|
21387
|
+
* Final
|
|
21388
|
+
* @default true
|
|
21389
|
+
*/
|
|
21390
|
+
final: boolean;
|
|
21391
|
+
};
|
|
21392
|
+
/** MailRoomBodyRead */
|
|
21393
|
+
MailRoomBodyRead: {
|
|
21394
|
+
/** Text */
|
|
21395
|
+
text: string;
|
|
21396
|
+
/** Html */
|
|
21397
|
+
html: string;
|
|
21398
|
+
};
|
|
21399
|
+
/**
|
|
21400
|
+
* MailRoomOpen
|
|
21401
|
+
* @description Open a draft's body in the Word editor (``draft_id``), or a new message's (none). ``room_id`` reopens a room
|
|
21402
|
+
* this person already has (a reconnect, or a new message not saved yet, which has no draft id).
|
|
21403
|
+
*/
|
|
21404
|
+
MailRoomOpen: {
|
|
21405
|
+
/** Draft Id */
|
|
21406
|
+
draft_id?: string | null;
|
|
21407
|
+
/** Room Id */
|
|
21408
|
+
room_id?: string | null;
|
|
21409
|
+
/** Key */
|
|
21410
|
+
key?: string | null;
|
|
21411
|
+
/**
|
|
21412
|
+
* Text
|
|
21413
|
+
* @default
|
|
21414
|
+
*/
|
|
21415
|
+
text: string;
|
|
21416
|
+
/** Html */
|
|
21417
|
+
html?: string | null;
|
|
21418
|
+
/** Workspace Ext Id */
|
|
21419
|
+
workspace_ext_id?: string | null;
|
|
21420
|
+
};
|
|
21421
|
+
/**
|
|
21422
|
+
* MailRoomProject
|
|
21423
|
+
* @description Bill this draft's AI work to ``project_ext_id`` (None: the person's own project).
|
|
21424
|
+
*/
|
|
21425
|
+
MailRoomProject: {
|
|
21426
|
+
/** Project Ext Id */
|
|
21427
|
+
project_ext_id?: string | null;
|
|
21428
|
+
/** Key */
|
|
21429
|
+
key?: string | null;
|
|
21430
|
+
};
|
|
21431
|
+
/**
|
|
21432
|
+
* MailRoomSave
|
|
21433
|
+
* @description Save the editor's body as the draft: ``compose`` carries everything but the body (text and HTML come from the
|
|
21434
|
+
* room); ``state`` is the browser's editor state the export must include.
|
|
21435
|
+
*/
|
|
21436
|
+
MailRoomSave: {
|
|
21437
|
+
compose: components['schemas']['MailCompose'];
|
|
21438
|
+
/** State */
|
|
21439
|
+
state?: string | null;
|
|
21440
|
+
};
|
|
21441
|
+
/** MailRoomSend */
|
|
21442
|
+
MailRoomSend: {
|
|
21443
|
+
compose: components['schemas']['MailSend'];
|
|
21444
|
+
/** State */
|
|
21445
|
+
state?: string | null;
|
|
21446
|
+
};
|
|
21447
|
+
/**
|
|
21448
|
+
* MailRoomSession
|
|
21449
|
+
* @description A collaboration session on a draft's body, as the editor's document session (``/v1/editor/{id}/session``).
|
|
21450
|
+
*/
|
|
21451
|
+
MailRoomSession: {
|
|
21452
|
+
/** Room Id */
|
|
21453
|
+
room_id: string;
|
|
21454
|
+
/** Token */
|
|
21455
|
+
token: string;
|
|
21456
|
+
/** Expires In */
|
|
21457
|
+
expires_in: number;
|
|
21458
|
+
/** Websocket Path */
|
|
21459
|
+
websocket_path: string;
|
|
21460
|
+
/** Can Edit */
|
|
21461
|
+
can_edit: boolean;
|
|
21462
|
+
/** Identity */
|
|
21463
|
+
identity: {
|
|
21464
|
+
[key: string]: unknown;
|
|
21465
|
+
};
|
|
21466
|
+
/** Filename */
|
|
21467
|
+
filename: string;
|
|
21468
|
+
/** Draft Id */
|
|
21469
|
+
draft_id?: string | null;
|
|
21470
|
+
project?: components['schemas']['MailProject'] | null;
|
|
21471
|
+
};
|
|
21472
|
+
/** MailContextTool */
|
|
21473
|
+
MailContextTool: {
|
|
21474
|
+
/**
|
|
21475
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21476
|
+
* @enum {string}
|
|
21477
|
+
*/
|
|
21478
|
+
name: 'mail_context';
|
|
21479
|
+
/**
|
|
21480
|
+
* Description
|
|
21481
|
+
* @default email in this turn's context
|
|
21482
|
+
*/
|
|
21483
|
+
description: string;
|
|
21484
|
+
tool_args: components['schemas']['MailContextToolArgs'];
|
|
21485
|
+
};
|
|
21486
|
+
/**
|
|
21487
|
+
* MailContextToolArgs
|
|
21488
|
+
* @description The email a turn is about — sibling of ``RetrievalFullContextToolArgs.doc_ext_ids``: a pointer (plaintext,
|
|
21489
|
+
* like a document id); the email itself stays encrypted in the person's mailbox.
|
|
21490
|
+
*/
|
|
21491
|
+
MailContextToolArgs: {
|
|
21492
|
+
/** Mail Ext Id */
|
|
21493
|
+
mail_ext_id: string;
|
|
21494
|
+
/**
|
|
21495
|
+
* Reply
|
|
21496
|
+
* @default false
|
|
21497
|
+
*/
|
|
21498
|
+
reply: boolean;
|
|
21499
|
+
};
|
|
21500
|
+
/**
|
|
21501
|
+
* HouseTemplateCandidate
|
|
21502
|
+
* @description A document the active workspace may use as its house template (``GET /v1/workspace/house-template/candidates``):
|
|
21503
|
+
* a live, shared Word document of the workspace itself or of a public workspace of the deployment.
|
|
21504
|
+
*/
|
|
21505
|
+
HouseTemplateCandidate: {
|
|
21506
|
+
/** Doc Ext Id */
|
|
21507
|
+
doc_ext_id: string;
|
|
21508
|
+
/** Workspace Ext Id */
|
|
21509
|
+
workspace_ext_id: string;
|
|
21510
|
+
/** Workspace Name */
|
|
21511
|
+
workspace_name: string;
|
|
21512
|
+
/** File Name */
|
|
21513
|
+
file_name: string;
|
|
21514
|
+
};
|
|
21152
21515
|
};
|
|
21153
21516
|
responses: never;
|
|
21154
21517
|
parameters: never;
|
|
@@ -32271,6 +32634,219 @@ interface operations {
|
|
|
32271
32634
|
};
|
|
32272
32635
|
};
|
|
32273
32636
|
};
|
|
32637
|
+
open_draft_editor_v1_mail_drafts_editor_post: {
|
|
32638
|
+
parameters: {
|
|
32639
|
+
query?: never;
|
|
32640
|
+
header?: never;
|
|
32641
|
+
path?: never;
|
|
32642
|
+
cookie?: never;
|
|
32643
|
+
};
|
|
32644
|
+
requestBody: {
|
|
32645
|
+
content: {
|
|
32646
|
+
'application/json': components['schemas']['MailRoomOpen'];
|
|
32647
|
+
};
|
|
32648
|
+
};
|
|
32649
|
+
responses: {
|
|
32650
|
+
/** @description Successful Response */
|
|
32651
|
+
200: {
|
|
32652
|
+
headers: {
|
|
32653
|
+
[name: string]: unknown;
|
|
32654
|
+
};
|
|
32655
|
+
content: {
|
|
32656
|
+
'application/json': components['schemas']['MailRoomSession'];
|
|
32657
|
+
};
|
|
32658
|
+
};
|
|
32659
|
+
/** @description Validation Error */
|
|
32660
|
+
422: {
|
|
32661
|
+
headers: {
|
|
32662
|
+
[name: string]: unknown;
|
|
32663
|
+
};
|
|
32664
|
+
content: {
|
|
32665
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32666
|
+
};
|
|
32667
|
+
};
|
|
32668
|
+
};
|
|
32669
|
+
};
|
|
32670
|
+
draft_editor_projects_v1_mail_drafts_editor_projects_get: {
|
|
32671
|
+
parameters: {
|
|
32672
|
+
query?: never;
|
|
32673
|
+
header?: never;
|
|
32674
|
+
path?: never;
|
|
32675
|
+
cookie?: never;
|
|
32676
|
+
};
|
|
32677
|
+
requestBody?: never;
|
|
32678
|
+
responses: {
|
|
32679
|
+
/** @description Successful Response */
|
|
32680
|
+
200: {
|
|
32681
|
+
headers: {
|
|
32682
|
+
[name: string]: unknown;
|
|
32683
|
+
};
|
|
32684
|
+
content: {
|
|
32685
|
+
'application/json': components['schemas']['MailProject'][];
|
|
32686
|
+
};
|
|
32687
|
+
};
|
|
32688
|
+
};
|
|
32689
|
+
};
|
|
32690
|
+
set_draft_editor_project_v1_mail_drafts_editor__room_id__project_put: {
|
|
32691
|
+
parameters: {
|
|
32692
|
+
query?: never;
|
|
32693
|
+
header?: never;
|
|
32694
|
+
path: {
|
|
32695
|
+
room_id: string;
|
|
32696
|
+
};
|
|
32697
|
+
cookie?: never;
|
|
32698
|
+
};
|
|
32699
|
+
requestBody: {
|
|
32700
|
+
content: {
|
|
32701
|
+
'application/json': components['schemas']['MailRoomProject'];
|
|
32702
|
+
};
|
|
32703
|
+
};
|
|
32704
|
+
responses: {
|
|
32705
|
+
/** @description Successful Response */
|
|
32706
|
+
200: {
|
|
32707
|
+
headers: {
|
|
32708
|
+
[name: string]: unknown;
|
|
32709
|
+
};
|
|
32710
|
+
content: {
|
|
32711
|
+
'application/json': components['schemas']['MailProject'];
|
|
32712
|
+
};
|
|
32713
|
+
};
|
|
32714
|
+
/** @description Validation Error */
|
|
32715
|
+
422: {
|
|
32716
|
+
headers: {
|
|
32717
|
+
[name: string]: unknown;
|
|
32718
|
+
};
|
|
32719
|
+
content: {
|
|
32720
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32721
|
+
};
|
|
32722
|
+
};
|
|
32723
|
+
};
|
|
32724
|
+
};
|
|
32725
|
+
draft_editor_body_v1_mail_drafts_editor__room_id__body_post: {
|
|
32726
|
+
parameters: {
|
|
32727
|
+
query?: never;
|
|
32728
|
+
header?: never;
|
|
32729
|
+
path: {
|
|
32730
|
+
room_id: string;
|
|
32731
|
+
};
|
|
32732
|
+
cookie?: never;
|
|
32733
|
+
};
|
|
32734
|
+
requestBody: {
|
|
32735
|
+
content: {
|
|
32736
|
+
'application/json': components['schemas']['MailRoomBody'];
|
|
32737
|
+
};
|
|
32738
|
+
};
|
|
32739
|
+
responses: {
|
|
32740
|
+
/** @description Successful Response */
|
|
32741
|
+
200: {
|
|
32742
|
+
headers: {
|
|
32743
|
+
[name: string]: unknown;
|
|
32744
|
+
};
|
|
32745
|
+
content: {
|
|
32746
|
+
'application/json': components['schemas']['MailRoomBodyRead'];
|
|
32747
|
+
};
|
|
32748
|
+
};
|
|
32749
|
+
/** @description Validation Error */
|
|
32750
|
+
422: {
|
|
32751
|
+
headers: {
|
|
32752
|
+
[name: string]: unknown;
|
|
32753
|
+
};
|
|
32754
|
+
content: {
|
|
32755
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32756
|
+
};
|
|
32757
|
+
};
|
|
32758
|
+
};
|
|
32759
|
+
};
|
|
32760
|
+
save_draft_editor_v1_mail_drafts_editor__room_id__save_post: {
|
|
32761
|
+
parameters: {
|
|
32762
|
+
query?: never;
|
|
32763
|
+
header?: never;
|
|
32764
|
+
path: {
|
|
32765
|
+
room_id: string;
|
|
32766
|
+
};
|
|
32767
|
+
cookie?: never;
|
|
32768
|
+
};
|
|
32769
|
+
requestBody: {
|
|
32770
|
+
content: {
|
|
32771
|
+
'application/json': components['schemas']['MailRoomSave'];
|
|
32772
|
+
};
|
|
32773
|
+
};
|
|
32774
|
+
responses: {
|
|
32775
|
+
/** @description Successful Response */
|
|
32776
|
+
200: {
|
|
32777
|
+
headers: {
|
|
32778
|
+
[name: string]: unknown;
|
|
32779
|
+
};
|
|
32780
|
+
content: {
|
|
32781
|
+
'application/json': components['schemas']['MailDraftSaved'];
|
|
32782
|
+
};
|
|
32783
|
+
};
|
|
32784
|
+
/** @description Validation Error */
|
|
32785
|
+
422: {
|
|
32786
|
+
headers: {
|
|
32787
|
+
[name: string]: unknown;
|
|
32788
|
+
};
|
|
32789
|
+
content: {
|
|
32790
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32791
|
+
};
|
|
32792
|
+
};
|
|
32793
|
+
};
|
|
32794
|
+
};
|
|
32795
|
+
send_draft_editor_v1_mail_drafts_editor__room_id__send_post: {
|
|
32796
|
+
parameters: {
|
|
32797
|
+
query?: never;
|
|
32798
|
+
header?: never;
|
|
32799
|
+
path: {
|
|
32800
|
+
room_id: string;
|
|
32801
|
+
};
|
|
32802
|
+
cookie?: never;
|
|
32803
|
+
};
|
|
32804
|
+
requestBody: {
|
|
32805
|
+
content: {
|
|
32806
|
+
'application/json': components['schemas']['MailRoomSend'];
|
|
32807
|
+
};
|
|
32808
|
+
};
|
|
32809
|
+
responses: {
|
|
32810
|
+
/** @description Successful Response */
|
|
32811
|
+
200: {
|
|
32812
|
+
headers: {
|
|
32813
|
+
[name: string]: unknown;
|
|
32814
|
+
};
|
|
32815
|
+
content: {
|
|
32816
|
+
'application/json': components['schemas']['MailSendResult'];
|
|
32817
|
+
};
|
|
32818
|
+
};
|
|
32819
|
+
/** @description Validation Error */
|
|
32820
|
+
422: {
|
|
32821
|
+
headers: {
|
|
32822
|
+
[name: string]: unknown;
|
|
32823
|
+
};
|
|
32824
|
+
content: {
|
|
32825
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32826
|
+
};
|
|
32827
|
+
};
|
|
32828
|
+
};
|
|
32829
|
+
};
|
|
32830
|
+
list_house_template_candidates: {
|
|
32831
|
+
parameters: {
|
|
32832
|
+
query?: never;
|
|
32833
|
+
header?: never;
|
|
32834
|
+
path?: never;
|
|
32835
|
+
cookie?: never;
|
|
32836
|
+
};
|
|
32837
|
+
requestBody?: never;
|
|
32838
|
+
responses: {
|
|
32839
|
+
/** @description Successful Response */
|
|
32840
|
+
200: {
|
|
32841
|
+
headers: {
|
|
32842
|
+
[name: string]: unknown;
|
|
32843
|
+
};
|
|
32844
|
+
content: {
|
|
32845
|
+
'application/json': components['schemas']['HouseTemplateCandidate'][];
|
|
32846
|
+
};
|
|
32847
|
+
};
|
|
32848
|
+
};
|
|
32849
|
+
};
|
|
32274
32850
|
}
|
|
32275
32851
|
|
|
32276
32852
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -6650,6 +6650,150 @@ interface paths {
|
|
|
6650
6650
|
patch?: never;
|
|
6651
6651
|
trace?: never;
|
|
6652
6652
|
};
|
|
6653
|
+
'/v1/mail/drafts/editor': {
|
|
6654
|
+
parameters: {
|
|
6655
|
+
query?: never;
|
|
6656
|
+
header?: never;
|
|
6657
|
+
path?: never;
|
|
6658
|
+
cookie?: never;
|
|
6659
|
+
};
|
|
6660
|
+
get?: never;
|
|
6661
|
+
put?: never;
|
|
6662
|
+
/**
|
|
6663
|
+
* Open Draft Editor
|
|
6664
|
+
* @description The Word editor on a draft's body (see ``src.core.native_mail.rooms``). A locked room answers 423 with its
|
|
6665
|
+
* ``sealed_key``: the browser unwraps it, seals it to the session and calls again with ``key``.
|
|
6666
|
+
*/
|
|
6667
|
+
post: operations['open_draft_editor_v1_mail_drafts_editor_post'];
|
|
6668
|
+
delete?: never;
|
|
6669
|
+
options?: never;
|
|
6670
|
+
head?: never;
|
|
6671
|
+
patch?: never;
|
|
6672
|
+
trace?: never;
|
|
6673
|
+
};
|
|
6674
|
+
'/v1/mail/drafts/editor/projects': {
|
|
6675
|
+
parameters: {
|
|
6676
|
+
query?: never;
|
|
6677
|
+
header?: never;
|
|
6678
|
+
path?: never;
|
|
6679
|
+
cookie?: never;
|
|
6680
|
+
};
|
|
6681
|
+
/**
|
|
6682
|
+
* Draft Editor Projects
|
|
6683
|
+
* @description The projects an email's AI work can be billed to: the person's own first, then each matter (the project of a
|
|
6684
|
+
* workspace they own or collaborate in).
|
|
6685
|
+
*/
|
|
6686
|
+
get: operations['draft_editor_projects_v1_mail_drafts_editor_projects_get'];
|
|
6687
|
+
put?: never;
|
|
6688
|
+
post?: never;
|
|
6689
|
+
delete?: never;
|
|
6690
|
+
options?: never;
|
|
6691
|
+
head?: never;
|
|
6692
|
+
patch?: never;
|
|
6693
|
+
trace?: never;
|
|
6694
|
+
};
|
|
6695
|
+
'/v1/mail/drafts/editor/{room_id}/project': {
|
|
6696
|
+
parameters: {
|
|
6697
|
+
query?: never;
|
|
6698
|
+
header?: never;
|
|
6699
|
+
path?: never;
|
|
6700
|
+
cookie?: never;
|
|
6701
|
+
};
|
|
6702
|
+
get?: never;
|
|
6703
|
+
/**
|
|
6704
|
+
* Set Draft Editor Project
|
|
6705
|
+
* @description Bill this draft's AI work to another project the person may bill (None: their own).
|
|
6706
|
+
*/
|
|
6707
|
+
put: operations['set_draft_editor_project_v1_mail_drafts_editor__room_id__project_put'];
|
|
6708
|
+
post?: never;
|
|
6709
|
+
delete?: never;
|
|
6710
|
+
options?: never;
|
|
6711
|
+
head?: never;
|
|
6712
|
+
patch?: never;
|
|
6713
|
+
trace?: never;
|
|
6714
|
+
};
|
|
6715
|
+
'/v1/mail/drafts/editor/{room_id}/body': {
|
|
6716
|
+
parameters: {
|
|
6717
|
+
query?: never;
|
|
6718
|
+
header?: never;
|
|
6719
|
+
path?: never;
|
|
6720
|
+
cookie?: never;
|
|
6721
|
+
};
|
|
6722
|
+
get?: never;
|
|
6723
|
+
put?: never;
|
|
6724
|
+
/**
|
|
6725
|
+
* Draft Editor Body
|
|
6726
|
+
* @description The editor's body as text and HTML, for a client that builds the message itself (secure delivery
|
|
6727
|
+
* encrypts it in the browser). ``final`` refuses (409) while suggestions wait.
|
|
6728
|
+
*/
|
|
6729
|
+
post: operations['draft_editor_body_v1_mail_drafts_editor__room_id__body_post'];
|
|
6730
|
+
delete?: never;
|
|
6731
|
+
options?: never;
|
|
6732
|
+
head?: never;
|
|
6733
|
+
patch?: never;
|
|
6734
|
+
trace?: never;
|
|
6735
|
+
};
|
|
6736
|
+
'/v1/mail/drafts/editor/{room_id}/save': {
|
|
6737
|
+
parameters: {
|
|
6738
|
+
query?: never;
|
|
6739
|
+
header?: never;
|
|
6740
|
+
path?: never;
|
|
6741
|
+
cookie?: never;
|
|
6742
|
+
};
|
|
6743
|
+
get?: never;
|
|
6744
|
+
put?: never;
|
|
6745
|
+
/**
|
|
6746
|
+
* Save Draft Editor
|
|
6747
|
+
* @description Save the editor's body as the draft. Suggestions still waiting in the editor stay out of it.
|
|
6748
|
+
*/
|
|
6749
|
+
post: operations['save_draft_editor_v1_mail_drafts_editor__room_id__save_post'];
|
|
6750
|
+
delete?: never;
|
|
6751
|
+
options?: never;
|
|
6752
|
+
head?: never;
|
|
6753
|
+
patch?: never;
|
|
6754
|
+
trace?: never;
|
|
6755
|
+
};
|
|
6756
|
+
'/v1/mail/drafts/editor/{room_id}/send': {
|
|
6757
|
+
parameters: {
|
|
6758
|
+
query?: never;
|
|
6759
|
+
header?: never;
|
|
6760
|
+
path?: never;
|
|
6761
|
+
cookie?: never;
|
|
6762
|
+
};
|
|
6763
|
+
get?: never;
|
|
6764
|
+
put?: never;
|
|
6765
|
+
/**
|
|
6766
|
+
* Send Draft Editor
|
|
6767
|
+
* @description Send the editor's body. Refused (409) while suggestions wait: a suggestion is never sent unreviewed.
|
|
6768
|
+
*/
|
|
6769
|
+
post: operations['send_draft_editor_v1_mail_drafts_editor__room_id__send_post'];
|
|
6770
|
+
delete?: never;
|
|
6771
|
+
options?: never;
|
|
6772
|
+
head?: never;
|
|
6773
|
+
patch?: never;
|
|
6774
|
+
trace?: never;
|
|
6775
|
+
};
|
|
6776
|
+
'/v1/workspace/house-template/candidates': {
|
|
6777
|
+
parameters: {
|
|
6778
|
+
query?: never;
|
|
6779
|
+
header?: never;
|
|
6780
|
+
path?: never;
|
|
6781
|
+
cookie?: never;
|
|
6782
|
+
};
|
|
6783
|
+
/**
|
|
6784
|
+
* List House Template Candidates
|
|
6785
|
+
* @description Documents the active workspace may use as its house template: live, shared Word documents of the workspace
|
|
6786
|
+
* and of the deployment's public workspaces (no membership there needed), names decrypted. Read-only.
|
|
6787
|
+
*/
|
|
6788
|
+
get: operations['list_house_template_candidates'];
|
|
6789
|
+
put?: never;
|
|
6790
|
+
post?: never;
|
|
6791
|
+
delete?: never;
|
|
6792
|
+
options?: never;
|
|
6793
|
+
head?: never;
|
|
6794
|
+
patch?: never;
|
|
6795
|
+
trace?: never;
|
|
6796
|
+
};
|
|
6653
6797
|
}
|
|
6654
6798
|
type webhooks = Record<string, never>;
|
|
6655
6799
|
interface components {
|
|
@@ -13824,6 +13968,8 @@ interface components {
|
|
|
13824
13968
|
delivery_status?: ('sent' | 'delivered' | 'delayed' | 'partially_bounced' | 'bounced') | null;
|
|
13825
13969
|
/** Delivery */
|
|
13826
13970
|
delivery?: components['schemas']['MailDeliveryRecipient'][];
|
|
13971
|
+
/** Folder */
|
|
13972
|
+
folder?: string | null;
|
|
13827
13973
|
};
|
|
13828
13974
|
/** MailMessagePage */
|
|
13829
13975
|
MailMessagePage: {
|
|
@@ -14157,7 +14303,7 @@ interface components {
|
|
|
14157
14303
|
input: string;
|
|
14158
14304
|
/** Tools */
|
|
14159
14305
|
tools?: {
|
|
14160
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14306
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14161
14307
|
};
|
|
14162
14308
|
/**
|
|
14163
14309
|
* Workspace Ext Id
|
|
@@ -14246,7 +14392,7 @@ interface components {
|
|
|
14246
14392
|
content: string;
|
|
14247
14393
|
/** Tools */
|
|
14248
14394
|
tools?: {
|
|
14249
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14395
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14250
14396
|
};
|
|
14251
14397
|
/** Config Ext Id */
|
|
14252
14398
|
config_ext_id?: string | null;
|
|
@@ -14356,7 +14502,7 @@ interface components {
|
|
|
14356
14502
|
content: string;
|
|
14357
14503
|
/** Tools */
|
|
14358
14504
|
tools?: {
|
|
14359
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
14505
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
14360
14506
|
};
|
|
14361
14507
|
/** Config Ext Id */
|
|
14362
14508
|
config_ext_id?: string | null;
|
|
@@ -17445,6 +17591,7 @@ interface components {
|
|
|
17445
17591
|
detail_create_artifact?: components['schemas']['CreateArtifactDetail'] | null;
|
|
17446
17592
|
detail_ask_user?: components['schemas']['AskUserDetail'] | null;
|
|
17447
17593
|
detail_goal_progress?: components['schemas']['GoalProgressDetail'] | null;
|
|
17594
|
+
mail_draft?: components['schemas']['MailDraftSSEEvent'] | null;
|
|
17448
17595
|
};
|
|
17449
17596
|
/**
|
|
17450
17597
|
* SSOConfigResponse
|
|
@@ -20089,7 +20236,7 @@ interface components {
|
|
|
20089
20236
|
content: string;
|
|
20090
20237
|
/** Tools */
|
|
20091
20238
|
tools?: {
|
|
20092
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'];
|
|
20239
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['FactsContextTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'] | components['schemas']['WorkflowStepTool'] | components['schemas']['MailContextTool'];
|
|
20093
20240
|
};
|
|
20094
20241
|
/** Config Ext Id */
|
|
20095
20242
|
config_ext_id?: string | null;
|
|
@@ -20619,6 +20766,7 @@ interface components {
|
|
|
20619
20766
|
notification?: components['schemas']['NotificationResponse'] | null;
|
|
20620
20767
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
20621
20768
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
20769
|
+
mail_draft_replaced?: components['schemas']['MailDraftReplacedMessage'] | null;
|
|
20622
20770
|
};
|
|
20623
20771
|
/** WeeklyHours */
|
|
20624
20772
|
WeeklyHours: {
|
|
@@ -21149,6 +21297,221 @@ interface components {
|
|
|
21149
21297
|
* @enum {string}
|
|
21150
21298
|
*/
|
|
21151
21299
|
src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
|
|
21300
|
+
/**
|
|
21301
|
+
* MailDraftReplacedMessage
|
|
21302
|
+
* @description A native mail draft was saved again and now has a new id: a composer showing ``old_id`` follows it.
|
|
21303
|
+
*/
|
|
21304
|
+
MailDraftReplacedMessage: {
|
|
21305
|
+
/**
|
|
21306
|
+
* Type
|
|
21307
|
+
* @default mail.draft_replaced
|
|
21308
|
+
* @constant
|
|
21309
|
+
*/
|
|
21310
|
+
type: 'mail.draft_replaced';
|
|
21311
|
+
/** Old Id */
|
|
21312
|
+
old_id: string;
|
|
21313
|
+
/** New Id */
|
|
21314
|
+
new_id: string;
|
|
21315
|
+
};
|
|
21316
|
+
/**
|
|
21317
|
+
* MailDraftSSEEvent
|
|
21318
|
+
* @description The agent saved an email draft in the person's own mailbox (a reply it drafted, or recipients it changed).
|
|
21319
|
+
*
|
|
21320
|
+
* The frontend opens the draft beside the chat, in the mail panel, where its body is a Word document: later turns
|
|
21321
|
+
* edit it there as tracked changes. ``replaces`` is the draft this one replaced (a draft's id changes when saved).
|
|
21322
|
+
*
|
|
21323
|
+
* Example:
|
|
21324
|
+
* {"type": "arbi.mail_draft", "draft_id": "4f0c…", "replaces": null, "message_ext_id": "msg-abc12345"}
|
|
21325
|
+
*/
|
|
21326
|
+
MailDraftSSEEvent: {
|
|
21327
|
+
/**
|
|
21328
|
+
* T
|
|
21329
|
+
* @description Seconds elapsed since stream start.
|
|
21330
|
+
*/
|
|
21331
|
+
t?: number | null;
|
|
21332
|
+
/**
|
|
21333
|
+
* Type
|
|
21334
|
+
* @default arbi.mail_draft
|
|
21335
|
+
* @constant
|
|
21336
|
+
*/
|
|
21337
|
+
type: 'arbi.mail_draft';
|
|
21338
|
+
/**
|
|
21339
|
+
* Draft Id
|
|
21340
|
+
* @description The draft's id in the native mailbox (eml-…)
|
|
21341
|
+
*/
|
|
21342
|
+
draft_id?: string | null;
|
|
21343
|
+
/**
|
|
21344
|
+
* Replaces
|
|
21345
|
+
* @description The draft this one replaced, if any
|
|
21346
|
+
*/
|
|
21347
|
+
replaces?: string | null;
|
|
21348
|
+
/**
|
|
21349
|
+
* Message Ext Id
|
|
21350
|
+
* @description The assistant message that saved it
|
|
21351
|
+
*/
|
|
21352
|
+
message_ext_id?: string | null;
|
|
21353
|
+
/**
|
|
21354
|
+
* Reply To
|
|
21355
|
+
* @description The email this draft answers (eml-…), if any
|
|
21356
|
+
*/
|
|
21357
|
+
reply_to?: string | null;
|
|
21358
|
+
/**
|
|
21359
|
+
* Room Id
|
|
21360
|
+
* @description The new reply's Word body room (mail_…), not yet a draft
|
|
21361
|
+
*/
|
|
21362
|
+
room_id?: string | null;
|
|
21363
|
+
};
|
|
21364
|
+
/**
|
|
21365
|
+
* MailProject
|
|
21366
|
+
* @description A project an email's AI work can be billed to: the person's own, or a matter they own or collaborate in.
|
|
21367
|
+
*/
|
|
21368
|
+
MailProject: {
|
|
21369
|
+
/** External Id */
|
|
21370
|
+
external_id: string;
|
|
21371
|
+
/** Name */
|
|
21372
|
+
name: string;
|
|
21373
|
+
/**
|
|
21374
|
+
* Personal
|
|
21375
|
+
* @default false
|
|
21376
|
+
*/
|
|
21377
|
+
personal: boolean;
|
|
21378
|
+
};
|
|
21379
|
+
/**
|
|
21380
|
+
* MailRoomBody
|
|
21381
|
+
* @description The editor's body as the message's parts: ``final`` refuses while suggestions wait (to send it).
|
|
21382
|
+
*/
|
|
21383
|
+
MailRoomBody: {
|
|
21384
|
+
/** State */
|
|
21385
|
+
state?: string | null;
|
|
21386
|
+
/**
|
|
21387
|
+
* Final
|
|
21388
|
+
* @default true
|
|
21389
|
+
*/
|
|
21390
|
+
final: boolean;
|
|
21391
|
+
};
|
|
21392
|
+
/** MailRoomBodyRead */
|
|
21393
|
+
MailRoomBodyRead: {
|
|
21394
|
+
/** Text */
|
|
21395
|
+
text: string;
|
|
21396
|
+
/** Html */
|
|
21397
|
+
html: string;
|
|
21398
|
+
};
|
|
21399
|
+
/**
|
|
21400
|
+
* MailRoomOpen
|
|
21401
|
+
* @description Open a draft's body in the Word editor (``draft_id``), or a new message's (none). ``room_id`` reopens a room
|
|
21402
|
+
* this person already has (a reconnect, or a new message not saved yet, which has no draft id).
|
|
21403
|
+
*/
|
|
21404
|
+
MailRoomOpen: {
|
|
21405
|
+
/** Draft Id */
|
|
21406
|
+
draft_id?: string | null;
|
|
21407
|
+
/** Room Id */
|
|
21408
|
+
room_id?: string | null;
|
|
21409
|
+
/** Key */
|
|
21410
|
+
key?: string | null;
|
|
21411
|
+
/**
|
|
21412
|
+
* Text
|
|
21413
|
+
* @default
|
|
21414
|
+
*/
|
|
21415
|
+
text: string;
|
|
21416
|
+
/** Html */
|
|
21417
|
+
html?: string | null;
|
|
21418
|
+
/** Workspace Ext Id */
|
|
21419
|
+
workspace_ext_id?: string | null;
|
|
21420
|
+
};
|
|
21421
|
+
/**
|
|
21422
|
+
* MailRoomProject
|
|
21423
|
+
* @description Bill this draft's AI work to ``project_ext_id`` (None: the person's own project).
|
|
21424
|
+
*/
|
|
21425
|
+
MailRoomProject: {
|
|
21426
|
+
/** Project Ext Id */
|
|
21427
|
+
project_ext_id?: string | null;
|
|
21428
|
+
/** Key */
|
|
21429
|
+
key?: string | null;
|
|
21430
|
+
};
|
|
21431
|
+
/**
|
|
21432
|
+
* MailRoomSave
|
|
21433
|
+
* @description Save the editor's body as the draft: ``compose`` carries everything but the body (text and HTML come from the
|
|
21434
|
+
* room); ``state`` is the browser's editor state the export must include.
|
|
21435
|
+
*/
|
|
21436
|
+
MailRoomSave: {
|
|
21437
|
+
compose: components['schemas']['MailCompose'];
|
|
21438
|
+
/** State */
|
|
21439
|
+
state?: string | null;
|
|
21440
|
+
};
|
|
21441
|
+
/** MailRoomSend */
|
|
21442
|
+
MailRoomSend: {
|
|
21443
|
+
compose: components['schemas']['MailSend'];
|
|
21444
|
+
/** State */
|
|
21445
|
+
state?: string | null;
|
|
21446
|
+
};
|
|
21447
|
+
/**
|
|
21448
|
+
* MailRoomSession
|
|
21449
|
+
* @description A collaboration session on a draft's body, as the editor's document session (``/v1/editor/{id}/session``).
|
|
21450
|
+
*/
|
|
21451
|
+
MailRoomSession: {
|
|
21452
|
+
/** Room Id */
|
|
21453
|
+
room_id: string;
|
|
21454
|
+
/** Token */
|
|
21455
|
+
token: string;
|
|
21456
|
+
/** Expires In */
|
|
21457
|
+
expires_in: number;
|
|
21458
|
+
/** Websocket Path */
|
|
21459
|
+
websocket_path: string;
|
|
21460
|
+
/** Can Edit */
|
|
21461
|
+
can_edit: boolean;
|
|
21462
|
+
/** Identity */
|
|
21463
|
+
identity: {
|
|
21464
|
+
[key: string]: unknown;
|
|
21465
|
+
};
|
|
21466
|
+
/** Filename */
|
|
21467
|
+
filename: string;
|
|
21468
|
+
/** Draft Id */
|
|
21469
|
+
draft_id?: string | null;
|
|
21470
|
+
project?: components['schemas']['MailProject'] | null;
|
|
21471
|
+
};
|
|
21472
|
+
/** MailContextTool */
|
|
21473
|
+
MailContextTool: {
|
|
21474
|
+
/**
|
|
21475
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21476
|
+
* @enum {string}
|
|
21477
|
+
*/
|
|
21478
|
+
name: 'mail_context';
|
|
21479
|
+
/**
|
|
21480
|
+
* Description
|
|
21481
|
+
* @default email in this turn's context
|
|
21482
|
+
*/
|
|
21483
|
+
description: string;
|
|
21484
|
+
tool_args: components['schemas']['MailContextToolArgs'];
|
|
21485
|
+
};
|
|
21486
|
+
/**
|
|
21487
|
+
* MailContextToolArgs
|
|
21488
|
+
* @description The email a turn is about — sibling of ``RetrievalFullContextToolArgs.doc_ext_ids``: a pointer (plaintext,
|
|
21489
|
+
* like a document id); the email itself stays encrypted in the person's mailbox.
|
|
21490
|
+
*/
|
|
21491
|
+
MailContextToolArgs: {
|
|
21492
|
+
/** Mail Ext Id */
|
|
21493
|
+
mail_ext_id: string;
|
|
21494
|
+
/**
|
|
21495
|
+
* Reply
|
|
21496
|
+
* @default false
|
|
21497
|
+
*/
|
|
21498
|
+
reply: boolean;
|
|
21499
|
+
};
|
|
21500
|
+
/**
|
|
21501
|
+
* HouseTemplateCandidate
|
|
21502
|
+
* @description A document the active workspace may use as its house template (``GET /v1/workspace/house-template/candidates``):
|
|
21503
|
+
* a live, shared Word document of the workspace itself or of a public workspace of the deployment.
|
|
21504
|
+
*/
|
|
21505
|
+
HouseTemplateCandidate: {
|
|
21506
|
+
/** Doc Ext Id */
|
|
21507
|
+
doc_ext_id: string;
|
|
21508
|
+
/** Workspace Ext Id */
|
|
21509
|
+
workspace_ext_id: string;
|
|
21510
|
+
/** Workspace Name */
|
|
21511
|
+
workspace_name: string;
|
|
21512
|
+
/** File Name */
|
|
21513
|
+
file_name: string;
|
|
21514
|
+
};
|
|
21152
21515
|
};
|
|
21153
21516
|
responses: never;
|
|
21154
21517
|
parameters: never;
|
|
@@ -32271,6 +32634,219 @@ interface operations {
|
|
|
32271
32634
|
};
|
|
32272
32635
|
};
|
|
32273
32636
|
};
|
|
32637
|
+
open_draft_editor_v1_mail_drafts_editor_post: {
|
|
32638
|
+
parameters: {
|
|
32639
|
+
query?: never;
|
|
32640
|
+
header?: never;
|
|
32641
|
+
path?: never;
|
|
32642
|
+
cookie?: never;
|
|
32643
|
+
};
|
|
32644
|
+
requestBody: {
|
|
32645
|
+
content: {
|
|
32646
|
+
'application/json': components['schemas']['MailRoomOpen'];
|
|
32647
|
+
};
|
|
32648
|
+
};
|
|
32649
|
+
responses: {
|
|
32650
|
+
/** @description Successful Response */
|
|
32651
|
+
200: {
|
|
32652
|
+
headers: {
|
|
32653
|
+
[name: string]: unknown;
|
|
32654
|
+
};
|
|
32655
|
+
content: {
|
|
32656
|
+
'application/json': components['schemas']['MailRoomSession'];
|
|
32657
|
+
};
|
|
32658
|
+
};
|
|
32659
|
+
/** @description Validation Error */
|
|
32660
|
+
422: {
|
|
32661
|
+
headers: {
|
|
32662
|
+
[name: string]: unknown;
|
|
32663
|
+
};
|
|
32664
|
+
content: {
|
|
32665
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32666
|
+
};
|
|
32667
|
+
};
|
|
32668
|
+
};
|
|
32669
|
+
};
|
|
32670
|
+
draft_editor_projects_v1_mail_drafts_editor_projects_get: {
|
|
32671
|
+
parameters: {
|
|
32672
|
+
query?: never;
|
|
32673
|
+
header?: never;
|
|
32674
|
+
path?: never;
|
|
32675
|
+
cookie?: never;
|
|
32676
|
+
};
|
|
32677
|
+
requestBody?: never;
|
|
32678
|
+
responses: {
|
|
32679
|
+
/** @description Successful Response */
|
|
32680
|
+
200: {
|
|
32681
|
+
headers: {
|
|
32682
|
+
[name: string]: unknown;
|
|
32683
|
+
};
|
|
32684
|
+
content: {
|
|
32685
|
+
'application/json': components['schemas']['MailProject'][];
|
|
32686
|
+
};
|
|
32687
|
+
};
|
|
32688
|
+
};
|
|
32689
|
+
};
|
|
32690
|
+
set_draft_editor_project_v1_mail_drafts_editor__room_id__project_put: {
|
|
32691
|
+
parameters: {
|
|
32692
|
+
query?: never;
|
|
32693
|
+
header?: never;
|
|
32694
|
+
path: {
|
|
32695
|
+
room_id: string;
|
|
32696
|
+
};
|
|
32697
|
+
cookie?: never;
|
|
32698
|
+
};
|
|
32699
|
+
requestBody: {
|
|
32700
|
+
content: {
|
|
32701
|
+
'application/json': components['schemas']['MailRoomProject'];
|
|
32702
|
+
};
|
|
32703
|
+
};
|
|
32704
|
+
responses: {
|
|
32705
|
+
/** @description Successful Response */
|
|
32706
|
+
200: {
|
|
32707
|
+
headers: {
|
|
32708
|
+
[name: string]: unknown;
|
|
32709
|
+
};
|
|
32710
|
+
content: {
|
|
32711
|
+
'application/json': components['schemas']['MailProject'];
|
|
32712
|
+
};
|
|
32713
|
+
};
|
|
32714
|
+
/** @description Validation Error */
|
|
32715
|
+
422: {
|
|
32716
|
+
headers: {
|
|
32717
|
+
[name: string]: unknown;
|
|
32718
|
+
};
|
|
32719
|
+
content: {
|
|
32720
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32721
|
+
};
|
|
32722
|
+
};
|
|
32723
|
+
};
|
|
32724
|
+
};
|
|
32725
|
+
draft_editor_body_v1_mail_drafts_editor__room_id__body_post: {
|
|
32726
|
+
parameters: {
|
|
32727
|
+
query?: never;
|
|
32728
|
+
header?: never;
|
|
32729
|
+
path: {
|
|
32730
|
+
room_id: string;
|
|
32731
|
+
};
|
|
32732
|
+
cookie?: never;
|
|
32733
|
+
};
|
|
32734
|
+
requestBody: {
|
|
32735
|
+
content: {
|
|
32736
|
+
'application/json': components['schemas']['MailRoomBody'];
|
|
32737
|
+
};
|
|
32738
|
+
};
|
|
32739
|
+
responses: {
|
|
32740
|
+
/** @description Successful Response */
|
|
32741
|
+
200: {
|
|
32742
|
+
headers: {
|
|
32743
|
+
[name: string]: unknown;
|
|
32744
|
+
};
|
|
32745
|
+
content: {
|
|
32746
|
+
'application/json': components['schemas']['MailRoomBodyRead'];
|
|
32747
|
+
};
|
|
32748
|
+
};
|
|
32749
|
+
/** @description Validation Error */
|
|
32750
|
+
422: {
|
|
32751
|
+
headers: {
|
|
32752
|
+
[name: string]: unknown;
|
|
32753
|
+
};
|
|
32754
|
+
content: {
|
|
32755
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32756
|
+
};
|
|
32757
|
+
};
|
|
32758
|
+
};
|
|
32759
|
+
};
|
|
32760
|
+
save_draft_editor_v1_mail_drafts_editor__room_id__save_post: {
|
|
32761
|
+
parameters: {
|
|
32762
|
+
query?: never;
|
|
32763
|
+
header?: never;
|
|
32764
|
+
path: {
|
|
32765
|
+
room_id: string;
|
|
32766
|
+
};
|
|
32767
|
+
cookie?: never;
|
|
32768
|
+
};
|
|
32769
|
+
requestBody: {
|
|
32770
|
+
content: {
|
|
32771
|
+
'application/json': components['schemas']['MailRoomSave'];
|
|
32772
|
+
};
|
|
32773
|
+
};
|
|
32774
|
+
responses: {
|
|
32775
|
+
/** @description Successful Response */
|
|
32776
|
+
200: {
|
|
32777
|
+
headers: {
|
|
32778
|
+
[name: string]: unknown;
|
|
32779
|
+
};
|
|
32780
|
+
content: {
|
|
32781
|
+
'application/json': components['schemas']['MailDraftSaved'];
|
|
32782
|
+
};
|
|
32783
|
+
};
|
|
32784
|
+
/** @description Validation Error */
|
|
32785
|
+
422: {
|
|
32786
|
+
headers: {
|
|
32787
|
+
[name: string]: unknown;
|
|
32788
|
+
};
|
|
32789
|
+
content: {
|
|
32790
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32791
|
+
};
|
|
32792
|
+
};
|
|
32793
|
+
};
|
|
32794
|
+
};
|
|
32795
|
+
send_draft_editor_v1_mail_drafts_editor__room_id__send_post: {
|
|
32796
|
+
parameters: {
|
|
32797
|
+
query?: never;
|
|
32798
|
+
header?: never;
|
|
32799
|
+
path: {
|
|
32800
|
+
room_id: string;
|
|
32801
|
+
};
|
|
32802
|
+
cookie?: never;
|
|
32803
|
+
};
|
|
32804
|
+
requestBody: {
|
|
32805
|
+
content: {
|
|
32806
|
+
'application/json': components['schemas']['MailRoomSend'];
|
|
32807
|
+
};
|
|
32808
|
+
};
|
|
32809
|
+
responses: {
|
|
32810
|
+
/** @description Successful Response */
|
|
32811
|
+
200: {
|
|
32812
|
+
headers: {
|
|
32813
|
+
[name: string]: unknown;
|
|
32814
|
+
};
|
|
32815
|
+
content: {
|
|
32816
|
+
'application/json': components['schemas']['MailSendResult'];
|
|
32817
|
+
};
|
|
32818
|
+
};
|
|
32819
|
+
/** @description Validation Error */
|
|
32820
|
+
422: {
|
|
32821
|
+
headers: {
|
|
32822
|
+
[name: string]: unknown;
|
|
32823
|
+
};
|
|
32824
|
+
content: {
|
|
32825
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
32826
|
+
};
|
|
32827
|
+
};
|
|
32828
|
+
};
|
|
32829
|
+
};
|
|
32830
|
+
list_house_template_candidates: {
|
|
32831
|
+
parameters: {
|
|
32832
|
+
query?: never;
|
|
32833
|
+
header?: never;
|
|
32834
|
+
path?: never;
|
|
32835
|
+
cookie?: never;
|
|
32836
|
+
};
|
|
32837
|
+
requestBody?: never;
|
|
32838
|
+
responses: {
|
|
32839
|
+
/** @description Successful Response */
|
|
32840
|
+
200: {
|
|
32841
|
+
headers: {
|
|
32842
|
+
[name: string]: unknown;
|
|
32843
|
+
};
|
|
32844
|
+
content: {
|
|
32845
|
+
'application/json': components['schemas']['HouseTemplateCandidate'][];
|
|
32846
|
+
};
|
|
32847
|
+
};
|
|
32848
|
+
};
|
|
32849
|
+
};
|
|
32274
32850
|
}
|
|
32275
32851
|
|
|
32276
32852
|
/**
|
package/package.json
CHANGED