@arbidocs/client 0.3.121 → 0.3.122
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 +687 -41
- package/dist/index.d.ts +687 -41
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -798,6 +798,32 @@ interface paths {
|
|
|
798
798
|
patch?: never;
|
|
799
799
|
trace?: never;
|
|
800
800
|
};
|
|
801
|
+
'/v1/workspace/{workspace_ext_id}/prime-key': {
|
|
802
|
+
parameters: {
|
|
803
|
+
query?: never;
|
|
804
|
+
header?: never;
|
|
805
|
+
path?: never;
|
|
806
|
+
cookie?: never;
|
|
807
|
+
};
|
|
808
|
+
get?: never;
|
|
809
|
+
put?: never;
|
|
810
|
+
/**
|
|
811
|
+
* Prime Workspace Key
|
|
812
|
+
* @description Deposit a workspace's session-sealed key without opening the workspace.
|
|
813
|
+
*
|
|
814
|
+
* Unlike ``/open``, this does NOT set the active workspace, load documents, or
|
|
815
|
+
* touch ``last_workspace`` — it only makes the key available on the session so
|
|
816
|
+
* server-side flows that need the workspace key (e.g. mailbox sync, which hands
|
|
817
|
+
* the unwrapped key to a background runner) can resolve it. The client seals the
|
|
818
|
+
* workspace key to the session pubkey exactly as it does for ``/open``.
|
|
819
|
+
*/
|
|
820
|
+
post: operations['prime_workspace_key'];
|
|
821
|
+
delete?: never;
|
|
822
|
+
options?: never;
|
|
823
|
+
head?: never;
|
|
824
|
+
patch?: never;
|
|
825
|
+
trace?: never;
|
|
826
|
+
};
|
|
801
827
|
'/v1/workspace/users': {
|
|
802
828
|
parameters: {
|
|
803
829
|
query?: never;
|
|
@@ -1660,7 +1686,7 @@ interface paths {
|
|
|
1660
1686
|
patch?: never;
|
|
1661
1687
|
trace?: never;
|
|
1662
1688
|
};
|
|
1663
|
-
'/v1/assistant/
|
|
1689
|
+
'/v1/assistant/interject': {
|
|
1664
1690
|
parameters: {
|
|
1665
1691
|
query?: never;
|
|
1666
1692
|
header?: never;
|
|
@@ -1670,10 +1696,19 @@ interface paths {
|
|
|
1670
1696
|
get?: never;
|
|
1671
1697
|
put?: never;
|
|
1672
1698
|
/**
|
|
1673
|
-
*
|
|
1674
|
-
* @description
|
|
1699
|
+
* Interject input into a running agent turn
|
|
1700
|
+
* @description Interject into a running agent turn — the one live-turn input boundary.
|
|
1701
|
+
*
|
|
1702
|
+
* An interjection is input sent to the agent mid-turn. Three things the client
|
|
1703
|
+
* sends the same way, as raw text against the streaming message, arrive here: an
|
|
1704
|
+
* ``ask_user`` answer, a steering interjection, or a run-control command
|
|
1705
|
+
* (``/pause``/``/resume``/``/report``). ``send_message`` classifies the text (see
|
|
1706
|
+
* ``human_input.send_message``), so the client never special-cases control
|
|
1707
|
+
* commands — it just forwards what the user typed. Control commands steer the
|
|
1708
|
+
* *run* (pause/resume the loop, or answer an out-of-band probe) rather than
|
|
1709
|
+
* becoming part of the conversation.
|
|
1675
1710
|
*/
|
|
1676
|
-
post: operations['
|
|
1711
|
+
post: operations['interject'];
|
|
1677
1712
|
delete?: never;
|
|
1678
1713
|
options?: never;
|
|
1679
1714
|
head?: never;
|
|
@@ -2253,10 +2288,34 @@ interface paths {
|
|
|
2253
2288
|
cookie?: never;
|
|
2254
2289
|
};
|
|
2255
2290
|
/** List Tasks */
|
|
2256
|
-
get: operations['
|
|
2291
|
+
get: operations['list_tasks'];
|
|
2257
2292
|
put?: never;
|
|
2258
2293
|
/** Create Task */
|
|
2259
|
-
post: operations['
|
|
2294
|
+
post: operations['create_task'];
|
|
2295
|
+
delete?: never;
|
|
2296
|
+
options?: never;
|
|
2297
|
+
head?: never;
|
|
2298
|
+
patch?: never;
|
|
2299
|
+
trace?: never;
|
|
2300
|
+
};
|
|
2301
|
+
'/v1/tasks/plan': {
|
|
2302
|
+
parameters: {
|
|
2303
|
+
query?: never;
|
|
2304
|
+
header?: never;
|
|
2305
|
+
path?: never;
|
|
2306
|
+
cookie?: never;
|
|
2307
|
+
};
|
|
2308
|
+
get?: never;
|
|
2309
|
+
put?: never;
|
|
2310
|
+
/**
|
|
2311
|
+
* Plan Task
|
|
2312
|
+
* @description Draft a reviewable ``TaskPlan`` for the active workspace from a plain objective.
|
|
2313
|
+
*
|
|
2314
|
+
* The unified planner (``filter_and_plan`` → ``author_checklist``): formulates the
|
|
2315
|
+
* goal, proposes the doc set, and authors the acceptance criteria. Stateless — the
|
|
2316
|
+
* caller attaches the returned plan to a create body (new task) or a PATCH (re-plan).
|
|
2317
|
+
*/
|
|
2318
|
+
post: operations['plan_task'];
|
|
2260
2319
|
delete?: never;
|
|
2261
2320
|
options?: never;
|
|
2262
2321
|
head?: never;
|
|
@@ -2271,15 +2330,15 @@ interface paths {
|
|
|
2271
2330
|
cookie?: never;
|
|
2272
2331
|
};
|
|
2273
2332
|
/** Get Task */
|
|
2274
|
-
get: operations['
|
|
2333
|
+
get: operations['get_task'];
|
|
2275
2334
|
put?: never;
|
|
2276
2335
|
post?: never;
|
|
2277
2336
|
/** Delete Task */
|
|
2278
|
-
delete: operations['
|
|
2337
|
+
delete: operations['delete_task'];
|
|
2279
2338
|
options?: never;
|
|
2280
2339
|
head?: never;
|
|
2281
2340
|
/** Update Task */
|
|
2282
|
-
patch: operations['
|
|
2341
|
+
patch: operations['update_task'];
|
|
2283
2342
|
trace?: never;
|
|
2284
2343
|
};
|
|
2285
2344
|
'/v1/tasks/{task_id}/run': {
|
|
@@ -2295,7 +2354,7 @@ interface paths {
|
|
|
2295
2354
|
* Run Now
|
|
2296
2355
|
* @description Fire the task immediately (wake the agent / notify), without changing its schedule.
|
|
2297
2356
|
*/
|
|
2298
|
-
post: operations['
|
|
2357
|
+
post: operations['run_task'];
|
|
2299
2358
|
delete?: never;
|
|
2300
2359
|
options?: never;
|
|
2301
2360
|
head?: never;
|
|
@@ -2463,6 +2522,55 @@ interface paths {
|
|
|
2463
2522
|
patch?: never;
|
|
2464
2523
|
trace?: never;
|
|
2465
2524
|
};
|
|
2525
|
+
'/v1/connectors/sealed-tokens': {
|
|
2526
|
+
parameters: {
|
|
2527
|
+
query?: never;
|
|
2528
|
+
header?: never;
|
|
2529
|
+
path?: never;
|
|
2530
|
+
cookie?: never;
|
|
2531
|
+
};
|
|
2532
|
+
/**
|
|
2533
|
+
* Fetch the current user's sealed connector tokens (login bridge)
|
|
2534
|
+
* @description Return the user-sealed OAuth token blobs so the client can decrypt them at login.
|
|
2535
|
+
*
|
|
2536
|
+
* Only ``token_scheme="sealed"`` rows are returned — legacy ``env`` rows are wrapped
|
|
2537
|
+
* with the app key (server-side, no client bridge) and can't be decrypted client-side.
|
|
2538
|
+
* The stored bytes are base64 ASCII (``wrap_key_with_x25519`` output), decoded to str.
|
|
2539
|
+
*/
|
|
2540
|
+
get: operations['get_sealed_connector_tokens'];
|
|
2541
|
+
put?: never;
|
|
2542
|
+
post?: never;
|
|
2543
|
+
delete?: never;
|
|
2544
|
+
options?: never;
|
|
2545
|
+
head?: never;
|
|
2546
|
+
patch?: never;
|
|
2547
|
+
trace?: never;
|
|
2548
|
+
};
|
|
2549
|
+
'/v1/connectors/session-tokens': {
|
|
2550
|
+
parameters: {
|
|
2551
|
+
query?: never;
|
|
2552
|
+
header?: never;
|
|
2553
|
+
path?: never;
|
|
2554
|
+
cookie?: never;
|
|
2555
|
+
};
|
|
2556
|
+
get?: never;
|
|
2557
|
+
put?: never;
|
|
2558
|
+
/**
|
|
2559
|
+
* Deposit client-decrypted connector tokens into the session (login bridge)
|
|
2560
|
+
* @description Cache the client-decrypted (and session-resealed) tokens on the live session.
|
|
2561
|
+
*
|
|
2562
|
+
* The client fetches its sealed tokens, decrypts them with the user private key,
|
|
2563
|
+
* re-seals them to the session public key, and posts them here. The server can then
|
|
2564
|
+
* use them for sync only while this session is live. Returns 409 when there is no
|
|
2565
|
+
* live session to cache into (e.g. it expired between login and this call).
|
|
2566
|
+
*/
|
|
2567
|
+
post: operations['bridge_session_connector_tokens'];
|
|
2568
|
+
delete?: never;
|
|
2569
|
+
options?: never;
|
|
2570
|
+
head?: never;
|
|
2571
|
+
patch?: never;
|
|
2572
|
+
trace?: never;
|
|
2573
|
+
};
|
|
2466
2574
|
'/v1/connectors/{vendor_key}/status': {
|
|
2467
2575
|
parameters: {
|
|
2468
2576
|
query?: never;
|
|
@@ -2603,6 +2711,10 @@ interface paths {
|
|
|
2603
2711
|
* Trigger a mailbox sync run in the background
|
|
2604
2712
|
* @description Schedule a background sync for the user's enabled mailbox of this vendor.
|
|
2605
2713
|
*
|
|
2714
|
+
* ``workspace_ext_id`` selects which workspace's sync to run (a vendor may sync
|
|
2715
|
+
* into several). When omitted, the first configured workspace is used — kept
|
|
2716
|
+
* for older clients that don't send it.
|
|
2717
|
+
*
|
|
2606
2718
|
* Returns 404 if sync was never enabled, 409 if the OAuth account is not
|
|
2607
2719
|
* connected (reauth needed), otherwise 202 with the run scheduled.
|
|
2608
2720
|
*/
|
|
@@ -2613,6 +2725,50 @@ interface paths {
|
|
|
2613
2725
|
patch?: never;
|
|
2614
2726
|
trace?: never;
|
|
2615
2727
|
};
|
|
2728
|
+
'/v1/connectors/{vendor}/sync-progress': {
|
|
2729
|
+
parameters: {
|
|
2730
|
+
query?: never;
|
|
2731
|
+
header?: never;
|
|
2732
|
+
path?: never;
|
|
2733
|
+
cookie?: never;
|
|
2734
|
+
};
|
|
2735
|
+
/**
|
|
2736
|
+
* Live progress of a running mailbox sync
|
|
2737
|
+
* @description Current progress for this vendor's sync into the given workspace.
|
|
2738
|
+
*
|
|
2739
|
+
* ``running`` is False when nothing is in flight (no progress marker in Redis).
|
|
2740
|
+
*/
|
|
2741
|
+
get: operations['mailbox_sync_progress'];
|
|
2742
|
+
put?: never;
|
|
2743
|
+
post?: never;
|
|
2744
|
+
delete?: never;
|
|
2745
|
+
options?: never;
|
|
2746
|
+
head?: never;
|
|
2747
|
+
patch?: never;
|
|
2748
|
+
trace?: never;
|
|
2749
|
+
};
|
|
2750
|
+
'/v1/connectors/{vendor}/sync/cancel': {
|
|
2751
|
+
parameters: {
|
|
2752
|
+
query?: never;
|
|
2753
|
+
header?: never;
|
|
2754
|
+
path?: never;
|
|
2755
|
+
cookie?: never;
|
|
2756
|
+
};
|
|
2757
|
+
get?: never;
|
|
2758
|
+
put?: never;
|
|
2759
|
+
/**
|
|
2760
|
+
* Request cancellation of a running mailbox sync
|
|
2761
|
+
* @description Ask a running sync to stop at the next email boundary. Idempotent.
|
|
2762
|
+
*
|
|
2763
|
+
* Already-imported emails are kept; the run simply stops fetching more.
|
|
2764
|
+
*/
|
|
2765
|
+
post: operations['cancel_mailbox_sync'];
|
|
2766
|
+
delete?: never;
|
|
2767
|
+
options?: never;
|
|
2768
|
+
head?: never;
|
|
2769
|
+
patch?: never;
|
|
2770
|
+
trace?: never;
|
|
2771
|
+
};
|
|
2616
2772
|
'/v1/responses': {
|
|
2617
2773
|
parameters: {
|
|
2618
2774
|
query?: never;
|
|
@@ -2707,6 +2863,38 @@ interface components {
|
|
|
2707
2863
|
/** Session Pubkey B64 */
|
|
2708
2864
|
session_pubkey_b64?: string | null;
|
|
2709
2865
|
};
|
|
2866
|
+
/**
|
|
2867
|
+
* AgentControlStateEvent
|
|
2868
|
+
* @description Server-confirmed run-control state for a running agent.
|
|
2869
|
+
*
|
|
2870
|
+
* Emitted when the loop actually reaches a control state at an iteration
|
|
2871
|
+
* boundary: ``paused`` (the agent has halted and is waiting for resume) and
|
|
2872
|
+
* ``running`` (resumed). The transient ``pausing``/``resuming`` states are shown
|
|
2873
|
+
* optimistically by the client on click, since the agent may be mid-tool and
|
|
2874
|
+
* only reaches a boundary a moment later. Not persisted — purely live UI state.
|
|
2875
|
+
*
|
|
2876
|
+
* Example:
|
|
2877
|
+
* {"type": "arbi.agent_control_state", "state": "paused"}
|
|
2878
|
+
*/
|
|
2879
|
+
AgentControlStateEvent: {
|
|
2880
|
+
/**
|
|
2881
|
+
* T
|
|
2882
|
+
* @description Seconds elapsed since stream start.
|
|
2883
|
+
*/
|
|
2884
|
+
t?: number | null;
|
|
2885
|
+
/**
|
|
2886
|
+
* Type
|
|
2887
|
+
* @default arbi.agent_control_state
|
|
2888
|
+
* @constant
|
|
2889
|
+
*/
|
|
2890
|
+
type: 'arbi.agent_control_state';
|
|
2891
|
+
/**
|
|
2892
|
+
* State
|
|
2893
|
+
* @description Confirmed control state of the agent loop
|
|
2894
|
+
* @enum {string}
|
|
2895
|
+
*/
|
|
2896
|
+
state: 'paused' | 'running';
|
|
2897
|
+
};
|
|
2710
2898
|
/**
|
|
2711
2899
|
* AgentStepDeltaEvent
|
|
2712
2900
|
* @description Incremental narration for an in-progress agent step (event: arbi.agent_step_delta).
|
|
@@ -2926,6 +3114,12 @@ interface components {
|
|
|
2926
3114
|
* @default true
|
|
2927
3115
|
*/
|
|
2928
3116
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3117
|
+
/**
|
|
3118
|
+
* Subagents Enabled
|
|
3119
|
+
* @description Include the sub_agent tool so the agent can spawn detached background sub-agents and control them (check / steer / pause / resume / collect) while it keeps working — parallel delegation, unlike the blocking deep_research. Fan-out is one level deep and capped in concurrency.
|
|
3120
|
+
* @default false
|
|
3121
|
+
*/
|
|
3122
|
+
SUBAGENTS_ENABLED: boolean;
|
|
2929
3123
|
/**
|
|
2930
3124
|
* Suggested Queries
|
|
2931
3125
|
* @description Generate a single suggested follow-up query after each response.
|
|
@@ -3163,6 +3357,12 @@ interface components {
|
|
|
3163
3357
|
* @default true
|
|
3164
3358
|
*/
|
|
3165
3359
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3360
|
+
/**
|
|
3361
|
+
* Subagents Enabled
|
|
3362
|
+
* @description Include the sub_agent tool so the agent can spawn detached background sub-agents and control them (check / steer / pause / resume / collect) while it keeps working — parallel delegation, unlike the blocking deep_research. Fan-out is one level deep and capped in concurrency.
|
|
3363
|
+
* @default false
|
|
3364
|
+
*/
|
|
3365
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3166
3366
|
/**
|
|
3167
3367
|
* Suggested Queries
|
|
3168
3368
|
* @description Generate a single suggested follow-up query after each response.
|
|
@@ -3270,6 +3470,7 @@ interface components {
|
|
|
3270
3470
|
* "MCP_TOOLS": [],
|
|
3271
3471
|
* "PLANNING_ENABLED": false,
|
|
3272
3472
|
* "DEEP_RESEARCH_ENABLED": true,
|
|
3473
|
+
* "SUBAGENTS_ENABLED": false,
|
|
3273
3474
|
* "SUGGESTED_QUERIES": false,
|
|
3274
3475
|
* "ARTIFACTS_ENABLED": false,
|
|
3275
3476
|
* "IMAGE_ENABLED": false,
|
|
@@ -4351,6 +4552,45 @@ interface components {
|
|
|
4351
4552
|
/** Requires Per User Auth */
|
|
4352
4553
|
requires_per_user_auth: boolean;
|
|
4353
4554
|
};
|
|
4555
|
+
/**
|
|
4556
|
+
* ConnectorSyncStatus
|
|
4557
|
+
* @description One mailbox-sync configuration for a connector, scoped to a workspace.
|
|
4558
|
+
*
|
|
4559
|
+
* A single vendor mailbox can sync independently into several workspaces, so a
|
|
4560
|
+
* connector carries a list of these — one per target workspace.
|
|
4561
|
+
*/
|
|
4562
|
+
ConnectorSyncStatus: {
|
|
4563
|
+
/** Workspace Ext Id */
|
|
4564
|
+
workspace_ext_id: string;
|
|
4565
|
+
/** Status */
|
|
4566
|
+
status: string;
|
|
4567
|
+
/** Enabled */
|
|
4568
|
+
enabled: boolean;
|
|
4569
|
+
/** Last Sync At */
|
|
4570
|
+
last_sync_at?: string | null;
|
|
4571
|
+
/** Backfill Window */
|
|
4572
|
+
backfill_window?: number | null;
|
|
4573
|
+
/**
|
|
4574
|
+
* Folders
|
|
4575
|
+
* @default []
|
|
4576
|
+
*/
|
|
4577
|
+
folders: string[];
|
|
4578
|
+
/**
|
|
4579
|
+
* Skip Duplicates
|
|
4580
|
+
* @default true
|
|
4581
|
+
*/
|
|
4582
|
+
skip_duplicates: boolean;
|
|
4583
|
+
/**
|
|
4584
|
+
* Auto Rename
|
|
4585
|
+
* @default false
|
|
4586
|
+
*/
|
|
4587
|
+
auto_rename: boolean;
|
|
4588
|
+
/**
|
|
4589
|
+
* Synced Count
|
|
4590
|
+
* @default 0
|
|
4591
|
+
*/
|
|
4592
|
+
synced_count: number;
|
|
4593
|
+
};
|
|
4354
4594
|
/**
|
|
4355
4595
|
* ConsolidatedHealthResponse
|
|
4356
4596
|
* @description Consolidated health response containing all system status and version information
|
|
@@ -4712,8 +4952,8 @@ interface components {
|
|
|
4712
4952
|
* @description Create a memory in the active workspace.
|
|
4713
4953
|
*/
|
|
4714
4954
|
CreateMemoryRequest: {
|
|
4715
|
-
/**
|
|
4716
|
-
|
|
4955
|
+
/** Note */
|
|
4956
|
+
note: string;
|
|
4717
4957
|
/**
|
|
4718
4958
|
* Pinned
|
|
4719
4959
|
* @default false
|
|
@@ -4795,6 +5035,7 @@ interface components {
|
|
|
4795
5035
|
workspace_ext_id?: string | null;
|
|
4796
5036
|
/** Agent Ext Id */
|
|
4797
5037
|
agent_ext_id?: string | null;
|
|
5038
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
4798
5039
|
};
|
|
4799
5040
|
/**
|
|
4800
5041
|
* DailyUsage
|
|
@@ -5022,18 +5263,21 @@ interface components {
|
|
|
5022
5263
|
/**
|
|
5023
5264
|
* DocTagResponse
|
|
5024
5265
|
* @description Response for doctag operations - the link between a document and a tag.
|
|
5266
|
+
*
|
|
5267
|
+
* ``note`` + ``citations`` are inherited from :class:`GroundedText` (the shared
|
|
5268
|
+
* grounded-text payload a DocTag note and a memory both carry).
|
|
5025
5269
|
*/
|
|
5026
5270
|
DocTagResponse: {
|
|
5027
|
-
/** Doc Ext Id */
|
|
5028
|
-
doc_ext_id: string;
|
|
5029
|
-
/** Tag Ext Id */
|
|
5030
|
-
tag_ext_id: string;
|
|
5031
5271
|
/** Note */
|
|
5032
5272
|
note?: string | null;
|
|
5033
5273
|
/** Citations */
|
|
5034
5274
|
citations?: {
|
|
5035
5275
|
[key: string]: components['schemas']['CitationData'];
|
|
5036
5276
|
} | null;
|
|
5277
|
+
/** Doc Ext Id */
|
|
5278
|
+
doc_ext_id: string;
|
|
5279
|
+
/** Tag Ext Id */
|
|
5280
|
+
tag_ext_id: string;
|
|
5037
5281
|
/** Created By Ext Id */
|
|
5038
5282
|
created_by_ext_id: string;
|
|
5039
5283
|
/** Updated By Ext Id */
|
|
@@ -5547,6 +5791,8 @@ interface components {
|
|
|
5547
5791
|
id: string;
|
|
5548
5792
|
/** Name */
|
|
5549
5793
|
name: string;
|
|
5794
|
+
/** Count */
|
|
5795
|
+
count?: number | null;
|
|
5550
5796
|
};
|
|
5551
5797
|
/**
|
|
5552
5798
|
* GenerateAnnotationsRequest
|
|
@@ -5640,6 +5886,42 @@ interface components {
|
|
|
5640
5886
|
*/
|
|
5641
5887
|
note: string;
|
|
5642
5888
|
};
|
|
5889
|
+
/**
|
|
5890
|
+
* GoalTool
|
|
5891
|
+
* @description Per-drive snapshot of the durable goal-state (the /goal = agt- session model,
|
|
5892
|
+
* ``docs/agt_session_model.md``).
|
|
5893
|
+
*
|
|
5894
|
+
* ``record`` is a serialized ``GoalStateRecord`` — the frozen acceptance checklist +
|
|
5895
|
+
* each criterion's running verdict + accumulated learnings + pass count + done flag.
|
|
5896
|
+
* This ``messages.tools`` entry is the **canonical** per-drive record: the grade-in-turn
|
|
5897
|
+
* step stamps it at finalize, and the scheduler reads it back (by response id) to
|
|
5898
|
+
* advance the plaintext ``Task.goal_state`` summary.
|
|
5899
|
+
*
|
|
5900
|
+
* Sensitive paths are SecretBox-encrypted at rest exactly like
|
|
5901
|
+
* ``trace.steps.*.learning``: ``record.learnings.*``, ``record.criteria.*.note``, and
|
|
5902
|
+
* ``record.progress_note``. Statuses / counts / flags stay plaintext. Held as a nested
|
|
5903
|
+
* ``dict`` (``doc_metadata`` flavour) so the model layer avoids importing the goal
|
|
5904
|
+
* types; ``GoalStateRecord`` remains the validating shape at the core layer.
|
|
5905
|
+
*/
|
|
5906
|
+
GoalTool: {
|
|
5907
|
+
/**
|
|
5908
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5909
|
+
* @enum {string}
|
|
5910
|
+
*/
|
|
5911
|
+
name: 'goal';
|
|
5912
|
+
/**
|
|
5913
|
+
* Description
|
|
5914
|
+
* @default goal state
|
|
5915
|
+
*/
|
|
5916
|
+
description: string;
|
|
5917
|
+
/**
|
|
5918
|
+
* Record
|
|
5919
|
+
* @default {}
|
|
5920
|
+
*/
|
|
5921
|
+
record: {
|
|
5922
|
+
[key: string]: unknown;
|
|
5923
|
+
};
|
|
5924
|
+
};
|
|
5643
5925
|
/** HTTPValidationError */
|
|
5644
5926
|
HTTPValidationError: {
|
|
5645
5927
|
/** Detail */
|
|
@@ -5965,22 +6247,22 @@ interface components {
|
|
|
5965
6247
|
};
|
|
5966
6248
|
/** MemoryResponse */
|
|
5967
6249
|
MemoryResponse: {
|
|
6250
|
+
/** Note */
|
|
6251
|
+
note?: string | null;
|
|
6252
|
+
/** Citations */
|
|
6253
|
+
citations?: {
|
|
6254
|
+
[key: string]: components['schemas']['CitationData'];
|
|
6255
|
+
} | null;
|
|
5968
6256
|
/** External Id */
|
|
5969
6257
|
external_id: string;
|
|
5970
6258
|
/** Workspace Ext Id */
|
|
5971
6259
|
workspace_ext_id: string;
|
|
5972
|
-
/** Content */
|
|
5973
|
-
content: string;
|
|
5974
6260
|
/** Pinned */
|
|
5975
6261
|
pinned: boolean;
|
|
5976
6262
|
/** Shared */
|
|
5977
6263
|
shared: boolean;
|
|
5978
6264
|
/** Source */
|
|
5979
6265
|
source: string;
|
|
5980
|
-
/** Citations */
|
|
5981
|
-
citations?: {
|
|
5982
|
-
[key: string]: components['schemas']['CitationData'];
|
|
5983
|
-
} | null;
|
|
5984
6266
|
/** Created By Ext Id */
|
|
5985
6267
|
created_by_ext_id: string;
|
|
5986
6268
|
/**
|
|
@@ -5998,8 +6280,8 @@ interface components {
|
|
|
5998
6280
|
MemorySearchHit: {
|
|
5999
6281
|
/** External Id */
|
|
6000
6282
|
external_id: string;
|
|
6001
|
-
/**
|
|
6002
|
-
|
|
6283
|
+
/** Note */
|
|
6284
|
+
note: string;
|
|
6003
6285
|
/** Pinned */
|
|
6004
6286
|
pinned: boolean;
|
|
6005
6287
|
/** Source */
|
|
@@ -6090,7 +6372,7 @@ interface components {
|
|
|
6090
6372
|
input: string;
|
|
6091
6373
|
/** Tools */
|
|
6092
6374
|
tools?: {
|
|
6093
|
-
[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'];
|
|
6375
|
+
[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'];
|
|
6094
6376
|
};
|
|
6095
6377
|
/**
|
|
6096
6378
|
* Workspace Ext Id
|
|
@@ -6142,7 +6424,7 @@ interface components {
|
|
|
6142
6424
|
content: string;
|
|
6143
6425
|
/** Tools */
|
|
6144
6426
|
tools?: {
|
|
6145
|
-
[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'];
|
|
6427
|
+
[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'];
|
|
6146
6428
|
};
|
|
6147
6429
|
/** Config Ext Id */
|
|
6148
6430
|
config_ext_id?: string | null;
|
|
@@ -6246,7 +6528,7 @@ interface components {
|
|
|
6246
6528
|
content: string;
|
|
6247
6529
|
/** Tools */
|
|
6248
6530
|
tools?: {
|
|
6249
|
-
[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'];
|
|
6531
|
+
[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'];
|
|
6250
6532
|
};
|
|
6251
6533
|
/** Config Ext Id */
|
|
6252
6534
|
config_ext_id?: string | null;
|
|
@@ -6711,6 +6993,23 @@ interface components {
|
|
|
6711
6993
|
/** Task */
|
|
6712
6994
|
task: string;
|
|
6713
6995
|
};
|
|
6996
|
+
/**
|
|
6997
|
+
* PlanTaskRequest
|
|
6998
|
+
* @description Draft a ``TaskPlan`` from a plain objective (the stateless ``/plan`` endpoint).
|
|
6999
|
+
*
|
|
7000
|
+
* No task row involved — the returned plan is attached to a create body (new
|
|
7001
|
+
* task) or a PATCH (re-plan an existing one), matching the build-then-submit
|
|
7002
|
+
* task edit flow.
|
|
7003
|
+
*/
|
|
7004
|
+
PlanTaskRequest: {
|
|
7005
|
+
/** Objective */
|
|
7006
|
+
objective: string;
|
|
7007
|
+
/**
|
|
7008
|
+
* Max Passes
|
|
7009
|
+
* @default 3
|
|
7010
|
+
*/
|
|
7011
|
+
max_passes: number;
|
|
7012
|
+
};
|
|
6714
7013
|
/**
|
|
6715
7014
|
* PlanningLLMConfig
|
|
6716
7015
|
* @description Configuration for PlanningLLM — generates research plans on demand.
|
|
@@ -6814,6 +7113,52 @@ interface components {
|
|
|
6814
7113
|
/** Unit Amount */
|
|
6815
7114
|
unit_amount: number;
|
|
6816
7115
|
};
|
|
7116
|
+
/**
|
|
7117
|
+
* ProbeAnswerEvent
|
|
7118
|
+
* @description Out-of-band answer to a mid-run status probe ("how's it going?").
|
|
7119
|
+
*
|
|
7120
|
+
* The user asks a running agent a quick question with the ``/report`` command,
|
|
7121
|
+
* sent as text to POST /assistant/interject like any interjection (the backend
|
|
7122
|
+
* recognises it — see human_input.send_message). It is answered by a one-shot
|
|
7123
|
+
* LLM against a read-only snapshot of the agent's working transcript and
|
|
7124
|
+
* streamed back here. It is purely
|
|
7125
|
+
* informational: it is NOT a conversation message, does NOT affect the agent's
|
|
7126
|
+
* answer, and is never persisted — display it as a transient side note.
|
|
7127
|
+
*
|
|
7128
|
+
* Examples:
|
|
7129
|
+
* {"type": "arbi.probe_answer",
|
|
7130
|
+
* "question": "how's it going?",
|
|
7131
|
+
* "answer": "Making progress — it has pulled 3 sources and is drafting.",
|
|
7132
|
+
* "corr_id": "probe-1a2b3c"}
|
|
7133
|
+
*/
|
|
7134
|
+
ProbeAnswerEvent: {
|
|
7135
|
+
/**
|
|
7136
|
+
* T
|
|
7137
|
+
* @description Seconds elapsed since stream start.
|
|
7138
|
+
*/
|
|
7139
|
+
t?: number | null;
|
|
7140
|
+
/**
|
|
7141
|
+
* Type
|
|
7142
|
+
* @default arbi.probe_answer
|
|
7143
|
+
* @constant
|
|
7144
|
+
*/
|
|
7145
|
+
type: 'arbi.probe_answer';
|
|
7146
|
+
/**
|
|
7147
|
+
* Question
|
|
7148
|
+
* @description The user's out-of-band question
|
|
7149
|
+
*/
|
|
7150
|
+
question: string;
|
|
7151
|
+
/**
|
|
7152
|
+
* Answer
|
|
7153
|
+
* @description The observer LLM's answer about current progress
|
|
7154
|
+
*/
|
|
7155
|
+
answer: string;
|
|
7156
|
+
/**
|
|
7157
|
+
* Corr Id
|
|
7158
|
+
* @description Client correlation id echoed from the request
|
|
7159
|
+
*/
|
|
7160
|
+
corr_id?: string | null;
|
|
7161
|
+
};
|
|
6817
7162
|
/**
|
|
6818
7163
|
* ProductPrice
|
|
6819
7164
|
* @description Stripe product price information.
|
|
@@ -8144,6 +8489,8 @@ interface components {
|
|
|
8144
8489
|
agent_step?: components['schemas']['AgentStepEvent'] | null;
|
|
8145
8490
|
agent_step_delta?: components['schemas']['AgentStepDeltaEvent'] | null;
|
|
8146
8491
|
user_input_request?: components['schemas']['UserInputRequestEvent'] | null;
|
|
8492
|
+
probe_answer?: components['schemas']['ProbeAnswerEvent'] | null;
|
|
8493
|
+
agent_control_state?: components['schemas']['AgentControlStateEvent'] | null;
|
|
8147
8494
|
user_message?: components['schemas']['UserMessageEvent'] | null;
|
|
8148
8495
|
arbi_error?: components['schemas']['ArbiErrorEvent'] | null;
|
|
8149
8496
|
response_output_text_delta?: components['schemas']['ResponseOutputTextDeltaEvent'] | null;
|
|
@@ -8278,6 +8625,18 @@ interface components {
|
|
|
8278
8625
|
*/
|
|
8279
8626
|
title: string;
|
|
8280
8627
|
};
|
|
8628
|
+
/**
|
|
8629
|
+
* SealedConnectorToken
|
|
8630
|
+
* @description A connector's user-sealed OAuth tokens, for the client to decrypt at login.
|
|
8631
|
+
*/
|
|
8632
|
+
SealedConnectorToken: {
|
|
8633
|
+
/** Vendor Key */
|
|
8634
|
+
vendor_key: string;
|
|
8635
|
+
/** Access Token */
|
|
8636
|
+
access_token: string;
|
|
8637
|
+
/** Refresh Token */
|
|
8638
|
+
refresh_token?: string | null;
|
|
8639
|
+
};
|
|
8281
8640
|
/**
|
|
8282
8641
|
* SearchInsideDocumentsDetail
|
|
8283
8642
|
* @description Detail for a search_inside_documents tool call.
|
|
@@ -8375,6 +8734,17 @@ interface components {
|
|
|
8375
8734
|
/** Ttl */
|
|
8376
8735
|
ttl: number;
|
|
8377
8736
|
};
|
|
8737
|
+
/**
|
|
8738
|
+
* SessionTokenBridge
|
|
8739
|
+
* @description Client-decrypted tokens re-sealed to the session public key, posted at login.
|
|
8740
|
+
*/
|
|
8741
|
+
SessionTokenBridge: {
|
|
8742
|
+
vendor_key: components['schemas']['VendorKey'];
|
|
8743
|
+
/** Access */
|
|
8744
|
+
access: string;
|
|
8745
|
+
/** Refresh */
|
|
8746
|
+
refresh?: string | null;
|
|
8747
|
+
};
|
|
8378
8748
|
/** ShareConversationResponse */
|
|
8379
8749
|
ShareConversationResponse: {
|
|
8380
8750
|
/**
|
|
@@ -8617,6 +8987,26 @@ interface components {
|
|
|
8617
8987
|
*/
|
|
8618
8988
|
COMPACTION_KEEP_RECENT: number;
|
|
8619
8989
|
};
|
|
8990
|
+
/**
|
|
8991
|
+
* SyncProgressResponse
|
|
8992
|
+
* @description Live progress of a running sync for a given (vendor, workspace).
|
|
8993
|
+
*/
|
|
8994
|
+
SyncProgressResponse: {
|
|
8995
|
+
/**
|
|
8996
|
+
* Running
|
|
8997
|
+
* @default false
|
|
8998
|
+
*/
|
|
8999
|
+
running: boolean;
|
|
9000
|
+
/** Phase */
|
|
9001
|
+
phase?: string | null;
|
|
9002
|
+
/**
|
|
9003
|
+
* Processed
|
|
9004
|
+
* @default 0
|
|
9005
|
+
*/
|
|
9006
|
+
processed: number;
|
|
9007
|
+
/** Total */
|
|
9008
|
+
total?: number | null;
|
|
9009
|
+
};
|
|
8620
9010
|
/**
|
|
8621
9011
|
* SyncTriggerResponse
|
|
8622
9012
|
* @description Response for a scheduled background sync run.
|
|
@@ -8740,6 +9130,54 @@ interface components {
|
|
|
8740
9130
|
instruction?: string | null;
|
|
8741
9131
|
tag_type?: components['schemas']['TagFormat'];
|
|
8742
9132
|
};
|
|
9133
|
+
/**
|
|
9134
|
+
* TaskPlan
|
|
9135
|
+
* @description The reviewable definition-of-done for a goal task.
|
|
9136
|
+
*
|
|
9137
|
+
* Authored by ``/plan`` (or hand-written), user-editable, stored on
|
|
9138
|
+
* ``Task.task_plan``, and consumed at execution to (a) seed the intra-turn
|
|
9139
|
+
* ``/goal`` gate with a frozen checklist and (b) scope retrieval to
|
|
9140
|
+
* ``documents``. This is the *input* half (what "done" means + which docs);
|
|
9141
|
+
* ``Task.goal_state`` is the runtime *status* projection (done/pass_count).
|
|
9142
|
+
*
|
|
9143
|
+
* There is no ``scope`` field. Open-web vs. closed-corpus is a *capability* of
|
|
9144
|
+
* the task's agent/workspace (whether web-search / read-url tools are enabled),
|
|
9145
|
+
* resolved at execution — not a plan attribute. ``documents`` is orthogonal: it
|
|
9146
|
+
* narrows *retrieval* to a subset of the workspace, it doesn't gate the web.
|
|
9147
|
+
*/
|
|
9148
|
+
TaskPlan: {
|
|
9149
|
+
/**
|
|
9150
|
+
* Goal
|
|
9151
|
+
* @default
|
|
9152
|
+
*/
|
|
9153
|
+
goal: string;
|
|
9154
|
+
/**
|
|
9155
|
+
* Criteria
|
|
9156
|
+
* @default []
|
|
9157
|
+
*/
|
|
9158
|
+
criteria: components['schemas']['TaskPlanCriterion'][];
|
|
9159
|
+
/**
|
|
9160
|
+
* Max Passes
|
|
9161
|
+
* @default 3
|
|
9162
|
+
*/
|
|
9163
|
+
max_passes: number;
|
|
9164
|
+
/**
|
|
9165
|
+
* Documents
|
|
9166
|
+
* @default []
|
|
9167
|
+
*/
|
|
9168
|
+
documents: string[];
|
|
9169
|
+
};
|
|
9170
|
+
/**
|
|
9171
|
+
* TaskPlanCriterion
|
|
9172
|
+
* @description One acceptance criterion in a task plan (mirrors instruments.llm.GoalCriterion,
|
|
9173
|
+
* redeclared here so the model layer needn't import the LLM instruments).
|
|
9174
|
+
*/
|
|
9175
|
+
TaskPlanCriterion: {
|
|
9176
|
+
/** Id */
|
|
9177
|
+
id: string;
|
|
9178
|
+
/** Text */
|
|
9179
|
+
text: string;
|
|
9180
|
+
};
|
|
8743
9181
|
/** TaskResponse */
|
|
8744
9182
|
TaskResponse: {
|
|
8745
9183
|
/** External Id */
|
|
@@ -8786,6 +9224,16 @@ interface components {
|
|
|
8786
9224
|
workspace_ext_id?: string | null;
|
|
8787
9225
|
/** Agent Ext Id */
|
|
8788
9226
|
agent_ext_id?: string | null;
|
|
9227
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
9228
|
+
/**
|
|
9229
|
+
* Is Goal Task
|
|
9230
|
+
* @default false
|
|
9231
|
+
*/
|
|
9232
|
+
is_goal_task: boolean;
|
|
9233
|
+
/** Goal State */
|
|
9234
|
+
goal_state?: {
|
|
9235
|
+
[key: string]: unknown;
|
|
9236
|
+
} | null;
|
|
8789
9237
|
/**
|
|
8790
9238
|
* Created At
|
|
8791
9239
|
* Format: date-time
|
|
@@ -9102,13 +9550,13 @@ interface components {
|
|
|
9102
9550
|
};
|
|
9103
9551
|
/**
|
|
9104
9552
|
* UpdateMemoryRequest
|
|
9105
|
-
* @description Patch a memory. An edit to ``
|
|
9553
|
+
* @description Patch a memory. An edit to ``note`` soft-deletes the old row and
|
|
9106
9554
|
* inserts a replacement (append + soft-delete lifecycle); ``pinned``/``shared``
|
|
9107
9555
|
* toggles update in place.
|
|
9108
9556
|
*/
|
|
9109
9557
|
UpdateMemoryRequest: {
|
|
9110
|
-
/**
|
|
9111
|
-
|
|
9558
|
+
/** Note */
|
|
9559
|
+
note?: string | null;
|
|
9112
9560
|
/** Pinned */
|
|
9113
9561
|
pinned?: boolean | null;
|
|
9114
9562
|
/** Shared */
|
|
@@ -9171,6 +9619,7 @@ interface components {
|
|
|
9171
9619
|
/** Notify On Complete */
|
|
9172
9620
|
notify_on_complete?: boolean | null;
|
|
9173
9621
|
status?: components['schemas']['TaskStatus'] | null;
|
|
9622
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
9174
9623
|
};
|
|
9175
9624
|
/**
|
|
9176
9625
|
* UpdateWorkspaceUserRolesRequest
|
|
@@ -9279,6 +9728,16 @@ interface components {
|
|
|
9279
9728
|
* @default true
|
|
9280
9729
|
*/
|
|
9281
9730
|
is_connected: boolean;
|
|
9731
|
+
/**
|
|
9732
|
+
* Token Scheme
|
|
9733
|
+
* @default env
|
|
9734
|
+
*/
|
|
9735
|
+
token_scheme: string;
|
|
9736
|
+
/**
|
|
9737
|
+
* Syncs
|
|
9738
|
+
* @default []
|
|
9739
|
+
*/
|
|
9740
|
+
syncs: components['schemas']['ConnectorSyncStatus'][];
|
|
9282
9741
|
/** Sync Status */
|
|
9283
9742
|
sync_status?: string | null;
|
|
9284
9743
|
/** Last Sync At */
|
|
@@ -9304,7 +9763,7 @@ interface components {
|
|
|
9304
9763
|
};
|
|
9305
9764
|
/**
|
|
9306
9765
|
* UserInputBody
|
|
9307
|
-
* @description Request body for POST /assistant/
|
|
9766
|
+
* @description Request body for POST /assistant/interject.
|
|
9308
9767
|
*/
|
|
9309
9768
|
UserInputBody: {
|
|
9310
9769
|
/** Assistant Message Ext Id */
|
|
@@ -9317,7 +9776,7 @@ interface components {
|
|
|
9317
9776
|
* @description Agent requests human input with structured options.
|
|
9318
9777
|
*
|
|
9319
9778
|
* Frontend should render the question with clickable options and an "Other"
|
|
9320
|
-
* free-text fallback. The user's response is sent via POST /assistant/
|
|
9779
|
+
* free-text fallback. The user's response is sent via POST /assistant/interject
|
|
9321
9780
|
* using the assistant_message_ext_id from the stream_start event.
|
|
9322
9781
|
*
|
|
9323
9782
|
* Examples:
|
|
@@ -9369,7 +9828,7 @@ interface components {
|
|
|
9369
9828
|
content: string;
|
|
9370
9829
|
/** Tools */
|
|
9371
9830
|
tools?: {
|
|
9372
|
-
[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'];
|
|
9831
|
+
[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'];
|
|
9373
9832
|
};
|
|
9374
9833
|
/** Config Ext Id */
|
|
9375
9834
|
config_ext_id?: string | null;
|
|
@@ -11132,6 +11591,39 @@ interface operations {
|
|
|
11132
11591
|
};
|
|
11133
11592
|
};
|
|
11134
11593
|
};
|
|
11594
|
+
prime_workspace_key: {
|
|
11595
|
+
parameters: {
|
|
11596
|
+
query?: never;
|
|
11597
|
+
header?: never;
|
|
11598
|
+
path: {
|
|
11599
|
+
workspace_ext_id: string;
|
|
11600
|
+
};
|
|
11601
|
+
cookie?: never;
|
|
11602
|
+
};
|
|
11603
|
+
requestBody: {
|
|
11604
|
+
content: {
|
|
11605
|
+
'application/json': components['schemas']['WorkspaceOpenRequest'];
|
|
11606
|
+
};
|
|
11607
|
+
};
|
|
11608
|
+
responses: {
|
|
11609
|
+
/** @description Successful Response */
|
|
11610
|
+
204: {
|
|
11611
|
+
headers: {
|
|
11612
|
+
[name: string]: unknown;
|
|
11613
|
+
};
|
|
11614
|
+
content?: never;
|
|
11615
|
+
};
|
|
11616
|
+
/** @description Validation Error */
|
|
11617
|
+
422: {
|
|
11618
|
+
headers: {
|
|
11619
|
+
[name: string]: unknown;
|
|
11620
|
+
};
|
|
11621
|
+
content: {
|
|
11622
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
11623
|
+
};
|
|
11624
|
+
};
|
|
11625
|
+
};
|
|
11626
|
+
};
|
|
11135
11627
|
get_workspace_users: {
|
|
11136
11628
|
parameters: {
|
|
11137
11629
|
query?: never;
|
|
@@ -12409,7 +12901,7 @@ interface operations {
|
|
|
12409
12901
|
};
|
|
12410
12902
|
};
|
|
12411
12903
|
};
|
|
12412
|
-
|
|
12904
|
+
interject: {
|
|
12413
12905
|
parameters: {
|
|
12414
12906
|
query?: never;
|
|
12415
12907
|
header?: never;
|
|
@@ -13333,7 +13825,7 @@ interface operations {
|
|
|
13333
13825
|
};
|
|
13334
13826
|
};
|
|
13335
13827
|
};
|
|
13336
|
-
|
|
13828
|
+
list_tasks: {
|
|
13337
13829
|
parameters: {
|
|
13338
13830
|
query?: never;
|
|
13339
13831
|
header?: never;
|
|
@@ -13353,7 +13845,7 @@ interface operations {
|
|
|
13353
13845
|
};
|
|
13354
13846
|
};
|
|
13355
13847
|
};
|
|
13356
|
-
|
|
13848
|
+
create_task: {
|
|
13357
13849
|
parameters: {
|
|
13358
13850
|
query?: never;
|
|
13359
13851
|
header?: never;
|
|
@@ -13386,7 +13878,40 @@ interface operations {
|
|
|
13386
13878
|
};
|
|
13387
13879
|
};
|
|
13388
13880
|
};
|
|
13389
|
-
|
|
13881
|
+
plan_task: {
|
|
13882
|
+
parameters: {
|
|
13883
|
+
query?: never;
|
|
13884
|
+
header?: never;
|
|
13885
|
+
path?: never;
|
|
13886
|
+
cookie?: never;
|
|
13887
|
+
};
|
|
13888
|
+
requestBody: {
|
|
13889
|
+
content: {
|
|
13890
|
+
'application/json': components['schemas']['PlanTaskRequest'];
|
|
13891
|
+
};
|
|
13892
|
+
};
|
|
13893
|
+
responses: {
|
|
13894
|
+
/** @description Successful Response */
|
|
13895
|
+
200: {
|
|
13896
|
+
headers: {
|
|
13897
|
+
[name: string]: unknown;
|
|
13898
|
+
};
|
|
13899
|
+
content: {
|
|
13900
|
+
'application/json': components['schemas']['TaskPlan'];
|
|
13901
|
+
};
|
|
13902
|
+
};
|
|
13903
|
+
/** @description Validation Error */
|
|
13904
|
+
422: {
|
|
13905
|
+
headers: {
|
|
13906
|
+
[name: string]: unknown;
|
|
13907
|
+
};
|
|
13908
|
+
content: {
|
|
13909
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
13910
|
+
};
|
|
13911
|
+
};
|
|
13912
|
+
};
|
|
13913
|
+
};
|
|
13914
|
+
get_task: {
|
|
13390
13915
|
parameters: {
|
|
13391
13916
|
query?: never;
|
|
13392
13917
|
header?: never;
|
|
@@ -13417,7 +13942,7 @@ interface operations {
|
|
|
13417
13942
|
};
|
|
13418
13943
|
};
|
|
13419
13944
|
};
|
|
13420
|
-
|
|
13945
|
+
delete_task: {
|
|
13421
13946
|
parameters: {
|
|
13422
13947
|
query?: never;
|
|
13423
13948
|
header?: never;
|
|
@@ -13446,7 +13971,7 @@ interface operations {
|
|
|
13446
13971
|
};
|
|
13447
13972
|
};
|
|
13448
13973
|
};
|
|
13449
|
-
|
|
13974
|
+
update_task: {
|
|
13450
13975
|
parameters: {
|
|
13451
13976
|
query?: never;
|
|
13452
13977
|
header?: never;
|
|
@@ -13481,7 +14006,7 @@ interface operations {
|
|
|
13481
14006
|
};
|
|
13482
14007
|
};
|
|
13483
14008
|
};
|
|
13484
|
-
|
|
14009
|
+
run_task: {
|
|
13485
14010
|
parameters: {
|
|
13486
14011
|
query?: never;
|
|
13487
14012
|
header?: never;
|
|
@@ -13784,6 +14309,57 @@ interface operations {
|
|
|
13784
14309
|
};
|
|
13785
14310
|
};
|
|
13786
14311
|
};
|
|
14312
|
+
get_sealed_connector_tokens: {
|
|
14313
|
+
parameters: {
|
|
14314
|
+
query?: never;
|
|
14315
|
+
header?: never;
|
|
14316
|
+
path?: never;
|
|
14317
|
+
cookie?: never;
|
|
14318
|
+
};
|
|
14319
|
+
requestBody?: never;
|
|
14320
|
+
responses: {
|
|
14321
|
+
/** @description Successful Response */
|
|
14322
|
+
200: {
|
|
14323
|
+
headers: {
|
|
14324
|
+
[name: string]: unknown;
|
|
14325
|
+
};
|
|
14326
|
+
content: {
|
|
14327
|
+
'application/json': components['schemas']['SealedConnectorToken'][];
|
|
14328
|
+
};
|
|
14329
|
+
};
|
|
14330
|
+
};
|
|
14331
|
+
};
|
|
14332
|
+
bridge_session_connector_tokens: {
|
|
14333
|
+
parameters: {
|
|
14334
|
+
query?: never;
|
|
14335
|
+
header?: never;
|
|
14336
|
+
path?: never;
|
|
14337
|
+
cookie?: never;
|
|
14338
|
+
};
|
|
14339
|
+
requestBody: {
|
|
14340
|
+
content: {
|
|
14341
|
+
'application/json': components['schemas']['SessionTokenBridge'];
|
|
14342
|
+
};
|
|
14343
|
+
};
|
|
14344
|
+
responses: {
|
|
14345
|
+
/** @description Successful Response */
|
|
14346
|
+
204: {
|
|
14347
|
+
headers: {
|
|
14348
|
+
[name: string]: unknown;
|
|
14349
|
+
};
|
|
14350
|
+
content?: never;
|
|
14351
|
+
};
|
|
14352
|
+
/** @description Validation Error */
|
|
14353
|
+
422: {
|
|
14354
|
+
headers: {
|
|
14355
|
+
[name: string]: unknown;
|
|
14356
|
+
};
|
|
14357
|
+
content: {
|
|
14358
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14359
|
+
};
|
|
14360
|
+
};
|
|
14361
|
+
};
|
|
14362
|
+
};
|
|
13787
14363
|
get_connector_status: {
|
|
13788
14364
|
parameters: {
|
|
13789
14365
|
query?: never;
|
|
@@ -13981,7 +14557,9 @@ interface operations {
|
|
|
13981
14557
|
};
|
|
13982
14558
|
trigger_mailbox_sync: {
|
|
13983
14559
|
parameters: {
|
|
13984
|
-
query?:
|
|
14560
|
+
query?: {
|
|
14561
|
+
workspace_ext_id?: string | null;
|
|
14562
|
+
};
|
|
13985
14563
|
header?: never;
|
|
13986
14564
|
path: {
|
|
13987
14565
|
vendor: components['schemas']['VendorKey'];
|
|
@@ -14010,6 +14588,74 @@ interface operations {
|
|
|
14010
14588
|
};
|
|
14011
14589
|
};
|
|
14012
14590
|
};
|
|
14591
|
+
mailbox_sync_progress: {
|
|
14592
|
+
parameters: {
|
|
14593
|
+
query?: {
|
|
14594
|
+
workspace_ext_id?: string | null;
|
|
14595
|
+
};
|
|
14596
|
+
header?: never;
|
|
14597
|
+
path: {
|
|
14598
|
+
vendor: components['schemas']['VendorKey'];
|
|
14599
|
+
};
|
|
14600
|
+
cookie?: never;
|
|
14601
|
+
};
|
|
14602
|
+
requestBody?: never;
|
|
14603
|
+
responses: {
|
|
14604
|
+
/** @description Successful Response */
|
|
14605
|
+
200: {
|
|
14606
|
+
headers: {
|
|
14607
|
+
[name: string]: unknown;
|
|
14608
|
+
};
|
|
14609
|
+
content: {
|
|
14610
|
+
'application/json': components['schemas']['SyncProgressResponse'];
|
|
14611
|
+
};
|
|
14612
|
+
};
|
|
14613
|
+
/** @description Validation Error */
|
|
14614
|
+
422: {
|
|
14615
|
+
headers: {
|
|
14616
|
+
[name: string]: unknown;
|
|
14617
|
+
};
|
|
14618
|
+
content: {
|
|
14619
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14620
|
+
};
|
|
14621
|
+
};
|
|
14622
|
+
};
|
|
14623
|
+
};
|
|
14624
|
+
cancel_mailbox_sync: {
|
|
14625
|
+
parameters: {
|
|
14626
|
+
query?: {
|
|
14627
|
+
workspace_ext_id?: string | null;
|
|
14628
|
+
};
|
|
14629
|
+
header?: never;
|
|
14630
|
+
path: {
|
|
14631
|
+
vendor: components['schemas']['VendorKey'];
|
|
14632
|
+
};
|
|
14633
|
+
cookie?: never;
|
|
14634
|
+
};
|
|
14635
|
+
requestBody?: never;
|
|
14636
|
+
responses: {
|
|
14637
|
+
/** @description Successful Response */
|
|
14638
|
+
202: {
|
|
14639
|
+
headers: {
|
|
14640
|
+
[name: string]: unknown;
|
|
14641
|
+
};
|
|
14642
|
+
content: {
|
|
14643
|
+
'application/json': {
|
|
14644
|
+
[key: string]: string;
|
|
14645
|
+
};
|
|
14646
|
+
};
|
|
14647
|
+
};
|
|
14648
|
+
/** @description Validation Error */
|
|
14649
|
+
422: {
|
|
14650
|
+
headers: {
|
|
14651
|
+
[name: string]: unknown;
|
|
14652
|
+
};
|
|
14653
|
+
content: {
|
|
14654
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14655
|
+
};
|
|
14656
|
+
};
|
|
14657
|
+
};
|
|
14658
|
+
};
|
|
14013
14659
|
create_response: {
|
|
14014
14660
|
parameters: {
|
|
14015
14661
|
query?: never;
|