@arbidocs/sdk 0.5.125 → 0.5.127
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/{browser-C_vzxZou.d.cts → browser-1yrAECmt.d.cts} +27 -0
- package/dist/{browser-BOX0EQmb.d.ts → browser-hBFgBg_x.d.ts} +27 -0
- package/dist/browser.cjs +16 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +16 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/examples/human-review/package.json +1 -1
- package/examples/react-chat/package.json +2 -2
- package/package.json +2 -2
|
@@ -1131,6 +1131,7 @@ interface UploadOptions {
|
|
|
1131
1131
|
* Save the upload (a single file) as the next version of this document. The document keeps its
|
|
1132
1132
|
* id, sharing, folder and labels; the result's `version` is the new version's number.
|
|
1133
1133
|
*/
|
|
1134
|
+
autosave?: boolean;
|
|
1134
1135
|
versionOf?: string;
|
|
1135
1136
|
/**
|
|
1136
1137
|
* Record that the upload is a NEW document made from this one (provenance only), e.g. a crop.
|
|
@@ -1187,6 +1188,7 @@ declare function listDocuments(arbi: ArbiClient, workspaceExtId?: string | null)
|
|
|
1187
1188
|
config_ext_id?: string | null | undefined;
|
|
1188
1189
|
parent_ext_id?: string | null | undefined;
|
|
1189
1190
|
current_version: number;
|
|
1191
|
+
autosave: boolean;
|
|
1190
1192
|
versions: {
|
|
1191
1193
|
n: number;
|
|
1192
1194
|
created_at?: string | null | undefined;
|
|
@@ -1201,6 +1203,7 @@ declare function listDocuments(arbi: ArbiClient, workspaceExtId?: string | null)
|
|
|
1201
1203
|
n_chunks?: number | null | undefined;
|
|
1202
1204
|
made_from?: number | null | undefined;
|
|
1203
1205
|
is_current: boolean;
|
|
1206
|
+
autosave: boolean;
|
|
1204
1207
|
markup_revision: number;
|
|
1205
1208
|
markup_count: number;
|
|
1206
1209
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1315,6 +1318,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
1315
1318
|
config_ext_id?: string | null | undefined;
|
|
1316
1319
|
parent_ext_id?: string | null | undefined;
|
|
1317
1320
|
current_version: number;
|
|
1321
|
+
autosave: boolean;
|
|
1318
1322
|
versions: {
|
|
1319
1323
|
n: number;
|
|
1320
1324
|
created_at?: string | null | undefined;
|
|
@@ -1329,6 +1333,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
1329
1333
|
n_chunks?: number | null | undefined;
|
|
1330
1334
|
made_from?: number | null | undefined;
|
|
1331
1335
|
is_current: boolean;
|
|
1336
|
+
autosave: boolean;
|
|
1332
1337
|
markup_revision: number;
|
|
1333
1338
|
markup_count: number;
|
|
1334
1339
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1394,6 +1399,7 @@ declare function listVersions(arbi: ArbiClient, docId: string): Promise<{
|
|
|
1394
1399
|
n_chunks?: number | null | undefined;
|
|
1395
1400
|
made_from?: number | null | undefined;
|
|
1396
1401
|
is_current: boolean;
|
|
1402
|
+
autosave: boolean;
|
|
1397
1403
|
markup_revision: number;
|
|
1398
1404
|
markup_count: number;
|
|
1399
1405
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1431,6 +1437,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
1431
1437
|
config_ext_id?: string | null | undefined;
|
|
1432
1438
|
parent_ext_id?: string | null | undefined;
|
|
1433
1439
|
current_version: number;
|
|
1440
|
+
autosave: boolean;
|
|
1434
1441
|
versions: {
|
|
1435
1442
|
n: number;
|
|
1436
1443
|
created_at?: string | null | undefined;
|
|
@@ -1445,6 +1452,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
1445
1452
|
n_chunks?: number | null | undefined;
|
|
1446
1453
|
made_from?: number | null | undefined;
|
|
1447
1454
|
is_current: boolean;
|
|
1455
|
+
autosave: boolean;
|
|
1448
1456
|
markup_revision: number;
|
|
1449
1457
|
markup_count: number;
|
|
1450
1458
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1502,6 +1510,7 @@ interface UploadUrlOptions {
|
|
|
1502
1510
|
declare function uploadUrl(arbi: ArbiClient, urls: string[], options: UploadUrlOptions): Promise<{
|
|
1503
1511
|
doc_ext_ids?: string[] | undefined;
|
|
1504
1512
|
version?: number | null | undefined;
|
|
1513
|
+
autosave?: boolean | null | undefined;
|
|
1505
1514
|
batch_id?: string | null | undefined;
|
|
1506
1515
|
skipped?: {
|
|
1507
1516
|
file_name: string;
|
|
@@ -11363,6 +11372,7 @@ declare class Arbi {
|
|
|
11363
11372
|
config_ext_id?: string | null | undefined;
|
|
11364
11373
|
parent_ext_id?: string | null | undefined;
|
|
11365
11374
|
current_version: number;
|
|
11375
|
+
autosave: boolean;
|
|
11366
11376
|
versions: {
|
|
11367
11377
|
n: number;
|
|
11368
11378
|
created_at?: string | null | undefined;
|
|
@@ -11377,6 +11387,7 @@ declare class Arbi {
|
|
|
11377
11387
|
n_chunks?: number | null | undefined;
|
|
11378
11388
|
made_from?: number | null | undefined;
|
|
11379
11389
|
is_current: boolean;
|
|
11390
|
+
autosave: boolean;
|
|
11380
11391
|
markup_revision: number;
|
|
11381
11392
|
markup_count: number;
|
|
11382
11393
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11457,6 +11468,7 @@ declare class Arbi {
|
|
|
11457
11468
|
config_ext_id?: string | null;
|
|
11458
11469
|
parent_ext_id?: string | null;
|
|
11459
11470
|
current_version: number;
|
|
11471
|
+
autosave: boolean;
|
|
11460
11472
|
versions: components["schemas"]["DocVersion"][];
|
|
11461
11473
|
thread_id?: string | null;
|
|
11462
11474
|
derived_from: components["schemas"]["DerivedFrom"][];
|
|
@@ -11500,6 +11512,7 @@ declare class Arbi {
|
|
|
11500
11512
|
config_ext_id?: string | null;
|
|
11501
11513
|
parent_ext_id?: string | null;
|
|
11502
11514
|
current_version: number;
|
|
11515
|
+
autosave: boolean;
|
|
11503
11516
|
versions: components["schemas"]["DocVersion"][];
|
|
11504
11517
|
thread_id?: string | null;
|
|
11505
11518
|
derived_from: components["schemas"]["DerivedFrom"][];
|
|
@@ -11536,6 +11549,7 @@ declare class Arbi {
|
|
|
11536
11549
|
config_ext_id?: string | null | undefined;
|
|
11537
11550
|
parent_ext_id?: string | null | undefined;
|
|
11538
11551
|
current_version: number;
|
|
11552
|
+
autosave: boolean;
|
|
11539
11553
|
versions: {
|
|
11540
11554
|
n: number;
|
|
11541
11555
|
created_at?: string | null | undefined;
|
|
@@ -11550,6 +11564,7 @@ declare class Arbi {
|
|
|
11550
11564
|
n_chunks?: number | null | undefined;
|
|
11551
11565
|
made_from?: number | null | undefined;
|
|
11552
11566
|
is_current: boolean;
|
|
11567
|
+
autosave: boolean;
|
|
11553
11568
|
markup_revision: number;
|
|
11554
11569
|
markup_count: number;
|
|
11555
11570
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11611,6 +11626,7 @@ declare class Arbi {
|
|
|
11611
11626
|
n_chunks?: number | null | undefined;
|
|
11612
11627
|
made_from?: number | null | undefined;
|
|
11613
11628
|
is_current: boolean;
|
|
11629
|
+
autosave: boolean;
|
|
11614
11630
|
markup_revision: number;
|
|
11615
11631
|
markup_count: number;
|
|
11616
11632
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11644,6 +11660,7 @@ declare class Arbi {
|
|
|
11644
11660
|
config_ext_id?: string | null | undefined;
|
|
11645
11661
|
parent_ext_id?: string | null | undefined;
|
|
11646
11662
|
current_version: number;
|
|
11663
|
+
autosave: boolean;
|
|
11647
11664
|
versions: {
|
|
11648
11665
|
n: number;
|
|
11649
11666
|
created_at?: string | null | undefined;
|
|
@@ -11658,6 +11675,7 @@ declare class Arbi {
|
|
|
11658
11675
|
n_chunks?: number | null | undefined;
|
|
11659
11676
|
made_from?: number | null | undefined;
|
|
11660
11677
|
is_current: boolean;
|
|
11678
|
+
autosave: boolean;
|
|
11661
11679
|
markup_revision: number;
|
|
11662
11680
|
markup_count: number;
|
|
11663
11681
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11712,6 +11730,7 @@ declare class Arbi {
|
|
|
11712
11730
|
}) => Promise<{
|
|
11713
11731
|
doc_ext_ids?: string[] | undefined;
|
|
11714
11732
|
version?: number | null | undefined;
|
|
11733
|
+
autosave?: boolean | null | undefined;
|
|
11715
11734
|
batch_id?: string | null | undefined;
|
|
11716
11735
|
skipped?: {
|
|
11717
11736
|
file_name: string;
|
|
@@ -13035,6 +13054,14 @@ declare class Arbi {
|
|
|
13035
13054
|
/** Delete notifications for yourself (sender or recipient). */
|
|
13036
13055
|
delete: (ids: string[]) => Promise<void>;
|
|
13037
13056
|
};
|
|
13057
|
+
/** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
|
|
13058
|
+
readonly remoteControl: {
|
|
13059
|
+
replyScreen: (requestId: string, body: {
|
|
13060
|
+
status: "captured" | "denied" | "stopped" | "unavailable" | "action_finished";
|
|
13061
|
+
screenshot_png?: string;
|
|
13062
|
+
diagnostics?: string;
|
|
13063
|
+
}) => Promise<void>;
|
|
13064
|
+
};
|
|
13038
13065
|
/** Authenticated native Word transport, with normal session recovery. */
|
|
13039
13066
|
readonly editor: {
|
|
13040
13067
|
request: (path: string, options?: RequestInit) => Promise<Response>;
|
|
@@ -1131,6 +1131,7 @@ interface UploadOptions {
|
|
|
1131
1131
|
* Save the upload (a single file) as the next version of this document. The document keeps its
|
|
1132
1132
|
* id, sharing, folder and labels; the result's `version` is the new version's number.
|
|
1133
1133
|
*/
|
|
1134
|
+
autosave?: boolean;
|
|
1134
1135
|
versionOf?: string;
|
|
1135
1136
|
/**
|
|
1136
1137
|
* Record that the upload is a NEW document made from this one (provenance only), e.g. a crop.
|
|
@@ -1187,6 +1188,7 @@ declare function listDocuments(arbi: ArbiClient, workspaceExtId?: string | null)
|
|
|
1187
1188
|
config_ext_id?: string | null | undefined;
|
|
1188
1189
|
parent_ext_id?: string | null | undefined;
|
|
1189
1190
|
current_version: number;
|
|
1191
|
+
autosave: boolean;
|
|
1190
1192
|
versions: {
|
|
1191
1193
|
n: number;
|
|
1192
1194
|
created_at?: string | null | undefined;
|
|
@@ -1201,6 +1203,7 @@ declare function listDocuments(arbi: ArbiClient, workspaceExtId?: string | null)
|
|
|
1201
1203
|
n_chunks?: number | null | undefined;
|
|
1202
1204
|
made_from?: number | null | undefined;
|
|
1203
1205
|
is_current: boolean;
|
|
1206
|
+
autosave: boolean;
|
|
1204
1207
|
markup_revision: number;
|
|
1205
1208
|
markup_count: number;
|
|
1206
1209
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1315,6 +1318,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
1315
1318
|
config_ext_id?: string | null | undefined;
|
|
1316
1319
|
parent_ext_id?: string | null | undefined;
|
|
1317
1320
|
current_version: number;
|
|
1321
|
+
autosave: boolean;
|
|
1318
1322
|
versions: {
|
|
1319
1323
|
n: number;
|
|
1320
1324
|
created_at?: string | null | undefined;
|
|
@@ -1329,6 +1333,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
1329
1333
|
n_chunks?: number | null | undefined;
|
|
1330
1334
|
made_from?: number | null | undefined;
|
|
1331
1335
|
is_current: boolean;
|
|
1336
|
+
autosave: boolean;
|
|
1332
1337
|
markup_revision: number;
|
|
1333
1338
|
markup_count: number;
|
|
1334
1339
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1394,6 +1399,7 @@ declare function listVersions(arbi: ArbiClient, docId: string): Promise<{
|
|
|
1394
1399
|
n_chunks?: number | null | undefined;
|
|
1395
1400
|
made_from?: number | null | undefined;
|
|
1396
1401
|
is_current: boolean;
|
|
1402
|
+
autosave: boolean;
|
|
1397
1403
|
markup_revision: number;
|
|
1398
1404
|
markup_count: number;
|
|
1399
1405
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1431,6 +1437,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
1431
1437
|
config_ext_id?: string | null | undefined;
|
|
1432
1438
|
parent_ext_id?: string | null | undefined;
|
|
1433
1439
|
current_version: number;
|
|
1440
|
+
autosave: boolean;
|
|
1434
1441
|
versions: {
|
|
1435
1442
|
n: number;
|
|
1436
1443
|
created_at?: string | null | undefined;
|
|
@@ -1445,6 +1452,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
1445
1452
|
n_chunks?: number | null | undefined;
|
|
1446
1453
|
made_from?: number | null | undefined;
|
|
1447
1454
|
is_current: boolean;
|
|
1455
|
+
autosave: boolean;
|
|
1448
1456
|
markup_revision: number;
|
|
1449
1457
|
markup_count: number;
|
|
1450
1458
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -1502,6 +1510,7 @@ interface UploadUrlOptions {
|
|
|
1502
1510
|
declare function uploadUrl(arbi: ArbiClient, urls: string[], options: UploadUrlOptions): Promise<{
|
|
1503
1511
|
doc_ext_ids?: string[] | undefined;
|
|
1504
1512
|
version?: number | null | undefined;
|
|
1513
|
+
autosave?: boolean | null | undefined;
|
|
1505
1514
|
batch_id?: string | null | undefined;
|
|
1506
1515
|
skipped?: {
|
|
1507
1516
|
file_name: string;
|
|
@@ -11363,6 +11372,7 @@ declare class Arbi {
|
|
|
11363
11372
|
config_ext_id?: string | null | undefined;
|
|
11364
11373
|
parent_ext_id?: string | null | undefined;
|
|
11365
11374
|
current_version: number;
|
|
11375
|
+
autosave: boolean;
|
|
11366
11376
|
versions: {
|
|
11367
11377
|
n: number;
|
|
11368
11378
|
created_at?: string | null | undefined;
|
|
@@ -11377,6 +11387,7 @@ declare class Arbi {
|
|
|
11377
11387
|
n_chunks?: number | null | undefined;
|
|
11378
11388
|
made_from?: number | null | undefined;
|
|
11379
11389
|
is_current: boolean;
|
|
11390
|
+
autosave: boolean;
|
|
11380
11391
|
markup_revision: number;
|
|
11381
11392
|
markup_count: number;
|
|
11382
11393
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11457,6 +11468,7 @@ declare class Arbi {
|
|
|
11457
11468
|
config_ext_id?: string | null;
|
|
11458
11469
|
parent_ext_id?: string | null;
|
|
11459
11470
|
current_version: number;
|
|
11471
|
+
autosave: boolean;
|
|
11460
11472
|
versions: components["schemas"]["DocVersion"][];
|
|
11461
11473
|
thread_id?: string | null;
|
|
11462
11474
|
derived_from: components["schemas"]["DerivedFrom"][];
|
|
@@ -11500,6 +11512,7 @@ declare class Arbi {
|
|
|
11500
11512
|
config_ext_id?: string | null;
|
|
11501
11513
|
parent_ext_id?: string | null;
|
|
11502
11514
|
current_version: number;
|
|
11515
|
+
autosave: boolean;
|
|
11503
11516
|
versions: components["schemas"]["DocVersion"][];
|
|
11504
11517
|
thread_id?: string | null;
|
|
11505
11518
|
derived_from: components["schemas"]["DerivedFrom"][];
|
|
@@ -11536,6 +11549,7 @@ declare class Arbi {
|
|
|
11536
11549
|
config_ext_id?: string | null | undefined;
|
|
11537
11550
|
parent_ext_id?: string | null | undefined;
|
|
11538
11551
|
current_version: number;
|
|
11552
|
+
autosave: boolean;
|
|
11539
11553
|
versions: {
|
|
11540
11554
|
n: number;
|
|
11541
11555
|
created_at?: string | null | undefined;
|
|
@@ -11550,6 +11564,7 @@ declare class Arbi {
|
|
|
11550
11564
|
n_chunks?: number | null | undefined;
|
|
11551
11565
|
made_from?: number | null | undefined;
|
|
11552
11566
|
is_current: boolean;
|
|
11567
|
+
autosave: boolean;
|
|
11553
11568
|
markup_revision: number;
|
|
11554
11569
|
markup_count: number;
|
|
11555
11570
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11611,6 +11626,7 @@ declare class Arbi {
|
|
|
11611
11626
|
n_chunks?: number | null | undefined;
|
|
11612
11627
|
made_from?: number | null | undefined;
|
|
11613
11628
|
is_current: boolean;
|
|
11629
|
+
autosave: boolean;
|
|
11614
11630
|
markup_revision: number;
|
|
11615
11631
|
markup_count: number;
|
|
11616
11632
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11644,6 +11660,7 @@ declare class Arbi {
|
|
|
11644
11660
|
config_ext_id?: string | null | undefined;
|
|
11645
11661
|
parent_ext_id?: string | null | undefined;
|
|
11646
11662
|
current_version: number;
|
|
11663
|
+
autosave: boolean;
|
|
11647
11664
|
versions: {
|
|
11648
11665
|
n: number;
|
|
11649
11666
|
created_at?: string | null | undefined;
|
|
@@ -11658,6 +11675,7 @@ declare class Arbi {
|
|
|
11658
11675
|
n_chunks?: number | null | undefined;
|
|
11659
11676
|
made_from?: number | null | undefined;
|
|
11660
11677
|
is_current: boolean;
|
|
11678
|
+
autosave: boolean;
|
|
11661
11679
|
markup_revision: number;
|
|
11662
11680
|
markup_count: number;
|
|
11663
11681
|
source_message_ext_id?: string | null | undefined;
|
|
@@ -11712,6 +11730,7 @@ declare class Arbi {
|
|
|
11712
11730
|
}) => Promise<{
|
|
11713
11731
|
doc_ext_ids?: string[] | undefined;
|
|
11714
11732
|
version?: number | null | undefined;
|
|
11733
|
+
autosave?: boolean | null | undefined;
|
|
11715
11734
|
batch_id?: string | null | undefined;
|
|
11716
11735
|
skipped?: {
|
|
11717
11736
|
file_name: string;
|
|
@@ -13035,6 +13054,14 @@ declare class Arbi {
|
|
|
13035
13054
|
/** Delete notifications for yourself (sender or recipient). */
|
|
13036
13055
|
delete: (ids: string[]) => Promise<void>;
|
|
13037
13056
|
};
|
|
13057
|
+
/** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
|
|
13058
|
+
readonly remoteControl: {
|
|
13059
|
+
replyScreen: (requestId: string, body: {
|
|
13060
|
+
status: "captured" | "denied" | "stopped" | "unavailable" | "action_finished";
|
|
13061
|
+
screenshot_png?: string;
|
|
13062
|
+
diagnostics?: string;
|
|
13063
|
+
}) => Promise<void>;
|
|
13064
|
+
};
|
|
13038
13065
|
/** Authenticated native Word transport, with normal session recovery. */
|
|
13039
13066
|
readonly editor: {
|
|
13040
13067
|
request: (path: string, options?: RequestInit) => Promise<Response>;
|
package/dist/browser.cjs
CHANGED
|
@@ -6040,6 +6040,7 @@ async function uploadDocuments(arbi, files, options = {}) {
|
|
|
6040
6040
|
if (options.folder) query2.folder = sanitizeFolderPath(options.folder);
|
|
6041
6041
|
if (options.configExtId) query2.config_ext_id = options.configExtId;
|
|
6042
6042
|
if (options.wpType) query2.wp_type = options.wpType;
|
|
6043
|
+
if (options.autosave !== void 0) query2.autosave = options.autosave;
|
|
6043
6044
|
if (options.versionOf) query2.version_of = options.versionOf;
|
|
6044
6045
|
if (options.tagExtId) query2.tag_ext_id = options.tagExtId;
|
|
6045
6046
|
if (options.workspaceExtId) query2.workspace_ext_id = options.workspaceExtId;
|
|
@@ -6100,6 +6101,7 @@ async function uploadFile(auth, fileData, fileName, options) {
|
|
|
6100
6101
|
if (options?.folder) params.set("folder", sanitizeFolderPath(options.folder));
|
|
6101
6102
|
if (options?.configExtId) params.set("config_ext_id", options.configExtId);
|
|
6102
6103
|
if (options?.wpType) params.set("wp_type", options.wpType);
|
|
6104
|
+
if (options?.autosave !== void 0) params.set("autosave", String(options.autosave));
|
|
6103
6105
|
if (options?.versionOf) params.set("version_of", options.versionOf);
|
|
6104
6106
|
if (options?.workspaceExtId) params.set("workspace_ext_id", options.workspaceExtId);
|
|
6105
6107
|
if (options?.derivedFrom) {
|
|
@@ -6122,6 +6124,7 @@ async function uploadFiles(auth, files, options) {
|
|
|
6122
6124
|
if (options?.folder) params.set("folder", sanitizeFolderPath(options.folder));
|
|
6123
6125
|
if (options?.configExtId) params.set("config_ext_id", options.configExtId);
|
|
6124
6126
|
if (options?.wpType) params.set("wp_type", options.wpType);
|
|
6127
|
+
if (options?.autosave !== void 0) params.set("autosave", String(options.autosave));
|
|
6125
6128
|
if (options?.versionOf) params.set("version_of", options.versionOf);
|
|
6126
6129
|
if (options?.derivedFrom) {
|
|
6127
6130
|
params.set("derived_from", options.derivedFrom.docId);
|
|
@@ -12659,6 +12662,19 @@ var Arbi = class {
|
|
|
12659
12662
|
await deleteNotifications(this.requireClient(), ids);
|
|
12660
12663
|
}
|
|
12661
12664
|
};
|
|
12665
|
+
/** Reply to an owner-bound live screen request; no document upload or durable screenshot. */
|
|
12666
|
+
remoteControl = {
|
|
12667
|
+
replyScreen: (requestId, body) => this.recovering(async () => {
|
|
12668
|
+
const { error } = await this.requireClient().fetch.POST(
|
|
12669
|
+
"/v1/remote-control/screen/{request_id}",
|
|
12670
|
+
{
|
|
12671
|
+
params: { path: { request_id: requestId } },
|
|
12672
|
+
body: { ...body, diagnostics: body.diagnostics ?? "" }
|
|
12673
|
+
}
|
|
12674
|
+
);
|
|
12675
|
+
if (error) throw new ArbiError("Could not return screen inspection to the assistant");
|
|
12676
|
+
})
|
|
12677
|
+
};
|
|
12662
12678
|
/** Authenticated native Word transport, with normal session recovery. */
|
|
12663
12679
|
editor = {
|
|
12664
12680
|
request: (path2, options = {}) => this.recovering(async () => {
|