@papermark/mcp-server 0.7.0 → 0.9.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-YMSDUZ2I.js → chunk-STGR2RDC.js} +325 -3
- package/dist/chunk-STGR2RDC.js.map +1 -0
- package/dist/index.js +254 -1
- package/dist/index.js.map +1 -1
- package/dist/tools-contract.d.ts +523 -19
- package/dist/tools-contract.js +47 -1
- package/package.json +1 -1
- package/dist/chunk-YMSDUZ2I.js.map +0 -1
package/dist/tools-contract.d.ts
CHANGED
|
@@ -61,6 +61,12 @@ declare const linkObjectOutputSchema: z.ZodObject<{
|
|
|
61
61
|
document: "document";
|
|
62
62
|
dataroom: "dataroom";
|
|
63
63
|
}>;
|
|
64
|
+
audience_type: z.ZodEnum<{
|
|
65
|
+
general: "general";
|
|
66
|
+
group: "group";
|
|
67
|
+
team: "team";
|
|
68
|
+
}>;
|
|
69
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
64
70
|
document_id: z.ZodNullable<z.ZodString>;
|
|
65
71
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
66
72
|
url: z.ZodString;
|
|
@@ -262,6 +268,12 @@ declare const linkOutputSchema: z.ZodObject<{
|
|
|
262
268
|
document: "document";
|
|
263
269
|
dataroom: "dataroom";
|
|
264
270
|
}>;
|
|
271
|
+
audience_type: z.ZodEnum<{
|
|
272
|
+
general: "general";
|
|
273
|
+
group: "group";
|
|
274
|
+
team: "team";
|
|
275
|
+
}>;
|
|
276
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
265
277
|
document_id: z.ZodNullable<z.ZodString>;
|
|
266
278
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
267
279
|
url: z.ZodString;
|
|
@@ -405,6 +417,12 @@ declare const linksListOutputSchema: z.ZodObject<{
|
|
|
405
417
|
document: "document";
|
|
406
418
|
dataroom: "dataroom";
|
|
407
419
|
}>;
|
|
420
|
+
audience_type: z.ZodEnum<{
|
|
421
|
+
general: "general";
|
|
422
|
+
group: "group";
|
|
423
|
+
team: "team";
|
|
424
|
+
}>;
|
|
425
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
408
426
|
document_id: z.ZodNullable<z.ZodString>;
|
|
409
427
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
410
428
|
url: z.ZodString;
|
|
@@ -542,14 +560,147 @@ declare const versionsListOutputSchema: z.ZodObject<{
|
|
|
542
560
|
updated_at: z.ZodString;
|
|
543
561
|
}, z.core.$loose>>;
|
|
544
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>;
|
|
545
694
|
declare const deletedObjectOutputSchema: z.ZodObject<{
|
|
546
695
|
id: z.ZodString;
|
|
547
696
|
object: z.ZodEnum<{
|
|
548
697
|
document: "document";
|
|
549
|
-
link: "link";
|
|
550
|
-
dataroom: "dataroom";
|
|
551
698
|
folder: "folder";
|
|
552
699
|
dataroom_folder: "dataroom_folder";
|
|
700
|
+
link: "link";
|
|
701
|
+
dataroom: "dataroom";
|
|
702
|
+
dataroom_group: "dataroom_group";
|
|
703
|
+
dataroom_group_member: "dataroom_group_member";
|
|
553
704
|
dataroom_document: "dataroom_document";
|
|
554
705
|
}>;
|
|
555
706
|
deleted: z.ZodLiteral<true>;
|
|
@@ -588,11 +739,19 @@ declare const createLinkContract: {
|
|
|
588
739
|
readonly inputSchema: {
|
|
589
740
|
readonly document_id: z.ZodOptional<z.ZodString>;
|
|
590
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>;
|
|
591
747
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
592
748
|
readonly expires_at: z.ZodOptional<z.ZodString>;
|
|
593
749
|
readonly password: z.ZodOptional<z.ZodString>;
|
|
594
750
|
readonly email_protected: z.ZodOptional<z.ZodBoolean>;
|
|
751
|
+
readonly email_authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
595
752
|
readonly allow_download: z.ZodOptional<z.ZodBoolean>;
|
|
753
|
+
readonly allow_list: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
754
|
+
readonly deny_list: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
596
755
|
readonly enable_confidential_view: z.ZodOptional<z.ZodBoolean>;
|
|
597
756
|
readonly enable_watermark: z.ZodOptional<z.ZodBoolean>;
|
|
598
757
|
readonly watermark_config: z.ZodOptional<z.ZodObject<{
|
|
@@ -614,6 +773,11 @@ declare const createLinkContract: {
|
|
|
614
773
|
font_size: z.ZodNumber;
|
|
615
774
|
opacity: z.ZodNumber;
|
|
616
775
|
}, z.core.$strip>>;
|
|
776
|
+
readonly enable_screenshot_protection: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
readonly enable_agreement: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
readonly agreement_id: z.ZodOptional<z.ZodString>;
|
|
779
|
+
readonly domain: z.ZodOptional<z.ZodString>;
|
|
780
|
+
readonly slug: z.ZodOptional<z.ZodString>;
|
|
617
781
|
};
|
|
618
782
|
};
|
|
619
783
|
declare const listLinksContract: {
|
|
@@ -623,6 +787,7 @@ declare const listLinksContract: {
|
|
|
623
787
|
readonly inputSchema: {
|
|
624
788
|
readonly document_id: z.ZodOptional<z.ZodString>;
|
|
625
789
|
readonly dataroom_id: z.ZodOptional<z.ZodString>;
|
|
790
|
+
readonly group_id: z.ZodOptional<z.ZodString>;
|
|
626
791
|
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
627
792
|
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
628
793
|
};
|
|
@@ -824,12 +989,12 @@ declare const createFolderContract: {
|
|
|
824
989
|
readonly name: z.ZodString;
|
|
825
990
|
readonly parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
991
|
readonly icon: z.ZodOptional<z.ZodEnum<{
|
|
827
|
-
file: "file";
|
|
828
992
|
folder: "folder";
|
|
829
993
|
"folder-open": "folder-open";
|
|
830
994
|
briefcase: "briefcase";
|
|
831
995
|
archive: "archive";
|
|
832
996
|
box: "box";
|
|
997
|
+
file: "file";
|
|
833
998
|
book: "book";
|
|
834
999
|
bookmark: "bookmark";
|
|
835
1000
|
star: "star";
|
|
@@ -879,12 +1044,12 @@ declare const updateFolderContract: {
|
|
|
879
1044
|
readonly folder_id: z.ZodString;
|
|
880
1045
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
881
1046
|
readonly icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
882
|
-
file: "file";
|
|
883
1047
|
folder: "folder";
|
|
884
1048
|
"folder-open": "folder-open";
|
|
885
1049
|
briefcase: "briefcase";
|
|
886
1050
|
archive: "archive";
|
|
887
1051
|
box: "box";
|
|
1052
|
+
file: "file";
|
|
888
1053
|
book: "book";
|
|
889
1054
|
bookmark: "bookmark";
|
|
890
1055
|
star: "star";
|
|
@@ -961,6 +1126,11 @@ declare const updateLinkContract: {
|
|
|
961
1126
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
962
1127
|
readonly expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
1128
|
readonly password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1129
|
+
readonly audience_type: z.ZodOptional<z.ZodEnum<{
|
|
1130
|
+
general: "general";
|
|
1131
|
+
group: "group";
|
|
1132
|
+
}>>;
|
|
1133
|
+
readonly group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
964
1134
|
readonly email_protected: z.ZodOptional<z.ZodBoolean>;
|
|
965
1135
|
readonly email_authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
966
1136
|
readonly allow_download: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -988,6 +1158,10 @@ declare const updateLinkContract: {
|
|
|
988
1158
|
}, z.core.$strip>>>;
|
|
989
1159
|
readonly enable_screenshot_protection: z.ZodOptional<z.ZodBoolean>;
|
|
990
1160
|
readonly enable_confidential_view: z.ZodOptional<z.ZodBoolean>;
|
|
1161
|
+
readonly enable_agreement: z.ZodOptional<z.ZodBoolean>;
|
|
1162
|
+
readonly agreement_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
|
+
readonly domain: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
readonly slug: z.ZodOptional<z.ZodString>;
|
|
991
1165
|
};
|
|
992
1166
|
};
|
|
993
1167
|
declare const deleteLinkContract: {
|
|
@@ -1076,12 +1250,12 @@ declare const createDataroomFolderContract: {
|
|
|
1076
1250
|
readonly name: z.ZodString;
|
|
1077
1251
|
readonly parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1078
1252
|
readonly icon: z.ZodOptional<z.ZodEnum<{
|
|
1079
|
-
file: "file";
|
|
1080
1253
|
folder: "folder";
|
|
1081
1254
|
"folder-open": "folder-open";
|
|
1082
1255
|
briefcase: "briefcase";
|
|
1083
1256
|
archive: "archive";
|
|
1084
1257
|
box: "box";
|
|
1258
|
+
file: "file";
|
|
1085
1259
|
book: "book";
|
|
1086
1260
|
bookmark: "bookmark";
|
|
1087
1261
|
star: "star";
|
|
@@ -1132,12 +1306,12 @@ declare const updateDataroomFolderContract: {
|
|
|
1132
1306
|
readonly folder_id: z.ZodString;
|
|
1133
1307
|
readonly name: z.ZodOptional<z.ZodString>;
|
|
1134
1308
|
readonly icon: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1135
|
-
file: "file";
|
|
1136
1309
|
folder: "folder";
|
|
1137
1310
|
"folder-open": "folder-open";
|
|
1138
1311
|
briefcase: "briefcase";
|
|
1139
1312
|
archive: "archive";
|
|
1140
1313
|
box: "box";
|
|
1314
|
+
file: "file";
|
|
1141
1315
|
book: "book";
|
|
1142
1316
|
bookmark: "bookmark";
|
|
1143
1317
|
star: "star";
|
|
@@ -1199,6 +1373,142 @@ declare const moveDataroomFolderContract: {
|
|
|
1199
1373
|
readonly parent_id: z.ZodNullable<z.ZodString>;
|
|
1200
1374
|
};
|
|
1201
1375
|
};
|
|
1376
|
+
declare const listDataroomGroupsContract: {
|
|
1377
|
+
readonly name: "list_dataroom_groups";
|
|
1378
|
+
readonly title: "List dataroom groups";
|
|
1379
|
+
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`.";
|
|
1380
|
+
readonly inputSchema: {
|
|
1381
|
+
readonly dataroom_id: z.ZodString;
|
|
1382
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1383
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
declare const getDataroomGroupContract: {
|
|
1387
|
+
readonly name: "get_dataroom_group";
|
|
1388
|
+
readonly title: "Get a dataroom group";
|
|
1389
|
+
readonly description: "Fetch a single dataroom group with its domain rules, allow-all flag, and member/link counts. Requires scope `datarooms.read`.";
|
|
1390
|
+
readonly inputSchema: {
|
|
1391
|
+
readonly dataroom_id: z.ZodString;
|
|
1392
|
+
readonly group_id: z.ZodString;
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
declare const createDataroomGroupContract: {
|
|
1396
|
+
readonly name: "create_dataroom_group";
|
|
1397
|
+
readonly title: "Create a dataroom group";
|
|
1398
|
+
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`.";
|
|
1399
|
+
readonly inputSchema: {
|
|
1400
|
+
readonly dataroom_id: z.ZodString;
|
|
1401
|
+
readonly name: z.ZodString;
|
|
1402
|
+
readonly allow_all: z.ZodOptional<z.ZodBoolean>;
|
|
1403
|
+
readonly domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1406
|
+
declare const updateDataroomGroupContract: {
|
|
1407
|
+
readonly name: "update_dataroom_group";
|
|
1408
|
+
readonly title: "Update a dataroom group";
|
|
1409
|
+
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`.";
|
|
1410
|
+
readonly inputSchema: {
|
|
1411
|
+
readonly dataroom_id: z.ZodString;
|
|
1412
|
+
readonly group_id: z.ZodString;
|
|
1413
|
+
readonly name: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
readonly allow_all: z.ZodOptional<z.ZodBoolean>;
|
|
1415
|
+
readonly domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
declare const deleteDataroomGroupContract: {
|
|
1419
|
+
readonly name: "delete_dataroom_group";
|
|
1420
|
+
readonly title: "Delete a dataroom group";
|
|
1421
|
+
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`.";
|
|
1422
|
+
readonly inputSchema: {
|
|
1423
|
+
readonly dataroom_id: z.ZodString;
|
|
1424
|
+
readonly group_id: z.ZodString;
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
declare const listDataroomGroupMembersContract: {
|
|
1428
|
+
readonly name: "list_dataroom_group_members";
|
|
1429
|
+
readonly title: "List dataroom group members";
|
|
1430
|
+
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`.";
|
|
1431
|
+
readonly inputSchema: {
|
|
1432
|
+
readonly dataroom_id: z.ZodString;
|
|
1433
|
+
readonly group_id: z.ZodString;
|
|
1434
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1435
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
declare const addDataroomGroupMembersContract: {
|
|
1439
|
+
readonly name: "add_dataroom_group_members";
|
|
1440
|
+
readonly title: "Add dataroom group members";
|
|
1441
|
+
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`.";
|
|
1442
|
+
readonly inputSchema: {
|
|
1443
|
+
readonly dataroom_id: z.ZodString;
|
|
1444
|
+
readonly group_id: z.ZodString;
|
|
1445
|
+
readonly emails: z.ZodArray<z.ZodString>;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
declare const removeDataroomGroupMemberContract: {
|
|
1449
|
+
readonly name: "remove_dataroom_group_member";
|
|
1450
|
+
readonly title: "Remove a dataroom group member";
|
|
1451
|
+
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`.";
|
|
1452
|
+
readonly inputSchema: {
|
|
1453
|
+
readonly dataroom_id: z.ZodString;
|
|
1454
|
+
readonly group_id: z.ZodString;
|
|
1455
|
+
readonly member_id: z.ZodString;
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
declare const getDataroomGroupPermissionsContract: {
|
|
1459
|
+
readonly name: "get_dataroom_group_permissions";
|
|
1460
|
+
readonly title: "Get dataroom group permissions";
|
|
1461
|
+
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`.";
|
|
1462
|
+
readonly inputSchema: {
|
|
1463
|
+
readonly dataroom_id: z.ZodString;
|
|
1464
|
+
readonly group_id: z.ZodString;
|
|
1465
|
+
readonly limit: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
readonly cursor: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
declare const setDataroomGroupPermissionsContract: {
|
|
1470
|
+
readonly name: "set_dataroom_group_permissions";
|
|
1471
|
+
readonly title: "Set dataroom group permissions";
|
|
1472
|
+
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`.";
|
|
1473
|
+
readonly inputSchema: {
|
|
1474
|
+
readonly dataroom_id: z.ZodString;
|
|
1475
|
+
readonly group_id: z.ZodString;
|
|
1476
|
+
readonly permissions: z.ZodArray<z.ZodObject<{
|
|
1477
|
+
item_id: z.ZodString;
|
|
1478
|
+
item_type: z.ZodEnum<{
|
|
1479
|
+
dataroom_folder: "dataroom_folder";
|
|
1480
|
+
dataroom_document: "dataroom_document";
|
|
1481
|
+
}>;
|
|
1482
|
+
can_view: z.ZodBoolean;
|
|
1483
|
+
can_download: z.ZodBoolean;
|
|
1484
|
+
}, z.core.$strip>>;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
declare const getLinkPermissionsContract: {
|
|
1488
|
+
readonly name: "get_link_permissions";
|
|
1489
|
+
readonly title: "Get link permissions";
|
|
1490
|
+
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`.";
|
|
1491
|
+
readonly inputSchema: {
|
|
1492
|
+
readonly link_id: z.ZodString;
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
declare const setLinkPermissionsContract: {
|
|
1496
|
+
readonly name: "set_link_permissions";
|
|
1497
|
+
readonly title: "Set link permissions";
|
|
1498
|
+
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`.";
|
|
1499
|
+
readonly inputSchema: {
|
|
1500
|
+
readonly link_id: z.ZodString;
|
|
1501
|
+
readonly permissions: z.ZodArray<z.ZodObject<{
|
|
1502
|
+
item_id: z.ZodString;
|
|
1503
|
+
item_type: z.ZodEnum<{
|
|
1504
|
+
dataroom_folder: "dataroom_folder";
|
|
1505
|
+
dataroom_document: "dataroom_document";
|
|
1506
|
+
}>;
|
|
1507
|
+
can_view: z.ZodBoolean;
|
|
1508
|
+
can_download: z.ZodBoolean;
|
|
1509
|
+
}, z.core.$strip>>;
|
|
1510
|
+
};
|
|
1511
|
+
};
|
|
1202
1512
|
declare const getVisitorContract: {
|
|
1203
1513
|
readonly name: "get_visitor";
|
|
1204
1514
|
readonly title: "Get a visitor";
|
|
@@ -1259,6 +1569,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1259
1569
|
document: "document";
|
|
1260
1570
|
dataroom: "dataroom";
|
|
1261
1571
|
}>;
|
|
1572
|
+
audience_type: z.ZodEnum<{
|
|
1573
|
+
general: "general";
|
|
1574
|
+
group: "group";
|
|
1575
|
+
team: "team";
|
|
1576
|
+
}>;
|
|
1577
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1262
1578
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1263
1579
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1264
1580
|
url: z.ZodString;
|
|
@@ -1307,6 +1623,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1307
1623
|
document: "document";
|
|
1308
1624
|
dataroom: "dataroom";
|
|
1309
1625
|
}>;
|
|
1626
|
+
audience_type: z.ZodEnum<{
|
|
1627
|
+
general: "general";
|
|
1628
|
+
group: "group";
|
|
1629
|
+
team: "team";
|
|
1630
|
+
}>;
|
|
1631
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1310
1632
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1311
1633
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1312
1634
|
url: z.ZodString;
|
|
@@ -1544,10 +1866,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1544
1866
|
id: z.ZodString;
|
|
1545
1867
|
object: z.ZodEnum<{
|
|
1546
1868
|
document: "document";
|
|
1547
|
-
link: "link";
|
|
1548
|
-
dataroom: "dataroom";
|
|
1549
1869
|
folder: "folder";
|
|
1550
1870
|
dataroom_folder: "dataroom_folder";
|
|
1871
|
+
link: "link";
|
|
1872
|
+
dataroom: "dataroom";
|
|
1873
|
+
dataroom_group: "dataroom_group";
|
|
1874
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1551
1875
|
dataroom_document: "dataroom_document";
|
|
1552
1876
|
}>;
|
|
1553
1877
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1685,10 +2009,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1685
2009
|
id: z.ZodString;
|
|
1686
2010
|
object: z.ZodEnum<{
|
|
1687
2011
|
document: "document";
|
|
1688
|
-
link: "link";
|
|
1689
|
-
dataroom: "dataroom";
|
|
1690
2012
|
folder: "folder";
|
|
1691
2013
|
dataroom_folder: "dataroom_folder";
|
|
2014
|
+
link: "link";
|
|
2015
|
+
dataroom: "dataroom";
|
|
2016
|
+
dataroom_group: "dataroom_group";
|
|
2017
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1692
2018
|
dataroom_document: "dataroom_document";
|
|
1693
2019
|
}>;
|
|
1694
2020
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1721,6 +2047,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1721
2047
|
document: "document";
|
|
1722
2048
|
dataroom: "dataroom";
|
|
1723
2049
|
}>;
|
|
2050
|
+
audience_type: z.ZodEnum<{
|
|
2051
|
+
general: "general";
|
|
2052
|
+
group: "group";
|
|
2053
|
+
team: "team";
|
|
2054
|
+
}>;
|
|
2055
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1724
2056
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1725
2057
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1726
2058
|
url: z.ZodString;
|
|
@@ -1769,6 +2101,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1769
2101
|
document: "document";
|
|
1770
2102
|
dataroom: "dataroom";
|
|
1771
2103
|
}>;
|
|
2104
|
+
audience_type: z.ZodEnum<{
|
|
2105
|
+
general: "general";
|
|
2106
|
+
group: "group";
|
|
2107
|
+
team: "team";
|
|
2108
|
+
}>;
|
|
2109
|
+
group_id: z.ZodNullable<z.ZodString>;
|
|
1772
2110
|
document_id: z.ZodNullable<z.ZodString>;
|
|
1773
2111
|
dataroom_id: z.ZodNullable<z.ZodString>;
|
|
1774
2112
|
url: z.ZodString;
|
|
@@ -1812,10 +2150,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1812
2150
|
id: z.ZodString;
|
|
1813
2151
|
object: z.ZodEnum<{
|
|
1814
2152
|
document: "document";
|
|
1815
|
-
link: "link";
|
|
1816
|
-
dataroom: "dataroom";
|
|
1817
2153
|
folder: "folder";
|
|
1818
2154
|
dataroom_folder: "dataroom_folder";
|
|
2155
|
+
link: "link";
|
|
2156
|
+
dataroom: "dataroom";
|
|
2157
|
+
dataroom_group: "dataroom_group";
|
|
2158
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1819
2159
|
dataroom_document: "dataroom_document";
|
|
1820
2160
|
}>;
|
|
1821
2161
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1842,10 +2182,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1842
2182
|
id: z.ZodString;
|
|
1843
2183
|
object: z.ZodEnum<{
|
|
1844
2184
|
document: "document";
|
|
1845
|
-
link: "link";
|
|
1846
|
-
dataroom: "dataroom";
|
|
1847
2185
|
folder: "folder";
|
|
1848
2186
|
dataroom_folder: "dataroom_folder";
|
|
2187
|
+
link: "link";
|
|
2188
|
+
dataroom: "dataroom";
|
|
2189
|
+
dataroom_group: "dataroom_group";
|
|
2190
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1849
2191
|
dataroom_document: "dataroom_document";
|
|
1850
2192
|
}>;
|
|
1851
2193
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1868,10 +2210,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1868
2210
|
id: z.ZodString;
|
|
1869
2211
|
object: z.ZodEnum<{
|
|
1870
2212
|
document: "document";
|
|
1871
|
-
link: "link";
|
|
1872
|
-
dataroom: "dataroom";
|
|
1873
2213
|
folder: "folder";
|
|
1874
2214
|
dataroom_folder: "dataroom_folder";
|
|
2215
|
+
link: "link";
|
|
2216
|
+
dataroom: "dataroom";
|
|
2217
|
+
dataroom_group: "dataroom_group";
|
|
2218
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1875
2219
|
dataroom_document: "dataroom_document";
|
|
1876
2220
|
}>;
|
|
1877
2221
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1969,10 +2313,12 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1969
2313
|
id: z.ZodString;
|
|
1970
2314
|
object: z.ZodEnum<{
|
|
1971
2315
|
document: "document";
|
|
1972
|
-
link: "link";
|
|
1973
|
-
dataroom: "dataroom";
|
|
1974
2316
|
folder: "folder";
|
|
1975
2317
|
dataroom_folder: "dataroom_folder";
|
|
2318
|
+
link: "link";
|
|
2319
|
+
dataroom: "dataroom";
|
|
2320
|
+
dataroom_group: "dataroom_group";
|
|
2321
|
+
dataroom_group_member: "dataroom_group_member";
|
|
1976
2322
|
dataroom_document: "dataroom_document";
|
|
1977
2323
|
}>;
|
|
1978
2324
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1996,6 +2342,164 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
1996
2342
|
updated_at: z.ZodString;
|
|
1997
2343
|
}, z.core.$loose>;
|
|
1998
2344
|
}, z.core.$strip>;
|
|
2345
|
+
readonly list_dataroom_groups: z.ZodObject<{
|
|
2346
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
2347
|
+
id: z.ZodString;
|
|
2348
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2349
|
+
name: z.ZodString;
|
|
2350
|
+
allow_all: z.ZodBoolean;
|
|
2351
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2352
|
+
member_count: z.ZodNumber;
|
|
2353
|
+
link_count: z.ZodNumber;
|
|
2354
|
+
dataroom_id: z.ZodString;
|
|
2355
|
+
created: z.ZodString;
|
|
2356
|
+
updated_at: z.ZodString;
|
|
2357
|
+
}, z.core.$loose>>;
|
|
2358
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2359
|
+
}, z.core.$strip>;
|
|
2360
|
+
readonly get_dataroom_group: z.ZodObject<{
|
|
2361
|
+
id: z.ZodString;
|
|
2362
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2363
|
+
name: z.ZodString;
|
|
2364
|
+
allow_all: z.ZodBoolean;
|
|
2365
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2366
|
+
member_count: z.ZodNumber;
|
|
2367
|
+
link_count: z.ZodNumber;
|
|
2368
|
+
dataroom_id: z.ZodString;
|
|
2369
|
+
created: z.ZodString;
|
|
2370
|
+
updated_at: z.ZodString;
|
|
2371
|
+
}, z.core.$loose>;
|
|
2372
|
+
readonly create_dataroom_group: z.ZodObject<{
|
|
2373
|
+
group: z.ZodObject<{
|
|
2374
|
+
id: z.ZodString;
|
|
2375
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2376
|
+
name: z.ZodString;
|
|
2377
|
+
allow_all: z.ZodBoolean;
|
|
2378
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2379
|
+
member_count: z.ZodNumber;
|
|
2380
|
+
link_count: z.ZodNumber;
|
|
2381
|
+
dataroom_id: z.ZodString;
|
|
2382
|
+
created: z.ZodString;
|
|
2383
|
+
updated_at: z.ZodString;
|
|
2384
|
+
}, z.core.$loose>;
|
|
2385
|
+
}, z.core.$strip>;
|
|
2386
|
+
readonly update_dataroom_group: z.ZodObject<{
|
|
2387
|
+
group: z.ZodObject<{
|
|
2388
|
+
id: z.ZodString;
|
|
2389
|
+
object: z.ZodLiteral<"dataroom_group">;
|
|
2390
|
+
name: z.ZodString;
|
|
2391
|
+
allow_all: z.ZodBoolean;
|
|
2392
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2393
|
+
member_count: z.ZodNumber;
|
|
2394
|
+
link_count: z.ZodNumber;
|
|
2395
|
+
dataroom_id: z.ZodString;
|
|
2396
|
+
created: z.ZodString;
|
|
2397
|
+
updated_at: z.ZodString;
|
|
2398
|
+
}, z.core.$loose>;
|
|
2399
|
+
}, z.core.$strip>;
|
|
2400
|
+
readonly delete_dataroom_group: z.ZodObject<{
|
|
2401
|
+
id: z.ZodString;
|
|
2402
|
+
object: z.ZodEnum<{
|
|
2403
|
+
document: "document";
|
|
2404
|
+
folder: "folder";
|
|
2405
|
+
dataroom_folder: "dataroom_folder";
|
|
2406
|
+
link: "link";
|
|
2407
|
+
dataroom: "dataroom";
|
|
2408
|
+
dataroom_group: "dataroom_group";
|
|
2409
|
+
dataroom_group_member: "dataroom_group_member";
|
|
2410
|
+
dataroom_document: "dataroom_document";
|
|
2411
|
+
}>;
|
|
2412
|
+
deleted: z.ZodLiteral<true>;
|
|
2413
|
+
}, z.core.$strip>;
|
|
2414
|
+
readonly list_dataroom_group_members: z.ZodObject<{
|
|
2415
|
+
members: z.ZodArray<z.ZodObject<{
|
|
2416
|
+
id: z.ZodString;
|
|
2417
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
2418
|
+
email: z.ZodString;
|
|
2419
|
+
viewer_id: z.ZodString;
|
|
2420
|
+
created: z.ZodString;
|
|
2421
|
+
}, z.core.$loose>>;
|
|
2422
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2423
|
+
}, z.core.$strip>;
|
|
2424
|
+
readonly add_dataroom_group_members: z.ZodObject<{
|
|
2425
|
+
members: z.ZodArray<z.ZodObject<{
|
|
2426
|
+
id: z.ZodString;
|
|
2427
|
+
object: z.ZodLiteral<"dataroom_group_member">;
|
|
2428
|
+
email: z.ZodString;
|
|
2429
|
+
viewer_id: z.ZodString;
|
|
2430
|
+
created: z.ZodString;
|
|
2431
|
+
}, z.core.$loose>>;
|
|
2432
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2433
|
+
}, z.core.$strip>;
|
|
2434
|
+
readonly remove_dataroom_group_member: z.ZodObject<{
|
|
2435
|
+
id: z.ZodString;
|
|
2436
|
+
object: z.ZodEnum<{
|
|
2437
|
+
document: "document";
|
|
2438
|
+
folder: "folder";
|
|
2439
|
+
dataroom_folder: "dataroom_folder";
|
|
2440
|
+
link: "link";
|
|
2441
|
+
dataroom: "dataroom";
|
|
2442
|
+
dataroom_group: "dataroom_group";
|
|
2443
|
+
dataroom_group_member: "dataroom_group_member";
|
|
2444
|
+
dataroom_document: "dataroom_document";
|
|
2445
|
+
}>;
|
|
2446
|
+
deleted: z.ZodLiteral<true>;
|
|
2447
|
+
}, z.core.$strip>;
|
|
2448
|
+
readonly get_dataroom_group_permissions: z.ZodObject<{
|
|
2449
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2450
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
2451
|
+
item_id: z.ZodString;
|
|
2452
|
+
item_type: z.ZodEnum<{
|
|
2453
|
+
dataroom_folder: "dataroom_folder";
|
|
2454
|
+
dataroom_document: "dataroom_document";
|
|
2455
|
+
}>;
|
|
2456
|
+
can_view: z.ZodBoolean;
|
|
2457
|
+
can_download: z.ZodBoolean;
|
|
2458
|
+
updated_at: z.ZodString;
|
|
2459
|
+
}, z.core.$loose>>;
|
|
2460
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
2461
|
+
}, z.core.$strip>;
|
|
2462
|
+
readonly set_dataroom_group_permissions: z.ZodObject<{
|
|
2463
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2464
|
+
object: z.ZodLiteral<"dataroom_group_permission">;
|
|
2465
|
+
item_id: z.ZodString;
|
|
2466
|
+
item_type: z.ZodEnum<{
|
|
2467
|
+
dataroom_folder: "dataroom_folder";
|
|
2468
|
+
dataroom_document: "dataroom_document";
|
|
2469
|
+
}>;
|
|
2470
|
+
can_view: z.ZodBoolean;
|
|
2471
|
+
can_download: z.ZodBoolean;
|
|
2472
|
+
updated_at: z.ZodString;
|
|
2473
|
+
}, z.core.$loose>>;
|
|
2474
|
+
}, z.core.$strip>;
|
|
2475
|
+
readonly get_link_permissions: z.ZodObject<{
|
|
2476
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2477
|
+
object: z.ZodLiteral<"link_permission">;
|
|
2478
|
+
item_id: z.ZodString;
|
|
2479
|
+
item_type: z.ZodEnum<{
|
|
2480
|
+
dataroom_folder: "dataroom_folder";
|
|
2481
|
+
dataroom_document: "dataroom_document";
|
|
2482
|
+
}>;
|
|
2483
|
+
can_view: z.ZodBoolean;
|
|
2484
|
+
can_download: z.ZodBoolean;
|
|
2485
|
+
can_download_original: z.ZodBoolean;
|
|
2486
|
+
updated_at: z.ZodString;
|
|
2487
|
+
}, z.core.$loose>>;
|
|
2488
|
+
}, z.core.$strip>;
|
|
2489
|
+
readonly set_link_permissions: z.ZodObject<{
|
|
2490
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
2491
|
+
object: z.ZodLiteral<"link_permission">;
|
|
2492
|
+
item_id: z.ZodString;
|
|
2493
|
+
item_type: z.ZodEnum<{
|
|
2494
|
+
dataroom_folder: "dataroom_folder";
|
|
2495
|
+
dataroom_document: "dataroom_document";
|
|
2496
|
+
}>;
|
|
2497
|
+
can_view: z.ZodBoolean;
|
|
2498
|
+
can_download: z.ZodBoolean;
|
|
2499
|
+
can_download_original: z.ZodBoolean;
|
|
2500
|
+
updated_at: z.ZodString;
|
|
2501
|
+
}, z.core.$loose>>;
|
|
2502
|
+
}, z.core.$strip>;
|
|
1999
2503
|
readonly get_visitor: z.ZodObject<{
|
|
2000
2504
|
id: z.ZodString;
|
|
2001
2505
|
object: z.ZodLiteral<"visitor">;
|
|
@@ -2010,4 +2514,4 @@ declare const SHARED_TOOL_OUTPUT_SCHEMAS: {
|
|
|
2010
2514
|
}, z.core.$loose>;
|
|
2011
2515
|
};
|
|
2012
2516
|
|
|
2013
|
-
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 };
|
|
2517
|
+
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 };
|