@workbuddy/cli-vnext 1.0.169 → 1.0.170

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.
Files changed (2) hide show
  1. package/dist/index.js +243 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26702,6 +26702,81 @@ Requires scope: settings:read`,
26702
26702
  ],
26703
26703
  hasRequestBody: true
26704
26704
  },
26705
+ {
26706
+ operationId: "PublicApiWebhookV2Controller_registerForm",
26707
+ displayName: "Register a form webhook",
26708
+ description: "Register a form webhook",
26709
+ method: "POST",
26710
+ path: "/webhooks/forms",
26711
+ commandPath: ["webhooks", "register-form"],
26712
+ options: [
26713
+ {
26714
+ name: "name",
26715
+ cliName: "name",
26716
+ optionKey: "name",
26717
+ source: "body",
26718
+ type: "string",
26719
+ required: true,
26720
+ description: "Display name"
26721
+ },
26722
+ {
26723
+ name: "url",
26724
+ cliName: "url",
26725
+ optionKey: "url",
26726
+ source: "body",
26727
+ type: "string",
26728
+ required: true,
26729
+ description: "Webhook callback URL",
26730
+ format: "uri"
26731
+ },
26732
+ {
26733
+ name: "events",
26734
+ cliName: "events",
26735
+ optionKey: "events",
26736
+ source: "body",
26737
+ type: "array",
26738
+ required: true,
26739
+ description: "Event names to subscribe to"
26740
+ },
26741
+ {
26742
+ name: "filters",
26743
+ cliName: "filters",
26744
+ optionKey: "filters",
26745
+ source: "body",
26746
+ type: "object",
26747
+ required: false,
26748
+ description: ""
26749
+ },
26750
+ {
26751
+ name: "businessHours",
26752
+ cliName: "business-hours",
26753
+ optionKey: "businessHours",
26754
+ source: "body",
26755
+ type: "object",
26756
+ required: false,
26757
+ description: ""
26758
+ },
26759
+ {
26760
+ name: "workflow",
26761
+ cliName: "workflow",
26762
+ optionKey: "workflow",
26763
+ source: "body",
26764
+ type: "object",
26765
+ required: false,
26766
+ description: ""
26767
+ },
26768
+ {
26769
+ name: "raw-body",
26770
+ cliName: "raw-body",
26771
+ optionKey: "rawBody",
26772
+ source: "body",
26773
+ type: "object",
26774
+ required: false,
26775
+ description: "Raw request body JSON (overrides individual fields)"
26776
+ }
26777
+ ],
26778
+ hasRequestBody: true
26779
+ },
26705
26780
  {
26706
26781
  operationId: "PublicApiWebhookV2Controller_regenerateSecret",
26707
26782
  displayName: "Regenerate the signing secret for a webhook subscription",
@@ -35566,6 +35641,174 @@ Requires scope: settings:read`,
35566
35641
  }
35567
35642
  ]
35568
35643
  },
