@vm0/cli 9.92.1 → 9.93.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/{chunk-KXR4BFFL.js → chunk-UEVD4XR7.js} +496 -23
- package/chunk-UEVD4XR7.js.map +1 -0
- package/index.js +10 -10
- package/package.json +1 -1
- package/zero.js +140 -146
- package/zero.js.map +1 -1
- package/chunk-KXR4BFFL.js.map +0 -1
|
@@ -49,7 +49,7 @@ if (DSN) {
|
|
|
49
49
|
Sentry.init({
|
|
50
50
|
dsn: DSN,
|
|
51
51
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
52
|
-
release: "9.
|
|
52
|
+
release: "9.93.0",
|
|
53
53
|
sendDefaultPii: false,
|
|
54
54
|
tracesSampleRate: 0,
|
|
55
55
|
shutdownTimeout: 500,
|
|
@@ -68,7 +68,7 @@ if (DSN) {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("cli", {
|
|
71
|
-
version: "9.
|
|
71
|
+
version: "9.93.0",
|
|
72
72
|
command: process.argv.slice(2).join(" ")
|
|
73
73
|
});
|
|
74
74
|
Sentry.setContext("runtime", {
|
|
@@ -4047,7 +4047,6 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
4047
4047
|
label: "Base URL",
|
|
4048
4048
|
required: true,
|
|
4049
4049
|
placeholder: "https://mycompany.metabaseapp.com",
|
|
4050
|
-
helpText: "Your Metabase instance URL (e.g. 'https://mycompany.metabaseapp.com' for cloud or your self-hosted URL)",
|
|
4051
4050
|
type: "variable"
|
|
4052
4051
|
}
|
|
4053
4052
|
}
|
|
@@ -4430,7 +4429,6 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
4430
4429
|
label: "Instance",
|
|
4431
4430
|
required: true,
|
|
4432
4431
|
placeholder: "mycompany",
|
|
4433
|
-
helpText: "Your Salesforce instance name (e.g. 'mycompany' from mycompany.my.salesforce.com)",
|
|
4434
4432
|
type: "variable"
|
|
4435
4433
|
}
|
|
4436
4434
|
}
|
|
@@ -5286,14 +5284,12 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
5286
5284
|
label: "Email",
|
|
5287
5285
|
required: true,
|
|
5288
5286
|
placeholder: "you@example.com",
|
|
5289
|
-
helpText: "The email address associated with your Atlassian account",
|
|
5290
5287
|
type: "variable"
|
|
5291
5288
|
},
|
|
5292
5289
|
ATLASSIAN_DOMAIN: {
|
|
5293
5290
|
label: "Domain",
|
|
5294
5291
|
required: true,
|
|
5295
5292
|
placeholder: "mycompany",
|
|
5296
|
-
helpText: "Your Atlassian domain (e.g. 'mycompany' from mycompany.atlassian.net)",
|
|
5297
5293
|
type: "variable"
|
|
5298
5294
|
}
|
|
5299
5295
|
}
|
|
@@ -5941,7 +5937,6 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
5941
5937
|
label: "Cluster URL",
|
|
5942
5938
|
required: true,
|
|
5943
5939
|
placeholder: "https://your-cluster.region.cloud.qdrant.io:6333",
|
|
5944
|
-
helpText: "Your Qdrant cluster URL (e.g. 'https://abc123.us-east4-0.gcp.cloud.qdrant.io:6333')",
|
|
5945
5940
|
type: "variable"
|
|
5946
5941
|
}
|
|
5947
5942
|
}
|
|
@@ -6212,14 +6207,12 @@ var CONNECTOR_TYPES_DEF = {
|
|
|
6212
6207
|
label: "Email",
|
|
6213
6208
|
required: true,
|
|
6214
6209
|
placeholder: "your-email@company.com",
|
|
6215
|
-
helpText: "The email address associated with your Zendesk account",
|
|
6216
6210
|
type: "variable"
|
|
6217
6211
|
},
|
|
6218
6212
|
ZENDESK_SUBDOMAIN: {
|
|
6219
6213
|
label: "Subdomain",
|
|
6220
6214
|
required: true,
|
|
6221
6215
|
placeholder: "yourcompany",
|
|
6222
|
-
helpText: "Your Zendesk subdomain (e.g. 'yourcompany' from yourcompany.zendesk.com)",
|
|
6223
6216
|
type: "variable"
|
|
6224
6217
|
}
|
|
6225
6218
|
}
|
|
@@ -9454,7 +9447,387 @@ var dropboxFirewall = {
|
|
|
9454
9447
|
Authorization: "Bearer ${{ secrets.DROPBOX_TOKEN }}"
|
|
9455
9448
|
}
|
|
9456
9449
|
},
|
|
9457
|
-
permissions: [
|
|
9450
|
+
permissions: [
|
|
9451
|
+
{
|
|
9452
|
+
name: "account_info.read",
|
|
9453
|
+
rules: [
|
|
9454
|
+
"POST /2/check/user",
|
|
9455
|
+
"POST /2/users/features/get_values",
|
|
9456
|
+
"POST /2/users/get_current_account",
|
|
9457
|
+
"POST /2/users/get_space_usage"
|
|
9458
|
+
]
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
name: "account_info.write",
|
|
9462
|
+
rules: ["POST /2/account/set_profile_photo"]
|
|
9463
|
+
},
|
|
9464
|
+
{
|
|
9465
|
+
name: "contacts.write",
|
|
9466
|
+
rules: [
|
|
9467
|
+
"POST /2/contacts/delete_manual_contacts",
|
|
9468
|
+
"POST /2/contacts/delete_manual_contacts_batch"
|
|
9469
|
+
]
|
|
9470
|
+
},
|
|
9471
|
+
{
|
|
9472
|
+
name: "events.read",
|
|
9473
|
+
rules: [
|
|
9474
|
+
"POST /2/team_log/get_events",
|
|
9475
|
+
"POST /2/team_log/get_events/continue"
|
|
9476
|
+
]
|
|
9477
|
+
},
|
|
9478
|
+
{
|
|
9479
|
+
name: "file_requests.read",
|
|
9480
|
+
rules: [
|
|
9481
|
+
"POST /2/file_requests/count",
|
|
9482
|
+
"POST /2/file_requests/get",
|
|
9483
|
+
"POST /2/file_requests/list",
|
|
9484
|
+
"POST /2/file_requests/list/continue",
|
|
9485
|
+
"POST /2/file_requests/list:2"
|
|
9486
|
+
]
|
|
9487
|
+
},
|
|
9488
|
+
{
|
|
9489
|
+
name: "file_requests.write",
|
|
9490
|
+
rules: [
|
|
9491
|
+
"POST /2/file_requests/create",
|
|
9492
|
+
"POST /2/file_requests/delete",
|
|
9493
|
+
"POST /2/file_requests/delete_all_closed",
|
|
9494
|
+
"POST /2/file_requests/update"
|
|
9495
|
+
]
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
name: "files.content.read",
|
|
9499
|
+
rules: [
|
|
9500
|
+
"POST /2/files/get_file_lock_batch",
|
|
9501
|
+
"POST /2/files/get_temporary_link",
|
|
9502
|
+
"POST /2/paper/docs/download"
|
|
9503
|
+
]
|
|
9504
|
+
},
|
|
9505
|
+
{
|
|
9506
|
+
name: "files.content.write",
|
|
9507
|
+
rules: [
|
|
9508
|
+
"POST /2/files/copy",
|
|
9509
|
+
"POST /2/files/copy:2",
|
|
9510
|
+
"POST /2/files/copy_batch",
|
|
9511
|
+
"POST /2/files/copy_batch/check",
|
|
9512
|
+
"POST /2/files/copy_batch/check:2",
|
|
9513
|
+
"POST /2/files/copy_batch:2",
|
|
9514
|
+
"POST /2/files/copy_reference/get",
|
|
9515
|
+
"POST /2/files/copy_reference/save",
|
|
9516
|
+
"POST /2/files/create_folder",
|
|
9517
|
+
"POST /2/files/create_folder:2",
|
|
9518
|
+
"POST /2/files/create_folder_batch",
|
|
9519
|
+
"POST /2/files/create_folder_batch/check",
|
|
9520
|
+
"POST /2/files/delete",
|
|
9521
|
+
"POST /2/files/delete:2",
|
|
9522
|
+
"POST /2/files/delete_batch",
|
|
9523
|
+
"POST /2/files/delete_batch/check",
|
|
9524
|
+
"POST /2/files/get_temporary_upload_link",
|
|
9525
|
+
"POST /2/files/lock_file_batch",
|
|
9526
|
+
"POST /2/files/move",
|
|
9527
|
+
"POST /2/files/move:2",
|
|
9528
|
+
"POST /2/files/move_batch",
|
|
9529
|
+
"POST /2/files/move_batch/check",
|
|
9530
|
+
"POST /2/files/move_batch/check:2",
|
|
9531
|
+
"POST /2/files/move_batch:2",
|
|
9532
|
+
"POST /2/files/paper/create",
|
|
9533
|
+
"POST /2/files/paper/update",
|
|
9534
|
+
"POST /2/files/restore",
|
|
9535
|
+
"POST /2/files/save_url",
|
|
9536
|
+
"POST /2/files/save_url/check_job_status",
|
|
9537
|
+
"POST /2/files/unlock_file_batch",
|
|
9538
|
+
"POST /2/files/upload_session/finish_batch",
|
|
9539
|
+
"POST /2/files/upload_session/finish_batch/check",
|
|
9540
|
+
"POST /2/files/upload_session/finish_batch:2",
|
|
9541
|
+
"POST /2/files/upload_session/start_batch",
|
|
9542
|
+
"POST /2/paper/docs/archive",
|
|
9543
|
+
"POST /2/paper/docs/create",
|
|
9544
|
+
"POST /2/paper/docs/update",
|
|
9545
|
+
"POST /2/paper/folders/create"
|
|
9546
|
+
]
|
|
9547
|
+
},
|
|
9548
|
+
{
|
|
9549
|
+
name: "files.metadata.read",
|
|
9550
|
+
rules: [
|
|
9551
|
+
"POST /2/file_properties/properties/search",
|
|
9552
|
+
"POST /2/file_properties/properties/search/continue",
|
|
9553
|
+
"POST /2/file_properties/templates/get_for_user",
|
|
9554
|
+
"POST /2/file_properties/templates/list_for_user",
|
|
9555
|
+
"POST /2/files/alpha/get_metadata",
|
|
9556
|
+
"POST /2/files/get_metadata",
|
|
9557
|
+
"POST /2/files/list_folder",
|
|
9558
|
+
"POST /2/files/list_folder/continue",
|
|
9559
|
+
"POST /2/files/list_folder/get_latest_cursor",
|
|
9560
|
+
"POST /2/files/list_revisions",
|
|
9561
|
+
"POST /2/files/properties/template/get",
|
|
9562
|
+
"POST /2/files/properties/template/list",
|
|
9563
|
+
"POST /2/files/search",
|
|
9564
|
+
"POST /2/files/search/continue:2",
|
|
9565
|
+
"POST /2/files/search:2",
|
|
9566
|
+
"POST /2/files/tags/get",
|
|
9567
|
+
"POST /2/paper/docs/list",
|
|
9568
|
+
"POST /2/paper/docs/list/continue"
|
|
9569
|
+
]
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
name: "files.metadata.write",
|
|
9573
|
+
rules: [
|
|
9574
|
+
"POST /2/file_properties/properties/add",
|
|
9575
|
+
"POST /2/file_properties/properties/overwrite",
|
|
9576
|
+
"POST /2/file_properties/properties/remove",
|
|
9577
|
+
"POST /2/file_properties/properties/update",
|
|
9578
|
+
"POST /2/file_properties/templates/add_for_user",
|
|
9579
|
+
"POST /2/file_properties/templates/remove_for_user",
|
|
9580
|
+
"POST /2/file_properties/templates/update_for_user",
|
|
9581
|
+
"POST /2/files/properties/add",
|
|
9582
|
+
"POST /2/files/properties/overwrite",
|
|
9583
|
+
"POST /2/files/properties/remove",
|
|
9584
|
+
"POST /2/files/properties/update",
|
|
9585
|
+
"POST /2/files/tags/add",
|
|
9586
|
+
"POST /2/files/tags/remove"
|
|
9587
|
+
]
|
|
9588
|
+
},
|
|
9589
|
+
{
|
|
9590
|
+
name: "files.permanent_delete",
|
|
9591
|
+
rules: [
|
|
9592
|
+
"POST /2/files/permanently_delete",
|
|
9593
|
+
"POST /2/paper/docs/permanently_delete"
|
|
9594
|
+
]
|
|
9595
|
+
},
|
|
9596
|
+
{
|
|
9597
|
+
name: "files.team_metadata.write",
|
|
9598
|
+
rules: [
|
|
9599
|
+
"POST /2/file_properties/templates/add_for_team",
|
|
9600
|
+
"POST /2/file_properties/templates/get_for_team",
|
|
9601
|
+
"POST /2/file_properties/templates/list_for_team",
|
|
9602
|
+
"POST /2/file_properties/templates/remove_for_team",
|
|
9603
|
+
"POST /2/file_properties/templates/update_for_team",
|
|
9604
|
+
"POST /2/team/properties/template/add",
|
|
9605
|
+
"POST /2/team/properties/template/get",
|
|
9606
|
+
"POST /2/team/properties/template/list",
|
|
9607
|
+
"POST /2/team/properties/template/update"
|
|
9608
|
+
]
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
name: "groups.read",
|
|
9612
|
+
rules: [
|
|
9613
|
+
"POST /2/team/groups/get_info",
|
|
9614
|
+
"POST /2/team/groups/list",
|
|
9615
|
+
"POST /2/team/groups/list/continue",
|
|
9616
|
+
"POST /2/team/groups/members/list",
|
|
9617
|
+
"POST /2/team/groups/members/list/continue"
|
|
9618
|
+
]
|
|
9619
|
+
},
|
|
9620
|
+
{
|
|
9621
|
+
name: "groups.write",
|
|
9622
|
+
rules: [
|
|
9623
|
+
"POST /2/team/groups/create",
|
|
9624
|
+
"POST /2/team/groups/delete",
|
|
9625
|
+
"POST /2/team/groups/job_status/get",
|
|
9626
|
+
"POST /2/team/groups/members/add",
|
|
9627
|
+
"POST /2/team/groups/members/remove",
|
|
9628
|
+
"POST /2/team/groups/members/set_access_type",
|
|
9629
|
+
"POST /2/team/groups/update"
|
|
9630
|
+
]
|
|
9631
|
+
},
|
|
9632
|
+
{
|
|
9633
|
+
name: "members.delete",
|
|
9634
|
+
rules: [
|
|
9635
|
+
"POST /2/team/members/recover",
|
|
9636
|
+
"POST /2/team/members/remove",
|
|
9637
|
+
"POST /2/team/members/remove/job_status/get"
|
|
9638
|
+
]
|
|
9639
|
+
},
|
|
9640
|
+
{
|
|
9641
|
+
name: "members.read",
|
|
9642
|
+
rules: [
|
|
9643
|
+
"POST /2/team/member_space_limits/excluded_users/list",
|
|
9644
|
+
"POST /2/team/member_space_limits/excluded_users/list/continue",
|
|
9645
|
+
"POST /2/team/member_space_limits/get_custom_quota",
|
|
9646
|
+
"POST /2/team/member_space_limits/set_custom_quota",
|
|
9647
|
+
"POST /2/team/members/get_available_team_member_roles",
|
|
9648
|
+
"POST /2/team/members/get_info",
|
|
9649
|
+
"POST /2/team/members/get_info:2",
|
|
9650
|
+
"POST /2/team/members/list",
|
|
9651
|
+
"POST /2/team/members/list/continue",
|
|
9652
|
+
"POST /2/team/members/list/continue:2",
|
|
9653
|
+
"POST /2/team/members/list:2"
|
|
9654
|
+
]
|
|
9655
|
+
},
|
|
9656
|
+
{
|
|
9657
|
+
name: "members.write",
|
|
9658
|
+
rules: [
|
|
9659
|
+
"POST /2/team/member_space_limits/excluded_users/add",
|
|
9660
|
+
"POST /2/team/member_space_limits/excluded_users/remove",
|
|
9661
|
+
"POST /2/team/member_space_limits/remove_custom_quota",
|
|
9662
|
+
"POST /2/team/members/add",
|
|
9663
|
+
"POST /2/team/members/add/job_status/get",
|
|
9664
|
+
"POST /2/team/members/add/job_status/get:2",
|
|
9665
|
+
"POST /2/team/members/add:2",
|
|
9666
|
+
"POST /2/team/members/delete_profile_photo",
|
|
9667
|
+
"POST /2/team/members/delete_profile_photo:2",
|
|
9668
|
+
"POST /2/team/members/move_former_member_files",
|
|
9669
|
+
"POST /2/team/members/move_former_member_files/job_status/check",
|
|
9670
|
+
"POST /2/team/members/secondary_emails/add",
|
|
9671
|
+
"POST /2/team/members/secondary_emails/delete",
|
|
9672
|
+
"POST /2/team/members/secondary_emails/resend_verification_emails",
|
|
9673
|
+
"POST /2/team/members/send_welcome_email",
|
|
9674
|
+
"POST /2/team/members/set_admin_permissions",
|
|
9675
|
+
"POST /2/team/members/set_admin_permissions:2",
|
|
9676
|
+
"POST /2/team/members/set_profile",
|
|
9677
|
+
"POST /2/team/members/set_profile:2",
|
|
9678
|
+
"POST /2/team/members/set_profile_photo",
|
|
9679
|
+
"POST /2/team/members/set_profile_photo:2",
|
|
9680
|
+
"POST /2/team/members/suspend",
|
|
9681
|
+
"POST /2/team/members/unsuspend"
|
|
9682
|
+
]
|
|
9683
|
+
},
|
|
9684
|
+
{
|
|
9685
|
+
name: "openid",
|
|
9686
|
+
rules: ["POST /2/openid/userinfo"]
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
name: "sessions.list",
|
|
9690
|
+
rules: [
|
|
9691
|
+
"POST /2/team/devices/list_member_devices",
|
|
9692
|
+
"POST /2/team/devices/list_members_devices",
|
|
9693
|
+
"POST /2/team/devices/list_team_devices",
|
|
9694
|
+
"POST /2/team/linked_apps/list_member_linked_apps",
|
|
9695
|
+
"POST /2/team/linked_apps/list_members_linked_apps",
|
|
9696
|
+
"POST /2/team/linked_apps/list_team_linked_apps"
|
|
9697
|
+
]
|
|
9698
|
+
},
|
|
9699
|
+
{
|
|
9700
|
+
name: "sessions.modify",
|
|
9701
|
+
rules: [
|
|
9702
|
+
"POST /2/team/devices/revoke_device_session",
|
|
9703
|
+
"POST /2/team/devices/revoke_device_session_batch",
|
|
9704
|
+
"POST /2/team/linked_apps/revoke_linked_app",
|
|
9705
|
+
"POST /2/team/linked_apps/revoke_linked_app_batch"
|
|
9706
|
+
]
|
|
9707
|
+
},
|
|
9708
|
+
{
|
|
9709
|
+
name: "sharing.read",
|
|
9710
|
+
rules: [
|
|
9711
|
+
"POST /2/paper/docs/folder_users/list",
|
|
9712
|
+
"POST /2/paper/docs/folder_users/list/continue",
|
|
9713
|
+
"POST /2/paper/docs/get_folder_info",
|
|
9714
|
+
"POST /2/paper/docs/sharing_policy/get",
|
|
9715
|
+
"POST /2/paper/docs/users/list",
|
|
9716
|
+
"POST /2/paper/docs/users/list/continue",
|
|
9717
|
+
"POST /2/sharing/get_file_metadata",
|
|
9718
|
+
"POST /2/sharing/get_file_metadata/batch",
|
|
9719
|
+
"POST /2/sharing/get_folder_metadata",
|
|
9720
|
+
"POST /2/sharing/get_shared_link_metadata",
|
|
9721
|
+
"POST /2/sharing/get_shared_links",
|
|
9722
|
+
"POST /2/sharing/list_file_members",
|
|
9723
|
+
"POST /2/sharing/list_file_members/batch",
|
|
9724
|
+
"POST /2/sharing/list_file_members/continue",
|
|
9725
|
+
"POST /2/sharing/list_folder_members",
|
|
9726
|
+
"POST /2/sharing/list_folder_members/continue",
|
|
9727
|
+
"POST /2/sharing/list_folders",
|
|
9728
|
+
"POST /2/sharing/list_folders/continue",
|
|
9729
|
+
"POST /2/sharing/list_mountable_folders",
|
|
9730
|
+
"POST /2/sharing/list_mountable_folders/continue",
|
|
9731
|
+
"POST /2/sharing/list_received_files",
|
|
9732
|
+
"POST /2/sharing/list_received_files/continue",
|
|
9733
|
+
"POST /2/sharing/list_shared_links",
|
|
9734
|
+
"POST /2/users/get_account",
|
|
9735
|
+
"POST /2/users/get_account_batch"
|
|
9736
|
+
]
|
|
9737
|
+
},
|
|
9738
|
+
{
|
|
9739
|
+
name: "sharing.write",
|
|
9740
|
+
rules: [
|
|
9741
|
+
"POST /2/paper/docs/sharing_policy/set",
|
|
9742
|
+
"POST /2/paper/docs/users/add",
|
|
9743
|
+
"POST /2/paper/docs/users/remove",
|
|
9744
|
+
"POST /2/sharing/add_file_member",
|
|
9745
|
+
"POST /2/sharing/add_folder_member",
|
|
9746
|
+
"POST /2/sharing/check_job_status",
|
|
9747
|
+
"POST /2/sharing/check_remove_member_job_status",
|
|
9748
|
+
"POST /2/sharing/check_share_job_status",
|
|
9749
|
+
"POST /2/sharing/create_shared_link",
|
|
9750
|
+
"POST /2/sharing/create_shared_link_with_settings",
|
|
9751
|
+
"POST /2/sharing/modify_shared_link_settings",
|
|
9752
|
+
"POST /2/sharing/mount_folder",
|
|
9753
|
+
"POST /2/sharing/relinquish_file_membership",
|
|
9754
|
+
"POST /2/sharing/relinquish_folder_membership",
|
|
9755
|
+
"POST /2/sharing/remove_file_member",
|
|
9756
|
+
"POST /2/sharing/remove_file_member_2",
|
|
9757
|
+
"POST /2/sharing/remove_folder_member",
|
|
9758
|
+
"POST /2/sharing/revoke_shared_link",
|
|
9759
|
+
"POST /2/sharing/set_access_inheritance",
|
|
9760
|
+
"POST /2/sharing/share_folder",
|
|
9761
|
+
"POST /2/sharing/transfer_folder",
|
|
9762
|
+
"POST /2/sharing/unmount_folder",
|
|
9763
|
+
"POST /2/sharing/unshare_file",
|
|
9764
|
+
"POST /2/sharing/unshare_folder",
|
|
9765
|
+
"POST /2/sharing/update_file_member",
|
|
9766
|
+
"POST /2/sharing/update_folder_member",
|
|
9767
|
+
"POST /2/sharing/update_folder_policy"
|
|
9768
|
+
]
|
|
9769
|
+
},
|
|
9770
|
+
{
|
|
9771
|
+
name: "team_data.content.read",
|
|
9772
|
+
rules: [
|
|
9773
|
+
"POST /2/team/team_folder/get_info",
|
|
9774
|
+
"POST /2/team/team_folder/list",
|
|
9775
|
+
"POST /2/team/team_folder/list/continue"
|
|
9776
|
+
]
|
|
9777
|
+
},
|
|
9778
|
+
{
|
|
9779
|
+
name: "team_data.content.write",
|
|
9780
|
+
rules: [
|
|
9781
|
+
"POST /2/team/team_folder/activate",
|
|
9782
|
+
"POST /2/team/team_folder/archive",
|
|
9783
|
+
"POST /2/team/team_folder/archive/check",
|
|
9784
|
+
"POST /2/team/team_folder/create",
|
|
9785
|
+
"POST /2/team/team_folder/permanently_delete",
|
|
9786
|
+
"POST /2/team/team_folder/rename",
|
|
9787
|
+
"POST /2/team/team_folder/update_sync_settings"
|
|
9788
|
+
]
|
|
9789
|
+
},
|
|
9790
|
+
{
|
|
9791
|
+
name: "team_data.governance.write",
|
|
9792
|
+
rules: [
|
|
9793
|
+
"POST /2/team/legal_holds/create_policy",
|
|
9794
|
+
"POST /2/team/legal_holds/get_policy",
|
|
9795
|
+
"POST /2/team/legal_holds/list_held_revisions",
|
|
9796
|
+
"POST /2/team/legal_holds/list_held_revisions_continue",
|
|
9797
|
+
"POST /2/team/legal_holds/list_policies",
|
|
9798
|
+
"POST /2/team/legal_holds/release_policy",
|
|
9799
|
+
"POST /2/team/legal_holds/update_policy"
|
|
9800
|
+
]
|
|
9801
|
+
},
|
|
9802
|
+
{
|
|
9803
|
+
name: "team_data.member",
|
|
9804
|
+
rules: [
|
|
9805
|
+
"POST /2/team/namespaces/list",
|
|
9806
|
+
"POST /2/team/namespaces/list/continue"
|
|
9807
|
+
]
|
|
9808
|
+
},
|
|
9809
|
+
{
|
|
9810
|
+
name: "team_info.read",
|
|
9811
|
+
rules: [
|
|
9812
|
+
"POST /2/team/features/get_values",
|
|
9813
|
+
"POST /2/team/get_info",
|
|
9814
|
+
"POST /2/team/reports/get_activity",
|
|
9815
|
+
"POST /2/team/reports/get_devices",
|
|
9816
|
+
"POST /2/team/reports/get_membership",
|
|
9817
|
+
"POST /2/team/reports/get_storage",
|
|
9818
|
+
"POST /2/team/sharing_allowlist/list",
|
|
9819
|
+
"POST /2/team/sharing_allowlist/list/continue",
|
|
9820
|
+
"POST /2/team/token/get_authenticated_admin"
|
|
9821
|
+
]
|
|
9822
|
+
},
|
|
9823
|
+
{
|
|
9824
|
+
name: "team_info.write",
|
|
9825
|
+
rules: [
|
|
9826
|
+
"POST /2/team/sharing_allowlist/add",
|
|
9827
|
+
"POST /2/team/sharing_allowlist/remove"
|
|
9828
|
+
]
|
|
9829
|
+
}
|
|
9830
|
+
]
|
|
9458
9831
|
},
|
|
9459
9832
|
{
|
|
9460
9833
|
base: "https://content.dropboxapi.com",
|
|
@@ -9463,7 +9836,35 @@ var dropboxFirewall = {
|
|
|
9463
9836
|
Authorization: "Bearer ${{ secrets.DROPBOX_TOKEN }}"
|
|
9464
9837
|
}
|
|
9465
9838
|
},
|
|
9466
|
-
permissions: [
|
|
9839
|
+
permissions: [
|
|
9840
|
+
{
|
|
9841
|
+
name: "files.content.read",
|
|
9842
|
+
rules: [
|
|
9843
|
+
"POST /2/files/download",
|
|
9844
|
+
"POST /2/files/download_zip",
|
|
9845
|
+
"POST /2/files/export",
|
|
9846
|
+
"POST /2/files/get_preview",
|
|
9847
|
+
"POST /2/files/get_thumbnail",
|
|
9848
|
+
"POST /2/files/get_thumbnail:2",
|
|
9849
|
+
"POST /2/files/get_thumbnail_batch"
|
|
9850
|
+
]
|
|
9851
|
+
},
|
|
9852
|
+
{
|
|
9853
|
+
name: "files.content.write",
|
|
9854
|
+
rules: [
|
|
9855
|
+
"POST /2/files/alpha/upload",
|
|
9856
|
+
"POST /2/files/upload",
|
|
9857
|
+
"POST /2/files/upload_session/append",
|
|
9858
|
+
"POST /2/files/upload_session/append:2",
|
|
9859
|
+
"POST /2/files/upload_session/finish",
|
|
9860
|
+
"POST /2/files/upload_session/start"
|
|
9861
|
+
]
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
name: "sharing.read",
|
|
9865
|
+
rules: ["POST /2/sharing/get_shared_link_file"]
|
|
9866
|
+
}
|
|
9867
|
+
]
|
|
9467
9868
|
},
|
|
9468
9869
|
{
|
|
9469
9870
|
base: "https://notify.dropboxapi.com",
|
|
@@ -9472,7 +9873,12 @@ var dropboxFirewall = {
|
|
|
9472
9873
|
Authorization: "Bearer ${{ secrets.DROPBOX_TOKEN }}"
|
|
9473
9874
|
}
|
|
9474
9875
|
},
|
|
9475
|
-
permissions: [
|
|
9876
|
+
permissions: [
|
|
9877
|
+
{
|
|
9878
|
+
name: "files.metadata.read",
|
|
9879
|
+
rules: ["POST /2/files/list_folder/longpoll"]
|
|
9880
|
+
}
|
|
9881
|
+
]
|
|
9476
9882
|
}
|
|
9477
9883
|
]
|
|
9478
9884
|
};
|
|
@@ -17427,6 +17833,7 @@ var c17 = initContract();
|
|
|
17427
17833
|
var zeroAgentCustomSkillNameSchema = z26.string().min(2).max(64).regex(/^[a-z0-9][a-z0-9-]*[a-z0-9]$/);
|
|
17428
17834
|
var zeroAgentResponseSchema = z26.object({
|
|
17429
17835
|
agentId: z26.string(),
|
|
17836
|
+
ownerId: z26.string(),
|
|
17430
17837
|
description: z26.string().nullable(),
|
|
17431
17838
|
displayName: z26.string().nullable(),
|
|
17432
17839
|
sound: z26.string().nullable(),
|
|
@@ -17558,7 +17965,7 @@ var zeroAgentFirewallPoliciesContract = c17.router({
|
|
|
17558
17965
|
403: apiErrorSchema,
|
|
17559
17966
|
404: apiErrorSchema
|
|
17560
17967
|
},
|
|
17561
|
-
summary: "Update zero agent firewall policies (
|
|
17968
|
+
summary: "Update zero agent firewall policies (owner only)"
|
|
17562
17969
|
}
|
|
17563
17970
|
});
|
|
17564
17971
|
var zeroAgentInstructionsContract = c17.router({
|
|
@@ -17762,7 +18169,7 @@ var firewallAccessRequestsResolveContract = c17.router({
|
|
|
17762
18169
|
403: apiErrorSchema,
|
|
17763
18170
|
404: apiErrorSchema
|
|
17764
18171
|
},
|
|
17765
|
-
summary: "Resolve (approve/reject) a firewall access request (
|
|
18172
|
+
summary: "Resolve (approve/reject) a firewall access request (owner only)"
|
|
17766
18173
|
}
|
|
17767
18174
|
});
|
|
17768
18175
|
|
|
@@ -18279,7 +18686,8 @@ var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
|
|
|
18279
18686
|
volumeVersions: true,
|
|
18280
18687
|
vars: true,
|
|
18281
18688
|
secrets: true,
|
|
18282
|
-
agentComposeId: true
|
|
18689
|
+
agentComposeId: true,
|
|
18690
|
+
appendSystemPrompt: true
|
|
18283
18691
|
}).extend({
|
|
18284
18692
|
agentId: z31.string().optional()
|
|
18285
18693
|
});
|
|
@@ -18469,9 +18877,6 @@ var scheduleResponseSchema = z32.object({
|
|
|
18469
18877
|
secretNames: z32.array(z32.string()).nullable(),
|
|
18470
18878
|
volumeVersions: z32.record(z32.string(), z32.string()).nullable(),
|
|
18471
18879
|
enabled: z32.boolean(),
|
|
18472
|
-
notifyEmail: z32.boolean(),
|
|
18473
|
-
notifySlack: z32.boolean(),
|
|
18474
|
-
notifySlackChannelId: z32.string().nullable(),
|
|
18475
18880
|
nextRunAt: z32.string().nullable(),
|
|
18476
18881
|
lastRunAt: z32.string().nullable(),
|
|
18477
18882
|
retryStartedAt: z32.string().nullable(),
|
|
@@ -18497,10 +18902,7 @@ var zeroDeployScheduleRequestSchema = z32.object({
|
|
|
18497
18902
|
appendSystemPrompt: z32.string().optional(),
|
|
18498
18903
|
volumeVersions: z32.record(z32.string(), z32.string()).optional(),
|
|
18499
18904
|
agentId: z32.string().uuid("Invalid agent ID"),
|
|
18500
|
-
enabled: z32.boolean().optional()
|
|
18501
|
-
notifyEmail: z32.boolean().optional(),
|
|
18502
|
-
notifySlack: z32.boolean().optional(),
|
|
18503
|
-
notifySlackChannelId: z32.string().nullable().optional()
|
|
18905
|
+
enabled: z32.boolean().optional()
|
|
18504
18906
|
}).refine(
|
|
18505
18907
|
(data) => {
|
|
18506
18908
|
const triggers = [
|
|
@@ -18864,6 +19266,57 @@ var integrationsSlackMessageContract = c30.router({
|
|
|
18864
19266
|
summary: "Send a Slack message via org bot token"
|
|
18865
19267
|
}
|
|
18866
19268
|
});
|
|
19269
|
+
var slackUploadInitBodySchema = z36.object({
|
|
19270
|
+
filename: z36.string().min(1, "Filename is required"),
|
|
19271
|
+
length: z36.number().int().positive("File length must be a positive integer")
|
|
19272
|
+
});
|
|
19273
|
+
var slackUploadInitResponseSchema = z36.object({
|
|
19274
|
+
uploadUrl: z36.string(),
|
|
19275
|
+
fileId: z36.string()
|
|
19276
|
+
});
|
|
19277
|
+
var integrationsSlackUploadInitContract = c30.router({
|
|
19278
|
+
init: {
|
|
19279
|
+
method: "POST",
|
|
19280
|
+
path: "/api/zero/integrations/slack/upload-file/init",
|
|
19281
|
+
headers: authHeadersSchema,
|
|
19282
|
+
body: slackUploadInitBodySchema,
|
|
19283
|
+
responses: {
|
|
19284
|
+
200: slackUploadInitResponseSchema,
|
|
19285
|
+
400: apiErrorSchema,
|
|
19286
|
+
401: apiErrorSchema,
|
|
19287
|
+
403: apiErrorSchema,
|
|
19288
|
+
404: apiErrorSchema
|
|
19289
|
+
},
|
|
19290
|
+
summary: "Get a pre-signed Slack upload URL via org bot token"
|
|
19291
|
+
}
|
|
19292
|
+
});
|
|
19293
|
+
var slackUploadCompleteBodySchema = z36.object({
|
|
19294
|
+
fileId: z36.string().min(1, "File ID is required"),
|
|
19295
|
+
channel: z36.string().min(1, "Channel ID is required"),
|
|
19296
|
+
threadTs: z36.string().optional(),
|
|
19297
|
+
title: z36.string().optional(),
|
|
19298
|
+
initialComment: z36.string().optional()
|
|
19299
|
+
});
|
|
19300
|
+
var slackUploadCompleteResponseSchema = z36.object({
|
|
19301
|
+
fileId: z36.string(),
|
|
19302
|
+
permalink: z36.string()
|
|
19303
|
+
});
|
|
19304
|
+
var integrationsSlackUploadCompleteContract = c30.router({
|
|
19305
|
+
complete: {
|
|
19306
|
+
method: "POST",
|
|
19307
|
+
path: "/api/zero/integrations/slack/upload-file/complete",
|
|
19308
|
+
headers: authHeadersSchema,
|
|
19309
|
+
body: slackUploadCompleteBodySchema,
|
|
19310
|
+
responses: {
|
|
19311
|
+
200: slackUploadCompleteResponseSchema,
|
|
19312
|
+
400: apiErrorSchema,
|
|
19313
|
+
401: apiErrorSchema,
|
|
19314
|
+
403: apiErrorSchema,
|
|
19315
|
+
404: apiErrorSchema
|
|
19316
|
+
},
|
|
19317
|
+
summary: "Finalize Slack file upload and share to channel"
|
|
19318
|
+
}
|
|
19319
|
+
});
|
|
18867
19320
|
|
|
18868
19321
|
// ../../packages/core/src/contracts/zero-billing.ts
|
|
18869
19322
|
import { z as z37 } from "zod";
|
|
@@ -20563,6 +21016,24 @@ async function sendSlackMessage(body) {
|
|
|
20563
21016
|
}
|
|
20564
21017
|
handleError(result, "Failed to send Slack message");
|
|
20565
21018
|
}
|
|
21019
|
+
async function initSlackFileUpload(body) {
|
|
21020
|
+
const config = await getClientConfig();
|
|
21021
|
+
const client = initClient17(integrationsSlackUploadInitContract, config);
|
|
21022
|
+
const result = await client.init({ body, headers: {} });
|
|
21023
|
+
if (result.status === 200) {
|
|
21024
|
+
return result.body;
|
|
21025
|
+
}
|
|
21026
|
+
handleError(result, "Failed to initialize Slack file upload");
|
|
21027
|
+
}
|
|
21028
|
+
async function completeSlackFileUpload(body) {
|
|
21029
|
+
const config = await getClientConfig();
|
|
21030
|
+
const client = initClient17(integrationsSlackUploadCompleteContract, config);
|
|
21031
|
+
const result = await client.complete({ body, headers: {} });
|
|
21032
|
+
if (result.status === 200) {
|
|
21033
|
+
return result.body;
|
|
21034
|
+
}
|
|
21035
|
+
handleError(result, "Failed to complete Slack file upload");
|
|
21036
|
+
}
|
|
20566
21037
|
|
|
20567
21038
|
// src/lib/api/domains/zero-schedules.ts
|
|
20568
21039
|
import { initClient as initClient18 } from "@ts-rest/core";
|
|
@@ -21690,6 +22161,8 @@ export {
|
|
|
21690
22161
|
createZeroComputerConnector,
|
|
21691
22162
|
deleteZeroComputerConnector,
|
|
21692
22163
|
sendSlackMessage,
|
|
22164
|
+
initSlackFileUpload,
|
|
22165
|
+
completeSlackFileUpload,
|
|
21693
22166
|
deployZeroSchedule,
|
|
21694
22167
|
listZeroSchedules,
|
|
21695
22168
|
deleteZeroSchedule,
|
|
@@ -21726,4 +22199,4 @@ export {
|
|
|
21726
22199
|
pollEvents,
|
|
21727
22200
|
showNextSteps
|
|
21728
22201
|
};
|
|
21729
|
-
//# sourceMappingURL=chunk-
|
|
22202
|
+
//# sourceMappingURL=chunk-UEVD4XR7.js.map
|