@arbidocs/client 0.3.155 → 0.3.157
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 +283 -13
- package/dist/index.d.ts +283 -13
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2692,6 +2692,13 @@ interface paths {
|
|
|
2692
2692
|
* re-seals them to the session public key, and posts them here. The server can then
|
|
2693
2693
|
* use them for sync only while this session is live. Returns 409 when there is no
|
|
2694
2694
|
* live session to cache into (e.g. it expired between login and this call).
|
|
2695
|
+
*
|
|
2696
|
+
* This is also the auto-sync trigger point: it's called automatically for every
|
|
2697
|
+
* connected vendor right after login (no user action), so it's the one place a
|
|
2698
|
+
* background sync can be launched using a freshly-decrypted token without ever
|
|
2699
|
+
* storing a server-decryptable copy at rest. Any ``DriveSync``/``MailboxSync`` row
|
|
2700
|
+
* for this (user, vendor) with ``auto_sync=True`` and a stale ``last_sync_at`` is
|
|
2701
|
+
* fired as a background task; this never affects the bridge's own success/failure.
|
|
2695
2702
|
*/
|
|
2696
2703
|
post: operations['bridge_session_connector_tokens'];
|
|
2697
2704
|
delete?: never;
|
|
@@ -3110,6 +3117,70 @@ interface paths {
|
|
|
3110
3117
|
patch?: never;
|
|
3111
3118
|
trace?: never;
|
|
3112
3119
|
};
|
|
3120
|
+
'/v1/connectors/{vendor}/calendars': {
|
|
3121
|
+
parameters: {
|
|
3122
|
+
query?: never;
|
|
3123
|
+
header?: never;
|
|
3124
|
+
path?: never;
|
|
3125
|
+
cookie?: never;
|
|
3126
|
+
};
|
|
3127
|
+
/**
|
|
3128
|
+
* List the connected account's calendars for selection
|
|
3129
|
+
* @description Return the connected account's calendars.
|
|
3130
|
+
*/
|
|
3131
|
+
get: operations['list_calendars'];
|
|
3132
|
+
put?: never;
|
|
3133
|
+
post?: never;
|
|
3134
|
+
delete?: never;
|
|
3135
|
+
options?: never;
|
|
3136
|
+
head?: never;
|
|
3137
|
+
patch?: never;
|
|
3138
|
+
trace?: never;
|
|
3139
|
+
};
|
|
3140
|
+
'/v1/connectors/{vendor}/enable-calendar-sync': {
|
|
3141
|
+
parameters: {
|
|
3142
|
+
query?: never;
|
|
3143
|
+
header?: never;
|
|
3144
|
+
path?: never;
|
|
3145
|
+
cookie?: never;
|
|
3146
|
+
};
|
|
3147
|
+
get?: never;
|
|
3148
|
+
put?: never;
|
|
3149
|
+
/**
|
|
3150
|
+
* Enable calendar sync for a vendor into a target workspace
|
|
3151
|
+
* @description Create or update the user's CalendarSync row for this vendor + workspace.
|
|
3152
|
+
*
|
|
3153
|
+
* Changing the calendar selection clears the delta cursor: the stored one is scoped
|
|
3154
|
+
* to the previous selection, so reusing it would silently skip a newly-added
|
|
3155
|
+
* calendar's history.
|
|
3156
|
+
*/
|
|
3157
|
+
post: operations['enable_calendar_sync'];
|
|
3158
|
+
delete?: never;
|
|
3159
|
+
options?: never;
|
|
3160
|
+
head?: never;
|
|
3161
|
+
patch?: never;
|
|
3162
|
+
trace?: never;
|
|
3163
|
+
};
|
|
3164
|
+
'/v1/connectors/{vendor}/calendar-sync': {
|
|
3165
|
+
parameters: {
|
|
3166
|
+
query?: never;
|
|
3167
|
+
header?: never;
|
|
3168
|
+
path?: never;
|
|
3169
|
+
cookie?: never;
|
|
3170
|
+
};
|
|
3171
|
+
get?: never;
|
|
3172
|
+
put?: never;
|
|
3173
|
+
/**
|
|
3174
|
+
* Trigger a calendar sync run in the background
|
|
3175
|
+
* @description Schedule a background calendar sync. 404 if never enabled, 409 if not connected.
|
|
3176
|
+
*/
|
|
3177
|
+
post: operations['trigger_calendar_sync'];
|
|
3178
|
+
delete?: never;
|
|
3179
|
+
options?: never;
|
|
3180
|
+
head?: never;
|
|
3181
|
+
patch?: never;
|
|
3182
|
+
trace?: never;
|
|
3183
|
+
};
|
|
3113
3184
|
'/v1/responses': {
|
|
3114
3185
|
parameters: {
|
|
3115
3186
|
query?: never;
|
|
@@ -3965,7 +4036,7 @@ interface components {
|
|
|
3965
4036
|
* "API_TYPE": "remote",
|
|
3966
4037
|
* "ENABLE_THINKING": false,
|
|
3967
4038
|
* "MODEL_NAME": "Fast",
|
|
3968
|
-
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document
|
|
4039
|
+
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on 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- Only use information explicitly stated in the document; do not infer or assume information not present.\n- If the information is not found, respond with exactly \"Not found\".\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.",
|
|
3969
4040
|
* "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
|
|
3970
4041
|
* "TEMPERATURE": 0.1,
|
|
3971
4042
|
* "MAX_TOKENS": 0,
|
|
@@ -4010,7 +4081,7 @@ interface components {
|
|
|
4010
4081
|
* }
|
|
4011
4082
|
* },
|
|
4012
4083
|
* {
|
|
4013
|
-
* "instruction": "What is the main subject or purpose of this document? Open with one concise phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Then add one or two sentences of detail.",
|
|
4084
|
+
* "instruction": "What is the main subject or purpose of this document? Open with one concise noun phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Never begin with a lead-in such as 'This document is', 'The document outlines', 'This is', or any similar sentence opener — start directly with the naming phrase. Then add one or two short sentences of key detail.",
|
|
4014
4085
|
* "name": "doc_subject",
|
|
4015
4086
|
* "tag_type": {
|
|
4016
4087
|
* "options": [],
|
|
@@ -4535,6 +4606,52 @@ interface components {
|
|
|
4535
4606
|
/** Session Id */
|
|
4536
4607
|
session_id?: string | null;
|
|
4537
4608
|
};
|
|
4609
|
+
/**
|
|
4610
|
+
* CalendarRead
|
|
4611
|
+
* @description A selectable calendar in the picker.
|
|
4612
|
+
*/
|
|
4613
|
+
CalendarRead: {
|
|
4614
|
+
/** Id */
|
|
4615
|
+
id: string;
|
|
4616
|
+
/** Name */
|
|
4617
|
+
name: string;
|
|
4618
|
+
};
|
|
4619
|
+
/**
|
|
4620
|
+
* CalendarSyncRead
|
|
4621
|
+
* @description Public shape for a CalendarSync row returned by the enable endpoint.
|
|
4622
|
+
*/
|
|
4623
|
+
CalendarSyncRead: {
|
|
4624
|
+
/**
|
|
4625
|
+
* Id
|
|
4626
|
+
* Format: uuid
|
|
4627
|
+
*/
|
|
4628
|
+
id: string;
|
|
4629
|
+
/** Vendor Key */
|
|
4630
|
+
vendor_key: string;
|
|
4631
|
+
/** Target Workspace Id */
|
|
4632
|
+
target_workspace_id: number;
|
|
4633
|
+
/** Enabled */
|
|
4634
|
+
enabled: boolean;
|
|
4635
|
+
/** Status */
|
|
4636
|
+
status: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* Calendars
|
|
4639
|
+
* @default []
|
|
4640
|
+
*/
|
|
4641
|
+
calendars: string[];
|
|
4642
|
+
/**
|
|
4643
|
+
* Shared
|
|
4644
|
+
* @default false
|
|
4645
|
+
*/
|
|
4646
|
+
shared: boolean;
|
|
4647
|
+
/**
|
|
4648
|
+
* Auto Sync
|
|
4649
|
+
* @default false
|
|
4650
|
+
*/
|
|
4651
|
+
auto_sync: boolean;
|
|
4652
|
+
/** Last Sync At */
|
|
4653
|
+
last_sync_at?: string | null;
|
|
4654
|
+
};
|
|
4538
4655
|
/**
|
|
4539
4656
|
* ChangePasswordRequest
|
|
4540
4657
|
* @description Password change request with signature-based auth.
|
|
@@ -5139,6 +5256,11 @@ interface components {
|
|
|
5139
5256
|
* @default false
|
|
5140
5257
|
*/
|
|
5141
5258
|
auto_rename: boolean;
|
|
5259
|
+
/**
|
|
5260
|
+
* Auto Sync
|
|
5261
|
+
* @default false
|
|
5262
|
+
*/
|
|
5263
|
+
auto_sync: boolean;
|
|
5142
5264
|
/**
|
|
5143
5265
|
* Synced Count
|
|
5144
5266
|
* @default 0
|
|
@@ -5982,17 +6104,15 @@ interface components {
|
|
|
5982
6104
|
* System Instruction
|
|
5983
6105
|
* @default You are a document analysis assistant. Answer questions based strictly on document content.
|
|
5984
6106
|
*
|
|
6107
|
+
* Your answers are displayed directly as cell values in a table, so keep every answer as short as possible.
|
|
6108
|
+
*
|
|
5985
6109
|
* Guidelines:
|
|
5986
|
-
* -
|
|
5987
|
-
* - Do not
|
|
5988
|
-
* -
|
|
5989
|
-
* -
|
|
5990
|
-
* -
|
|
5991
|
-
* - Output answers as plain text only. Do not use Markdown or any other formatting:
|
|
5992
|
-
* - Do not bold, italicize, or otherwise emphasize any part of the answer.
|
|
5993
|
-
* - Do not include asterisks (*), underscores (_), backticks (`), or other Markdown markers.
|
|
5994
|
-
* - Do not prefix answers with bullets, dashes (-), or numbered/lettered enumeration (e.g. "1.", "a)").
|
|
5995
|
-
* - Write multi-point answers as flowing sentences, not as a list.
|
|
6110
|
+
* - 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."
|
|
6111
|
+
* - 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.
|
|
6112
|
+
* - Only use information explicitly stated in the document; do not infer or assume information not present.
|
|
6113
|
+
* - If the information is not found, respond with exactly "Not found".
|
|
6114
|
+
* - Follow the format instructions exactly for each answer.
|
|
6115
|
+
* - 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.
|
|
5996
6116
|
*/
|
|
5997
6117
|
SYSTEM_INSTRUCTION: string;
|
|
5998
6118
|
/**
|
|
@@ -6129,6 +6249,11 @@ interface components {
|
|
|
6129
6249
|
* @default false
|
|
6130
6250
|
*/
|
|
6131
6251
|
shared: boolean;
|
|
6252
|
+
/**
|
|
6253
|
+
* Auto Sync
|
|
6254
|
+
* @default false
|
|
6255
|
+
*/
|
|
6256
|
+
auto_sync: boolean;
|
|
6132
6257
|
/** Last Sync At */
|
|
6133
6258
|
last_sync_at?: string | null;
|
|
6134
6259
|
};
|
|
@@ -6261,6 +6386,28 @@ interface components {
|
|
|
6261
6386
|
*/
|
|
6262
6387
|
QUERY_PREFIX: string;
|
|
6263
6388
|
};
|
|
6389
|
+
/** EnableCalendarSyncRequest */
|
|
6390
|
+
EnableCalendarSyncRequest: {
|
|
6391
|
+
/** Workspace Ext Id */
|
|
6392
|
+
workspace_ext_id: string;
|
|
6393
|
+
/** Calendars */
|
|
6394
|
+
calendars: string[];
|
|
6395
|
+
/**
|
|
6396
|
+
* Backfill Days
|
|
6397
|
+
* @default 30
|
|
6398
|
+
*/
|
|
6399
|
+
backfill_days: number;
|
|
6400
|
+
/**
|
|
6401
|
+
* Shared
|
|
6402
|
+
* @default false
|
|
6403
|
+
*/
|
|
6404
|
+
shared: boolean;
|
|
6405
|
+
/**
|
|
6406
|
+
* Auto Sync
|
|
6407
|
+
* @default false
|
|
6408
|
+
*/
|
|
6409
|
+
auto_sync: boolean;
|
|
6410
|
+
};
|
|
6264
6411
|
/** EnableDriveSyncRequest */
|
|
6265
6412
|
EnableDriveSyncRequest: {
|
|
6266
6413
|
/** Workspace Ext Id */
|
|
@@ -6282,6 +6429,11 @@ interface components {
|
|
|
6282
6429
|
* @default false
|
|
6283
6430
|
*/
|
|
6284
6431
|
shared: boolean;
|
|
6432
|
+
/**
|
|
6433
|
+
* Auto Sync
|
|
6434
|
+
* @default false
|
|
6435
|
+
*/
|
|
6436
|
+
auto_sync: boolean;
|
|
6285
6437
|
};
|
|
6286
6438
|
/** EnableSyncRequest */
|
|
6287
6439
|
EnableSyncRequest: {
|
|
@@ -6306,6 +6458,11 @@ interface components {
|
|
|
6306
6458
|
* @default false
|
|
6307
6459
|
*/
|
|
6308
6460
|
auto_rename: boolean;
|
|
6461
|
+
/**
|
|
6462
|
+
* Auto Sync
|
|
6463
|
+
* @default false
|
|
6464
|
+
*/
|
|
6465
|
+
auto_sync: boolean;
|
|
6309
6466
|
};
|
|
6310
6467
|
/**
|
|
6311
6468
|
* ErrorMessage
|
|
@@ -6738,6 +6895,11 @@ interface components {
|
|
|
6738
6895
|
tag_ext_ids: string[];
|
|
6739
6896
|
/** Doc Ext Ids */
|
|
6740
6897
|
doc_ext_ids: string[];
|
|
6898
|
+
/**
|
|
6899
|
+
* Overwrite
|
|
6900
|
+
* @default false
|
|
6901
|
+
*/
|
|
6902
|
+
overwrite: boolean;
|
|
6741
6903
|
};
|
|
6742
6904
|
/**
|
|
6743
6905
|
* GenerateAnnotationsResponse
|
|
@@ -7144,6 +7306,11 @@ interface components {
|
|
|
7144
7306
|
* @default false
|
|
7145
7307
|
*/
|
|
7146
7308
|
auto_rename: boolean;
|
|
7309
|
+
/**
|
|
7310
|
+
* Auto Sync
|
|
7311
|
+
* @default false
|
|
7312
|
+
*/
|
|
7313
|
+
auto_sync: boolean;
|
|
7147
7314
|
/** Last Sync At */
|
|
7148
7315
|
last_sync_at?: string | null;
|
|
7149
7316
|
};
|
|
@@ -10851,6 +11018,8 @@ interface components {
|
|
|
10851
11018
|
skip_duplicates?: boolean | null;
|
|
10852
11019
|
/** Auto Rename */
|
|
10853
11020
|
auto_rename?: boolean | null;
|
|
11021
|
+
/** Auto Sync */
|
|
11022
|
+
auto_sync?: boolean | null;
|
|
10854
11023
|
/** Drive Sync Status */
|
|
10855
11024
|
drive_sync_status?: string | null;
|
|
10856
11025
|
/** Drive Last Sync At */
|
|
@@ -10865,6 +11034,8 @@ interface components {
|
|
|
10865
11034
|
drive_auto_rename?: boolean | null;
|
|
10866
11035
|
/** Drive Shared */
|
|
10867
11036
|
drive_shared?: boolean | null;
|
|
11037
|
+
/** Drive Auto Sync */
|
|
11038
|
+
drive_auto_sync?: boolean | null;
|
|
10868
11039
|
/** Drive Needs Reconsent */
|
|
10869
11040
|
drive_needs_reconsent?: boolean | null;
|
|
10870
11041
|
};
|
|
@@ -11265,7 +11436,7 @@ interface components {
|
|
|
11265
11436
|
* (FastAPI validates + documents the allowed set) and the catalog keys.
|
|
11266
11437
|
* @enum {string}
|
|
11267
11438
|
*/
|
|
11268
|
-
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'ms365_mail';
|
|
11439
|
+
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'clio' | 'box' | 'dropbox' | 'onenote' | 'ms365_mail';
|
|
11269
11440
|
/** VerifyEmailRequest */
|
|
11270
11441
|
VerifyEmailRequest: {
|
|
11271
11442
|
/**
|
|
@@ -16193,6 +16364,105 @@ interface operations {
|
|
|
16193
16364
|
};
|
|
16194
16365
|
};
|
|
16195
16366
|
};
|
|
16367
|
+
list_calendars: {
|
|
16368
|
+
parameters: {
|
|
16369
|
+
query?: never;
|
|
16370
|
+
header?: never;
|
|
16371
|
+
path: {
|
|
16372
|
+
vendor: components['schemas']['VendorKey'];
|
|
16373
|
+
};
|
|
16374
|
+
cookie?: never;
|
|
16375
|
+
};
|
|
16376
|
+
requestBody?: never;
|
|
16377
|
+
responses: {
|
|
16378
|
+
/** @description Successful Response */
|
|
16379
|
+
200: {
|
|
16380
|
+
headers: {
|
|
16381
|
+
[name: string]: unknown;
|
|
16382
|
+
};
|
|
16383
|
+
content: {
|
|
16384
|
+
'application/json': components['schemas']['CalendarRead'][];
|
|
16385
|
+
};
|
|
16386
|
+
};
|
|
16387
|
+
/** @description Validation Error */
|
|
16388
|
+
422: {
|
|
16389
|
+
headers: {
|
|
16390
|
+
[name: string]: unknown;
|
|
16391
|
+
};
|
|
16392
|
+
content: {
|
|
16393
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16394
|
+
};
|
|
16395
|
+
};
|
|
16396
|
+
};
|
|
16397
|
+
};
|
|
16398
|
+
enable_calendar_sync: {
|
|
16399
|
+
parameters: {
|
|
16400
|
+
query?: never;
|
|
16401
|
+
header?: never;
|
|
16402
|
+
path: {
|
|
16403
|
+
vendor: components['schemas']['VendorKey'];
|
|
16404
|
+
};
|
|
16405
|
+
cookie?: never;
|
|
16406
|
+
};
|
|
16407
|
+
requestBody: {
|
|
16408
|
+
content: {
|
|
16409
|
+
'application/json': components['schemas']['EnableCalendarSyncRequest'];
|
|
16410
|
+
};
|
|
16411
|
+
};
|
|
16412
|
+
responses: {
|
|
16413
|
+
/** @description Successful Response */
|
|
16414
|
+
200: {
|
|
16415
|
+
headers: {
|
|
16416
|
+
[name: string]: unknown;
|
|
16417
|
+
};
|
|
16418
|
+
content: {
|
|
16419
|
+
'application/json': components['schemas']['CalendarSyncRead'];
|
|
16420
|
+
};
|
|
16421
|
+
};
|
|
16422
|
+
/** @description Validation Error */
|
|
16423
|
+
422: {
|
|
16424
|
+
headers: {
|
|
16425
|
+
[name: string]: unknown;
|
|
16426
|
+
};
|
|
16427
|
+
content: {
|
|
16428
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16429
|
+
};
|
|
16430
|
+
};
|
|
16431
|
+
};
|
|
16432
|
+
};
|
|
16433
|
+
trigger_calendar_sync: {
|
|
16434
|
+
parameters: {
|
|
16435
|
+
query?: {
|
|
16436
|
+
workspace_ext_id?: string | null;
|
|
16437
|
+
};
|
|
16438
|
+
header?: never;
|
|
16439
|
+
path: {
|
|
16440
|
+
vendor: components['schemas']['VendorKey'];
|
|
16441
|
+
};
|
|
16442
|
+
cookie?: never;
|
|
16443
|
+
};
|
|
16444
|
+
requestBody?: never;
|
|
16445
|
+
responses: {
|
|
16446
|
+
/** @description Successful Response */
|
|
16447
|
+
202: {
|
|
16448
|
+
headers: {
|
|
16449
|
+
[name: string]: unknown;
|
|
16450
|
+
};
|
|
16451
|
+
content: {
|
|
16452
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
16453
|
+
};
|
|
16454
|
+
};
|
|
16455
|
+
/** @description Validation Error */
|
|
16456
|
+
422: {
|
|
16457
|
+
headers: {
|
|
16458
|
+
[name: string]: unknown;
|
|
16459
|
+
};
|
|
16460
|
+
content: {
|
|
16461
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16462
|
+
};
|
|
16463
|
+
};
|
|
16464
|
+
};
|
|
16465
|
+
};
|
|
16196
16466
|
create_response: {
|
|
16197
16467
|
parameters: {
|
|
16198
16468
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -2692,6 +2692,13 @@ interface paths {
|
|
|
2692
2692
|
* re-seals them to the session public key, and posts them here. The server can then
|
|
2693
2693
|
* use them for sync only while this session is live. Returns 409 when there is no
|
|
2694
2694
|
* live session to cache into (e.g. it expired between login and this call).
|
|
2695
|
+
*
|
|
2696
|
+
* This is also the auto-sync trigger point: it's called automatically for every
|
|
2697
|
+
* connected vendor right after login (no user action), so it's the one place a
|
|
2698
|
+
* background sync can be launched using a freshly-decrypted token without ever
|
|
2699
|
+
* storing a server-decryptable copy at rest. Any ``DriveSync``/``MailboxSync`` row
|
|
2700
|
+
* for this (user, vendor) with ``auto_sync=True`` and a stale ``last_sync_at`` is
|
|
2701
|
+
* fired as a background task; this never affects the bridge's own success/failure.
|
|
2695
2702
|
*/
|
|
2696
2703
|
post: operations['bridge_session_connector_tokens'];
|
|
2697
2704
|
delete?: never;
|
|
@@ -3110,6 +3117,70 @@ interface paths {
|
|
|
3110
3117
|
patch?: never;
|
|
3111
3118
|
trace?: never;
|
|
3112
3119
|
};
|
|
3120
|
+
'/v1/connectors/{vendor}/calendars': {
|
|
3121
|
+
parameters: {
|
|
3122
|
+
query?: never;
|
|
3123
|
+
header?: never;
|
|
3124
|
+
path?: never;
|
|
3125
|
+
cookie?: never;
|
|
3126
|
+
};
|
|
3127
|
+
/**
|
|
3128
|
+
* List the connected account's calendars for selection
|
|
3129
|
+
* @description Return the connected account's calendars.
|
|
3130
|
+
*/
|
|
3131
|
+
get: operations['list_calendars'];
|
|
3132
|
+
put?: never;
|
|
3133
|
+
post?: never;
|
|
3134
|
+
delete?: never;
|
|
3135
|
+
options?: never;
|
|
3136
|
+
head?: never;
|
|
3137
|
+
patch?: never;
|
|
3138
|
+
trace?: never;
|
|
3139
|
+
};
|
|
3140
|
+
'/v1/connectors/{vendor}/enable-calendar-sync': {
|
|
3141
|
+
parameters: {
|
|
3142
|
+
query?: never;
|
|
3143
|
+
header?: never;
|
|
3144
|
+
path?: never;
|
|
3145
|
+
cookie?: never;
|
|
3146
|
+
};
|
|
3147
|
+
get?: never;
|
|
3148
|
+
put?: never;
|
|
3149
|
+
/**
|
|
3150
|
+
* Enable calendar sync for a vendor into a target workspace
|
|
3151
|
+
* @description Create or update the user's CalendarSync row for this vendor + workspace.
|
|
3152
|
+
*
|
|
3153
|
+
* Changing the calendar selection clears the delta cursor: the stored one is scoped
|
|
3154
|
+
* to the previous selection, so reusing it would silently skip a newly-added
|
|
3155
|
+
* calendar's history.
|
|
3156
|
+
*/
|
|
3157
|
+
post: operations['enable_calendar_sync'];
|
|
3158
|
+
delete?: never;
|
|
3159
|
+
options?: never;
|
|
3160
|
+
head?: never;
|
|
3161
|
+
patch?: never;
|
|
3162
|
+
trace?: never;
|
|
3163
|
+
};
|
|
3164
|
+
'/v1/connectors/{vendor}/calendar-sync': {
|
|
3165
|
+
parameters: {
|
|
3166
|
+
query?: never;
|
|
3167
|
+
header?: never;
|
|
3168
|
+
path?: never;
|
|
3169
|
+
cookie?: never;
|
|
3170
|
+
};
|
|
3171
|
+
get?: never;
|
|
3172
|
+
put?: never;
|
|
3173
|
+
/**
|
|
3174
|
+
* Trigger a calendar sync run in the background
|
|
3175
|
+
* @description Schedule a background calendar sync. 404 if never enabled, 409 if not connected.
|
|
3176
|
+
*/
|
|
3177
|
+
post: operations['trigger_calendar_sync'];
|
|
3178
|
+
delete?: never;
|
|
3179
|
+
options?: never;
|
|
3180
|
+
head?: never;
|
|
3181
|
+
patch?: never;
|
|
3182
|
+
trace?: never;
|
|
3183
|
+
};
|
|
3113
3184
|
'/v1/responses': {
|
|
3114
3185
|
parameters: {
|
|
3115
3186
|
query?: never;
|
|
@@ -3965,7 +4036,7 @@ interface components {
|
|
|
3965
4036
|
* "API_TYPE": "remote",
|
|
3966
4037
|
* "ENABLE_THINKING": false,
|
|
3967
4038
|
* "MODEL_NAME": "Fast",
|
|
3968
|
-
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document
|
|
4039
|
+
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on 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- Only use information explicitly stated in the document; do not infer or assume information not present.\n- If the information is not found, respond with exactly \"Not found\".\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.",
|
|
3969
4040
|
* "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
|
|
3970
4041
|
* "TEMPERATURE": 0.1,
|
|
3971
4042
|
* "MAX_TOKENS": 0,
|
|
@@ -4010,7 +4081,7 @@ interface components {
|
|
|
4010
4081
|
* }
|
|
4011
4082
|
* },
|
|
4012
4083
|
* {
|
|
4013
|
-
* "instruction": "What is the main subject or purpose of this document? Open with one concise phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Then add one or two sentences of detail.",
|
|
4084
|
+
* "instruction": "What is the main subject or purpose of this document? Open with one concise noun phrase naming what it is and what it is about, in the form 'Email chain re the site access dispute between Acme and Byrne'. Never begin with a lead-in such as 'This document is', 'The document outlines', 'This is', or any similar sentence opener — start directly with the naming phrase. Then add one or two short sentences of key detail.",
|
|
4014
4085
|
* "name": "doc_subject",
|
|
4015
4086
|
* "tag_type": {
|
|
4016
4087
|
* "options": [],
|
|
@@ -4535,6 +4606,52 @@ interface components {
|
|
|
4535
4606
|
/** Session Id */
|
|
4536
4607
|
session_id?: string | null;
|
|
4537
4608
|
};
|
|
4609
|
+
/**
|
|
4610
|
+
* CalendarRead
|
|
4611
|
+
* @description A selectable calendar in the picker.
|
|
4612
|
+
*/
|
|
4613
|
+
CalendarRead: {
|
|
4614
|
+
/** Id */
|
|
4615
|
+
id: string;
|
|
4616
|
+
/** Name */
|
|
4617
|
+
name: string;
|
|
4618
|
+
};
|
|
4619
|
+
/**
|
|
4620
|
+
* CalendarSyncRead
|
|
4621
|
+
* @description Public shape for a CalendarSync row returned by the enable endpoint.
|
|
4622
|
+
*/
|
|
4623
|
+
CalendarSyncRead: {
|
|
4624
|
+
/**
|
|
4625
|
+
* Id
|
|
4626
|
+
* Format: uuid
|
|
4627
|
+
*/
|
|
4628
|
+
id: string;
|
|
4629
|
+
/** Vendor Key */
|
|
4630
|
+
vendor_key: string;
|
|
4631
|
+
/** Target Workspace Id */
|
|
4632
|
+
target_workspace_id: number;
|
|
4633
|
+
/** Enabled */
|
|
4634
|
+
enabled: boolean;
|
|
4635
|
+
/** Status */
|
|
4636
|
+
status: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* Calendars
|
|
4639
|
+
* @default []
|
|
4640
|
+
*/
|
|
4641
|
+
calendars: string[];
|
|
4642
|
+
/**
|
|
4643
|
+
* Shared
|
|
4644
|
+
* @default false
|
|
4645
|
+
*/
|
|
4646
|
+
shared: boolean;
|
|
4647
|
+
/**
|
|
4648
|
+
* Auto Sync
|
|
4649
|
+
* @default false
|
|
4650
|
+
*/
|
|
4651
|
+
auto_sync: boolean;
|
|
4652
|
+
/** Last Sync At */
|
|
4653
|
+
last_sync_at?: string | null;
|
|
4654
|
+
};
|
|
4538
4655
|
/**
|
|
4539
4656
|
* ChangePasswordRequest
|
|
4540
4657
|
* @description Password change request with signature-based auth.
|
|
@@ -5139,6 +5256,11 @@ interface components {
|
|
|
5139
5256
|
* @default false
|
|
5140
5257
|
*/
|
|
5141
5258
|
auto_rename: boolean;
|
|
5259
|
+
/**
|
|
5260
|
+
* Auto Sync
|
|
5261
|
+
* @default false
|
|
5262
|
+
*/
|
|
5263
|
+
auto_sync: boolean;
|
|
5142
5264
|
/**
|
|
5143
5265
|
* Synced Count
|
|
5144
5266
|
* @default 0
|
|
@@ -5982,17 +6104,15 @@ interface components {
|
|
|
5982
6104
|
* System Instruction
|
|
5983
6105
|
* @default You are a document analysis assistant. Answer questions based strictly on document content.
|
|
5984
6106
|
*
|
|
6107
|
+
* Your answers are displayed directly as cell values in a table, so keep every answer as short as possible.
|
|
6108
|
+
*
|
|
5985
6109
|
* Guidelines:
|
|
5986
|
-
* -
|
|
5987
|
-
* - Do not
|
|
5988
|
-
* -
|
|
5989
|
-
* -
|
|
5990
|
-
* -
|
|
5991
|
-
* - Output answers as plain text only. Do not use Markdown or any other formatting:
|
|
5992
|
-
* - Do not bold, italicize, or otherwise emphasize any part of the answer.
|
|
5993
|
-
* - Do not include asterisks (*), underscores (_), backticks (`), or other Markdown markers.
|
|
5994
|
-
* - Do not prefix answers with bullets, dashes (-), or numbered/lettered enumeration (e.g. "1.", "a)").
|
|
5995
|
-
* - Write multi-point answers as flowing sentences, not as a list.
|
|
6110
|
+
* - 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."
|
|
6111
|
+
* - 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.
|
|
6112
|
+
* - Only use information explicitly stated in the document; do not infer or assume information not present.
|
|
6113
|
+
* - If the information is not found, respond with exactly "Not found".
|
|
6114
|
+
* - Follow the format instructions exactly for each answer.
|
|
6115
|
+
* - 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.
|
|
5996
6116
|
*/
|
|
5997
6117
|
SYSTEM_INSTRUCTION: string;
|
|
5998
6118
|
/**
|
|
@@ -6129,6 +6249,11 @@ interface components {
|
|
|
6129
6249
|
* @default false
|
|
6130
6250
|
*/
|
|
6131
6251
|
shared: boolean;
|
|
6252
|
+
/**
|
|
6253
|
+
* Auto Sync
|
|
6254
|
+
* @default false
|
|
6255
|
+
*/
|
|
6256
|
+
auto_sync: boolean;
|
|
6132
6257
|
/** Last Sync At */
|
|
6133
6258
|
last_sync_at?: string | null;
|
|
6134
6259
|
};
|
|
@@ -6261,6 +6386,28 @@ interface components {
|
|
|
6261
6386
|
*/
|
|
6262
6387
|
QUERY_PREFIX: string;
|
|
6263
6388
|
};
|
|
6389
|
+
/** EnableCalendarSyncRequest */
|
|
6390
|
+
EnableCalendarSyncRequest: {
|
|
6391
|
+
/** Workspace Ext Id */
|
|
6392
|
+
workspace_ext_id: string;
|
|
6393
|
+
/** Calendars */
|
|
6394
|
+
calendars: string[];
|
|
6395
|
+
/**
|
|
6396
|
+
* Backfill Days
|
|
6397
|
+
* @default 30
|
|
6398
|
+
*/
|
|
6399
|
+
backfill_days: number;
|
|
6400
|
+
/**
|
|
6401
|
+
* Shared
|
|
6402
|
+
* @default false
|
|
6403
|
+
*/
|
|
6404
|
+
shared: boolean;
|
|
6405
|
+
/**
|
|
6406
|
+
* Auto Sync
|
|
6407
|
+
* @default false
|
|
6408
|
+
*/
|
|
6409
|
+
auto_sync: boolean;
|
|
6410
|
+
};
|
|
6264
6411
|
/** EnableDriveSyncRequest */
|
|
6265
6412
|
EnableDriveSyncRequest: {
|
|
6266
6413
|
/** Workspace Ext Id */
|
|
@@ -6282,6 +6429,11 @@ interface components {
|
|
|
6282
6429
|
* @default false
|
|
6283
6430
|
*/
|
|
6284
6431
|
shared: boolean;
|
|
6432
|
+
/**
|
|
6433
|
+
* Auto Sync
|
|
6434
|
+
* @default false
|
|
6435
|
+
*/
|
|
6436
|
+
auto_sync: boolean;
|
|
6285
6437
|
};
|
|
6286
6438
|
/** EnableSyncRequest */
|
|
6287
6439
|
EnableSyncRequest: {
|
|
@@ -6306,6 +6458,11 @@ interface components {
|
|
|
6306
6458
|
* @default false
|
|
6307
6459
|
*/
|
|
6308
6460
|
auto_rename: boolean;
|
|
6461
|
+
/**
|
|
6462
|
+
* Auto Sync
|
|
6463
|
+
* @default false
|
|
6464
|
+
*/
|
|
6465
|
+
auto_sync: boolean;
|
|
6309
6466
|
};
|
|
6310
6467
|
/**
|
|
6311
6468
|
* ErrorMessage
|
|
@@ -6738,6 +6895,11 @@ interface components {
|
|
|
6738
6895
|
tag_ext_ids: string[];
|
|
6739
6896
|
/** Doc Ext Ids */
|
|
6740
6897
|
doc_ext_ids: string[];
|
|
6898
|
+
/**
|
|
6899
|
+
* Overwrite
|
|
6900
|
+
* @default false
|
|
6901
|
+
*/
|
|
6902
|
+
overwrite: boolean;
|
|
6741
6903
|
};
|
|
6742
6904
|
/**
|
|
6743
6905
|
* GenerateAnnotationsResponse
|
|
@@ -7144,6 +7306,11 @@ interface components {
|
|
|
7144
7306
|
* @default false
|
|
7145
7307
|
*/
|
|
7146
7308
|
auto_rename: boolean;
|
|
7309
|
+
/**
|
|
7310
|
+
* Auto Sync
|
|
7311
|
+
* @default false
|
|
7312
|
+
*/
|
|
7313
|
+
auto_sync: boolean;
|
|
7147
7314
|
/** Last Sync At */
|
|
7148
7315
|
last_sync_at?: string | null;
|
|
7149
7316
|
};
|
|
@@ -10851,6 +11018,8 @@ interface components {
|
|
|
10851
11018
|
skip_duplicates?: boolean | null;
|
|
10852
11019
|
/** Auto Rename */
|
|
10853
11020
|
auto_rename?: boolean | null;
|
|
11021
|
+
/** Auto Sync */
|
|
11022
|
+
auto_sync?: boolean | null;
|
|
10854
11023
|
/** Drive Sync Status */
|
|
10855
11024
|
drive_sync_status?: string | null;
|
|
10856
11025
|
/** Drive Last Sync At */
|
|
@@ -10865,6 +11034,8 @@ interface components {
|
|
|
10865
11034
|
drive_auto_rename?: boolean | null;
|
|
10866
11035
|
/** Drive Shared */
|
|
10867
11036
|
drive_shared?: boolean | null;
|
|
11037
|
+
/** Drive Auto Sync */
|
|
11038
|
+
drive_auto_sync?: boolean | null;
|
|
10868
11039
|
/** Drive Needs Reconsent */
|
|
10869
11040
|
drive_needs_reconsent?: boolean | null;
|
|
10870
11041
|
};
|
|
@@ -11265,7 +11436,7 @@ interface components {
|
|
|
11265
11436
|
* (FastAPI validates + documents the allowed set) and the catalog keys.
|
|
11266
11437
|
* @enum {string}
|
|
11267
11438
|
*/
|
|
11268
|
-
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'ms365_mail';
|
|
11439
|
+
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'clio' | 'box' | 'dropbox' | 'onenote' | 'ms365_mail';
|
|
11269
11440
|
/** VerifyEmailRequest */
|
|
11270
11441
|
VerifyEmailRequest: {
|
|
11271
11442
|
/**
|
|
@@ -16193,6 +16364,105 @@ interface operations {
|
|
|
16193
16364
|
};
|
|
16194
16365
|
};
|
|
16195
16366
|
};
|
|
16367
|
+
list_calendars: {
|
|
16368
|
+
parameters: {
|
|
16369
|
+
query?: never;
|
|
16370
|
+
header?: never;
|
|
16371
|
+
path: {
|
|
16372
|
+
vendor: components['schemas']['VendorKey'];
|
|
16373
|
+
};
|
|
16374
|
+
cookie?: never;
|
|
16375
|
+
};
|
|
16376
|
+
requestBody?: never;
|
|
16377
|
+
responses: {
|
|
16378
|
+
/** @description Successful Response */
|
|
16379
|
+
200: {
|
|
16380
|
+
headers: {
|
|
16381
|
+
[name: string]: unknown;
|
|
16382
|
+
};
|
|
16383
|
+
content: {
|
|
16384
|
+
'application/json': components['schemas']['CalendarRead'][];
|
|
16385
|
+
};
|
|
16386
|
+
};
|
|
16387
|
+
/** @description Validation Error */
|
|
16388
|
+
422: {
|
|
16389
|
+
headers: {
|
|
16390
|
+
[name: string]: unknown;
|
|
16391
|
+
};
|
|
16392
|
+
content: {
|
|
16393
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16394
|
+
};
|
|
16395
|
+
};
|
|
16396
|
+
};
|
|
16397
|
+
};
|
|
16398
|
+
enable_calendar_sync: {
|
|
16399
|
+
parameters: {
|
|
16400
|
+
query?: never;
|
|
16401
|
+
header?: never;
|
|
16402
|
+
path: {
|
|
16403
|
+
vendor: components['schemas']['VendorKey'];
|
|
16404
|
+
};
|
|
16405
|
+
cookie?: never;
|
|
16406
|
+
};
|
|
16407
|
+
requestBody: {
|
|
16408
|
+
content: {
|
|
16409
|
+
'application/json': components['schemas']['EnableCalendarSyncRequest'];
|
|
16410
|
+
};
|
|
16411
|
+
};
|
|
16412
|
+
responses: {
|
|
16413
|
+
/** @description Successful Response */
|
|
16414
|
+
200: {
|
|
16415
|
+
headers: {
|
|
16416
|
+
[name: string]: unknown;
|
|
16417
|
+
};
|
|
16418
|
+
content: {
|
|
16419
|
+
'application/json': components['schemas']['CalendarSyncRead'];
|
|
16420
|
+
};
|
|
16421
|
+
};
|
|
16422
|
+
/** @description Validation Error */
|
|
16423
|
+
422: {
|
|
16424
|
+
headers: {
|
|
16425
|
+
[name: string]: unknown;
|
|
16426
|
+
};
|
|
16427
|
+
content: {
|
|
16428
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16429
|
+
};
|
|
16430
|
+
};
|
|
16431
|
+
};
|
|
16432
|
+
};
|
|
16433
|
+
trigger_calendar_sync: {
|
|
16434
|
+
parameters: {
|
|
16435
|
+
query?: {
|
|
16436
|
+
workspace_ext_id?: string | null;
|
|
16437
|
+
};
|
|
16438
|
+
header?: never;
|
|
16439
|
+
path: {
|
|
16440
|
+
vendor: components['schemas']['VendorKey'];
|
|
16441
|
+
};
|
|
16442
|
+
cookie?: never;
|
|
16443
|
+
};
|
|
16444
|
+
requestBody?: never;
|
|
16445
|
+
responses: {
|
|
16446
|
+
/** @description Successful Response */
|
|
16447
|
+
202: {
|
|
16448
|
+
headers: {
|
|
16449
|
+
[name: string]: unknown;
|
|
16450
|
+
};
|
|
16451
|
+
content: {
|
|
16452
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
16453
|
+
};
|
|
16454
|
+
};
|
|
16455
|
+
/** @description Validation Error */
|
|
16456
|
+
422: {
|
|
16457
|
+
headers: {
|
|
16458
|
+
[name: string]: unknown;
|
|
16459
|
+
};
|
|
16460
|
+
content: {
|
|
16461
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16462
|
+
};
|
|
16463
|
+
};
|
|
16464
|
+
};
|
|
16465
|
+
};
|
|
16196
16466
|
create_response: {
|
|
16197
16467
|
parameters: {
|
|
16198
16468
|
query?: never;
|
package/package.json
CHANGED