@togglhq/cli 1.13.50 → 1.13.52
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-C0eK2cN0.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-C0eK2cN0.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9960,6 +9960,9 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9960
9960
|
});
|
|
9961
9961
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
9962
9962
|
}
|
|
9963
|
+
async function updateOrganizationUserActiveStatus(httpClient, organization_id, organization_user_id, status, signal) {
|
|
9964
|
+
return await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal }).json();
|
|
9965
|
+
}
|
|
9963
9966
|
//#endregion
|
|
9964
9967
|
//#region ../focus-queries/out/utils/requests.js
|
|
9965
9968
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
@@ -18964,6 +18967,36 @@ const generatedFocusOperations = [
|
|
|
18964
18967
|
]));
|
|
18965
18968
|
}
|
|
18966
18969
|
},
|
|
18970
|
+
{
|
|
18971
|
+
id: "focus.organization.update-user-active-status",
|
|
18972
|
+
family: "focus",
|
|
18973
|
+
resource: "organization",
|
|
18974
|
+
action: "update-user-active-status",
|
|
18975
|
+
title: "Update User Active Status Organization",
|
|
18976
|
+
description: "Update User Active Status Organization.",
|
|
18977
|
+
safety: "update",
|
|
18978
|
+
destructive: false,
|
|
18979
|
+
cli: {
|
|
18980
|
+
group: ["organization"],
|
|
18981
|
+
command: "update-user-active-status",
|
|
18982
|
+
interactive: "default"
|
|
18983
|
+
},
|
|
18984
|
+
mcp: { entityTool: "organization" },
|
|
18985
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
18986
|
+
organization_user_id: /* @__PURE__ */ number$2(),
|
|
18987
|
+
status: /* @__PURE__ */ picklist$1(["active", "inactive"])
|
|
18988
|
+
}),
|
|
18989
|
+
execute: (input, { client }) => {
|
|
18990
|
+
const data = input;
|
|
18991
|
+
return client.runGeneratedRequest("updateOrganizationUserActiveStatus", () => callGeneratedRequest(updateOrganizationUserActiveStatus, [
|
|
18992
|
+
client.httpClient,
|
|
18993
|
+
client.organizationId,
|
|
18994
|
+
data.organization_user_id,
|
|
18995
|
+
data.status,
|
|
18996
|
+
void 0
|
|
18997
|
+
]));
|
|
18998
|
+
}
|
|
18999
|
+
},
|
|
18967
19000
|
{
|
|
18968
19001
|
id: "focus.projects.add-project-members",
|
|
18969
19002
|
family: "focus",
|
|
@@ -30198,4 +30231,4 @@ Common commands:
|
|
|
30198
30231
|
//#endregion
|
|
30199
30232
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30200
30233
|
|
|
30201
|
-
//# sourceMappingURL=program-
|
|
30234
|
+
//# sourceMappingURL=program-C0eK2cN0.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-C0eK2cN0.js";
|
|
2
2
|
export { createProgram };
|