@arbidocs/client 0.5.125 → 0.5.126
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 +110 -10
- package/dist/index.d.ts +110 -10
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2478,6 +2478,30 @@ interface paths {
|
|
|
2478
2478
|
patch?: never;
|
|
2479
2479
|
trace?: never;
|
|
2480
2480
|
};
|
|
2481
|
+
'/v1/document/{document_ext_id}/versions/{n}/keep': {
|
|
2482
|
+
parameters: {
|
|
2483
|
+
query?: never;
|
|
2484
|
+
header?: never;
|
|
2485
|
+
path?: never;
|
|
2486
|
+
cookie?: never;
|
|
2487
|
+
};
|
|
2488
|
+
get?: never;
|
|
2489
|
+
put?: never;
|
|
2490
|
+
/**
|
|
2491
|
+
* Keep Document Version
|
|
2492
|
+
* @description Save the caller's autosave version as it is: it becomes an ordinary version, keeping its number.
|
|
2493
|
+
*
|
|
2494
|
+
* The same as a Save that uploads nothing new (``/upload`` with ``version_of`` and no ``autosave``, which also
|
|
2495
|
+
* writes the latest edits into it). Only the person whose autosave it is may keep it; the next autosave after it
|
|
2496
|
+
* makes a new version.
|
|
2497
|
+
*/
|
|
2498
|
+
post: operations['keep_document_version'];
|
|
2499
|
+
delete?: never;
|
|
2500
|
+
options?: never;
|
|
2501
|
+
head?: never;
|
|
2502
|
+
patch?: never;
|
|
2503
|
+
trace?: never;
|
|
2504
|
+
};
|
|
2481
2505
|
'/v1/document/doctag': {
|
|
2482
2506
|
parameters: {
|
|
2483
2507
|
query?: never;
|
|
@@ -9501,8 +9525,8 @@ interface components {
|
|
|
9501
9525
|
PRESENTATION_ENABLED: boolean;
|
|
9502
9526
|
/**
|
|
9503
9527
|
* Vision Enabled
|
|
9504
|
-
* @description Enable the view_document_pages tool
|
|
9505
|
-
* @default
|
|
9528
|
+
* @description Enable the view_document_pages tool: the agent looks at document pages as the viewer shows them (slides, charts, figures, scans, signatures, layout) with the deployment's vision model.
|
|
9529
|
+
* @default true
|
|
9506
9530
|
*/
|
|
9507
9531
|
VISION_ENABLED: boolean;
|
|
9508
9532
|
/**
|
|
@@ -9793,8 +9817,8 @@ interface components {
|
|
|
9793
9817
|
PRESENTATION_ENABLED: boolean;
|
|
9794
9818
|
/**
|
|
9795
9819
|
* Vision Enabled
|
|
9796
|
-
* @description Enable the view_document_pages tool
|
|
9797
|
-
* @default
|
|
9820
|
+
* @description Enable the view_document_pages tool: the agent looks at document pages as the viewer shows them (slides, charts, figures, scans, signatures, layout) with the deployment's vision model.
|
|
9821
|
+
* @default true
|
|
9798
9822
|
*/
|
|
9799
9823
|
VISION_ENABLED: boolean;
|
|
9800
9824
|
/**
|
|
@@ -9897,7 +9921,7 @@ interface components {
|
|
|
9897
9921
|
* "ARTIFACTS_ENABLED": true,
|
|
9898
9922
|
* "IMAGE_ENABLED": true,
|
|
9899
9923
|
* "PRESENTATION_ENABLED": true,
|
|
9900
|
-
* "VISION_ENABLED":
|
|
9924
|
+
* "VISION_ENABLED": true,
|
|
9901
9925
|
* "CONVERSATION_SEARCH_ENABLED": true,
|
|
9902
9926
|
* "PERSONAL_AGENT": false,
|
|
9903
9927
|
* "FACTS_ENABLED": true,
|
|
@@ -10115,7 +10139,7 @@ interface components {
|
|
|
10115
10139
|
* "TEMPERATURE": 0.1,
|
|
10116
10140
|
* "MAX_TOKENS": 0,
|
|
10117
10141
|
* "MAX_PAGES_PER_CALL": 5,
|
|
10118
|
-
* "IMAGE_MAX_DIMENSION":
|
|
10142
|
+
* "IMAGE_MAX_DIMENSION": 2048
|
|
10119
10143
|
* }
|
|
10120
10144
|
*/
|
|
10121
10145
|
VisionLLM: components['schemas']['VisionLLMConfig'];
|
|
@@ -14980,6 +15004,11 @@ interface components {
|
|
|
14980
15004
|
* @default 1
|
|
14981
15005
|
*/
|
|
14982
15006
|
current_version: number;
|
|
15007
|
+
/**
|
|
15008
|
+
* Autosave
|
|
15009
|
+
* @default false
|
|
15010
|
+
*/
|
|
15011
|
+
autosave: boolean;
|
|
14983
15012
|
/**
|
|
14984
15013
|
* Versions
|
|
14985
15014
|
* @default []
|
|
@@ -15149,6 +15178,11 @@ interface components {
|
|
|
15149
15178
|
* @default false
|
|
15150
15179
|
*/
|
|
15151
15180
|
is_current: boolean;
|
|
15181
|
+
/**
|
|
15182
|
+
* Autosave
|
|
15183
|
+
* @default false
|
|
15184
|
+
*/
|
|
15185
|
+
autosave: boolean;
|
|
15152
15186
|
/**
|
|
15153
15187
|
* Markup Revision
|
|
15154
15188
|
* @default 0
|
|
@@ -21993,6 +22027,11 @@ interface components {
|
|
|
21993
22027
|
SaveBody: {
|
|
21994
22028
|
/** State */
|
|
21995
22029
|
state?: string | null;
|
|
22030
|
+
/**
|
|
22031
|
+
* Autosave
|
|
22032
|
+
* @default false
|
|
22033
|
+
*/
|
|
22034
|
+
autosave: boolean;
|
|
21996
22035
|
};
|
|
21997
22036
|
/**
|
|
21998
22037
|
* SaveMarkupRequest
|
|
@@ -24835,6 +24874,11 @@ interface components {
|
|
|
24835
24874
|
doc_ext_ids?: string[];
|
|
24836
24875
|
/** Version */
|
|
24837
24876
|
version?: number | null;
|
|
24877
|
+
/**
|
|
24878
|
+
* Autosave
|
|
24879
|
+
* @description For an upload with ``version_of``: whether ``version`` is now an autosave version (true after an autosave, false once Saved). An autosave that replaced its version in place returns the same number.
|
|
24880
|
+
*/
|
|
24881
|
+
autosave?: boolean | null;
|
|
24838
24882
|
/**
|
|
24839
24883
|
* Batch Id
|
|
24840
24884
|
* @description Batch ID for tracking completion via WebSocket batch_complete events
|
|
@@ -25506,7 +25550,7 @@ interface components {
|
|
|
25506
25550
|
API_TYPE: 'local' | 'remote';
|
|
25507
25551
|
/**
|
|
25508
25552
|
* Enable Thinking
|
|
25509
|
-
* @description
|
|
25553
|
+
* @description Let the vision model reason before answering. Off: a reasoning model could spend its whole budget thinking about a page and answer nothing, and a page needs looking at, not deliberation.
|
|
25510
25554
|
* @default false
|
|
25511
25555
|
*/
|
|
25512
25556
|
ENABLE_THINKING: boolean;
|
|
@@ -25536,8 +25580,8 @@ interface components {
|
|
|
25536
25580
|
MAX_PAGES_PER_CALL: number;
|
|
25537
25581
|
/**
|
|
25538
25582
|
* Image Max Dimension
|
|
25539
|
-
* @description
|
|
25540
|
-
* @default
|
|
25583
|
+
* @description The longest side of a page image, in pixels: pages are rendered to it (at most 300 dpi), large enough that small print stays legible.
|
|
25584
|
+
* @default 2048
|
|
25541
25585
|
*/
|
|
25542
25586
|
IMAGE_MAX_DIMENSION: number;
|
|
25543
25587
|
};
|
|
@@ -30097,6 +30141,60 @@ interface operations {
|
|
|
30097
30141
|
};
|
|
30098
30142
|
};
|
|
30099
30143
|
};
|
|
30144
|
+
keep_document_version: {
|
|
30145
|
+
parameters: {
|
|
30146
|
+
query?: never;
|
|
30147
|
+
header?: never;
|
|
30148
|
+
path: {
|
|
30149
|
+
document_ext_id: string;
|
|
30150
|
+
/** @description The autosave version to keep */
|
|
30151
|
+
n: number;
|
|
30152
|
+
};
|
|
30153
|
+
cookie?: never;
|
|
30154
|
+
};
|
|
30155
|
+
requestBody?: never;
|
|
30156
|
+
responses: {
|
|
30157
|
+
/** @description Successful Response */
|
|
30158
|
+
200: {
|
|
30159
|
+
headers: {
|
|
30160
|
+
[name: string]: unknown;
|
|
30161
|
+
};
|
|
30162
|
+
content: {
|
|
30163
|
+
'application/json': components['schemas']['DocVersion'];
|
|
30164
|
+
};
|
|
30165
|
+
};
|
|
30166
|
+
/** @description Another person's autosave version, or a document the caller may not edit */
|
|
30167
|
+
403: {
|
|
30168
|
+
headers: {
|
|
30169
|
+
[name: string]: unknown;
|
|
30170
|
+
};
|
|
30171
|
+
content?: never;
|
|
30172
|
+
};
|
|
30173
|
+
/** @description No such document or version */
|
|
30174
|
+
404: {
|
|
30175
|
+
headers: {
|
|
30176
|
+
[name: string]: unknown;
|
|
30177
|
+
};
|
|
30178
|
+
content?: never;
|
|
30179
|
+
};
|
|
30180
|
+
/** @description The version is not an autosave version */
|
|
30181
|
+
409: {
|
|
30182
|
+
headers: {
|
|
30183
|
+
[name: string]: unknown;
|
|
30184
|
+
};
|
|
30185
|
+
content?: never;
|
|
30186
|
+
};
|
|
30187
|
+
/** @description Validation Error */
|
|
30188
|
+
422: {
|
|
30189
|
+
headers: {
|
|
30190
|
+
[name: string]: unknown;
|
|
30191
|
+
};
|
|
30192
|
+
content: {
|
|
30193
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
30194
|
+
};
|
|
30195
|
+
};
|
|
30196
|
+
};
|
|
30197
|
+
};
|
|
30100
30198
|
create_doctags: {
|
|
30101
30199
|
parameters: {
|
|
30102
30200
|
query?: never;
|
|
@@ -30201,8 +30299,10 @@ interface operations {
|
|
|
30201
30299
|
shared?: boolean;
|
|
30202
30300
|
/** @description Configuration to use for processing */
|
|
30203
30301
|
config_ext_id?: string | null;
|
|
30204
|
-
/** @description Upload a single file as the next version of this document. The document keeps its id, sharing, folder and labels; the new version becomes current (the response's `version`). */
|
|
30302
|
+
/** @description Upload a single file as the next version of this document. The document keeps its id, sharing, folder and labels; the new version becomes current (the response's `version`). When the current version is the caller's own autosave version, this is their Save: the file is written into that version in place and it becomes an ordinary version (no new number). */
|
|
30205
30303
|
version_of?: string | null;
|
|
30304
|
+
/** @description With `version_of`: an autosave of the caller's editing. The first one after an ordinary version makes ONE new version marked `autosave`; the caller's later autosaves replace that version's file in place (same number, re-processed). Another person's autosave version is never overwritten: theirs makes a version of its own. Save (an upload without `autosave`, or `POST /{document_ext_id}/versions/{n}/keep`) finalises it. */
|
|
30305
|
+
autosave?: boolean;
|
|
30206
30306
|
/** @description A new, separate document made from this one (a crop, a redacted copy) or, repeated, from several (a production set); recorded as provenance only */
|
|
30207
30307
|
derived_from?: string[] | null;
|
|
30208
30308
|
/** @description How it was made from `derived_from` */
|
package/dist/index.d.ts
CHANGED
|
@@ -2478,6 +2478,30 @@ interface paths {
|
|
|
2478
2478
|
patch?: never;
|
|
2479
2479
|
trace?: never;
|
|
2480
2480
|
};
|
|
2481
|
+
'/v1/document/{document_ext_id}/versions/{n}/keep': {
|
|
2482
|
+
parameters: {
|
|
2483
|
+
query?: never;
|
|
2484
|
+
header?: never;
|
|
2485
|
+
path?: never;
|
|
2486
|
+
cookie?: never;
|
|
2487
|
+
};
|
|
2488
|
+
get?: never;
|
|
2489
|
+
put?: never;
|
|
2490
|
+
/**
|
|
2491
|
+
* Keep Document Version
|
|
2492
|
+
* @description Save the caller's autosave version as it is: it becomes an ordinary version, keeping its number.
|
|
2493
|
+
*
|
|
2494
|
+
* The same as a Save that uploads nothing new (``/upload`` with ``version_of`` and no ``autosave``, which also
|
|
2495
|
+
* writes the latest edits into it). Only the person whose autosave it is may keep it; the next autosave after it
|
|
2496
|
+
* makes a new version.
|
|
2497
|
+
*/
|
|
2498
|
+
post: operations['keep_document_version'];
|
|
2499
|
+
delete?: never;
|
|
2500
|
+
options?: never;
|
|
2501
|
+
head?: never;
|
|
2502
|
+
patch?: never;
|
|
2503
|
+
trace?: never;
|
|
2504
|
+
};
|
|
2481
2505
|
'/v1/document/doctag': {
|
|
2482
2506
|
parameters: {
|
|
2483
2507
|
query?: never;
|
|
@@ -9501,8 +9525,8 @@ interface components {
|
|
|
9501
9525
|
PRESENTATION_ENABLED: boolean;
|
|
9502
9526
|
/**
|
|
9503
9527
|
* Vision Enabled
|
|
9504
|
-
* @description Enable the view_document_pages tool
|
|
9505
|
-
* @default
|
|
9528
|
+
* @description Enable the view_document_pages tool: the agent looks at document pages as the viewer shows them (slides, charts, figures, scans, signatures, layout) with the deployment's vision model.
|
|
9529
|
+
* @default true
|
|
9506
9530
|
*/
|
|
9507
9531
|
VISION_ENABLED: boolean;
|
|
9508
9532
|
/**
|
|
@@ -9793,8 +9817,8 @@ interface components {
|
|
|
9793
9817
|
PRESENTATION_ENABLED: boolean;
|
|
9794
9818
|
/**
|
|
9795
9819
|
* Vision Enabled
|
|
9796
|
-
* @description Enable the view_document_pages tool
|
|
9797
|
-
* @default
|
|
9820
|
+
* @description Enable the view_document_pages tool: the agent looks at document pages as the viewer shows them (slides, charts, figures, scans, signatures, layout) with the deployment's vision model.
|
|
9821
|
+
* @default true
|
|
9798
9822
|
*/
|
|
9799
9823
|
VISION_ENABLED: boolean;
|
|
9800
9824
|
/**
|
|
@@ -9897,7 +9921,7 @@ interface components {
|
|
|
9897
9921
|
* "ARTIFACTS_ENABLED": true,
|
|
9898
9922
|
* "IMAGE_ENABLED": true,
|
|
9899
9923
|
* "PRESENTATION_ENABLED": true,
|
|
9900
|
-
* "VISION_ENABLED":
|
|
9924
|
+
* "VISION_ENABLED": true,
|
|
9901
9925
|
* "CONVERSATION_SEARCH_ENABLED": true,
|
|
9902
9926
|
* "PERSONAL_AGENT": false,
|
|
9903
9927
|
* "FACTS_ENABLED": true,
|
|
@@ -10115,7 +10139,7 @@ interface components {
|
|
|
10115
10139
|
* "TEMPERATURE": 0.1,
|
|
10116
10140
|
* "MAX_TOKENS": 0,
|
|
10117
10141
|
* "MAX_PAGES_PER_CALL": 5,
|
|
10118
|
-
* "IMAGE_MAX_DIMENSION":
|
|
10142
|
+
* "IMAGE_MAX_DIMENSION": 2048
|
|
10119
10143
|
* }
|
|
10120
10144
|
*/
|
|
10121
10145
|
VisionLLM: components['schemas']['VisionLLMConfig'];
|
|
@@ -14980,6 +15004,11 @@ interface components {
|
|
|
14980
15004
|
* @default 1
|
|
14981
15005
|
*/
|
|
14982
15006
|
current_version: number;
|
|
15007
|
+
/**
|
|
15008
|
+
* Autosave
|
|
15009
|
+
* @default false
|
|
15010
|
+
*/
|
|
15011
|
+
autosave: boolean;
|
|
14983
15012
|
/**
|
|
14984
15013
|
* Versions
|
|
14985
15014
|
* @default []
|
|
@@ -15149,6 +15178,11 @@ interface components {
|
|
|
15149
15178
|
* @default false
|
|
15150
15179
|
*/
|
|
15151
15180
|
is_current: boolean;
|
|
15181
|
+
/**
|
|
15182
|
+
* Autosave
|
|
15183
|
+
* @default false
|
|
15184
|
+
*/
|
|
15185
|
+
autosave: boolean;
|
|
15152
15186
|
/**
|
|
15153
15187
|
* Markup Revision
|
|
15154
15188
|
* @default 0
|
|
@@ -21993,6 +22027,11 @@ interface components {
|
|
|
21993
22027
|
SaveBody: {
|
|
21994
22028
|
/** State */
|
|
21995
22029
|
state?: string | null;
|
|
22030
|
+
/**
|
|
22031
|
+
* Autosave
|
|
22032
|
+
* @default false
|
|
22033
|
+
*/
|
|
22034
|
+
autosave: boolean;
|
|
21996
22035
|
};
|
|
21997
22036
|
/**
|
|
21998
22037
|
* SaveMarkupRequest
|
|
@@ -24835,6 +24874,11 @@ interface components {
|
|
|
24835
24874
|
doc_ext_ids?: string[];
|
|
24836
24875
|
/** Version */
|
|
24837
24876
|
version?: number | null;
|
|
24877
|
+
/**
|
|
24878
|
+
* Autosave
|
|
24879
|
+
* @description For an upload with ``version_of``: whether ``version`` is now an autosave version (true after an autosave, false once Saved). An autosave that replaced its version in place returns the same number.
|
|
24880
|
+
*/
|
|
24881
|
+
autosave?: boolean | null;
|
|
24838
24882
|
/**
|
|
24839
24883
|
* Batch Id
|
|
24840
24884
|
* @description Batch ID for tracking completion via WebSocket batch_complete events
|
|
@@ -25506,7 +25550,7 @@ interface components {
|
|
|
25506
25550
|
API_TYPE: 'local' | 'remote';
|
|
25507
25551
|
/**
|
|
25508
25552
|
* Enable Thinking
|
|
25509
|
-
* @description
|
|
25553
|
+
* @description Let the vision model reason before answering. Off: a reasoning model could spend its whole budget thinking about a page and answer nothing, and a page needs looking at, not deliberation.
|
|
25510
25554
|
* @default false
|
|
25511
25555
|
*/
|
|
25512
25556
|
ENABLE_THINKING: boolean;
|
|
@@ -25536,8 +25580,8 @@ interface components {
|
|
|
25536
25580
|
MAX_PAGES_PER_CALL: number;
|
|
25537
25581
|
/**
|
|
25538
25582
|
* Image Max Dimension
|
|
25539
|
-
* @description
|
|
25540
|
-
* @default
|
|
25583
|
+
* @description The longest side of a page image, in pixels: pages are rendered to it (at most 300 dpi), large enough that small print stays legible.
|
|
25584
|
+
* @default 2048
|
|
25541
25585
|
*/
|
|
25542
25586
|
IMAGE_MAX_DIMENSION: number;
|
|
25543
25587
|
};
|
|
@@ -30097,6 +30141,60 @@ interface operations {
|
|
|
30097
30141
|
};
|
|
30098
30142
|
};
|
|
30099
30143
|
};
|
|
30144
|
+
keep_document_version: {
|
|
30145
|
+
parameters: {
|
|
30146
|
+
query?: never;
|
|
30147
|
+
header?: never;
|
|
30148
|
+
path: {
|
|
30149
|
+
document_ext_id: string;
|
|
30150
|
+
/** @description The autosave version to keep */
|
|
30151
|
+
n: number;
|
|
30152
|
+
};
|
|
30153
|
+
cookie?: never;
|
|
30154
|
+
};
|
|
30155
|
+
requestBody?: never;
|
|
30156
|
+
responses: {
|
|
30157
|
+
/** @description Successful Response */
|
|
30158
|
+
200: {
|
|
30159
|
+
headers: {
|
|
30160
|
+
[name: string]: unknown;
|
|
30161
|
+
};
|
|
30162
|
+
content: {
|
|
30163
|
+
'application/json': components['schemas']['DocVersion'];
|
|
30164
|
+
};
|
|
30165
|
+
};
|
|
30166
|
+
/** @description Another person's autosave version, or a document the caller may not edit */
|
|
30167
|
+
403: {
|
|
30168
|
+
headers: {
|
|
30169
|
+
[name: string]: unknown;
|
|
30170
|
+
};
|
|
30171
|
+
content?: never;
|
|
30172
|
+
};
|
|
30173
|
+
/** @description No such document or version */
|
|
30174
|
+
404: {
|
|
30175
|
+
headers: {
|
|
30176
|
+
[name: string]: unknown;
|
|
30177
|
+
};
|
|
30178
|
+
content?: never;
|
|
30179
|
+
};
|
|
30180
|
+
/** @description The version is not an autosave version */
|
|
30181
|
+
409: {
|
|
30182
|
+
headers: {
|
|
30183
|
+
[name: string]: unknown;
|
|
30184
|
+
};
|
|
30185
|
+
content?: never;
|
|
30186
|
+
};
|
|
30187
|
+
/** @description Validation Error */
|
|
30188
|
+
422: {
|
|
30189
|
+
headers: {
|
|
30190
|
+
[name: string]: unknown;
|
|
30191
|
+
};
|
|
30192
|
+
content: {
|
|
30193
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
30194
|
+
};
|
|
30195
|
+
};
|
|
30196
|
+
};
|
|
30197
|
+
};
|
|
30100
30198
|
create_doctags: {
|
|
30101
30199
|
parameters: {
|
|
30102
30200
|
query?: never;
|
|
@@ -30201,8 +30299,10 @@ interface operations {
|
|
|
30201
30299
|
shared?: boolean;
|
|
30202
30300
|
/** @description Configuration to use for processing */
|
|
30203
30301
|
config_ext_id?: string | null;
|
|
30204
|
-
/** @description Upload a single file as the next version of this document. The document keeps its id, sharing, folder and labels; the new version becomes current (the response's `version`). */
|
|
30302
|
+
/** @description Upload a single file as the next version of this document. The document keeps its id, sharing, folder and labels; the new version becomes current (the response's `version`). When the current version is the caller's own autosave version, this is their Save: the file is written into that version in place and it becomes an ordinary version (no new number). */
|
|
30205
30303
|
version_of?: string | null;
|
|
30304
|
+
/** @description With `version_of`: an autosave of the caller's editing. The first one after an ordinary version makes ONE new version marked `autosave`; the caller's later autosaves replace that version's file in place (same number, re-processed). Another person's autosave version is never overwritten: theirs makes a version of its own. Save (an upload without `autosave`, or `POST /{document_ext_id}/versions/{n}/keep`) finalises it. */
|
|
30305
|
+
autosave?: boolean;
|
|
30206
30306
|
/** @description A new, separate document made from this one (a crop, a redacted copy) or, repeated, from several (a production set); recorded as provenance only */
|
|
30207
30307
|
derived_from?: string[] | null;
|
|
30208
30308
|
/** @description How it was made from `derived_from` */
|
package/package.json
CHANGED