@togglhq/cli 1.11.160 → 1.11.162
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-BQhS6-UT.js → program-C6cl2Gsa.js} +117 -60
- 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-C6cl2Gsa.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-C6cl2Gsa.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10641,7 +10641,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10641
10641
|
json: data
|
|
10642
10642
|
}).json();
|
|
10643
10643
|
}
|
|
10644
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10644
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10645
10645
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10646
10646
|
signal,
|
|
10647
10647
|
searchParams: buildSearchParams$2({
|
|
@@ -10649,6 +10649,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10649
10649
|
date_to,
|
|
10650
10650
|
task_id,
|
|
10651
10651
|
status_id,
|
|
10652
|
+
project_id,
|
|
10652
10653
|
type,
|
|
10653
10654
|
order_by,
|
|
10654
10655
|
archived,
|
|
@@ -14656,13 +14657,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14656
14657
|
}
|
|
14657
14658
|
//#endregion
|
|
14658
14659
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14659
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14660
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14660
14661
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14661
14662
|
signal,
|
|
14662
14663
|
searchParams: buildSearchParams$2({
|
|
14663
|
-
user_id,
|
|
14664
14664
|
start_date,
|
|
14665
14665
|
end_date,
|
|
14666
|
+
user_id,
|
|
14667
|
+
team_id,
|
|
14666
14668
|
private: private_,
|
|
14667
14669
|
task_source,
|
|
14668
14670
|
unit,
|
|
@@ -14722,6 +14724,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14722
14724
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14723
14725
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14724
14726
|
}
|
|
14727
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14728
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14729
|
+
}
|
|
14730
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14731
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14732
|
+
signal,
|
|
14733
|
+
json: data
|
|
14734
|
+
}).json();
|
|
14735
|
+
}
|
|
14725
14736
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14726
14737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14727
14738
|
signal,
|
|
@@ -15029,9 +15040,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15029
15040
|
json: data
|
|
15030
15041
|
}).json();
|
|
15031
15042
|
}
|
|
15032
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15033
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15034
|
-
}
|
|
15035
15043
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15036
15044
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15037
15045
|
}
|
|
@@ -15335,9 +15343,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15335
15343
|
}
|
|
15336
15344
|
//#endregion
|
|
15337
15345
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15338
|
-
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15346
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, xTimelineFetchTrigger }, signal) {
|
|
15339
15347
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15340
15348
|
signal,
|
|
15349
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15341
15350
|
searchParams: buildSearchParams$2({
|
|
15342
15351
|
project_id,
|
|
15343
15352
|
source,
|
|
@@ -15370,9 +15379,10 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15370
15379
|
})
|
|
15371
15380
|
}).json();
|
|
15372
15381
|
}
|
|
15373
|
-
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15382
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, xTimelineFetchTrigger } = {}, signal) {
|
|
15374
15383
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15375
15384
|
signal,
|
|
15385
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15376
15386
|
searchParams: buildSearchParams$2({
|
|
15377
15387
|
team_id,
|
|
15378
15388
|
project_id,
|
|
@@ -15405,9 +15415,10 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15405
15415
|
})
|
|
15406
15416
|
}).json();
|
|
15407
15417
|
}
|
|
15408
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15418
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15409
15419
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15410
15420
|
signal,
|
|
15421
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15411
15422
|
searchParams: buildSearchParams$2({
|
|
15412
15423
|
source,
|
|
15413
15424
|
priority,
|
|
@@ -16095,6 +16106,7 @@ const generatedFocusOperations = [
|
|
|
16095
16106
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16096
16107
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16097
16108
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16109
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16098
16110
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16099
16111
|
user_id: /* @__PURE__ */ number$2()
|
|
16100
16112
|
}),
|
|
@@ -16535,6 +16547,33 @@ const generatedFocusOperations = [
|
|
|
16535
16547
|
]));
|
|
16536
16548
|
}
|
|
16537
16549
|
},
|
|
16550
|
+
{
|
|
16551
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16552
|
+
family: "focus",
|
|
16553
|
+
resource: "custom-fields",
|
|
16554
|
+
action: "get-allowed-users",
|
|
16555
|
+
title: "Get Allowed Users Custom Fields",
|
|
16556
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16557
|
+
safety: "read",
|
|
16558
|
+
destructive: false,
|
|
16559
|
+
cli: {
|
|
16560
|
+
group: ["custom-fields"],
|
|
16561
|
+
command: "get-allowed-users",
|
|
16562
|
+
interactive: "available"
|
|
16563
|
+
},
|
|
16564
|
+
mcp: { entityTool: "custom-fields" },
|
|
16565
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16566
|
+
execute: (input, { client }) => {
|
|
16567
|
+
const data = input;
|
|
16568
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16569
|
+
client.httpClient,
|
|
16570
|
+
client.organizationId,
|
|
16571
|
+
client.workspaceIdNumber,
|
|
16572
|
+
data.custom_field_id,
|
|
16573
|
+
void 0
|
|
16574
|
+
]));
|
|
16575
|
+
}
|
|
16576
|
+
},
|
|
16538
16577
|
{
|
|
16539
16578
|
id: "focus.custom-fields.list",
|
|
16540
16579
|
family: "focus",
|
|
@@ -16704,6 +16743,37 @@ const generatedFocusOperations = [
|
|
|
16704
16743
|
]));
|
|
16705
16744
|
}
|
|
16706
16745
|
},
|
|
16746
|
+
{
|
|
16747
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16748
|
+
family: "focus",
|
|
16749
|
+
resource: "custom-fields",
|
|
16750
|
+
action: "replace-custom-field-allowed-users",
|
|
16751
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16752
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16753
|
+
safety: "update",
|
|
16754
|
+
destructive: false,
|
|
16755
|
+
cli: {
|
|
16756
|
+
group: ["custom-fields"],
|
|
16757
|
+
command: "replace-custom-field-allowed-users",
|
|
16758
|
+
interactive: "default"
|
|
16759
|
+
},
|
|
16760
|
+
mcp: { entityTool: "custom-fields" },
|
|
16761
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16762
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16763
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16764
|
+
}),
|
|
16765
|
+
execute: (input, { client }) => {
|
|
16766
|
+
const data = input;
|
|
16767
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16768
|
+
client.httpClient,
|
|
16769
|
+
client.organizationId,
|
|
16770
|
+
client.workspaceIdNumber,
|
|
16771
|
+
data.custom_field_id,
|
|
16772
|
+
data.payload ?? data.data ?? data,
|
|
16773
|
+
void 0
|
|
16774
|
+
]));
|
|
16775
|
+
}
|
|
16776
|
+
},
|
|
16707
16777
|
{
|
|
16708
16778
|
id: "focus.custom-fields.update",
|
|
16709
16779
|
family: "focus",
|
|
@@ -16850,13 +16920,7 @@ const generatedFocusOperations = [
|
|
|
16850
16920
|
},
|
|
16851
16921
|
mcp: { entityTool: "goals" },
|
|
16852
16922
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16853
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16854
16923
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16855
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16856
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16857
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16858
|
-
name: /* @__PURE__ */ string$1(),
|
|
16859
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16860
16924
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16861
16925
|
"daily",
|
|
16862
16926
|
"weekly",
|
|
@@ -16864,12 +16928,18 @@ const generatedFocusOperations = [
|
|
|
16864
16928
|
"monthly"
|
|
16865
16929
|
]),
|
|
16866
16930
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16868
16931
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16869
|
-
|
|
16870
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16932
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16871
16933
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16872
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16934
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16935
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16936
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16937
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
16938
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16939
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16940
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16941
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16942
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16873
16943
|
}) }),
|
|
16874
16944
|
execute: (input, { client }) => {
|
|
16875
16945
|
const data = input;
|
|
@@ -16975,13 +17045,6 @@ const generatedFocusOperations = [
|
|
|
16975
17045
|
},
|
|
16976
17046
|
mcp: { entityTool: "goals" },
|
|
16977
17047
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
-
name: /* @__PURE__ */ string$1(),
|
|
16984
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16985
17048
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16986
17049
|
"daily",
|
|
16987
17050
|
"weekly",
|
|
@@ -16989,12 +17052,19 @@ const generatedFocusOperations = [
|
|
|
16989
17052
|
"monthly"
|
|
16990
17053
|
]),
|
|
16991
17054
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16992
|
-
|
|
16993
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16995
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17055
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16996
17056
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16997
|
-
|
|
17057
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17058
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17059
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17060
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17061
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17062
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17063
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17064
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17065
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17066
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17067
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16998
17068
|
}) }),
|
|
16999
17069
|
execute: (input, { client }) => {
|
|
17000
17070
|
const data = input;
|
|
@@ -18509,29 +18579,6 @@ const generatedFocusOperations = [
|
|
|
18509
18579
|
]));
|
|
18510
18580
|
}
|
|
18511
18581
|
},
|
|
18512
|
-
{
|
|
18513
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18514
|
-
family: "focus",
|
|
18515
|
-
resource: "projects",
|
|
18516
|
-
action: "margin-targets-clear-workspace",
|
|
18517
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18518
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18519
|
-
safety: "delete",
|
|
18520
|
-
destructive: true,
|
|
18521
|
-
cli: {
|
|
18522
|
-
group: ["projects", "margin-targets"],
|
|
18523
|
-
command: "clear-workspace",
|
|
18524
|
-
interactive: "default"
|
|
18525
|
-
},
|
|
18526
|
-
mcp: { entityTool: "projects" },
|
|
18527
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18528
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18529
|
-
client.httpClient,
|
|
18530
|
-
client.organizationId,
|
|
18531
|
-
client.workspaceIdNumber,
|
|
18532
|
-
void 0
|
|
18533
|
-
]))
|
|
18534
|
-
},
|
|
18535
18582
|
{
|
|
18536
18583
|
id: "focus.projects.margin-targets-get",
|
|
18537
18584
|
family: "focus",
|
|
@@ -20934,7 +20981,7 @@ const generatedFocusOperations = [
|
|
|
20934
20981
|
cli: {
|
|
20935
20982
|
group: ["reportschedules"],
|
|
20936
20983
|
command: "upsert-saved-view-schedule",
|
|
20937
|
-
interactive: "
|
|
20984
|
+
interactive: "hidden"
|
|
20938
20985
|
},
|
|
20939
20986
|
mcp: { entityTool: "reportschedules" },
|
|
20940
20987
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -20945,8 +20992,10 @@ const generatedFocusOperations = [
|
|
|
20945
20992
|
"weekly",
|
|
20946
20993
|
"monthly"
|
|
20947
20994
|
]),
|
|
20995
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
20948
20996
|
time: /* @__PURE__ */ string$1(),
|
|
20949
20997
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20998
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20950
20999
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20951
21000
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20952
21001
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22961,7 +23010,8 @@ const generatedFocusOperations = [
|
|
|
22961
23010
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22962
23011
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22963
23012
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22964
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23013
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23014
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22965
23015
|
}),
|
|
22966
23016
|
execute: (input, { client }) => {
|
|
22967
23017
|
const data = input;
|
|
@@ -23018,7 +23068,8 @@ const generatedFocusOperations = [
|
|
|
23018
23068
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23019
23069
|
team_id: /* @__PURE__ */ number$2(),
|
|
23020
23070
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23021
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23071
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23072
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23022
23073
|
}),
|
|
23023
23074
|
execute: (input, { client }) => {
|
|
23024
23075
|
const data = input;
|
|
@@ -23074,7 +23125,8 @@ const generatedFocusOperations = [
|
|
|
23074
23125
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23075
23126
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
23127
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23128
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23129
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23078
23130
|
}),
|
|
23079
23131
|
execute: (input, { client }) => {
|
|
23080
23132
|
const data = input;
|
|
@@ -24039,7 +24091,8 @@ const generatedFocusOperations = [
|
|
|
24039
24091
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24040
24092
|
"project",
|
|
24041
24093
|
"task",
|
|
24042
|
-
"description"
|
|
24094
|
+
"description",
|
|
24095
|
+
"tags"
|
|
24043
24096
|
]) })),
|
|
24044
24097
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24045
24098
|
}) }),
|
|
@@ -24242,6 +24295,7 @@ const generatedFocusOperations = [
|
|
|
24242
24295
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24243
24296
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24244
24297
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24298
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24245
24299
|
status_id: /* @__PURE__ */ number$2(),
|
|
24246
24300
|
task_id: /* @__PURE__ */ number$2(),
|
|
24247
24301
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -25859,6 +25913,9 @@ const generatedFocusOperations = [
|
|
|
25859
25913
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25860
25914
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25861
25915
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25916
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25917
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25918
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25862
25919
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25863
25920
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25864
25921
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27914,4 +27971,4 @@ Common commands:
|
|
|
27914
27971
|
//#endregion
|
|
27915
27972
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27916
27973
|
|
|
27917
|
-
//# sourceMappingURL=program-
|
|
27974
|
+
//# sourceMappingURL=program-C6cl2Gsa.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-C6cl2Gsa.js";
|
|
2
2
|
export { createProgram };
|