@arbidocs/client 0.5.3 → 0.5.5

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 CHANGED
@@ -1394,6 +1394,26 @@ interface paths {
1394
1394
  patch?: never;
1395
1395
  trace?: never;
1396
1396
  };
1397
+ '/v1/workspace/{workspace_ext_id}/access-status': {
1398
+ parameters: {
1399
+ query?: never;
1400
+ header?: never;
1401
+ path?: never;
1402
+ cookie?: never;
1403
+ };
1404
+ /**
1405
+ * Get Workspace Access Status
1406
+ * @description Read renewal context for your own current or expired membership, without accessing workspace contents.
1407
+ */
1408
+ get: operations['get_workspace_access_status'];
1409
+ put?: never;
1410
+ post?: never;
1411
+ delete?: never;
1412
+ options?: never;
1413
+ head?: never;
1414
+ patch?: never;
1415
+ trace?: never;
1416
+ };
1397
1417
  '/v1/workspace/create_protected': {
1398
1418
  parameters: {
1399
1419
  query?: never;
@@ -6289,6 +6309,46 @@ interface paths {
6289
6309
  patch?: never;
6290
6310
  trace?: never;
6291
6311
  };
6312
+ '/v1/contacts/keys': {
6313
+ parameters: {
6314
+ query?: never;
6315
+ header?: never;
6316
+ path?: never;
6317
+ cookie?: never;
6318
+ };
6319
+ /**
6320
+ * Get Contact Keys
6321
+ * @description Only address-book keys shared with the caller; no calendar entitlement or calendar creation.
6322
+ */
6323
+ get: operations['get_contact_keys'];
6324
+ put?: never;
6325
+ post?: never;
6326
+ delete?: never;
6327
+ options?: never;
6328
+ head?: never;
6329
+ patch?: never;
6330
+ trace?: never;
6331
+ };
6332
+ '/v1/contacts/session-keys': {
6333
+ parameters: {
6334
+ query?: never;
6335
+ header?: never;
6336
+ path?: never;
6337
+ cookie?: never;
6338
+ };
6339
+ get?: never;
6340
+ put?: never;
6341
+ /**
6342
+ * Bridge Contact Keys
6343
+ * @description Unlock the caller's address books only. Calendar, invitation and account keys are rejected.
6344
+ */
6345
+ post: operations['bridge_contact_keys'];
6346
+ delete?: never;
6347
+ options?: never;
6348
+ head?: never;
6349
+ patch?: never;
6350
+ trace?: never;
6351
+ };
6292
6352
  '/v1/contacts/': {
6293
6353
  parameters: {
6294
6354
  query?: never;
@@ -9056,7 +9116,7 @@ interface components {
9056
9116
  * @default {
9057
9117
  * "API_TYPE": "remote",
9058
9118
  * "ENABLE_THINKING": false,
9059
- * "MODEL_NAME": "Fast",
9119
+ * "MODEL_NAME": "gpt-4o",
9060
9120
  * "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.",
9061
9121
  * "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
9062
9122
  * "TEMPERATURE": 0.1,
@@ -9068,7 +9128,7 @@ interface components {
9068
9128
  * @default {
9069
9129
  * "API_TYPE": "remote",
9070
9130
  * "ENABLE_THINKING": false,
9071
- * "MODEL_NAME": "Wise",
9131
+ * "MODEL_NAME": "o1",
9072
9132
  * "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.",
9073
9133
  * "TEMPERATURE": 0.1,
9074
9134
  * "MAX_TOKENS": 0,
@@ -9080,7 +9140,7 @@ interface components {
9080
9140
  * @default {
9081
9141
  * "API_TYPE": "remote",
9082
9142
  * "ENABLE_THINKING": false,
9083
- * "MODEL_NAME": "Fast",
9143
+ * "MODEL_NAME": "gpt-4o",
9084
9144
  * "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.",
9085
9145
  * "TEMPERATURE": 0.1,
9086
9146
  * "MAX_TOKENS": 0,
@@ -9095,7 +9155,7 @@ interface components {
9095
9155
  * @default {
9096
9156
  * "API_TYPE": "remote",
9097
9157
  * "ENABLE_THINKING": false,
9098
- * "MODEL_NAME": "Fast",
9158
+ * "MODEL_NAME": "gpt-4o",
9099
9159
  * "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.",
9100
9160
  * "MAX_TOKEN_SIZE_TO_ANSWER": 20,
9101
9161
  * "TEMPERATURE": 0.3,
@@ -9107,7 +9167,7 @@ interface components {
9107
9167
  * @default {
9108
9168
  * "API_TYPE": "remote",
9109
9169
  * "ENABLE_THINKING": false,
9110
- * "MODEL_NAME": "Wise",
9170
+ * "MODEL_NAME": "o1",
9111
9171
  * "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.",
9112
9172
  * "TEMPERATURE": 0.1,
9113
9173
  * "MAX_TOKENS": 0,
@@ -9121,9 +9181,10 @@ interface components {
9121
9181
  * @default {
9122
9182
  * "API_TYPE": "remote",
9123
9183
  * "ENABLE_THINKING": false,
9124
- * "MODEL_NAME": "Fast",
9184
+ * "MODEL_NAME": "gpt-4o",
9125
9185
  * "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.",
9126
9186
  * "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
9187
+ * "METADATA_CONTEXT_TOKENS": 12000,
9127
9188
  * "TEMPERATURE": 0.1,
9128
9189
  * "MAX_TOKENS": 0,
9129
9190
  * "MAX_CONCURRENT_DOCS": 10,
@@ -9182,7 +9243,7 @@ interface components {
9182
9243
  * @default {
9183
9244
  * "API_TYPE": "remote",
9184
9245
  * "ENABLE_THINKING": false,
9185
- * "MODEL_NAME": "Fast",
9246
+ * "MODEL_NAME": "gpt-4o",
9186
9247
  * "SYSTEM_INSTRUCTION": "You are a professional translator of legal, commercial and technical documents.\n\nYou translate the numbered passages you are given into the target language, faithfully and completely:\n- Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.\n- Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.\n- Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.\n- Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.\n- Use the glossary's translation for every glossary term, every time it occurs.\n- A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.\n- A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.\n- The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.",
9187
9248
  * "TEMPERATURE": 0.2,
9188
9249
  * "MAX_TOKENS": 0,
@@ -9197,7 +9258,7 @@ interface components {
9197
9258
  * @default {
9198
9259
  * "API_TYPE": "remote",
9199
9260
  * "ENABLE_THINKING": false,
9200
- * "MODEL_NAME": "Wise",
9261
+ * "MODEL_NAME": "o1",
9201
9262
  * "TEMPERATURE": 0.3,
9202
9263
  * "MAX_TOKENS": 0,
9203
9264
  * "MAX_TOKEN_CONTEXT": 200000,
@@ -9209,7 +9270,7 @@ interface components {
9209
9270
  * @default {
9210
9271
  * "API_TYPE": "remote",
9211
9272
  * "ENABLE_THINKING": true,
9212
- * "MODEL_NAME": "Wise",
9273
+ * "MODEL_NAME": "o1",
9213
9274
  * "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.[[if search_inside_documents, read_document, get_table_of_contents: 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.",
9214
9275
  * "TEMPERATURE": 0.3,
9215
9276
  * "MAX_TOKENS": 0,
@@ -9222,7 +9283,7 @@ interface components {
9222
9283
  * @default {
9223
9284
  * "API_TYPE": "remote",
9224
9285
  * "ENABLE_THINKING": false,
9225
- * "MODEL_NAME": "Fast",
9286
+ * "MODEL_NAME": "gpt-4o",
9226
9287
  * "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 - The agent that reads the goal does not see the history indices: refer to an earlier message by what it is (\"the investigation report in the previous answer\"), never by its [N] index.\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.",
9227
9288
  * "TEMPERATURE": 0,
9228
9289
  * "MAX_TOKENS": 0
@@ -9233,7 +9294,7 @@ interface components {
9233
9294
  * @default {
9234
9295
  * "API_TYPE": "remote",
9235
9296
  * "ENABLE_THINKING": false,
9236
- * "MODEL_NAME": "Fast",
9297
+ * "MODEL_NAME": "gpt-4o",
9237
9298
  * "TEMPERATURE": 0.1,
9238
9299
  * "MAX_TOKENS": 0,
9239
9300
  * "MAX_PAGES_PER_CALL": 5,
@@ -9254,7 +9315,7 @@ interface components {
9254
9315
  * @default {
9255
9316
  * "API_TYPE": "remote",
9256
9317
  * "ENABLE_THINKING": true,
9257
- * "MODEL_NAME": "Premium",
9318
+ * "MODEL_NAME": "",
9258
9319
  * "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.",
9259
9320
  * "TEMPERATURE": 0.2,
9260
9321
  * "MAX_TOKENS": 0
@@ -9324,7 +9385,7 @@ interface components {
9324
9385
  * },
9325
9386
  * "MAX_CONCURRENT_REQUESTS": 256,
9326
9387
  * "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
9327
- * "API_TYPE": "remote",
9388
+ * "API_TYPE": "local",
9328
9389
  * "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"
9329
9390
  * }
9330
9391
  */
@@ -9345,7 +9406,7 @@ interface components {
9345
9406
  /**
9346
9407
  * @default {
9347
9408
  * "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
9348
- * "API_TYPE": "remote",
9409
+ * "API_TYPE": "local",
9349
9410
  * "BATCH_SIZE": 128,
9350
9411
  * "MAX_CONCURRENT_REQUESTS": 256,
9351
9412
  * "DOCUMENT_PREFIX": "",
@@ -9487,6 +9548,11 @@ interface components {
9487
9548
  * @description Result summary, e.g. '15 passages retrieved'.
9488
9549
  */
9489
9550
  outcome?: string | null;
9551
+ /**
9552
+ * Guard Refused
9553
+ * @description True on a function_call the duplicate guard refused: the tool never ran (a repeat of a call already made), so the trace can hide the row. A tool that ran and failed never carries it. Per call, unlike the round-level `outcome: 'duplicate'` that lands only on a round's last call.
9554
+ */
9555
+ guard_refused?: boolean | null;
9490
9556
  /** @description Token usage for the LLM call behind this item. */
9491
9557
  usage?: components['schemas']['StepUsage'] | null;
9492
9558
  /**
@@ -11767,7 +11833,7 @@ interface components {
11767
11833
  /**
11768
11834
  * Model Name
11769
11835
  * @description Model for code generation. Should be a strong coding model.
11770
- * @default Premium
11836
+ * @default
11771
11837
  */
11772
11838
  MODEL_NAME: string;
11773
11839
  /**
@@ -12472,7 +12538,10 @@ interface components {
12472
12538
  };
12473
12539
  /**
12474
12540
  * ConversationMessagePostedMessage
12475
- * @description A saved human message; clients refetch the thread under their own access permissions.
12541
+ * @description A message saved to a thread; clients refetch the thread under their own access permissions.
12542
+ *
12543
+ * Sent for a person's post, and to a shared thread's other readers for an assistant turn: its question and
12544
+ * in-progress answer when it starts, the saved answer when it ends.
12476
12545
  */
12477
12546
  ConversationMessagePostedMessage: {
12478
12547
  /**
@@ -14125,7 +14194,7 @@ interface components {
14125
14194
  /**
14126
14195
  * Model Name
14127
14196
  * @description The name of the non-reasoning model to be used.
14128
- * @default Fast
14197
+ * @default gpt-4o
14129
14198
  */
14130
14199
  MODEL_NAME: string;
14131
14200
  /**
@@ -14149,6 +14218,12 @@ interface components {
14149
14218
  * @default 200000
14150
14219
  */
14151
14220
  MAX_TOKEN_CONTEXT_TO_ANSWER: number;
14221
+ /**
14222
+ * Metadata Context Tokens
14223
+ * @description Input tokens a built-in metadata call (date, type, author, subject, title) reads: the document's opening, section headings with their first passage, and closing. User tags read the whole document (up to MAX_TOKEN_CONTEXT_TO_ANSWER).
14224
+ * @default 12000
14225
+ */
14226
+ METADATA_CONTEXT_TOKENS: number;
14152
14227
  /**
14153
14228
  * Temperature
14154
14229
  * @description Temperature for factual answers.
@@ -14463,7 +14538,7 @@ interface components {
14463
14538
  /**
14464
14539
  * Api Type
14465
14540
  * @description The inference type (local or remote).
14466
- * @default remote
14541
+ * @default local
14467
14542
  * @enum {string}
14468
14543
  */
14469
14544
  API_TYPE: 'local' | 'remote';
@@ -14586,7 +14661,7 @@ interface components {
14586
14661
  /**
14587
14662
  * Model Name
14588
14663
  * @description The name of the non-reasoning model to be used.
14589
- * @default Fast
14664
+ * @default gpt-4o
14590
14665
  */
14591
14666
  MODEL_NAME: string;
14592
14667
  /**
@@ -15131,7 +15206,7 @@ interface components {
15131
15206
  /**
15132
15207
  * Model Name
15133
15208
  * @description The name of the non-reasoning model to be used.
15134
- * @default Fast
15209
+ * @default gpt-4o
15135
15210
  */
15136
15211
  MODEL_NAME: string;
15137
15212
  /**
@@ -16816,7 +16891,7 @@ interface components {
16816
16891
  /**
16817
16892
  * Model Name
16818
16893
  * @description The model for note consolidation. Defaults to reasoning model.
16819
- * @default Wise
16894
+ * @default o1
16820
16895
  */
16821
16896
  MODEL_NAME: string;
16822
16897
  /**
@@ -17903,7 +17978,7 @@ interface components {
17903
17978
  /**
17904
17979
  * Model Name
17905
17980
  * @description The model for plan generation. Defaults to reasoning model.
17906
- * @default Wise
17981
+ * @default o1
17907
17982
  */
17908
17983
  MODEL_NAME: string;
17909
17984
  /**
@@ -18837,7 +18912,7 @@ interface components {
18837
18912
  /**
18838
18913
  * Model Name
18839
18914
  * @description The model for query answering.
18840
- * @default Fast
18915
+ * @default gpt-4o
18841
18916
  */
18842
18917
  MODEL_NAME: string;
18843
18918
  /**
@@ -19261,7 +19336,7 @@ interface components {
19261
19336
  /**
19262
19337
  * Api Type
19263
19338
  * @description The inference type (local or remote).
19264
- * @default remote
19339
+ * @default local
19265
19340
  * @enum {string}
19266
19341
  */
19267
19342
  API_TYPE: 'local' | 'remote';
@@ -20112,7 +20187,7 @@ interface components {
20112
20187
  /**
20113
20188
  * Model Name
20114
20189
  * @description The model for reviewing agent draft answers. Defaults to reasoning model.
20115
- * @default Wise
20190
+ * @default o1
20116
20191
  */
20117
20192
  MODEL_NAME: string;
20118
20193
  /**
@@ -21765,7 +21840,7 @@ interface components {
21765
21840
  /**
21766
21841
  * Model Name
21767
21842
  * @description The model for conversation summarisation. Defaults to reasoning model.
21768
- * @default Wise
21843
+ * @default o1
21769
21844
  */
21770
21845
  MODEL_NAME: string;
21771
21846
  /**
@@ -22387,7 +22462,7 @@ interface components {
22387
22462
  /**
22388
22463
  * Model Name
22389
22464
  * @description The name of the non-reasoning model to be used.
22390
- * @default Fast
22465
+ * @default gpt-4o
22391
22466
  */
22392
22467
  MODEL_NAME: string;
22393
22468
  /**
@@ -22822,7 +22897,7 @@ interface components {
22822
22897
  /**
22823
22898
  * Model Name
22824
22899
  * @description The name of the non-reasoning model to be used.
22825
- * @default Fast
22900
+ * @default gpt-4o
22826
22901
  */
22827
22902
  MODEL_NAME: string;
22828
22903
  /**
@@ -23794,7 +23869,7 @@ interface components {
23794
23869
  /**
23795
23870
  * Model Name
23796
23871
  * @description The vision-capable model name (must support image inputs).
23797
- * @default Fast
23872
+ * @default gpt-4o
23798
23873
  */
23799
23874
  MODEL_NAME: string;
23800
23875
  /**
@@ -24164,6 +24239,21 @@ interface components {
24164
24239
  /** Location */
24165
24240
  location?: ('office' | 'home' | 'other') | null;
24166
24241
  };
24242
+ /**
24243
+ * WorkspaceAccessStatusResponse
24244
+ * @description Renewal context for a caller's existing membership; never includes a workspace key or contents.
24245
+ */
24246
+ WorkspaceAccessStatusResponse: {
24247
+ /** Workspace Ext Id */
24248
+ workspace_ext_id: string;
24249
+ /** Workspace Name */
24250
+ workspace_name: string;
24251
+ /** Access Expired */
24252
+ access_expired: boolean;
24253
+ /** Access Expires At */
24254
+ access_expires_at?: string | null;
24255
+ owner?: components['schemas']['UserResponse'] | null;
24256
+ };
24167
24257
  /**
24168
24258
  * WorkspaceActivityEntry
24169
24259
  * @description One thing that happened in a workspace that the reader can see.
@@ -26602,6 +26692,37 @@ interface operations {
26602
26692
  };
26603
26693
  };
26604
26694
  };
26695
+ get_workspace_access_status: {
26696
+ parameters: {
26697
+ query?: never;
26698
+ header?: never;
26699
+ path: {
26700
+ workspace_ext_id: string;
26701
+ };
26702
+ cookie?: never;
26703
+ };
26704
+ requestBody?: never;
26705
+ responses: {
26706
+ /** @description Successful Response */
26707
+ 200: {
26708
+ headers: {
26709
+ [name: string]: unknown;
26710
+ };
26711
+ content: {
26712
+ 'application/json': components['schemas']['WorkspaceAccessStatusResponse'];
26713
+ };
26714
+ };
26715
+ /** @description Validation Error */
26716
+ 422: {
26717
+ headers: {
26718
+ [name: string]: unknown;
26719
+ };
26720
+ content: {
26721
+ 'application/json': components['schemas']['HTTPValidationError'];
26722
+ };
26723
+ };
26724
+ };
26725
+ };
26605
26726
  create_workspace: {
26606
26727
  parameters: {
26607
26728
  query?: never;
@@ -34986,6 +35107,57 @@ interface operations {
34986
35107
  };
34987
35108
  };
34988
35109
  };
35110
+ get_contact_keys: {
35111
+ parameters: {
35112
+ query?: never;
35113
+ header?: never;
35114
+ path?: never;
35115
+ cookie?: never;
35116
+ };
35117
+ requestBody?: never;
35118
+ responses: {
35119
+ /** @description Successful Response */
35120
+ 200: {
35121
+ headers: {
35122
+ [name: string]: unknown;
35123
+ };
35124
+ content: {
35125
+ 'application/json': components['schemas']['CalendarKeyPage'];
35126
+ };
35127
+ };
35128
+ };
35129
+ };
35130
+ bridge_contact_keys: {
35131
+ parameters: {
35132
+ query?: never;
35133
+ header?: never;
35134
+ path?: never;
35135
+ cookie?: never;
35136
+ };
35137
+ requestBody: {
35138
+ content: {
35139
+ 'application/json': components['schemas']['CalendarKeyBridge'];
35140
+ };
35141
+ };
35142
+ responses: {
35143
+ /** @description Successful Response */
35144
+ 204: {
35145
+ headers: {
35146
+ [name: string]: unknown;
35147
+ };
35148
+ content?: never;
35149
+ };
35150
+ /** @description Validation Error */
35151
+ 422: {
35152
+ headers: {
35153
+ [name: string]: unknown;
35154
+ };
35155
+ content: {
35156
+ 'application/json': components['schemas']['HTTPValidationError'];
35157
+ };
35158
+ };
35159
+ };
35160
+ };
34989
35161
  list_contacts: {
34990
35162
  parameters: {
34991
35163
  query?: never;
package/dist/index.d.ts CHANGED
@@ -1394,6 +1394,26 @@ interface paths {
1394
1394
  patch?: never;
1395
1395
  trace?: never;
1396
1396
  };
1397
+ '/v1/workspace/{workspace_ext_id}/access-status': {
1398
+ parameters: {
1399
+ query?: never;
1400
+ header?: never;
1401
+ path?: never;
1402
+ cookie?: never;
1403
+ };
1404
+ /**
1405
+ * Get Workspace Access Status
1406
+ * @description Read renewal context for your own current or expired membership, without accessing workspace contents.
1407
+ */
1408
+ get: operations['get_workspace_access_status'];
1409
+ put?: never;
1410
+ post?: never;
1411
+ delete?: never;
1412
+ options?: never;
1413
+ head?: never;
1414
+ patch?: never;
1415
+ trace?: never;
1416
+ };
1397
1417
  '/v1/workspace/create_protected': {
1398
1418
  parameters: {
1399
1419
  query?: never;
@@ -6289,6 +6309,46 @@ interface paths {
6289
6309
  patch?: never;
6290
6310
  trace?: never;
6291
6311
  };
6312
+ '/v1/contacts/keys': {
6313
+ parameters: {
6314
+ query?: never;
6315
+ header?: never;
6316
+ path?: never;
6317
+ cookie?: never;
6318
+ };
6319
+ /**
6320
+ * Get Contact Keys
6321
+ * @description Only address-book keys shared with the caller; no calendar entitlement or calendar creation.
6322
+ */
6323
+ get: operations['get_contact_keys'];
6324
+ put?: never;
6325
+ post?: never;
6326
+ delete?: never;
6327
+ options?: never;
6328
+ head?: never;
6329
+ patch?: never;
6330
+ trace?: never;
6331
+ };
6332
+ '/v1/contacts/session-keys': {
6333
+ parameters: {
6334
+ query?: never;
6335
+ header?: never;
6336
+ path?: never;
6337
+ cookie?: never;
6338
+ };
6339
+ get?: never;
6340
+ put?: never;
6341
+ /**
6342
+ * Bridge Contact Keys
6343
+ * @description Unlock the caller's address books only. Calendar, invitation and account keys are rejected.
6344
+ */
6345
+ post: operations['bridge_contact_keys'];
6346
+ delete?: never;
6347
+ options?: never;
6348
+ head?: never;
6349
+ patch?: never;
6350
+ trace?: never;
6351
+ };
6292
6352
  '/v1/contacts/': {
6293
6353
  parameters: {
6294
6354
  query?: never;
@@ -9056,7 +9116,7 @@ interface components {
9056
9116
  * @default {
9057
9117
  * "API_TYPE": "remote",
9058
9118
  * "ENABLE_THINKING": false,
9059
- * "MODEL_NAME": "Fast",
9119
+ * "MODEL_NAME": "gpt-4o",
9060
9120
  * "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.",
9061
9121
  * "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
9062
9122
  * "TEMPERATURE": 0.1,
@@ -9068,7 +9128,7 @@ interface components {
9068
9128
  * @default {
9069
9129
  * "API_TYPE": "remote",
9070
9130
  * "ENABLE_THINKING": false,
9071
- * "MODEL_NAME": "Wise",
9131
+ * "MODEL_NAME": "o1",
9072
9132
  * "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.",
9073
9133
  * "TEMPERATURE": 0.1,
9074
9134
  * "MAX_TOKENS": 0,
@@ -9080,7 +9140,7 @@ interface components {
9080
9140
  * @default {
9081
9141
  * "API_TYPE": "remote",
9082
9142
  * "ENABLE_THINKING": false,
9083
- * "MODEL_NAME": "Fast",
9143
+ * "MODEL_NAME": "gpt-4o",
9084
9144
  * "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.",
9085
9145
  * "TEMPERATURE": 0.1,
9086
9146
  * "MAX_TOKENS": 0,
@@ -9095,7 +9155,7 @@ interface components {
9095
9155
  * @default {
9096
9156
  * "API_TYPE": "remote",
9097
9157
  * "ENABLE_THINKING": false,
9098
- * "MODEL_NAME": "Fast",
9158
+ * "MODEL_NAME": "gpt-4o",
9099
9159
  * "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.",
9100
9160
  * "MAX_TOKEN_SIZE_TO_ANSWER": 20,
9101
9161
  * "TEMPERATURE": 0.3,
@@ -9107,7 +9167,7 @@ interface components {
9107
9167
  * @default {
9108
9168
  * "API_TYPE": "remote",
9109
9169
  * "ENABLE_THINKING": false,
9110
- * "MODEL_NAME": "Wise",
9170
+ * "MODEL_NAME": "o1",
9111
9171
  * "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.",
9112
9172
  * "TEMPERATURE": 0.1,
9113
9173
  * "MAX_TOKENS": 0,
@@ -9121,9 +9181,10 @@ interface components {
9121
9181
  * @default {
9122
9182
  * "API_TYPE": "remote",
9123
9183
  * "ENABLE_THINKING": false,
9124
- * "MODEL_NAME": "Fast",
9184
+ * "MODEL_NAME": "gpt-4o",
9125
9185
  * "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.",
9126
9186
  * "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
9187
+ * "METADATA_CONTEXT_TOKENS": 12000,
9127
9188
  * "TEMPERATURE": 0.1,
9128
9189
  * "MAX_TOKENS": 0,
9129
9190
  * "MAX_CONCURRENT_DOCS": 10,
@@ -9182,7 +9243,7 @@ interface components {
9182
9243
  * @default {
9183
9244
  * "API_TYPE": "remote",
9184
9245
  * "ENABLE_THINKING": false,
9185
- * "MODEL_NAME": "Fast",
9246
+ * "MODEL_NAME": "gpt-4o",
9186
9247
  * "SYSTEM_INSTRUCTION": "You are a professional translator of legal, commercial and technical documents.\n\nYou translate the numbered passages you are given into the target language, faithfully and completely:\n- Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.\n- Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.\n- Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.\n- Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.\n- Use the glossary's translation for every glossary term, every time it occurs.\n- A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.\n- A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.\n- The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.",
9187
9248
  * "TEMPERATURE": 0.2,
9188
9249
  * "MAX_TOKENS": 0,
@@ -9197,7 +9258,7 @@ interface components {
9197
9258
  * @default {
9198
9259
  * "API_TYPE": "remote",
9199
9260
  * "ENABLE_THINKING": false,
9200
- * "MODEL_NAME": "Wise",
9261
+ * "MODEL_NAME": "o1",
9201
9262
  * "TEMPERATURE": 0.3,
9202
9263
  * "MAX_TOKENS": 0,
9203
9264
  * "MAX_TOKEN_CONTEXT": 200000,
@@ -9209,7 +9270,7 @@ interface components {
9209
9270
  * @default {
9210
9271
  * "API_TYPE": "remote",
9211
9272
  * "ENABLE_THINKING": true,
9212
- * "MODEL_NAME": "Wise",
9273
+ * "MODEL_NAME": "o1",
9213
9274
  * "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.[[if search_inside_documents, read_document, get_table_of_contents: 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.",
9214
9275
  * "TEMPERATURE": 0.3,
9215
9276
  * "MAX_TOKENS": 0,
@@ -9222,7 +9283,7 @@ interface components {
9222
9283
  * @default {
9223
9284
  * "API_TYPE": "remote",
9224
9285
  * "ENABLE_THINKING": false,
9225
- * "MODEL_NAME": "Fast",
9286
+ * "MODEL_NAME": "gpt-4o",
9226
9287
  * "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 - The agent that reads the goal does not see the history indices: refer to an earlier message by what it is (\"the investigation report in the previous answer\"), never by its [N] index.\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.",
9227
9288
  * "TEMPERATURE": 0,
9228
9289
  * "MAX_TOKENS": 0
@@ -9233,7 +9294,7 @@ interface components {
9233
9294
  * @default {
9234
9295
  * "API_TYPE": "remote",
9235
9296
  * "ENABLE_THINKING": false,
9236
- * "MODEL_NAME": "Fast",
9297
+ * "MODEL_NAME": "gpt-4o",
9237
9298
  * "TEMPERATURE": 0.1,
9238
9299
  * "MAX_TOKENS": 0,
9239
9300
  * "MAX_PAGES_PER_CALL": 5,
@@ -9254,7 +9315,7 @@ interface components {
9254
9315
  * @default {
9255
9316
  * "API_TYPE": "remote",
9256
9317
  * "ENABLE_THINKING": true,
9257
- * "MODEL_NAME": "Premium",
9318
+ * "MODEL_NAME": "",
9258
9319
  * "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.",
9259
9320
  * "TEMPERATURE": 0.2,
9260
9321
  * "MAX_TOKENS": 0
@@ -9324,7 +9385,7 @@ interface components {
9324
9385
  * },
9325
9386
  * "MAX_CONCURRENT_REQUESTS": 256,
9326
9387
  * "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
9327
- * "API_TYPE": "remote",
9388
+ * "API_TYPE": "local",
9328
9389
  * "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"
9329
9390
  * }
9330
9391
  */
@@ -9345,7 +9406,7 @@ interface components {
9345
9406
  /**
9346
9407
  * @default {
9347
9408
  * "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
9348
- * "API_TYPE": "remote",
9409
+ * "API_TYPE": "local",
9349
9410
  * "BATCH_SIZE": 128,
9350
9411
  * "MAX_CONCURRENT_REQUESTS": 256,
9351
9412
  * "DOCUMENT_PREFIX": "",
@@ -9487,6 +9548,11 @@ interface components {
9487
9548
  * @description Result summary, e.g. '15 passages retrieved'.
9488
9549
  */
9489
9550
  outcome?: string | null;
9551
+ /**
9552
+ * Guard Refused
9553
+ * @description True on a function_call the duplicate guard refused: the tool never ran (a repeat of a call already made), so the trace can hide the row. A tool that ran and failed never carries it. Per call, unlike the round-level `outcome: 'duplicate'` that lands only on a round's last call.
9554
+ */
9555
+ guard_refused?: boolean | null;
9490
9556
  /** @description Token usage for the LLM call behind this item. */
9491
9557
  usage?: components['schemas']['StepUsage'] | null;
9492
9558
  /**
@@ -11767,7 +11833,7 @@ interface components {
11767
11833
  /**
11768
11834
  * Model Name
11769
11835
  * @description Model for code generation. Should be a strong coding model.
11770
- * @default Premium
11836
+ * @default
11771
11837
  */
11772
11838
  MODEL_NAME: string;
11773
11839
  /**
@@ -12472,7 +12538,10 @@ interface components {
12472
12538
  };
12473
12539
  /**
12474
12540
  * ConversationMessagePostedMessage
12475
- * @description A saved human message; clients refetch the thread under their own access permissions.
12541
+ * @description A message saved to a thread; clients refetch the thread under their own access permissions.
12542
+ *
12543
+ * Sent for a person's post, and to a shared thread's other readers for an assistant turn: its question and
12544
+ * in-progress answer when it starts, the saved answer when it ends.
12476
12545
  */
12477
12546
  ConversationMessagePostedMessage: {
12478
12547
  /**
@@ -14125,7 +14194,7 @@ interface components {
14125
14194
  /**
14126
14195
  * Model Name
14127
14196
  * @description The name of the non-reasoning model to be used.
14128
- * @default Fast
14197
+ * @default gpt-4o
14129
14198
  */
14130
14199
  MODEL_NAME: string;
14131
14200
  /**
@@ -14149,6 +14218,12 @@ interface components {
14149
14218
  * @default 200000
14150
14219
  */
14151
14220
  MAX_TOKEN_CONTEXT_TO_ANSWER: number;
14221
+ /**
14222
+ * Metadata Context Tokens
14223
+ * @description Input tokens a built-in metadata call (date, type, author, subject, title) reads: the document's opening, section headings with their first passage, and closing. User tags read the whole document (up to MAX_TOKEN_CONTEXT_TO_ANSWER).
14224
+ * @default 12000
14225
+ */
14226
+ METADATA_CONTEXT_TOKENS: number;
14152
14227
  /**
14153
14228
  * Temperature
14154
14229
  * @description Temperature for factual answers.
@@ -14463,7 +14538,7 @@ interface components {
14463
14538
  /**
14464
14539
  * Api Type
14465
14540
  * @description The inference type (local or remote).
14466
- * @default remote
14541
+ * @default local
14467
14542
  * @enum {string}
14468
14543
  */
14469
14544
  API_TYPE: 'local' | 'remote';
@@ -14586,7 +14661,7 @@ interface components {
14586
14661
  /**
14587
14662
  * Model Name
14588
14663
  * @description The name of the non-reasoning model to be used.
14589
- * @default Fast
14664
+ * @default gpt-4o
14590
14665
  */
14591
14666
  MODEL_NAME: string;
14592
14667
  /**
@@ -15131,7 +15206,7 @@ interface components {
15131
15206
  /**
15132
15207
  * Model Name
15133
15208
  * @description The name of the non-reasoning model to be used.
15134
- * @default Fast
15209
+ * @default gpt-4o
15135
15210
  */
15136
15211
  MODEL_NAME: string;
15137
15212
  /**
@@ -16816,7 +16891,7 @@ interface components {
16816
16891
  /**
16817
16892
  * Model Name
16818
16893
  * @description The model for note consolidation. Defaults to reasoning model.
16819
- * @default Wise
16894
+ * @default o1
16820
16895
  */
16821
16896
  MODEL_NAME: string;
16822
16897
  /**
@@ -17903,7 +17978,7 @@ interface components {
17903
17978
  /**
17904
17979
  * Model Name
17905
17980
  * @description The model for plan generation. Defaults to reasoning model.
17906
- * @default Wise
17981
+ * @default o1
17907
17982
  */
17908
17983
  MODEL_NAME: string;
17909
17984
  /**
@@ -18837,7 +18912,7 @@ interface components {
18837
18912
  /**
18838
18913
  * Model Name
18839
18914
  * @description The model for query answering.
18840
- * @default Fast
18915
+ * @default gpt-4o
18841
18916
  */
18842
18917
  MODEL_NAME: string;
18843
18918
  /**
@@ -19261,7 +19336,7 @@ interface components {
19261
19336
  /**
19262
19337
  * Api Type
19263
19338
  * @description The inference type (local or remote).
19264
- * @default remote
19339
+ * @default local
19265
19340
  * @enum {string}
19266
19341
  */
19267
19342
  API_TYPE: 'local' | 'remote';
@@ -20112,7 +20187,7 @@ interface components {
20112
20187
  /**
20113
20188
  * Model Name
20114
20189
  * @description The model for reviewing agent draft answers. Defaults to reasoning model.
20115
- * @default Wise
20190
+ * @default o1
20116
20191
  */
20117
20192
  MODEL_NAME: string;
20118
20193
  /**
@@ -21765,7 +21840,7 @@ interface components {
21765
21840
  /**
21766
21841
  * Model Name
21767
21842
  * @description The model for conversation summarisation. Defaults to reasoning model.
21768
- * @default Wise
21843
+ * @default o1
21769
21844
  */
21770
21845
  MODEL_NAME: string;
21771
21846
  /**
@@ -22387,7 +22462,7 @@ interface components {
22387
22462
  /**
22388
22463
  * Model Name
22389
22464
  * @description The name of the non-reasoning model to be used.
22390
- * @default Fast
22465
+ * @default gpt-4o
22391
22466
  */
22392
22467
  MODEL_NAME: string;
22393
22468
  /**
@@ -22822,7 +22897,7 @@ interface components {
22822
22897
  /**
22823
22898
  * Model Name
22824
22899
  * @description The name of the non-reasoning model to be used.
22825
- * @default Fast
22900
+ * @default gpt-4o
22826
22901
  */
22827
22902
  MODEL_NAME: string;
22828
22903
  /**
@@ -23794,7 +23869,7 @@ interface components {
23794
23869
  /**
23795
23870
  * Model Name
23796
23871
  * @description The vision-capable model name (must support image inputs).
23797
- * @default Fast
23872
+ * @default gpt-4o
23798
23873
  */
23799
23874
  MODEL_NAME: string;
23800
23875
  /**
@@ -24164,6 +24239,21 @@ interface components {
24164
24239
  /** Location */
24165
24240
  location?: ('office' | 'home' | 'other') | null;
24166
24241
  };
24242
+ /**
24243
+ * WorkspaceAccessStatusResponse
24244
+ * @description Renewal context for a caller's existing membership; never includes a workspace key or contents.
24245
+ */
24246
+ WorkspaceAccessStatusResponse: {
24247
+ /** Workspace Ext Id */
24248
+ workspace_ext_id: string;
24249
+ /** Workspace Name */
24250
+ workspace_name: string;
24251
+ /** Access Expired */
24252
+ access_expired: boolean;
24253
+ /** Access Expires At */
24254
+ access_expires_at?: string | null;
24255
+ owner?: components['schemas']['UserResponse'] | null;
24256
+ };
24167
24257
  /**
24168
24258
  * WorkspaceActivityEntry
24169
24259
  * @description One thing that happened in a workspace that the reader can see.
@@ -26602,6 +26692,37 @@ interface operations {
26602
26692
  };
26603
26693
  };
26604
26694
  };
26695
+ get_workspace_access_status: {
26696
+ parameters: {
26697
+ query?: never;
26698
+ header?: never;
26699
+ path: {
26700
+ workspace_ext_id: string;
26701
+ };
26702
+ cookie?: never;
26703
+ };
26704
+ requestBody?: never;
26705
+ responses: {
26706
+ /** @description Successful Response */
26707
+ 200: {
26708
+ headers: {
26709
+ [name: string]: unknown;
26710
+ };
26711
+ content: {
26712
+ 'application/json': components['schemas']['WorkspaceAccessStatusResponse'];
26713
+ };
26714
+ };
26715
+ /** @description Validation Error */
26716
+ 422: {
26717
+ headers: {
26718
+ [name: string]: unknown;
26719
+ };
26720
+ content: {
26721
+ 'application/json': components['schemas']['HTTPValidationError'];
26722
+ };
26723
+ };
26724
+ };
26725
+ };
26605
26726
  create_workspace: {
26606
26727
  parameters: {
26607
26728
  query?: never;
@@ -34986,6 +35107,57 @@ interface operations {
34986
35107
  };
34987
35108
  };
34988
35109
  };
35110
+ get_contact_keys: {
35111
+ parameters: {
35112
+ query?: never;
35113
+ header?: never;
35114
+ path?: never;
35115
+ cookie?: never;
35116
+ };
35117
+ requestBody?: never;
35118
+ responses: {
35119
+ /** @description Successful Response */
35120
+ 200: {
35121
+ headers: {
35122
+ [name: string]: unknown;
35123
+ };
35124
+ content: {
35125
+ 'application/json': components['schemas']['CalendarKeyPage'];
35126
+ };
35127
+ };
35128
+ };
35129
+ };
35130
+ bridge_contact_keys: {
35131
+ parameters: {
35132
+ query?: never;
35133
+ header?: never;
35134
+ path?: never;
35135
+ cookie?: never;
35136
+ };
35137
+ requestBody: {
35138
+ content: {
35139
+ 'application/json': components['schemas']['CalendarKeyBridge'];
35140
+ };
35141
+ };
35142
+ responses: {
35143
+ /** @description Successful Response */
35144
+ 204: {
35145
+ headers: {
35146
+ [name: string]: unknown;
35147
+ };
35148
+ content?: never;
35149
+ };
35150
+ /** @description Validation Error */
35151
+ 422: {
35152
+ headers: {
35153
+ [name: string]: unknown;
35154
+ };
35155
+ content: {
35156
+ 'application/json': components['schemas']['HTTPValidationError'];
35157
+ };
35158
+ };
35159
+ };
35160
+ };
34989
35161
  list_contacts: {
34990
35162
  parameters: {
34991
35163
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "sideEffects": false,