@arbidocs/client 0.4.31 → 0.4.33
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.cjs +15 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +490 -100
- package/dist/index.d.ts +490 -100
- package/dist/index.js +15 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1728,7 +1728,7 @@ interface paths {
|
|
|
1728
1728
|
* Post Conversation Message
|
|
1729
1729
|
* @description Post a human message to a conversation WITHOUT running the assistant.
|
|
1730
1730
|
*
|
|
1731
|
-
* This is how people talk to each other in a
|
|
1731
|
+
* This is how people talk to each other in a shared conversation:
|
|
1732
1732
|
* the message is stored and shown, and no LLM run starts. To get an answer,
|
|
1733
1733
|
* @mention the assistant and send through ``POST /v1/assistant/query`` instead
|
|
1734
1734
|
* (with ``mentions``); that endpoint keeps streaming the reply as today.
|
|
@@ -1736,8 +1736,7 @@ interface paths {
|
|
|
1736
1736
|
* - ``mentions`` of people must name current members of the workspace (422
|
|
1737
1737
|
* otherwise). Mentioning someone in a conversation that is not shared yet
|
|
1738
1738
|
* shares it with the workspace, atomically with this post, and notifies them.
|
|
1739
|
-
* -
|
|
1740
|
-
* reply, so a reply-less comment would break that promise.
|
|
1739
|
+
* - Explicit human posts are accepted regardless of the legacy assistant mode.
|
|
1741
1740
|
* - Rejects (422) an assistant mention: that message is meant to run it.
|
|
1742
1741
|
*/
|
|
1743
1742
|
post: operations['post_conversation_message'];
|
|
@@ -1917,6 +1916,26 @@ interface paths {
|
|
|
1917
1916
|
patch?: never;
|
|
1918
1917
|
trace?: never;
|
|
1919
1918
|
};
|
|
1919
|
+
'/v1/conversation/{conversation_ext_id}/notify': {
|
|
1920
|
+
parameters: {
|
|
1921
|
+
query?: never;
|
|
1922
|
+
header?: never;
|
|
1923
|
+
path?: never;
|
|
1924
|
+
cookie?: never;
|
|
1925
|
+
};
|
|
1926
|
+
get?: never;
|
|
1927
|
+
put?: never;
|
|
1928
|
+
/**
|
|
1929
|
+
* Notify Collaborators
|
|
1930
|
+
* @description Notify workspace humans about this thread without assigning a reviewer or changing its status.
|
|
1931
|
+
*/
|
|
1932
|
+
post: operations['notify_conversation_collaborators'];
|
|
1933
|
+
delete?: never;
|
|
1934
|
+
options?: never;
|
|
1935
|
+
head?: never;
|
|
1936
|
+
patch?: never;
|
|
1937
|
+
trace?: never;
|
|
1938
|
+
};
|
|
1920
1939
|
'/v1/conversation/{conversation_ext_id}/pending-auth': {
|
|
1921
1940
|
parameters: {
|
|
1922
1941
|
query?: never;
|
|
@@ -2579,6 +2598,23 @@ interface paths {
|
|
|
2579
2598
|
patch?: never;
|
|
2580
2599
|
trace?: never;
|
|
2581
2600
|
};
|
|
2601
|
+
'/v1/workflow/{workflow_id}/runs': {
|
|
2602
|
+
parameters: {
|
|
2603
|
+
query?: never;
|
|
2604
|
+
header?: never;
|
|
2605
|
+
path?: never;
|
|
2606
|
+
cookie?: never;
|
|
2607
|
+
};
|
|
2608
|
+
/** List Workflow Runs */
|
|
2609
|
+
get: operations['list_workflow_runs_v1_workflow__workflow_id__runs_get'];
|
|
2610
|
+
put?: never;
|
|
2611
|
+
post?: never;
|
|
2612
|
+
delete?: never;
|
|
2613
|
+
options?: never;
|
|
2614
|
+
head?: never;
|
|
2615
|
+
patch?: never;
|
|
2616
|
+
trace?: never;
|
|
2617
|
+
};
|
|
2582
2618
|
'/v1/notifications/ws-schemas': {
|
|
2583
2619
|
parameters: {
|
|
2584
2620
|
query?: never;
|
|
@@ -3951,23 +3987,6 @@ interface paths {
|
|
|
3951
3987
|
patch?: never;
|
|
3952
3988
|
trace?: never;
|
|
3953
3989
|
};
|
|
3954
|
-
'/v1/mail/accounts/{account_id}/drafts': {
|
|
3955
|
-
parameters: {
|
|
3956
|
-
query?: never;
|
|
3957
|
-
header?: never;
|
|
3958
|
-
path?: never;
|
|
3959
|
-
cookie?: never;
|
|
3960
|
-
};
|
|
3961
|
-
get?: never;
|
|
3962
|
-
put?: never;
|
|
3963
|
-
/** Save Draft */
|
|
3964
|
-
post: operations['save_draft_v1_mail_accounts__account_id__drafts_post'];
|
|
3965
|
-
delete?: never;
|
|
3966
|
-
options?: never;
|
|
3967
|
-
head?: never;
|
|
3968
|
-
patch?: never;
|
|
3969
|
-
trace?: never;
|
|
3970
|
-
};
|
|
3971
3990
|
'/v1/mail/accounts/{account_id}/send': {
|
|
3972
3991
|
parameters: {
|
|
3973
3992
|
query?: never;
|
|
@@ -4070,6 +4089,43 @@ interface paths {
|
|
|
4070
4089
|
patch?: never;
|
|
4071
4090
|
trace?: never;
|
|
4072
4091
|
};
|
|
4092
|
+
'/v1/mail/accounts/{account_id}/drafts': {
|
|
4093
|
+
parameters: {
|
|
4094
|
+
query?: never;
|
|
4095
|
+
header?: never;
|
|
4096
|
+
path?: never;
|
|
4097
|
+
cookie?: never;
|
|
4098
|
+
};
|
|
4099
|
+
get?: never;
|
|
4100
|
+
put?: never;
|
|
4101
|
+
/** Save Draft */
|
|
4102
|
+
post: operations['save_draft_v1_mail_accounts__account_id__drafts_post'];
|
|
4103
|
+
delete?: never;
|
|
4104
|
+
options?: never;
|
|
4105
|
+
head?: never;
|
|
4106
|
+
patch?: never;
|
|
4107
|
+
trace?: never;
|
|
4108
|
+
};
|
|
4109
|
+
'/v1/mail/drafts': {
|
|
4110
|
+
parameters: {
|
|
4111
|
+
query?: never;
|
|
4112
|
+
header?: never;
|
|
4113
|
+
path?: never;
|
|
4114
|
+
cookie?: never;
|
|
4115
|
+
};
|
|
4116
|
+
get?: never;
|
|
4117
|
+
put?: never;
|
|
4118
|
+
/**
|
|
4119
|
+
* Save Native Draft
|
|
4120
|
+
* @description Short form of ``POST /accounts/native/drafts``: a draft in my own (or my owner's, for an agent) mailbox.
|
|
4121
|
+
*/
|
|
4122
|
+
post: operations['save_native_draft_v1_mail_drafts_post'];
|
|
4123
|
+
delete?: never;
|
|
4124
|
+
options?: never;
|
|
4125
|
+
head?: never;
|
|
4126
|
+
patch?: never;
|
|
4127
|
+
trace?: never;
|
|
4128
|
+
};
|
|
4073
4129
|
'/v1/mail/inbound': {
|
|
4074
4130
|
parameters: {
|
|
4075
4131
|
query?: never;
|
|
@@ -4230,7 +4286,7 @@ interface components {
|
|
|
4230
4286
|
* @description What happened to a task, in the order a person reads its history.
|
|
4231
4287
|
* @enum {string}
|
|
4232
4288
|
*/
|
|
4233
|
-
ActivityKind: 'created' | 'run_started' | 'awaiting_access' | 'access_granted' | 'ready_for_review' | 'handed_off' | 'changes_requested' | 'done' | 'reopened' | 'failed';
|
|
4289
|
+
ActivityKind: 'created' | 'run_started' | 'awaiting_access' | 'access_granted' | 'ready_for_review' | 'reviewed' | 'handed_off' | 'changes_requested' | 'done' | 'reopened' | 'failed' | 'participant_joined' | 'assistant_responded' | 'artifact_created' | 'artifact_edited' | 'document_added' | 'document_removed' | 'notified';
|
|
4234
4290
|
/**
|
|
4235
4291
|
* ActivityResponse
|
|
4236
4292
|
* @description One entry of ``GET /v1/conversation/{id}/activity``.
|
|
@@ -5074,7 +5130,7 @@ interface components {
|
|
|
5074
5130
|
* @default {
|
|
5075
5131
|
* "API_TYPE": "remote",
|
|
5076
5132
|
* "ENABLE_THINKING": false,
|
|
5077
|
-
* "MODEL_NAME": "
|
|
5133
|
+
* "MODEL_NAME": "dummy",
|
|
5078
5134
|
* "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
|
|
5079
5135
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
|
|
5080
5136
|
* "TEMPERATURE": 0.1,
|
|
@@ -5086,7 +5142,7 @@ interface components {
|
|
|
5086
5142
|
* @default {
|
|
5087
5143
|
* "API_TYPE": "remote",
|
|
5088
5144
|
* "ENABLE_THINKING": false,
|
|
5089
|
-
* "MODEL_NAME": "
|
|
5145
|
+
* "MODEL_NAME": "dummy",
|
|
5090
5146
|
* "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
|
|
5091
5147
|
* "TEMPERATURE": 0.1,
|
|
5092
5148
|
* "MAX_TOKENS": 0,
|
|
@@ -5098,7 +5154,7 @@ interface components {
|
|
|
5098
5154
|
* @default {
|
|
5099
5155
|
* "API_TYPE": "remote",
|
|
5100
5156
|
* "ENABLE_THINKING": false,
|
|
5101
|
-
* "MODEL_NAME": "
|
|
5157
|
+
* "MODEL_NAME": "dummy",
|
|
5102
5158
|
* "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
|
|
5103
5159
|
* "TEMPERATURE": 0.1,
|
|
5104
5160
|
* "MAX_TOKENS": 0,
|
|
@@ -5113,7 +5169,7 @@ interface components {
|
|
|
5113
5169
|
* @default {
|
|
5114
5170
|
* "API_TYPE": "remote",
|
|
5115
5171
|
* "ENABLE_THINKING": false,
|
|
5116
|
-
* "MODEL_NAME": "
|
|
5172
|
+
* "MODEL_NAME": "dummy",
|
|
5117
5173
|
* "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.\n\nOutput the title as plain text only. Do not use Markdown or any other formatting. Specifically:\n- Do not bold, italicize, or otherwise emphasize any part of the title.\n- Do not include asterisks (*), underscores (_), backticks (`), or other Markdown markers.\n- Do not prefix the title with bullets, dashes (-), or numbered/lettered enumeration (e.g. \"1.\", \"a)\").\n- Do not wrap the title in quotes or brackets.",
|
|
5118
5174
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 20,
|
|
5119
5175
|
* "TEMPERATURE": 0.3,
|
|
@@ -5125,7 +5181,7 @@ interface components {
|
|
|
5125
5181
|
* @default {
|
|
5126
5182
|
* "API_TYPE": "remote",
|
|
5127
5183
|
* "ENABLE_THINKING": false,
|
|
5128
|
-
* "MODEL_NAME": "
|
|
5184
|
+
* "MODEL_NAME": "dummy",
|
|
5129
5185
|
* "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
|
|
5130
5186
|
* "TEMPERATURE": 0.1,
|
|
5131
5187
|
* "MAX_TOKENS": 0,
|
|
@@ -5139,7 +5195,7 @@ interface components {
|
|
|
5139
5195
|
* @default {
|
|
5140
5196
|
* "API_TYPE": "remote",
|
|
5141
5197
|
* "ENABLE_THINKING": false,
|
|
5142
|
-
* "MODEL_NAME": "
|
|
5198
|
+
* "MODEL_NAME": "dummy",
|
|
5143
5199
|
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based on the document content.\n\nYour answers are displayed directly as cell values in a table, so keep every answer as short as possible.\n\nGuidelines:\n- Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as \"This document is...\" or \"The document describes...\". Good: \"German\". Bad: \"This document is written in German.\"\n- When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.\n- Answer from the document. Reasonable inferences are fine; if the document gives no basis for an answer, the value is null and sources is empty.\n- Follow the format instructions exactly for each answer.\n- Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.\n- Passages may be preceded by markers like [p3.2]: not document content. Cite them in \"sources\", never in a value.",
|
|
5144
5200
|
* "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
|
|
5145
5201
|
* "TEMPERATURE": 0.1,
|
|
@@ -5200,7 +5256,7 @@ interface components {
|
|
|
5200
5256
|
* @default {
|
|
5201
5257
|
* "API_TYPE": "remote",
|
|
5202
5258
|
* "ENABLE_THINKING": false,
|
|
5203
|
-
* "MODEL_NAME": "
|
|
5259
|
+
* "MODEL_NAME": "dummy",
|
|
5204
5260
|
* "TEMPERATURE": 0.3,
|
|
5205
5261
|
* "MAX_TOKENS": 0,
|
|
5206
5262
|
* "MAX_TOKEN_CONTEXT": 200000,
|
|
@@ -5212,7 +5268,7 @@ interface components {
|
|
|
5212
5268
|
* @default {
|
|
5213
5269
|
* "API_TYPE": "remote",
|
|
5214
5270
|
* "ENABLE_THINKING": true,
|
|
5215
|
-
* "MODEL_NAME": "
|
|
5271
|
+
* "MODEL_NAME": "dummy",
|
|
5216
5272
|
* "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_inside_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid). Use digest=true to extract learnings.\n- read_document: Read page ranges or entire documents. Use digest=true to extract learnings with citations.\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
|
|
5217
5273
|
* "TEMPERATURE": 0.3,
|
|
5218
5274
|
* "MAX_TOKENS": 0,
|
|
@@ -5225,7 +5281,7 @@ interface components {
|
|
|
5225
5281
|
* @default {
|
|
5226
5282
|
* "API_TYPE": "remote",
|
|
5227
5283
|
* "ENABLE_THINKING": false,
|
|
5228
|
-
* "MODEL_NAME": "
|
|
5284
|
+
* "MODEL_NAME": "dummy",
|
|
5229
5285
|
* "SYSTEM_INSTRUCTION": "You are a context selector. Given a user's query, conversation history, and a table of available documents, determine the user's goal and select relevant context.\n\n## Instructions\n\n1. **goal**: 1-2 concise sentences describing the user's intent AND your filtering rationale. Explain what documents are needed and why. Examples:\n - \"The user is greeting the assistant. No documents are needed.\"\n - \"The user wants to find force majeure clauses. Only the three contracts are relevant, so I will keep only those.\"\n - \"The user wants a full timeline of the case. Most documents are relevant, so I will drop only the unrelated procedural orders.\"\n\n2. **doc_filter_mode** and **doc_ids**: Select which documents the agent needs.\n - `\"keep\"` mode: `doc_ids` lists the ONLY docs to keep. Everything else is dropped.\n - `\"drop\"` mode: `doc_ids` lists the ONLY docs to drop. Everything else is kept.\n - Pick whichever mode produces the **shorter `doc_ids` list**.\n - Doc IDs are in the **Id** column of the Available Documents table (e.g. `\"doc-abc12345\"`). Copy them **exactly** from the table — do not invent, guess, or modify IDs.\n\n | Scenario | doc_filter_mode | doc_ids |\n |----------|----------------|---------|\n | Need ALL docs | `\"drop\"` | `[]` |\n | Need NO docs | `\"keep\"` | `[]` |\n | Need 3 of 100 docs | `\"keep\"` | `[\"id1\",\"id2\",\"id3\"]` |\n | Drop 3 of 100 docs | `\"drop\"` | `[\"id1\",\"id2\",\"id3\"]` |\n\n3. **chat_range_start** and **chat_range_end**: 0-based inclusive range of earlier history messages that provide relevant context. The last 3 messages are always included automatically. Set both to -1 if no earlier history is needed.\n\n## Rules\n\n- **Never repeat a doc ID.** Each ID must appear at most once.\n- Before writing `doc_ids`, count how many you would keep vs drop, then pick the shorter list.\n- Greetings or meta-questions about the assistant (e.g. \"hello\", \"who are you?\", \"what can you do?\"): the agent does NOT need any documents → `\"keep\"` with `[]`.\n- Ambiguous references like \"the document\" or \"this contract\" without specifying which: keep all → `\"drop\"` with `[]`.\n- For follow-up questions, include history messages that establish the topic.\n- Always return valid JSON matching the schema.",
|
|
5230
5286
|
* "TEMPERATURE": 0,
|
|
5231
5287
|
* "MAX_TOKENS": 0
|
|
@@ -5236,7 +5292,7 @@ interface components {
|
|
|
5236
5292
|
* @default {
|
|
5237
5293
|
* "API_TYPE": "remote",
|
|
5238
5294
|
* "ENABLE_THINKING": false,
|
|
5239
|
-
* "MODEL_NAME": "
|
|
5295
|
+
* "MODEL_NAME": "dummy",
|
|
5240
5296
|
* "TEMPERATURE": 0.1,
|
|
5241
5297
|
* "MAX_TOKENS": 0,
|
|
5242
5298
|
* "MAX_PAGES_PER_CALL": 5,
|
|
@@ -5257,7 +5313,7 @@ interface components {
|
|
|
5257
5313
|
* @default {
|
|
5258
5314
|
* "API_TYPE": "remote",
|
|
5259
5315
|
* "ENABLE_THINKING": true,
|
|
5260
|
-
* "MODEL_NAME": "
|
|
5316
|
+
* "MODEL_NAME": "",
|
|
5261
5317
|
* "SYSTEM_INSTRUCTION": "You are a code execution agent. You write and run code to accomplish tasks.\n\nYou have access to an execute_code tool that runs code in a sandboxed Docker container.\n\nThe sandbox has:\n- Python 3.12 with numpy, pandas, matplotlib, requests, beautifulsoup4,\n httpx, pillow, sympy, pyyaml (plus uv for installing more)\n- Node.js 22 with TypeScript (ts-node) and npm\n- Bash with git, curl, wget, jq, sqlite3, build-essential\n- Network access (can pip/npm install additional packages)\n\nInstructions:\n1. Write clean, correct code to accomplish the user's task\n2. Always call execute_code to run your code — never guess the output\n3. If execution errors, analyze the traceback, fix the code, and retry\n4. Once you have the correct output, respond with ONLY the final result\n\nKeep code simple and direct. Prefer Python unless the task specifically requires another language.",
|
|
5262
5318
|
* "TEMPERATURE": 0.2,
|
|
5263
5319
|
* "MAX_TOKENS": 0
|
|
@@ -5327,7 +5383,7 @@ interface components {
|
|
|
5327
5383
|
* },
|
|
5328
5384
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
5329
5385
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
5330
|
-
* "API_TYPE": "
|
|
5386
|
+
* "API_TYPE": "local",
|
|
5331
5387
|
* "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"
|
|
5332
5388
|
* }
|
|
5333
5389
|
*/
|
|
@@ -5348,7 +5404,7 @@ interface components {
|
|
|
5348
5404
|
/**
|
|
5349
5405
|
* @default {
|
|
5350
5406
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
5351
|
-
* "API_TYPE": "
|
|
5407
|
+
* "API_TYPE": "local",
|
|
5352
5408
|
* "BATCH_SIZE": 128,
|
|
5353
5409
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
5354
5410
|
* "DOCUMENT_PREFIX": "",
|
|
@@ -6098,7 +6154,7 @@ interface components {
|
|
|
6098
6154
|
/**
|
|
6099
6155
|
* Model Name
|
|
6100
6156
|
* @description Model for code generation. Should be a strong coding model.
|
|
6101
|
-
* @default
|
|
6157
|
+
* @default
|
|
6102
6158
|
*/
|
|
6103
6159
|
MODEL_NAME: string;
|
|
6104
6160
|
/**
|
|
@@ -6566,8 +6622,26 @@ interface components {
|
|
|
6566
6622
|
*/
|
|
6567
6623
|
conversations: components['schemas']['ImportedConversationInfo'][];
|
|
6568
6624
|
};
|
|
6625
|
+
/**
|
|
6626
|
+
* ConversationMessagePostedMessage
|
|
6627
|
+
* @description A saved human message; clients refetch the thread under their own access permissions.
|
|
6628
|
+
*/
|
|
6629
|
+
ConversationMessagePostedMessage: {
|
|
6630
|
+
/**
|
|
6631
|
+
* Type
|
|
6632
|
+
* @default conversation.message_posted
|
|
6633
|
+
* @constant
|
|
6634
|
+
*/
|
|
6635
|
+
type: 'conversation.message_posted';
|
|
6636
|
+
/** Conversation Ext Id */
|
|
6637
|
+
conversation_ext_id: string;
|
|
6638
|
+
/** Message Ext Id */
|
|
6639
|
+
message_ext_id: string;
|
|
6640
|
+
};
|
|
6569
6641
|
/** ConversationResponse */
|
|
6570
6642
|
ConversationResponse: {
|
|
6643
|
+
/** Label Ext Ids */
|
|
6644
|
+
label_ext_ids?: string[];
|
|
6571
6645
|
/** External Id */
|
|
6572
6646
|
external_id: string;
|
|
6573
6647
|
/** Title */
|
|
@@ -6593,6 +6667,13 @@ interface components {
|
|
|
6593
6667
|
is_shared: boolean;
|
|
6594
6668
|
/** Message Count */
|
|
6595
6669
|
message_count: number;
|
|
6670
|
+
last_message_actor?: components['schemas']['ConversationTurnActor'] | null;
|
|
6671
|
+
/** Last Message Ext Id */
|
|
6672
|
+
last_message_ext_id?: string | null;
|
|
6673
|
+
/** Last Message Role */
|
|
6674
|
+
last_message_role?: string | null;
|
|
6675
|
+
/** Last Message Updated At */
|
|
6676
|
+
last_message_updated_at?: string | null;
|
|
6596
6677
|
/** Last Message Status */
|
|
6597
6678
|
last_message_status?: string | null;
|
|
6598
6679
|
/** @default always */
|
|
@@ -6719,6 +6800,22 @@ interface components {
|
|
|
6719
6800
|
/** Title */
|
|
6720
6801
|
title: string;
|
|
6721
6802
|
};
|
|
6803
|
+
/**
|
|
6804
|
+
* ConversationTurnActor
|
|
6805
|
+
* @description Basic profile of a speaker on an RLS-visible conversation; no settings or credentials.
|
|
6806
|
+
*/
|
|
6807
|
+
ConversationTurnActor: {
|
|
6808
|
+
/** External Id */
|
|
6809
|
+
external_id: string;
|
|
6810
|
+
/** Given Name */
|
|
6811
|
+
given_name: string;
|
|
6812
|
+
/** Family Name */
|
|
6813
|
+
family_name?: string | null;
|
|
6814
|
+
/** Picture */
|
|
6815
|
+
picture?: string | null;
|
|
6816
|
+
/** Parent Ext Id */
|
|
6817
|
+
parent_ext_id?: string | null;
|
|
6818
|
+
};
|
|
6722
6819
|
/**
|
|
6723
6820
|
* CopyDocumentResult
|
|
6724
6821
|
* @description Outcome of copying ONE selected item.
|
|
@@ -7058,6 +7155,7 @@ interface components {
|
|
|
7058
7155
|
* @default false
|
|
7059
7156
|
*/
|
|
7060
7157
|
on_demand: boolean;
|
|
7158
|
+
action?: components['schemas']['DocumentAutomationAction'] | null;
|
|
7061
7159
|
/**
|
|
7062
7160
|
* Prompt
|
|
7063
7161
|
* @default
|
|
@@ -7421,7 +7519,7 @@ interface components {
|
|
|
7421
7519
|
/**
|
|
7422
7520
|
* Model Name
|
|
7423
7521
|
* @description The name of the non-reasoning model to be used.
|
|
7424
|
-
* @default
|
|
7522
|
+
* @default dummy
|
|
7425
7523
|
*/
|
|
7426
7524
|
MODEL_NAME: string;
|
|
7427
7525
|
/**
|
|
@@ -7501,6 +7599,34 @@ interface components {
|
|
|
7501
7599
|
*/
|
|
7502
7600
|
DEFAULT_METADATA_TAGS?: components['schemas']['TagTemplate'][];
|
|
7503
7601
|
};
|
|
7602
|
+
/** DocumentAutomationAction */
|
|
7603
|
+
DocumentAutomationAction: {
|
|
7604
|
+
/**
|
|
7605
|
+
* Type
|
|
7606
|
+
* @enum {string}
|
|
7607
|
+
*/
|
|
7608
|
+
type: 'annotate_documents' | 'email_documents';
|
|
7609
|
+
documents?: components['schemas']['DocumentSelector'];
|
|
7610
|
+
/** Tag Ext Ids */
|
|
7611
|
+
tag_ext_ids?: string[];
|
|
7612
|
+
/**
|
|
7613
|
+
* Overwrite
|
|
7614
|
+
* @default false
|
|
7615
|
+
*/
|
|
7616
|
+
overwrite: boolean;
|
|
7617
|
+
};
|
|
7618
|
+
/** DocumentSelector */
|
|
7619
|
+
DocumentSelector: {
|
|
7620
|
+
/** Doc Ext Ids */
|
|
7621
|
+
doc_ext_ids?: string[];
|
|
7622
|
+
/** Label Ext Ids */
|
|
7623
|
+
label_ext_ids?: string[];
|
|
7624
|
+
/**
|
|
7625
|
+
* Latest
|
|
7626
|
+
* @default false
|
|
7627
|
+
*/
|
|
7628
|
+
latest: boolean;
|
|
7629
|
+
};
|
|
7504
7630
|
/** DocxAgentRequest */
|
|
7505
7631
|
DocxAgentRequest: {
|
|
7506
7632
|
/** Comment Id */
|
|
@@ -7691,7 +7817,7 @@ interface components {
|
|
|
7691
7817
|
/**
|
|
7692
7818
|
* Api Type
|
|
7693
7819
|
* @description The inference type (local or remote).
|
|
7694
|
-
* @default
|
|
7820
|
+
* @default local
|
|
7695
7821
|
* @enum {string}
|
|
7696
7822
|
*/
|
|
7697
7823
|
API_TYPE: 'local' | 'remote';
|
|
@@ -7836,7 +7962,7 @@ interface components {
|
|
|
7836
7962
|
/**
|
|
7837
7963
|
* Model Name
|
|
7838
7964
|
* @description The name of the non-reasoning model to be used.
|
|
7839
|
-
* @default
|
|
7965
|
+
* @default dummy
|
|
7840
7966
|
*/
|
|
7841
7967
|
MODEL_NAME: string;
|
|
7842
7968
|
/**
|
|
@@ -8097,7 +8223,7 @@ interface components {
|
|
|
8097
8223
|
/**
|
|
8098
8224
|
* Model Name
|
|
8099
8225
|
* @description The name of the non-reasoning model to be used.
|
|
8100
|
-
* @default
|
|
8226
|
+
* @default dummy
|
|
8101
8227
|
*/
|
|
8102
8228
|
MODEL_NAME: string;
|
|
8103
8229
|
/**
|
|
@@ -8706,6 +8832,82 @@ interface components {
|
|
|
8706
8832
|
/** Access */
|
|
8707
8833
|
access: string;
|
|
8708
8834
|
};
|
|
8835
|
+
/** MailDraftSaved */
|
|
8836
|
+
MailDraftSaved: {
|
|
8837
|
+
/** Id */
|
|
8838
|
+
id: string;
|
|
8839
|
+
};
|
|
8840
|
+
/** MailFolder */
|
|
8841
|
+
MailFolder: {
|
|
8842
|
+
/** Id */
|
|
8843
|
+
id: string;
|
|
8844
|
+
/** Name */
|
|
8845
|
+
name: string;
|
|
8846
|
+
/** Role */
|
|
8847
|
+
role?: string | null;
|
|
8848
|
+
/**
|
|
8849
|
+
* Unread
|
|
8850
|
+
* @default 0
|
|
8851
|
+
*/
|
|
8852
|
+
unread: number;
|
|
8853
|
+
};
|
|
8854
|
+
/** MailMessage */
|
|
8855
|
+
MailMessage: {
|
|
8856
|
+
/**
|
|
8857
|
+
* Secure Delivery
|
|
8858
|
+
* @default false
|
|
8859
|
+
*/
|
|
8860
|
+
secure_delivery: boolean;
|
|
8861
|
+
/** Id */
|
|
8862
|
+
id: string;
|
|
8863
|
+
/**
|
|
8864
|
+
* Subject
|
|
8865
|
+
* @default
|
|
8866
|
+
*/
|
|
8867
|
+
subject: string;
|
|
8868
|
+
/** Sender */
|
|
8869
|
+
sender?: components['schemas']['MailAddress'][];
|
|
8870
|
+
/** To */
|
|
8871
|
+
to?: components['schemas']['MailAddress'][];
|
|
8872
|
+
/** Cc */
|
|
8873
|
+
cc?: components['schemas']['MailAddress'][];
|
|
8874
|
+
/** Bcc */
|
|
8875
|
+
bcc?: components['schemas']['MailAddress'][];
|
|
8876
|
+
/** Received At */
|
|
8877
|
+
received_at?: string | null;
|
|
8878
|
+
/**
|
|
8879
|
+
* Preview
|
|
8880
|
+
* @default
|
|
8881
|
+
*/
|
|
8882
|
+
preview: string;
|
|
8883
|
+
/**
|
|
8884
|
+
* Unread
|
|
8885
|
+
* @default false
|
|
8886
|
+
*/
|
|
8887
|
+
unread: boolean;
|
|
8888
|
+
/**
|
|
8889
|
+
* Text
|
|
8890
|
+
* @default
|
|
8891
|
+
*/
|
|
8892
|
+
text: string;
|
|
8893
|
+
/** Html */
|
|
8894
|
+
html?: string | null;
|
|
8895
|
+
/** Message Id */
|
|
8896
|
+
message_id?: string | null;
|
|
8897
|
+
/** References */
|
|
8898
|
+
references?: string[];
|
|
8899
|
+
/** Attachments */
|
|
8900
|
+
attachments?: components['schemas']['MailAttachment'][];
|
|
8901
|
+
/** Drafted By */
|
|
8902
|
+
drafted_by?: string | null;
|
|
8903
|
+
};
|
|
8904
|
+
/** MailMessagePage */
|
|
8905
|
+
MailMessagePage: {
|
|
8906
|
+
/** Messages */
|
|
8907
|
+
messages: components['schemas']['MailMessage'][];
|
|
8908
|
+
/** Next Cursor */
|
|
8909
|
+
next_cursor?: string | null;
|
|
8910
|
+
};
|
|
8709
8911
|
/** MailMessageUpdate */
|
|
8710
8912
|
MailMessageUpdate: {
|
|
8711
8913
|
/** Unread */
|
|
@@ -8715,6 +8917,26 @@ interface components {
|
|
|
8715
8917
|
/** Action */
|
|
8716
8918
|
action?: 'trash' | null;
|
|
8717
8919
|
};
|
|
8920
|
+
/**
|
|
8921
|
+
* MailPolicyRead
|
|
8922
|
+
* @description What this deployment allows: native mail, OAuth providers and approved mail servers.
|
|
8923
|
+
*/
|
|
8924
|
+
MailPolicyRead: {
|
|
8925
|
+
/** Enabled */
|
|
8926
|
+
enabled: boolean;
|
|
8927
|
+
/** Native Enabled */
|
|
8928
|
+
native_enabled: boolean;
|
|
8929
|
+
/** Native Domain */
|
|
8930
|
+
native_domain: string;
|
|
8931
|
+
/** Enabled Providers */
|
|
8932
|
+
enabled_providers: string[];
|
|
8933
|
+
/** Oauth Providers */
|
|
8934
|
+
oauth_providers: string[];
|
|
8935
|
+
/** Max Attachment Bytes */
|
|
8936
|
+
max_attachment_bytes: number;
|
|
8937
|
+
/** Server Profiles */
|
|
8938
|
+
server_profiles: components['schemas']['MailServerProfileRead'][];
|
|
8939
|
+
};
|
|
8718
8940
|
/** MailSend */
|
|
8719
8941
|
MailSend: {
|
|
8720
8942
|
/** Html */
|
|
@@ -8754,6 +8976,22 @@ interface components {
|
|
|
8754
8976
|
*/
|
|
8755
8977
|
request_id: string;
|
|
8756
8978
|
};
|
|
8979
|
+
/** MailSendResult */
|
|
8980
|
+
MailSendResult: {
|
|
8981
|
+
/** Id */
|
|
8982
|
+
id: string;
|
|
8983
|
+
/** Status */
|
|
8984
|
+
status: string;
|
|
8985
|
+
};
|
|
8986
|
+
/** MailServerProfileRead */
|
|
8987
|
+
MailServerProfileRead: {
|
|
8988
|
+
/** Id */
|
|
8989
|
+
id: string;
|
|
8990
|
+
/** Name */
|
|
8991
|
+
name: string;
|
|
8992
|
+
/** Provider */
|
|
8993
|
+
provider: string;
|
|
8994
|
+
};
|
|
8757
8995
|
/**
|
|
8758
8996
|
* MailboxSyncRead
|
|
8759
8997
|
* @description Public shape for a MailboxSync row returned by the enable-sync endpoint.
|
|
@@ -8851,7 +9089,7 @@ interface components {
|
|
|
8851
9089
|
/**
|
|
8852
9090
|
* Model Name
|
|
8853
9091
|
* @description The model for note consolidation. Defaults to reasoning model.
|
|
8854
|
-
* @default
|
|
9092
|
+
* @default dummy
|
|
8855
9093
|
*/
|
|
8856
9094
|
MODEL_NAME: string;
|
|
8857
9095
|
/**
|
|
@@ -9354,6 +9592,11 @@ interface components {
|
|
|
9354
9592
|
/** Premium Default */
|
|
9355
9593
|
premium_default?: string | null;
|
|
9356
9594
|
};
|
|
9595
|
+
/** NativeAliasRead */
|
|
9596
|
+
NativeAliasRead: {
|
|
9597
|
+
/** Email */
|
|
9598
|
+
email: string;
|
|
9599
|
+
};
|
|
9357
9600
|
/** NativeAliasRequest */
|
|
9358
9601
|
NativeAliasRequest: {
|
|
9359
9602
|
/** Alias */
|
|
@@ -9442,7 +9685,7 @@ interface components {
|
|
|
9442
9685
|
* Type is self-descriptive, no need to parse content field.
|
|
9443
9686
|
* @enum {string}
|
|
9444
9687
|
*/
|
|
9445
|
-
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' | 'native_mail_received' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'docx_mention' | 'workspace_access_request' | 'conversation_ready_for_review' | 'conversation_done' | 'conversation_approval_request' | 'workflow_failed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity' | 'mention';
|
|
9688
|
+
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' | 'native_mail_received' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'docx_mention' | 'workspace_access_request' | 'conversation_ready_for_review' | 'conversation_done' | 'conversation_approval_request' | 'conversation_notified' | 'workflow_failed' | 'agent_input_requested' | 'workflow_completed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity' | 'mention';
|
|
9446
9689
|
/**
|
|
9447
9690
|
* NotificationUpdate
|
|
9448
9691
|
* @description Single notification update for bulk PATCH.
|
|
@@ -9459,6 +9702,11 @@ interface components {
|
|
|
9459
9702
|
/** Read */
|
|
9460
9703
|
read?: boolean | null;
|
|
9461
9704
|
};
|
|
9705
|
+
/** NotifyConversationRequest */
|
|
9706
|
+
NotifyConversationRequest: {
|
|
9707
|
+
/** User Ext Ids */
|
|
9708
|
+
user_ext_ids: string[];
|
|
9709
|
+
};
|
|
9462
9710
|
/**
|
|
9463
9711
|
* OutputMessage
|
|
9464
9712
|
* @description A `message` output_item — assistant text (Responses-standard).
|
|
@@ -9726,7 +9974,7 @@ interface components {
|
|
|
9726
9974
|
/**
|
|
9727
9975
|
* Model Name
|
|
9728
9976
|
* @description The model for plan generation. Defaults to reasoning model.
|
|
9729
|
-
* @default
|
|
9977
|
+
* @default dummy
|
|
9730
9978
|
*/
|
|
9731
9979
|
MODEL_NAME: string;
|
|
9732
9980
|
/**
|
|
@@ -10161,7 +10409,7 @@ interface components {
|
|
|
10161
10409
|
/**
|
|
10162
10410
|
* Model Name
|
|
10163
10411
|
* @description The model for query answering.
|
|
10164
|
-
* @default
|
|
10412
|
+
* @default dummy
|
|
10165
10413
|
*/
|
|
10166
10414
|
MODEL_NAME: string;
|
|
10167
10415
|
/**
|
|
@@ -10423,6 +10671,11 @@ interface components {
|
|
|
10423
10671
|
* @default
|
|
10424
10672
|
*/
|
|
10425
10673
|
note: string;
|
|
10674
|
+
/**
|
|
10675
|
+
* Approve Current
|
|
10676
|
+
* @default false
|
|
10677
|
+
*/
|
|
10678
|
+
approve_current: boolean;
|
|
10426
10679
|
};
|
|
10427
10680
|
/**
|
|
10428
10681
|
* RequestDeletionResponse
|
|
@@ -10499,7 +10752,7 @@ interface components {
|
|
|
10499
10752
|
/**
|
|
10500
10753
|
* Api Type
|
|
10501
10754
|
* @description The inference type (local or remote).
|
|
10502
|
-
* @default
|
|
10755
|
+
* @default local
|
|
10503
10756
|
* @enum {string}
|
|
10504
10757
|
*/
|
|
10505
10758
|
API_TYPE: 'local' | 'remote';
|
|
@@ -10550,6 +10803,8 @@ interface components {
|
|
|
10550
10803
|
conversation_ext_id?: string | null;
|
|
10551
10804
|
/** User Message Id */
|
|
10552
10805
|
user_message_id?: string | null;
|
|
10806
|
+
/** Doc Ext Ids */
|
|
10807
|
+
doc_ext_ids?: string[];
|
|
10553
10808
|
};
|
|
10554
10809
|
/**
|
|
10555
10810
|
* ResponseCompletedEvent
|
|
@@ -11287,7 +11542,7 @@ interface components {
|
|
|
11287
11542
|
/**
|
|
11288
11543
|
* Model Name
|
|
11289
11544
|
* @description The model for reviewing agent draft answers. Defaults to reasoning model.
|
|
11290
|
-
* @default
|
|
11545
|
+
* @default dummy
|
|
11291
11546
|
*/
|
|
11292
11547
|
MODEL_NAME: string;
|
|
11293
11548
|
/**
|
|
@@ -11976,7 +12231,7 @@ interface components {
|
|
|
11976
12231
|
/**
|
|
11977
12232
|
* Model Name
|
|
11978
12233
|
* @description The model for conversation summarisation. Defaults to reasoning model.
|
|
11979
|
-
* @default
|
|
12234
|
+
* @default dummy
|
|
11980
12235
|
*/
|
|
11981
12236
|
MODEL_NAME: string;
|
|
11982
12237
|
/**
|
|
@@ -12322,7 +12577,7 @@ interface components {
|
|
|
12322
12577
|
/**
|
|
12323
12578
|
* Model Name
|
|
12324
12579
|
* @description The name of the non-reasoning model to be used.
|
|
12325
|
-
* @default
|
|
12580
|
+
* @default dummy
|
|
12326
12581
|
*/
|
|
12327
12582
|
MODEL_NAME: string;
|
|
12328
12583
|
/**
|
|
@@ -12521,16 +12776,12 @@ interface components {
|
|
|
12521
12776
|
/** Picture */
|
|
12522
12777
|
picture?: string | null;
|
|
12523
12778
|
};
|
|
12524
|
-
/**
|
|
12525
|
-
* UpdateConversationRequest
|
|
12526
|
-
* @description ``PATCH /v1/conversation/{id}`` — every field optional; only the ones sent change.
|
|
12527
|
-
*
|
|
12528
|
-
* ``shared`` is owner only. ``status`` accepts ``todo`` and ``done`` only: ``done`` is human-only
|
|
12529
|
-
* (by the sign-off person) and ``todo`` reopens; ``generating`` / ``ready_for_review`` are set
|
|
12530
|
-
* only by runs and review. ``parent_conversation_ext_id`` is cycle-checked; send ``null`` to
|
|
12531
|
-
* detach. ``signoff_user_ext_id`` must be a human who can edit the workspace.
|
|
12532
|
-
*/
|
|
12779
|
+
/** UpdateConversationRequest */
|
|
12533
12780
|
UpdateConversationRequest: {
|
|
12781
|
+
/** Add Label Ext Ids */
|
|
12782
|
+
add_label_ext_ids?: string[];
|
|
12783
|
+
/** Remove Label Ext Ids */
|
|
12784
|
+
remove_label_ext_ids?: string[];
|
|
12534
12785
|
/** Title */
|
|
12535
12786
|
title?: string | null;
|
|
12536
12787
|
/** Shared */
|
|
@@ -12673,6 +12924,7 @@ interface components {
|
|
|
12673
12924
|
after_conversation_ext_id?: string | null;
|
|
12674
12925
|
/** On Demand */
|
|
12675
12926
|
on_demand?: boolean | null;
|
|
12927
|
+
action?: components['schemas']['DocumentAutomationAction'] | null;
|
|
12676
12928
|
/** Prompt */
|
|
12677
12929
|
prompt?: string | null;
|
|
12678
12930
|
/** Skill Ref */
|
|
@@ -13308,7 +13560,7 @@ interface components {
|
|
|
13308
13560
|
/**
|
|
13309
13561
|
* Model Name
|
|
13310
13562
|
* @description The vision-capable model name (must support image inputs).
|
|
13311
|
-
* @default
|
|
13563
|
+
* @default dummy
|
|
13312
13564
|
*/
|
|
13313
13565
|
MODEL_NAME: string;
|
|
13314
13566
|
/**
|
|
@@ -13383,6 +13635,7 @@ interface components {
|
|
|
13383
13635
|
batch_complete?: components['schemas']['BatchCompleteMessage'] | null;
|
|
13384
13636
|
response_complete?: components['schemas']['ResponseCompleteMessage'] | null;
|
|
13385
13637
|
conversation_title_updated?: components['schemas']['ConversationTitleUpdatedMessage'] | null;
|
|
13638
|
+
conversation_message_posted?: components['schemas']['ConversationMessagePostedMessage'] | null;
|
|
13386
13639
|
skills_updated?: components['schemas']['SkillsUpdatedMessage'] | null;
|
|
13387
13640
|
remote_control?: components['schemas']['RemoteControlMessage'] | null;
|
|
13388
13641
|
notification?: components['schemas']['NotificationResponse'] | null;
|
|
@@ -13445,6 +13698,7 @@ interface components {
|
|
|
13445
13698
|
* @default false
|
|
13446
13699
|
*/
|
|
13447
13700
|
on_demand: boolean;
|
|
13701
|
+
action?: components['schemas']['DocumentAutomationAction'] | null;
|
|
13448
13702
|
/**
|
|
13449
13703
|
* Prompt
|
|
13450
13704
|
* @default
|
|
@@ -13468,6 +13722,8 @@ interface components {
|
|
|
13468
13722
|
last_fired_at?: string | null;
|
|
13469
13723
|
/** Last Error */
|
|
13470
13724
|
last_error?: string | null;
|
|
13725
|
+
/** Last Run Status */
|
|
13726
|
+
last_run_status?: string | null;
|
|
13471
13727
|
/** Owner Ext Id */
|
|
13472
13728
|
owner_ext_id?: string | null;
|
|
13473
13729
|
/**
|
|
@@ -13486,11 +13742,43 @@ interface components {
|
|
|
13486
13742
|
*/
|
|
13487
13743
|
updated_at: string;
|
|
13488
13744
|
};
|
|
13745
|
+
/** WorkflowRunHistoryResponse */
|
|
13746
|
+
WorkflowRunHistoryResponse: {
|
|
13747
|
+
/** Conversation Ext Id */
|
|
13748
|
+
conversation_ext_id?: string | null;
|
|
13749
|
+
/** Id */
|
|
13750
|
+
id: number;
|
|
13751
|
+
/** Status */
|
|
13752
|
+
status: string;
|
|
13753
|
+
/** Action Type */
|
|
13754
|
+
action_type: string;
|
|
13755
|
+
/** Result */
|
|
13756
|
+
result: {
|
|
13757
|
+
[key: string]: unknown;
|
|
13758
|
+
} | null;
|
|
13759
|
+
/** Label Ext Id */
|
|
13760
|
+
label_ext_id: string | null;
|
|
13761
|
+
/** Document Ext Ids */
|
|
13762
|
+
document_ext_ids: string[];
|
|
13763
|
+
/** Error */
|
|
13764
|
+
error: string | null;
|
|
13765
|
+
/**
|
|
13766
|
+
* Created At
|
|
13767
|
+
* Format: date-time
|
|
13768
|
+
*/
|
|
13769
|
+
created_at: string;
|
|
13770
|
+
/** Completed At */
|
|
13771
|
+
completed_at: string | null;
|
|
13772
|
+
};
|
|
13489
13773
|
/**
|
|
13490
13774
|
* WorkflowRunResponse
|
|
13491
13775
|
* @description Result of ``POST /v1/workflow/{id}/run``: the conversation the test run created.
|
|
13492
13776
|
*/
|
|
13493
13777
|
WorkflowRunResponse: {
|
|
13778
|
+
/** Execution Id */
|
|
13779
|
+
execution_id?: number | null;
|
|
13780
|
+
/** Action Type */
|
|
13781
|
+
action_type?: string | null;
|
|
13494
13782
|
/** Conversation Ext Id */
|
|
13495
13783
|
conversation_ext_id?: string | null;
|
|
13496
13784
|
/**
|
|
@@ -16587,6 +16875,41 @@ interface operations {
|
|
|
16587
16875
|
};
|
|
16588
16876
|
};
|
|
16589
16877
|
};
|
|
16878
|
+
notify_conversation_collaborators: {
|
|
16879
|
+
parameters: {
|
|
16880
|
+
query?: never;
|
|
16881
|
+
header?: never;
|
|
16882
|
+
path: {
|
|
16883
|
+
conversation_ext_id: string;
|
|
16884
|
+
};
|
|
16885
|
+
cookie?: never;
|
|
16886
|
+
};
|
|
16887
|
+
requestBody: {
|
|
16888
|
+
content: {
|
|
16889
|
+
'application/json': components['schemas']['NotifyConversationRequest'];
|
|
16890
|
+
};
|
|
16891
|
+
};
|
|
16892
|
+
responses: {
|
|
16893
|
+
/** @description Successful Response */
|
|
16894
|
+
200: {
|
|
16895
|
+
headers: {
|
|
16896
|
+
[name: string]: unknown;
|
|
16897
|
+
};
|
|
16898
|
+
content: {
|
|
16899
|
+
'application/json': string[];
|
|
16900
|
+
};
|
|
16901
|
+
};
|
|
16902
|
+
/** @description Validation Error */
|
|
16903
|
+
422: {
|
|
16904
|
+
headers: {
|
|
16905
|
+
[name: string]: unknown;
|
|
16906
|
+
};
|
|
16907
|
+
content: {
|
|
16908
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16909
|
+
};
|
|
16910
|
+
};
|
|
16911
|
+
};
|
|
16912
|
+
};
|
|
16590
16913
|
get_conversation_pending_auth: {
|
|
16591
16914
|
parameters: {
|
|
16592
16915
|
query?: never;
|
|
@@ -17551,6 +17874,37 @@ interface operations {
|
|
|
17551
17874
|
};
|
|
17552
17875
|
};
|
|
17553
17876
|
};
|
|
17877
|
+
list_workflow_runs_v1_workflow__workflow_id__runs_get: {
|
|
17878
|
+
parameters: {
|
|
17879
|
+
query?: never;
|
|
17880
|
+
header?: never;
|
|
17881
|
+
path: {
|
|
17882
|
+
workflow_id: string;
|
|
17883
|
+
};
|
|
17884
|
+
cookie?: never;
|
|
17885
|
+
};
|
|
17886
|
+
requestBody?: never;
|
|
17887
|
+
responses: {
|
|
17888
|
+
/** @description Successful Response */
|
|
17889
|
+
200: {
|
|
17890
|
+
headers: {
|
|
17891
|
+
[name: string]: unknown;
|
|
17892
|
+
};
|
|
17893
|
+
content: {
|
|
17894
|
+
'application/json': components['schemas']['WorkflowRunHistoryResponse'][];
|
|
17895
|
+
};
|
|
17896
|
+
};
|
|
17897
|
+
/** @description Validation Error */
|
|
17898
|
+
422: {
|
|
17899
|
+
headers: {
|
|
17900
|
+
[name: string]: unknown;
|
|
17901
|
+
};
|
|
17902
|
+
content: {
|
|
17903
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
17904
|
+
};
|
|
17905
|
+
};
|
|
17906
|
+
};
|
|
17907
|
+
};
|
|
17554
17908
|
get_websocket_schema: {
|
|
17555
17909
|
parameters: {
|
|
17556
17910
|
query?: never;
|
|
@@ -19482,7 +19836,7 @@ interface operations {
|
|
|
19482
19836
|
[name: string]: unknown;
|
|
19483
19837
|
};
|
|
19484
19838
|
content: {
|
|
19485
|
-
'application/json':
|
|
19839
|
+
'application/json': components['schemas']['MailPolicyRead'];
|
|
19486
19840
|
};
|
|
19487
19841
|
};
|
|
19488
19842
|
};
|
|
@@ -19650,7 +20004,7 @@ interface operations {
|
|
|
19650
20004
|
[name: string]: unknown;
|
|
19651
20005
|
};
|
|
19652
20006
|
content: {
|
|
19653
|
-
'application/json':
|
|
20007
|
+
'application/json': components['schemas']['MailFolder'][];
|
|
19654
20008
|
};
|
|
19655
20009
|
};
|
|
19656
20010
|
/** @description Validation Error */
|
|
@@ -19686,7 +20040,7 @@ interface operations {
|
|
|
19686
20040
|
[name: string]: unknown;
|
|
19687
20041
|
};
|
|
19688
20042
|
content: {
|
|
19689
|
-
'application/json':
|
|
20043
|
+
'application/json': components['schemas']['MailMessagePage'];
|
|
19690
20044
|
};
|
|
19691
20045
|
};
|
|
19692
20046
|
/** @description Validation Error */
|
|
@@ -19718,7 +20072,7 @@ interface operations {
|
|
|
19718
20072
|
[name: string]: unknown;
|
|
19719
20073
|
};
|
|
19720
20074
|
content: {
|
|
19721
|
-
'application/json':
|
|
20075
|
+
'application/json': components['schemas']['MailMessage'];
|
|
19722
20076
|
};
|
|
19723
20077
|
};
|
|
19724
20078
|
/** @description Validation Error */
|
|
@@ -19799,41 +20153,6 @@ interface operations {
|
|
|
19799
20153
|
};
|
|
19800
20154
|
};
|
|
19801
20155
|
};
|
|
19802
|
-
save_draft_v1_mail_accounts__account_id__drafts_post: {
|
|
19803
|
-
parameters: {
|
|
19804
|
-
query?: never;
|
|
19805
|
-
header?: never;
|
|
19806
|
-
path: {
|
|
19807
|
-
account_id: string;
|
|
19808
|
-
};
|
|
19809
|
-
cookie?: never;
|
|
19810
|
-
};
|
|
19811
|
-
requestBody: {
|
|
19812
|
-
content: {
|
|
19813
|
-
'application/json': components['schemas']['MailCompose'];
|
|
19814
|
-
};
|
|
19815
|
-
};
|
|
19816
|
-
responses: {
|
|
19817
|
-
/** @description Successful Response */
|
|
19818
|
-
200: {
|
|
19819
|
-
headers: {
|
|
19820
|
-
[name: string]: unknown;
|
|
19821
|
-
};
|
|
19822
|
-
content: {
|
|
19823
|
-
'application/json': unknown;
|
|
19824
|
-
};
|
|
19825
|
-
};
|
|
19826
|
-
/** @description Validation Error */
|
|
19827
|
-
422: {
|
|
19828
|
-
headers: {
|
|
19829
|
-
[name: string]: unknown;
|
|
19830
|
-
};
|
|
19831
|
-
content: {
|
|
19832
|
-
'application/json': components['schemas']['HTTPValidationError'];
|
|
19833
|
-
};
|
|
19834
|
-
};
|
|
19835
|
-
};
|
|
19836
|
-
};
|
|
19837
20156
|
send_v1_mail_accounts__account_id__send_post: {
|
|
19838
20157
|
parameters: {
|
|
19839
20158
|
query?: never;
|
|
@@ -19855,7 +20174,7 @@ interface operations {
|
|
|
19855
20174
|
[name: string]: unknown;
|
|
19856
20175
|
};
|
|
19857
20176
|
content: {
|
|
19858
|
-
'application/json':
|
|
20177
|
+
'application/json': components['schemas']['MailSendResult'];
|
|
19859
20178
|
};
|
|
19860
20179
|
};
|
|
19861
20180
|
/** @description Validation Error */
|
|
@@ -19888,7 +20207,7 @@ interface operations {
|
|
|
19888
20207
|
[name: string]: unknown;
|
|
19889
20208
|
};
|
|
19890
20209
|
content: {
|
|
19891
|
-
'application/json':
|
|
20210
|
+
'application/json': components['schemas']['NativeAliasRead'];
|
|
19892
20211
|
};
|
|
19893
20212
|
};
|
|
19894
20213
|
/** @description Validation Error */
|
|
@@ -20018,6 +20337,74 @@ interface operations {
|
|
|
20018
20337
|
};
|
|
20019
20338
|
};
|
|
20020
20339
|
};
|
|
20340
|
+
save_draft_v1_mail_accounts__account_id__drafts_post: {
|
|
20341
|
+
parameters: {
|
|
20342
|
+
query?: never;
|
|
20343
|
+
header?: never;
|
|
20344
|
+
path: {
|
|
20345
|
+
account_id: string;
|
|
20346
|
+
};
|
|
20347
|
+
cookie?: never;
|
|
20348
|
+
};
|
|
20349
|
+
requestBody: {
|
|
20350
|
+
content: {
|
|
20351
|
+
'application/json': components['schemas']['MailCompose'];
|
|
20352
|
+
};
|
|
20353
|
+
};
|
|
20354
|
+
responses: {
|
|
20355
|
+
/** @description Successful Response */
|
|
20356
|
+
200: {
|
|
20357
|
+
headers: {
|
|
20358
|
+
[name: string]: unknown;
|
|
20359
|
+
};
|
|
20360
|
+
content: {
|
|
20361
|
+
'application/json': components['schemas']['MailDraftSaved'];
|
|
20362
|
+
};
|
|
20363
|
+
};
|
|
20364
|
+
/** @description Validation Error */
|
|
20365
|
+
422: {
|
|
20366
|
+
headers: {
|
|
20367
|
+
[name: string]: unknown;
|
|
20368
|
+
};
|
|
20369
|
+
content: {
|
|
20370
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
20371
|
+
};
|
|
20372
|
+
};
|
|
20373
|
+
};
|
|
20374
|
+
};
|
|
20375
|
+
save_native_draft_v1_mail_drafts_post: {
|
|
20376
|
+
parameters: {
|
|
20377
|
+
query?: never;
|
|
20378
|
+
header?: never;
|
|
20379
|
+
path?: never;
|
|
20380
|
+
cookie?: never;
|
|
20381
|
+
};
|
|
20382
|
+
requestBody: {
|
|
20383
|
+
content: {
|
|
20384
|
+
'application/json': components['schemas']['MailCompose'];
|
|
20385
|
+
};
|
|
20386
|
+
};
|
|
20387
|
+
responses: {
|
|
20388
|
+
/** @description Successful Response */
|
|
20389
|
+
200: {
|
|
20390
|
+
headers: {
|
|
20391
|
+
[name: string]: unknown;
|
|
20392
|
+
};
|
|
20393
|
+
content: {
|
|
20394
|
+
'application/json': components['schemas']['MailDraftSaved'];
|
|
20395
|
+
};
|
|
20396
|
+
};
|
|
20397
|
+
/** @description Validation Error */
|
|
20398
|
+
422: {
|
|
20399
|
+
headers: {
|
|
20400
|
+
[name: string]: unknown;
|
|
20401
|
+
};
|
|
20402
|
+
content: {
|
|
20403
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
20404
|
+
};
|
|
20405
|
+
};
|
|
20406
|
+
};
|
|
20407
|
+
};
|
|
20021
20408
|
receive_native_v1_mail_inbound_post: {
|
|
20022
20409
|
parameters: {
|
|
20023
20410
|
query?: never;
|
|
@@ -20757,6 +21144,8 @@ declare function generateRecoveryPasswordChangeCredentials(email: string, curren
|
|
|
20757
21144
|
* Ported from: /home/dev/ARBI/src/static/js/storage.js
|
|
20758
21145
|
*/
|
|
20759
21146
|
|
|
21147
|
+
/** True when sessions can be persisted (encrypted at rest) rather than held in memory only. */
|
|
21148
|
+
declare function canPersistSession(): boolean;
|
|
20760
21149
|
/**
|
|
20761
21150
|
* SessionData in IndexedDB - PERSISTED ENCRYPTED DATA
|
|
20762
21151
|
* Everything needed to resume session without re-login:
|
|
@@ -21071,8 +21460,9 @@ type WsErrorMessage = components['schemas']['ErrorMessage'];
|
|
|
21071
21460
|
type WsPresenceUpdateMessage = components['schemas']['PresenceUpdateMessage'];
|
|
21072
21461
|
type WsNotificationResponse = components['schemas']['NotificationResponse'];
|
|
21073
21462
|
type WsResponseCompleteMessage = components['schemas']['ResponseCompleteMessage'];
|
|
21463
|
+
type WsConversationMessagePostedMessage = components['schemas']['ConversationMessagePostedMessage'];
|
|
21074
21464
|
/** Union of all server → client message types (discriminated on `type` field). */
|
|
21075
|
-
type WebSocketServerMessage = WsTaskUpdateMessage | WsAuthResultMessage | WsConnectionClosedMessage | WsPresenceUpdateMessage | WsErrorMessage | WsNotificationResponse | WsBatchCompleteMessage | WsResponseCompleteMessage;
|
|
21465
|
+
type WebSocketServerMessage = WsTaskUpdateMessage | WsAuthResultMessage | WsConnectionClosedMessage | WsPresenceUpdateMessage | WsErrorMessage | WsNotificationResponse | WsBatchCompleteMessage | WsResponseCompleteMessage | WsConversationMessagePostedMessage;
|
|
21076
21466
|
/** Union of all client → server message types. */
|
|
21077
21467
|
type WebSocketClientMessage = WsAuthMessage;
|
|
21078
21468
|
/**
|
|
@@ -21150,4 +21540,4 @@ interface ReopenDeps {
|
|
|
21150
21540
|
*/
|
|
21151
21541
|
declare function createWorkspaceReopener(deps: ReopenDeps): () => Promise<boolean>;
|
|
21152
21542
|
|
|
21153
|
-
export { type $defs, API_PREFIX, type ArbiClient, type ArbiClientOptions, type AuthStateProvider, type AutoReloginMiddlewareConfig, type BearerAuthMiddlewareConfig, type ChangePasswordParams, type ChangePasswordRequest, type ChangePasswordResult, type CryptoProvider, type KeyPair, type LoginCredentials, type LoginParams, type LoginProfile, type LoginProvider, type LoginRequest, type LoginResult, type LoginWithKeyParams, type OnReloginSuccess, type PasswordChangeCredentials, type RegisterParams, type RegisterRequest, type RegisterResult, type RegistrationCredentials, type RekeyedPasswordChangeParams, type RekeyedPasswordChangeResult, type ReloginDeps, type ReloginHandler, type ReopenDeps, type SessionData, type SessionKeys, type SessionManager, type SessionState, type SessionStorageProvider, type SsoTokenProvider, type TokenProvider, type UserKeypairs, type WebSocketClientMessage, type WebSocketServerMessage, type WorkspaceKeyRefreshProvider, type WorkspaceOpenProvider, type WsAuthMessage, type WsAuthResultMessage, type WsBatchCompleteMessage, type WsConnectionClosedMessage, type WsErrorMessage, type WsNotificationResponse, type WsPresenceUpdateMessage, type WsResponseCompleteMessage, type WsTaskUpdateMessage, base64Decode, base64Encode, base64ToBytes, buildWebSocketUrl, bytesToBase64, changePasswordWithRekey, clearAllData, clearSession, type components, computeSharedSecret, createArbiClient, createAuthMessage, createAutoReloginMiddleware, createBearerAuthMiddleware, createContentHash, createReloginHandler, createSessionManager, createWorkspaceReopener, decryptFile, decryptMessage, decryptMessageWithSharedSecret, deriveEncryptionKeypairFromSigning, derivePublicKey, encryptFile, encryptMessage, encryptMessageWithSharedSecret, generateKeyPairs, generateLoginCredentials, generateLoginCredentialsFromKey, generatePasswordChangeCredentials, generateRandomSigningKeypair, generateRecoveryPasswordChangeCredentials, generateRegistrationCredentials, generateUserKeypairs, getSession, getUserEncryptionKeypair, hasSession, initSodium, initializeDatabase, isMessageType, type operations, parseServerMessage, passwordChangeErrorMessage, type paths, prewarmKeyPairs, saveSession, sealKeyForSession, sealedBoxDecrypt, sealedBoxEncrypt, signMessage, updateSigningPrivateKey, type webhooks };
|
|
21543
|
+
export { type $defs, API_PREFIX, type ArbiClient, type ArbiClientOptions, type AuthStateProvider, type AutoReloginMiddlewareConfig, type BearerAuthMiddlewareConfig, type ChangePasswordParams, type ChangePasswordRequest, type ChangePasswordResult, type CryptoProvider, type KeyPair, type LoginCredentials, type LoginParams, type LoginProfile, type LoginProvider, type LoginRequest, type LoginResult, type LoginWithKeyParams, type OnReloginSuccess, type PasswordChangeCredentials, type RegisterParams, type RegisterRequest, type RegisterResult, type RegistrationCredentials, type RekeyedPasswordChangeParams, type RekeyedPasswordChangeResult, type ReloginDeps, type ReloginHandler, type ReopenDeps, type SessionData, type SessionKeys, type SessionManager, type SessionState, type SessionStorageProvider, type SsoTokenProvider, type TokenProvider, type UserKeypairs, type WebSocketClientMessage, type WebSocketServerMessage, type WorkspaceKeyRefreshProvider, type WorkspaceOpenProvider, type WsAuthMessage, type WsAuthResultMessage, type WsBatchCompleteMessage, type WsConnectionClosedMessage, type WsConversationMessagePostedMessage, type WsErrorMessage, type WsNotificationResponse, type WsPresenceUpdateMessage, type WsResponseCompleteMessage, type WsTaskUpdateMessage, base64Decode, base64Encode, base64ToBytes, buildWebSocketUrl, bytesToBase64, canPersistSession, changePasswordWithRekey, clearAllData, clearSession, type components, computeSharedSecret, createArbiClient, createAuthMessage, createAutoReloginMiddleware, createBearerAuthMiddleware, createContentHash, createReloginHandler, createSessionManager, createWorkspaceReopener, decryptFile, decryptMessage, decryptMessageWithSharedSecret, deriveEncryptionKeypairFromSigning, derivePublicKey, encryptFile, encryptMessage, encryptMessageWithSharedSecret, generateKeyPairs, generateLoginCredentials, generateLoginCredentialsFromKey, generatePasswordChangeCredentials, generateRandomSigningKeypair, generateRecoveryPasswordChangeCredentials, generateRegistrationCredentials, generateUserKeypairs, getSession, getUserEncryptionKeypair, hasSession, initSodium, initializeDatabase, isMessageType, type operations, parseServerMessage, passwordChangeErrorMessage, type paths, prewarmKeyPairs, saveSession, sealKeyForSession, sealedBoxDecrypt, sealedBoxEncrypt, signMessage, updateSigningPrivateKey, type webhooks };
|