@vm0/cli 9.199.6 → 9.200.1

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.
@@ -72936,7 +72936,7 @@ if (DSN) {
72936
72936
  init2({
72937
72937
  dsn: DSN,
72938
72938
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
72939
- release: "9.199.6",
72939
+ release: "9.200.1",
72940
72940
  sendDefaultPii: false,
72941
72941
  tracesSampleRate: 0,
72942
72942
  shutdownTimeout: 500,
@@ -72955,7 +72955,7 @@ if (DSN) {
72955
72955
  }
72956
72956
  });
72957
72957
  setContext("cli", {
72958
- version: "9.199.6",
72958
+ version: "9.200.1",
72959
72959
  command: process.argv.slice(2).join(" ")
72960
72960
  });
72961
72961
  setContext("runtime", {
@@ -112669,20 +112669,27 @@ init_esm_shims();
112669
112669
  init_esm_shims();
112670
112670
  var c21 = initContract();
112671
112671
  var zeroGoalStatusSchema = external_exports.enum(["active", "blocked", "complete"]);
112672
+ var zeroGoalStopReasonSchema = external_exports.enum(["paused", "blocked", "failed"]);
112672
112673
  var zeroGoalPreferenceSchema = external_exports.object({
112673
112674
  version: external_exports.literal(1),
112674
112675
  objective: external_exports.string().min(1),
112675
- tokenBudget: external_exports.number().int().positive().optional()
112676
+ tokenBudget: external_exports.number().int().positive().optional(),
112677
+ stopReason: zeroGoalStopReasonSchema.optional()
112676
112678
  });
112677
112679
  var zeroGoalCreateRequestSchema = external_exports.object({
112678
112680
  objective: external_exports.string().min(1).max(2e4),
112679
112681
  tokenBudget: external_exports.number().int().positive().optional()
112680
112682
  });
112683
+ var zeroGoalEditRequestSchema = external_exports.object({
112684
+ objective: external_exports.string().min(1).max(2e4).optional(),
112685
+ tokenBudget: external_exports.number().int().positive().optional()
112686
+ });
112681
112687
  var zeroGoalResponseSchema = external_exports.object({
112682
112688
  active: external_exports.boolean(),
112683
112689
  objective: external_exports.string(),
112684
112690
  status: zeroGoalStatusSchema,
112685
- tokenBudget: external_exports.number().int().positive().optional()
112691
+ tokenBudget: external_exports.number().int().positive().optional(),
112692
+ stopReason: zeroGoalStopReasonSchema.optional()
112686
112693
  });
112687
112694
  var zeroGoalsContract = c21.router({
112688
112695
  create: {
@@ -112699,6 +112706,20 @@ var zeroGoalsContract = c21.router({
112699
112706
  },
112700
112707
  summary: "Create a persistent goal for the current thread"
112701
112708
  },
112709
+ edit: {
112710
+ method: "PATCH",
112711
+ path: "/api/zero/goal",
112712
+ headers: authHeadersSchema,
112713
+ body: zeroGoalEditRequestSchema,
112714
+ responses: {
112715
+ 200: zeroGoalResponseSchema,
112716
+ 400: apiErrorSchema,
112717
+ 401: apiErrorSchema,
112718
+ 403: apiErrorSchema,
112719
+ 404: apiErrorSchema
112720
+ },
112721
+ summary: "Edit the current thread goal's objective or token budget"
112722
+ },
112702
112723
  get: {
112703
112724
  method: "GET",
112704
112725
  path: "/api/zero/goal",
@@ -112761,6 +112782,13 @@ async function createGoal(body) {
112761
112782
  if (result.status === 201) return result.body;
112762
112783
  handleError(result, "Failed to create goal");
112763
112784
  }
112785
+ async function editGoal(body) {
112786
+ const config4 = await getClientConfig();
112787
+ const client = initClient(zeroGoalsContract, config4);
112788
+ const result = await client.edit({ body });
112789
+ if (result.status === 200) return result.body;
112790
+ handleError(result, "Failed to edit goal");
112791
+ }
112764
112792
  async function getGoal() {
112765
112793
  const config4 = await getClientConfig();
112766
112794
  const client = initClient(zeroGoalsContract, config4);
@@ -148573,606 +148601,255 @@ var googleDriveFirewall = {
148573
148601
  base: "https://www.googleapis.com/drive",
148574
148602
  auth: {
148575
148603
  headers: {
148576
- "Authorization": "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
148604
+ Authorization: "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
148577
148605
  }
148578
148606
  },
148579
148607
  permissions: [
148580
148608
  {
148581
- name: "drive",
148582
- description: "See, edit, create, and delete all of your Google Drive files",
148609
+ name: "about.read",
148610
+ description: "Read Drive account and storage metadata.",
148583
148611
  rules: [
148584
148612
  "GET /v2/about",
148613
+ "GET /v3/about"
148614
+ ]
148615
+ },
148616
+ {
148617
+ name: "apps.read",
148618
+ description: "Read Drive apps authorized for the user.",
148619
+ rules: [
148620
+ "GET /v2/apps",
148585
148621
  "GET /v2/apps/{appId}",
148622
+ "GET /v3/apps",
148623
+ "GET /v3/apps/{appId}"
148624
+ ]
148625
+ },
148626
+ {
148627
+ name: "changes.read",
148628
+ description: "Read Drive change logs and page tokens.",
148629
+ rules: [
148586
148630
  "GET /v2/changes",
148587
148631
  "GET /v2/changes/startPageToken",
148588
- "POST /v2/changes/watch",
148589
148632
  "GET /v2/changes/{changeId}",
148633
+ "GET /v3/changes",
148634
+ "GET /v3/changes/startPageToken"
148635
+ ]
148636
+ },
148637
+ {
148638
+ name: "channels.write",
148639
+ description: "Create and stop Drive notification channels.",
148640
+ rules: [
148641
+ "POST /v2/changes/watch",
148590
148642
  "POST /v2/channels/stop",
148591
- "GET /v2/drives",
148592
- "POST /v2/drives",
148593
- "GET /v2/drives/{driveId}",
148594
- "PUT /v2/drives/{driveId}",
148595
- "DELETE /v2/drives/{driveId}",
148596
- "POST /v2/drives/{driveId}/hide",
148597
- "POST /v2/drives/{driveId}/unhide",
148598
- "GET /v2/files",
148599
- "POST /v2/files",
148600
- "GET /v2/files/generateCseToken",
148601
- "GET /v2/files/generateIds",
148602
- "DELETE /v2/files/trash",
148603
- "GET /v2/files/{fileId}",
148604
- "PUT /v2/files/{fileId}",
148605
- "PATCH /v2/files/{fileId}",
148606
- "DELETE /v2/files/{fileId}",
148643
+ "POST /v2/files/{fileId}/watch",
148644
+ "POST /v3/changes/watch",
148645
+ "POST /v3/channels/stop",
148646
+ "POST /v3/files/{fileId}/watch"
148647
+ ]
148648
+ },
148649
+ {
148650
+ name: "comments.read",
148651
+ description: "Read Drive file comments.",
148652
+ rules: [
148607
148653
  "GET /v2/files/{fileId}/comments",
148608
- "POST /v2/files/{fileId}/comments",
148609
148654
  "GET /v2/files/{fileId}/comments/{commentId}",
148655
+ "GET /v3/files/{fileId}/comments",
148656
+ "GET /v3/files/{fileId}/comments/{commentId}"
148657
+ ]
148658
+ },
148659
+ {
148660
+ name: "comments.write",
148661
+ description: "Create, update, and delete Drive file comments.",
148662
+ rules: [
148663
+ "POST /v2/files/{fileId}/comments",
148610
148664
  "PUT /v2/files/{fileId}/comments/{commentId}",
148611
148665
  "PATCH /v2/files/{fileId}/comments/{commentId}",
148612
148666
  "DELETE /v2/files/{fileId}/comments/{commentId}",
148613
- "GET /v2/files/{fileId}/comments/{commentId}/replies",
148614
- "POST /v2/files/{fileId}/comments/{commentId}/replies",
148615
- "GET /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148616
- "PUT /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148617
- "PATCH /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148618
- "DELETE /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148619
- "POST /v2/files/{fileId}/copy",
148620
- "GET /v2/files/{fileId}/export",
148621
- "GET /v2/files/{fileId}/listLabels",
148622
- "POST /v2/files/{fileId}/modifyLabels",
148623
- "GET /v2/files/{fileId}/parents",
148624
- "POST /v2/files/{fileId}/parents",
148625
- "GET /v2/files/{fileId}/parents/{parentId}",
148626
- "DELETE /v2/files/{fileId}/parents/{parentId}",
148627
- "GET /v2/files/{fileId}/permissions",
148628
- "POST /v2/files/{fileId}/permissions",
148629
- "GET /v2/files/{fileId}/permissions/{permissionId}",
148630
- "PUT /v2/files/{fileId}/permissions/{permissionId}",
148631
- "PATCH /v2/files/{fileId}/permissions/{permissionId}",
148632
- "DELETE /v2/files/{fileId}/permissions/{permissionId}",
148633
- "GET /v2/files/{fileId}/properties",
148634
- "POST /v2/files/{fileId}/properties",
148635
- "GET /v2/files/{fileId}/properties/{propertyKey}",
148636
- "PUT /v2/files/{fileId}/properties/{propertyKey}",
148637
- "PATCH /v2/files/{fileId}/properties/{propertyKey}",
148638
- "DELETE /v2/files/{fileId}/properties/{propertyKey}",
148639
- "GET /v2/files/{fileId}/revisions",
148640
- "GET /v2/files/{fileId}/revisions/{revisionId}",
148641
- "PUT /v2/files/{fileId}/revisions/{revisionId}",
148642
- "PATCH /v2/files/{fileId}/revisions/{revisionId}",
148643
- "DELETE /v2/files/{fileId}/revisions/{revisionId}",
148644
- "POST /v2/files/{fileId}/touch",
148645
- "POST /v2/files/{fileId}/trash",
148646
- "POST /v2/files/{fileId}/untrash",
148647
- "POST /v2/files/{fileId}/watch",
148648
- "GET /v2/files/{folderId}/children",
148649
- "POST /v2/files/{folderId}/children",
148650
- "GET /v2/files/{folderId}/children/{childId}",
148651
- "DELETE /v2/files/{folderId}/children/{childId}",
148652
- "GET /v2/permissionIds/{email}",
148667
+ "POST /v3/files/{fileId}/comments",
148668
+ "PATCH /v3/files/{fileId}/comments/{commentId}",
148669
+ "DELETE /v3/files/{fileId}/comments/{commentId}"
148670
+ ]
148671
+ },
148672
+ {
148673
+ name: "drives.delete",
148674
+ description: "Delete shared drives and team drives.",
148675
+ rules: [
148676
+ "DELETE /v2/drives/{driveId}",
148677
+ "DELETE /v2/teamdrives/{teamDriveId}",
148678
+ "DELETE /v3/drives/{driveId}",
148679
+ "DELETE /v3/teamdrives/{teamDriveId}"
148680
+ ]
148681
+ },
148682
+ {
148683
+ name: "drives.read",
148684
+ description: "Read shared drive and team drive metadata.",
148685
+ rules: [
148686
+ "GET /v2/drives",
148687
+ "GET /v2/drives/{driveId}",
148653
148688
  "GET /v2/teamdrives",
148654
- "POST /v2/teamdrives",
148655
148689
  "GET /v2/teamdrives/{teamDriveId}",
148656
- "PUT /v2/teamdrives/{teamDriveId}",
148657
- "DELETE /v2/teamdrives/{teamDriveId}",
148658
- "GET /v3/about",
148659
- "GET /v3/apps/{appId}",
148660
- "GET /v3/changes",
148661
- "GET /v3/changes/startPageToken",
148662
- "POST /v3/changes/watch",
148663
- "POST /v3/channels/stop",
148664
148690
  "GET /v3/drives",
148665
- "POST /v3/drives",
148666
148691
  "GET /v3/drives/{driveId}",
148692
+ "GET /v3/teamdrives",
148693
+ "GET /v3/teamdrives/{teamDriveId}"
148694
+ ]
148695
+ },
148696
+ {
148697
+ name: "drives.write",
148698
+ description: "Create, update, hide, and unhide shared drives.",
148699
+ rules: [
148700
+ "POST /v2/drives",
148701
+ "PUT /v2/drives/{driveId}",
148702
+ "POST /v2/drives/{driveId}/hide",
148703
+ "POST /v2/drives/{driveId}/unhide",
148704
+ "POST /v2/teamdrives",
148705
+ "PUT /v2/teamdrives/{teamDriveId}",
148706
+ "POST /v3/drives",
148667
148707
  "PATCH /v3/drives/{driveId}",
148668
- "DELETE /v3/drives/{driveId}",
148669
148708
  "POST /v3/drives/{driveId}/hide",
148670
148709
  "POST /v3/drives/{driveId}/unhide",
148671
- "GET /v3/files",
148672
- "POST /v3/files",
148673
- "GET /v3/files/generateCseToken",
148674
- "GET /v3/files/generateIds",
148675
- "DELETE /v3/files/trash",
148676
- "GET /v3/files/{fileId}",
148677
- "PATCH /v3/files/{fileId}",
148678
- "DELETE /v3/files/{fileId}",
148679
- "GET /v3/files/{fileId}/accessproposals",
148680
- "GET /v3/files/{fileId}/accessproposals/{proposalId}",
148681
- "POST /v3/files/{fileId}/accessproposals/{proposalId}:resolve",
148682
- "GET /v3/files/{fileId}/approvals",
148683
- "GET /v3/files/{fileId}/approvals/{approvalId}",
148684
- "GET /v3/files/{fileId}/comments",
148685
- "POST /v3/files/{fileId}/comments",
148686
- "GET /v3/files/{fileId}/comments/{commentId}",
148687
- "PATCH /v3/files/{fileId}/comments/{commentId}",
148688
- "DELETE /v3/files/{fileId}/comments/{commentId}",
148689
- "GET /v3/files/{fileId}/comments/{commentId}/replies",
148690
- "POST /v3/files/{fileId}/comments/{commentId}/replies",
148691
- "GET /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148692
- "PATCH /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148693
- "DELETE /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148694
- "POST /v3/files/{fileId}/copy",
148695
- "POST /v3/files/{fileId}/download",
148696
- "GET /v3/files/{fileId}/export",
148697
- "GET /v3/files/{fileId}/listLabels",
148698
- "POST /v3/files/{fileId}/modifyLabels",
148699
- "GET /v3/files/{fileId}/permissions",
148700
- "POST /v3/files/{fileId}/permissions",
148701
- "GET /v3/files/{fileId}/permissions/{permissionId}",
148702
- "PATCH /v3/files/{fileId}/permissions/{permissionId}",
148703
- "DELETE /v3/files/{fileId}/permissions/{permissionId}",
148704
- "GET /v3/files/{fileId}/revisions",
148705
- "GET /v3/files/{fileId}/revisions/{revisionId}",
148706
- "PATCH /v3/files/{fileId}/revisions/{revisionId}",
148707
- "DELETE /v3/files/{fileId}/revisions/{revisionId}",
148708
- "POST /v3/files/{fileId}/watch",
148709
- "GET /v3/operations/{name}",
148710
- "GET /v3/teamdrives",
148711
148710
  "POST /v3/teamdrives",
148712
- "GET /v3/teamdrives/{teamDriveId}",
148713
- "PATCH /v3/teamdrives/{teamDriveId}",
148714
- "DELETE /v3/teamdrives/{teamDriveId}"
148711
+ "PATCH /v3/teamdrives/{teamDriveId}"
148715
148712
  ]
148716
148713
  },
148717
148714
  {
148718
- name: "drive.appdata",
148719
- description: "See, create, and delete its own configuration data in your Google Drive",
148715
+ name: "files.delete",
148716
+ description: "Delete, trash, untrash, and empty trashed Drive files.",
148717
+ rules: [
148718
+ "DELETE /v2/files/trash",
148719
+ "DELETE /v2/files/{fileId}",
148720
+ "POST /v2/files/{fileId}/trash",
148721
+ "POST /v2/files/{fileId}/untrash",
148722
+ "DELETE /v3/files/trash",
148723
+ "DELETE /v3/files/{fileId}"
148724
+ ]
148725
+ },
148726
+ {
148727
+ name: "files.read",
148728
+ description: "Read Drive files, file metadata, labels, and content.",
148720
148729
  rules: [
148721
- "GET /v2/about",
148722
- "GET /v2/apps/{appId}",
148723
- "GET /v2/changes",
148724
- "GET /v2/changes/startPageToken",
148725
- "POST /v2/changes/watch",
148726
- "GET /v2/changes/{changeId}",
148727
- "POST /v2/channels/stop",
148728
148730
  "GET /v2/files",
148729
- "POST /v2/files",
148731
+ "GET /v2/files/generateCseToken",
148730
148732
  "GET /v2/files/generateIds",
148731
148733
  "GET /v2/files/{fileId}",
148732
- "PUT /v2/files/{fileId}",
148733
- "PATCH /v2/files/{fileId}",
148734
- "DELETE /v2/files/{fileId}",
148735
- "POST /v2/files/{fileId}/copy",
148734
+ "GET /v2/files/{fileId}/export",
148735
+ "GET /v2/files/{fileId}/listLabels",
148736
148736
  "GET /v2/files/{fileId}/parents",
148737
- "POST /v2/files/{fileId}/parents",
148738
148737
  "GET /v2/files/{fileId}/parents/{parentId}",
148739
148738
  "GET /v2/files/{fileId}/properties",
148740
- "POST /v2/files/{fileId}/properties",
148741
148739
  "GET /v2/files/{fileId}/properties/{propertyKey}",
148742
- "PUT /v2/files/{fileId}/properties/{propertyKey}",
148743
- "PATCH /v2/files/{fileId}/properties/{propertyKey}",
148744
- "DELETE /v2/files/{fileId}/properties/{propertyKey}",
148745
- "GET /v2/files/{fileId}/revisions",
148746
- "GET /v2/files/{fileId}/revisions/{revisionId}",
148747
- "PUT /v2/files/{fileId}/revisions/{revisionId}",
148748
- "PATCH /v2/files/{fileId}/revisions/{revisionId}",
148749
- "DELETE /v2/files/{fileId}/revisions/{revisionId}",
148750
- "POST /v2/files/{fileId}/touch",
148751
- "POST /v2/files/{fileId}/trash",
148752
- "POST /v2/files/{fileId}/untrash",
148753
- "POST /v2/files/{fileId}/watch",
148754
148740
  "GET /v2/files/{folderId}/children",
148755
- "POST /v2/files/{folderId}/children",
148756
148741
  "GET /v2/files/{folderId}/children/{childId}",
148757
- "GET /v2/permissionIds/{email}",
148758
- "GET /v3/about",
148759
- "GET /v3/apps/{appId}",
148760
- "GET /v3/changes",
148761
- "GET /v3/changes/startPageToken",
148762
- "POST /v3/changes/watch",
148763
- "POST /v3/channels/stop",
148764
148742
  "GET /v3/files",
148765
- "POST /v3/files",
148743
+ "GET /v3/files/generateCseToken",
148766
148744
  "GET /v3/files/generateIds",
148767
148745
  "GET /v3/files/{fileId}",
148768
- "PATCH /v3/files/{fileId}",
148769
- "DELETE /v3/files/{fileId}",
148770
148746
  "GET /v3/files/{fileId}/approvals",
148771
148747
  "GET /v3/files/{fileId}/approvals/{approvalId}",
148772
- "POST /v3/files/{fileId}/copy",
148773
- "GET /v3/files/{fileId}/revisions",
148774
- "GET /v3/files/{fileId}/revisions/{revisionId}",
148775
- "PATCH /v3/files/{fileId}/revisions/{revisionId}",
148776
- "DELETE /v3/files/{fileId}/revisions/{revisionId}",
148777
- "POST /v3/files/{fileId}/watch"
148748
+ "POST /v3/files/{fileId}/download",
148749
+ "GET /v3/files/{fileId}/export",
148750
+ "GET /v3/files/{fileId}/listLabels"
148778
148751
  ]
148779
148752
  },
148780
148753
  {
148781
- name: "drive.apps.readonly",
148782
- description: "View your Google Drive apps",
148754
+ name: "files.share",
148755
+ description: "Read and manage Drive file permissions and access requests.",
148783
148756
  rules: [
148784
- "GET /v2/apps",
148785
- "GET /v2/apps/{appId}",
148786
- "GET /v2/changes",
148787
- "GET /v2/changes/startPageToken",
148788
- "POST /v2/changes/watch",
148789
- "GET /v2/changes/{changeId}",
148790
- "POST /v2/channels/stop",
148791
- "GET /v2/files",
148792
- "POST /v2/files",
148793
- "PUT /v2/files/{fileId}",
148794
- "PATCH /v2/files/{fileId}",
148795
- "POST /v2/files/{fileId}/copy",
148796
- "POST /v2/files/{fileId}/touch",
148797
- "POST /v2/files/{fileId}/trash",
148798
- "POST /v2/files/{fileId}/untrash",
148757
+ "GET /v2/files/{fileId}/permissions",
148758
+ "POST /v2/files/{fileId}/permissions",
148759
+ "GET /v2/files/{fileId}/permissions/{permissionId}",
148760
+ "PUT /v2/files/{fileId}/permissions/{permissionId}",
148761
+ "PATCH /v2/files/{fileId}/permissions/{permissionId}",
148762
+ "DELETE /v2/files/{fileId}/permissions/{permissionId}",
148799
148763
  "GET /v2/permissionIds/{email}",
148800
- "GET /v3/apps",
148801
- "GET /v3/apps/{appId}"
148764
+ "GET /v3/files/{fileId}/accessproposals",
148765
+ "GET /v3/files/{fileId}/accessproposals/{proposalId}",
148766
+ "POST /v3/files/{fileId}/accessproposals/{proposalId}:resolve",
148767
+ "GET /v3/files/{fileId}/permissions",
148768
+ "POST /v3/files/{fileId}/permissions",
148769
+ "GET /v3/files/{fileId}/permissions/{permissionId}",
148770
+ "PATCH /v3/files/{fileId}/permissions/{permissionId}",
148771
+ "DELETE /v3/files/{fileId}/permissions/{permissionId}"
148802
148772
  ]
148803
148773
  },
148804
148774
  {
148805
- name: "drive.file",
148806
- description: "See, edit, create, and delete only the specific Google Drive files you use with this app",
148775
+ name: "files.write",
148776
+ description: "Create, update, upload, copy, organize, and label files.",
148807
148777
  rules: [
148808
- "GET /v2/about",
148809
- "GET /v2/apps/{appId}",
148810
- "GET /v2/changes",
148811
- "GET /v2/changes/startPageToken",
148812
- "POST /v2/changes/watch",
148813
- "GET /v2/changes/{changeId}",
148814
- "POST /v2/channels/stop",
148815
- "GET /v2/files",
148816
148778
  "POST /v2/files",
148817
- "GET /v2/files/generateIds",
148818
- "GET /v2/files/{fileId}",
148819
148779
  "PUT /v2/files/{fileId}",
148820
148780
  "PATCH /v2/files/{fileId}",
148821
- "DELETE /v2/files/{fileId}",
148822
- "GET /v2/files/{fileId}/comments",
148823
- "POST /v2/files/{fileId}/comments",
148824
- "GET /v2/files/{fileId}/comments/{commentId}",
148825
- "PUT /v2/files/{fileId}/comments/{commentId}",
148826
- "PATCH /v2/files/{fileId}/comments/{commentId}",
148827
- "DELETE /v2/files/{fileId}/comments/{commentId}",
148828
- "GET /v2/files/{fileId}/comments/{commentId}/replies",
148829
- "POST /v2/files/{fileId}/comments/{commentId}/replies",
148830
- "GET /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148831
- "PUT /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148832
- "PATCH /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148833
- "DELETE /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148834
148781
  "POST /v2/files/{fileId}/copy",
148835
- "GET /v2/files/{fileId}/export",
148836
- "GET /v2/files/{fileId}/listLabels",
148837
148782
  "POST /v2/files/{fileId}/modifyLabels",
148838
- "GET /v2/files/{fileId}/parents",
148839
148783
  "POST /v2/files/{fileId}/parents",
148840
- "GET /v2/files/{fileId}/parents/{parentId}",
148841
148784
  "DELETE /v2/files/{fileId}/parents/{parentId}",
148842
- "GET /v2/files/{fileId}/permissions",
148843
- "POST /v2/files/{fileId}/permissions",
148844
- "GET /v2/files/{fileId}/permissions/{permissionId}",
148845
- "PUT /v2/files/{fileId}/permissions/{permissionId}",
148846
- "PATCH /v2/files/{fileId}/permissions/{permissionId}",
148847
- "DELETE /v2/files/{fileId}/permissions/{permissionId}",
148848
- "GET /v2/files/{fileId}/properties",
148849
148785
  "POST /v2/files/{fileId}/properties",
148850
- "GET /v2/files/{fileId}/properties/{propertyKey}",
148851
148786
  "PUT /v2/files/{fileId}/properties/{propertyKey}",
148852
148787
  "PATCH /v2/files/{fileId}/properties/{propertyKey}",
148853
148788
  "DELETE /v2/files/{fileId}/properties/{propertyKey}",
148854
- "GET /v2/files/{fileId}/revisions",
148855
- "GET /v2/files/{fileId}/revisions/{revisionId}",
148856
- "PUT /v2/files/{fileId}/revisions/{revisionId}",
148857
- "PATCH /v2/files/{fileId}/revisions/{revisionId}",
148858
- "DELETE /v2/files/{fileId}/revisions/{revisionId}",
148859
148789
  "POST /v2/files/{fileId}/touch",
148860
- "POST /v2/files/{fileId}/trash",
148861
- "POST /v2/files/{fileId}/untrash",
148862
- "POST /v2/files/{fileId}/watch",
148863
- "GET /v2/files/{folderId}/children",
148864
148790
  "POST /v2/files/{folderId}/children",
148865
- "GET /v2/files/{folderId}/children/{childId}",
148866
148791
  "DELETE /v2/files/{folderId}/children/{childId}",
148867
- "GET /v2/permissionIds/{email}",
148868
- "GET /v3/about",
148869
- "GET /v3/apps/{appId}",
148870
- "GET /v3/changes",
148871
- "GET /v3/changes/startPageToken",
148872
- "POST /v3/changes/watch",
148873
- "POST /v3/channels/stop",
148874
- "GET /v3/files",
148875
148792
  "POST /v3/files",
148876
- "GET /v3/files/generateIds",
148877
- "GET /v3/files/{fileId}",
148878
148793
  "PATCH /v3/files/{fileId}",
148879
- "DELETE /v3/files/{fileId}",
148880
- "GET /v3/files/{fileId}/accessproposals",
148881
- "GET /v3/files/{fileId}/accessproposals/{proposalId}",
148882
- "POST /v3/files/{fileId}/accessproposals/{proposalId}:resolve",
148883
- "GET /v3/files/{fileId}/approvals",
148884
- "GET /v3/files/{fileId}/approvals/{approvalId}",
148885
- "GET /v3/files/{fileId}/comments",
148886
- "POST /v3/files/{fileId}/comments",
148887
- "GET /v3/files/{fileId}/comments/{commentId}",
148888
- "PATCH /v3/files/{fileId}/comments/{commentId}",
148889
- "DELETE /v3/files/{fileId}/comments/{commentId}",
148890
- "GET /v3/files/{fileId}/comments/{commentId}/replies",
148891
- "POST /v3/files/{fileId}/comments/{commentId}/replies",
148892
- "GET /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148893
- "PATCH /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148894
- "DELETE /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148895
148794
  "POST /v3/files/{fileId}/copy",
148896
- "POST /v3/files/{fileId}/download",
148897
- "GET /v3/files/{fileId}/export",
148898
- "GET /v3/files/{fileId}/listLabels",
148899
- "POST /v3/files/{fileId}/modifyLabels",
148900
- "GET /v3/files/{fileId}/permissions",
148901
- "POST /v3/files/{fileId}/permissions",
148902
- "GET /v3/files/{fileId}/permissions/{permissionId}",
148903
- "PATCH /v3/files/{fileId}/permissions/{permissionId}",
148904
- "DELETE /v3/files/{fileId}/permissions/{permissionId}",
148905
- "GET /v3/files/{fileId}/revisions",
148906
- "GET /v3/files/{fileId}/revisions/{revisionId}",
148907
- "PATCH /v3/files/{fileId}/revisions/{revisionId}",
148908
- "DELETE /v3/files/{fileId}/revisions/{revisionId}",
148909
- "POST /v3/files/{fileId}/watch",
148910
- "GET /v3/operations/{name}"
148795
+ "POST /v3/files/{fileId}/modifyLabels"
148911
148796
  ]
148912
148797
  },
148913
148798
  {
148914
- name: "drive.meet.readonly",
148915
- description: "See and download your Google Drive files that were created or edited by Google Meet.",
148799
+ name: "operations.read",
148800
+ description: "Read long-running Drive operations.",
148916
148801
  rules: [
148917
- "GET /v2/changes",
148918
- "GET /v2/changes/startPageToken",
148919
- "POST /v2/changes/watch",
148920
- "GET /v2/changes/{changeId}",
148921
- "POST /v2/channels/stop",
148922
- "GET /v2/files",
148923
- "GET /v2/files/{fileId}",
148924
- "GET /v2/files/{fileId}/comments",
148925
- "GET /v2/files/{fileId}/comments/{commentId}",
148926
- "GET /v2/files/{fileId}/comments/{commentId}/replies",
148927
- "GET /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148928
- "GET /v2/files/{fileId}/export",
148929
- "GET /v2/files/{fileId}/listLabels",
148930
- "GET /v2/files/{fileId}/parents",
148931
- "GET /v2/files/{fileId}/parents/{parentId}",
148932
- "GET /v2/files/{fileId}/permissions",
148933
- "GET /v2/files/{fileId}/permissions/{permissionId}",
148934
- "GET /v2/files/{fileId}/properties",
148935
- "GET /v2/files/{fileId}/properties/{propertyKey}",
148936
- "GET /v2/files/{fileId}/revisions",
148937
- "GET /v2/files/{fileId}/revisions/{revisionId}",
148938
- "POST /v2/files/{fileId}/watch",
148939
- "GET /v2/files/{folderId}/children",
148940
- "GET /v2/files/{folderId}/children/{childId}",
148941
- "GET /v3/changes",
148942
- "GET /v3/changes/startPageToken",
148943
- "POST /v3/changes/watch",
148944
- "POST /v3/channels/stop",
148945
- "GET /v3/files",
148946
- "GET /v3/files/{fileId}",
148947
- "GET /v3/files/{fileId}/comments",
148948
- "GET /v3/files/{fileId}/comments/{commentId}",
148949
- "GET /v3/files/{fileId}/comments/{commentId}/replies",
148950
- "GET /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148951
- "GET /v3/files/{fileId}/export",
148952
- "GET /v3/files/{fileId}/listLabels",
148953
- "GET /v3/files/{fileId}/permissions",
148954
- "GET /v3/files/{fileId}/permissions/{permissionId}",
148955
- "GET /v3/files/{fileId}/revisions",
148956
- "GET /v3/files/{fileId}/revisions/{revisionId}",
148957
- "POST /v3/files/{fileId}/watch",
148958
148802
  "GET /v3/operations/{name}"
148959
148803
  ]
148960
148804
  },
148961
148805
  {
148962
- name: "drive.metadata",
148963
- description: "View and manage metadata of files in your Google Drive",
148806
+ name: "replies.read",
148807
+ description: "Read Drive comment replies.",
148964
148808
  rules: [
148965
- "GET /v2/about",
148966
- "GET /v2/apps/{appId}",
148967
- "GET /v2/changes",
148968
- "GET /v2/changes/startPageToken",
148969
- "POST /v2/changes/watch",
148970
- "GET /v2/changes/{changeId}",
148971
- "POST /v2/channels/stop",
148972
- "GET /v2/files",
148973
- "GET /v2/files/{fileId}",
148974
- "PUT /v2/files/{fileId}",
148975
- "PATCH /v2/files/{fileId}",
148976
- "GET /v2/files/{fileId}/listLabels",
148977
- "POST /v2/files/{fileId}/modifyLabels",
148978
- "GET /v2/files/{fileId}/parents",
148979
- "GET /v2/files/{fileId}/parents/{parentId}",
148980
- "GET /v2/files/{fileId}/permissions",
148981
- "GET /v2/files/{fileId}/permissions/{permissionId}",
148982
- "GET /v2/files/{fileId}/properties",
148983
- "POST /v2/files/{fileId}/properties",
148984
- "GET /v2/files/{fileId}/properties/{propertyKey}",
148985
- "PUT /v2/files/{fileId}/properties/{propertyKey}",
148986
- "PATCH /v2/files/{fileId}/properties/{propertyKey}",
148987
- "DELETE /v2/files/{fileId}/properties/{propertyKey}",
148988
- "GET /v2/files/{fileId}/revisions",
148989
- "GET /v2/files/{fileId}/revisions/{revisionId}",
148990
- "POST /v2/files/{fileId}/touch",
148991
- "POST /v2/files/{fileId}/watch",
148992
- "GET /v2/files/{folderId}/children",
148993
- "GET /v2/files/{folderId}/children/{childId}",
148994
- "GET /v2/permissionIds/{email}",
148995
- "GET /v3/about",
148996
- "GET /v3/apps/{appId}",
148997
- "GET /v3/changes",
148998
- "GET /v3/changes/startPageToken",
148999
- "POST /v3/changes/watch",
149000
- "POST /v3/channels/stop",
149001
- "GET /v3/files",
149002
- "GET /v3/files/{fileId}",
149003
- "PATCH /v3/files/{fileId}",
149004
- "GET /v3/files/{fileId}/accessproposals",
149005
- "GET /v3/files/{fileId}/accessproposals/{proposalId}",
149006
- "GET /v3/files/{fileId}/approvals",
149007
- "GET /v3/files/{fileId}/approvals/{approvalId}",
149008
- "GET /v3/files/{fileId}/listLabels",
149009
- "POST /v3/files/{fileId}/modifyLabels",
149010
- "GET /v3/files/{fileId}/permissions",
149011
- "GET /v3/files/{fileId}/permissions/{permissionId}",
149012
- "GET /v3/files/{fileId}/revisions",
149013
- "GET /v3/files/{fileId}/revisions/{revisionId}",
149014
- "POST /v3/files/{fileId}/watch"
148809
+ "GET /v2/files/{fileId}/comments/{commentId}/replies",
148810
+ "GET /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148811
+ "GET /v3/files/{fileId}/comments/{commentId}/replies",
148812
+ "GET /v3/files/{fileId}/comments/{commentId}/replies/{replyId}"
149015
148813
  ]
149016
148814
  },
149017
148815
  {
149018
- name: "drive.metadata.readonly",
149019
- description: "See information about your Google Drive files",
148816
+ name: "replies.write",
148817
+ description: "Create, update, and delete Drive comment replies.",
149020
148818
  rules: [
149021
- "GET /v2/about",
149022
- "GET /v2/apps/{appId}",
149023
- "GET /v2/changes",
149024
- "GET /v2/changes/startPageToken",
149025
- "POST /v2/changes/watch",
149026
- "GET /v2/changes/{changeId}",
149027
- "POST /v2/channels/stop",
149028
- "GET /v2/files",
149029
- "GET /v2/files/{fileId}",
149030
- "GET /v2/files/{fileId}/listLabels",
149031
- "GET /v2/files/{fileId}/parents",
149032
- "GET /v2/files/{fileId}/parents/{parentId}",
149033
- "GET /v2/files/{fileId}/permissions",
149034
- "GET /v2/files/{fileId}/permissions/{permissionId}",
149035
- "GET /v2/files/{fileId}/properties",
149036
- "GET /v2/files/{fileId}/properties/{propertyKey}",
149037
- "GET /v2/files/{fileId}/revisions",
149038
- "GET /v2/files/{fileId}/revisions/{revisionId}",
149039
- "POST /v2/files/{fileId}/watch",
149040
- "GET /v2/files/{folderId}/children",
149041
- "GET /v2/files/{folderId}/children/{childId}",
149042
- "GET /v2/permissionIds/{email}",
149043
- "GET /v3/about",
149044
- "GET /v3/apps/{appId}",
149045
- "GET /v3/changes",
149046
- "GET /v3/changes/startPageToken",
149047
- "POST /v3/changes/watch",
149048
- "POST /v3/channels/stop",
149049
- "GET /v3/files",
149050
- "GET /v3/files/{fileId}",
149051
- "GET /v3/files/{fileId}/accessproposals",
149052
- "GET /v3/files/{fileId}/accessproposals/{proposalId}",
149053
- "GET /v3/files/{fileId}/approvals",
149054
- "GET /v3/files/{fileId}/approvals/{approvalId}",
149055
- "GET /v3/files/{fileId}/listLabels",
149056
- "GET /v3/files/{fileId}/permissions",
149057
- "GET /v3/files/{fileId}/permissions/{permissionId}",
149058
- "GET /v3/files/{fileId}/revisions",
149059
- "GET /v3/files/{fileId}/revisions/{revisionId}",
149060
- "POST /v3/files/{fileId}/watch"
148819
+ "POST /v2/files/{fileId}/comments/{commentId}/replies",
148820
+ "PUT /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148821
+ "PATCH /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148822
+ "DELETE /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
148823
+ "POST /v3/files/{fileId}/comments/{commentId}/replies",
148824
+ "PATCH /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
148825
+ "DELETE /v3/files/{fileId}/comments/{commentId}/replies/{replyId}"
149061
148826
  ]
149062
148827
  },
149063
148828
  {
149064
- name: "drive.photos.readonly",
149065
- description: "View the photos, videos and albums in your Google Photos",
148829
+ name: "revisions.delete",
148830
+ description: "Delete Drive file revisions.",
149066
148831
  rules: [
149067
- "GET /v2/about",
149068
- "GET /v2/changes",
149069
- "GET /v2/changes/startPageToken",
149070
- "POST /v2/changes/watch",
149071
- "GET /v2/changes/{changeId}",
149072
- "POST /v2/channels/stop",
149073
- "GET /v2/files",
149074
- "GET /v2/files/{fileId}",
149075
- "POST /v2/files/{fileId}/copy",
149076
- "GET /v2/files/{fileId}/parents",
149077
- "GET /v2/files/{fileId}/parents/{parentId}",
149078
- "GET /v2/files/{fileId}/permissions",
149079
- "GET /v2/files/{fileId}/permissions/{permissionId}",
149080
- "GET /v2/files/{fileId}/properties",
149081
- "GET /v2/files/{fileId}/properties/{propertyKey}",
149082
- "GET /v2/files/{fileId}/revisions",
149083
- "GET /v2/files/{fileId}/revisions/{revisionId}",
149084
- "POST /v2/files/{fileId}/watch",
149085
- "GET /v2/files/{folderId}/children",
149086
- "GET /v2/files/{folderId}/children/{childId}",
149087
- "GET /v2/permissionIds/{email}",
149088
- "GET /v3/about",
149089
- "GET /v3/changes",
149090
- "GET /v3/changes/startPageToken",
149091
- "POST /v3/changes/watch",
149092
- "POST /v3/channels/stop",
149093
- "GET /v3/files",
149094
- "GET /v3/files/{fileId}",
149095
- "POST /v3/files/{fileId}/copy",
149096
- "GET /v3/files/{fileId}/permissions",
149097
- "GET /v3/files/{fileId}/permissions/{permissionId}",
149098
- "GET /v3/files/{fileId}/revisions",
149099
- "GET /v3/files/{fileId}/revisions/{revisionId}",
149100
- "POST /v3/files/{fileId}/watch"
148832
+ "DELETE /v2/files/{fileId}/revisions/{revisionId}",
148833
+ "DELETE /v3/files/{fileId}/revisions/{revisionId}"
149101
148834
  ]
149102
148835
  },
149103
148836
  {
149104
- name: "drive.readonly",
149105
- description: "See and download all your Google Drive files",
148837
+ name: "revisions.read",
148838
+ description: "Read Drive file revisions.",
149106
148839
  rules: [
149107
- "GET /v2/about",
149108
- "GET /v2/apps/{appId}",
149109
- "GET /v2/changes",
149110
- "GET /v2/changes/startPageToken",
149111
- "POST /v2/changes/watch",
149112
- "GET /v2/changes/{changeId}",
149113
- "POST /v2/channels/stop",
149114
- "GET /v2/drives",
149115
- "GET /v2/drives/{driveId}",
149116
- "GET /v2/files",
149117
- "GET /v2/files/{fileId}",
149118
- "GET /v2/files/{fileId}/comments",
149119
- "GET /v2/files/{fileId}/comments/{commentId}",
149120
- "GET /v2/files/{fileId}/comments/{commentId}/replies",
149121
- "GET /v2/files/{fileId}/comments/{commentId}/replies/{replyId}",
149122
- "GET /v2/files/{fileId}/export",
149123
- "GET /v2/files/{fileId}/listLabels",
149124
- "GET /v2/files/{fileId}/parents",
149125
- "GET /v2/files/{fileId}/parents/{parentId}",
149126
- "GET /v2/files/{fileId}/permissions",
149127
- "GET /v2/files/{fileId}/permissions/{permissionId}",
149128
- "GET /v2/files/{fileId}/properties",
149129
- "GET /v2/files/{fileId}/properties/{propertyKey}",
149130
148840
  "GET /v2/files/{fileId}/revisions",
149131
148841
  "GET /v2/files/{fileId}/revisions/{revisionId}",
149132
- "POST /v2/files/{fileId}/watch",
149133
- "GET /v2/files/{folderId}/children",
149134
- "GET /v2/files/{folderId}/children/{childId}",
149135
- "GET /v2/permissionIds/{email}",
149136
- "GET /v2/teamdrives",
149137
- "GET /v2/teamdrives/{teamDriveId}",
149138
- "GET /v3/about",
149139
- "GET /v3/apps/{appId}",
149140
- "GET /v3/changes",
149141
- "GET /v3/changes/startPageToken",
149142
- "POST /v3/changes/watch",
149143
- "POST /v3/channels/stop",
149144
- "GET /v3/drives",
149145
- "GET /v3/drives/{driveId}",
149146
- "GET /v3/files",
149147
- "GET /v3/files/{fileId}",
149148
- "GET /v3/files/{fileId}/accessproposals",
149149
- "GET /v3/files/{fileId}/accessproposals/{proposalId}",
149150
- "GET /v3/files/{fileId}/approvals",
149151
- "GET /v3/files/{fileId}/approvals/{approvalId}",
149152
- "GET /v3/files/{fileId}/comments",
149153
- "GET /v3/files/{fileId}/comments/{commentId}",
149154
- "GET /v3/files/{fileId}/comments/{commentId}/replies",
149155
- "GET /v3/files/{fileId}/comments/{commentId}/replies/{replyId}",
149156
- "POST /v3/files/{fileId}/download",
149157
- "GET /v3/files/{fileId}/export",
149158
- "GET /v3/files/{fileId}/listLabels",
149159
- "GET /v3/files/{fileId}/permissions",
149160
- "GET /v3/files/{fileId}/permissions/{permissionId}",
149161
148842
  "GET /v3/files/{fileId}/revisions",
149162
- "GET /v3/files/{fileId}/revisions/{revisionId}",
149163
- "POST /v3/files/{fileId}/watch",
149164
- "GET /v3/operations/{name}",
149165
- "GET /v3/teamdrives",
149166
- "GET /v3/teamdrives/{teamDriveId}"
148843
+ "GET /v3/files/{fileId}/revisions/{revisionId}"
149167
148844
  ]
149168
148845
  },
149169
148846
  {
149170
- name: "drive.scripts",
149171
- description: "Modify your Google Apps Script scripts' behavior",
148847
+ name: "revisions.write",
148848
+ description: "Update Drive file revisions.",
149172
148849
  rules: [
149173
- "PUT /v2/files/{fileId}",
149174
- "PATCH /v2/files/{fileId}",
149175
- "PATCH /v3/files/{fileId}"
148850
+ "PUT /v2/files/{fileId}/revisions/{revisionId}",
148851
+ "PATCH /v2/files/{fileId}/revisions/{revisionId}",
148852
+ "PATCH /v3/files/{fileId}/revisions/{revisionId}"
149176
148853
  ]
149177
148854
  }
149178
148855
  ]
@@ -149181,63 +148858,19 @@ var googleDriveFirewall = {
149181
148858
  base: "https://www.googleapis.com/upload/drive",
149182
148859
  auth: {
149183
148860
  headers: {
149184
- "Authorization": "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
148861
+ Authorization: "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
149185
148862
  }
149186
148863
  },
149187
148864
  permissions: [
149188
148865
  {
149189
- name: "drive",
149190
- description: "See, edit, create, and delete all of your Google Drive files",
149191
- rules: [
149192
- "POST /v2/files",
149193
- "PUT /v2/files/{fileId}",
149194
- "POST /v3/files",
149195
- "PATCH /v3/files/{fileId}"
149196
- ]
149197
- },
149198
- {
149199
- name: "drive.appdata",
149200
- description: "See, create, and delete its own configuration data in your Google Drive",
148866
+ name: "files.write",
148867
+ description: "Create, update, upload, copy, organize, and label files.",
149201
148868
  rules: [
149202
148869
  "POST /v2/files",
149203
148870
  "PUT /v2/files/{fileId}",
149204
148871
  "POST /v3/files",
149205
148872
  "PATCH /v3/files/{fileId}"
149206
148873
  ]
149207
- },
149208
- {
149209
- name: "drive.apps.readonly",
149210
- description: "View your Google Drive apps",
149211
- rules: [
149212
- "POST /v2/files",
149213
- "PUT /v2/files/{fileId}"
149214
- ]
149215
- },
149216
- {
149217
- name: "drive.file",
149218
- description: "See, edit, create, and delete only the specific Google Drive files you use with this app",
149219
- rules: [
149220
- "POST /v2/files",
149221
- "PUT /v2/files/{fileId}",
149222
- "POST /v3/files",
149223
- "PATCH /v3/files/{fileId}"
149224
- ]
149225
- },
149226
- {
149227
- name: "drive.metadata",
149228
- description: "View and manage metadata of files in your Google Drive",
149229
- rules: [
149230
- "PUT /v2/files/{fileId}",
149231
- "PATCH /v3/files/{fileId}"
149232
- ]
149233
- },
149234
- {
149235
- name: "drive.scripts",
149236
- description: "Modify your Google Apps Script scripts' behavior",
149237
- rules: [
149238
- "PUT /v2/files/{fileId}",
149239
- "PATCH /v3/files/{fileId}"
149240
- ]
149241
148874
  }
149242
148875
  ]
149243
148876
  },
@@ -149245,68 +148878,36 @@ var googleDriveFirewall = {
149245
148878
  base: "https://www.googleapis.com/resumable/upload/drive",
149246
148879
  auth: {
149247
148880
  headers: {
149248
- "Authorization": "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
148881
+ Authorization: "Bearer ${{ secrets.GOOGLE_DRIVE_TOKEN }}"
149249
148882
  }
149250
148883
  },
149251
148884
  permissions: [
149252
148885
  {
149253
- name: "drive",
149254
- description: "See, edit, create, and delete all of your Google Drive files",
148886
+ name: "files.write",
148887
+ description: "Create, update, upload, copy, organize, and label files.",
149255
148888
  rules: [
149256
148889
  "POST /v2/files",
149257
148890
  "PUT /v2/files/{fileId}",
149258
148891
  "POST /v3/files",
149259
148892
  "PATCH /v3/files/{fileId}"
149260
148893
  ]
149261
- },
149262
- {
149263
- name: "drive.appdata",
149264
- description: "See, create, and delete its own configuration data in your Google Drive",
149265
- rules: [
149266
- "POST /v2/files",
149267
- "PUT /v2/files/{fileId}",
149268
- "POST /v3/files",
149269
- "PATCH /v3/files/{fileId}"
149270
- ]
149271
- },
149272
- {
149273
- name: "drive.apps.readonly",
149274
- description: "View your Google Drive apps",
149275
- rules: [
149276
- "POST /v2/files",
149277
- "PUT /v2/files/{fileId}"
149278
- ]
149279
- },
149280
- {
149281
- name: "drive.file",
149282
- description: "See, edit, create, and delete only the specific Google Drive files you use with this app",
149283
- rules: [
149284
- "POST /v2/files",
149285
- "PUT /v2/files/{fileId}",
149286
- "POST /v3/files",
149287
- "PATCH /v3/files/{fileId}"
149288
- ]
149289
- },
149290
- {
149291
- name: "drive.metadata",
149292
- description: "View and manage metadata of files in your Google Drive",
149293
- rules: [
149294
- "PUT /v2/files/{fileId}",
149295
- "PATCH /v3/files/{fileId}"
149296
- ]
149297
- },
149298
- {
149299
- name: "drive.scripts",
149300
- description: "Modify your Google Apps Script scripts' behavior",
149301
- rules: [
149302
- "PUT /v2/files/{fileId}",
149303
- "PATCH /v3/files/{fileId}"
149304
- ]
149305
148894
  }
149306
148895
  ]
149307
148896
  }
149308
148897
  ]
149309
148898
  };
148899
+ var googleDriveDefaultAllowed = [
148900
+ "about.read",
148901
+ "apps.read",
148902
+ "changes.read",
148903
+ "comments.read",
148904
+ "drives.read",
148905
+ "files.read",
148906
+ "operations.read",
148907
+ "replies.read",
148908
+ "revisions.read"
148909
+ ];
148910
+ var googleDriveDefaultUnknownPolicy = "deny";
149310
148911
 
149311
148912
  // ../../packages/connectors/src/firewalls/google-meet.generated.ts
149312
148913
  init_esm_shims();
@@ -158450,6 +158051,7 @@ var DEFAULT_ALLOWED = {
158450
158051
  clerk: clerkDefaultAllowed,
158451
158052
  cloudflare: cloudflareDefaultAllowed,
158452
158053
  "google-cloud": googleCloudDefaultAllowed,
158054
+ "google-drive": googleDriveDefaultAllowed,
158453
158055
  gmail: gmailDefaultAllowed,
158454
158056
  maskdb: maskdbDefaultAllowed,
158455
158057
  slack: slackDefaultAllowed,
@@ -158458,6 +158060,7 @@ var DEFAULT_ALLOWED = {
158458
158060
  var DEFAULT_UNKNOWN_POLICY = {
158459
158061
  cloudflare: cloudflareDefaultUnknownPolicy,
158460
158062
  "google-cloud": googleCloudDefaultUnknownPolicy,
158063
+ "google-drive": googleDriveDefaultUnknownPolicy,
158461
158064
  maskdb: maskdbDefaultUnknownPolicy
158462
158065
  };
158463
158066
  function getDefaultFirewallPolicies(type) {
@@ -164839,12 +164442,6 @@ var FEATURE_SWITCHES = {
164839
164442
  enabled: false,
164840
164443
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
164841
164444
  },
164842
- ["connectorReconnectReasons" /* ConnectorReconnectReasons */]: {
164843
- maintainer: "liangyou@vm0.ai",
164844
- description: "Show explanatory tooltip help for connectors that need reconnect.",
164845
- enabled: false,
164846
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
164847
- },
164848
164445
  ["automationWebhookTriggers" /* AutomationWebhookTriggers */]: {
164849
164446
  maintainer: "lancy@vm0.ai",
164850
164447
  description: "Allow webhook triggers on automations: creating them (API + CLI sugar), the inbound dispatch endpoint, and secret rotation. Webhook triggers are a NEW capability on top of the schedule-parity automation surface; while off, automations are feature-equivalent to legacy schedules (time triggers only).",
@@ -166469,6 +166066,7 @@ export {
166469
166066
  detachWorkflowFromAgent,
166470
166067
  setWorkflowAgents,
166471
166068
  createGoal,
166069
+ editGoal,
166472
166070
  getGoal,
166473
166071
  completeGoal,
166474
166072
  blockGoal,
@@ -166610,4 +166208,4 @@ undici/lib/web/fetch/body.js:
166610
166208
  undici/lib/web/websocket/frame.js:
166611
166209
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
166612
166210
  */
166613
- //# sourceMappingURL=chunk-YMC5XY7J.js.map
166211
+ //# sourceMappingURL=chunk-DLDLLT36.js.map