@arbidocs/client 0.3.76 → 0.3.78
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 +140 -1
- package/dist/index.d.ts +140 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -888,6 +888,28 @@ interface paths {
|
|
|
888
888
|
patch: operations['update_workspace'];
|
|
889
889
|
trace?: never;
|
|
890
890
|
};
|
|
891
|
+
'/v1/workspace/{workspace_ext_id}/chronology': {
|
|
892
|
+
parameters: {
|
|
893
|
+
query?: never;
|
|
894
|
+
header?: never;
|
|
895
|
+
path?: never;
|
|
896
|
+
cookie?: never;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* Get Workspace Chronology
|
|
900
|
+
* @description Return the last-generated chronology for a workspace.
|
|
901
|
+
*
|
|
902
|
+
* Returns all-null fields when no chronology has been generated yet.
|
|
903
|
+
*/
|
|
904
|
+
get: operations['get_workspace_chronology'];
|
|
905
|
+
put?: never;
|
|
906
|
+
post?: never;
|
|
907
|
+
delete?: never;
|
|
908
|
+
options?: never;
|
|
909
|
+
head?: never;
|
|
910
|
+
patch?: never;
|
|
911
|
+
trace?: never;
|
|
912
|
+
};
|
|
891
913
|
'/v1/document/list': {
|
|
892
914
|
parameters: {
|
|
893
915
|
query?: never;
|
|
@@ -1232,6 +1254,30 @@ interface paths {
|
|
|
1232
1254
|
patch?: never;
|
|
1233
1255
|
trace?: never;
|
|
1234
1256
|
};
|
|
1257
|
+
'/v1/document/chronology': {
|
|
1258
|
+
parameters: {
|
|
1259
|
+
query?: never;
|
|
1260
|
+
header?: never;
|
|
1261
|
+
path?: never;
|
|
1262
|
+
cookie?: never;
|
|
1263
|
+
};
|
|
1264
|
+
get?: never;
|
|
1265
|
+
put?: never;
|
|
1266
|
+
/**
|
|
1267
|
+
* Generate Workspace Chronology
|
|
1268
|
+
* @description Generate a chronological timeline of events from the specified documents.
|
|
1269
|
+
*
|
|
1270
|
+
* Runs LLM analysis over the selected documents and persists the result in the
|
|
1271
|
+
* workspace_chronology table (one row per workspace, upserted on each generation).
|
|
1272
|
+
* Returns the generated events alongside metadata about when they were produced.
|
|
1273
|
+
*/
|
|
1274
|
+
post: operations['generate_chronology'];
|
|
1275
|
+
delete?: never;
|
|
1276
|
+
options?: never;
|
|
1277
|
+
head?: never;
|
|
1278
|
+
patch?: never;
|
|
1279
|
+
trace?: never;
|
|
1280
|
+
};
|
|
1235
1281
|
'/v1/conversation/list': {
|
|
1236
1282
|
parameters: {
|
|
1237
1283
|
query?: never;
|
|
@@ -3128,6 +3174,11 @@ interface components {
|
|
|
3128
3174
|
} & {
|
|
3129
3175
|
[key: string]: unknown;
|
|
3130
3176
|
};
|
|
3177
|
+
/** ChronologyRequest */
|
|
3178
|
+
ChronologyRequest: {
|
|
3179
|
+
/** Doc Ext Ids */
|
|
3180
|
+
doc_ext_ids: string[];
|
|
3181
|
+
};
|
|
3131
3182
|
/** Chunk */
|
|
3132
3183
|
Chunk: {
|
|
3133
3184
|
metadata: components['schemas']['ChunkMetadata'];
|
|
@@ -7870,9 +7921,14 @@ interface components {
|
|
|
7870
7921
|
show_templates: boolean;
|
|
7871
7922
|
/**
|
|
7872
7923
|
* Show Skills
|
|
7873
|
-
* @default
|
|
7924
|
+
* @default true
|
|
7874
7925
|
*/
|
|
7875
7926
|
show_skills: boolean;
|
|
7927
|
+
/**
|
|
7928
|
+
* Show Chronology
|
|
7929
|
+
* @default false
|
|
7930
|
+
*/
|
|
7931
|
+
show_chronology: boolean;
|
|
7876
7932
|
/**
|
|
7877
7933
|
* Show Pa Mode
|
|
7878
7934
|
* @default false
|
|
@@ -7944,6 +8000,8 @@ interface components {
|
|
|
7944
8000
|
show_templates?: boolean | null;
|
|
7945
8001
|
/** Show Skills */
|
|
7946
8002
|
show_skills?: boolean | null;
|
|
8003
|
+
/** Show Chronology */
|
|
8004
|
+
show_chronology?: boolean | null;
|
|
7947
8005
|
/** Show Pa Mode */
|
|
7948
8006
|
show_pa_mode?: boolean | null;
|
|
7949
8007
|
/** Show Agent Sessions */
|
|
@@ -8126,6 +8184,23 @@ interface components {
|
|
|
8126
8184
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
8127
8185
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
8128
8186
|
};
|
|
8187
|
+
/**
|
|
8188
|
+
* WorkspaceChronologyOut
|
|
8189
|
+
* @description API response for both POST /v1/document/chronology and GET /v1/workspace/chronology.
|
|
8190
|
+
*
|
|
8191
|
+
* For POST: all fields are always populated (generation just happened).
|
|
8192
|
+
* For GET: all fields are null when no chronology has been generated yet.
|
|
8193
|
+
*/
|
|
8194
|
+
WorkspaceChronologyOut: {
|
|
8195
|
+
/** Events */
|
|
8196
|
+
events?: {
|
|
8197
|
+
[key: string]: unknown;
|
|
8198
|
+
}[] | null;
|
|
8199
|
+
/** Generated At */
|
|
8200
|
+
generated_at?: string | null;
|
|
8201
|
+
/** Doc Count */
|
|
8202
|
+
doc_count?: number | null;
|
|
8203
|
+
};
|
|
8129
8204
|
/** WorkspaceCreateRequest */
|
|
8130
8205
|
WorkspaceCreateRequest: {
|
|
8131
8206
|
/** Name */
|
|
@@ -9680,6 +9755,37 @@ interface operations {
|
|
|
9680
9755
|
};
|
|
9681
9756
|
};
|
|
9682
9757
|
};
|
|
9758
|
+
get_workspace_chronology: {
|
|
9759
|
+
parameters: {
|
|
9760
|
+
query?: never;
|
|
9761
|
+
header?: never;
|
|
9762
|
+
path: {
|
|
9763
|
+
workspace_ext_id: string;
|
|
9764
|
+
};
|
|
9765
|
+
cookie?: never;
|
|
9766
|
+
};
|
|
9767
|
+
requestBody?: never;
|
|
9768
|
+
responses: {
|
|
9769
|
+
/** @description Successful Response */
|
|
9770
|
+
200: {
|
|
9771
|
+
headers: {
|
|
9772
|
+
[name: string]: unknown;
|
|
9773
|
+
};
|
|
9774
|
+
content: {
|
|
9775
|
+
'application/json': components['schemas']['WorkspaceChronologyOut'];
|
|
9776
|
+
};
|
|
9777
|
+
};
|
|
9778
|
+
/** @description Validation Error */
|
|
9779
|
+
422: {
|
|
9780
|
+
headers: {
|
|
9781
|
+
[name: string]: unknown;
|
|
9782
|
+
};
|
|
9783
|
+
content: {
|
|
9784
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
9785
|
+
};
|
|
9786
|
+
};
|
|
9787
|
+
};
|
|
9788
|
+
};
|
|
9683
9789
|
list_documents: {
|
|
9684
9790
|
parameters: {
|
|
9685
9791
|
query?: {
|
|
@@ -10225,6 +10331,39 @@ interface operations {
|
|
|
10225
10331
|
};
|
|
10226
10332
|
};
|
|
10227
10333
|
};
|
|
10334
|
+
generate_chronology: {
|
|
10335
|
+
parameters: {
|
|
10336
|
+
query?: never;
|
|
10337
|
+
header?: never;
|
|
10338
|
+
path?: never;
|
|
10339
|
+
cookie?: never;
|
|
10340
|
+
};
|
|
10341
|
+
requestBody: {
|
|
10342
|
+
content: {
|
|
10343
|
+
'application/json': components['schemas']['ChronologyRequest'];
|
|
10344
|
+
};
|
|
10345
|
+
};
|
|
10346
|
+
responses: {
|
|
10347
|
+
/** @description Successful Response */
|
|
10348
|
+
200: {
|
|
10349
|
+
headers: {
|
|
10350
|
+
[name: string]: unknown;
|
|
10351
|
+
};
|
|
10352
|
+
content: {
|
|
10353
|
+
'application/json': components['schemas']['WorkspaceChronologyOut'];
|
|
10354
|
+
};
|
|
10355
|
+
};
|
|
10356
|
+
/** @description Validation Error */
|
|
10357
|
+
422: {
|
|
10358
|
+
headers: {
|
|
10359
|
+
[name: string]: unknown;
|
|
10360
|
+
};
|
|
10361
|
+
content: {
|
|
10362
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
10363
|
+
};
|
|
10364
|
+
};
|
|
10365
|
+
};
|
|
10366
|
+
};
|
|
10228
10367
|
list_conversations: {
|
|
10229
10368
|
parameters: {
|
|
10230
10369
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -888,6 +888,28 @@ interface paths {
|
|
|
888
888
|
patch: operations['update_workspace'];
|
|
889
889
|
trace?: never;
|
|
890
890
|
};
|
|
891
|
+
'/v1/workspace/{workspace_ext_id}/chronology': {
|
|
892
|
+
parameters: {
|
|
893
|
+
query?: never;
|
|
894
|
+
header?: never;
|
|
895
|
+
path?: never;
|
|
896
|
+
cookie?: never;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* Get Workspace Chronology
|
|
900
|
+
* @description Return the last-generated chronology for a workspace.
|
|
901
|
+
*
|
|
902
|
+
* Returns all-null fields when no chronology has been generated yet.
|
|
903
|
+
*/
|
|
904
|
+
get: operations['get_workspace_chronology'];
|
|
905
|
+
put?: never;
|
|
906
|
+
post?: never;
|
|
907
|
+
delete?: never;
|
|
908
|
+
options?: never;
|
|
909
|
+
head?: never;
|
|
910
|
+
patch?: never;
|
|
911
|
+
trace?: never;
|
|
912
|
+
};
|
|
891
913
|
'/v1/document/list': {
|
|
892
914
|
parameters: {
|
|
893
915
|
query?: never;
|
|
@@ -1232,6 +1254,30 @@ interface paths {
|
|
|
1232
1254
|
patch?: never;
|
|
1233
1255
|
trace?: never;
|
|
1234
1256
|
};
|
|
1257
|
+
'/v1/document/chronology': {
|
|
1258
|
+
parameters: {
|
|
1259
|
+
query?: never;
|
|
1260
|
+
header?: never;
|
|
1261
|
+
path?: never;
|
|
1262
|
+
cookie?: never;
|
|
1263
|
+
};
|
|
1264
|
+
get?: never;
|
|
1265
|
+
put?: never;
|
|
1266
|
+
/**
|
|
1267
|
+
* Generate Workspace Chronology
|
|
1268
|
+
* @description Generate a chronological timeline of events from the specified documents.
|
|
1269
|
+
*
|
|
1270
|
+
* Runs LLM analysis over the selected documents and persists the result in the
|
|
1271
|
+
* workspace_chronology table (one row per workspace, upserted on each generation).
|
|
1272
|
+
* Returns the generated events alongside metadata about when they were produced.
|
|
1273
|
+
*/
|
|
1274
|
+
post: operations['generate_chronology'];
|
|
1275
|
+
delete?: never;
|
|
1276
|
+
options?: never;
|
|
1277
|
+
head?: never;
|
|
1278
|
+
patch?: never;
|
|
1279
|
+
trace?: never;
|
|
1280
|
+
};
|
|
1235
1281
|
'/v1/conversation/list': {
|
|
1236
1282
|
parameters: {
|
|
1237
1283
|
query?: never;
|
|
@@ -3128,6 +3174,11 @@ interface components {
|
|
|
3128
3174
|
} & {
|
|
3129
3175
|
[key: string]: unknown;
|
|
3130
3176
|
};
|
|
3177
|
+
/** ChronologyRequest */
|
|
3178
|
+
ChronologyRequest: {
|
|
3179
|
+
/** Doc Ext Ids */
|
|
3180
|
+
doc_ext_ids: string[];
|
|
3181
|
+
};
|
|
3131
3182
|
/** Chunk */
|
|
3132
3183
|
Chunk: {
|
|
3133
3184
|
metadata: components['schemas']['ChunkMetadata'];
|
|
@@ -7870,9 +7921,14 @@ interface components {
|
|
|
7870
7921
|
show_templates: boolean;
|
|
7871
7922
|
/**
|
|
7872
7923
|
* Show Skills
|
|
7873
|
-
* @default
|
|
7924
|
+
* @default true
|
|
7874
7925
|
*/
|
|
7875
7926
|
show_skills: boolean;
|
|
7927
|
+
/**
|
|
7928
|
+
* Show Chronology
|
|
7929
|
+
* @default false
|
|
7930
|
+
*/
|
|
7931
|
+
show_chronology: boolean;
|
|
7876
7932
|
/**
|
|
7877
7933
|
* Show Pa Mode
|
|
7878
7934
|
* @default false
|
|
@@ -7944,6 +8000,8 @@ interface components {
|
|
|
7944
8000
|
show_templates?: boolean | null;
|
|
7945
8001
|
/** Show Skills */
|
|
7946
8002
|
show_skills?: boolean | null;
|
|
8003
|
+
/** Show Chronology */
|
|
8004
|
+
show_chronology?: boolean | null;
|
|
7947
8005
|
/** Show Pa Mode */
|
|
7948
8006
|
show_pa_mode?: boolean | null;
|
|
7949
8007
|
/** Show Agent Sessions */
|
|
@@ -8126,6 +8184,23 @@ interface components {
|
|
|
8126
8184
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
8127
8185
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
8128
8186
|
};
|
|
8187
|
+
/**
|
|
8188
|
+
* WorkspaceChronologyOut
|
|
8189
|
+
* @description API response for both POST /v1/document/chronology and GET /v1/workspace/chronology.
|
|
8190
|
+
*
|
|
8191
|
+
* For POST: all fields are always populated (generation just happened).
|
|
8192
|
+
* For GET: all fields are null when no chronology has been generated yet.
|
|
8193
|
+
*/
|
|
8194
|
+
WorkspaceChronologyOut: {
|
|
8195
|
+
/** Events */
|
|
8196
|
+
events?: {
|
|
8197
|
+
[key: string]: unknown;
|
|
8198
|
+
}[] | null;
|
|
8199
|
+
/** Generated At */
|
|
8200
|
+
generated_at?: string | null;
|
|
8201
|
+
/** Doc Count */
|
|
8202
|
+
doc_count?: number | null;
|
|
8203
|
+
};
|
|
8129
8204
|
/** WorkspaceCreateRequest */
|
|
8130
8205
|
WorkspaceCreateRequest: {
|
|
8131
8206
|
/** Name */
|
|
@@ -9680,6 +9755,37 @@ interface operations {
|
|
|
9680
9755
|
};
|
|
9681
9756
|
};
|
|
9682
9757
|
};
|
|
9758
|
+
get_workspace_chronology: {
|
|
9759
|
+
parameters: {
|
|
9760
|
+
query?: never;
|
|
9761
|
+
header?: never;
|
|
9762
|
+
path: {
|
|
9763
|
+
workspace_ext_id: string;
|
|
9764
|
+
};
|
|
9765
|
+
cookie?: never;
|
|
9766
|
+
};
|
|
9767
|
+
requestBody?: never;
|
|
9768
|
+
responses: {
|
|
9769
|
+
/** @description Successful Response */
|
|
9770
|
+
200: {
|
|
9771
|
+
headers: {
|
|
9772
|
+
[name: string]: unknown;
|
|
9773
|
+
};
|
|
9774
|
+
content: {
|
|
9775
|
+
'application/json': components['schemas']['WorkspaceChronologyOut'];
|
|
9776
|
+
};
|
|
9777
|
+
};
|
|
9778
|
+
/** @description Validation Error */
|
|
9779
|
+
422: {
|
|
9780
|
+
headers: {
|
|
9781
|
+
[name: string]: unknown;
|
|
9782
|
+
};
|
|
9783
|
+
content: {
|
|
9784
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
9785
|
+
};
|
|
9786
|
+
};
|
|
9787
|
+
};
|
|
9788
|
+
};
|
|
9683
9789
|
list_documents: {
|
|
9684
9790
|
parameters: {
|
|
9685
9791
|
query?: {
|
|
@@ -10225,6 +10331,39 @@ interface operations {
|
|
|
10225
10331
|
};
|
|
10226
10332
|
};
|
|
10227
10333
|
};
|
|
10334
|
+
generate_chronology: {
|
|
10335
|
+
parameters: {
|
|
10336
|
+
query?: never;
|
|
10337
|
+
header?: never;
|
|
10338
|
+
path?: never;
|
|
10339
|
+
cookie?: never;
|
|
10340
|
+
};
|
|
10341
|
+
requestBody: {
|
|
10342
|
+
content: {
|
|
10343
|
+
'application/json': components['schemas']['ChronologyRequest'];
|
|
10344
|
+
};
|
|
10345
|
+
};
|
|
10346
|
+
responses: {
|
|
10347
|
+
/** @description Successful Response */
|
|
10348
|
+
200: {
|
|
10349
|
+
headers: {
|
|
10350
|
+
[name: string]: unknown;
|
|
10351
|
+
};
|
|
10352
|
+
content: {
|
|
10353
|
+
'application/json': components['schemas']['WorkspaceChronologyOut'];
|
|
10354
|
+
};
|
|
10355
|
+
};
|
|
10356
|
+
/** @description Validation Error */
|
|
10357
|
+
422: {
|
|
10358
|
+
headers: {
|
|
10359
|
+
[name: string]: unknown;
|
|
10360
|
+
};
|
|
10361
|
+
content: {
|
|
10362
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
10363
|
+
};
|
|
10364
|
+
};
|
|
10365
|
+
};
|
|
10366
|
+
};
|
|
10228
10367
|
list_conversations: {
|
|
10229
10368
|
parameters: {
|
|
10230
10369
|
query?: never;
|
package/package.json
CHANGED