@vm0/cli 9.92.0 → 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.
@@ -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.92.0",
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.92.0",
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
  };
@@ -13484,6 +13890,26 @@ var intervalsIcuFirewall = {
13484
13890
  ]
13485
13891
  };
13486
13892
 
13893
+ // ../../packages/core/src/firewalls/jira.generated.ts
13894
+ var jiraFirewall = {
13895
+ name: "jira",
13896
+ description: "Jira REST API (API token auth)",
13897
+ placeholders: {
13898
+ JIRA_API_TOKEN: "Coffee5afe10ca1Coffee5af"
13899
+ },
13900
+ apis: [
13901
+ {
13902
+ base: "https://${{ vars.JIRA_DOMAIN }}",
13903
+ auth: {
13904
+ headers: {
13905
+ Authorization: "${{ basic(vars.JIRA_EMAIL, secrets.JIRA_API_TOKEN) }}"
13906
+ }
13907
+ },
13908
+ permissions: []
13909
+ }
13910
+ ]
13911
+ };
13912
+
13487
13913
  // ../../packages/core/src/firewalls/jotform.generated.ts
13488
13914
  var jotformFirewall = {
13489
13915
  name: "jotform",
@@ -16595,13 +17021,376 @@ var youtubeFirewall = {
16595
17021
  },
16596
17022
  apis: [
16597
17023
  {
16598
- base: "https://www.googleapis.com/youtube",
17024
+ base: "https://youtube.googleapis.com/youtube",
16599
17025
  auth: {
16600
17026
  headers: {
16601
17027
  "X-Goog-Api-Key": "${{ secrets.YOUTUBE_TOKEN }}"
16602
17028
  }
16603
17029
  },
16604
- permissions: []
17030
+ permissions: [
17031
+ {
17032
+ name: "youtube",
17033
+ description: "Manage your YouTube account",
17034
+ rules: [
17035
+ "POST /v3/abuseReports",
17036
+ "GET /v3/activities",
17037
+ "POST /v3/channelBanners/insert",
17038
+ "GET /v3/channelSections",
17039
+ "POST /v3/channelSections",
17040
+ "PUT /v3/channelSections",
17041
+ "DELETE /v3/channelSections",
17042
+ "GET /v3/channels",
17043
+ "PUT /v3/channels",
17044
+ "GET /v3/i18nLanguages",
17045
+ "GET /v3/i18nRegions",
17046
+ "GET /v3/liveBroadcasts",
17047
+ "POST /v3/liveBroadcasts",
17048
+ "PUT /v3/liveBroadcasts",
17049
+ "DELETE /v3/liveBroadcasts",
17050
+ "POST /v3/liveBroadcasts/bind",
17051
+ "POST /v3/liveBroadcasts/cuepoint",
17052
+ "POST /v3/liveBroadcasts/transition",
17053
+ "POST /v3/liveChat/bans",
17054
+ "DELETE /v3/liveChat/bans",
17055
+ "GET /v3/liveChat/messages",
17056
+ "POST /v3/liveChat/messages",
17057
+ "DELETE /v3/liveChat/messages",
17058
+ "GET /v3/liveChat/messages/stream",
17059
+ "POST /v3/liveChat/messages/transition",
17060
+ "GET /v3/liveChat/moderators",
17061
+ "POST /v3/liveChat/moderators",
17062
+ "DELETE /v3/liveChat/moderators",
17063
+ "GET /v3/liveStreams",
17064
+ "POST /v3/liveStreams",
17065
+ "PUT /v3/liveStreams",
17066
+ "DELETE /v3/liveStreams",
17067
+ "GET /v3/playlistImages",
17068
+ "POST /v3/playlistImages",
17069
+ "PUT /v3/playlistImages",
17070
+ "DELETE /v3/playlistImages",
17071
+ "GET /v3/playlistItems",
17072
+ "POST /v3/playlistItems",
17073
+ "PUT /v3/playlistItems",
17074
+ "DELETE /v3/playlistItems",
17075
+ "GET /v3/playlists",
17076
+ "POST /v3/playlists",
17077
+ "PUT /v3/playlists",
17078
+ "DELETE /v3/playlists",
17079
+ "GET /v3/search",
17080
+ "GET /v3/subscriptions",
17081
+ "POST /v3/subscriptions",
17082
+ "DELETE /v3/subscriptions",
17083
+ "GET /v3/superChatEvents",
17084
+ "POST /v3/thumbnails/set",
17085
+ "GET /v3/videoAbuseReportReasons",
17086
+ "GET /v3/videoCategories",
17087
+ "GET /v3/videoTrainability",
17088
+ "GET /v3/videos",
17089
+ "POST /v3/videos",
17090
+ "PUT /v3/videos",
17091
+ "DELETE /v3/videos",
17092
+ "GET /v3/videos/getRating",
17093
+ "POST /v3/videos/rate",
17094
+ "POST /v3/videos/reportAbuse",
17095
+ "POST /v3/watermarks/set",
17096
+ "POST /v3/watermarks/unset"
17097
+ ]
17098
+ },
17099
+ {
17100
+ name: "youtube.channel-memberships.creator",
17101
+ description: "See a list of your current active channel members, their current level, and when they became a member",
17102
+ rules: ["GET /v3/members", "GET /v3/membershipsLevels"]
17103
+ },
17104
+ {
17105
+ name: "youtube.force-ssl",
17106
+ description: "See, edit, and permanently delete your YouTube videos, ratings, comments and captions",
17107
+ rules: [
17108
+ "POST /v3/abuseReports",
17109
+ "GET /v3/activities",
17110
+ "GET /v3/captions",
17111
+ "POST /v3/captions",
17112
+ "PUT /v3/captions",
17113
+ "DELETE /v3/captions",
17114
+ "GET /v3/captions/{id}",
17115
+ "POST /v3/channelBanners/insert",
17116
+ "GET /v3/channelSections",
17117
+ "POST /v3/channelSections",
17118
+ "PUT /v3/channelSections",
17119
+ "DELETE /v3/channelSections",
17120
+ "GET /v3/channels",
17121
+ "PUT /v3/channels",
17122
+ "GET /v3/commentThreads",
17123
+ "POST /v3/commentThreads",
17124
+ "GET /v3/comments",
17125
+ "POST /v3/comments",
17126
+ "PUT /v3/comments",
17127
+ "DELETE /v3/comments",
17128
+ "POST /v3/comments/markAsSpam",
17129
+ "POST /v3/comments/setModerationStatus",
17130
+ "GET /v3/i18nLanguages",
17131
+ "GET /v3/i18nRegions",
17132
+ "GET /v3/liveBroadcasts",
17133
+ "POST /v3/liveBroadcasts",
17134
+ "PUT /v3/liveBroadcasts",
17135
+ "DELETE /v3/liveBroadcasts",
17136
+ "POST /v3/liveBroadcasts/bind",
17137
+ "POST /v3/liveBroadcasts/cuepoint",
17138
+ "POST /v3/liveBroadcasts/transition",
17139
+ "POST /v3/liveChat/bans",
17140
+ "DELETE /v3/liveChat/bans",
17141
+ "GET /v3/liveChat/messages",
17142
+ "POST /v3/liveChat/messages",
17143
+ "DELETE /v3/liveChat/messages",
17144
+ "GET /v3/liveChat/messages/stream",
17145
+ "POST /v3/liveChat/messages/transition",
17146
+ "GET /v3/liveChat/moderators",
17147
+ "POST /v3/liveChat/moderators",
17148
+ "DELETE /v3/liveChat/moderators",
17149
+ "GET /v3/liveStreams",
17150
+ "POST /v3/liveStreams",
17151
+ "PUT /v3/liveStreams",
17152
+ "DELETE /v3/liveStreams",
17153
+ "GET /v3/playlistImages",
17154
+ "POST /v3/playlistImages",
17155
+ "PUT /v3/playlistImages",
17156
+ "DELETE /v3/playlistImages",
17157
+ "GET /v3/playlistItems",
17158
+ "POST /v3/playlistItems",
17159
+ "PUT /v3/playlistItems",
17160
+ "DELETE /v3/playlistItems",
17161
+ "GET /v3/playlists",
17162
+ "POST /v3/playlists",
17163
+ "PUT /v3/playlists",
17164
+ "DELETE /v3/playlists",
17165
+ "GET /v3/search",
17166
+ "GET /v3/subscriptions",
17167
+ "POST /v3/subscriptions",
17168
+ "DELETE /v3/subscriptions",
17169
+ "GET /v3/superChatEvents",
17170
+ "POST /v3/thumbnails/set",
17171
+ "GET /v3/videoAbuseReportReasons",
17172
+ "GET /v3/videoCategories",
17173
+ "GET /v3/videoTrainability",
17174
+ "GET /v3/videos",
17175
+ "POST /v3/videos",
17176
+ "PUT /v3/videos",
17177
+ "DELETE /v3/videos",
17178
+ "GET /v3/videos/getRating",
17179
+ "POST /v3/videos/rate",
17180
+ "POST /v3/videos/reportAbuse",
17181
+ "POST /v3/watermarks/set",
17182
+ "POST /v3/watermarks/unset"
17183
+ ]
17184
+ },
17185
+ {
17186
+ name: "youtube.readonly",
17187
+ description: "View your YouTube account",
17188
+ rules: [
17189
+ "GET /v3/activities",
17190
+ "GET /v3/channelSections",
17191
+ "GET /v3/channels",
17192
+ "GET /v3/i18nLanguages",
17193
+ "GET /v3/i18nRegions",
17194
+ "GET /v3/liveBroadcasts",
17195
+ "GET /v3/liveChat/messages",
17196
+ "GET /v3/liveChat/messages/stream",
17197
+ "GET /v3/liveChat/moderators",
17198
+ "GET /v3/liveStreams",
17199
+ "GET /v3/playlistImages",
17200
+ "GET /v3/playlistItems",
17201
+ "GET /v3/playlists",
17202
+ "GET /v3/search",
17203
+ "GET /v3/subscriptions",
17204
+ "GET /v3/superChatEvents",
17205
+ "POST /v3/tests",
17206
+ "GET /v3/videoAbuseReportReasons",
17207
+ "GET /v3/videoCategories",
17208
+ "GET /v3/videoTrainability",
17209
+ "GET /v3/videos"
17210
+ ]
17211
+ },
17212
+ {
17213
+ name: "youtube.upload",
17214
+ description: "Manage your YouTube videos",
17215
+ rules: [
17216
+ "POST /v3/channelBanners/insert",
17217
+ "POST /v3/thumbnails/set",
17218
+ "POST /v3/videos",
17219
+ "POST /v3/watermarks/set"
17220
+ ]
17221
+ },
17222
+ {
17223
+ name: "youtubepartner",
17224
+ description: "View and manage your assets and associated content on YouTube",
17225
+ rules: [
17226
+ "GET /v3/captions",
17227
+ "POST /v3/captions",
17228
+ "PUT /v3/captions",
17229
+ "DELETE /v3/captions",
17230
+ "GET /v3/captions/{id}",
17231
+ "GET /v3/channelSections",
17232
+ "POST /v3/channelSections",
17233
+ "PUT /v3/channelSections",
17234
+ "DELETE /v3/channelSections",
17235
+ "GET /v3/channels",
17236
+ "PUT /v3/channels",
17237
+ "GET /v3/i18nLanguages",
17238
+ "GET /v3/i18nRegions",
17239
+ "POST /v3/liveBroadcasts/cuepoint",
17240
+ "GET /v3/playlistImages",
17241
+ "POST /v3/playlistImages",
17242
+ "PUT /v3/playlistImages",
17243
+ "DELETE /v3/playlistImages",
17244
+ "GET /v3/playlistItems",
17245
+ "POST /v3/playlistItems",
17246
+ "PUT /v3/playlistItems",
17247
+ "DELETE /v3/playlistItems",
17248
+ "GET /v3/playlists",
17249
+ "POST /v3/playlists",
17250
+ "PUT /v3/playlists",
17251
+ "DELETE /v3/playlists",
17252
+ "GET /v3/search",
17253
+ "GET /v3/subscriptions",
17254
+ "POST /v3/subscriptions",
17255
+ "DELETE /v3/subscriptions",
17256
+ "POST /v3/thumbnails/set",
17257
+ "GET /v3/videoCategories",
17258
+ "GET /v3/videoTrainability",
17259
+ "GET /v3/videos",
17260
+ "POST /v3/videos",
17261
+ "PUT /v3/videos",
17262
+ "DELETE /v3/videos",
17263
+ "GET /v3/videos/getRating",
17264
+ "POST /v3/videos/rate",
17265
+ "POST /v3/videos/reportAbuse",
17266
+ "POST /v3/watermarks/set",
17267
+ "POST /v3/watermarks/unset"
17268
+ ]
17269
+ },
17270
+ {
17271
+ name: "youtubepartner-channel-audit",
17272
+ description: "View private information of your YouTube channel relevant during the audit process with a YouTube partner",
17273
+ rules: ["GET /v3/channels"]
17274
+ }
17275
+ ]
17276
+ },
17277
+ {
17278
+ base: "https://youtube.googleapis.com/upload/youtube",
17279
+ auth: {
17280
+ headers: {
17281
+ "X-Goog-Api-Key": "${{ secrets.YOUTUBE_TOKEN }}"
17282
+ }
17283
+ },
17284
+ permissions: [
17285
+ {
17286
+ name: "youtube",
17287
+ description: "Manage your YouTube account",
17288
+ rules: [
17289
+ "POST /v3/channelBanners/insert",
17290
+ "POST /v3/playlistImages",
17291
+ "PUT /v3/playlistImages",
17292
+ "POST /v3/thumbnails/set",
17293
+ "POST /v3/videos",
17294
+ "POST /v3/watermarks/set"
17295
+ ]
17296
+ },
17297
+ {
17298
+ name: "youtube.force-ssl",
17299
+ description: "See, edit, and permanently delete your YouTube videos, ratings, comments and captions",
17300
+ rules: [
17301
+ "POST /v3/captions",
17302
+ "PUT /v3/captions",
17303
+ "POST /v3/channelBanners/insert",
17304
+ "POST /v3/playlistImages",
17305
+ "PUT /v3/playlistImages",
17306
+ "POST /v3/thumbnails/set",
17307
+ "POST /v3/videos",
17308
+ "POST /v3/watermarks/set"
17309
+ ]
17310
+ },
17311
+ {
17312
+ name: "youtube.upload",
17313
+ description: "Manage your YouTube videos",
17314
+ rules: [
17315
+ "POST /v3/channelBanners/insert",
17316
+ "POST /v3/thumbnails/set",
17317
+ "POST /v3/videos",
17318
+ "POST /v3/watermarks/set"
17319
+ ]
17320
+ },
17321
+ {
17322
+ name: "youtubepartner",
17323
+ description: "View and manage your assets and associated content on YouTube",
17324
+ rules: [
17325
+ "POST /v3/captions",
17326
+ "PUT /v3/captions",
17327
+ "POST /v3/playlistImages",
17328
+ "PUT /v3/playlistImages",
17329
+ "POST /v3/thumbnails/set",
17330
+ "POST /v3/videos",
17331
+ "POST /v3/watermarks/set"
17332
+ ]
17333
+ }
17334
+ ]
17335
+ },
17336
+ {
17337
+ base: "https://youtube.googleapis.com/resumable/upload/youtube",
17338
+ auth: {
17339
+ headers: {
17340
+ "X-Goog-Api-Key": "${{ secrets.YOUTUBE_TOKEN }}"
17341
+ }
17342
+ },
17343
+ permissions: [
17344
+ {
17345
+ name: "youtube",
17346
+ description: "Manage your YouTube account",
17347
+ rules: [
17348
+ "POST /v3/channelBanners/insert",
17349
+ "POST /v3/playlistImages",
17350
+ "PUT /v3/playlistImages",
17351
+ "POST /v3/thumbnails/set",
17352
+ "POST /v3/videos",
17353
+ "POST /v3/watermarks/set"
17354
+ ]
17355
+ },
17356
+ {
17357
+ name: "youtube.force-ssl",
17358
+ description: "See, edit, and permanently delete your YouTube videos, ratings, comments and captions",
17359
+ rules: [
17360
+ "POST /v3/captions",
17361
+ "PUT /v3/captions",
17362
+ "POST /v3/channelBanners/insert",
17363
+ "POST /v3/playlistImages",
17364
+ "PUT /v3/playlistImages",
17365
+ "POST /v3/thumbnails/set",
17366
+ "POST /v3/videos",
17367
+ "POST /v3/watermarks/set"
17368
+ ]
17369
+ },
17370
+ {
17371
+ name: "youtube.upload",
17372
+ description: "Manage your YouTube videos",
17373
+ rules: [
17374
+ "POST /v3/channelBanners/insert",
17375
+ "POST /v3/thumbnails/set",
17376
+ "POST /v3/videos",
17377
+ "POST /v3/watermarks/set"
17378
+ ]
17379
+ },
17380
+ {
17381
+ name: "youtubepartner",
17382
+ description: "View and manage your assets and associated content on YouTube",
17383
+ rules: [
17384
+ "POST /v3/captions",
17385
+ "PUT /v3/captions",
17386
+ "POST /v3/playlistImages",
17387
+ "PUT /v3/playlistImages",
17388
+ "POST /v3/thumbnails/set",
17389
+ "POST /v3/videos",
17390
+ "POST /v3/watermarks/set"
17391
+ ]
17392
+ }
17393
+ ]
16605
17394
  }
16606
17395
  ]
16607
17396
  };
