@togglhq/cli 1.13.55 → 1.13.57
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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-DXNjWplq.js → program-Nzh9v81h.js} +51 -14
- package/build/program.js +1 -1
- package/package.json +1 -1
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-Nzh9v81h.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-Nzh9v81h.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9913,7 +9913,7 @@ async function getOrganizationMemberTags(httpClient, organization_id, { workspac
|
|
|
9913
9913
|
async function getOrganizationRoles(httpClient, organization_id, signal) {
|
|
9914
9914
|
return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
|
|
9915
9915
|
}
|
|
9916
|
-
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
|
|
9916
|
+
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only, has_designations }, signal) {
|
|
9917
9917
|
return await httpClient.get(`organizations/${organization_id}/teams`, {
|
|
9918
9918
|
signal,
|
|
9919
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9925,7 +9925,8 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9925
9925
|
query,
|
|
9926
9926
|
organization_user_id,
|
|
9927
9927
|
group_ids,
|
|
9928
|
-
active_members_only
|
|
9928
|
+
active_members_only,
|
|
9929
|
+
has_designations
|
|
9929
9930
|
})
|
|
9930
9931
|
}).json();
|
|
9931
9932
|
}
|
|
@@ -10587,26 +10588,33 @@ async function updateTask(httpClient, organization_id, workspace_id, task_id, da
|
|
|
10587
10588
|
json: data
|
|
10588
10589
|
}).json();
|
|
10589
10590
|
}
|
|
10590
|
-
async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, outbound_sync, signal) {
|
|
10591
|
+
async function deleteTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, outbound_sync, signal) {
|
|
10591
10592
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10592
10593
|
signal,
|
|
10593
10594
|
searchParams: buildSearchParams$2({
|
|
10594
10595
|
from_recurring_task_id,
|
|
10596
|
+
scope,
|
|
10595
10597
|
outbound_sync
|
|
10596
10598
|
})
|
|
10597
10599
|
}).json();
|
|
10598
10600
|
}
|
|
10599
|
-
async function patchTask(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, signal) {
|
|
10601
|
+
async function patchTask(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, scope, signal) {
|
|
10600
10602
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
10601
10603
|
signal,
|
|
10602
10604
|
json: data,
|
|
10603
|
-
searchParams: buildSearchParams$2({
|
|
10605
|
+
searchParams: buildSearchParams$2({
|
|
10606
|
+
from_recurring_task_id,
|
|
10607
|
+
scope
|
|
10608
|
+
})
|
|
10604
10609
|
}).json();
|
|
10605
10610
|
}
|
|
10606
|
-
async function archiveTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, signal) {
|
|
10611
|
+
async function archiveTask(httpClient, organization_id, workspace_id, task_id, from_recurring_task_id, scope, signal) {
|
|
10607
10612
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/archive`, {
|
|
10608
10613
|
signal,
|
|
10609
|
-
searchParams: buildSearchParams$2({
|
|
10614
|
+
searchParams: buildSearchParams$2({
|
|
10615
|
+
from_recurring_task_id,
|
|
10616
|
+
scope
|
|
10617
|
+
})
|
|
10610
10618
|
}).json();
|
|
10611
10619
|
}
|
|
10612
10620
|
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
@@ -10649,11 +10657,17 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
10649
10657
|
})
|
|
10650
10658
|
}).json();
|
|
10651
10659
|
}
|
|
10652
|
-
async function restoreTask(httpClient, organization_id, workspace_id, task_id, signal) {
|
|
10653
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/restore`, {
|
|
10660
|
+
async function restoreTask(httpClient, organization_id, workspace_id, task_id, scope, signal) {
|
|
10661
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/restore`, {
|
|
10662
|
+
signal,
|
|
10663
|
+
searchParams: buildSearchParams$2({ scope })
|
|
10664
|
+
}).json();
|
|
10654
10665
|
}
|
|
10655
|
-
async function unarchiveTask(httpClient, organization_id, workspace_id, task_id, signal) {
|
|
10656
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/unarchive`, {
|
|
10666
|
+
async function unarchiveTask(httpClient, organization_id, workspace_id, task_id, scope, signal) {
|
|
10667
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/unarchive`, {
|
|
10668
|
+
signal,
|
|
10669
|
+
searchParams: buildSearchParams$2({ scope })
|
|
10670
|
+
}).json();
|
|
10657
10671
|
}
|
|
10658
10672
|
//#endregion
|
|
10659
10673
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
@@ -18918,6 +18932,7 @@ const generatedFocusOperations = [
|
|
|
18918
18932
|
active_members_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18919
18933
|
filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18920
18934
|
group_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18935
|
+
has_designations: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18921
18936
|
organization_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18922
18937
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18923
18938
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23855,6 +23870,11 @@ const generatedFocusOperations = [
|
|
|
23855
23870
|
mcp: { entityTool: "tasks" },
|
|
23856
23871
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23857
23872
|
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23873
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
23874
|
+
"this",
|
|
23875
|
+
"following",
|
|
23876
|
+
"all"
|
|
23877
|
+
])),
|
|
23858
23878
|
task_id: /* @__PURE__ */ number$2()
|
|
23859
23879
|
}),
|
|
23860
23880
|
execute: (input, { client }) => {
|
|
@@ -23865,6 +23885,7 @@ const generatedFocusOperations = [
|
|
|
23865
23885
|
client.workspaceIdNumber,
|
|
23866
23886
|
data.task_id,
|
|
23867
23887
|
data.from_recurring_task_id,
|
|
23888
|
+
data.scope,
|
|
23868
23889
|
void 0
|
|
23869
23890
|
]));
|
|
23870
23891
|
}
|
|
@@ -25031,7 +25052,14 @@ const generatedFocusOperations = [
|
|
|
25031
25052
|
interactive: "default"
|
|
25032
25053
|
},
|
|
25033
25054
|
mcp: { entityTool: "tasks" },
|
|
25034
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25055
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25056
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
25057
|
+
"this",
|
|
25058
|
+
"following",
|
|
25059
|
+
"all"
|
|
25060
|
+
])),
|
|
25061
|
+
task_id: /* @__PURE__ */ number$2()
|
|
25062
|
+
}),
|
|
25035
25063
|
execute: (input, { client }) => {
|
|
25036
25064
|
const data = input;
|
|
25037
25065
|
return client.runGeneratedRequest("restoreTask", () => callGeneratedRequest(restoreTask, [
|
|
@@ -25039,6 +25067,7 @@ const generatedFocusOperations = [
|
|
|
25039
25067
|
client.organizationId,
|
|
25040
25068
|
client.workspaceIdNumber,
|
|
25041
25069
|
data.task_id,
|
|
25070
|
+
data.scope,
|
|
25042
25071
|
void 0
|
|
25043
25072
|
]));
|
|
25044
25073
|
}
|
|
@@ -25112,7 +25141,14 @@ const generatedFocusOperations = [
|
|
|
25112
25141
|
interactive: "default"
|
|
25113
25142
|
},
|
|
25114
25143
|
mcp: { entityTool: "tasks" },
|
|
25115
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25144
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25145
|
+
scope: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
25146
|
+
"this",
|
|
25147
|
+
"following",
|
|
25148
|
+
"all"
|
|
25149
|
+
])),
|
|
25150
|
+
task_id: /* @__PURE__ */ number$2()
|
|
25151
|
+
}),
|
|
25116
25152
|
execute: (input, { client }) => {
|
|
25117
25153
|
const data = input;
|
|
25118
25154
|
return client.runGeneratedRequest("unarchiveTask", () => callGeneratedRequest(unarchiveTask, [
|
|
@@ -25120,6 +25156,7 @@ const generatedFocusOperations = [
|
|
|
25120
25156
|
client.organizationId,
|
|
25121
25157
|
client.workspaceIdNumber,
|
|
25122
25158
|
data.task_id,
|
|
25159
|
+
data.scope,
|
|
25123
25160
|
void 0
|
|
25124
25161
|
]));
|
|
25125
25162
|
}
|
|
@@ -30267,4 +30304,4 @@ Common commands:
|
|
|
30267
30304
|
//#endregion
|
|
30268
30305
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30269
30306
|
|
|
30270
|
-
//# sourceMappingURL=program-
|
|
30307
|
+
//# sourceMappingURL=program-Nzh9v81h.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-Nzh9v81h.js";
|
|
2
2
|
export { createProgram };
|