@arbidocs/client 0.5.5 → 0.5.7

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.ts CHANGED
@@ -3163,6 +3163,8 @@ interface paths {
3163
3163
  * * ``status`` — ``todo`` or ``done`` only. ``done`` is human-only (anyone who can edit it); ``todo`` reopens.
3164
3164
  * ``generating`` is set only by runs.
3165
3165
  * * ``parent_conversation_ext_id`` — cycle-checked; ``null`` detaches.
3166
+ * * ``bound_document_ext_id`` — bind it to a document of its workspace you can read (a "chat about this document"
3167
+ * thread); ``null`` unbinds. Its readers and your other devices get ``conversation.document_binding_changed``.
3166
3168
  */
3167
3169
  patch: operations['update_conversation'];
3168
3170
  trace?: never;
@@ -3780,6 +3782,159 @@ interface paths {
3780
3782
  patch?: never;
3781
3783
  trace?: never;
3782
3784
  };
3785
+ '/v1/model-connections': {
3786
+ parameters: {
3787
+ query?: never;
3788
+ header?: never;
3789
+ path?: never;
3790
+ cookie?: never;
3791
+ };
3792
+ /** List Connections */
3793
+ get: operations['list_provider_connections'];
3794
+ put?: never;
3795
+ post?: never;
3796
+ delete?: never;
3797
+ options?: never;
3798
+ head?: never;
3799
+ patch?: never;
3800
+ trace?: never;
3801
+ };
3802
+ '/v1/model-connections/sealed-keys': {
3803
+ parameters: {
3804
+ query?: never;
3805
+ header?: never;
3806
+ path?: never;
3807
+ cookie?: never;
3808
+ };
3809
+ /** Sealed Keys */
3810
+ get: operations['get_sealed_provider_keys'];
3811
+ put?: never;
3812
+ post?: never;
3813
+ delete?: never;
3814
+ options?: never;
3815
+ head?: never;
3816
+ patch?: never;
3817
+ trace?: never;
3818
+ };
3819
+ '/v1/model-connections/personal': {
3820
+ parameters: {
3821
+ query?: never;
3822
+ header?: never;
3823
+ path?: never;
3824
+ cookie?: never;
3825
+ };
3826
+ get?: never;
3827
+ put?: never;
3828
+ /** Create Personal */
3829
+ post: operations['create_personal_connection'];
3830
+ delete?: never;
3831
+ options?: never;
3832
+ head?: never;
3833
+ patch?: never;
3834
+ trace?: never;
3835
+ };
3836
+ '/v1/model-connections/personal/{connection_id}': {
3837
+ parameters: {
3838
+ query?: never;
3839
+ header?: never;
3840
+ path?: never;
3841
+ cookie?: never;
3842
+ };
3843
+ get?: never;
3844
+ /** Update Personal */
3845
+ put: operations['update_personal_connection'];
3846
+ post?: never;
3847
+ delete?: never;
3848
+ options?: never;
3849
+ head?: never;
3850
+ patch?: never;
3851
+ trace?: never;
3852
+ };
3853
+ '/v1/model-connections/box': {
3854
+ parameters: {
3855
+ query?: never;
3856
+ header?: never;
3857
+ path?: never;
3858
+ cookie?: never;
3859
+ };
3860
+ get?: never;
3861
+ put?: never;
3862
+ /** Create Box */
3863
+ post: operations['create_box_connection'];
3864
+ delete?: never;
3865
+ options?: never;
3866
+ head?: never;
3867
+ patch?: never;
3868
+ trace?: never;
3869
+ };
3870
+ '/v1/model-connections/box/{connection_id}': {
3871
+ parameters: {
3872
+ query?: never;
3873
+ header?: never;
3874
+ path?: never;
3875
+ cookie?: never;
3876
+ };
3877
+ get?: never;
3878
+ /** Update Box */
3879
+ put: operations['update_box_connection'];
3880
+ post?: never;
3881
+ delete?: never;
3882
+ options?: never;
3883
+ head?: never;
3884
+ patch?: never;
3885
+ trace?: never;
3886
+ };
3887
+ '/v1/model-connections/{connection_id}': {
3888
+ parameters: {
3889
+ query?: never;
3890
+ header?: never;
3891
+ path?: never;
3892
+ cookie?: never;
3893
+ };
3894
+ get?: never;
3895
+ put?: never;
3896
+ post?: never;
3897
+ /** Delete Connection */
3898
+ delete: operations['delete_provider_connection'];
3899
+ options?: never;
3900
+ head?: never;
3901
+ patch?: never;
3902
+ trace?: never;
3903
+ };
3904
+ '/v1/model-connections/session-key': {
3905
+ parameters: {
3906
+ query?: never;
3907
+ header?: never;
3908
+ path?: never;
3909
+ cookie?: never;
3910
+ };
3911
+ get?: never;
3912
+ put?: never;
3913
+ /** Bridge Key */
3914
+ post: operations['bridge_provider_key'];
3915
+ delete?: never;
3916
+ options?: never;
3917
+ head?: never;
3918
+ patch?: never;
3919
+ trace?: never;
3920
+ };
3921
+ '/v1/model-connections/usage': {
3922
+ parameters: {
3923
+ query?: never;
3924
+ header?: never;
3925
+ path?: never;
3926
+ cookie?: never;
3927
+ };
3928
+ /** Usage */
3929
+ get: operations['get_direct_inference_usage'];
3930
+ put?: never;
3931
+ post?: never;
3932
+ delete?: never;
3933
+ options?: never;
3934
+ head?: never;
3935
+ patch?: never;
3936
+ trace?: never;
3937
+ };
3783
3938
  '/v1/deployment/house-template': {
3784
3939
  parameters: {
3785
3940
  query?: never;
@@ -9116,7 +9271,7 @@ interface components {
9116
9271
  * @default {
9117
9272
  * "API_TYPE": "remote",
9118
9273
  * "ENABLE_THINKING": false,
9119
- * "MODEL_NAME": "gpt-4o",
9274
+ * "MODEL_NAME": "Fast",
9120
9275
  * "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.",
9121
9276
  * "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
9122
9277
  * "TEMPERATURE": 0.1,
@@ -9128,7 +9283,7 @@ interface components {
9128
9283
  * @default {
9129
9284
  * "API_TYPE": "remote",
9130
9285
  * "ENABLE_THINKING": false,
9131
- * "MODEL_NAME": "o1",
9286
+ * "MODEL_NAME": "Wise",
9132
9287
  * "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.",
9133
9288
  * "TEMPERATURE": 0.1,
9134
9289
  * "MAX_TOKENS": 0,
@@ -9140,7 +9295,7 @@ interface components {
9140
9295
  * @default {
9141
9296
  * "API_TYPE": "remote",
9142
9297
  * "ENABLE_THINKING": false,
9143
- * "MODEL_NAME": "gpt-4o",
9298
+ * "MODEL_NAME": "Fast",
9144
9299
  * "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.",
9145
9300
  * "TEMPERATURE": 0.1,
9146
9301
  * "MAX_TOKENS": 0,
@@ -9155,7 +9310,7 @@ interface components {
9155
9310
  * @default {
9156
9311
  * "API_TYPE": "remote",
9157
9312
  * "ENABLE_THINKING": false,
9158
- * "MODEL_NAME": "gpt-4o",
9313
+ * "MODEL_NAME": "Fast",
9159
9314
  * "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.",
9160
9315
  * "MAX_TOKEN_SIZE_TO_ANSWER": 20,
9161
9316
  * "TEMPERATURE": 0.3,
@@ -9167,7 +9322,7 @@ interface components {
9167
9322
  * @default {
9168
9323
  * "API_TYPE": "remote",
9169
9324
  * "ENABLE_THINKING": false,
9170
- * "MODEL_NAME": "o1",
9325
+ * "MODEL_NAME": "Wise",
9171
9326
  * "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.",
9172
9327
  * "TEMPERATURE": 0.1,
9173
9328
  * "MAX_TOKENS": 0,
@@ -9181,7 +9336,7 @@ interface components {
9181
9336
  * @default {
9182
9337
  * "API_TYPE": "remote",
9183
9338
  * "ENABLE_THINKING": false,
9184
- * "MODEL_NAME": "gpt-4o",
9339
+ * "MODEL_NAME": "Fast",
9185
9340
  * "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.",
9186
9341
  * "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
9187
9342
  * "METADATA_CONTEXT_TOKENS": 12000,
@@ -9243,7 +9398,7 @@ interface components {
9243
9398
  * @default {
9244
9399
  * "API_TYPE": "remote",
9245
9400
  * "ENABLE_THINKING": false,
9246
- * "MODEL_NAME": "gpt-4o",
9401
+ * "MODEL_NAME": "Fast",
9247
9402
  * "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.",
9248
9403
  * "TEMPERATURE": 0.2,
9249
9404
  * "MAX_TOKENS": 0,
@@ -9258,7 +9413,7 @@ interface components {
9258
9413
  * @default {
9259
9414
  * "API_TYPE": "remote",
9260
9415
  * "ENABLE_THINKING": false,
9261
- * "MODEL_NAME": "o1",
9416
+ * "MODEL_NAME": "Wise",
9262
9417
  * "TEMPERATURE": 0.3,
9263
9418
  * "MAX_TOKENS": 0,
9264
9419
  * "MAX_TOKEN_CONTEXT": 200000,
@@ -9270,7 +9425,7 @@ interface components {
9270
9425
  * @default {
9271
9426
  * "API_TYPE": "remote",
9272
9427
  * "ENABLE_THINKING": true,
9273
- * "MODEL_NAME": "o1",
9428
+ * "MODEL_NAME": "Wise",
9274
9429
  * "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.",
9275
9430
  * "TEMPERATURE": 0.3,
9276
9431
  * "MAX_TOKENS": 0,
@@ -9283,7 +9438,7 @@ interface components {
9283
9438
  * @default {
9284
9439
  * "API_TYPE": "remote",
9285
9440
  * "ENABLE_THINKING": false,
9286
- * "MODEL_NAME": "gpt-4o",
9441
+ * "MODEL_NAME": "Fast",
9287
9442
  * "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.",
9288
9443
  * "TEMPERATURE": 0,
9289
9444
  * "MAX_TOKENS": 0
@@ -9294,7 +9449,7 @@ interface components {
9294
9449
  * @default {
9295
9450
  * "API_TYPE": "remote",
9296
9451
  * "ENABLE_THINKING": false,
9297
- * "MODEL_NAME": "gpt-4o",
9452
+ * "MODEL_NAME": "Fast",
9298
9453
  * "TEMPERATURE": 0.1,
9299
9454
  * "MAX_TOKENS": 0,
9300
9455
  * "MAX_PAGES_PER_CALL": 5,
@@ -9315,7 +9470,7 @@ interface components {
9315
9470
  * @default {
9316
9471
  * "API_TYPE": "remote",
9317
9472
  * "ENABLE_THINKING": true,
9318
- * "MODEL_NAME": "",
9473
+ * "MODEL_NAME": "Premium",
9319
9474
  * "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.",
9320
9475
  * "TEMPERATURE": 0.2,
9321
9476
  * "MAX_TOKENS": 0
@@ -9385,7 +9540,7 @@ interface components {
9385
9540
  * },
9386
9541
  * "MAX_CONCURRENT_REQUESTS": 256,
9387
9542
  * "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
9388
- * "API_TYPE": "local",
9543
+ * "API_TYPE": "remote",
9389
9544
  * "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"
9390
9545
  * }
9391
9546
  */
@@ -9406,7 +9561,7 @@ interface components {
9406
9561
  /**
9407
9562
  * @default {
9408
9563
  * "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
9409
- * "API_TYPE": "local",
9564
+ * "API_TYPE": "remote",
9410
9565
  * "BATCH_SIZE": 128,
9411
9566
  * "MAX_CONCURRENT_REQUESTS": 256,
9412
9567
  * "DOCUMENT_PREFIX": "",
@@ -10108,6 +10263,13 @@ interface components {
10108
10263
  /** Strokewidth */
10109
10264
  strokeWidth: number;
10110
10265
  };
10266
+ /** BridgeKey */
10267
+ BridgeKey: {
10268
+ /** Connection Id */
10269
+ connection_id: string;
10270
+ /** Sealed Api Key */
10271
+ sealed_api_key: string;
10272
+ };
10111
10273
  /** BusyBlock */
10112
10274
  BusyBlock: {
10113
10275
  /**
@@ -11833,7 +11995,7 @@ interface components {
11833
11995
  /**
11834
11996
  * Model Name
11835
11997
  * @description Model for code generation. Should be a strong coding model.
11836
- * @default
11998
+ * @default Premium
11837
11999
  */
11838
12000
  MODEL_NAME: string;
11839
12001
  /**
@@ -12205,6 +12367,52 @@ interface components {
12205
12367
  /** Message */
12206
12368
  message: string;
12207
12369
  };
12370
+ /** ConnectionModel */
12371
+ ConnectionModel: {
12372
+ /** Model */
12373
+ model: string;
12374
+ /** Label */
12375
+ label: string;
12376
+ /**
12377
+ * Context Window
12378
+ * @default 32768
12379
+ */
12380
+ context_window: number;
12381
+ /**
12382
+ * Supports Vision
12383
+ * @default false
12384
+ */
12385
+ supports_vision: boolean;
12386
+ };
12387
+ /** ConnectionWrite */
12388
+ ConnectionWrite: {
12389
+ /** Name */
12390
+ name: string;
12391
+ /**
12392
+ * Protocol
12393
+ * @default openai_chat_completions
12394
+ * @constant
12395
+ */
12396
+ protocol: 'openai_chat_completions';
12397
+ /** Base Url */
12398
+ base_url: string;
12399
+ /** Models */
12400
+ models: components['schemas']['ConnectionModel'][];
12401
+ /**
12402
+ * Enabled
12403
+ * @default true
12404
+ */
12405
+ enabled: boolean;
12406
+ /**
12407
+ * Allow Private Network
12408
+ * @default false
12409
+ */
12410
+ allow_private_network: boolean;
12411
+ /** Sealed Api Key */
12412
+ sealed_api_key?: string | null;
12413
+ /** Api Key */
12414
+ api_key?: string | null;
12415
+ };
12208
12416
  /**
12209
12417
  * ConnectorCatalogRead
12210
12418
  * @description Catalog entry shape returned by /v1/connectors (built from a ConnectorDef).
@@ -12513,6 +12721,23 @@ interface components {
12513
12721
  */
12514
12722
  detail: string;
12515
12723
  };
12724
+ /**
12725
+ * ConversationDocumentBindingChangedMessage
12726
+ * @description A conversation was bound to a document, rebound or unbound; clients refetch it under their own access.
12727
+ *
12728
+ * Sent to a shared thread's members and to the changer's own clients. Ids only: the document id is never in the
12729
+ * event, because a member who cannot read the document must see the binding only as unavailable.
12730
+ */
12731
+ ConversationDocumentBindingChangedMessage: {
12732
+ /**
12733
+ * Type
12734
+ * @default conversation.document_binding_changed
12735
+ * @constant
12736
+ */
12737
+ type: 'conversation.document_binding_changed';
12738
+ /** Conversation Ext Id */
12739
+ conversation_ext_id: string;
12740
+ };
12516
12741
  /**
12517
12742
  * ConversationImportResponse
12518
12743
  * @description Result of importing a conversation export (ChatGPT, OpenClaw, or Claude Code).
@@ -12597,6 +12822,13 @@ interface components {
12597
12822
  assistant_mode: components['schemas']['AssistantMode'];
12598
12823
  /** Meeting Call Ext Id */
12599
12824
  meeting_call_ext_id?: string | null;
12825
+ /** Bound Document Ext Id */
12826
+ bound_document_ext_id?: string | null;
12827
+ /**
12828
+ * Bound Document Unavailable
12829
+ * @default false
12830
+ */
12831
+ bound_document_unavailable: boolean;
12600
12832
  status?: components['schemas']['WorkStatus'] | null;
12601
12833
  /** Description */
12602
12834
  description?: string | null;
@@ -12741,6 +12973,10 @@ interface components {
12741
12973
  * carry its key (a chat turn has no step), so each one sums to at most the total.
12742
12974
  */
12743
12975
  ConversationUsageResponse: {
12976
+ /** External Usage */
12977
+ external_usage?: {
12978
+ [key: string]: unknown;
12979
+ } | null;
12744
12980
  /** Conversation Ext Id */
12745
12981
  conversation_ext_id: string;
12746
12982
  /** Project Ext Id */
@@ -14194,7 +14430,7 @@ interface components {
14194
14430
  /**
14195
14431
  * Model Name
14196
14432
  * @description The name of the non-reasoning model to be used.
14197
- * @default gpt-4o
14433
+ * @default Fast
14198
14434
  */
14199
14435
  MODEL_NAME: string;
14200
14436
  /**
@@ -14538,7 +14774,7 @@ interface components {
14538
14774
  /**
14539
14775
  * Api Type
14540
14776
  * @description The inference type (local or remote).
14541
- * @default local
14777
+ * @default remote
14542
14778
  * @enum {string}
14543
14779
  */
14544
14780
  API_TYPE: 'local' | 'remote';
@@ -14661,7 +14897,7 @@ interface components {
14661
14897
  /**
14662
14898
  * Model Name
14663
14899
  * @description The name of the non-reasoning model to be used.
14664
- * @default gpt-4o
14900
+ * @default Fast
14665
14901
  */
14666
14902
  MODEL_NAME: string;
14667
14903
  /**
@@ -15206,7 +15442,7 @@ interface components {
15206
15442
  /**
15207
15443
  * Model Name
15208
15444
  * @description The name of the non-reasoning model to be used.
15209
- * @default gpt-4o
15445
+ * @default Fast
15210
15446
  */
15211
15447
  MODEL_NAME: string;
15212
15448
  /**
@@ -16891,7 +17127,7 @@ interface components {
16891
17127
  /**
16892
17128
  * Model Name
16893
17129
  * @description The model for note consolidation. Defaults to reasoning model.
16894
- * @default o1
17130
+ * @default Wise
16895
17131
  */
16896
17132
  MODEL_NAME: string;
16897
17133
  /**
@@ -16987,6 +17223,8 @@ interface components {
16987
17223
  model?: string | null;
16988
17224
  /** Active Artifact Ext Id */
16989
17225
  active_artifact_ext_id?: string | null;
17226
+ /** Bound Document Ext Id */
17227
+ bound_document_ext_id?: string | null;
16990
17228
  /** Mentions */
16991
17229
  mentions?: components['schemas']['MessageMention'][];
16992
17230
  assistant_mode?: components['schemas']['AssistantMode'] | null;
@@ -17298,6 +17536,15 @@ interface components {
17298
17536
  };
17299
17537
  /** ModelInfo */
17300
17538
  ModelInfo: {
17539
+ /** Display Name */
17540
+ display_name?: string | null;
17541
+ /** Connection Scope */
17542
+ connection_scope?: string | null;
17543
+ /**
17544
+ * Externally Billed
17545
+ * @default false
17546
+ */
17547
+ externally_billed: boolean;
17301
17548
  /** Model Name */
17302
17549
  model_name: string;
17303
17550
  /** Api Type */
@@ -17978,7 +18225,7 @@ interface components {
17978
18225
  /**
17979
18226
  * Model Name
17980
18227
  * @description The model for plan generation. Defaults to reasoning model.
17981
- * @default o1
18228
+ * @default Wise
17982
18229
  */
17983
18230
  MODEL_NAME: string;
17984
18231
  /**
@@ -18505,6 +18752,10 @@ interface components {
18505
18752
  * @description A project's AI usage by conversation for a billing period, in £ like project usage.
18506
18753
  */
18507
18754
  ProjectConversationUsageResponse: {
18755
+ /** External Usage */
18756
+ external_usage?: {
18757
+ [key: string]: unknown;
18758
+ } | null;
18508
18759
  /** Project Ext Id */
18509
18760
  project_ext_id: string;
18510
18761
  /** Period Start */
@@ -18820,6 +19071,10 @@ interface components {
18820
19071
  * @description Usage breakdown for a project's billing period.
18821
19072
  */
18822
19073
  ProjectUsageResponse: {
19074
+ /** External Usage */
19075
+ external_usage?: {
19076
+ [key: string]: unknown;
19077
+ } | null;
18823
19078
  /** Project Ext Id */
18824
19079
  project_ext_id: string;
18825
19080
  /** Period Start */
@@ -18912,7 +19167,7 @@ interface components {
18912
19167
  /**
18913
19168
  * Model Name
18914
19169
  * @description The model for query answering.
18915
- * @default gpt-4o
19170
+ * @default Fast
18916
19171
  */
18917
19172
  MODEL_NAME: string;
18918
19173
  /**
@@ -19336,7 +19591,7 @@ interface components {
19336
19591
  /**
19337
19592
  * Api Type
19338
19593
  * @description The inference type (local or remote).
19339
- * @default local
19594
+ * @default remote
19340
19595
  * @enum {string}
19341
19596
  */
19342
19597
  API_TYPE: 'local' | 'remote';
@@ -20187,7 +20442,7 @@ interface components {
20187
20442
  /**
20188
20443
  * Model Name
20189
20444
  * @description The model for reviewing agent draft answers. Defaults to reasoning model.
20190
- * @default o1
20445
+ * @default Wise
20191
20446
  */
20192
20447
  MODEL_NAME: string;
20193
20448
  /**
@@ -21840,7 +22095,7 @@ interface components {
21840
22095
  /**
21841
22096
  * Model Name
21842
22097
  * @description The model for conversation summarisation. Defaults to reasoning model.
21843
- * @default o1
22098
+ * @default Wise
21844
22099
  */
21845
22100
  MODEL_NAME: string;
21846
22101
  /**
@@ -22405,6 +22660,13 @@ interface components {
22405
22660
  threads: components['schemas']['Thread'][];
22406
22661
  /** @default always */
22407
22662
  assistant_mode: components['schemas']['AssistantMode'];
22663
+ /** Bound Document Ext Id */
22664
+ bound_document_ext_id?: string | null;
22665
+ /**
22666
+ * Bound Document Unavailable
22667
+ * @default false
22668
+ */
22669
+ bound_document_unavailable: boolean;
22408
22670
  };
22409
22671
  /**
22410
22672
  * ThumbnailsRequest
@@ -22462,7 +22724,7 @@ interface components {
22462
22724
  /**
22463
22725
  * Model Name
22464
22726
  * @description The name of the non-reasoning model to be used.
22465
- * @default gpt-4o
22727
+ * @default Fast
22466
22728
  */
22467
22729
  MODEL_NAME: string;
22468
22730
  /**
@@ -22897,7 +23159,7 @@ interface components {
22897
23159
  /**
22898
23160
  * Model Name
22899
23161
  * @description The name of the non-reasoning model to be used.
22900
- * @default gpt-4o
23162
+ * @default Fast
22901
23163
  */
22902
23164
  MODEL_NAME: string;
22903
23165
  /**
@@ -23003,6 +23265,8 @@ interface components {
23003
23265
  /** Status */
23004
23266
  status?: ('todo' | 'done') | null;
23005
23267
  plan?: components['schemas']['TaskPlan'] | null;
23268
+ /** Bound Document Ext Id */
23269
+ bound_document_ext_id?: string | null;
23006
23270
  };
23007
23271
  /**
23008
23272
  * UpdateDocTagRequest
@@ -23869,7 +24133,7 @@ interface components {
23869
24133
  /**
23870
24134
  * Model Name
23871
24135
  * @description The vision-capable model name (must support image inputs).
23872
- * @default gpt-4o
24136
+ * @default Fast
23873
24137
  */
23874
24138
  MODEL_NAME: string;
23875
24139
  /**
@@ -23945,6 +24209,7 @@ interface components {
23945
24209
  response_complete?: components['schemas']['ResponseCompleteMessage'] | null;
23946
24210
  conversation_title_updated?: components['schemas']['ConversationTitleUpdatedMessage'] | null;
23947
24211
  conversation_message_posted?: components['schemas']['ConversationMessagePostedMessage'] | null;
24212
+ conversation_document_binding_changed?: components['schemas']['ConversationDocumentBindingChangedMessage'] | null;
23948
24213
  skills_updated?: components['schemas']['SkillsUpdatedMessage'] | null;
23949
24214
  mail_draft_replaced?: components['schemas']['MailDraftReplacedMessage'] | null;
23950
24215
  remote_control?: components['schemas']['RemoteControlMessage'] | null;
@@ -30257,6 +30522,278 @@ interface operations {
30257
30522
  };
30258
30523
  };
30259
30524
  };
30525
+ list_provider_connections: {
30526
+ parameters: {
30527
+ query?: never;
30528
+ header?: never;
30529
+ path?: never;
30530
+ cookie?: never;
30531
+ };
30532
+ requestBody?: never;
30533
+ responses: {
30534
+ /** @description Successful Response */
30535
+ 200: {
30536
+ headers: {
30537
+ [name: string]: unknown;
30538
+ };
30539
+ content: {
30540
+ 'application/json': unknown;
30541
+ };
30542
+ };
30543
+ };
30544
+ };
30545
+ get_sealed_provider_keys: {
30546
+ parameters: {
30547
+ query?: never;
30548
+ header?: never;
30549
+ path?: never;
30550
+ cookie?: never;
30551
+ };
30552
+ requestBody?: never;
30553
+ responses: {
30554
+ /** @description Successful Response */
30555
+ 200: {
30556
+ headers: {
30557
+ [name: string]: unknown;
30558
+ };
30559
+ content: {
30560
+ 'application/json': unknown;
30561
+ };
30562
+ };
30563
+ };
30564
+ };
30565
+ create_personal_connection: {
30566
+ parameters: {
30567
+ query?: never;
30568
+ header?: never;
30569
+ path?: never;
30570
+ cookie?: never;
30571
+ };
30572
+ requestBody: {
30573
+ content: {
30574
+ 'application/json': components['schemas']['ConnectionWrite'];
30575
+ };
30576
+ };
30577
+ responses: {
30578
+ /** @description Successful Response */
30579
+ 200: {
30580
+ headers: {
30581
+ [name: string]: unknown;
30582
+ };
30583
+ content: {
30584
+ 'application/json': unknown;
30585
+ };
30586
+ };
30587
+ /** @description Validation Error */
30588
+ 422: {
30589
+ headers: {
30590
+ [name: string]: unknown;
30591
+ };
30592
+ content: {
30593
+ 'application/json': components['schemas']['HTTPValidationError'];
30594
+ };
30595
+ };
30596
+ };
30597
+ };
30598
+ update_personal_connection: {
30599
+ parameters: {
30600
+ query?: never;
30601
+ header?: never;
30602
+ path: {
30603
+ connection_id: string;
30604
+ };
30605
+ cookie?: never;
30606
+ };
30607
+ requestBody: {
30608
+ content: {
30609
+ 'application/json': components['schemas']['ConnectionWrite'];
30610
+ };
30611
+ };
30612
+ responses: {
30613
+ /** @description Successful Response */
30614
+ 200: {
30615
+ headers: {
30616
+ [name: string]: unknown;
30617
+ };
30618
+ content: {
30619
+ 'application/json': unknown;
30620
+ };
30621
+ };
30622
+ /** @description Validation Error */
30623
+ 422: {
30624
+ headers: {
30625
+ [name: string]: unknown;
30626
+ };
30627
+ content: {
30628
+ 'application/json': components['schemas']['HTTPValidationError'];
30629
+ };
30630
+ };
30631
+ };
30632
+ };
30633
+ create_box_connection: {
30634
+ parameters: {
30635
+ query?: never;
30636
+ header?: never;
30637
+ path?: never;
30638
+ cookie?: never;
30639
+ };
30640
+ requestBody: {
30641
+ content: {
30642
+ 'application/json': components['schemas']['ConnectionWrite'];
30643
+ };
30644
+ };
30645
+ responses: {
30646
+ /** @description Successful Response */
30647
+ 200: {
30648
+ headers: {
30649
+ [name: string]: unknown;
30650
+ };
30651
+ content: {
30652
+ 'application/json': unknown;
30653
+ };
30654
+ };
30655
+ /** @description Validation Error */
30656
+ 422: {
30657
+ headers: {
30658
+ [name: string]: unknown;
30659
+ };
30660
+ content: {
30661
+ 'application/json': components['schemas']['HTTPValidationError'];
30662
+ };
30663
+ };
30664
+ };
30665
+ };
30666
+ update_box_connection: {
30667
+ parameters: {
30668
+ query?: never;
30669
+ header?: never;
30670
+ path: {
30671
+ connection_id: string;
30672
+ };
30673
+ cookie?: never;
30674
+ };
30675
+ requestBody: {
30676
+ content: {
30677
+ 'application/json': components['schemas']['ConnectionWrite'];
30678
+ };
30679
+ };
30680
+ responses: {
30681
+ /** @description Successful Response */
30682
+ 200: {
30683
+ headers: {
30684
+ [name: string]: unknown;
30685
+ };
30686
+ content: {
30687
+ 'application/json': unknown;
30688
+ };
30689
+ };
30690
+ /** @description Validation Error */
30691
+ 422: {
30692
+ headers: {
30693
+ [name: string]: unknown;
30694
+ };
30695
+ content: {
30696
+ 'application/json': components['schemas']['HTTPValidationError'];
30697
+ };
30698
+ };
30699
+ };
30700
+ };
30701
+ delete_provider_connection: {
30702
+ parameters: {
30703
+ query?: never;
30704
+ header?: never;
30705
+ path: {
30706
+ connection_id: string;
30707
+ };
30708
+ cookie?: never;
30709
+ };
30710
+ requestBody?: never;
30711
+ responses: {
30712
+ /** @description Successful Response */
30713
+ 200: {
30714
+ headers: {
30715
+ [name: string]: unknown;
30716
+ };
30717
+ content: {
30718
+ 'application/json': unknown;
30719
+ };
30720
+ };
30721
+ /** @description Validation Error */
30722
+ 422: {
30723
+ headers: {
30724
+ [name: string]: unknown;
30725
+ };
30726
+ content: {
30727
+ 'application/json': components['schemas']['HTTPValidationError'];
30728
+ };
30729
+ };
30730
+ };
30731
+ };
30732
+ bridge_provider_key: {
30733
+ parameters: {
30734
+ query?: never;
30735
+ header?: never;
30736
+ path?: never;
30737
+ cookie?: never;
30738
+ };
30739
+ requestBody: {
30740
+ content: {
30741
+ 'application/json': components['schemas']['BridgeKey'];
30742
+ };
30743
+ };
30744
+ responses: {
30745
+ /** @description Successful Response */
30746
+ 200: {
30747
+ headers: {
30748
+ [name: string]: unknown;
30749
+ };
30750
+ content: {
30751
+ 'application/json': unknown;
30752
+ };
30753
+ };
30754
+ /** @description Validation Error */
30755
+ 422: {
30756
+ headers: {
30757
+ [name: string]: unknown;
30758
+ };
30759
+ content: {
30760
+ 'application/json': components['schemas']['HTTPValidationError'];
30761
+ };
30762
+ };
30763
+ };
30764
+ };
30765
+ get_direct_inference_usage: {
30766
+ parameters: {
30767
+ query?: {
30768
+ days?: number;
30769
+ box?: boolean;
30770
+ };
30771
+ header?: never;
30772
+ path?: never;
30773
+ cookie?: never;
30774
+ };
30775
+ requestBody?: never;
30776
+ responses: {
30777
+ /** @description Successful Response */
30778
+ 200: {
30779
+ headers: {
30780
+ [name: string]: unknown;
30781
+ };
30782
+ content: {
30783
+ 'application/json': unknown;
30784
+ };
30785
+ };
30786
+ /** @description Validation Error */
30787
+ 422: {
30788
+ headers: {
30789
+ [name: string]: unknown;
30790
+ };
30791
+ content: {
30792
+ 'application/json': components['schemas']['HTTPValidationError'];
30793
+ };
30794
+ };
30795
+ };
30796
+ };
30260
30797
  get_deployment_house_template: {
30261
30798
  parameters: {
30262
30799
  query?: never;