@arbidocs/client 0.3.122 → 0.3.124
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 +913 -28
- package/dist/index.d.ts +913 -28
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1715,6 +1715,34 @@ interface paths {
|
|
|
1715
1715
|
patch?: never;
|
|
1716
1716
|
trace?: never;
|
|
1717
1717
|
};
|
|
1718
|
+
'/v1/assistant/run/{response_id}/stream': {
|
|
1719
|
+
parameters: {
|
|
1720
|
+
query?: never;
|
|
1721
|
+
header?: never;
|
|
1722
|
+
path?: never;
|
|
1723
|
+
cookie?: never;
|
|
1724
|
+
};
|
|
1725
|
+
/**
|
|
1726
|
+
* Foreground (watch) a background agent run's live steps
|
|
1727
|
+
* @description Attach to a background run by id: replay its steps so far, then stream live.
|
|
1728
|
+
*
|
|
1729
|
+
* A scheduled/goal run accumulates its step events into the same ``resp:events``
|
|
1730
|
+
* machine a foreground turn uses, keyed by the run's pre-minted assistant msg id
|
|
1731
|
+
* (exposed as ``Task.active_response_id``). This endpoint foregrounds that stream:
|
|
1732
|
+
* it replays the events accumulated so far, then tails new ones until the run
|
|
1733
|
+
* finishes — emitting the exact same ``arbi.agent_step`` / ``response.completed``
|
|
1734
|
+
* frames the chat stream does, so the client reuses its normal SSE consumer.
|
|
1735
|
+
* Read-only; control (pause/message) is ``POST /assistant/interject``.
|
|
1736
|
+
*/
|
|
1737
|
+
get: operations['watch_run'];
|
|
1738
|
+
put?: never;
|
|
1739
|
+
post?: never;
|
|
1740
|
+
delete?: never;
|
|
1741
|
+
options?: never;
|
|
1742
|
+
head?: never;
|
|
1743
|
+
patch?: never;
|
|
1744
|
+
trace?: never;
|
|
1745
|
+
};
|
|
1718
1746
|
'/v1/assistant/retrieve': {
|
|
1719
1747
|
parameters: {
|
|
1720
1748
|
query?: never;
|
|
@@ -2280,6 +2308,56 @@ interface paths {
|
|
|
2280
2308
|
patch?: never;
|
|
2281
2309
|
trace?: never;
|
|
2282
2310
|
};
|
|
2311
|
+
'/v1/agents/{agent_ext_id}': {
|
|
2312
|
+
parameters: {
|
|
2313
|
+
query?: never;
|
|
2314
|
+
header?: never;
|
|
2315
|
+
path?: never;
|
|
2316
|
+
cookie?: never;
|
|
2317
|
+
};
|
|
2318
|
+
get?: never;
|
|
2319
|
+
put?: never;
|
|
2320
|
+
post?: never;
|
|
2321
|
+
delete?: never;
|
|
2322
|
+
options?: never;
|
|
2323
|
+
head?: never;
|
|
2324
|
+
/**
|
|
2325
|
+
* Update Agent
|
|
2326
|
+
* @description Update an owned agent (currently: its avatar).
|
|
2327
|
+
*
|
|
2328
|
+
* ``Users.picture`` always existed on agents but nothing could set it — the
|
|
2329
|
+
* profile endpoint only mutates the caller. Ownership is checked on the RLS
|
|
2330
|
+
* session; the write goes through the privileged session because the agent's
|
|
2331
|
+
* row is not the caller's own.
|
|
2332
|
+
*/
|
|
2333
|
+
patch: operations['update_agent'];
|
|
2334
|
+
trace?: never;
|
|
2335
|
+
};
|
|
2336
|
+
'/v1/agents/{agent_ext_id}/avatar': {
|
|
2337
|
+
parameters: {
|
|
2338
|
+
query?: never;
|
|
2339
|
+
header?: never;
|
|
2340
|
+
path?: never;
|
|
2341
|
+
cookie?: never;
|
|
2342
|
+
};
|
|
2343
|
+
get?: never;
|
|
2344
|
+
put?: never;
|
|
2345
|
+
/**
|
|
2346
|
+
* Generate Agent Avatar
|
|
2347
|
+
* @description Generate an avatar for an owned agent and set it as the agent's picture.
|
|
2348
|
+
*
|
|
2349
|
+
* Calls the ImageGen instrument directly — deliberately NOT the create_image
|
|
2350
|
+
* tool path, which is workspace/cipher-bound and stores a Docs artifact. An
|
|
2351
|
+
* avatar needs neither: generate, normalise to a small square WebP under the
|
|
2352
|
+
* 100KB picture cap, store as a data: URL on ``Users.picture``.
|
|
2353
|
+
*/
|
|
2354
|
+
post: operations['generate_agent_avatar'];
|
|
2355
|
+
delete?: never;
|
|
2356
|
+
options?: never;
|
|
2357
|
+
head?: never;
|
|
2358
|
+
patch?: never;
|
|
2359
|
+
trace?: never;
|
|
2360
|
+
};
|
|
2283
2361
|
'/v1/tasks': {
|
|
2284
2362
|
parameters: {
|
|
2285
2363
|
query?: never;
|
|
@@ -2353,6 +2431,18 @@ interface paths {
|
|
|
2353
2431
|
/**
|
|
2354
2432
|
* Run Now
|
|
2355
2433
|
* @description Fire the task immediately (wake the agent / notify), without changing its schedule.
|
|
2434
|
+
*
|
|
2435
|
+
* Authorization is chosen by the task's ``auth_mode`` and resolved by the shared
|
|
2436
|
+
* dispatch path (``fire_task``): a tier-3 ``scheduled_permanent`` task runs via the
|
|
2437
|
+
* agent's standing membership; a temporary-tier task without a standing key mints
|
|
2438
|
+
* an agent run-session and asks the owner to authorize (reusing the
|
|
2439
|
+
* workspace-access-request flow), landing the task in a pending-auth state.
|
|
2440
|
+
*
|
|
2441
|
+
* When pending, the response carries the agent run-session's PUBLIC key + email so
|
|
2442
|
+
* the owner's client can grant a temporary, session-scoped key to it via
|
|
2443
|
+
* ``POST /v1/workspace/{id}/users`` (its ``session_pubkey_b64`` path) and then
|
|
2444
|
+
* re-trigger this endpoint — dispatch then resumes the run on that granted session.
|
|
2445
|
+
* No task-specific endpoint; the owner is present so this is effectively synchronous.
|
|
2356
2446
|
*/
|
|
2357
2447
|
post: operations['run_task'];
|
|
2358
2448
|
delete?: never;
|
|
@@ -2769,6 +2859,184 @@ interface paths {
|
|
|
2769
2859
|
patch?: never;
|
|
2770
2860
|
trace?: never;
|
|
2771
2861
|
};
|
|
2862
|
+
'/v1/connectors/{vendor}/drive-folders': {
|
|
2863
|
+
parameters: {
|
|
2864
|
+
query?: never;
|
|
2865
|
+
header?: never;
|
|
2866
|
+
path?: never;
|
|
2867
|
+
cookie?: never;
|
|
2868
|
+
};
|
|
2869
|
+
/**
|
|
2870
|
+
* List the connected account's OneDrive folders for selection
|
|
2871
|
+
* @description Return the connected account's OneDrive folders (root + one child level).
|
|
2872
|
+
*/
|
|
2873
|
+
get: operations['list_drive_folders'];
|
|
2874
|
+
put?: never;
|
|
2875
|
+
post?: never;
|
|
2876
|
+
delete?: never;
|
|
2877
|
+
options?: never;
|
|
2878
|
+
head?: never;
|
|
2879
|
+
patch?: never;
|
|
2880
|
+
trace?: never;
|
|
2881
|
+
};
|
|
2882
|
+
'/v1/connectors/{vendor}/drive-folder-doc-count': {
|
|
2883
|
+
parameters: {
|
|
2884
|
+
query?: never;
|
|
2885
|
+
header?: never;
|
|
2886
|
+
path?: never;
|
|
2887
|
+
cookie?: never;
|
|
2888
|
+
};
|
|
2889
|
+
/**
|
|
2890
|
+
* Count the documents that syncing a OneDrive folder would import (recursive)
|
|
2891
|
+
* @description Return how many documents selecting ``item_id`` would import (files, recursive).
|
|
2892
|
+
*
|
|
2893
|
+
* Powers the "(N)" next to each folder in the picker: unlike Graph's ``childCount``
|
|
2894
|
+
* (immediate files + subfolders), this is the full recursive count of importable
|
|
2895
|
+
* files — what actually lands in the workspace when the folder is synced.
|
|
2896
|
+
*/
|
|
2897
|
+
get: operations['drive_folder_doc_count'];
|
|
2898
|
+
put?: never;
|
|
2899
|
+
post?: never;
|
|
2900
|
+
delete?: never;
|
|
2901
|
+
options?: never;
|
|
2902
|
+
head?: never;
|
|
2903
|
+
patch?: never;
|
|
2904
|
+
trace?: never;
|
|
2905
|
+
};
|
|
2906
|
+
'/v1/connectors/{vendor}/drive-folder-children': {
|
|
2907
|
+
parameters: {
|
|
2908
|
+
query?: never;
|
|
2909
|
+
header?: never;
|
|
2910
|
+
path?: never;
|
|
2911
|
+
cookie?: never;
|
|
2912
|
+
};
|
|
2913
|
+
/**
|
|
2914
|
+
* List the immediate subfolders of a OneDrive folder (lazy tree browsing)
|
|
2915
|
+
* @description Return the immediate subfolders of ``item_id`` ("root" or a folder item id).
|
|
2916
|
+
*
|
|
2917
|
+
* Backs the expandable folder-tree picker: the UI fetches one level at a time as
|
|
2918
|
+
* the user drills in, so a large drive never enumerates the whole tree up front.
|
|
2919
|
+
*/
|
|
2920
|
+
get: operations['drive_folder_children'];
|
|
2921
|
+
put?: never;
|
|
2922
|
+
post?: never;
|
|
2923
|
+
delete?: never;
|
|
2924
|
+
options?: never;
|
|
2925
|
+
head?: never;
|
|
2926
|
+
patch?: never;
|
|
2927
|
+
trace?: never;
|
|
2928
|
+
};
|
|
2929
|
+
'/v1/connectors/{vendor}/enable-drive-sync': {
|
|
2930
|
+
parameters: {
|
|
2931
|
+
query?: never;
|
|
2932
|
+
header?: never;
|
|
2933
|
+
path?: never;
|
|
2934
|
+
cookie?: never;
|
|
2935
|
+
};
|
|
2936
|
+
get?: never;
|
|
2937
|
+
put?: never;
|
|
2938
|
+
/**
|
|
2939
|
+
* Enable OneDrive sync for a vendor into a target workspace
|
|
2940
|
+
* @description Create or update the user's DriveSync row for this vendor.
|
|
2941
|
+
*
|
|
2942
|
+
* When the target workspace or folder selection changes, the affected folders'
|
|
2943
|
+
* delta cursors are cleared so they re-enumerate from scratch.
|
|
2944
|
+
*/
|
|
2945
|
+
post: operations['enable_drive_sync'];
|
|
2946
|
+
delete?: never;
|
|
2947
|
+
options?: never;
|
|
2948
|
+
head?: never;
|
|
2949
|
+
patch?: never;
|
|
2950
|
+
trace?: never;
|
|
2951
|
+
};
|
|
2952
|
+
'/v1/connectors/{vendor}/drive-sync': {
|
|
2953
|
+
parameters: {
|
|
2954
|
+
query?: never;
|
|
2955
|
+
header?: never;
|
|
2956
|
+
path?: never;
|
|
2957
|
+
cookie?: never;
|
|
2958
|
+
};
|
|
2959
|
+
get?: never;
|
|
2960
|
+
put?: never;
|
|
2961
|
+
/**
|
|
2962
|
+
* Trigger a OneDrive sync run in the background
|
|
2963
|
+
* @description Schedule a background drive sync. 404 if never enabled, 409 if not connected.
|
|
2964
|
+
*/
|
|
2965
|
+
post: operations['trigger_drive_sync'];
|
|
2966
|
+
delete?: never;
|
|
2967
|
+
options?: never;
|
|
2968
|
+
head?: never;
|
|
2969
|
+
patch?: never;
|
|
2970
|
+
trace?: never;
|
|
2971
|
+
};
|
|
2972
|
+
'/v1/connectors/{vendor}/drive-sync-estimate': {
|
|
2973
|
+
parameters: {
|
|
2974
|
+
query?: never;
|
|
2975
|
+
header?: never;
|
|
2976
|
+
path?: never;
|
|
2977
|
+
cookie?: never;
|
|
2978
|
+
};
|
|
2979
|
+
/**
|
|
2980
|
+
* Preview how many documents the next OneDrive sync would import
|
|
2981
|
+
* @description Best-effort count of new/changed OneDrive files the next Sync now would pull.
|
|
2982
|
+
*
|
|
2983
|
+
* Advisory only: any failure (not connected, token not bridged, provider error)
|
|
2984
|
+
* returns ``estimated_count=None`` with a 200 so the UI degrades quietly instead
|
|
2985
|
+
* of surfacing an error. 404 only when drive sync was never enabled.
|
|
2986
|
+
*/
|
|
2987
|
+
get: operations['drive_sync_estimate'];
|
|
2988
|
+
put?: never;
|
|
2989
|
+
post?: never;
|
|
2990
|
+
delete?: never;
|
|
2991
|
+
options?: never;
|
|
2992
|
+
head?: never;
|
|
2993
|
+
patch?: never;
|
|
2994
|
+
trace?: never;
|
|
2995
|
+
};
|
|
2996
|
+
'/v1/connectors/{vendor}/drive-sync-progress': {
|
|
2997
|
+
parameters: {
|
|
2998
|
+
query?: never;
|
|
2999
|
+
header?: never;
|
|
3000
|
+
path?: never;
|
|
3001
|
+
cookie?: never;
|
|
3002
|
+
};
|
|
3003
|
+
/**
|
|
3004
|
+
* Live progress of a running OneDrive sync
|
|
3005
|
+
* @description Current progress for this vendor's drive sync.
|
|
3006
|
+
*
|
|
3007
|
+
* ``running`` is False when nothing is in flight (no progress marker in Redis).
|
|
3008
|
+
*/
|
|
3009
|
+
get: operations['drive_sync_progress'];
|
|
3010
|
+
put?: never;
|
|
3011
|
+
post?: never;
|
|
3012
|
+
delete?: never;
|
|
3013
|
+
options?: never;
|
|
3014
|
+
head?: never;
|
|
3015
|
+
patch?: never;
|
|
3016
|
+
trace?: never;
|
|
3017
|
+
};
|
|
3018
|
+
'/v1/connectors/{vendor}/drive-sync/cancel': {
|
|
3019
|
+
parameters: {
|
|
3020
|
+
query?: never;
|
|
3021
|
+
header?: never;
|
|
3022
|
+
path?: never;
|
|
3023
|
+
cookie?: never;
|
|
3024
|
+
};
|
|
3025
|
+
get?: never;
|
|
3026
|
+
put?: never;
|
|
3027
|
+
/**
|
|
3028
|
+
* Request cancellation of a running OneDrive sync
|
|
3029
|
+
* @description Ask a running drive sync to stop at the next document boundary. Idempotent.
|
|
3030
|
+
*
|
|
3031
|
+
* Already-imported documents are kept; the run simply stops fetching more.
|
|
3032
|
+
*/
|
|
3033
|
+
post: operations['cancel_drive_sync'];
|
|
3034
|
+
delete?: never;
|
|
3035
|
+
options?: never;
|
|
3036
|
+
head?: never;
|
|
3037
|
+
patch?: never;
|
|
3038
|
+
trace?: never;
|
|
3039
|
+
};
|
|
2772
3040
|
'/v1/responses': {
|
|
2773
3041
|
parameters: {
|
|
2774
3042
|
query?: never;
|
|
@@ -2994,6 +3262,16 @@ interface components {
|
|
|
2994
3262
|
* @description Index of the step this nests under. Set on sub-agent steps (e.g. the web_search / read_url steps a deep_research run performs) so the frontend can render them indented beneath the parent tool step that spawned the sub-agent. None (absent) for top-level steps.
|
|
2995
3263
|
*/
|
|
2996
3264
|
parent_index?: number | null;
|
|
3265
|
+
/**
|
|
3266
|
+
* Subagent
|
|
3267
|
+
* @description The sub-agent handle (e.g. 'sub-2') this step belongs to. Set on every step relayed from a spawned child so the frontend can group concurrently-running sub-agents into their own live lanes, keyed by handle, instead of flattening them into the parent's timeline.
|
|
3268
|
+
*/
|
|
3269
|
+
subagent?: string | null;
|
|
3270
|
+
/**
|
|
3271
|
+
* Subagent Status
|
|
3272
|
+
* @description Lifecycle marker for a sub-agent lane: 'running' on the spawn step (carries the child's task in `content`), 'done'/'failed' on its completion. Absent on the child's own intermediate steps. Lets the frontend show each lane's status without inspecting its rows.
|
|
3273
|
+
*/
|
|
3274
|
+
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
2997
3275
|
/**
|
|
2998
3276
|
* Step
|
|
2999
3277
|
* @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
|
|
@@ -3758,7 +4036,7 @@ interface components {
|
|
|
3758
4036
|
* },
|
|
3759
4037
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
3760
4038
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
3761
|
-
* "API_TYPE": "
|
|
4039
|
+
* "API_TYPE": "local",
|
|
3762
4040
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
3763
4041
|
* }
|
|
3764
4042
|
*/
|
|
@@ -3779,7 +4057,7 @@ interface components {
|
|
|
3779
4057
|
/**
|
|
3780
4058
|
* @default {
|
|
3781
4059
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
3782
|
-
* "API_TYPE": "
|
|
4060
|
+
* "API_TYPE": "local",
|
|
3783
4061
|
* "BATCH_SIZE": 128,
|
|
3784
4062
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
3785
4063
|
* "DOCUMENT_PREFIX": "",
|
|
@@ -3985,6 +4263,34 @@ interface components {
|
|
|
3985
4263
|
/** Token */
|
|
3986
4264
|
token: string;
|
|
3987
4265
|
};
|
|
4266
|
+
/**
|
|
4267
|
+
* AuthMode
|
|
4268
|
+
* @description How a task's agent obtains the workspace key it needs to act — a per-task,
|
|
4269
|
+
* least-privilege authorization choice. See ``docs/agent_scheduler_design.md`` and
|
|
4270
|
+
* the per-tier threat model in ``src/core/agent_headless.py``.
|
|
4271
|
+
*
|
|
4272
|
+
* ``run_now_temp`` (default, tier 1) — RUN NOW with the owner present. The agent
|
|
4273
|
+
* has no standing key, so the run reuses the shipped **workspace-access-request**
|
|
4274
|
+
* flow: the agent asks the owner, who — being online — grants immediately via
|
|
4275
|
+
* the ordinary ``POST /v1/workspace/{id}/users`` (a temporary, session-scoped
|
|
4276
|
+
* key, or permanent, their choice). **No task-specific handshake** and, for a
|
|
4277
|
+
* temporary grant, no durable ``WorkspaceUsers`` membership. Least privilege:
|
|
4278
|
+
* a compromised agent host at rest holds no standing key.
|
|
4279
|
+
*
|
|
4280
|
+
* ``scheduled_require_auth`` (tier 2) — the SAME workspace-access-request flow, but
|
|
4281
|
+
* the owner grants whenever they get to it: the run does not proceed until a key
|
|
4282
|
+
* is granted, landing in a pending-auth state (``pending_auth_request_id``)
|
|
4283
|
+
* rather than running unauthorized.
|
|
4284
|
+
*
|
|
4285
|
+
* ``scheduled_permanent`` (tier 3, advanced) — standing ``WorkspaceUsers``
|
|
4286
|
+
* membership: the server can derive the workspace key from the agent's own
|
|
4287
|
+
* deployment-wrapped identity at any time, owner offline. Convenient for
|
|
4288
|
+
* unattended recurring runs, but the agent's environment can reach the
|
|
4289
|
+
* workspace key whenever it likes — an explicit "I trust this agent's
|
|
4290
|
+
* environment" opt-in, NOT the default.
|
|
4291
|
+
* @enum {string}
|
|
4292
|
+
*/
|
|
4293
|
+
AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
|
|
3988
4294
|
/**
|
|
3989
4295
|
* AuthResultMessage
|
|
3990
4296
|
* @description Server response to authentication.
|
|
@@ -4570,6 +4876,8 @@ interface components {
|
|
|
4570
4876
|
last_sync_at?: string | null;
|
|
4571
4877
|
/** Backfill Window */
|
|
4572
4878
|
backfill_window?: number | null;
|
|
4879
|
+
/** Backfill Since */
|
|
4880
|
+
backfill_since?: string | null;
|
|
4573
4881
|
/**
|
|
4574
4882
|
* Folders
|
|
4575
4883
|
* @default []
|
|
@@ -5031,6 +5339,8 @@ interface components {
|
|
|
5031
5339
|
skill_ref?: string | null;
|
|
5032
5340
|
/** Notify On Complete */
|
|
5033
5341
|
notify_on_complete?: boolean | null;
|
|
5342
|
+
/** @default run_now_temp */
|
|
5343
|
+
auth_mode: components['schemas']['AuthMode'];
|
|
5034
5344
|
/** Workspace Ext Id */
|
|
5035
5345
|
workspace_ext_id?: string | null;
|
|
5036
5346
|
/** Agent Ext Id */
|
|
@@ -5422,36 +5732,144 @@ interface components {
|
|
|
5422
5732
|
DEFAULT_METADATA_TAGS?: components['schemas']['TagTemplate'][];
|
|
5423
5733
|
};
|
|
5424
5734
|
/**
|
|
5425
|
-
*
|
|
5426
|
-
* @description
|
|
5427
|
-
* on/off toggle in the UI is a convenience that writes every field at once.
|
|
5735
|
+
* DriveFolderDocCountResponse
|
|
5736
|
+
* @description Recursive count of importable documents under a single OneDrive folder.
|
|
5428
5737
|
*/
|
|
5429
|
-
|
|
5738
|
+
DriveFolderDocCountResponse: {
|
|
5739
|
+
/** Count */
|
|
5740
|
+
count: number;
|
|
5741
|
+
};
|
|
5742
|
+
/** DriveSyncEstimateResponse */
|
|
5743
|
+
DriveSyncEstimateResponse: {
|
|
5744
|
+
/** Estimated Count */
|
|
5745
|
+
estimated_count?: number | null;
|
|
5746
|
+
};
|
|
5747
|
+
/**
|
|
5748
|
+
* DriveSyncProgressResponse
|
|
5749
|
+
* @description Live progress of a running OneDrive sync for this vendor.
|
|
5750
|
+
*/
|
|
5751
|
+
DriveSyncProgressResponse: {
|
|
5430
5752
|
/**
|
|
5431
|
-
*
|
|
5432
|
-
* @default
|
|
5753
|
+
* Running
|
|
5754
|
+
* @default false
|
|
5433
5755
|
*/
|
|
5434
|
-
|
|
5756
|
+
running: boolean;
|
|
5757
|
+
/** Phase */
|
|
5758
|
+
phase?: string | null;
|
|
5435
5759
|
/**
|
|
5436
|
-
*
|
|
5437
|
-
* @default
|
|
5760
|
+
* Processed
|
|
5761
|
+
* @default 0
|
|
5438
5762
|
*/
|
|
5439
|
-
|
|
5763
|
+
processed: number;
|
|
5764
|
+
/** Total */
|
|
5765
|
+
total?: number | null;
|
|
5766
|
+
summary?: components['schemas']['DriveSyncSummary'] | null;
|
|
5767
|
+
};
|
|
5768
|
+
/**
|
|
5769
|
+
* DriveSyncRead
|
|
5770
|
+
* @description Public shape for a DriveSync row returned by the enable-drive-sync endpoint.
|
|
5771
|
+
*/
|
|
5772
|
+
DriveSyncRead: {
|
|
5440
5773
|
/**
|
|
5441
|
-
*
|
|
5442
|
-
*
|
|
5774
|
+
* Id
|
|
5775
|
+
* Format: uuid
|
|
5443
5776
|
*/
|
|
5444
|
-
|
|
5777
|
+
id: string;
|
|
5778
|
+
/** Vendor Key */
|
|
5779
|
+
vendor_key: string;
|
|
5780
|
+
/** Target Workspace Id */
|
|
5781
|
+
target_workspace_id: number;
|
|
5782
|
+
/** Enabled */
|
|
5783
|
+
enabled: boolean;
|
|
5784
|
+
/** Status */
|
|
5785
|
+
status: string;
|
|
5445
5786
|
/**
|
|
5446
|
-
*
|
|
5447
|
-
* @default
|
|
5787
|
+
* Folders
|
|
5788
|
+
* @default []
|
|
5448
5789
|
*/
|
|
5449
|
-
|
|
5790
|
+
folders: string[];
|
|
5450
5791
|
/**
|
|
5451
|
-
*
|
|
5452
|
-
* @default
|
|
5792
|
+
* Skip Duplicates
|
|
5793
|
+
* @default false
|
|
5453
5794
|
*/
|
|
5454
|
-
|
|
5795
|
+
skip_duplicates: boolean;
|
|
5796
|
+
/**
|
|
5797
|
+
* Auto Rename
|
|
5798
|
+
* @default false
|
|
5799
|
+
*/
|
|
5800
|
+
auto_rename: boolean;
|
|
5801
|
+
/**
|
|
5802
|
+
* Shared
|
|
5803
|
+
* @default false
|
|
5804
|
+
*/
|
|
5805
|
+
shared: boolean;
|
|
5806
|
+
/** Last Sync At */
|
|
5807
|
+
last_sync_at?: string | null;
|
|
5808
|
+
};
|
|
5809
|
+
/**
|
|
5810
|
+
* DriveSyncSkippedFile
|
|
5811
|
+
* @description A file a finished run tried but couldn't import, with the reason why.
|
|
5812
|
+
*/
|
|
5813
|
+
DriveSyncSkippedFile: {
|
|
5814
|
+
/** Name */
|
|
5815
|
+
name: string;
|
|
5816
|
+
/** Reason */
|
|
5817
|
+
reason: string;
|
|
5818
|
+
};
|
|
5819
|
+
/**
|
|
5820
|
+
* DriveSyncSummary
|
|
5821
|
+
* @description Outcome of the most recently finished run, for a one-shot completion toast.
|
|
5822
|
+
*/
|
|
5823
|
+
DriveSyncSummary: {
|
|
5824
|
+
/** Finished At */
|
|
5825
|
+
finished_at: string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Ingested
|
|
5828
|
+
* @default 0
|
|
5829
|
+
*/
|
|
5830
|
+
ingested: number;
|
|
5831
|
+
/**
|
|
5832
|
+
* Attempted
|
|
5833
|
+
* @default 0
|
|
5834
|
+
*/
|
|
5835
|
+
attempted: number;
|
|
5836
|
+
/**
|
|
5837
|
+
* Skipped
|
|
5838
|
+
* @default []
|
|
5839
|
+
*/
|
|
5840
|
+
skipped: components['schemas']['DriveSyncSkippedFile'][];
|
|
5841
|
+
};
|
|
5842
|
+
/**
|
|
5843
|
+
* EmailNotificationSettings
|
|
5844
|
+
* @description Per-category email notification preferences. All default on; a master
|
|
5845
|
+
* on/off toggle in the UI is a convenience that writes every field at once.
|
|
5846
|
+
*/
|
|
5847
|
+
EmailNotificationSettings: {
|
|
5848
|
+
/**
|
|
5849
|
+
* Messages
|
|
5850
|
+
* @default true
|
|
5851
|
+
*/
|
|
5852
|
+
messages: boolean;
|
|
5853
|
+
/**
|
|
5854
|
+
* Workspace Added
|
|
5855
|
+
* @default true
|
|
5856
|
+
*/
|
|
5857
|
+
workspace_added: boolean;
|
|
5858
|
+
/**
|
|
5859
|
+
* Workspace Access Request
|
|
5860
|
+
* @default true
|
|
5861
|
+
*/
|
|
5862
|
+
workspace_access_request: boolean;
|
|
5863
|
+
/**
|
|
5864
|
+
* Contact Accepted
|
|
5865
|
+
* @default true
|
|
5866
|
+
*/
|
|
5867
|
+
contact_accepted: boolean;
|
|
5868
|
+
/**
|
|
5869
|
+
* Referral Reward
|
|
5870
|
+
* @default true
|
|
5871
|
+
*/
|
|
5872
|
+
referral_reward: boolean;
|
|
5455
5873
|
/**
|
|
5456
5874
|
* Product Updates
|
|
5457
5875
|
* @default true
|
|
@@ -5487,7 +5905,7 @@ interface components {
|
|
|
5487
5905
|
/**
|
|
5488
5906
|
* Api Type
|
|
5489
5907
|
* @description The inference type (local or remote).
|
|
5490
|
-
* @default
|
|
5908
|
+
* @default local
|
|
5491
5909
|
* @enum {string}
|
|
5492
5910
|
*/
|
|
5493
5911
|
API_TYPE: 'local' | 'remote';
|
|
@@ -5517,6 +5935,28 @@ interface components {
|
|
|
5517
5935
|
*/
|
|
5518
5936
|
QUERY_PREFIX: string;
|
|
5519
5937
|
};
|
|
5938
|
+
/** EnableDriveSyncRequest */
|
|
5939
|
+
EnableDriveSyncRequest: {
|
|
5940
|
+
/** Workspace Ext Id */
|
|
5941
|
+
workspace_ext_id: string;
|
|
5942
|
+
/** Folders */
|
|
5943
|
+
folders: string[];
|
|
5944
|
+
/**
|
|
5945
|
+
* Skip Duplicates
|
|
5946
|
+
* @default false
|
|
5947
|
+
*/
|
|
5948
|
+
skip_duplicates: boolean;
|
|
5949
|
+
/**
|
|
5950
|
+
* Auto Rename
|
|
5951
|
+
* @default false
|
|
5952
|
+
*/
|
|
5953
|
+
auto_rename: boolean;
|
|
5954
|
+
/**
|
|
5955
|
+
* Shared
|
|
5956
|
+
* @default false
|
|
5957
|
+
*/
|
|
5958
|
+
shared: boolean;
|
|
5959
|
+
};
|
|
5520
5960
|
/** EnableSyncRequest */
|
|
5521
5961
|
EnableSyncRequest: {
|
|
5522
5962
|
/** Workspace Ext Id */
|
|
@@ -5526,6 +5966,8 @@ interface components {
|
|
|
5526
5966
|
* @default 90
|
|
5527
5967
|
*/
|
|
5528
5968
|
backfill_window: number;
|
|
5969
|
+
/** Backfill Since */
|
|
5970
|
+
backfill_since?: string | null;
|
|
5529
5971
|
/** Folders */
|
|
5530
5972
|
folders: string[];
|
|
5531
5973
|
/**
|
|
@@ -5794,6 +6236,19 @@ interface components {
|
|
|
5794
6236
|
/** Count */
|
|
5795
6237
|
count?: number | null;
|
|
5796
6238
|
};
|
|
6239
|
+
/**
|
|
6240
|
+
* GenerateAgentAvatarRequest
|
|
6241
|
+
* @description Prompt for generating an agent avatar (usually composed from the persona).
|
|
6242
|
+
*/
|
|
6243
|
+
GenerateAgentAvatarRequest: {
|
|
6244
|
+
/** Prompt */
|
|
6245
|
+
prompt: string;
|
|
6246
|
+
};
|
|
6247
|
+
/** GenerateAgentAvatarResponse */
|
|
6248
|
+
GenerateAgentAvatarResponse: {
|
|
6249
|
+
/** Picture */
|
|
6250
|
+
picture: string;
|
|
6251
|
+
};
|
|
5797
6252
|
/**
|
|
5798
6253
|
* GenerateAnnotationsRequest
|
|
5799
6254
|
* @description Request to generate AI annotations for documents using tag instructions.
|
|
@@ -5855,7 +6310,7 @@ interface components {
|
|
|
5855
6310
|
icon: string;
|
|
5856
6311
|
/**
|
|
5857
6312
|
* Summary
|
|
5858
|
-
* @description Human-readable summary (e.g. '
|
|
6313
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '{doc-abc12345}')
|
|
5859
6314
|
*/
|
|
5860
6315
|
summary?: string | null;
|
|
5861
6316
|
};
|
|
@@ -6122,6 +6577,8 @@ interface components {
|
|
|
6122
6577
|
target_workspace_id: number;
|
|
6123
6578
|
/** Backfill Window */
|
|
6124
6579
|
backfill_window: number;
|
|
6580
|
+
/** Backfill Since */
|
|
6581
|
+
backfill_since?: string | null;
|
|
6125
6582
|
/** Backfill State */
|
|
6126
6583
|
backfill_state: string;
|
|
6127
6584
|
/** Enabled */
|
|
@@ -6800,7 +7257,7 @@ interface components {
|
|
|
6800
7257
|
* Type is self-descriptive, no need to parse content field.
|
|
6801
7258
|
* @enum {string}
|
|
6802
7259
|
*/
|
|
6803
|
-
NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'activity';
|
|
7260
|
+
NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity';
|
|
6804
7261
|
/**
|
|
6805
7262
|
* NotificationUpdate
|
|
6806
7263
|
* @description Single notification update for bulk PATCH.
|
|
@@ -7505,7 +7962,7 @@ interface components {
|
|
|
7505
7962
|
icon: string;
|
|
7506
7963
|
/**
|
|
7507
7964
|
* Summary
|
|
7508
|
-
* @description Human-readable summary (e.g. '
|
|
7965
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '{doc-abc12345} pp. 5–10')
|
|
7509
7966
|
*/
|
|
7510
7967
|
summary?: string | null;
|
|
7511
7968
|
};
|
|
@@ -7652,7 +8109,7 @@ interface components {
|
|
|
7652
8109
|
/**
|
|
7653
8110
|
* Api Type
|
|
7654
8111
|
* @description The inference type (local or remote).
|
|
7655
|
-
* @default
|
|
8112
|
+
* @default local
|
|
7656
8113
|
* @enum {string}
|
|
7657
8114
|
*/
|
|
7658
8115
|
API_TYPE: 'local' | 'remote';
|
|
@@ -8672,7 +9129,7 @@ interface components {
|
|
|
8672
9129
|
icon: string;
|
|
8673
9130
|
/**
|
|
8674
9131
|
* Summary
|
|
8675
|
-
* @description Human-readable summary (e.g. '
|
|
9132
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '"query" (hybrid)')
|
|
8676
9133
|
*/
|
|
8677
9134
|
summary?: string | null;
|
|
8678
9135
|
};
|
|
@@ -9214,10 +9671,21 @@ interface components {
|
|
|
9214
9671
|
active_run_id: string | null;
|
|
9215
9672
|
/** Agent Session */
|
|
9216
9673
|
agent_session: string | null;
|
|
9674
|
+
/** Active Response Id */
|
|
9675
|
+
active_response_id?: string | null;
|
|
9676
|
+
/** Active Conversation Ext Id */
|
|
9677
|
+
active_conversation_ext_id?: string | null;
|
|
9217
9678
|
/** Run Started At */
|
|
9218
9679
|
run_started_at: string | null;
|
|
9219
9680
|
/** Notify On Complete */
|
|
9220
9681
|
notify_on_complete: boolean;
|
|
9682
|
+
auth_mode: components['schemas']['AuthMode'];
|
|
9683
|
+
/** Pending Auth Request Id */
|
|
9684
|
+
pending_auth_request_id?: string | null;
|
|
9685
|
+
/** Pending Auth Session Pubkey */
|
|
9686
|
+
pending_auth_session_pubkey?: string | null;
|
|
9687
|
+
/** Pending Auth Agent Email */
|
|
9688
|
+
pending_auth_agent_email?: string | null;
|
|
9221
9689
|
/** Created By Kind */
|
|
9222
9690
|
created_by_kind: string;
|
|
9223
9691
|
/** Workspace Ext Id */
|
|
@@ -9524,6 +9992,15 @@ interface components {
|
|
|
9524
9992
|
* @enum {string}
|
|
9525
9993
|
*/
|
|
9526
9994
|
TriggerType: 'one_time' | 'recurring' | 'event';
|
|
9995
|
+
/**
|
|
9996
|
+
* UpdateAgentRequest
|
|
9997
|
+
* @description Mutable agent fields. Only appearance for now — identity (name/email/keys)
|
|
9998
|
+
* is server-managed and renames would break the derived agent email.
|
|
9999
|
+
*/
|
|
10000
|
+
UpdateAgentRequest: {
|
|
10001
|
+
/** Picture */
|
|
10002
|
+
picture?: string | null;
|
|
10003
|
+
};
|
|
9527
10004
|
/**
|
|
9528
10005
|
* UpdateDocTagRequest
|
|
9529
10006
|
* @description Update a doctag's note or citations. Identified by (tag_ext_id, doc_ext_id) pair.
|
|
@@ -9619,6 +10096,7 @@ interface components {
|
|
|
9619
10096
|
/** Notify On Complete */
|
|
9620
10097
|
notify_on_complete?: boolean | null;
|
|
9621
10098
|
status?: components['schemas']['TaskStatus'] | null;
|
|
10099
|
+
auth_mode?: components['schemas']['AuthMode'] | null;
|
|
9622
10100
|
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
9623
10101
|
};
|
|
9624
10102
|
/**
|
|
@@ -9744,6 +10222,8 @@ interface components {
|
|
|
9744
10222
|
last_sync_at?: string | null;
|
|
9745
10223
|
/** Backfill Window */
|
|
9746
10224
|
backfill_window?: number | null;
|
|
10225
|
+
/** Backfill Since */
|
|
10226
|
+
backfill_since?: string | null;
|
|
9747
10227
|
/** Sync Workspace Ext Id */
|
|
9748
10228
|
sync_workspace_ext_id?: string | null;
|
|
9749
10229
|
/** Sync Folders */
|
|
@@ -9752,6 +10232,22 @@ interface components {
|
|
|
9752
10232
|
skip_duplicates?: boolean | null;
|
|
9753
10233
|
/** Auto Rename */
|
|
9754
10234
|
auto_rename?: boolean | null;
|
|
10235
|
+
/** Drive Sync Status */
|
|
10236
|
+
drive_sync_status?: string | null;
|
|
10237
|
+
/** Drive Last Sync At */
|
|
10238
|
+
drive_last_sync_at?: string | null;
|
|
10239
|
+
/** Drive Sync Workspace Ext Id */
|
|
10240
|
+
drive_sync_workspace_ext_id?: string | null;
|
|
10241
|
+
/** Drive Sync Folders */
|
|
10242
|
+
drive_sync_folders?: string[] | null;
|
|
10243
|
+
/** Drive Skip Duplicates */
|
|
10244
|
+
drive_skip_duplicates?: boolean | null;
|
|
10245
|
+
/** Drive Auto Rename */
|
|
10246
|
+
drive_auto_rename?: boolean | null;
|
|
10247
|
+
/** Drive Shared */
|
|
10248
|
+
drive_shared?: boolean | null;
|
|
10249
|
+
/** Drive Needs Reconsent */
|
|
10250
|
+
drive_needs_reconsent?: boolean | null;
|
|
9755
10251
|
};
|
|
9756
10252
|
/**
|
|
9757
10253
|
* UserDailyUsageResponse
|
|
@@ -9987,9 +10483,24 @@ interface components {
|
|
|
9987
10483
|
show_agent_sessions: boolean;
|
|
9988
10484
|
/**
|
|
9989
10485
|
* Show Mcp Connectors
|
|
9990
|
-
* @default
|
|
10486
|
+
* @default true
|
|
9991
10487
|
*/
|
|
9992
10488
|
show_mcp_connectors: boolean;
|
|
10489
|
+
/**
|
|
10490
|
+
* Show Connector Microsoft
|
|
10491
|
+
* @default true
|
|
10492
|
+
*/
|
|
10493
|
+
show_connector_microsoft: boolean;
|
|
10494
|
+
/**
|
|
10495
|
+
* Show Connector Google
|
|
10496
|
+
* @default false
|
|
10497
|
+
*/
|
|
10498
|
+
show_connector_google: boolean;
|
|
10499
|
+
/**
|
|
10500
|
+
* Show Connector Imanage
|
|
10501
|
+
* @default false
|
|
10502
|
+
*/
|
|
10503
|
+
show_connector_imanage: boolean;
|
|
9993
10504
|
/**
|
|
9994
10505
|
* Show File Explorer
|
|
9995
10506
|
* @default false
|
|
@@ -10005,6 +10516,11 @@ interface components {
|
|
|
10005
10516
|
* @default false
|
|
10006
10517
|
*/
|
|
10007
10518
|
show_tasks: boolean;
|
|
10519
|
+
/**
|
|
10520
|
+
* Show Agent Builder
|
|
10521
|
+
* @default false
|
|
10522
|
+
*/
|
|
10523
|
+
show_agent_builder: boolean;
|
|
10008
10524
|
/** Dismissed Tips */
|
|
10009
10525
|
dismissed_tips?: string[];
|
|
10010
10526
|
/**
|
|
@@ -10073,12 +10589,20 @@ interface components {
|
|
|
10073
10589
|
show_agent_sessions?: boolean | null;
|
|
10074
10590
|
/** Show Mcp Connectors */
|
|
10075
10591
|
show_mcp_connectors?: boolean | null;
|
|
10592
|
+
/** Show Connector Microsoft */
|
|
10593
|
+
show_connector_microsoft?: boolean | null;
|
|
10594
|
+
/** Show Connector Google */
|
|
10595
|
+
show_connector_google?: boolean | null;
|
|
10596
|
+
/** Show Connector Imanage */
|
|
10597
|
+
show_connector_imanage?: boolean | null;
|
|
10076
10598
|
/** Show File Explorer */
|
|
10077
10599
|
show_file_explorer?: boolean | null;
|
|
10078
10600
|
/** Show Hints */
|
|
10079
10601
|
show_hints?: boolean | null;
|
|
10080
10602
|
/** Show Tasks */
|
|
10081
10603
|
show_tasks?: boolean | null;
|
|
10604
|
+
/** Show Agent Builder */
|
|
10605
|
+
show_agent_builder?: boolean | null;
|
|
10082
10606
|
/** Dismissed Tips */
|
|
10083
10607
|
dismissed_tips?: string[] | null;
|
|
10084
10608
|
/** Use S3 Direct Upload */
|
|
@@ -12934,6 +13458,37 @@ interface operations {
|
|
|
12934
13458
|
};
|
|
12935
13459
|
};
|
|
12936
13460
|
};
|
|
13461
|
+
watch_run: {
|
|
13462
|
+
parameters: {
|
|
13463
|
+
query?: never;
|
|
13464
|
+
header?: never;
|
|
13465
|
+
path: {
|
|
13466
|
+
response_id: string;
|
|
13467
|
+
};
|
|
13468
|
+
cookie?: never;
|
|
13469
|
+
};
|
|
13470
|
+
requestBody?: never;
|
|
13471
|
+
responses: {
|
|
13472
|
+
/** @description Successful Response */
|
|
13473
|
+
200: {
|
|
13474
|
+
headers: {
|
|
13475
|
+
[name: string]: unknown;
|
|
13476
|
+
};
|
|
13477
|
+
content: {
|
|
13478
|
+
'text/event-stream': unknown;
|
|
13479
|
+
};
|
|
13480
|
+
};
|
|
13481
|
+
/** @description Validation Error */
|
|
13482
|
+
422: {
|
|
13483
|
+
headers: {
|
|
13484
|
+
[name: string]: unknown;
|
|
13485
|
+
};
|
|
13486
|
+
content: {
|
|
13487
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
13488
|
+
};
|
|
13489
|
+
};
|
|
13490
|
+
};
|
|
13491
|
+
};
|
|
12937
13492
|
retrieve: {
|
|
12938
13493
|
parameters: {
|
|
12939
13494
|
query?: never;
|
|
@@ -13825,6 +14380,78 @@ interface operations {
|
|
|
13825
14380
|
};
|
|
13826
14381
|
};
|
|
13827
14382
|
};
|
|
14383
|
+
update_agent: {
|
|
14384
|
+
parameters: {
|
|
14385
|
+
query?: never;
|
|
14386
|
+
header?: never;
|
|
14387
|
+
path: {
|
|
14388
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
14389
|
+
agent_ext_id: string;
|
|
14390
|
+
};
|
|
14391
|
+
cookie?: never;
|
|
14392
|
+
};
|
|
14393
|
+
requestBody: {
|
|
14394
|
+
content: {
|
|
14395
|
+
'application/json': components['schemas']['UpdateAgentRequest'];
|
|
14396
|
+
};
|
|
14397
|
+
};
|
|
14398
|
+
responses: {
|
|
14399
|
+
/** @description Successful Response */
|
|
14400
|
+
200: {
|
|
14401
|
+
headers: {
|
|
14402
|
+
[name: string]: unknown;
|
|
14403
|
+
};
|
|
14404
|
+
content: {
|
|
14405
|
+
'application/json': components['schemas']['UserResponse'];
|
|
14406
|
+
};
|
|
14407
|
+
};
|
|
14408
|
+
/** @description Validation Error */
|
|
14409
|
+
422: {
|
|
14410
|
+
headers: {
|
|
14411
|
+
[name: string]: unknown;
|
|
14412
|
+
};
|
|
14413
|
+
content: {
|
|
14414
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14415
|
+
};
|
|
14416
|
+
};
|
|
14417
|
+
};
|
|
14418
|
+
};
|
|
14419
|
+
generate_agent_avatar: {
|
|
14420
|
+
parameters: {
|
|
14421
|
+
query?: never;
|
|
14422
|
+
header?: never;
|
|
14423
|
+
path: {
|
|
14424
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
14425
|
+
agent_ext_id: string;
|
|
14426
|
+
};
|
|
14427
|
+
cookie?: never;
|
|
14428
|
+
};
|
|
14429
|
+
requestBody: {
|
|
14430
|
+
content: {
|
|
14431
|
+
'application/json': components['schemas']['GenerateAgentAvatarRequest'];
|
|
14432
|
+
};
|
|
14433
|
+
};
|
|
14434
|
+
responses: {
|
|
14435
|
+
/** @description Successful Response */
|
|
14436
|
+
200: {
|
|
14437
|
+
headers: {
|
|
14438
|
+
[name: string]: unknown;
|
|
14439
|
+
};
|
|
14440
|
+
content: {
|
|
14441
|
+
'application/json': components['schemas']['GenerateAgentAvatarResponse'];
|
|
14442
|
+
};
|
|
14443
|
+
};
|
|
14444
|
+
/** @description Validation Error */
|
|
14445
|
+
422: {
|
|
14446
|
+
headers: {
|
|
14447
|
+
[name: string]: unknown;
|
|
14448
|
+
};
|
|
14449
|
+
content: {
|
|
14450
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14451
|
+
};
|
|
14452
|
+
};
|
|
14453
|
+
};
|
|
14454
|
+
};
|
|
13828
14455
|
list_tasks: {
|
|
13829
14456
|
parameters: {
|
|
13830
14457
|
query?: never;
|
|
@@ -14656,6 +15283,264 @@ interface operations {
|
|
|
14656
15283
|
};
|
|
14657
15284
|
};
|
|
14658
15285
|
};
|
|
15286
|
+
list_drive_folders: {
|
|
15287
|
+
parameters: {
|
|
15288
|
+
query?: never;
|
|
15289
|
+
header?: never;
|
|
15290
|
+
path: {
|
|
15291
|
+
vendor: components['schemas']['VendorKey'];
|
|
15292
|
+
};
|
|
15293
|
+
cookie?: never;
|
|
15294
|
+
};
|
|
15295
|
+
requestBody?: never;
|
|
15296
|
+
responses: {
|
|
15297
|
+
/** @description Successful Response */
|
|
15298
|
+
200: {
|
|
15299
|
+
headers: {
|
|
15300
|
+
[name: string]: unknown;
|
|
15301
|
+
};
|
|
15302
|
+
content: {
|
|
15303
|
+
'application/json': components['schemas']['FolderRead'][];
|
|
15304
|
+
};
|
|
15305
|
+
};
|
|
15306
|
+
/** @description Validation Error */
|
|
15307
|
+
422: {
|
|
15308
|
+
headers: {
|
|
15309
|
+
[name: string]: unknown;
|
|
15310
|
+
};
|
|
15311
|
+
content: {
|
|
15312
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15313
|
+
};
|
|
15314
|
+
};
|
|
15315
|
+
};
|
|
15316
|
+
};
|
|
15317
|
+
drive_folder_doc_count: {
|
|
15318
|
+
parameters: {
|
|
15319
|
+
query: {
|
|
15320
|
+
item_id: string;
|
|
15321
|
+
};
|
|
15322
|
+
header?: never;
|
|
15323
|
+
path: {
|
|
15324
|
+
vendor: components['schemas']['VendorKey'];
|
|
15325
|
+
};
|
|
15326
|
+
cookie?: never;
|
|
15327
|
+
};
|
|
15328
|
+
requestBody?: never;
|
|
15329
|
+
responses: {
|
|
15330
|
+
/** @description Successful Response */
|
|
15331
|
+
200: {
|
|
15332
|
+
headers: {
|
|
15333
|
+
[name: string]: unknown;
|
|
15334
|
+
};
|
|
15335
|
+
content: {
|
|
15336
|
+
'application/json': components['schemas']['DriveFolderDocCountResponse'];
|
|
15337
|
+
};
|
|
15338
|
+
};
|
|
15339
|
+
/** @description Validation Error */
|
|
15340
|
+
422: {
|
|
15341
|
+
headers: {
|
|
15342
|
+
[name: string]: unknown;
|
|
15343
|
+
};
|
|
15344
|
+
content: {
|
|
15345
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15346
|
+
};
|
|
15347
|
+
};
|
|
15348
|
+
};
|
|
15349
|
+
};
|
|
15350
|
+
drive_folder_children: {
|
|
15351
|
+
parameters: {
|
|
15352
|
+
query?: {
|
|
15353
|
+
item_id?: string;
|
|
15354
|
+
};
|
|
15355
|
+
header?: never;
|
|
15356
|
+
path: {
|
|
15357
|
+
vendor: components['schemas']['VendorKey'];
|
|
15358
|
+
};
|
|
15359
|
+
cookie?: never;
|
|
15360
|
+
};
|
|
15361
|
+
requestBody?: never;
|
|
15362
|
+
responses: {
|
|
15363
|
+
/** @description Successful Response */
|
|
15364
|
+
200: {
|
|
15365
|
+
headers: {
|
|
15366
|
+
[name: string]: unknown;
|
|
15367
|
+
};
|
|
15368
|
+
content: {
|
|
15369
|
+
'application/json': components['schemas']['FolderRead'][];
|
|
15370
|
+
};
|
|
15371
|
+
};
|
|
15372
|
+
/** @description Validation Error */
|
|
15373
|
+
422: {
|
|
15374
|
+
headers: {
|
|
15375
|
+
[name: string]: unknown;
|
|
15376
|
+
};
|
|
15377
|
+
content: {
|
|
15378
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15379
|
+
};
|
|
15380
|
+
};
|
|
15381
|
+
};
|
|
15382
|
+
};
|
|
15383
|
+
enable_drive_sync: {
|
|
15384
|
+
parameters: {
|
|
15385
|
+
query?: never;
|
|
15386
|
+
header?: never;
|
|
15387
|
+
path: {
|
|
15388
|
+
vendor: components['schemas']['VendorKey'];
|
|
15389
|
+
};
|
|
15390
|
+
cookie?: never;
|
|
15391
|
+
};
|
|
15392
|
+
requestBody: {
|
|
15393
|
+
content: {
|
|
15394
|
+
'application/json': components['schemas']['EnableDriveSyncRequest'];
|
|
15395
|
+
};
|
|
15396
|
+
};
|
|
15397
|
+
responses: {
|
|
15398
|
+
/** @description Successful Response */
|
|
15399
|
+
200: {
|
|
15400
|
+
headers: {
|
|
15401
|
+
[name: string]: unknown;
|
|
15402
|
+
};
|
|
15403
|
+
content: {
|
|
15404
|
+
'application/json': components['schemas']['DriveSyncRead'];
|
|
15405
|
+
};
|
|
15406
|
+
};
|
|
15407
|
+
/** @description Validation Error */
|
|
15408
|
+
422: {
|
|
15409
|
+
headers: {
|
|
15410
|
+
[name: string]: unknown;
|
|
15411
|
+
};
|
|
15412
|
+
content: {
|
|
15413
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15414
|
+
};
|
|
15415
|
+
};
|
|
15416
|
+
};
|
|
15417
|
+
};
|
|
15418
|
+
trigger_drive_sync: {
|
|
15419
|
+
parameters: {
|
|
15420
|
+
query?: never;
|
|
15421
|
+
header?: never;
|
|
15422
|
+
path: {
|
|
15423
|
+
vendor: components['schemas']['VendorKey'];
|
|
15424
|
+
};
|
|
15425
|
+
cookie?: never;
|
|
15426
|
+
};
|
|
15427
|
+
requestBody?: never;
|
|
15428
|
+
responses: {
|
|
15429
|
+
/** @description Successful Response */
|
|
15430
|
+
202: {
|
|
15431
|
+
headers: {
|
|
15432
|
+
[name: string]: unknown;
|
|
15433
|
+
};
|
|
15434
|
+
content: {
|
|
15435
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
15436
|
+
};
|
|
15437
|
+
};
|
|
15438
|
+
/** @description Validation Error */
|
|
15439
|
+
422: {
|
|
15440
|
+
headers: {
|
|
15441
|
+
[name: string]: unknown;
|
|
15442
|
+
};
|
|
15443
|
+
content: {
|
|
15444
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15445
|
+
};
|
|
15446
|
+
};
|
|
15447
|
+
};
|
|
15448
|
+
};
|
|
15449
|
+
drive_sync_estimate: {
|
|
15450
|
+
parameters: {
|
|
15451
|
+
query?: never;
|
|
15452
|
+
header?: never;
|
|
15453
|
+
path: {
|
|
15454
|
+
vendor: components['schemas']['VendorKey'];
|
|
15455
|
+
};
|
|
15456
|
+
cookie?: never;
|
|
15457
|
+
};
|
|
15458
|
+
requestBody?: never;
|
|
15459
|
+
responses: {
|
|
15460
|
+
/** @description Successful Response */
|
|
15461
|
+
200: {
|
|
15462
|
+
headers: {
|
|
15463
|
+
[name: string]: unknown;
|
|
15464
|
+
};
|
|
15465
|
+
content: {
|
|
15466
|
+
'application/json': components['schemas']['DriveSyncEstimateResponse'];
|
|
15467
|
+
};
|
|
15468
|
+
};
|
|
15469
|
+
/** @description Validation Error */
|
|
15470
|
+
422: {
|
|
15471
|
+
headers: {
|
|
15472
|
+
[name: string]: unknown;
|
|
15473
|
+
};
|
|
15474
|
+
content: {
|
|
15475
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15476
|
+
};
|
|
15477
|
+
};
|
|
15478
|
+
};
|
|
15479
|
+
};
|
|
15480
|
+
drive_sync_progress: {
|
|
15481
|
+
parameters: {
|
|
15482
|
+
query?: never;
|
|
15483
|
+
header?: never;
|
|
15484
|
+
path: {
|
|
15485
|
+
vendor: components['schemas']['VendorKey'];
|
|
15486
|
+
};
|
|
15487
|
+
cookie?: never;
|
|
15488
|
+
};
|
|
15489
|
+
requestBody?: never;
|
|
15490
|
+
responses: {
|
|
15491
|
+
/** @description Successful Response */
|
|
15492
|
+
200: {
|
|
15493
|
+
headers: {
|
|
15494
|
+
[name: string]: unknown;
|
|
15495
|
+
};
|
|
15496
|
+
content: {
|
|
15497
|
+
'application/json': components['schemas']['DriveSyncProgressResponse'];
|
|
15498
|
+
};
|
|
15499
|
+
};
|
|
15500
|
+
/** @description Validation Error */
|
|
15501
|
+
422: {
|
|
15502
|
+
headers: {
|
|
15503
|
+
[name: string]: unknown;
|
|
15504
|
+
};
|
|
15505
|
+
content: {
|
|
15506
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15507
|
+
};
|
|
15508
|
+
};
|
|
15509
|
+
};
|
|
15510
|
+
};
|
|
15511
|
+
cancel_drive_sync: {
|
|
15512
|
+
parameters: {
|
|
15513
|
+
query?: never;
|
|
15514
|
+
header?: never;
|
|
15515
|
+
path: {
|
|
15516
|
+
vendor: components['schemas']['VendorKey'];
|
|
15517
|
+
};
|
|
15518
|
+
cookie?: never;
|
|
15519
|
+
};
|
|
15520
|
+
requestBody?: never;
|
|
15521
|
+
responses: {
|
|
15522
|
+
/** @description Successful Response */
|
|
15523
|
+
202: {
|
|
15524
|
+
headers: {
|
|
15525
|
+
[name: string]: unknown;
|
|
15526
|
+
};
|
|
15527
|
+
content: {
|
|
15528
|
+
'application/json': {
|
|
15529
|
+
[key: string]: string;
|
|
15530
|
+
};
|
|
15531
|
+
};
|
|
15532
|
+
};
|
|
15533
|
+
/** @description Validation Error */
|
|
15534
|
+
422: {
|
|
15535
|
+
headers: {
|
|
15536
|
+
[name: string]: unknown;
|
|
15537
|
+
};
|
|
15538
|
+
content: {
|
|
15539
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15540
|
+
};
|
|
15541
|
+
};
|
|
15542
|
+
};
|
|
15543
|
+
};
|
|
14659
15544
|
create_response: {
|
|
14660
15545
|
parameters: {
|
|
14661
15546
|
query?: never;
|