@togglhq/cli 1.13.223 → 1.13.225

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/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Bcsbm6wK.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-bTXNSlbG.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import { dirname, join } from "node:path";
5
5
  import { fileURLToPath } from "node:url";
package/build/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-Bcsbm6wK.js";
1
+ import { t as createProgram } from "./program-bTXNSlbG.js";
2
2
  export { createProgram };
@@ -15516,6 +15516,17 @@ async function runAiView(httpClient, organization_id, workspace_id, data, produc
15516
15516
  })).json();
15517
15517
  }
15518
15518
  //#endregion
15519
+ //#region ../focus-queries/dist/archival/requests.ts
15520
+ async function getUpcomingArchivalGroupsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page } = {}, signal) {
15521
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archival/upcoming`, {
15522
+ signal,
15523
+ searchParams: buildSearchParams$2({
15524
+ page,
15525
+ per_page
15526
+ })
15527
+ })).json();
15528
+ }
15529
+ //#endregion
15519
15530
  //#region ../focus-queries/dist/archived-clients/requests.ts
15520
15531
  async function getArchivedClientsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name } = {}, signal) {
15521
15532
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients`, {
@@ -18539,6 +18550,36 @@ const generatedFocusOperations = [
18539
18550
  return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
18540
18551
  }
18541
18552
  },
18553
+ {
18554
+ id: "focus.archival.get-upcoming-archival-groups",
18555
+ family: "focus",
18556
+ resource: "archival",
18557
+ action: "get-upcoming-archival-groups",
18558
+ title: "Get Upcoming Archival Groups Archival",
18559
+ description: "Get Upcoming Archival Groups Archival.",
18560
+ safety: "read",
18561
+ destructive: false,
18562
+ cli: {
18563
+ group: ["archival"],
18564
+ command: "get-upcoming-archival-groups",
18565
+ interactive: "hidden"
18566
+ },
18567
+ mcp: { entityTool: "archival" },
18568
+ inputSchema: /* @__PURE__ */ looseObject({
18569
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
18570
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
18571
+ }),
18572
+ execute: (input, { client }) => {
18573
+ const data = input;
18574
+ return client.runGeneratedRequest("getUpcomingArchivalGroupsClassic", () => callGeneratedRequest(getUpcomingArchivalGroupsClassic, [
18575
+ client.httpClient,
18576
+ client.organizationId,
18577
+ client.workspaceIdNumber,
18578
+ data,
18579
+ void 0
18580
+ ]));
18581
+ }
18582
+ },
18542
18583
  {
18543
18584
  id: "focus.archived-clients.get",
18544
18585
  family: "focus",
@@ -33888,4 +33929,4 @@ Common commands:
33888
33929
  //#endregion
33889
33930
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
33890
33931
 
33891
- //# sourceMappingURL=program-Bcsbm6wK.js.map
33932
+ //# sourceMappingURL=program-bTXNSlbG.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-Bcsbm6wK.js";
1
+ import { t as createProgram } from "./program-bTXNSlbG.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.223",
3
+ "version": "1.13.225",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",