@@ -16742,6 +17531,7 @@ var CONNECTOR_FIREWALLS = {
16742
17531
  instantly: instantlyFirewall,
16743
17532
  intercom: intercomFirewall,
16744
17533
  "intervals-icu": intervalsIcuFirewall,
17534
+ jira: jiraFirewall,
16745
17535
  jotform: jotformFirewall,
16746
17536
  kommo: kommoFirewall,
16747
17537
  lark: larkFirewall,
@@ -17043,6 +17833,7 @@ var c17 = initContract();
17043
17833
  var zeroAgentCustomSkillNameSchema = z26.string().min(2).max(64).regex(/^[a-z0-9][a-z0-9-]*[a-z0-9]$/);
17044
17834
  var zeroAgentResponseSchema = z26.object({
17045
17835
  agentId: z26.string(),
17836
+ ownerId: z26.string(),
17046
17837
  description: z26.string().nullable(),
17047
17838
  displayName: z26.string().nullable(),
17048
17839
  sound: z26.string().nullable(),
@@ -17174,7 +17965,7 @@ var zeroAgentFirewallPoliciesContract = c17.router({
17174
17965
  403: apiErrorSchema,
17175
17966
  404: apiErrorSchema
17176
17967
  },
17177
- summary: "Update zero agent firewall policies (admin only)"
17968
+ summary: "Update zero agent firewall policies (owner only)"
17178
17969
  }
17179
17970
  });
17180
17971
  var zeroAgentInstructionsContract = c17.router({
@@ -17378,7 +18169,7 @@ var firewallAccessRequestsResolveContract = c17.router({
17378
18169
  403: apiErrorSchema,
17379
18170
  404: apiErrorSchema
17380
18171
  },
17381
- summary: "Resolve (approve/reject) a firewall access request (admin only)"
18172
+ summary: "Resolve (approve/reject) a firewall access request (owner only)"
17382
18173
  }
17383
18174
  });
17384
18175
 
@@ -17895,7 +18686,8 @@ var zeroRunRequestSchema = unifiedRunRequestSchema.omit({
17895
18686
  volumeVersions: true,
17896
18687
  vars: true,
17897
18688
  secrets: true,
17898
- agentComposeId: true
18689
+ agentComposeId: true,
18690
+ appendSystemPrompt: true
17899
18691
  }).extend({
17900
18692
  agentId: z31.string().optional()
17901
18693
  });
@@ -18085,9 +18877,6 @@ var scheduleResponseSchema = z32.object({
18085
18877
  secretNames: z32.array(z32.string()).nullable(),
18086
18878
  volumeVersions: z32.record(z32.string(), z32.string()).nullable(),
18087
18879
  enabled: z32.boolean(),
18088
- notifyEmail: z32.boolean(),
18089
- notifySlack: z32.boolean(),
18090
- notifySlackChannelId: z32.string().nullable(),
18091
18880
  nextRunAt: z32.string().nullable(),
18092
18881
  lastRunAt: z32.string().nullable(),
18093
18882
  retryStartedAt: z32.string().nullable(),
@@ -18113,10 +18902,7 @@ var zeroDeployScheduleRequestSchema = z32.object({
18113
18902
  appendSystemPrompt: z32.string().optional(),
18114
18903
  volumeVersions: z32.record(z32.string(), z32.string()).optional(),
18115
18904
  agentId: z32.string().uuid("Invalid agent ID"),
18116
- enabled: z32.boolean().optional(),
18117
- notifyEmail: z32.boolean().optional(),
18118
- notifySlack: z32.boolean().optional(),
18119
- notifySlackChannelId: z32.string().nullable().optional()
18905
+ enabled: z32.boolean().optional()
18120
18906
  }).refine(
18121
18907
  (data) => {
18122
18908
  const triggers = [
@@ -18480,6 +19266,57 @@ var integrationsSlackMessageContract = c30.router({
18480
19266
  summary: "Send a Slack message via org bot token"
18481
19267
  }
18482
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
+ });
18483
19320
 
18484
19321
  // ../../packages/core/src/contracts/zero-billing.ts
18485
19322
  import { z as z37 } from "zod";
@@ -20179,6 +21016,24 @@ async function sendSlackMessage(body) {
20179
21016
  }
20180
21017
  handleError(result, "Failed to send Slack message");
20181
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
+ }
20182
21037
 
20183
21038
  // src/lib/api/domains/zero-schedules.ts
20184
21039
  import { initClient as initClient18 } from "@ts-rest/core";
@@ -21306,6 +22161,8 @@ export {
21306
22161
  createZeroComputerConnector,
21307
22162
  deleteZeroComputerConnector,
21308
22163
  sendSlackMessage,
22164
+ initSlackFileUpload,
22165
+ completeSlackFileUpload,
21309
22166
  deployZeroSchedule,
21310
22167
  listZeroSchedules,
21311
22168
  deleteZeroSchedule,
@@ -21342,4 +22199,4 @@ export {
21342
22199
  pollEvents,
21343
22200
  showNextSteps
21344
22201
  };
21345
- //# sourceMappingURL=chunk-7QKHF3FS.js.map
22202
+ //# sourceMappingURL=chunk-UEVD4XR7.js.map