@papermark/mcp-server 0.6.0 → 0.8.0
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/{chunk-DA26JZA2.js → chunk-IKMPOGEB.js} +303 -5
- package/dist/chunk-IKMPOGEB.js.map +1 -0
- package/dist/index.js +303 -8
- package/dist/index.js.map +1 -1
- package/dist/tools-contract.d.ts +521 -21
- package/dist/tools-contract.js +47 -1
- package/package.json +1 -1
- package/dist/chunk-DA26JZA2.js.map +0 -1
package/dist/tools-contract.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const documentObjectOutputSchema: z.ZodObject<{
|
|
|
47
47
|
name: z.ZodString;
|
|
48
48
|
type: z.ZodNullable<z.ZodString>;
|
|
49
49
|
content_type: z.ZodNullable<z.ZodString>;
|
|
50
|
+
url: z.ZodNullable<z.ZodString>;
|
|
50
51
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
51
52
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
52
53
|
created: z.ZodString;
|
|
@@ -60,6 +61,12 @@ declare const linkObjectOutputSchema: z.ZodObject<{
|
|
|
60
61
|
document: "document";
|
|
61
62
|
dataroom: "dataroom";
|
|
62
63
|
}>;
|
|
64
|
+
audience_type: z.ZodEnum<{
|
|
65
|
+
general: "general";
|
|
66
|
+
group: "group";
|
|
67
|
+
team: "team";
|
|
68
|
+
}>;
|
|
69
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
63
70
|
document_id: z.ZodNullable<z.ZodString>;
|
|
64
71
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
65
72
|
url: z.ZodString;
|
|
@@ -245,6 +252,7 @@ declare const documentOutputSchema: z.ZodObject<{
|
|
|
245
252
|
name: z.ZodString;
|
|
246
253
|
type: z.ZodNullable<z.ZodString>;
|
|
247
254
|
content_type: z.ZodNullable<z.ZodString>;
|
|
255
|
+
url: z.ZodNullable<z.ZodString>;
|
|
248
256
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
249
257
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
250
258
|
created: z.ZodString;
|
|
@@ -260,6 +268,12 @@ declare const linkOutputSchema: z.ZodObject<{
|
|
|
260
268
|
document: "document";
|
|
261
269
|
dataroom: "dataroom";
|
|
262
270
|
}>;
|
|
271
|
+
audience_type: z.ZodEnum<{
|
|
272
|
+
general: "general";
|
|
273
|
+
group: "group";
|
|
274
|
+
team: "team";
|
|
275
|
+
}>;
|
|
276
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
263
277
|
document_id: z.ZodNullable<z.ZodString>;
|
|
264
278
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
265
279
|
url: z.ZodString;
|
|
@@ -371,6 +385,7 @@ declare const documentsListOutputSchema: z.ZodObject<{
|
|
|
371
385
|
name: z.ZodString;
|
|
372
386
|
type: z.ZodNullable<z.ZodString>;
|
|
373
387
|
content_type: z.ZodNullable<z.ZodString>;
|
|
388
|
+
url: z.ZodNullable<z.ZodString>;
|
|
374
389
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
375
390
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
376
391
|
created: z.ZodString;
|
|
@@ -402,6 +417,12 @@ declare const linksListOutputSchema: z.ZodObject<{
|
|
|
402
417
|
document: "document";
|
|
403
418
|
dataroom: "dataroom";
|
|
404
419
|
}>;
|
|
420
|
+
audience_type: z.ZodEnum<{
|
|
421
|
+
general: "general";
|
|
422
|
+
group: "group";
|
|
423
|
+
team: "team";
|
|
424
|
+
}>;
|
|
425
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
405
426
|
document_id: z.ZodNullable<z.ZodString>;
|
|
406
427
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
407
428
|
url: z.ZodString;
|
|
@@ -539,15 +560,148 @@ declare const versionsListOutputSchema: z.ZodObject<{
|
|
|
539
560
|
updated_at: z.ZodString;
|
|
540
561
|
}, z.core.$loose>>;
|
|
541
562
|
}, z.core.$strip>;
|
|
563
|
+
declare const dataroomGroupObjectOutputSchema: z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
566
|
+
name: z.ZodString;
|
|
567
|
+
allow_all: z.ZodBoolean;
|
|
568
|
+
domains: z.ZodArray<z.ZodString>;
|
|
569
|
+
member_count: z.ZodNumber;
|
|
570
|
+
link_count: z.ZodNumber;
|
|
571
|
+
dataroom_id: z.ZodString;
|
|
572
|
+
created: z.ZodString;
|
|
573
|
+
updated_at: z.ZodString;
|
|
574
|
+
}, z.core.$loose>;
|
|
575
|
+
declare const dataroomGroupMemberObjectOutputSchema: z.ZodObject<{
|
|
576
|
+
id: z.ZodString;
|
|
577
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
578
|
+
email: z.ZodString;
|
|
579
|
+
viewer_id: z.ZodString;
|
|
580
|
+
created: z.ZodString;
|
|
581
|
+
}, z.core.$loose>;
|
|
582
|
+
declare const dataroomGroupPermissionObjectOutputSchema: z.ZodObject<{
|
|
583
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
584
|
+
item_id: z.ZodString;
|
|
585
|
+
item_type: z.ZodEnum<{
|
|
586
|
+
dataroom_folder: "dataroom_folder";
|
|
587
|
+
dataroom_document: "dataroom_document";
|
|
588
|
+
}>;
|
|
589
|
+
can_view: z.ZodBoolean;
|
|
590
|
+
can_download: z.ZodBoolean;
|
|
591
|
+
updated_at: z.ZodString;
|
|
592
|
+
}, z.core.$loose>;
|
|
593
|
+
declare const linkPermissionObjectOutputSchema: z.ZodObject<{
|
|
594
|
+
object: z.ZodLiteral<"link_permission">;
|
|
595
|
+
item_id: z.ZodString;
|
|
596
|
+
item_type: z.ZodEnum<{
|
|
597
|
+
dataroom_folder: "dataroom_folder";
|
|
598
|
+
dataroom_document: "dataroom_document";
|
|
599
|
+
}>;
|
|
600
|
+
can_view: z.ZodBoolean;
|
|
601
|
+
can_download: z.ZodBoolean;
|
|
602
|
+
can_download_original: z.ZodBoolean;
|
|
603
|
+
updated_at: z.ZodString;
|
|
604
|
+
}, z.core.$loose>;
|
|
605
|
+
declare const permissionEntryInputSchema: z.ZodObject<{
|
|
606
|
+
item_id: z.ZodString;
|
|
607
|
+
item_type: z.ZodEnum<{
|
|
608
|
+
dataroom_folder: "dataroom_folder";
|
|
609
|
+
dataroom_document: "dataroom_document";
|
|
610
|
+
}>;
|
|
611
|
+
can_view: z.ZodBoolean;
|
|
612
|
+
can_download: z.ZodBoolean;
|
|
613
|
+
}, z.core.$strip>;
|
|
614
|
+
declare const dataroomGroupOutputSchema: z.ZodObject<{
|
|
615
|
+
group: z.ZodObject<{
|
|
616
|
+
id: z.ZodString;
|
|
617
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
618
|
+
name: z.ZodString;
|
|
619
|
+
allow_all: z.ZodBoolean;
|
|
620
|
+
domains: z.ZodArray<z.ZodString>;
|
|
621
|
+
member_count: z.ZodNumber;
|
|
622
|
+
link_count: z.ZodNumber;
|
|
623
|
+
dataroom_id: z.ZodString;
|
|
624
|
+
created: z.ZodString;
|
|
625
|
+
updated_at: z.ZodString;
|
|
626
|
+
}, z.core.$loose>;
|
|
627
|
+
}, z.core.$strip>;
|
|
628
|
+
declare const dataroomGroupsListOutputSchema: z.ZodObject<{
|
|
629
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
630
|
+
id: z.ZodString;
|
|
631
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
632
|
+
name: z.ZodString;
|
|
633
|
+
allow_all: z.ZodBoolean;
|
|
634
|
+
domains: z.ZodArray<z.ZodString>;
|
|
635
|
+
member_count: z.ZodNumber;
|
|
636
|
+
link_count: z.ZodNumber;
|
|
637
|
+
dataroom_id: z.ZodString;
|
|
638
|
+
created: z.ZodString;
|
|
639
|
+
updated_at: z.ZodString;
|
|
640
|
+
}, z.core.$loose>>;
|
|
641
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
declare const dataroomGroupMembersListOutputSchema: z.ZodObject<{
|
|
644
|
+
members: z.ZodArray<z.ZodObject<{
|
|
645
|
+
id: z.ZodString;
|
|
646
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
647
|
+
email: z.ZodString;
|
|
648
|
+
viewer_id: z.ZodString;
|
|
649
|
+
created: z.ZodString;
|
|
650
|
+
}, z.core.$loose>>;
|
|
651
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
652
|
+
}, z.core.$strip>;
|
|
653
|
+
declare const dataroomGroupPermissionsListOutputSchema: z.ZodObject<{
|
|
654
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
655
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
656
|
+
item_id: z.ZodString;
|
|
657
|
+
item_type: z.ZodEnum<{
|
|
658
|
+
dataroom_folder: "dataroom_folder";
|
|
659
|
+
dataroom_document: "dataroom_document";
|
|
660
|
+
}>;
|
|
661
|
+
can_view: z.ZodBoolean;
|
|
662
|
+
can_download: z.ZodBoolean;
|
|
663
|
+
updated_at: z.ZodString;
|
|
664
|
+
}, z.core.$loose>>;
|
|
665
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
declare const dataroomGroupPermissionsSetOutputSchema: z.ZodObject<{
|
|
668
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
669
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
670
|
+
item_id: z.ZodString;
|
|
671
|
+
item_type: z.ZodEnum<{
|
|
672
|
+
dataroom_folder: "dataroom_folder";
|
|
673
|
+
dataroom_document: "dataroom_document";
|
|
674
|
+
}>;
|
|
675
|
+
can_view: z.ZodBoolean;
|
|
676
|
+
can_download: z.ZodBoolean;
|
|
677
|
+
updated_at: z.ZodString;
|
|
678
|
+
}, z.core.$loose>>;
|
|
679
|
+
}, z.core.$strip>;
|
|
680
|
+
declare const linkPermissionsListOutputSchema: z.ZodObject<{
|
|
681
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
682
|
+
object: z.ZodLiteral<"link_permission">;
|
|
683
|
+
item_id: z.ZodString;
|
|
684
|
+
item_type: z.ZodEnum<{
|
|
685
|
+
dataroom_folder: "dataroom_folder";
|
|
686
|
+
dataroom_document: "dataroom_document";
|
|
687
|
+
}>;
|
|
688
|
+
can_view: z.ZodBoolean;
|
|
689
|
+
can_download: z.ZodBoolean;
|
|
690
|
+
can_download_original: z.ZodBoolean;
|
|
691
|
+
updated_at: z.ZodString;
|
|
692
|
+
}, z.core.$loose>>;
|
|
693
|
+
}, z.core.$strip>;
|
|
542
694
|
declare const deletedObjectOutputSchema: z.ZodObject<{
|
|
543
695
|
id: z.ZodString;
|
|
544
696
|
object: z.ZodEnum<{
|
|
545
697
|
document: "document";
|
|
546
|
-
folder: "folder";
|
|
547
|
-
dataroom_folder: "dataroom_folder";
|
|
548
698
|
link: "link";
|
|
549
699
|
dataroom: "dataroom";
|
|
700
|
+
folder: "folder";
|
|
701
|
+
dataroom_folder: "dataroom_folder";
|
|
550
702
|
dataroom_document: "dataroom_document";
|
|
703
|
+
dataroom_group: "dataroom_group";
|
|
704
|
+
dataroom_group_member: "dataroom_group_member";
|
|
551
705
|
}>;
|
|
552
706
|
deleted: z.ZodLiteral<true>;
|
|
553
707
|
}, z.core.$strip>;
|
|
@@ -585,6 +739,11 @@ declare const createLinkContract: {
|
|
|
585
739
|
readonly inputSchema: {
|
|
586
740
|
readonly document_id: z.ZodOptional<z.ZodString>;
|
|
587
741
|
readonly dataroom_id: z.ZodOptional<z.ZodString>;
|
|
742
|
+
readonly audience_type: z.ZodOptional<z.ZodEnum<{
|
|
743
|
+
general: "general";
|
|
744
|
+
group: "group";
|
|
745
|
+
}>>;
|
|
746
|
+
readonly group_id: z.ZodOptional<z.ZodString>;
|
|
588
747
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
589
748
|
readonly expires_at: z.ZodOptional<z.ZodString>;
|
|
590
749
|
readonly password: z.ZodOptional<z.ZodString>;
|
|
@@ -620,6 +779,7 @@ declare const listLinksContract: {
|
|
|
620
779
|
readonly inputSchema: {
|
|
621
780
|
readonly document_id: z.ZodOptional<z.ZodString>;
|
|
622
781
|
readonly dataroom_id: z.ZodOptional<z.ZodString>;
|
|
782
|
+
readonly group_id: z.ZodOptional<z.ZodString>;
|
|
623
783
|
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
624
784
|
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
625
785
|
};
|
|
@@ -779,10 +939,11 @@ declare const getDocumentVersionContract: {
|
|
|
779
939
|
declare const addDocumentVersionContract: {
|
|
780
940
|
readonly name: "add_document_version";
|
|
781
941
|
readonly title: "Add a new document version";
|
|
782
|
-
readonly description: "
|
|
942
|
+
readonly description: "Add a new version of an existing document. The new version becomes primary by default; live links automatically serve it.\n\nFor a file document, pass `source_url` — a public HTTPS URL the server fetches as the new file. For a `link`/`notion` document, pass `external_url` to repoint it at a new URL (its type is preserved; the URL is stored as-is, not downloaded). Provide exactly one.\n\nWORKFLOW:\n(1) Resolve the target document via `search_documents` or `list_documents`.\n(2) The user must give you the URL — don't fabricate one.\n(3) After creation, mention the version_number so the user can promote/rollback later.\n\nNOTE: Adding a version from a local file path is not supported by this MCP tool — for that, use the `upload_document` tool to create a new document, or have the user upload via the Papermark UI.\n\nRequires scope `documents.write`.";
|
|
783
943
|
readonly inputSchema: {
|
|
784
944
|
readonly document_id: z.ZodString;
|
|
785
|
-
readonly source_url: z.ZodString
|
|
945
|
+
readonly source_url: z.ZodOptional<z.ZodString>;
|
|
946
|
+
readonly external_url: z.ZodOptional<z.ZodString>;
|
|
786
947
|
};
|
|
787
948
|
};
|
|
788
949
|
declare const promoteDocumentVersionContract: {
|
|
@@ -820,12 +981,12 @@ declare const createFolderContract: {
|
|
|
820
981
|
readonly name: z.ZodString;
|
|
821
982
|
readonly parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
822
983
|
readonly icon: z.ZodOptional<z.ZodEnum<{
|
|
984
|
+
file: "file";
|
|
823
985
|
folder: "folder";
|
|
824
986
|
"folder-open": "folder-open";
|
|
825
987
|
briefcase: "briefcase";
|
|
826
988
|
archive: "archive";
|
|
827
989
|
box: "box";
|
|
828
|
-
file: "file";
|
|
829
990
|
book: "book";
|
|
830
991
|
bookmark: "bookmark";
|
|
831
992
|
star: "star";
|
|
@@ -875,12 +1036,12 @@ declare const updateFolderContract: {
|
|
|
875
1036
|
readonly folder_id: z.ZodString;
|
|
876
1037
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
877
1038
|
readonly icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1039
|
+
file: "file";
|
|
878
1040
|
folder: "folder";
|
|
879
1041
|
"folder-open": "folder-open";
|
|
880
1042
|
briefcase: "briefcase";
|
|
881
1043
|
archive: "archive";
|
|
882
1044
|
box: "box";
|
|
883
|
-
file: "file";
|
|
884
1045
|
book: "book";
|
|
885
1046
|
bookmark: "bookmark";
|
|
886
1047
|
star: "star";
|
|
@@ -957,6 +1118,11 @@ declare const updateLinkContract: {
|
|
|
957
1118
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
958
1119
|
readonly expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
959
1120
|
readonly password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1121
|
+
readonly audience_type: z.ZodOptional<z.ZodEnum<{
|
|
1122
|
+
general: "general";
|
|
1123
|
+
group: "group";
|
|
1124
|
+
}>>;
|
|
1125
|
+
readonly group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
960
1126
|
readonly email_protected: z.ZodOptional<z.ZodBoolean>;
|
|
961
1127
|
readonly email_authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
962
1128
|
readonly allow_download: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1072,12 +1238,12 @@ declare const createDataroomFolderContract: {
|
|
|
1072
1238
|
readonly name: z.ZodString;
|
|
1073
1239
|
readonly parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1074
1240
|
readonly icon: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
+
file: "file";
|
|
1075
1242
|
folder: "folder";
|
|
1076
1243
|
"folder-open": "folder-open";
|
|
1077
1244
|
briefcase: "briefcase";
|
|
1078
1245
|
archive: "archive";
|
|
1079
1246
|
box: "box";
|
|
1080
|
-
file: "file";
|
|
1081
1247
|
book: "book";
|
|
1082
1248
|
bookmark: "bookmark";
|
|
1083
1249
|
star: "star";
|
|
@@ -1128,12 +1294,12 @@ declare const updateDataroomFolderContract: {
|
|
|
1128
1294
|
readonly folder_id: z.ZodString;
|
|
1129
1295
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
1130
1296
|
readonly icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1297
|
+
file: "file";
|
|
1131
1298
|
folder: "folder";
|
|
1132
1299
|
"folder-open": "folder-open";
|
|
1133
1300
|
briefcase: "briefcase";
|
|
1134
1301
|
archive: "archive";
|
|
1135
1302
|
box: "box";
|
|
1136
|
-
file: "file";
|
|
1137
1303
|
book: "book";
|
|
1138
1304
|
bookmark: "bookmark";
|
|
1139
1305
|
star: "star";
|
|
@@ -1195,6 +1361,142 @@ declare const moveDataroomFolderContract: {
|
|
|
1195
1361
|
readonly parent_id: z.ZodNullable<z.ZodString>;
|
|
1196
1362
|
};
|
|
1197
1363
|
};
|
|
1364
|
+
declare const listDataroomGroupsContract: {
|
|
1365
|
+
readonly name: "list_dataroom_groups";
|
|
1366
|
+
readonly title: "List dataroom groups";
|
|
1367
|
+
readonly description: "List viewer groups in a dataroom. Groups define an audience (members by email or domain) plus per-item view/download permissions, and are shared via group links (`create_link` with `audience_type: \"group\"`). Requires scope `datarooms.read`.";
|
|
1368
|
+
readonly inputSchema: {
|
|
1369
|
+
readonly dataroom_id: z.ZodString;
|
|
1370
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
declare const getDataroomGroupContract: {
|
|
1375
|
+
readonly name: "get_dataroom_group";
|
|
1376
|
+
readonly title: "Get a dataroom group";
|
|
1377
|
+
readonly description: "Fetch a single dataroom group with its domain rules, allow-all flag, and member/link counts. Requires scope `datarooms.read`.";
|
|
1378
|
+
readonly inputSchema: {
|
|
1379
|
+
readonly dataroom_id: z.ZodString;
|
|
1380
|
+
readonly group_id: z.ZodString;
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
declare const createDataroomGroupContract: {
|
|
1384
|
+
readonly name: "create_dataroom_group";
|
|
1385
|
+
readonly title: "Create a dataroom group";
|
|
1386
|
+
readonly description: "Create a viewer group in a dataroom.\n\nWORKFLOW:\n(1) Create the group (optionally with `domains` or `allow_all`).\n(2) Add explicit members via `add_dataroom_group_members`.\n(3) Grant document/folder access via `set_dataroom_group_permissions` — a new group sees NOTHING until permissions are set.\n(4) Share it by creating a link with `audience_type: \"group\"`.\n\nRequires scope `datarooms.write`.";
|
|
1387
|
+
readonly inputSchema: {
|
|
1388
|
+
readonly dataroom_id: z.ZodString;
|
|
1389
|
+
readonly name: z.ZodString;
|
|
1390
|
+
readonly allow_all: z.ZodOptional<z.ZodBoolean>;
|
|
1391
|
+
readonly domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
declare const updateDataroomGroupContract: {
|
|
1395
|
+
readonly name: "update_dataroom_group";
|
|
1396
|
+
readonly title: "Update a dataroom group";
|
|
1397
|
+
readonly description: "Rename a dataroom group or change its `domains` / `allow_all` audience rules. PATCH semantics — omitted fields stay as they are; a passed `domains` array REPLACES the current one. Requires scope `datarooms.write`.";
|
|
1398
|
+
readonly inputSchema: {
|
|
1399
|
+
readonly dataroom_id: z.ZodString;
|
|
1400
|
+
readonly group_id: z.ZodString;
|
|
1401
|
+
readonly name: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
readonly allow_all: z.ZodOptional<z.ZodBoolean>;
|
|
1403
|
+
readonly domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1406
|
+
declare const deleteDataroomGroupContract: {
|
|
1407
|
+
readonly name: "delete_dataroom_group";
|
|
1408
|
+
readonly title: "Delete a dataroom group";
|
|
1409
|
+
readonly description: "Delete a dataroom group, its memberships, its permissions, AND every share link pointing at it — active group links stop resolving immediately.\n\nALWAYS confirm with the user before calling (echo the group name and its link count via `get_dataroom_group`). This is irreversible. Requires scope `datarooms.write`.";
|
|
1410
|
+
readonly inputSchema: {
|
|
1411
|
+
readonly dataroom_id: z.ZodString;
|
|
1412
|
+
readonly group_id: z.ZodString;
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
declare const listDataroomGroupMembersContract: {
|
|
1416
|
+
readonly name: "list_dataroom_group_members";
|
|
1417
|
+
readonly title: "List dataroom group members";
|
|
1418
|
+
readonly description: "List a group's explicit email members with their membership ids (needed for `remove_dataroom_group_member`). Viewers admitted via the group's `domains` or `allow_all` are not listed. Requires scope `datarooms.read`.";
|
|
1419
|
+
readonly inputSchema: {
|
|
1420
|
+
readonly dataroom_id: z.ZodString;
|
|
1421
|
+
readonly group_id: z.ZodString;
|
|
1422
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1423
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
declare const addDataroomGroupMembersContract: {
|
|
1427
|
+
readonly name: "add_dataroom_group_members";
|
|
1428
|
+
readonly title: "Add dataroom group members";
|
|
1429
|
+
readonly description: "Add members to a dataroom group by email (up to 500 per call). Idempotent — already-present members are skipped. NO invitation emails are sent; members gain access the next time they open a group link. Requires scope `datarooms.write`.";
|
|
1430
|
+
readonly inputSchema: {
|
|
1431
|
+
readonly dataroom_id: z.ZodString;
|
|
1432
|
+
readonly group_id: z.ZodString;
|
|
1433
|
+
readonly emails: z.ZodArray<z.ZodString>;
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
declare const removeDataroomGroupMemberContract: {
|
|
1437
|
+
readonly name: "remove_dataroom_group_member";
|
|
1438
|
+
readonly title: "Remove a dataroom group member";
|
|
1439
|
+
readonly description: "Remove a member from a dataroom group by membership id (from `list_dataroom_group_members` — NOT the email or viewer id). The viewer itself is kept; only this group membership is removed. Requires scope `datarooms.write`.";
|
|
1440
|
+
readonly inputSchema: {
|
|
1441
|
+
readonly dataroom_id: z.ZodString;
|
|
1442
|
+
readonly group_id: z.ZodString;
|
|
1443
|
+
readonly member_id: z.ZodString;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
declare const getDataroomGroupPermissionsContract: {
|
|
1447
|
+
readonly name: "get_dataroom_group_permissions";
|
|
1448
|
+
readonly title: "Get dataroom group permissions";
|
|
1449
|
+
readonly description: "List a group's per-item access controls. Items WITHOUT an entry are invisible to the group's viewers. Requires scope `datarooms.read`.";
|
|
1450
|
+
readonly inputSchema: {
|
|
1451
|
+
readonly dataroom_id: z.ZodString;
|
|
1452
|
+
readonly group_id: z.ZodString;
|
|
1453
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1454
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
declare const setDataroomGroupPermissionsContract: {
|
|
1458
|
+
readonly name: "set_dataroom_group_permissions";
|
|
1459
|
+
readonly title: "Set dataroom group permissions";
|
|
1460
|
+
readonly description: "Upsert per-item view/download permissions for a dataroom group. DELTA semantics: entries you send are upserted, entries you omit keep their current state. Ancestor folders of any item made visible are automatically set to `can_view: true`.\n\nWORKFLOW:\n(1) Get item ids from `list_dataroom_documents` (attachment ids) / `list_dataroom_folders` (folder ids) — NOT team-library document ids.\n(2) Send one entry per item to change. To hide an item, send it with `can_view: false, can_download: false`.\n\nRequires scope `datarooms.write`.";
|
|
1461
|
+
readonly inputSchema: {
|
|
1462
|
+
readonly dataroom_id: z.ZodString;
|
|
1463
|
+
readonly group_id: z.ZodString;
|
|
1464
|
+
readonly permissions: z.ZodArray<z.ZodObject<{
|
|
1465
|
+
item_id: z.ZodString;
|
|
1466
|
+
item_type: z.ZodEnum<{
|
|
1467
|
+
dataroom_folder: "dataroom_folder";
|
|
1468
|
+
dataroom_document: "dataroom_document";
|
|
1469
|
+
}>;
|
|
1470
|
+
can_view: z.ZodBoolean;
|
|
1471
|
+
can_download: z.ZodBoolean;
|
|
1472
|
+
}, z.core.$strip>>;
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
declare const getLinkPermissionsContract: {
|
|
1476
|
+
readonly name: "get_link_permissions";
|
|
1477
|
+
readonly title: "Get link permissions";
|
|
1478
|
+
readonly description: "List a dataroom link's per-item file permission overrides. Empty when the link has no overrides — viewers then see items per the link's group (group links) or the full dataroom. On group-audience links the group's permissions win and these overrides are ignored. Requires scope `links.read`.";
|
|
1479
|
+
readonly inputSchema: {
|
|
1480
|
+
readonly link_id: z.ZodString;
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
declare const setLinkPermissionsContract: {
|
|
1484
|
+
readonly name: "set_link_permissions";
|
|
1485
|
+
readonly title: "Set link permissions";
|
|
1486
|
+
readonly description: "Replace a dataroom link's per-item file permissions. FULL-REPLACE semantics: the payload is the complete desired state — items not listed lose their override, and an empty array clears everything (hiding every item on this link). Ancestor folders of visible items stay visible automatically.\n\nItem ids come from `list_dataroom_documents` / `list_dataroom_folders`. Has no effect on links with `audience_type: \"group\"` — their group's permissions take precedence. Requires scope `links.write`.";
|
|
1487
|
+
readonly inputSchema: {
|
|
1488
|
+
readonly link_id: z.ZodString;
|
|
1489
|
+
readonly permissions: z.ZodArray<z.ZodObject<{
|
|
1490
|
+
item_id: z.ZodString;
|
|
1491
|
+
item_type: z.ZodEnum<{
|
|
1492
|
+
dataroom_folder: "dataroom_folder";
|
|
1493
|
+
dataroom_document: "dataroom_document";
|
|
1494
|
+
}>;
|
|
1495
|
+
can_view: z.ZodBoolean;
|
|
1496
|
+
can_download: z.ZodBoolean;
|
|
1497
|
+
}, z.core.$strip>>;
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1198
1500
|
declare const getVisitorContract: {
|
|
1199
1501
|
readonly name: "get_visitor";
|
|
1200
1502
|
readonly title: "Get a visitor";
|
|
@@ -1211,6 +1513,7 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1211
1513
|
name: z.ZodString;
|
|
1212
1514
|
type: z.ZodNullable<z.ZodString>;
|
|
1213
1515
|
content_type: z.ZodNullable<z.ZodString>;
|
|
1516
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1214
1517
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
1215
1518
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
1216
1519
|
created: z.ZodString;
|
|
@@ -1224,6 +1527,7 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1224
1527
|
name: z.ZodString;
|
|
1225
1528
|
type: z.ZodNullable<z.ZodString>;
|
|
1226
1529
|
content_type: z.ZodNullable<z.ZodString>;
|
|
1530
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1227
1531
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
1228
1532
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
1229
1533
|
created: z.ZodString;
|
|
@@ -1236,6 +1540,7 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1236
1540
|
name: z.ZodString;
|
|
1237
1541
|
type: z.ZodNullable<z.ZodString>;
|
|
1238
1542
|
content_type: z.ZodNullable<z.ZodString>;
|
|
1543
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1239
1544
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
1240
1545
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
1241
1546
|
created: z.ZodString;
|
|
@@ -1252,6 +1557,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1252
1557
|
document: "document";
|
|
1253
1558
|
dataroom: "dataroom";
|
|
1254
1559
|
}>;
|
|
1560
|
+
audience_type: z.ZodEnum<{
|
|
1561
|
+
general: "general";
|
|
1562
|
+
group: "group";
|
|
1563
|
+
team: "team";
|
|
1564
|
+
}>;
|
|
1565
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1255
1566
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1256
1567
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1257
1568
|
url: z.ZodString;
|
|
@@ -1300,6 +1611,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1300
1611
|
document: "document";
|
|
1301
1612
|
dataroom: "dataroom";
|
|
1302
1613
|
}>;
|
|
1614
|
+
audience_type: z.ZodEnum<{
|
|
1615
|
+
general: "general";
|
|
1616
|
+
group: "group";
|
|
1617
|
+
team: "team";
|
|
1618
|
+
}>;
|
|
1619
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1303
1620
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1304
1621
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1305
1622
|
url: z.ZodString;
|
|
@@ -1526,6 +1843,7 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1526
1843
|
name: z.ZodString;
|
|
1527
1844
|
type: z.ZodNullable<z.ZodString>;
|
|
1528
1845
|
content_type: z.ZodNullable<z.ZodString>;
|
|
1846
|
+
url: z.ZodNullable<z.ZodString>;
|
|
1529
1847
|
num_pages: z.ZodNullable<z.ZodNumber>;
|
|
1530
1848
|
folder_id: z.ZodNullable<z.ZodString>;
|
|
1531
1849
|
created: z.ZodString;
|
|
@@ -1536,11 +1854,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1536
1854
|
id: z.ZodString;
|
|
1537
1855
|
object: z.ZodEnum<{
|
|
1538
1856
|
document: "document";
|
|
1539
|
-
folder: "folder";
|
|
1540
|
-
dataroom_folder: "dataroom_folder";
|
|
1541
1857
|
link: "link";
|
|
1542
1858
|
dataroom: "dataroom";
|
|
1859
|
+
folder: "folder";
|
|
1860
|
+
dataroom_folder: "dataroom_folder";
|
|
1543
1861
|
dataroom_document: "dataroom_document";
|
|
1862
|
+
dataroom_group: "dataroom_group";
|
|
1863
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1544
1864
|
}>;
|
|
1545
1865
|
deleted: z.ZodLiteral<true>;
|
|
1546
1866
|
}, z.core.$strip>;
|
|
@@ -1677,11 +1997,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1677
1997
|
id: z.ZodString;
|
|
1678
1998
|
object: z.ZodEnum<{
|
|
1679
1999
|
document: "document";
|
|
1680
|
-
folder: "folder";
|
|
1681
|
-
dataroom_folder: "dataroom_folder";
|
|
1682
2000
|
link: "link";
|
|
1683
2001
|
dataroom: "dataroom";
|
|
2002
|
+
folder: "folder";
|
|
2003
|
+
dataroom_folder: "dataroom_folder";
|
|
1684
2004
|
dataroom_document: "dataroom_document";
|
|
2005
|
+
dataroom_group: "dataroom_group";
|
|
2006
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1685
2007
|
}>;
|
|
1686
2008
|
deleted: z.ZodLiteral<true>;
|
|
1687
2009
|
}, z.core.$strip>;
|
|
@@ -1713,6 +2035,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1713
2035
|
document: "document";
|
|
1714
2036
|
dataroom: "dataroom";
|
|
1715
2037
|
}>;
|
|
2038
|
+
audience_type: z.ZodEnum<{
|
|
2039
|
+
general: "general";
|
|
2040
|
+
group: "group";
|
|
2041
|
+
team: "team";
|
|
2042
|
+
}>;
|
|
2043
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1716
2044
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1717
2045
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1718
2046
|
url: z.ZodString;
|
|
@@ -1761,6 +2089,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1761
2089
|
document: "document";
|
|
1762
2090
|
dataroom: "dataroom";
|
|
1763
2091
|
}>;
|
|
2092
|
+
audience_type: z.ZodEnum<{
|
|
2093
|
+
general: "general";
|
|
2094
|
+
group: "group";
|
|
2095
|
+
team: "team";
|
|
2096
|
+
}>;
|
|
2097
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1764
2098
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1765
2099
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1766
2100
|
url: z.ZodString;
|
|
@@ -1804,11 +2138,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1804
2138
|
id: z.ZodString;
|
|
1805
2139
|
object: z.ZodEnum<{
|
|
1806
2140
|
document: "document";
|
|
1807
|
-
folder: "folder";
|
|
1808
|
-
dataroom_folder: "dataroom_folder";
|
|
1809
2141
|
link: "link";
|
|
1810
2142
|
dataroom: "dataroom";
|
|
2143
|
+
folder: "folder";
|
|
2144
|
+
dataroom_folder: "dataroom_folder";
|
|
1811
2145
|
dataroom_document: "dataroom_document";
|
|
2146
|
+
dataroom_group: "dataroom_group";
|
|
2147
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1812
2148
|
}>;
|
|
1813
2149
|
deleted: z.ZodLiteral<true>;
|
|
1814
2150
|
}, z.core.$strip>;
|
|
@@ -1834,11 +2170,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1834
2170
|
id: z.ZodString;
|
|
1835
2171
|
object: z.ZodEnum<{
|
|
1836
2172
|
document: "document";
|
|
1837
|
-
folder: "folder";
|
|
1838
|
-
dataroom_folder: "dataroom_folder";
|
|
1839
2173
|
link: "link";
|
|
1840
2174
|
dataroom: "dataroom";
|
|
2175
|
+
folder: "folder";
|
|
2176
|
+
dataroom_folder: "dataroom_folder";
|
|
1841
2177
|
dataroom_document: "dataroom_document";
|
|
2178
|
+
dataroom_group: "dataroom_group";
|
|
2179
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1842
2180
|
}>;
|
|
1843
2181
|
deleted: z.ZodLiteral<true>;
|
|
1844
2182
|
}, z.core.$strip>;
|
|
@@ -1860,11 +2198,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1860
2198
|
id: z.ZodString;
|
|
1861
2199
|
object: z.ZodEnum<{
|
|
1862
2200
|
document: "document";
|
|
1863
|
-
folder: "folder";
|
|
1864
|
-
dataroom_folder: "dataroom_folder";
|
|
1865
2201
|
link: "link";
|
|
1866
2202
|
dataroom: "dataroom";
|
|
2203
|
+
folder: "folder";
|
|
2204
|
+
dataroom_folder: "dataroom_folder";
|
|
1867
2205
|
dataroom_document: "dataroom_document";
|
|
2206
|
+
dataroom_group: "dataroom_group";
|
|
2207
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1868
2208
|
}>;
|
|
1869
2209
|
deleted: z.ZodLiteral<true>;
|
|
1870
2210
|
}, z.core.$strip>;
|
|
@@ -1961,11 +2301,13 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1961
2301
|
id: z.ZodString;
|
|
1962
2302
|
object: z.ZodEnum<{
|
|
1963
2303
|
document: "document";
|
|
1964
|
-
folder: "folder";
|
|
1965
|
-
dataroom_folder: "dataroom_folder";
|
|
1966
2304
|
link: "link";
|
|
1967
2305
|
dataroom: "dataroom";
|
|
2306
|
+
folder: "folder";
|
|
2307
|
+
dataroom_folder: "dataroom_folder";
|
|
1968
2308
|
dataroom_document: "dataroom_document";
|
|
2309
|
+
dataroom_group: "dataroom_group";
|
|
2310
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1969
2311
|
}>;
|
|
1970
2312
|
deleted: z.ZodLiteral<true>;
|
|
1971
2313
|
}, z.core.$strip>;
|
|
@@ -1988,6 +2330,164 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1988
2330
|
updated_at: z.ZodString;
|
|
1989
2331
|
}, z.core.$loose>;
|
|
1990
2332
|
}, z.core.$strip>;
|
|
2333
|
+
readonly list_dataroom_groups: z.ZodObject<{
|
|
2334
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2335
|
+
id: z.ZodString;
|
|
2336
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2337
|
+
name: z.ZodString;
|
|
2338
|
+
allow_all: z.ZodBoolean;
|
|
2339
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2340
|
+
member_count: z.ZodNumber;
|
|
2341
|
+
link_count: z.ZodNumber;
|
|
2342
|
+
dataroom_id: z.ZodString;
|
|
2343
|
+
created: z.ZodString;
|
|
2344
|
+
updated_at: z.ZodString;
|
|
2345
|
+
}, z.core.$loose>>;
|
|
2346
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2347
|
+
}, z.core.$strip>;
|
|
2348
|
+
readonly get_dataroom_group: z.ZodObject<{
|
|
2349
|
+
id: z.ZodString;
|
|
2350
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2351
|
+
name: z.ZodString;
|
|
2352
|
+
allow_all: z.ZodBoolean;
|
|
2353
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2354
|
+
member_count: z.ZodNumber;
|
|
2355
|
+
link_count: z.ZodNumber;
|
|
2356
|
+
dataroom_id: z.ZodString;
|
|
2357
|
+
created: z.ZodString;
|
|
2358
|
+
updated_at: z.ZodString;
|
|
2359
|
+
}, z.core.$loose>;
|
|
2360
|
+
readonly create_dataroom_group: z.ZodObject<{
|
|
2361
|
+
group: z.ZodObject<{
|
|
2362
|
+
id: z.ZodString;
|
|
2363
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2364
|
+
name: z.ZodString;
|
|
2365
|
+
allow_all: z.ZodBoolean;
|
|
2366
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2367
|
+
member_count: z.ZodNumber;
|
|
2368
|
+
link_count: z.ZodNumber;
|
|
2369
|
+
dataroom_id: z.ZodString;
|
|
2370
|
+
created: z.ZodString;
|
|
2371
|
+
updated_at: z.ZodString;
|
|
2372
|
+
}, z.core.$loose>;
|
|
2373
|
+
}, z.core.$strip>;
|
|
2374
|
+
readonly update_dataroom_group: z.ZodObject<{
|
|
2375
|
+
group: z.ZodObject<{
|
|
2376
|
+
id: z.ZodString;
|
|
2377
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2378
|
+
name: z.ZodString;
|
|
2379
|
+
allow_all: z.ZodBoolean;
|
|
2380
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2381
|
+
member_count: z.ZodNumber;
|
|
2382
|
+
link_count: z.ZodNumber;
|
|
2383
|
+
dataroom_id: z.ZodString;
|
|
2384
|
+
created: z.ZodString;
|
|
2385
|
+
updated_at: z.ZodString;
|
|
2386
|
+
}, z.core.$loose>;
|
|
2387
|
+
}, z.core.$strip>;
|
|
2388
|
+
readonly delete_dataroom_group: z.ZodObject<{
|
|
2389
|
+
id: z.ZodString;
|
|
2390
|
+
object: z.ZodEnum<{
|
|
2391
|
+
document: "document";
|
|
2392
|
+
link: "link";
|
|
2393
|
+
dataroom: "dataroom";
|
|
2394
|
+
folder: "folder";
|
|
2395
|
+
dataroom_folder: "dataroom_folder";
|
|
2396
|
+
dataroom_document: "dataroom_document";
|
|
2397
|
+
dataroom_group: "dataroom_group";
|
|
2398
|
+
dataroom_group_member: "dataroom_group_member";
|
|
2399
|
+
}>;
|
|
2400
|
+
deleted: z.ZodLiteral<true>;
|
|
2401
|
+
}, z.core.$strip>;
|
|
2402
|
+
readonly list_dataroom_group_members: z.ZodObject<{
|
|
2403
|
+
members: z.ZodArray<z.ZodObject<{
|
|
2404
|
+
id: z.ZodString;
|
|
2405
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
2406
|
+
email: z.ZodString;
|
|
2407
|
+
viewer_id: z.ZodString;
|
|
2408
|
+
created: z.ZodString;
|
|
2409
|
+
}, z.core.$loose>>;
|
|
2410
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2411
|
+
}, z.core.$strip>;
|
|
2412
|
+
readonly add_dataroom_group_members: z.ZodObject<{
|
|
2413
|
+
members: z.ZodArray<z.ZodObject<{
|
|
2414
|
+
id: z.ZodString;
|
|
2415
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
2416
|
+
email: z.ZodString;
|
|
2417
|
+
viewer_id: z.ZodString;
|
|
2418
|
+
created: z.ZodString;
|
|
2419
|
+
}, z.core.$loose>>;
|
|
2420
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2421
|
+
}, z.core.$strip>;
|
|
2422
|
+
readonly remove_dataroom_group_member: z.ZodObject<{
|
|
2423
|
+
id: z.ZodString;
|
|
2424
|
+
object: z.ZodEnum<{
|
|
2425
|
+
document: "document";
|
|
2426
|
+
link: "link";
|
|
2427
|
+
dataroom: "dataroom";
|
|
2428
|
+
folder: "folder";
|
|
2429
|
+
dataroom_folder: "dataroom_folder";
|
|
2430
|
+
dataroom_document: "dataroom_document";
|
|
2431
|
+
dataroom_group: "dataroom_group";
|
|
2432
|
+
dataroom_group_member: "dataroom_group_member";
|
|
2433
|
+
}>;
|
|
2434
|
+
deleted: z.ZodLiteral<true>;
|
|
2435
|
+
}, z.core.$strip>;
|
|
2436
|
+
readonly get_dataroom_group_permissions: z.ZodObject<{
|
|
2437
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2438
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
2439
|
+
item_id: z.ZodString;
|
|
2440
|
+
item_type: z.ZodEnum<{
|
|
2441
|
+
dataroom_folder: "dataroom_folder";
|
|
2442
|
+
dataroom_document: "dataroom_document";
|
|
2443
|
+
}>;
|
|
2444
|
+
can_view: z.ZodBoolean;
|
|
2445
|
+
can_download: z.ZodBoolean;
|
|
2446
|
+
updated_at: z.ZodString;
|
|
2447
|
+
}, z.core.$loose>>;
|
|
2448
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2449
|
+
}, z.core.$strip>;
|
|
2450
|
+
readonly set_dataroom_group_permissions: z.ZodObject<{
|
|
2451
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2452
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
2453
|
+
item_id: z.ZodString;
|
|
2454
|
+
item_type: z.ZodEnum<{
|
|
2455
|
+
dataroom_folder: "dataroom_folder";
|
|
2456
|
+
dataroom_document: "dataroom_document";
|
|
2457
|
+
}>;
|
|
2458
|
+
can_view: z.ZodBoolean;
|
|
2459
|
+
can_download: z.ZodBoolean;
|
|
2460
|
+
updated_at: z.ZodString;
|
|
2461
|
+
}, z.core.$loose>>;
|
|
2462
|
+
}, z.core.$strip>;
|
|
2463
|
+
readonly get_link_permissions: z.ZodObject<{
|
|
2464
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2465
|
+
object: z.ZodLiteral<"link_permission">;
|
|
2466
|
+
item_id: z.ZodString;
|
|
2467
|
+
item_type: z.ZodEnum<{
|
|
2468
|
+
dataroom_folder: "dataroom_folder";
|
|
2469
|
+
dataroom_document: "dataroom_document";
|
|
2470
|
+
}>;
|
|
2471
|
+
can_view: z.ZodBoolean;
|
|
2472
|
+
can_download: z.ZodBoolean;
|
|
2473
|
+
can_download_original: z.ZodBoolean;
|
|
2474
|
+
updated_at: z.ZodString;
|
|
2475
|
+
}, z.core.$loose>>;
|
|
2476
|
+
}, z.core.$strip>;
|
|
2477
|
+
readonly set_link_permissions: z.ZodObject<{
|
|
2478
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2479
|
+
object: z.ZodLiteral<"link_permission">;
|
|
2480
|
+
item_id: z.ZodString;
|
|
2481
|
+
item_type: z.ZodEnum<{
|
|
2482
|
+
dataroom_folder: "dataroom_folder";
|
|
2483
|
+
dataroom_document: "dataroom_document";
|
|
2484
|
+
}>;
|
|
2485
|
+
can_view: z.ZodBoolean;
|
|
2486
|
+
can_download: z.ZodBoolean;
|
|
2487
|
+
can_download_original: z.ZodBoolean;
|
|
2488
|
+
updated_at: z.ZodString;
|
|
2489
|
+
}, z.core.$loose>>;
|
|
2490
|
+
}, z.core.$strip>;
|
|
1991
2491
|
readonly get_visitor: z.ZodObject<{
|
|
1992
2492
|
id: z.ZodString;
|
|
1993
2493
|
object: z.ZodLiteral<"visitor">;
|
|
@@ -2002,4 +2502,4 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
2002
2502
|
}, z.core.$loose>;
|
|
2003
2503
|
};
|
|
2004
2504
|
|
|
2005
|
-
export { SHARED_TOOL_OUTPUT_SCHEMAS, type ToolContract, addDocumentVersionContract, anyObjectOutputSchema, attachDataroomDocumentContract, createDataroomContract, createDataroomFolderContract, createFolderContract, createLinkContract, dataroomAnalyticsOutputSchema, dataroomDocumentsListOutputSchema, dataroomItemObjectOutputSchema, dataroomItemOutputSchema, dataroomObjectOutputSchema, dataroomOutputSchema, dataroomsListOutputSchema, deleteDataroomContract, deleteDataroomFolderContract, deleteDocumentContract, deleteFolderContract, deleteLinkContract, deletedObjectOutputSchema, detachDataroomDocumentContract, documentAnalyticsOutputSchema, documentObjectOutputSchema, documentOutputSchema, documentVersionObjectOutputSchema, documentsListOutputSchema, folderObjectOutputSchema, folderOutputSchema, foldersListOutputSchema, getDataroomAnalyticsContract, getDataroomContract, getDataroomFolderContract, getDocumentAnalyticsContract, getDocumentContract, getDocumentVersionContract, getFolderContract, getLinkAnalyticsContract, getLinkContract, getViewAnalyticsContract, getVisitorContract, linkAnalyticsOutputSchema, linkObjectOutputSchema, linkOutputSchema, linksListOutputSchema, listDataroomDocumentsContract, listDataroomFoldersContract, listDataroomsContract, listDocumentVersionsContract, listDocumentsContract, listFoldersContract, listLinkViewsContract, listLinksContract, listVisitorViewsContract, listVisitorsContract, moveDataroomDocumentContract, moveDataroomFolderContract, moveFolderContract, promoteDocumentVersionContract, searchDataroomsContract, searchDocumentsContract, updateDataroomContract, updateDataroomFolderContract, updateDocumentContract, updateFolderContract, updateLinkContract, versionOutputSchema, versionsListOutputSchema, viewAnalyticsOutputSchema, viewObjectOutputSchema, viewsListOutputSchema, visitorObjectOutputSchema, visitorViewObjectOutputSchema, visitorViewsListOutputSchema, visitorsListOutputSchema, watermarkConfigInputSchema };
|
|
2505
|
+
export { SHARED_TOOL_OUTPUT_SCHEMAS, type ToolContract, addDataroomGroupMembersContract, addDocumentVersionContract, anyObjectOutputSchema, attachDataroomDocumentContract, createDataroomContract, createDataroomFolderContract, createDataroomGroupContract, createFolderContract, createLinkContract, dataroomAnalyticsOutputSchema, dataroomDocumentsListOutputSchema, dataroomGroupMemberObjectOutputSchema, dataroomGroupMembersListOutputSchema, dataroomGroupObjectOutputSchema, dataroomGroupOutputSchema, dataroomGroupPermissionObjectOutputSchema, dataroomGroupPermissionsListOutputSchema, dataroomGroupPermissionsSetOutputSchema, dataroomGroupsListOutputSchema, dataroomItemObjectOutputSchema, dataroomItemOutputSchema, dataroomObjectOutputSchema, dataroomOutputSchema, dataroomsListOutputSchema, deleteDataroomContract, deleteDataroomFolderContract, deleteDataroomGroupContract, deleteDocumentContract, deleteFolderContract, deleteLinkContract, deletedObjectOutputSchema, detachDataroomDocumentContract, documentAnalyticsOutputSchema, documentObjectOutputSchema, documentOutputSchema, documentVersionObjectOutputSchema, documentsListOutputSchema, folderObjectOutputSchema, folderOutputSchema, foldersListOutputSchema, getDataroomAnalyticsContract, getDataroomContract, getDataroomFolderContract, getDataroomGroupContract, getDataroomGroupPermissionsContract, getDocumentAnalyticsContract, getDocumentContract, getDocumentVersionContract, getFolderContract, getLinkAnalyticsContract, getLinkContract, getLinkPermissionsContract, getViewAnalyticsContract, getVisitorContract, linkAnalyticsOutputSchema, linkObjectOutputSchema, linkOutputSchema, linkPermissionObjectOutputSchema, linkPermissionsListOutputSchema, linksListOutputSchema, listDataroomDocumentsContract, listDataroomFoldersContract, listDataroomGroupMembersContract, listDataroomGroupsContract, listDataroomsContract, listDocumentVersionsContract, listDocumentsContract, listFoldersContract, listLinkViewsContract, listLinksContract, listVisitorViewsContract, listVisitorsContract, moveDataroomDocumentContract, moveDataroomFolderContract, moveFolderContract, permissionEntryInputSchema, promoteDocumentVersionContract, removeDataroomGroupMemberContract, searchDataroomsContract, searchDocumentsContract, setDataroomGroupPermissionsContract, setLinkPermissionsContract, updateDataroomContract, updateDataroomFolderContract, updateDataroomGroupContract, updateDocumentContract, updateFolderContract, updateLinkContract, versionOutputSchema, versionsListOutputSchema, viewAnalyticsOutputSchema, viewObjectOutputSchema, viewsListOutputSchema, visitorObjectOutputSchema, visitorViewObjectOutputSchema, visitorViewsListOutputSchema, visitorsListOutputSchema, watermarkConfigInputSchema };
|