@togglhq/cli 1.11.208 → 1.11.210
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-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-CNR-mRc7.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-
|
|
1
|
+
import { t as createProgram } from "./program-CNR-mRc7.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -16089,6 +16089,14 @@ async function serviceVersion(httpClient, signal) {
|
|
|
16089
16089
|
return await httpClient.get(`version`, { signal }).json();
|
|
16090
16090
|
}
|
|
16091
16091
|
//#endregion
|
|
16092
|
+
//#region ../focus-queries/dist/work-preparation/requests.ts
|
|
16093
|
+
async function getWorkPreparationClassic(httpClient, organization_id, workspace_id, { page } = {}, signal) {
|
|
16094
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/work-preparation`, {
|
|
16095
|
+
signal,
|
|
16096
|
+
searchParams: buildSearchParams$2({ page })
|
|
16097
|
+
}).json();
|
|
16098
|
+
}
|
|
16099
|
+
//#endregion
|
|
16092
16100
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
16093
16101
|
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
16094
16102
|
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
@@ -27154,7 +27162,8 @@ const generatedFocusOperations = [
|
|
|
27154
27162
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
27155
27163
|
welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
27156
27164
|
whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
27157
|
-
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
27165
|
+
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
27166
|
+
work_preparation_reminders_disabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
27158
27167
|
}) }),
|
|
27159
27168
|
execute: (input, { client }) => {
|
|
27160
27169
|
const data = input;
|
|
@@ -27199,10 +27208,10 @@ const generatedFocusOperations = [
|
|
|
27199
27208
|
cli: {
|
|
27200
27209
|
group: ["users", "workspace-settings"],
|
|
27201
27210
|
command: "partial-update",
|
|
27202
|
-
interactive: "
|
|
27211
|
+
interactive: "default"
|
|
27203
27212
|
},
|
|
27204
27213
|
mcp: { entityTool: "users" },
|
|
27205
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */
|
|
27214
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()) }) }),
|
|
27206
27215
|
execute: (input, { client }) => {
|
|
27207
27216
|
const data = input;
|
|
27208
27217
|
return client.runGeneratedRequest("partialUpdateUserWorkspaceSettings", () => callGeneratedRequest(partialUpdateUserWorkspaceSettings, [
|
|
@@ -27231,6 +27240,33 @@ const generatedFocusOperations = [
|
|
|
27231
27240
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
27232
27241
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
27233
27242
|
},
|
|
27243
|
+
{
|
|
27244
|
+
id: "focus.work-preparation.get",
|
|
27245
|
+
family: "focus",
|
|
27246
|
+
resource: "work-preparation",
|
|
27247
|
+
action: "get",
|
|
27248
|
+
title: "Get Work Preparation",
|
|
27249
|
+
description: "Get Work Preparation.",
|
|
27250
|
+
safety: "read",
|
|
27251
|
+
destructive: false,
|
|
27252
|
+
cli: {
|
|
27253
|
+
group: ["work-preparation"],
|
|
27254
|
+
command: "get",
|
|
27255
|
+
interactive: "available"
|
|
27256
|
+
},
|
|
27257
|
+
mcp: { entityTool: "work-preparation" },
|
|
27258
|
+
inputSchema: /* @__PURE__ */ looseObject({ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }),
|
|
27259
|
+
execute: (input, { client }) => {
|
|
27260
|
+
const data = input;
|
|
27261
|
+
return client.runGeneratedRequest("getWorkPreparationClassic", () => callGeneratedRequest(getWorkPreparationClassic, [
|
|
27262
|
+
client.httpClient,
|
|
27263
|
+
client.organizationId,
|
|
27264
|
+
client.workspaceIdNumber,
|
|
27265
|
+
data,
|
|
27266
|
+
void 0
|
|
27267
|
+
]));
|
|
27268
|
+
}
|
|
27269
|
+
},
|
|
27234
27270
|
{
|
|
27235
27271
|
id: "focus.working-hours.create-for-user",
|
|
27236
27272
|
family: "focus",
|
|
@@ -29210,4 +29246,4 @@ Common commands:
|
|
|
29210
29246
|
//#endregion
|
|
29211
29247
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29212
29248
|
|
|
29213
|
-
//# sourceMappingURL=program-
|
|
29249
|
+
//# sourceMappingURL=program-CNR-mRc7.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-CNR-mRc7.js";
|
|
2
2
|
export { createProgram };
|