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