35644
+ {
35645
+ operationId: "PublicApiReportController_list",
35646
+ displayName: "List reports",
35647
+ description: "Saved reports the token may see: every report for an application token; for a user token, public reports, the person's own and those shared with them (every report for a System Administrator).",
35648
+ method: "GET",
35649
+ path: "/reports",
35650
+ commandPath: ["reports", "list"],
35651
+ options: [
35652
+ {
35653
+ name: "categoryId",
35654
+ cliName: "category-id",
35655
+ optionKey: "categoryId",
35656
+ source: "query",
35657
+ type: "string",
35658
+ required: false,
35659
+ description: "Only reports in this report category."
35660
+ },
35661
+ {
35662
+ name: "search",
35663
+ cliName: "search",
35664
+ optionKey: "search",
35665
+ source: "query",
35666
+ type: "string",
35667
+ required: false,
35668
+ description: "Text matched anywhere in the report name, ignoring case."
35669
+ },
35670
+ {
35671
+ name: "cursor",
35672
+ cliName: "cursor",
35673
+ optionKey: "cursor",
35674
+ source: "query",
35675
+ type: "string",
35676
+ required: false,
35677
+ description: ""
35678
+ },
35679
+ {
35680
+ name: "limit",
35681
+ cliName: "limit",
35682
+ optionKey: "limit",
35683
+ source: "query",
35684
+ type: "integer",
35685
+ required: false,
35686
+ description: "Page size, from 1 to 200. Defaults to 50."
35687
+ }
35688
+ ],
35689
+ hasRequestBody: false,
35690
+ responseFields: [
35691
+ {
35692
+ name: "items",
35693
+ type: "array"
35694
+ },
35695
+ {
35696
+ name: "pagination",
35697
+ type: "object"
35698
+ }
35699
+ ]
35700
+ },
35701
+ {
35702
+ operationId: "PublicApiReportController_execute",
35703
+ displayName: "Run a report",
35704
+ description: "Streams the saved report's rows as NDJSON (application/x-ndjson): one JSON object per line holding the report's columns. At most the tenant report row limit is returned. A report the token may not see answers 404, as a missing one does.",
35705
+ method: "POST",
35706
+ path: "/reports/{id}/execute",
35707
+ commandPath: ["reports", "execute"],
35708
+ options: [
35709
+ {
35710
+ name: "id",
35711
+ cliName: "id",
35712
+ optionKey: "id",
35713
+ source: "path",
35714
+ type: "string",
35715
+ required: true,
35716
+ description: "Report ID"
35717
+ },
35718
+ {
35719
+ name: "limit",
35720
+ cliName: "limit",
35721
+ optionKey: "limit",
35722
+ source: "body",
35723
+ type: "integer",
35724
+ required: false,
35725
+ description: "Most rows to return. The tenant report row limit applies when absent or larger."
35726
+ },
35727
+ {
35728
+ name: "raw-body",
35729
+ cliName: "raw-body",
35730
+ optionKey: "rawBody",
35731
+ source: "body",
35732
+ type: "object",
35733
+ required: false,
35734
+ description: "Raw request body JSON (overrides individual fields)"
35735
+ }
35736
+ ],
35737
+ hasRequestBody: true
35738
+ },
35739
+ {
35740
+ operationId: "PublicApiReportController_export",
35741
+ displayName: "Export a report",
35742
+ description: "Writes the saved report's rows to an NDJSON file and returns the row count, the first rows as a preview and a download link. GET download.url without an Authorization header to fetch the file; the link expires after 30 minutes. At most the tenant report row limit is exported. A report the token may not see answers 404, as a missing one does.",
35743
+ method: "POST",
35744
+ path: "/reports/{id}/export",
35745
+ commandPath: ["reports", "export"],
35746
+ options: [
35747
+ {
35748
+ name: "id",
35749
+ cliName: "id",
35750
+ optionKey: "id",
35751
+ source: "path",
35752
+ type: "string",
35753
+ required: true,
35754
+ description: "Report ID"
35755
+ },
35756
+ {
35757
+ name: "limit",
35758
+ cliName: "limit",
35759
+ optionKey: "limit",
35760
+ source: "body",
35761
+ type: "integer",
35762
+ required: false,
35763
+ description: "Most rows to export. The tenant report row limit applies when absent or larger."
35764
+ },
35765
+ {
35766
+ name: "previewRows",
35767
+ cliName: "preview-rows",
35768
+ optionKey: "previewRows",
35769
+ source: "body",
35770
+ type: "integer",
35771
+ required: false,
35772
+ description: "How many of the first rows to return inline as a preview, from 0 to 100. Defaults to 20."
35773
+ },
35774
+ {
35775
+ name: "raw-body",
35776
+ cliName: "raw-body",
35777
+ optionKey: "rawBody",
35778
+ source: "body",
35779
+ type: "object",
35780
+ required: false,
35781
+ description: "Raw request body JSON (overrides individual fields)"
35782
+ }
35783
+ ],
35784
+ hasRequestBody: true,
35785
+ responseFields: [
35786
+ {
35787
+ name: "item",
35788
+ type: "object"
35789
+ }
35790
+ ]
35791
+ },
35792
+ {
35793
+ operationId: "PublicApiReportDownloadController_download",
35794
+ displayName: "Download a report export",
35795
+ description: "Streams a report export file as NDJSON (application/x-ndjson). The link comes from POST /reports/{id}/export and is its own credential: send no Authorization header. It expires 30 minutes after the export.",
35796
+ method: "GET",
35797
+ path: "/reports/exports/{token}",
35798
+ commandPath: ["reports", "exports", "get"],
35799
+ options: [
35800
+ {
35801
+ name: "token",
35802
+ cliName: "token",
35803
+ optionKey: "token",
35804
+ source: "path",
35805
+ type: "string",
35806
+ required: true,
35807
+ description: "The signed token from download.url"
35808
+ }
35809
+ ],
35810
+ hasRequestBody: false
35811
+ },
35569
35812
  {
35570
35813
  operationId: "McpV3StreamableController_handleGet",
35571
35814
  displayName: "MCP SSE stream (not supported)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/cli-vnext",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "WorkBuddy command line interface",
5
5
  "license": "MIT",
6
6
  "type": "module",