@togglhq/cli 1.11.45 → 1.11.46
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-VVER3DKp.js → program-2Rl61Aae.js} +108 -465
- 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-2Rl61Aae.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-2Rl61Aae.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7360,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7360
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7361
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7362
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7363
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7364
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7365
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7366
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7422,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7422
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7423
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7424
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7425
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7426
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7427
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7428
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7605,8 +7603,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7605
7603
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7606
7604
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7607
7605
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7608
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7609
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7610
7606
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7611
7607
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7612
7608
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7692,7 +7688,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7692
7688
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7693
7689
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7694
7690
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7695
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7696
7691
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7697
7692
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7698
7693
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -7772,8 +7767,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7772
7767
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7773
7768
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7774
7769
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7775
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7776
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7777
7770
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7778
7771
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7779
7772
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7946,6 +7939,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7946
7939
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7947
7940
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7948
7941
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7942
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7943
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7949
7944
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7950
7945
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7951
7946
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -8002,7 +7997,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8002
7997
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8003
7998
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8004
7999
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8005
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
8006
8000
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8007
8001
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8008
8002
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8039,7 +8033,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8039
8033
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8040
8034
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8041
8035
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8042
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
8043
8036
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8044
8037
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8045
8038
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9986,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9986
9979
|
})
|
|
9987
9980
|
}).json();
|
|
9988
9981
|
}
|
|
9989
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group,
|
|
9982
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9990
9983
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9991
9984
|
signal,
|
|
9992
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -10007,7 +10000,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10007
10000
|
include_rates,
|
|
10008
10001
|
pinned_ids,
|
|
10009
10002
|
has_group,
|
|
10010
|
-
track_without_focus,
|
|
10011
10003
|
cf_filter,
|
|
10012
10004
|
include_custom_fields,
|
|
10013
10005
|
include_calendar_integration
|
|
@@ -10109,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10109
10101
|
}
|
|
10110
10102
|
//#endregion
|
|
10111
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10112
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10104
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10113
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10114
10106
|
signal,
|
|
10115
10107
|
searchParams: buildSearchParams$2({
|
|
10116
|
-
include_task_counts,
|
|
10117
|
-
task_archived,
|
|
10118
|
-
task_recurring,
|
|
10119
|
-
task_state,
|
|
10120
|
-
task_source,
|
|
10121
|
-
task_assignee_user_id,
|
|
10122
|
-
task_assignee_team_id,
|
|
10123
|
-
task_name,
|
|
10124
10108
|
page,
|
|
10125
10109
|
per_page,
|
|
10126
10110
|
order_by,
|
|
@@ -10370,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10370
10354
|
}
|
|
10371
10355
|
//#endregion
|
|
10372
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10373
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
10357
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10374
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10375
10359
|
signal,
|
|
10376
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10421,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10421
10405
|
include_assignees,
|
|
10422
10406
|
include_parent_matches,
|
|
10423
10407
|
disable_aggregations,
|
|
10424
|
-
cf_filter
|
|
10425
|
-
recurring_occurrences_after,
|
|
10426
|
-
max_recurring_occurrences_after,
|
|
10427
|
-
recurring_task_read,
|
|
10428
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10429
10409
|
})
|
|
10430
10410
|
}).json();
|
|
10431
10411
|
}
|
|
@@ -10500,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10500
10480
|
})
|
|
10501
10481
|
}).json();
|
|
10502
10482
|
}
|
|
10503
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10483
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10504
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10505
10485
|
signal,
|
|
10506
10486
|
searchParams: buildSearchParams$2({
|
|
10507
10487
|
date_from,
|
|
10508
|
-
date_to
|
|
10509
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10510
10489
|
})
|
|
10511
10490
|
}).json();
|
|
10512
10491
|
}
|
|
10513
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
10492
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10514
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10515
10494
|
signal,
|
|
10516
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10526,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10526
10505
|
assignee_team_id,
|
|
10527
10506
|
assignee_user_id,
|
|
10528
10507
|
tag_id,
|
|
10529
|
-
include_assignees
|
|
10530
|
-
recurring_occurrences_after,
|
|
10531
|
-
max_recurring_occurrences_after,
|
|
10532
|
-
recurring_task_read,
|
|
10533
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10534
10509
|
})
|
|
10535
10510
|
}).json();
|
|
10536
10511
|
}
|
|
10537
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
10512
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10538
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10539
10514
|
signal,
|
|
10540
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10579,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10579
10554
|
recurring_task_ids,
|
|
10580
10555
|
client_id,
|
|
10581
10556
|
include_assignees,
|
|
10582
|
-
cf_filter
|
|
10583
|
-
recurring_occurrences_after,
|
|
10584
|
-
max_recurring_occurrences_after,
|
|
10585
|
-
recurring_task_read,
|
|
10586
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10587
10558
|
})
|
|
10588
10559
|
}).json();
|
|
10589
10560
|
}
|
|
@@ -10638,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10638
10609
|
})
|
|
10639
10610
|
}).json();
|
|
10640
10611
|
}
|
|
10641
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10642
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10643
|
-
signal,
|
|
10644
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10645
|
-
}).json();
|
|
10646
|
-
}
|
|
10647
10612
|
async function getTaskWithParentsClassic(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) {
|
|
10648
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10649
10614
|
signal,
|
|
@@ -10780,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10780
10745
|
})
|
|
10781
10746
|
}).json();
|
|
10782
10747
|
}
|
|
10783
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10784
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10785
10750
|
signal,
|
|
10786
|
-
json: data
|
|
10787
|
-
searchParams: buildSearchParams$2({
|
|
10788
|
-
from_recurring_task_id,
|
|
10789
|
-
return_occurrence
|
|
10790
|
-
})
|
|
10751
|
+
json: data
|
|
10791
10752
|
}).json();
|
|
10792
10753
|
}
|
|
10793
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10794
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10795
10756
|
signal,
|
|
10796
|
-
json: data
|
|
10797
|
-
searchParams: buildSearchParams$2({
|
|
10798
|
-
from_recurring_task_id,
|
|
10799
|
-
return_occurrence
|
|
10800
|
-
})
|
|
10757
|
+
json: data
|
|
10801
10758
|
}).json();
|
|
10802
10759
|
}
|
|
10803
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10848,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10848
10805
|
json: data
|
|
10849
10806
|
}).json();
|
|
10850
10807
|
}
|
|
10851
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10808
|
+
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) {
|
|
10852
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10853
10810
|
signal,
|
|
10854
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10856,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10856
10813
|
date_to,
|
|
10857
10814
|
task_id,
|
|
10858
10815
|
status_id,
|
|
10859
|
-
project_id,
|
|
10860
10816
|
type,
|
|
10861
10817
|
order_by,
|
|
10862
10818
|
archived,
|
|
@@ -10880,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10880
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10881
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10882
10838
|
}
|
|
10883
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10839
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10884
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10885
10841
|
signal,
|
|
10886
|
-
json: data
|
|
10887
|
-
searchParams: buildSearchParams$2({
|
|
10888
|
-
from_recurring_task_id,
|
|
10889
|
-
return_occurrence
|
|
10890
|
-
})
|
|
10842
|
+
json: data
|
|
10891
10843
|
}).json();
|
|
10892
10844
|
}
|
|
10893
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10894
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10895
|
-
signal,
|
|
10896
|
-
searchParams: buildSearchParams$2({
|
|
10897
|
-
from_recurring_task_id,
|
|
10898
|
-
return_occurrence
|
|
10899
|
-
})
|
|
10900
|
-
}).json();
|
|
10845
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10846
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10901
10847
|
}
|
|
10902
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10848
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10903
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10904
10850
|
signal,
|
|
10905
|
-
json: data
|
|
10906
|
-
searchParams: buildSearchParams$2({
|
|
10907
|
-
from_recurring_task_id,
|
|
10908
|
-
return_occurrence
|
|
10909
|
-
})
|
|
10851
|
+
json: data
|
|
10910
10852
|
}).json();
|
|
10911
10853
|
}
|
|
10912
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14776,15 +14718,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14776
14718
|
}
|
|
14777
14719
|
//#endregion
|
|
14778
14720
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14779
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14721
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14780
14722
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14781
14723
|
signal,
|
|
14782
14724
|
searchParams: buildSearchParams$2({
|
|
14783
14725
|
workspace_id,
|
|
14784
14726
|
entity_type,
|
|
14785
14727
|
entity_id,
|
|
14786
|
-
project_id,
|
|
14787
|
-
custom_field_id,
|
|
14788
14728
|
action,
|
|
14789
14729
|
user_id,
|
|
14790
14730
|
page_size,
|
|
@@ -14793,14 +14733,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14793
14733
|
})
|
|
14794
14734
|
}).json();
|
|
14795
14735
|
}
|
|
14796
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14736
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14797
14737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14798
14738
|
signal,
|
|
14799
14739
|
searchParams: buildSearchParams$2({
|
|
14800
14740
|
entity_type,
|
|
14801
14741
|
entity_id,
|
|
14802
|
-
project_id,
|
|
14803
|
-
custom_field_id,
|
|
14804
14742
|
action,
|
|
14805
14743
|
user_id,
|
|
14806
14744
|
page_size,
|
|
@@ -14953,14 +14891,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14953
14891
|
}
|
|
14954
14892
|
//#endregion
|
|
14955
14893
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14956
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14894
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14957
14895
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14958
14896
|
signal,
|
|
14959
14897
|
searchParams: buildSearchParams$2({
|
|
14898
|
+
user_id,
|
|
14960
14899
|
start_date,
|
|
14961
14900
|
end_date,
|
|
14962
|
-
user_id,
|
|
14963
|
-
team_id,
|
|
14964
14901
|
private: private_,
|
|
14965
14902
|
task_source,
|
|
14966
14903
|
unit,
|
|
@@ -15020,15 +14957,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
15020
14957
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15021
14958
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
15022
14959
|
}
|
|
15023
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15024
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15025
|
-
}
|
|
15026
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15027
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15028
|
-
signal,
|
|
15029
|
-
json: data
|
|
15030
|
-
}).json();
|
|
15031
|
-
}
|
|
15032
14960
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15033
14961
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15034
14962
|
signal,
|
|
@@ -15292,7 +15220,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15292
15220
|
}
|
|
15293
15221
|
//#endregion
|
|
15294
15222
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15295
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
15223
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15296
15224
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15297
15225
|
signal,
|
|
15298
15226
|
searchParams: buildSearchParams$2({
|
|
@@ -15318,7 +15246,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15318
15246
|
user_id,
|
|
15319
15247
|
only_me,
|
|
15320
15248
|
include_drafts,
|
|
15321
|
-
include_recurring_series,
|
|
15322
15249
|
cf_filter
|
|
15323
15250
|
})
|
|
15324
15251
|
}).json();
|
|
@@ -15337,6 +15264,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15337
15264
|
json: data
|
|
15338
15265
|
}).json();
|
|
15339
15266
|
}
|
|
15267
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15268
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15269
|
+
}
|
|
15340
15270
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15341
15271
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15342
15272
|
}
|
|
@@ -15640,10 +15570,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15640
15570
|
}
|
|
15641
15571
|
//#endregion
|
|
15642
15572
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15643
|
-
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
|
|
15573
|
+
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) {
|
|
15644
15574
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15645
15575
|
signal,
|
|
15646
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15647
15576
|
searchParams: buildSearchParams$2({
|
|
15648
15577
|
project_id,
|
|
15649
15578
|
source,
|
|
@@ -15672,18 +15601,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15672
15601
|
min_days,
|
|
15673
15602
|
include_drafts,
|
|
15674
15603
|
cf_filter,
|
|
15675
|
-
user_cf_filter
|
|
15676
|
-
recurring_occurrences_after,
|
|
15677
|
-
max_recurring_occurrences_after,
|
|
15678
|
-
recurring_task_read,
|
|
15679
|
-
include_projected_occurrences
|
|
15604
|
+
user_cf_filter
|
|
15680
15605
|
})
|
|
15681
15606
|
}).json();
|
|
15682
15607
|
}
|
|
15683
|
-
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
|
|
15608
|
+
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) {
|
|
15684
15609
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15685
15610
|
signal,
|
|
15686
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15687
15611
|
searchParams: buildSearchParams$2({
|
|
15688
15612
|
team_id,
|
|
15689
15613
|
project_id,
|
|
@@ -15712,18 +15636,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15712
15636
|
min_days,
|
|
15713
15637
|
include_drafts,
|
|
15714
15638
|
cf_filter,
|
|
15715
|
-
user_cf_filter
|
|
15716
|
-
recurring_occurrences_after,
|
|
15717
|
-
max_recurring_occurrences_after,
|
|
15718
|
-
recurring_task_read,
|
|
15719
|
-
include_projected_occurrences
|
|
15639
|
+
user_cf_filter
|
|
15720
15640
|
})
|
|
15721
15641
|
}).json();
|
|
15722
15642
|
}
|
|
15723
|
-
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,
|
|
15643
|
+
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) {
|
|
15724
15644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15725
15645
|
signal,
|
|
15726
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15727
15646
|
searchParams: buildSearchParams$2({
|
|
15728
15647
|
source,
|
|
15729
15648
|
priority,
|
|
@@ -15753,10 +15672,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15753
15672
|
include_drafts,
|
|
15754
15673
|
cf_filter,
|
|
15755
15674
|
user_cf_filter,
|
|
15756
|
-
recurring_occurrences_after,
|
|
15757
|
-
max_recurring_occurrences_after,
|
|
15758
|
-
recurring_task_read,
|
|
15759
|
-
include_projected_occurrences,
|
|
15760
15675
|
page,
|
|
15761
15676
|
per_page,
|
|
15762
15677
|
order_by
|
|
@@ -15948,19 +15863,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15948
15863
|
json: data
|
|
15949
15864
|
}).json();
|
|
15950
15865
|
}
|
|
15951
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15952
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15953
|
-
signal,
|
|
15954
|
-
searchParams: buildSearchParams$2({
|
|
15955
|
-
date_from,
|
|
15956
|
-
date_to,
|
|
15957
|
-
setup_id,
|
|
15958
|
-
user_account_ids,
|
|
15959
|
-
approver_user_account_ids,
|
|
15960
|
-
team_ids
|
|
15961
|
-
})
|
|
15962
|
-
}).json();
|
|
15963
|
-
}
|
|
15964
15866
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15965
15867
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15966
15868
|
}
|
|
@@ -16004,21 +15906,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
16004
15906
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
16005
15907
|
}
|
|
16006
15908
|
//#endregion
|
|
16007
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
16008
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
16009
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
16010
|
-
signal,
|
|
16011
|
-
json: data
|
|
16012
|
-
}).json();
|
|
16013
|
-
}
|
|
16014
|
-
//#endregion
|
|
16015
15909
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
16016
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
16017
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
16018
|
-
}
|
|
16019
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
16020
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
16021
|
-
}
|
|
16022
15910
|
async function getUserSettings(httpClient, signal) {
|
|
16023
15911
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
16024
15912
|
}
|
|
@@ -16258,7 +16146,6 @@ const generatedFocusOperations = [
|
|
|
16258
16146
|
mcp: { entityTool: "audit-log" },
|
|
16259
16147
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16260
16148
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16261
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16262
16149
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16263
16150
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16264
16151
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16266,7 +16153,6 @@ const generatedFocusOperations = [
|
|
|
16266
16153
|
from: /* @__PURE__ */ string$1(),
|
|
16267
16154
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16268
16155
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16269
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16270
16156
|
to: /* @__PURE__ */ string$1(),
|
|
16271
16157
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16272
16158
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16300,7 +16186,6 @@ const generatedFocusOperations = [
|
|
|
16300
16186
|
mcp: { entityTool: "audit-log" },
|
|
16301
16187
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16302
16188
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16303
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16304
16189
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16305
16190
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16306
16191
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16308,7 +16193,6 @@ const generatedFocusOperations = [
|
|
|
16308
16193
|
from: /* @__PURE__ */ string$1(),
|
|
16309
16194
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16310
16195
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16311
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16312
16196
|
to: /* @__PURE__ */ string$1(),
|
|
16313
16197
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16314
16198
|
}),
|
|
@@ -16348,7 +16232,6 @@ const generatedFocusOperations = [
|
|
|
16348
16232
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16349
16233
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16350
16234
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16351
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16352
16235
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16353
16236
|
user_id: /* @__PURE__ */ number$2()
|
|
16354
16237
|
}),
|
|
@@ -16598,6 +16481,8 @@ const generatedFocusOperations = [
|
|
|
16598
16481
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16599
16482
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16600
16483
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16484
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16485
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16601
16486
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16602
16487
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16603
16488
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16631,6 +16516,8 @@ const generatedFocusOperations = [
|
|
|
16631
16516
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16632
16517
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16633
16518
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16519
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16520
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16634
16521
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16635
16522
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16636
16523
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16785,33 +16672,6 @@ const generatedFocusOperations = [
|
|
|
16785
16672
|
]));
|
|
16786
16673
|
}
|
|
16787
16674
|
},
|
|
16788
|
-
{
|
|
16789
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16790
|
-
family: "focus",
|
|
16791
|
-
resource: "custom-fields",
|
|
16792
|
-
action: "get-allowed-users",
|
|
16793
|
-
title: "Get Allowed Users Custom Fields",
|
|
16794
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16795
|
-
safety: "read",
|
|
16796
|
-
destructive: false,
|
|
16797
|
-
cli: {
|
|
16798
|
-
group: ["custom-fields"],
|
|
16799
|
-
command: "get-allowed-users",
|
|
16800
|
-
interactive: "available"
|
|
16801
|
-
},
|
|
16802
|
-
mcp: { entityTool: "custom-fields" },
|
|
16803
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16804
|
-
execute: (input, { client }) => {
|
|
16805
|
-
const data = input;
|
|
16806
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16807
|
-
client.httpClient,
|
|
16808
|
-
client.organizationId,
|
|
16809
|
-
client.workspaceIdNumber,
|
|
16810
|
-
data.custom_field_id,
|
|
16811
|
-
void 0
|
|
16812
|
-
]));
|
|
16813
|
-
}
|
|
16814
|
-
},
|
|
16815
16675
|
{
|
|
16816
16676
|
id: "focus.custom-fields.list",
|
|
16817
16677
|
family: "focus",
|
|
@@ -16981,37 +16841,6 @@ const generatedFocusOperations = [
|
|
|
16981
16841
|
]));
|
|
16982
16842
|
}
|
|
16983
16843
|
},
|
|
16984
|
-
{
|
|
16985
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16986
|
-
family: "focus",
|
|
16987
|
-
resource: "custom-fields",
|
|
16988
|
-
action: "replace-custom-field-allowed-users",
|
|
16989
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16990
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16991
|
-
safety: "update",
|
|
16992
|
-
destructive: false,
|
|
16993
|
-
cli: {
|
|
16994
|
-
group: ["custom-fields"],
|
|
16995
|
-
command: "replace-custom-field-allowed-users",
|
|
16996
|
-
interactive: "default"
|
|
16997
|
-
},
|
|
16998
|
-
mcp: { entityTool: "custom-fields" },
|
|
16999
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17000
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
17001
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
17002
|
-
}),
|
|
17003
|
-
execute: (input, { client }) => {
|
|
17004
|
-
const data = input;
|
|
17005
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
17006
|
-
client.httpClient,
|
|
17007
|
-
client.organizationId,
|
|
17008
|
-
client.workspaceIdNumber,
|
|
17009
|
-
data.custom_field_id,
|
|
17010
|
-
data.payload ?? data.data ?? data,
|
|
17011
|
-
void 0
|
|
17012
|
-
]));
|
|
17013
|
-
}
|
|
17014
|
-
},
|
|
17015
16844
|
{
|
|
17016
16845
|
id: "focus.custom-fields.update",
|
|
17017
16846
|
family: "focus",
|
|
@@ -17158,7 +16987,13 @@ const generatedFocusOperations = [
|
|
|
17158
16987
|
},
|
|
17159
16988
|
mcp: { entityTool: "goals" },
|
|
17160
16989
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16990
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17161
16991
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16992
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16993
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16994
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16995
|
+
name: /* @__PURE__ */ string$1(),
|
|
16996
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17162
16997
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17163
16998
|
"daily",
|
|
17164
16999
|
"weekly",
|
|
@@ -17166,18 +17001,12 @@ const generatedFocusOperations = [
|
|
|
17166
17001
|
"monthly"
|
|
17167
17002
|
]),
|
|
17168
17003
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17004
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17169
17005
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17170
|
-
|
|
17006
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17007
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17171
17008
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17172
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17173
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17174
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17175
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17176
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17177
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17178
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17179
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17180
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17009
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17181
17010
|
}) }),
|
|
17182
17011
|
execute: (input, { client }) => {
|
|
17183
17012
|
const data = input;
|
|
@@ -17283,6 +17112,13 @@ const generatedFocusOperations = [
|
|
|
17283
17112
|
},
|
|
17284
17113
|
mcp: { entityTool: "goals" },
|
|
17285
17114
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17115
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17116
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17117
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17118
|
+
icon: /* @__PURE__ */ string$1(),
|
|
17119
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17120
|
+
name: /* @__PURE__ */ string$1(),
|
|
17121
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17286
17122
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17287
17123
|
"daily",
|
|
17288
17124
|
"weekly",
|
|
@@ -17290,19 +17126,12 @@ const generatedFocusOperations = [
|
|
|
17290
17126
|
"monthly"
|
|
17291
17127
|
]),
|
|
17292
17128
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17293
|
-
|
|
17129
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17130
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
17131
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17132
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17294
17133
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17295
|
-
|
|
17296
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17297
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17298
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17299
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17300
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17301
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17302
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17303
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17304
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17305
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17134
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17306
17135
|
}) }),
|
|
17307
17136
|
execute: (input, { client }) => {
|
|
17308
17137
|
const data = input;
|
|
@@ -18269,17 +18098,9 @@ const generatedFocusOperations = [
|
|
|
18269
18098
|
mcp: { entityTool: "projects" },
|
|
18270
18099
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18271
18100
|
payload: /* @__PURE__ */ looseObject({
|
|
18272
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18273
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18274
18101
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18275
18102
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18276
18103
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18277
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18278
|
-
"expire",
|
|
18279
|
-
"carry_all",
|
|
18280
|
-
"carry_over"
|
|
18281
|
-
])),
|
|
18282
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18283
18104
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18284
18105
|
}),
|
|
18285
18106
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18723,7 +18544,6 @@ const generatedFocusOperations = [
|
|
|
18723
18544
|
group: /* @__PURE__ */ string$1(),
|
|
18724
18545
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18725
18546
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18726
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18727
18547
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18728
18548
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18729
18549
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18826,6 +18646,29 @@ const generatedFocusOperations = [
|
|
|
18826
18646
|
]));
|
|
18827
18647
|
}
|
|
18828
18648
|
},
|
|
18649
|
+
{
|
|
18650
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18651
|
+
family: "focus",
|
|
18652
|
+
resource: "projects",
|
|
18653
|
+
action: "margin-targets-clear-workspace",
|
|
18654
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18655
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18656
|
+
safety: "delete",
|
|
18657
|
+
destructive: true,
|
|
18658
|
+
cli: {
|
|
18659
|
+
group: ["projects", "margin-targets"],
|
|
18660
|
+
command: "clear-workspace",
|
|
18661
|
+
interactive: "default"
|
|
18662
|
+
},
|
|
18663
|
+
mcp: { entityTool: "projects" },
|
|
18664
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18665
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18666
|
+
client.httpClient,
|
|
18667
|
+
client.organizationId,
|
|
18668
|
+
client.workspaceIdNumber,
|
|
18669
|
+
void 0
|
|
18670
|
+
]))
|
|
18671
|
+
},
|
|
18829
18672
|
{
|
|
18830
18673
|
id: "focus.projects.margin-targets-get",
|
|
18831
18674
|
family: "focus",
|
|
@@ -21228,7 +21071,7 @@ const generatedFocusOperations = [
|
|
|
21228
21071
|
cli: {
|
|
21229
21072
|
group: ["reportschedules"],
|
|
21230
21073
|
command: "upsert-saved-view-schedule",
|
|
21231
|
-
interactive: "
|
|
21074
|
+
interactive: "default"
|
|
21232
21075
|
},
|
|
21233
21076
|
mcp: { entityTool: "reportschedules" },
|
|
21234
21077
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21239,10 +21082,8 @@ const generatedFocusOperations = [
|
|
|
21239
21082
|
"weekly",
|
|
21240
21083
|
"monthly"
|
|
21241
21084
|
]),
|
|
21242
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21243
21085
|
time: /* @__PURE__ */ string$1(),
|
|
21244
21086
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21245
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21246
21087
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21247
21088
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21248
21089
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22791,37 +22632,6 @@ const generatedFocusOperations = [
|
|
|
22791
22632
|
return client.createTask(data);
|
|
22792
22633
|
}
|
|
22793
22634
|
},
|
|
22794
|
-
{
|
|
22795
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22796
|
-
family: "focus",
|
|
22797
|
-
resource: "tasks",
|
|
22798
|
-
action: "create-recurring-occurrence",
|
|
22799
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22800
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22801
|
-
safety: "create",
|
|
22802
|
-
destructive: false,
|
|
22803
|
-
cli: {
|
|
22804
|
-
group: ["tasks"],
|
|
22805
|
-
command: "create-recurring-occurrence",
|
|
22806
|
-
interactive: "default"
|
|
22807
|
-
},
|
|
22808
|
-
mcp: { entityTool: "tasks" },
|
|
22809
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22810
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22811
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22812
|
-
}),
|
|
22813
|
-
execute: (input, { client }) => {
|
|
22814
|
-
const data = input;
|
|
22815
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22816
|
-
client.httpClient,
|
|
22817
|
-
client.organizationId,
|
|
22818
|
-
client.workspaceIdNumber,
|
|
22819
|
-
data.task_id,
|
|
22820
|
-
data.return_occurrence,
|
|
22821
|
-
void 0
|
|
22822
|
-
]));
|
|
22823
|
-
}
|
|
22824
|
-
},
|
|
22825
22635
|
{
|
|
22826
22636
|
id: "focus.tasks.delete",
|
|
22827
22637
|
family: "focus",
|
|
@@ -23069,13 +22879,9 @@ const generatedFocusOperations = [
|
|
|
23069
22879
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
22880
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
22881
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23072
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23073
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23074
22882
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23075
22883
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23076
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
22884
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
22885
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23080
22886
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23081
22887
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23127,9 +22933,7 @@ const generatedFocusOperations = [
|
|
|
23127
22933
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23128
22934
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23129
22935
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23130
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23131
22936
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23132
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23133
22937
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23134
22938
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23135
22939
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23138,9 +22942,7 @@ const generatedFocusOperations = [
|
|
|
23138
22942
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23139
22943
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23140
22944
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23141
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23142
22945
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23143
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23144
22946
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23145
22947
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23146
22948
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23278,10 +23080,8 @@ const generatedFocusOperations = [
|
|
|
23278
23080
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23279
23081
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23280
23082
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23281
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23282
23083
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23283
23084
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23284
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23285
23085
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23286
23086
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23287
23087
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23290,8 +23090,6 @@ const generatedFocusOperations = [
|
|
|
23290
23090
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23291
23091
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23292
23092
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23293
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23294
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23295
23093
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23296
23094
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23297
23095
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23300,8 +23098,7 @@ const generatedFocusOperations = [
|
|
|
23300
23098
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23301
23099
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23302
23100
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23303
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23304
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23101
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23305
23102
|
}),
|
|
23306
23103
|
execute: (input, { client }) => {
|
|
23307
23104
|
const data = input;
|
|
@@ -23343,17 +23140,13 @@ const generatedFocusOperations = [
|
|
|
23343
23140
|
group_id: /* @__PURE__ */ number$2(),
|
|
23344
23141
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23345
23142
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23346
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23347
23143
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23348
23144
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23349
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23350
23145
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23351
23146
|
name: /* @__PURE__ */ unknown$1(),
|
|
23352
23147
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23353
23148
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23354
23149
|
project_id: /* @__PURE__ */ number$2(),
|
|
23355
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23356
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23357
23150
|
source: /* @__PURE__ */ unknown$1(),
|
|
23358
23151
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23359
23152
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23362,8 +23155,7 @@ const generatedFocusOperations = [
|
|
|
23362
23155
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23363
23156
|
team_id: /* @__PURE__ */ number$2(),
|
|
23364
23157
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23365
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23366
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23158
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23367
23159
|
}),
|
|
23368
23160
|
execute: (input, { client }) => {
|
|
23369
23161
|
const data = input;
|
|
@@ -23404,17 +23196,13 @@ const generatedFocusOperations = [
|
|
|
23404
23196
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23405
23197
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23406
23198
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23407
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23408
23199
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23409
23200
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23410
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23411
23201
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23412
23202
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23413
23203
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23414
23204
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23415
23205
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23416
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23417
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23418
23206
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23419
23207
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23420
23208
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23423,8 +23211,7 @@ const generatedFocusOperations = [
|
|
|
23423
23211
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23424
23212
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23425
23213
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23426
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23427
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23214
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23428
23215
|
}),
|
|
23429
23216
|
execute: (input, { client }) => {
|
|
23430
23217
|
const data = input;
|
|
@@ -23695,8 +23482,7 @@ const generatedFocusOperations = [
|
|
|
23695
23482
|
mcp: { entityTool: "tasks" },
|
|
23696
23483
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23697
23484
|
date_from: /* @__PURE__ */ string$1(),
|
|
23698
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23699
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23485
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23700
23486
|
}),
|
|
23701
23487
|
execute: (input, { client }) => {
|
|
23702
23488
|
const data = input;
|
|
@@ -23706,7 +23492,6 @@ const generatedFocusOperations = [
|
|
|
23706
23492
|
client.workspaceIdNumber,
|
|
23707
23493
|
data.date_from,
|
|
23708
23494
|
data.date_to,
|
|
23709
|
-
data.skip_provider_refresh,
|
|
23710
23495
|
void 0
|
|
23711
23496
|
]));
|
|
23712
23497
|
}
|
|
@@ -24293,8 +24078,7 @@ const generatedFocusOperations = [
|
|
|
24293
24078
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24294
24079
|
"project",
|
|
24295
24080
|
"task",
|
|
24296
|
-
"description"
|
|
24297
|
-
"tags"
|
|
24081
|
+
"description"
|
|
24298
24082
|
]) })),
|
|
24299
24083
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24300
24084
|
}) }),
|
|
@@ -24324,7 +24108,6 @@ const generatedFocusOperations = [
|
|
|
24324
24108
|
},
|
|
24325
24109
|
mcp: { entityTool: "time-entries" },
|
|
24326
24110
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24327
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24328
24111
|
payload: /* @__PURE__ */ looseObject({
|
|
24329
24112
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24330
24113
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24335,13 +24118,11 @@ const generatedFocusOperations = [
|
|
|
24335
24118
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24336
24119
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24337
24120
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24338
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24339
24121
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24340
24122
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24341
24123
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24342
24124
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24343
24125
|
}),
|
|
24344
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24345
24126
|
task_id: /* @__PURE__ */ number$2()
|
|
24346
24127
|
}),
|
|
24347
24128
|
execute: (input, { client }) => {
|
|
@@ -24352,8 +24133,6 @@ const generatedFocusOperations = [
|
|
|
24352
24133
|
client.workspaceIdNumber,
|
|
24353
24134
|
data.task_id,
|
|
24354
24135
|
data.payload ?? data.data ?? data,
|
|
24355
|
-
data.from_recurring_task_id,
|
|
24356
|
-
data.return_occurrence,
|
|
24357
24136
|
void 0
|
|
24358
24137
|
]));
|
|
24359
24138
|
}
|
|
@@ -24373,26 +24152,21 @@ const generatedFocusOperations = [
|
|
|
24373
24152
|
interactive: "default"
|
|
24374
24153
|
},
|
|
24375
24154
|
mcp: { entityTool: "time-entries" },
|
|
24376
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24377
|
-
|
|
24378
|
-
|
|
24379
|
-
|
|
24380
|
-
|
|
24381
|
-
|
|
24382
|
-
|
|
24383
|
-
|
|
24384
|
-
|
|
24385
|
-
|
|
24386
|
-
|
|
24387
|
-
|
|
24388
|
-
|
|
24389
|
-
|
|
24390
|
-
|
|
24391
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24392
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24393
|
-
}),
|
|
24394
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24395
|
-
}),
|
|
24155
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24156
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24157
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24158
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24159
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24160
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24161
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24162
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24163
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24164
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24165
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24166
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24167
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24168
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24169
|
+
}) }),
|
|
24396
24170
|
execute: (input, { client }) => {
|
|
24397
24171
|
const data = input;
|
|
24398
24172
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24400,8 +24174,6 @@ const generatedFocusOperations = [
|
|
|
24400
24174
|
client.organizationId,
|
|
24401
24175
|
client.workspaceIdNumber,
|
|
24402
24176
|
data.payload ?? data.data ?? data,
|
|
24403
|
-
data.from_recurring_task_id,
|
|
24404
|
-
data.return_occurrence,
|
|
24405
24177
|
void 0
|
|
24406
24178
|
]));
|
|
24407
24179
|
}
|
|
@@ -24421,11 +24193,7 @@ const generatedFocusOperations = [
|
|
|
24421
24193
|
interactive: "default"
|
|
24422
24194
|
},
|
|
24423
24195
|
mcp: { entityTool: "time-entries" },
|
|
24424
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24425
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24426
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24427
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24428
|
-
}),
|
|
24196
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24429
24197
|
execute: (input, { client }) => {
|
|
24430
24198
|
const data = input;
|
|
24431
24199
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24433,8 +24201,6 @@ const generatedFocusOperations = [
|
|
|
24433
24201
|
client.organizationId,
|
|
24434
24202
|
client.workspaceIdNumber,
|
|
24435
24203
|
data.time_entry_id,
|
|
24436
|
-
data.from_recurring_task_id,
|
|
24437
|
-
data.return_occurrence,
|
|
24438
24204
|
void 0
|
|
24439
24205
|
]));
|
|
24440
24206
|
}
|
|
@@ -24515,7 +24281,6 @@ const generatedFocusOperations = [
|
|
|
24515
24281
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24516
24282
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24517
24283
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24518
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24519
24284
|
status_id: /* @__PURE__ */ number$2(),
|
|
24520
24285
|
task_id: /* @__PURE__ */ number$2(),
|
|
24521
24286
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24692,14 +24457,12 @@ const generatedFocusOperations = [
|
|
|
24692
24457
|
},
|
|
24693
24458
|
mcp: { entityTool: "time-entries" },
|
|
24694
24459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24695
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24696
24460
|
payload: /* @__PURE__ */ looseObject({
|
|
24697
24461
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24698
24462
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24699
24463
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24700
24464
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24701
24465
|
}),
|
|
24702
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24703
24466
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24704
24467
|
}),
|
|
24705
24468
|
execute: (input, { client }) => {
|
|
@@ -24710,8 +24473,6 @@ const generatedFocusOperations = [
|
|
|
24710
24473
|
client.workspaceIdNumber,
|
|
24711
24474
|
data.time_entry_id,
|
|
24712
24475
|
data.payload ?? data.data ?? data,
|
|
24713
|
-
data.from_recurring_task_id,
|
|
24714
|
-
data.return_occurrence,
|
|
24715
24476
|
void 0
|
|
24716
24477
|
]));
|
|
24717
24478
|
}
|
|
@@ -24969,7 +24730,6 @@ const generatedFocusOperations = [
|
|
|
24969
24730
|
},
|
|
24970
24731
|
mcp: { entityTool: "time-entries" },
|
|
24971
24732
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24972
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24973
24733
|
payload: /* @__PURE__ */ looseObject({
|
|
24974
24734
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24975
24735
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24982,7 +24742,6 @@ const generatedFocusOperations = [
|
|
|
24982
24742
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24983
24743
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24984
24744
|
}),
|
|
24985
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24986
24745
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24987
24746
|
}),
|
|
24988
24747
|
execute: (input, { client }) => {
|
|
@@ -24993,8 +24752,6 @@ const generatedFocusOperations = [
|
|
|
24993
24752
|
client.workspaceIdNumber,
|
|
24994
24753
|
data.time_entry_id,
|
|
24995
24754
|
data.payload ?? data.data ?? data,
|
|
24996
|
-
data.from_recurring_task_id,
|
|
24997
|
-
data.return_occurrence,
|
|
24998
24755
|
void 0
|
|
24999
24756
|
]));
|
|
25000
24757
|
}
|
|
@@ -25510,40 +25267,6 @@ const generatedFocusOperations = [
|
|
|
25510
25267
|
]));
|
|
25511
25268
|
}
|
|
25512
25269
|
},
|
|
25513
|
-
{
|
|
25514
|
-
id: "focus.timesheets.get-status-counts",
|
|
25515
|
-
family: "focus",
|
|
25516
|
-
resource: "timesheets",
|
|
25517
|
-
action: "get-status-counts",
|
|
25518
|
-
title: "Get Status Counts Timesheets",
|
|
25519
|
-
description: "Get Status Counts Timesheets.",
|
|
25520
|
-
safety: "read",
|
|
25521
|
-
destructive: false,
|
|
25522
|
-
cli: {
|
|
25523
|
-
group: ["timesheets"],
|
|
25524
|
-
command: "get-status-counts",
|
|
25525
|
-
interactive: "hidden"
|
|
25526
|
-
},
|
|
25527
|
-
mcp: { entityTool: "timesheets" },
|
|
25528
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25529
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25530
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25531
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25532
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25533
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25534
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25535
|
-
}),
|
|
25536
|
-
execute: (input, { client }) => {
|
|
25537
|
-
const data = input;
|
|
25538
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25539
|
-
client.httpClient,
|
|
25540
|
-
client.organizationId,
|
|
25541
|
-
client.workspaceIdNumber,
|
|
25542
|
-
data,
|
|
25543
|
-
void 0
|
|
25544
|
-
]));
|
|
25545
|
-
}
|
|
25546
|
-
},
|
|
25547
25270
|
{
|
|
25548
25271
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25549
25272
|
family: "focus",
|
|
@@ -26093,33 +25816,6 @@ const generatedFocusOperations = [
|
|
|
26093
25816
|
]));
|
|
26094
25817
|
}
|
|
26095
25818
|
},
|
|
26096
|
-
{
|
|
26097
|
-
id: "focus.track-team-invites.post",
|
|
26098
|
-
family: "focus",
|
|
26099
|
-
resource: "track-team-invites",
|
|
26100
|
-
action: "post",
|
|
26101
|
-
title: "Post Track Team Invites",
|
|
26102
|
-
description: "Post Track Team Invites.",
|
|
26103
|
-
safety: "create",
|
|
26104
|
-
destructive: false,
|
|
26105
|
-
cli: {
|
|
26106
|
-
group: ["track-team-invites"],
|
|
26107
|
-
command: "post",
|
|
26108
|
-
interactive: "default"
|
|
26109
|
-
},
|
|
26110
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26111
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26112
|
-
execute: (input, { client }) => {
|
|
26113
|
-
const data = input;
|
|
26114
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26115
|
-
client.httpClient,
|
|
26116
|
-
client.organizationId,
|
|
26117
|
-
client.workspaceIdNumber,
|
|
26118
|
-
data.payload ?? data.data ?? data,
|
|
26119
|
-
void 0
|
|
26120
|
-
]));
|
|
26121
|
-
}
|
|
26122
|
-
},
|
|
26123
25819
|
{
|
|
26124
25820
|
id: "focus.users.list",
|
|
26125
25821
|
family: "focus",
|
|
@@ -26141,56 +25837,6 @@ const generatedFocusOperations = [
|
|
|
26141
25837
|
return client.listOrgUsers(data);
|
|
26142
25838
|
}
|
|
26143
25839
|
},
|
|
26144
|
-
{
|
|
26145
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26146
|
-
family: "focus",
|
|
26147
|
-
resource: "users",
|
|
26148
|
-
action: "settings-email-unsubscribe",
|
|
26149
|
-
title: "Settings Email Unsubscribe Users",
|
|
26150
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26151
|
-
safety: "update",
|
|
26152
|
-
destructive: false,
|
|
26153
|
-
cli: {
|
|
26154
|
-
group: ["users", "settings"],
|
|
26155
|
-
command: "email-unsubscribe",
|
|
26156
|
-
interactive: "default"
|
|
26157
|
-
},
|
|
26158
|
-
mcp: { entityTool: "users" },
|
|
26159
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26160
|
-
execute: (input, { client }) => {
|
|
26161
|
-
const data = input;
|
|
26162
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26163
|
-
client.httpClient,
|
|
26164
|
-
data.token,
|
|
26165
|
-
void 0
|
|
26166
|
-
]));
|
|
26167
|
-
}
|
|
26168
|
-
},
|
|
26169
|
-
{
|
|
26170
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26171
|
-
family: "focus",
|
|
26172
|
-
resource: "users",
|
|
26173
|
-
action: "settings-email-unsubscribe-page",
|
|
26174
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26175
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26176
|
-
safety: "read",
|
|
26177
|
-
destructive: false,
|
|
26178
|
-
cli: {
|
|
26179
|
-
group: ["users", "settings"],
|
|
26180
|
-
command: "email-unsubscribe-page",
|
|
26181
|
-
interactive: "available"
|
|
26182
|
-
},
|
|
26183
|
-
mcp: { entityTool: "users" },
|
|
26184
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26185
|
-
execute: (input, { client }) => {
|
|
26186
|
-
const data = input;
|
|
26187
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26188
|
-
client.httpClient,
|
|
26189
|
-
data.token,
|
|
26190
|
-
void 0
|
|
26191
|
-
]));
|
|
26192
|
-
}
|
|
26193
|
-
},
|
|
26194
25840
|
{
|
|
26195
25841
|
id: "focus.users.settings-list",
|
|
26196
25842
|
family: "focus",
|
|
@@ -26252,9 +25898,6 @@ const generatedFocusOperations = [
|
|
|
26252
25898
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26253
25899
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26254
25900
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26255
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26256
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26257
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26258
25901
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26259
25902
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26260
25903
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28317,4 +27960,4 @@ Common commands:
|
|
|
28317
27960
|
//#endregion
|
|
28318
27961
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28319
27962
|
|
|
28320
|
-
//# sourceMappingURL=program-
|
|
27963
|
+
//# sourceMappingURL=program-2Rl61Aae.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-2Rl61Aae.js";
|
|
2
2
|
export { createProgram };
|