@togglhq/cli 1.11.34 → 1.11.36
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-0qSG7U_w.js → program-CB5KTuNG.js} +109 -389
- package/build/program.js +1 -1
- package/package.json +2 -2
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-CB5KTuNG.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-CB5KTuNG.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9143,7 +9143,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9143
9143
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9144
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9145
9145
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9146
|
-
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."))),
|
|
9147
9146
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9148
9147
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9149
9148
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9205,7 +9204,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9205
9204
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9206
9205
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9207
9206
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9208
|
-
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."))),
|
|
9209
9207
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9210
9208
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9211
9209
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9388,8 +9386,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9388
9386
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9389
9387
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9390
9388
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9391
|
-
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."))),
|
|
9392
|
-
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."))),
|
|
9393
9389
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9394
9390
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9395
9391
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9475,7 +9471,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9475
9471
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9476
9472
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9477
9473
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9478
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9479
9474
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
9480
9475
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9481
9476
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -9555,8 +9550,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9555
9550
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9556
9551
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9557
9552
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9558
|
-
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."))),
|
|
9559
|
-
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."))),
|
|
9560
9553
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9561
9554
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9562
9555
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9787,7 +9780,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9787
9780
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9788
9781
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9789
9782
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9790
|
-
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."))),
|
|
9791
9783
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9792
9784
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9793
9785
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9824,7 +9816,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9824
9816
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9825
9817
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9826
9818
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9827
|
-
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."))),
|
|
9828
9819
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9829
9820
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9830
9821
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -10110,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10110
10101
|
}
|
|
10111
10102
|
//#endregion
|
|
10112
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10113
|
-
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) {
|
|
10114
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10115
10106
|
signal,
|
|
10116
10107
|
searchParams: buildSearchParams$2({
|
|
10117
|
-
include_task_counts,
|
|
10118
|
-
task_archived,
|
|
10119
|
-
task_recurring,
|
|
10120
|
-
task_state,
|
|
10121
|
-
task_source,
|
|
10122
|
-
task_assignee_user_id,
|
|
10123
|
-
task_assignee_team_id,
|
|
10124
|
-
task_name,
|
|
10125
10108
|
page,
|
|
10126
10109
|
per_page,
|
|
10127
10110
|
order_by,
|
|
@@ -10371,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10371
10354
|
}
|
|
10372
10355
|
//#endregion
|
|
10373
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10374
|
-
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) {
|
|
10375
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10376
10359
|
signal,
|
|
10377
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10422,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10422
10405
|
include_assignees,
|
|
10423
10406
|
include_parent_matches,
|
|
10424
10407
|
disable_aggregations,
|
|
10425
|
-
cf_filter
|
|
10426
|
-
recurring_occurrences_after,
|
|
10427
|
-
max_recurring_occurrences_after,
|
|
10428
|
-
recurring_task_read,
|
|
10429
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10430
10409
|
})
|
|
10431
10410
|
}).json();
|
|
10432
10411
|
}
|
|
@@ -10501,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10501
10480
|
})
|
|
10502
10481
|
}).json();
|
|
10503
10482
|
}
|
|
10504
|
-
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) {
|
|
10505
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10506
10485
|
signal,
|
|
10507
10486
|
searchParams: buildSearchParams$2({
|
|
10508
10487
|
date_from,
|
|
10509
|
-
date_to
|
|
10510
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10511
10489
|
})
|
|
10512
10490
|
}).json();
|
|
10513
10491
|
}
|
|
10514
|
-
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) {
|
|
10515
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10516
10494
|
signal,
|
|
10517
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10527,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10527
10505
|
assignee_team_id,
|
|
10528
10506
|
assignee_user_id,
|
|
10529
10507
|
tag_id,
|
|
10530
|
-
include_assignees
|
|
10531
|
-
recurring_occurrences_after,
|
|
10532
|
-
max_recurring_occurrences_after,
|
|
10533
|
-
recurring_task_read,
|
|
10534
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10535
10509
|
})
|
|
10536
10510
|
}).json();
|
|
10537
10511
|
}
|
|
10538
|
-
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) {
|
|
10539
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10540
10514
|
signal,
|
|
10541
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10580,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10580
10554
|
recurring_task_ids,
|
|
10581
10555
|
client_id,
|
|
10582
10556
|
include_assignees,
|
|
10583
|
-
cf_filter
|
|
10584
|
-
recurring_occurrences_after,
|
|
10585
|
-
max_recurring_occurrences_after,
|
|
10586
|
-
recurring_task_read,
|
|
10587
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10588
10558
|
})
|
|
10589
10559
|
}).json();
|
|
10590
10560
|
}
|
|
@@ -10639,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10639
10609
|
})
|
|
10640
10610
|
}).json();
|
|
10641
10611
|
}
|
|
10642
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10643
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10644
|
-
signal,
|
|
10645
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10646
|
-
}).json();
|
|
10647
|
-
}
|
|
10648
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) {
|
|
10649
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10650
10614
|
signal,
|
|
@@ -10781,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10781
10745
|
})
|
|
10782
10746
|
}).json();
|
|
10783
10747
|
}
|
|
10784
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10785
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10786
10750
|
signal,
|
|
10787
|
-
json: data
|
|
10788
|
-
searchParams: buildSearchParams$2({
|
|
10789
|
-
from_recurring_task_id,
|
|
10790
|
-
return_occurrence
|
|
10791
|
-
})
|
|
10751
|
+
json: data
|
|
10792
10752
|
}).json();
|
|
10793
10753
|
}
|
|
10794
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10795
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10796
10756
|
signal,
|
|
10797
|
-
json: data
|
|
10798
|
-
searchParams: buildSearchParams$2({
|
|
10799
|
-
from_recurring_task_id,
|
|
10800
|
-
return_occurrence
|
|
10801
|
-
})
|
|
10757
|
+
json: data
|
|
10802
10758
|
}).json();
|
|
10803
10759
|
}
|
|
10804
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10849,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10849
10805
|
json: data
|
|
10850
10806
|
}).json();
|
|
10851
10807
|
}
|
|
10852
|
-
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) {
|
|
10853
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10854
10810
|
signal,
|
|
10855
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10857,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10857
10813
|
date_to,
|
|
10858
10814
|
task_id,
|
|
10859
10815
|
status_id,
|
|
10860
|
-
project_id,
|
|
10861
10816
|
type,
|
|
10862
10817
|
order_by,
|
|
10863
10818
|
archived,
|
|
@@ -10881,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10881
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10882
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10883
10838
|
}
|
|
10884
|
-
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) {
|
|
10885
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10886
10841
|
signal,
|
|
10887
|
-
json: data
|
|
10888
|
-
searchParams: buildSearchParams$2({
|
|
10889
|
-
from_recurring_task_id,
|
|
10890
|
-
return_occurrence
|
|
10891
|
-
})
|
|
10842
|
+
json: data
|
|
10892
10843
|
}).json();
|
|
10893
10844
|
}
|
|
10894
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10895
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10896
|
-
signal,
|
|
10897
|
-
searchParams: buildSearchParams$2({
|
|
10898
|
-
from_recurring_task_id,
|
|
10899
|
-
return_occurrence
|
|
10900
|
-
})
|
|
10901
|
-
}).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();
|
|
10902
10847
|
}
|
|
10903
|
-
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) {
|
|
10904
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10905
10850
|
signal,
|
|
10906
|
-
json: data
|
|
10907
|
-
searchParams: buildSearchParams$2({
|
|
10908
|
-
from_recurring_task_id,
|
|
10909
|
-
return_occurrence
|
|
10910
|
-
})
|
|
10851
|
+
json: data
|
|
10911
10852
|
}).json();
|
|
10912
10853
|
}
|
|
10913
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -11022,7 +10963,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11022
10963
|
]))
|
|
11023
10964
|
});
|
|
11024
10965
|
//#endregion
|
|
11025
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10966
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11026
10967
|
async function getInvitations(httpClient, signal) {
|
|
11027
10968
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11028
10969
|
}
|
|
@@ -11039,7 +10980,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11039
10980
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11040
10981
|
}
|
|
11041
10982
|
//#endregion
|
|
11042
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10983
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11043
10984
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11044
10985
|
const searchParams = new URLSearchParams();
|
|
11045
10986
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11051,7 +10992,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11051
10992
|
return searchParams;
|
|
11052
10993
|
}
|
|
11053
10994
|
//#endregion
|
|
11054
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10995
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11055
10996
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11056
10997
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11057
10998
|
}
|
|
@@ -11065,7 +11006,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11065
11006
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11066
11007
|
}
|
|
11067
11008
|
//#endregion
|
|
11068
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11009
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11069
11010
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11070
11011
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11071
11012
|
}
|
|
@@ -11085,7 +11026,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11085
11026
|
});
|
|
11086
11027
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11087
11028
|
//#endregion
|
|
11088
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11029
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11089
11030
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11090
11031
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11091
11032
|
signal,
|
|
@@ -11096,12 +11037,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11096
11037
|
})).json();
|
|
11097
11038
|
}
|
|
11098
11039
|
//#endregion
|
|
11099
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11040
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11100
11041
|
async function getStatus(httpClient, signal) {
|
|
11101
11042
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11102
11043
|
}
|
|
11103
11044
|
//#endregion
|
|
11104
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11045
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11105
11046
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11106
11047
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11107
11048
|
signal,
|
|
@@ -11129,7 +11070,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11129
11070
|
return response.json();
|
|
11130
11071
|
}
|
|
11131
11072
|
//#endregion
|
|
11132
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11073
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.44_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_d8955942878b3bc5411d7a13cf80781a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11133
11074
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11134
11075
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11135
11076
|
}
|
|
@@ -14753,15 +14694,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14753
14694
|
}
|
|
14754
14695
|
//#endregion
|
|
14755
14696
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14756
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14697
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14757
14698
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14758
14699
|
signal,
|
|
14759
14700
|
searchParams: buildSearchParams$2({
|
|
14760
14701
|
workspace_id,
|
|
14761
14702
|
entity_type,
|
|
14762
14703
|
entity_id,
|
|
14763
|
-
project_id,
|
|
14764
|
-
custom_field_id,
|
|
14765
14704
|
action,
|
|
14766
14705
|
user_id,
|
|
14767
14706
|
page_size,
|
|
@@ -14770,14 +14709,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14770
14709
|
})
|
|
14771
14710
|
}).json();
|
|
14772
14711
|
}
|
|
14773
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14712
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14774
14713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14775
14714
|
signal,
|
|
14776
14715
|
searchParams: buildSearchParams$2({
|
|
14777
14716
|
entity_type,
|
|
14778
14717
|
entity_id,
|
|
14779
|
-
project_id,
|
|
14780
|
-
custom_field_id,
|
|
14781
14718
|
action,
|
|
14782
14719
|
user_id,
|
|
14783
14720
|
page_size,
|
|
@@ -14930,14 +14867,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14930
14867
|
}
|
|
14931
14868
|
//#endregion
|
|
14932
14869
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14933
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14870
|
+
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) {
|
|
14934
14871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14935
14872
|
signal,
|
|
14936
14873
|
searchParams: buildSearchParams$2({
|
|
14874
|
+
user_id,
|
|
14937
14875
|
start_date,
|
|
14938
14876
|
end_date,
|
|
14939
|
-
user_id,
|
|
14940
|
-
team_id,
|
|
14941
14877
|
private: private_,
|
|
14942
14878
|
task_source,
|
|
14943
14879
|
unit,
|
|
@@ -14997,15 +14933,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14997
14933
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14998
14934
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14999
14935
|
}
|
|
15000
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15001
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15002
|
-
}
|
|
15003
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15004
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15005
|
-
signal,
|
|
15006
|
-
json: data
|
|
15007
|
-
}).json();
|
|
15008
|
-
}
|
|
15009
14936
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15010
14937
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15011
14938
|
signal,
|
|
@@ -15269,7 +15196,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15269
15196
|
}
|
|
15270
15197
|
//#endregion
|
|
15271
15198
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15272
|
-
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,
|
|
15199
|
+
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) {
|
|
15273
15200
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15274
15201
|
signal,
|
|
15275
15202
|
searchParams: buildSearchParams$2({
|
|
@@ -15295,7 +15222,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15295
15222
|
user_id,
|
|
15296
15223
|
only_me,
|
|
15297
15224
|
include_drafts,
|
|
15298
|
-
include_recurring_series,
|
|
15299
15225
|
cf_filter
|
|
15300
15226
|
})
|
|
15301
15227
|
}).json();
|
|
@@ -15314,6 +15240,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15314
15240
|
json: data
|
|
15315
15241
|
}).json();
|
|
15316
15242
|
}
|
|
15243
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15244
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15245
|
+
}
|
|
15317
15246
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15318
15247
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15319
15248
|
}
|
|
@@ -15617,10 +15546,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15617
15546
|
}
|
|
15618
15547
|
//#endregion
|
|
15619
15548
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15620
|
-
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
|
|
15549
|
+
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) {
|
|
15621
15550
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15622
15551
|
signal,
|
|
15623
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15624
15552
|
searchParams: buildSearchParams$2({
|
|
15625
15553
|
project_id,
|
|
15626
15554
|
source,
|
|
@@ -15649,18 +15577,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15649
15577
|
min_days,
|
|
15650
15578
|
include_drafts,
|
|
15651
15579
|
cf_filter,
|
|
15652
|
-
user_cf_filter
|
|
15653
|
-
recurring_occurrences_after,
|
|
15654
|
-
max_recurring_occurrences_after,
|
|
15655
|
-
recurring_task_read,
|
|
15656
|
-
include_projected_occurrences
|
|
15580
|
+
user_cf_filter
|
|
15657
15581
|
})
|
|
15658
15582
|
}).json();
|
|
15659
15583
|
}
|
|
15660
|
-
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
|
|
15584
|
+
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) {
|
|
15661
15585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15662
15586
|
signal,
|
|
15663
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15664
15587
|
searchParams: buildSearchParams$2({
|
|
15665
15588
|
team_id,
|
|
15666
15589
|
project_id,
|
|
@@ -15689,18 +15612,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15689
15612
|
min_days,
|
|
15690
15613
|
include_drafts,
|
|
15691
15614
|
cf_filter,
|
|
15692
|
-
user_cf_filter
|
|
15693
|
-
recurring_occurrences_after,
|
|
15694
|
-
max_recurring_occurrences_after,
|
|
15695
|
-
recurring_task_read,
|
|
15696
|
-
include_projected_occurrences
|
|
15615
|
+
user_cf_filter
|
|
15697
15616
|
})
|
|
15698
15617
|
}).json();
|
|
15699
15618
|
}
|
|
15700
|
-
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,
|
|
15619
|
+
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) {
|
|
15701
15620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15702
15621
|
signal,
|
|
15703
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15704
15622
|
searchParams: buildSearchParams$2({
|
|
15705
15623
|
source,
|
|
15706
15624
|
priority,
|
|
@@ -15730,10 +15648,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15730
15648
|
include_drafts,
|
|
15731
15649
|
cf_filter,
|
|
15732
15650
|
user_cf_filter,
|
|
15733
|
-
recurring_occurrences_after,
|
|
15734
|
-
max_recurring_occurrences_after,
|
|
15735
|
-
recurring_task_read,
|
|
15736
|
-
include_projected_occurrences,
|
|
15737
15651
|
page,
|
|
15738
15652
|
per_page,
|
|
15739
15653
|
order_by
|
|
@@ -15969,12 +15883,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15969
15883
|
}
|
|
15970
15884
|
//#endregion
|
|
15971
15885
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15972
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15973
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15974
|
-
}
|
|
15975
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15976
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15977
|
-
}
|
|
15978
15886
|
async function getUserSettings(httpClient, signal) {
|
|
15979
15887
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15980
15888
|
}
|
|
@@ -16214,7 +16122,6 @@ const generatedFocusOperations = [
|
|
|
16214
16122
|
mcp: { entityTool: "audit-log" },
|
|
16215
16123
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16216
16124
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16217
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16218
16125
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16219
16126
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16220
16127
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16222,7 +16129,6 @@ const generatedFocusOperations = [
|
|
|
16222
16129
|
from: /* @__PURE__ */ string$1(),
|
|
16223
16130
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16224
16131
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16225
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16226
16132
|
to: /* @__PURE__ */ string$1(),
|
|
16227
16133
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16228
16134
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16256,7 +16162,6 @@ const generatedFocusOperations = [
|
|
|
16256
16162
|
mcp: { entityTool: "audit-log" },
|
|
16257
16163
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16258
16164
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16259
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16260
16165
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16261
16166
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16262
16167
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16264,7 +16169,6 @@ const generatedFocusOperations = [
|
|
|
16264
16169
|
from: /* @__PURE__ */ string$1(),
|
|
16265
16170
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16266
16171
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16267
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16268
16172
|
to: /* @__PURE__ */ string$1(),
|
|
16269
16173
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16270
16174
|
}),
|
|
@@ -16304,7 +16208,6 @@ const generatedFocusOperations = [
|
|
|
16304
16208
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16305
16209
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16306
16210
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16307
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16308
16211
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16309
16212
|
user_id: /* @__PURE__ */ number$2()
|
|
16310
16213
|
}),
|
|
@@ -16745,33 +16648,6 @@ const generatedFocusOperations = [
|
|
|
16745
16648
|
]));
|
|
16746
16649
|
}
|
|
16747
16650
|
},
|
|
16748
|
-
{
|
|
16749
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16750
|
-
family: "focus",
|
|
16751
|
-
resource: "custom-fields",
|
|
16752
|
-
action: "get-allowed-users",
|
|
16753
|
-
title: "Get Allowed Users Custom Fields",
|
|
16754
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16755
|
-
safety: "read",
|
|
16756
|
-
destructive: false,
|
|
16757
|
-
cli: {
|
|
16758
|
-
group: ["custom-fields"],
|
|
16759
|
-
command: "get-allowed-users",
|
|
16760
|
-
interactive: "available"
|
|
16761
|
-
},
|
|
16762
|
-
mcp: { entityTool: "custom-fields" },
|
|
16763
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16764
|
-
execute: (input, { client }) => {
|
|
16765
|
-
const data = input;
|
|
16766
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16767
|
-
client.httpClient,
|
|
16768
|
-
client.organizationId,
|
|
16769
|
-
client.workspaceIdNumber,
|
|
16770
|
-
data.custom_field_id,
|
|
16771
|
-
void 0
|
|
16772
|
-
]));
|
|
16773
|
-
}
|
|
16774
|
-
},
|
|
16775
16651
|
{
|
|
16776
16652
|
id: "focus.custom-fields.list",
|
|
16777
16653
|
family: "focus",
|
|
@@ -16941,37 +16817,6 @@ const generatedFocusOperations = [
|
|
|
16941
16817
|
]));
|
|
16942
16818
|
}
|
|
16943
16819
|
},
|
|
16944
|
-
{
|
|
16945
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16946
|
-
family: "focus",
|
|
16947
|
-
resource: "custom-fields",
|
|
16948
|
-
action: "replace-custom-field-allowed-users",
|
|
16949
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16950
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16951
|
-
safety: "update",
|
|
16952
|
-
destructive: false,
|
|
16953
|
-
cli: {
|
|
16954
|
-
group: ["custom-fields"],
|
|
16955
|
-
command: "replace-custom-field-allowed-users",
|
|
16956
|
-
interactive: "default"
|
|
16957
|
-
},
|
|
16958
|
-
mcp: { entityTool: "custom-fields" },
|
|
16959
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16960
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16961
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16962
|
-
}),
|
|
16963
|
-
execute: (input, { client }) => {
|
|
16964
|
-
const data = input;
|
|
16965
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16966
|
-
client.httpClient,
|
|
16967
|
-
client.organizationId,
|
|
16968
|
-
client.workspaceIdNumber,
|
|
16969
|
-
data.custom_field_id,
|
|
16970
|
-
data.payload ?? data.data ?? data,
|
|
16971
|
-
void 0
|
|
16972
|
-
]));
|
|
16973
|
-
}
|
|
16974
|
-
},
|
|
16975
16820
|
{
|
|
16976
16821
|
id: "focus.custom-fields.update",
|
|
16977
16822
|
family: "focus",
|
|
@@ -17118,7 +16963,13 @@ const generatedFocusOperations = [
|
|
|
17118
16963
|
},
|
|
17119
16964
|
mcp: { entityTool: "goals" },
|
|
17120
16965
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16966
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17121
16967
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16968
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16969
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16970
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16971
|
+
name: /* @__PURE__ */ string$1(),
|
|
16972
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17122
16973
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17123
16974
|
"daily",
|
|
17124
16975
|
"weekly",
|
|
@@ -17126,18 +16977,12 @@ const generatedFocusOperations = [
|
|
|
17126
16977
|
"monthly"
|
|
17127
16978
|
]),
|
|
17128
16979
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16980
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17129
16981
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17130
|
-
|
|
16982
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16983
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17131
16984
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17132
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17133
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17134
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17135
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17136
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17137
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17138
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17139
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17140
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16985
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17141
16986
|
}) }),
|
|
17142
16987
|
execute: (input, { client }) => {
|
|
17143
16988
|
const data = input;
|
|
@@ -17243,6 +17088,13 @@ const generatedFocusOperations = [
|
|
|
17243
17088
|
},
|
|
17244
17089
|
mcp: { entityTool: "goals" },
|
|
17245
17090
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17091
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17092
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17093
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17094
|
+
icon: /* @__PURE__ */ string$1(),
|
|
17095
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17096
|
+
name: /* @__PURE__ */ string$1(),
|
|
17097
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17246
17098
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17247
17099
|
"daily",
|
|
17248
17100
|
"weekly",
|
|
@@ -17250,19 +17102,12 @@ const generatedFocusOperations = [
|
|
|
17250
17102
|
"monthly"
|
|
17251
17103
|
]),
|
|
17252
17104
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17253
|
-
|
|
17105
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17106
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
17107
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17108
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17254
17109
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17255
|
-
|
|
17256
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17257
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17258
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17259
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17260
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17261
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17262
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17263
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17264
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17265
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17110
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17266
17111
|
}) }),
|
|
17267
17112
|
execute: (input, { client }) => {
|
|
17268
17113
|
const data = input;
|
|
@@ -18229,17 +18074,9 @@ const generatedFocusOperations = [
|
|
|
18229
18074
|
mcp: { entityTool: "projects" },
|
|
18230
18075
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18231
18076
|
payload: /* @__PURE__ */ looseObject({
|
|
18232
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18233
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18234
18077
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18235
18078
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18236
18079
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18237
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18238
|
-
"expire",
|
|
18239
|
-
"carry_all",
|
|
18240
|
-
"carry_over"
|
|
18241
|
-
])),
|
|
18242
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18243
18080
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18244
18081
|
}),
|
|
18245
18082
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18683,7 +18520,6 @@ const generatedFocusOperations = [
|
|
|
18683
18520
|
group: /* @__PURE__ */ string$1(),
|
|
18684
18521
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18685
18522
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18686
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18687
18523
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18688
18524
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18689
18525
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18786,6 +18622,29 @@ const generatedFocusOperations = [
|
|
|
18786
18622
|
]));
|
|
18787
18623
|
}
|
|
18788
18624
|
},
|
|
18625
|
+
{
|
|
18626
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18627
|
+
family: "focus",
|
|
18628
|
+
resource: "projects",
|
|
18629
|
+
action: "margin-targets-clear-workspace",
|
|
18630
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18631
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18632
|
+
safety: "delete",
|
|
18633
|
+
destructive: true,
|
|
18634
|
+
cli: {
|
|
18635
|
+
group: ["projects", "margin-targets"],
|
|
18636
|
+
command: "clear-workspace",
|
|
18637
|
+
interactive: "default"
|
|
18638
|
+
},
|
|
18639
|
+
mcp: { entityTool: "projects" },
|
|
18640
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18641
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18642
|
+
client.httpClient,
|
|
18643
|
+
client.organizationId,
|
|
18644
|
+
client.workspaceIdNumber,
|
|
18645
|
+
void 0
|
|
18646
|
+
]))
|
|
18647
|
+
},
|
|
18789
18648
|
{
|
|
18790
18649
|
id: "focus.projects.margin-targets-get",
|
|
18791
18650
|
family: "focus",
|
|
@@ -21188,7 +21047,7 @@ const generatedFocusOperations = [
|
|
|
21188
21047
|
cli: {
|
|
21189
21048
|
group: ["reportschedules"],
|
|
21190
21049
|
command: "upsert-saved-view-schedule",
|
|
21191
|
-
interactive: "
|
|
21050
|
+
interactive: "default"
|
|
21192
21051
|
},
|
|
21193
21052
|
mcp: { entityTool: "reportschedules" },
|
|
21194
21053
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21199,10 +21058,8 @@ const generatedFocusOperations = [
|
|
|
21199
21058
|
"weekly",
|
|
21200
21059
|
"monthly"
|
|
21201
21060
|
]),
|
|
21202
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21203
21061
|
time: /* @__PURE__ */ string$1(),
|
|
21204
21062
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21205
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21206
21063
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21207
21064
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21208
21065
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22751,37 +22608,6 @@ const generatedFocusOperations = [
|
|
|
22751
22608
|
return client.createTask(data);
|
|
22752
22609
|
}
|
|
22753
22610
|
},
|
|
22754
|
-
{
|
|
22755
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22756
|
-
family: "focus",
|
|
22757
|
-
resource: "tasks",
|
|
22758
|
-
action: "create-recurring-occurrence",
|
|
22759
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22760
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22761
|
-
safety: "create",
|
|
22762
|
-
destructive: false,
|
|
22763
|
-
cli: {
|
|
22764
|
-
group: ["tasks"],
|
|
22765
|
-
command: "create-recurring-occurrence",
|
|
22766
|
-
interactive: "default"
|
|
22767
|
-
},
|
|
22768
|
-
mcp: { entityTool: "tasks" },
|
|
22769
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22770
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22771
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22772
|
-
}),
|
|
22773
|
-
execute: (input, { client }) => {
|
|
22774
|
-
const data = input;
|
|
22775
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22776
|
-
client.httpClient,
|
|
22777
|
-
client.organizationId,
|
|
22778
|
-
client.workspaceIdNumber,
|
|
22779
|
-
data.task_id,
|
|
22780
|
-
data.return_occurrence,
|
|
22781
|
-
void 0
|
|
22782
|
-
]));
|
|
22783
|
-
}
|
|
22784
|
-
},
|
|
22785
22611
|
{
|
|
22786
22612
|
id: "focus.tasks.delete",
|
|
22787
22613
|
family: "focus",
|
|
@@ -23029,13 +22855,9 @@ const generatedFocusOperations = [
|
|
|
23029
22855
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23030
22856
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23031
22857
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23032
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23033
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23034
22858
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23035
22859
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23036
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23037
22860
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23038
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23039
22861
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23040
22862
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23041
22863
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23087,9 +22909,7 @@ const generatedFocusOperations = [
|
|
|
23087
22909
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23088
22910
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23089
22911
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
22912
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
22913
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23094
22914
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23095
22915
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23098,9 +22918,7 @@ const generatedFocusOperations = [
|
|
|
23098
22918
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23099
22919
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23100
22920
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23102
22921
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23103
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23104
22922
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23105
22923
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23106
22924
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23238,10 +23056,8 @@ const generatedFocusOperations = [
|
|
|
23238
23056
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23239
23057
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23240
23058
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23242
23059
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23243
23060
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
23061
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23246
23062
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23247
23063
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23250,8 +23066,6 @@ const generatedFocusOperations = [
|
|
|
23250
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23251
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23252
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23253
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23254
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23255
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23256
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23257
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23260,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23260
23074
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23261
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23262
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23263
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23264
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23265
23078
|
}),
|
|
23266
23079
|
execute: (input, { client }) => {
|
|
23267
23080
|
const data = input;
|
|
@@ -23303,17 +23116,13 @@ const generatedFocusOperations = [
|
|
|
23303
23116
|
group_id: /* @__PURE__ */ number$2(),
|
|
23304
23117
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23305
23118
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23306
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23307
23119
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23308
23120
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23309
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23310
23121
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23311
23122
|
name: /* @__PURE__ */ unknown$1(),
|
|
23312
23123
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23313
23124
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23314
23125
|
project_id: /* @__PURE__ */ number$2(),
|
|
23315
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23316
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23317
23126
|
source: /* @__PURE__ */ unknown$1(),
|
|
23318
23127
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23319
23128
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23322,8 +23131,7 @@ const generatedFocusOperations = [
|
|
|
23322
23131
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23323
23132
|
team_id: /* @__PURE__ */ number$2(),
|
|
23324
23133
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23325
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23326
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23134
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23327
23135
|
}),
|
|
23328
23136
|
execute: (input, { client }) => {
|
|
23329
23137
|
const data = input;
|
|
@@ -23364,17 +23172,13 @@ const generatedFocusOperations = [
|
|
|
23364
23172
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23365
23173
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
23174
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23368
23175
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23369
23176
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23370
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23371
23177
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23372
23178
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23373
23179
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23374
23180
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23375
23181
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23376
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23377
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23378
23182
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23379
23183
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23380
23184
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23383,8 +23187,7 @@ const generatedFocusOperations = [
|
|
|
23383
23187
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23384
23188
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23385
23189
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23386
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23387
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23190
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23388
23191
|
}),
|
|
23389
23192
|
execute: (input, { client }) => {
|
|
23390
23193
|
const data = input;
|
|
@@ -23655,8 +23458,7 @@ const generatedFocusOperations = [
|
|
|
23655
23458
|
mcp: { entityTool: "tasks" },
|
|
23656
23459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23657
23460
|
date_from: /* @__PURE__ */ string$1(),
|
|
23658
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23659
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23461
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23660
23462
|
}),
|
|
23661
23463
|
execute: (input, { client }) => {
|
|
23662
23464
|
const data = input;
|
|
@@ -23666,7 +23468,6 @@ const generatedFocusOperations = [
|
|
|
23666
23468
|
client.workspaceIdNumber,
|
|
23667
23469
|
data.date_from,
|
|
23668
23470
|
data.date_to,
|
|
23669
|
-
data.skip_provider_refresh,
|
|
23670
23471
|
void 0
|
|
23671
23472
|
]));
|
|
23672
23473
|
}
|
|
@@ -24253,8 +24054,7 @@ const generatedFocusOperations = [
|
|
|
24253
24054
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24254
24055
|
"project",
|
|
24255
24056
|
"task",
|
|
24256
|
-
"description"
|
|
24257
|
-
"tags"
|
|
24057
|
+
"description"
|
|
24258
24058
|
]) })),
|
|
24259
24059
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24260
24060
|
}) }),
|
|
@@ -24284,7 +24084,6 @@ const generatedFocusOperations = [
|
|
|
24284
24084
|
},
|
|
24285
24085
|
mcp: { entityTool: "time-entries" },
|
|
24286
24086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24287
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24288
24087
|
payload: /* @__PURE__ */ looseObject({
|
|
24289
24088
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24290
24089
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24295,13 +24094,11 @@ const generatedFocusOperations = [
|
|
|
24295
24094
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24296
24095
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24297
24096
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24298
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24299
24097
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24300
24098
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24301
24099
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24302
24100
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24303
24101
|
}),
|
|
24304
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24305
24102
|
task_id: /* @__PURE__ */ number$2()
|
|
24306
24103
|
}),
|
|
24307
24104
|
execute: (input, { client }) => {
|
|
@@ -24312,8 +24109,6 @@ const generatedFocusOperations = [
|
|
|
24312
24109
|
client.workspaceIdNumber,
|
|
24313
24110
|
data.task_id,
|
|
24314
24111
|
data.payload ?? data.data ?? data,
|
|
24315
|
-
data.from_recurring_task_id,
|
|
24316
|
-
data.return_occurrence,
|
|
24317
24112
|
void 0
|
|
24318
24113
|
]));
|
|
24319
24114
|
}
|
|
@@ -24333,26 +24128,21 @@ const generatedFocusOperations = [
|
|
|
24333
24128
|
interactive: "default"
|
|
24334
24129
|
},
|
|
24335
24130
|
mcp: { entityTool: "time-entries" },
|
|
24336
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
|
|
24342
|
-
|
|
24343
|
-
|
|
24344
|
-
|
|
24345
|
-
|
|
24346
|
-
|
|
24347
|
-
|
|
24348
|
-
|
|
24349
|
-
|
|
24350
|
-
|
|
24351
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24352
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24353
|
-
}),
|
|
24354
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24355
|
-
}),
|
|
24131
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24132
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24133
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24134
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24135
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24136
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24137
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24138
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24139
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24140
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24141
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24142
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24143
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24144
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24145
|
+
}) }),
|
|
24356
24146
|
execute: (input, { client }) => {
|
|
24357
24147
|
const data = input;
|
|
24358
24148
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24360,8 +24150,6 @@ const generatedFocusOperations = [
|
|
|
24360
24150
|
client.organizationId,
|
|
24361
24151
|
client.workspaceIdNumber,
|
|
24362
24152
|
data.payload ?? data.data ?? data,
|
|
24363
|
-
data.from_recurring_task_id,
|
|
24364
|
-
data.return_occurrence,
|
|
24365
24153
|
void 0
|
|
24366
24154
|
]));
|
|
24367
24155
|
}
|
|
@@ -24381,11 +24169,7 @@ const generatedFocusOperations = [
|
|
|
24381
24169
|
interactive: "default"
|
|
24382
24170
|
},
|
|
24383
24171
|
mcp: { entityTool: "time-entries" },
|
|
24384
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24385
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24386
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24387
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24388
|
-
}),
|
|
24172
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24389
24173
|
execute: (input, { client }) => {
|
|
24390
24174
|
const data = input;
|
|
24391
24175
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24393,8 +24177,6 @@ const generatedFocusOperations = [
|
|
|
24393
24177
|
client.organizationId,
|
|
24394
24178
|
client.workspaceIdNumber,
|
|
24395
24179
|
data.time_entry_id,
|
|
24396
|
-
data.from_recurring_task_id,
|
|
24397
|
-
data.return_occurrence,
|
|
24398
24180
|
void 0
|
|
24399
24181
|
]));
|
|
24400
24182
|
}
|
|
@@ -24475,7 +24257,6 @@ const generatedFocusOperations = [
|
|
|
24475
24257
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24476
24258
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24477
24259
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24478
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24479
24260
|
status_id: /* @__PURE__ */ number$2(),
|
|
24480
24261
|
task_id: /* @__PURE__ */ number$2(),
|
|
24481
24262
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24652,14 +24433,12 @@ const generatedFocusOperations = [
|
|
|
24652
24433
|
},
|
|
24653
24434
|
mcp: { entityTool: "time-entries" },
|
|
24654
24435
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24655
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24656
24436
|
payload: /* @__PURE__ */ looseObject({
|
|
24657
24437
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24658
24438
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24659
24439
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24660
24440
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24661
24441
|
}),
|
|
24662
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24663
24442
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24664
24443
|
}),
|
|
24665
24444
|
execute: (input, { client }) => {
|
|
@@ -24670,8 +24449,6 @@ const generatedFocusOperations = [
|
|
|
24670
24449
|
client.workspaceIdNumber,
|
|
24671
24450
|
data.time_entry_id,
|
|
24672
24451
|
data.payload ?? data.data ?? data,
|
|
24673
|
-
data.from_recurring_task_id,
|
|
24674
|
-
data.return_occurrence,
|
|
24675
24452
|
void 0
|
|
24676
24453
|
]));
|
|
24677
24454
|
}
|
|
@@ -24929,7 +24706,6 @@ const generatedFocusOperations = [
|
|
|
24929
24706
|
},
|
|
24930
24707
|
mcp: { entityTool: "time-entries" },
|
|
24931
24708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24932
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24933
24709
|
payload: /* @__PURE__ */ looseObject({
|
|
24934
24710
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24935
24711
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24942,7 +24718,6 @@ const generatedFocusOperations = [
|
|
|
24942
24718
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24943
24719
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24944
24720
|
}),
|
|
24945
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24946
24721
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24947
24722
|
}),
|
|
24948
24723
|
execute: (input, { client }) => {
|
|
@@ -24953,8 +24728,6 @@ const generatedFocusOperations = [
|
|
|
24953
24728
|
client.workspaceIdNumber,
|
|
24954
24729
|
data.time_entry_id,
|
|
24955
24730
|
data.payload ?? data.data ?? data,
|
|
24956
|
-
data.from_recurring_task_id,
|
|
24957
|
-
data.return_occurrence,
|
|
24958
24731
|
void 0
|
|
24959
24732
|
]));
|
|
24960
24733
|
}
|
|
@@ -26040,56 +25813,6 @@ const generatedFocusOperations = [
|
|
|
26040
25813
|
return client.listOrgUsers(data);
|
|
26041
25814
|
}
|
|
26042
25815
|
},
|
|
26043
|
-
{
|
|
26044
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26045
|
-
family: "focus",
|
|
26046
|
-
resource: "users",
|
|
26047
|
-
action: "settings-email-unsubscribe",
|
|
26048
|
-
title: "Settings Email Unsubscribe Users",
|
|
26049
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26050
|
-
safety: "update",
|
|
26051
|
-
destructive: false,
|
|
26052
|
-
cli: {
|
|
26053
|
-
group: ["users", "settings"],
|
|
26054
|
-
command: "email-unsubscribe",
|
|
26055
|
-
interactive: "default"
|
|
26056
|
-
},
|
|
26057
|
-
mcp: { entityTool: "users" },
|
|
26058
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26059
|
-
execute: (input, { client }) => {
|
|
26060
|
-
const data = input;
|
|
26061
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26062
|
-
client.httpClient,
|
|
26063
|
-
data.token,
|
|
26064
|
-
void 0
|
|
26065
|
-
]));
|
|
26066
|
-
}
|
|
26067
|
-
},
|
|
26068
|
-
{
|
|
26069
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26070
|
-
family: "focus",
|
|
26071
|
-
resource: "users",
|
|
26072
|
-
action: "settings-email-unsubscribe-page",
|
|
26073
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26074
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26075
|
-
safety: "read",
|
|
26076
|
-
destructive: false,
|
|
26077
|
-
cli: {
|
|
26078
|
-
group: ["users", "settings"],
|
|
26079
|
-
command: "email-unsubscribe-page",
|
|
26080
|
-
interactive: "available"
|
|
26081
|
-
},
|
|
26082
|
-
mcp: { entityTool: "users" },
|
|
26083
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26084
|
-
execute: (input, { client }) => {
|
|
26085
|
-
const data = input;
|
|
26086
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26087
|
-
client.httpClient,
|
|
26088
|
-
data.token,
|
|
26089
|
-
void 0
|
|
26090
|
-
]));
|
|
26091
|
-
}
|
|
26092
|
-
},
|
|
26093
25816
|
{
|
|
26094
25817
|
id: "focus.users.settings-list",
|
|
26095
25818
|
family: "focus",
|
|
@@ -26151,9 +25874,6 @@ const generatedFocusOperations = [
|
|
|
26151
25874
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26152
25875
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26153
25876
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26154
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26155
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26156
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26157
25877
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26158
25878
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26159
25879
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28200,4 +27920,4 @@ Common commands:
|
|
|
28200
27920
|
//#endregion
|
|
28201
27921
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28202
27922
|
|
|
28203
|
-
//# sourceMappingURL=program-
|
|
27923
|
+
//# sourceMappingURL=program-CB5KTuNG.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-CB5KTuNG.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.36",
|
|
4
4
|
"description": "Toggl CLI for Toggl 2.0 API operations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@toggl/cli-core": "workspace:^",
|
|
58
58
|
"@toggl/operations": "workspace:^",
|
|
59
|
-
"@toggl/queries": "2.2.
|
|
59
|
+
"@toggl/queries": "2.2.44",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|