@arbidocs/client 0.3.155 → 0.3.156
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 +277 -12
- package/dist/index.d.ts +277 -12
- 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,
|
|
@@ -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
|
|
@@ -7144,6 +7301,11 @@ interface components {
|
|
|
7144
7301
|
* @default false
|
|
7145
7302
|
*/
|
|
7146
7303
|
auto_rename: boolean;
|
|
7304
|
+
/**
|
|
7305
|
+
* Auto Sync
|
|
7306
|
+
* @default false
|
|
7307
|
+
*/
|
|
7308
|
+
auto_sync: boolean;
|
|
7147
7309
|
/** Last Sync At */
|
|
7148
7310
|
last_sync_at?: string | null;
|
|
7149
7311
|
};
|
|
@@ -10851,6 +11013,8 @@ interface components {
|
|
|
10851
11013
|
skip_duplicates?: boolean | null;
|
|
10852
11014
|
/** Auto Rename */
|
|
10853
11015
|
auto_rename?: boolean | null;
|
|
11016
|
+
/** Auto Sync */
|
|
11017
|
+
auto_sync?: boolean | null;
|
|
10854
11018
|
/** Drive Sync Status */
|
|
10855
11019
|
drive_sync_status?: string | null;
|
|
10856
11020
|
/** Drive Last Sync At */
|
|
@@ -10865,6 +11029,8 @@ interface components {
|
|
|
10865
11029
|
drive_auto_rename?: boolean | null;
|
|
10866
11030
|
/** Drive Shared */
|
|
10867
11031
|
drive_shared?: boolean | null;
|
|
11032
|
+
/** Drive Auto Sync */
|
|
11033
|
+
drive_auto_sync?: boolean | null;
|
|
10868
11034
|
/** Drive Needs Reconsent */
|
|
10869
11035
|
drive_needs_reconsent?: boolean | null;
|
|
10870
11036
|
};
|
|
@@ -11265,7 +11431,7 @@ interface components {
|
|
|
11265
11431
|
* (FastAPI validates + documents the allowed set) and the catalog keys.
|
|
11266
11432
|
* @enum {string}
|
|
11267
11433
|
*/
|
|
11268
|
-
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'ms365_mail';
|
|
11434
|
+
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'clio' | 'box' | 'dropbox' | 'onenote' | 'ms365_mail';
|
|
11269
11435
|
/** VerifyEmailRequest */
|
|
11270
11436
|
VerifyEmailRequest: {
|
|
11271
11437
|
/**
|
|
@@ -16193,6 +16359,105 @@ interface operations {
|
|
|
16193
16359
|
};
|
|
16194
16360
|
};
|
|
16195
16361
|
};
|
|
16362
|
+
list_calendars: {
|
|
16363
|
+
parameters: {
|
|
16364
|
+
query?: never;
|
|
16365
|
+
header?: never;
|
|
16366
|
+
path: {
|
|
16367
|
+
vendor: components['schemas']['VendorKey'];
|
|
16368
|
+
};
|
|
16369
|
+
cookie?: never;
|
|
16370
|
+
};
|
|
16371
|
+
requestBody?: never;
|
|
16372
|
+
responses: {
|
|
16373
|
+
/** @description Successful Response */
|
|
16374
|
+
200: {
|
|
16375
|
+
headers: {
|
|
16376
|
+
[name: string]: unknown;
|
|
16377
|
+
};
|
|
16378
|
+
content: {
|
|
16379
|
+
'application/json': components['schemas']['CalendarRead'][];
|
|
16380
|
+
};
|
|
16381
|
+
};
|
|
16382
|
+
/** @description Validation Error */
|
|
16383
|
+
422: {
|
|
16384
|
+
headers: {
|
|
16385
|
+
[name: string]: unknown;
|
|
16386
|
+
};
|
|
16387
|
+
content: {
|
|
16388
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16389
|
+
};
|
|
16390
|
+
};
|
|
16391
|
+
};
|
|
16392
|
+
};
|
|
16393
|
+
enable_calendar_sync: {
|
|
16394
|
+
parameters: {
|
|
16395
|
+
query?: never;
|
|
16396
|
+
header?: never;
|
|
16397
|
+
path: {
|
|
16398
|
+
vendor: components['schemas']['VendorKey'];
|
|
16399
|
+
};
|
|
16400
|
+
cookie?: never;
|
|
16401
|
+
};
|
|
16402
|
+
requestBody: {
|
|
16403
|
+
content: {
|
|
16404
|
+
'application/json': components['schemas']['EnableCalendarSyncRequest'];
|
|
16405
|
+
};
|
|
16406
|
+
};
|
|
16407
|
+
responses: {
|
|
16408
|
+
/** @description Successful Response */
|
|
16409
|
+
200: {
|
|
16410
|
+
headers: {
|
|
16411
|
+
[name: string]: unknown;
|
|
16412
|
+
};
|
|
16413
|
+
content: {
|
|
16414
|
+
'application/json': components['schemas']['CalendarSyncRead'];
|
|
16415
|
+
};
|
|
16416
|
+
};
|
|
16417
|
+
/** @description Validation Error */
|
|
16418
|
+
422: {
|
|
16419
|
+
headers: {
|
|
16420
|
+
[name: string]: unknown;
|
|
16421
|
+
};
|
|
16422
|
+
content: {
|
|
16423
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16424
|
+
};
|
|
16425
|
+
};
|
|
16426
|
+
};
|
|
16427
|
+
};
|
|
16428
|
+
trigger_calendar_sync: {
|
|
16429
|
+
parameters: {
|
|
16430
|
+
query?: {
|
|
16431
|
+
workspace_ext_id?: string | null;
|
|
16432
|
+
};
|
|
16433
|
+
header?: never;
|
|
16434
|
+
path: {
|
|
16435
|
+
vendor: components['schemas']['VendorKey'];
|
|
16436
|
+
};
|
|
16437
|
+
cookie?: never;
|
|
16438
|
+
};
|
|
16439
|
+
requestBody?: never;
|
|
16440
|
+
responses: {
|
|
16441
|
+
/** @description Successful Response */
|
|
16442
|
+
202: {
|
|
16443
|
+
headers: {
|
|
16444
|
+
[name: string]: unknown;
|
|
16445
|
+
};
|
|
16446
|
+
content: {
|
|
16447
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
16448
|
+
};
|
|
16449
|
+
};
|
|
16450
|
+
/** @description Validation Error */
|
|
16451
|
+
422: {
|
|
16452
|
+
headers: {
|
|
16453
|
+
[name: string]: unknown;
|
|
16454
|
+
};
|
|
16455
|
+
content: {
|
|
16456
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16457
|
+
};
|
|
16458
|
+
};
|
|
16459
|
+
};
|
|
16460
|
+
};
|
|
16196
16461
|
create_response: {
|
|
16197
16462
|
parameters: {
|
|
16198
16463
|
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,
|
|
@@ -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
|
|
@@ -7144,6 +7301,11 @@ interface components {
|
|
|
7144
7301
|
* @default false
|
|
7145
7302
|
*/
|
|
7146
7303
|
auto_rename: boolean;
|
|
7304
|
+
/**
|
|
7305
|
+
* Auto Sync
|
|
7306
|
+
* @default false
|
|
7307
|
+
*/
|
|
7308
|
+
auto_sync: boolean;
|
|
7147
7309
|
/** Last Sync At */
|
|
7148
7310
|
last_sync_at?: string | null;
|
|
7149
7311
|
};
|
|
@@ -10851,6 +11013,8 @@ interface components {
|
|
|
10851
11013
|
skip_duplicates?: boolean | null;
|
|
10852
11014
|
/** Auto Rename */
|
|
10853
11015
|
auto_rename?: boolean | null;
|
|
11016
|
+
/** Auto Sync */
|
|
11017
|
+
auto_sync?: boolean | null;
|
|
10854
11018
|
/** Drive Sync Status */
|
|
10855
11019
|
drive_sync_status?: string | null;
|
|
10856
11020
|
/** Drive Last Sync At */
|
|
@@ -10865,6 +11029,8 @@ interface components {
|
|
|
10865
11029
|
drive_auto_rename?: boolean | null;
|
|
10866
11030
|
/** Drive Shared */
|
|
10867
11031
|
drive_shared?: boolean | null;
|
|
11032
|
+
/** Drive Auto Sync */
|
|
11033
|
+
drive_auto_sync?: boolean | null;
|
|
10868
11034
|
/** Drive Needs Reconsent */
|
|
10869
11035
|
drive_needs_reconsent?: boolean | null;
|
|
10870
11036
|
};
|
|
@@ -11265,7 +11431,7 @@ interface components {
|
|
|
11265
11431
|
* (FastAPI validates + documents the allowed set) and the catalog keys.
|
|
11266
11432
|
* @enum {string}
|
|
11267
11433
|
*/
|
|
11268
|
-
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'ms365_mail';
|
|
11434
|
+
VendorKey: 'microsoft' | 'microsoft_sharepoint' | 'gdrive' | 'gmail' | 'imanage' | 'westlaw' | 'clio' | 'box' | 'dropbox' | 'onenote' | 'ms365_mail';
|
|
11269
11435
|
/** VerifyEmailRequest */
|
|
11270
11436
|
VerifyEmailRequest: {
|
|
11271
11437
|
/**
|
|
@@ -16193,6 +16359,105 @@ interface operations {
|
|
|
16193
16359
|
};
|
|
16194
16360
|
};
|
|
16195
16361
|
};
|
|
16362
|
+
list_calendars: {
|
|
16363
|
+
parameters: {
|
|
16364
|
+
query?: never;
|
|
16365
|
+
header?: never;
|
|
16366
|
+
path: {
|
|
16367
|
+
vendor: components['schemas']['VendorKey'];
|
|
16368
|
+
};
|
|
16369
|
+
cookie?: never;
|
|
16370
|
+
};
|
|
16371
|
+
requestBody?: never;
|
|
16372
|
+
responses: {
|
|
16373
|
+
/** @description Successful Response */
|
|
16374
|
+
200: {
|
|
16375
|
+
headers: {
|
|
16376
|
+
[name: string]: unknown;
|
|
16377
|
+
};
|
|
16378
|
+
content: {
|
|
16379
|
+
'application/json': components['schemas']['CalendarRead'][];
|
|
16380
|
+
};
|
|
16381
|
+
};
|
|
16382
|
+
/** @description Validation Error */
|
|
16383
|
+
422: {
|
|
16384
|
+
headers: {
|
|
16385
|
+
[name: string]: unknown;
|
|
16386
|
+
};
|
|
16387
|
+
content: {
|
|
16388
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16389
|
+
};
|
|
16390
|
+
};
|
|
16391
|
+
};
|
|
16392
|
+
};
|
|
16393
|
+
enable_calendar_sync: {
|
|
16394
|
+
parameters: {
|
|
16395
|
+
query?: never;
|
|
16396
|
+
header?: never;
|
|
16397
|
+
path: {
|
|
16398
|
+
vendor: components['schemas']['VendorKey'];
|
|
16399
|
+
};
|
|
16400
|
+
cookie?: never;
|
|
16401
|
+
};
|
|
16402
|
+
requestBody: {
|
|
16403
|
+
content: {
|
|
16404
|
+
'application/json': components['schemas']['EnableCalendarSyncRequest'];
|
|
16405
|
+
};
|
|
16406
|
+
};
|
|
16407
|
+
responses: {
|
|
16408
|
+
/** @description Successful Response */
|
|
16409
|
+
200: {
|
|
16410
|
+
headers: {
|
|
16411
|
+
[name: string]: unknown;
|
|
16412
|
+
};
|
|
16413
|
+
content: {
|
|
16414
|
+
'application/json': components['schemas']['CalendarSyncRead'];
|
|
16415
|
+
};
|
|
16416
|
+
};
|
|
16417
|
+
/** @description Validation Error */
|
|
16418
|
+
422: {
|
|
16419
|
+
headers: {
|
|
16420
|
+
[name: string]: unknown;
|
|
16421
|
+
};
|
|
16422
|
+
content: {
|
|
16423
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16424
|
+
};
|
|
16425
|
+
};
|
|
16426
|
+
};
|
|
16427
|
+
};
|
|
16428
|
+
trigger_calendar_sync: {
|
|
16429
|
+
parameters: {
|
|
16430
|
+
query?: {
|
|
16431
|
+
workspace_ext_id?: string | null;
|
|
16432
|
+
};
|
|
16433
|
+
header?: never;
|
|
16434
|
+
path: {
|
|
16435
|
+
vendor: components['schemas']['VendorKey'];
|
|
16436
|
+
};
|
|
16437
|
+
cookie?: never;
|
|
16438
|
+
};
|
|
16439
|
+
requestBody?: never;
|
|
16440
|
+
responses: {
|
|
16441
|
+
/** @description Successful Response */
|
|
16442
|
+
202: {
|
|
16443
|
+
headers: {
|
|
16444
|
+
[name: string]: unknown;
|
|
16445
|
+
};
|
|
16446
|
+
content: {
|
|
16447
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
16448
|
+
};
|
|
16449
|
+
};
|
|
16450
|
+
/** @description Validation Error */
|
|
16451
|
+
422: {
|
|
16452
|
+
headers: {
|
|
16453
|
+
[name: string]: unknown;
|
|
16454
|
+
};
|
|
16455
|
+
content: {
|
|
16456
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
16457
|
+
};
|
|
16458
|
+
};
|
|
16459
|
+
};
|
|
16460
|
+
};
|
|
16196
16461
|
create_response: {
|
|
16197
16462
|
parameters: {
|
|
16198
16463
|
query?: never;
|
package/package.json
CHANGED