@togglhq/cli 1.11.64 → 1.11.66
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/README.md +1 -19
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-C5GYCsU3.js → program-DfBQ3e83.js} +987 -960
- package/build/program.js +1 -1
- package/package.json +2 -2
- package/skills/toggl-cli/SKILL.md +2 -3
- package/skills/toggl-cli/reference/command-contract.md +1 -6
- package/skills/toggl-cli/reference/focus-concepts.md +1 -9
- package/skills/toggl-cli/reference/troubleshooting.md +1 -1
- package/skills/toggl-cli/workflows/common-workflows.md +0 -12
- package/skills/toggl-cli/reference/time-blocks.md +0 -43
|
@@ -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),
|
|
@@ -7566,29 +7569,7 @@ const ProjectSchema = /* @__PURE__ */ object({
|
|
|
7566
7569
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7567
7570
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7568
7571
|
});
|
|
7569
|
-
const TimeBlockPayloadSchema = /* @__PURE__ */ object({
|
|
7570
|
-
start: /* @__PURE__ */ string(),
|
|
7571
|
-
completed: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7572
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7573
|
-
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
7574
|
-
});
|
|
7575
7572
|
const TimeEntryTypeSchema = /* @__PURE__ */ picklist(["activity", "break"]);
|
|
7576
|
-
const TimeBlockSchema = /* @__PURE__ */ object({
|
|
7577
|
-
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7578
|
-
id: /* @__PURE__ */ number(),
|
|
7579
|
-
start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7580
|
-
task_id: /* @__PURE__ */ number(),
|
|
7581
|
-
toggl_user_id: /* @__PURE__ */ number(),
|
|
7582
|
-
workspace_id: /* @__PURE__ */ number(),
|
|
7583
|
-
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7584
|
-
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7585
|
-
completed_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7586
|
-
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7587
|
-
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7588
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7589
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7590
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7591
|
-
});
|
|
7592
7573
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
7593
7574
|
const TimeEntrySchema = /* @__PURE__ */ object({
|
|
7594
7575
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
@@ -7603,6 +7584,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7603
7584
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7604
7585
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7605
7586
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7587
|
+
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."))),
|
|
7588
|
+
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
7589
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7607
7590
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7608
7591
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7688,8 +7671,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7688
7671
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7689
7672
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7690
7673
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7674
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7691
7675
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7692
7676
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7677
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7693
7678
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7694
7679
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7695
7680
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -7719,28 +7704,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
|
|
|
7719
7704
|
page: /* @__PURE__ */ number(),
|
|
7720
7705
|
per_page: /* @__PURE__ */ number()
|
|
7721
7706
|
});
|
|
7722
|
-
const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
7723
|
-
data: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7724
|
-
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7725
|
-
has_time_entry: /* @__PURE__ */ boolean(),
|
|
7726
|
-
id: /* @__PURE__ */ number(),
|
|
7727
|
-
start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7728
|
-
task_id: /* @__PURE__ */ number(),
|
|
7729
|
-
toggl_user_id: /* @__PURE__ */ number(),
|
|
7730
|
-
workspace_id: /* @__PURE__ */ number(),
|
|
7731
|
-
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7732
|
-
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7733
|
-
completed_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7734
|
-
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7735
|
-
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7736
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
|
-
task: /* @__PURE__ */ optional(TaskSchema),
|
|
7738
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
7739
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7740
|
-
})),
|
|
7741
|
-
page: /* @__PURE__ */ number(),
|
|
7742
|
-
per_page: /* @__PURE__ */ number()
|
|
7743
|
-
});
|
|
7744
7707
|
const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
7745
7708
|
data: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7746
7709
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
@@ -7767,6 +7730,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7767
7730
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7768
7731
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7769
7732
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7733
|
+
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."))),
|
|
7734
|
+
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
7735
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7771
7736
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7772
7737
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7939,8 +7904,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7939
7904
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7940
7905
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7941
7906
|
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
7907
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7945
7908
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7946
7909
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7997,6 +7960,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7997
7960
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
7961
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
7962
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7963
|
+
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
7964
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8001
7965
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8002
7966
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8033,6 +7997,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8033
7997
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8034
7998
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8035
7999
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8000
|
+
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
8001
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8037
8002
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8038
8003
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8040,28 +8005,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8040
8005
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8041
8006
|
team_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
|
|
8042
8007
|
});
|
|
8043
|
-
const TimeBlockBulkCreatePayloadSchema = /* @__PURE__ */ object({ time_blocks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
8044
|
-
start: /* @__PURE__ */ string(),
|
|
8045
|
-
task_id: /* @__PURE__ */ number(),
|
|
8046
|
-
completed: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8047
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
8048
|
-
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
8049
|
-
})), /* @__PURE__ */ minLength(1)) });
|
|
8050
|
-
const TimeBlockPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
8051
|
-
completed: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8052
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
8053
|
-
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8054
|
-
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8055
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8056
|
-
});
|
|
8057
|
-
const TimeBlockPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
8058
|
-
id: /* @__PURE__ */ number(),
|
|
8059
|
-
completed: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8060
|
-
duration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
8061
|
-
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8062
|
-
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8063
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8064
|
-
});
|
|
8065
8008
|
const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
8066
8009
|
type: /* @__PURE__ */ pipe(TimeEntryTypeSchema, /* @__PURE__ */ description("The type of time entry. This could either be an activity, or a break.")),
|
|
8067
8010
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -8075,7 +8018,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8075
8018
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8076
8019
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8077
8020
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8078
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8079
8021
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8080
8022
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8081
8023
|
});
|
|
@@ -8104,8 +8046,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8104
8046
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8105
8047
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8106
8048
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8107
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8108
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8049
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8109
8050
|
});
|
|
8110
8051
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8111
8052
|
//#endregion
|
|
@@ -9979,7 +9920,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9979
9920
|
})
|
|
9980
9921
|
}).json();
|
|
9981
9922
|
}
|
|
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) {
|
|
9923
|
+
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
9924
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9984
9925
|
signal,
|
|
9985
9926
|
searchParams: buildSearchParams$2({
|
|
@@ -10000,6 +9941,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10000
9941
|
include_rates,
|
|
10001
9942
|
pinned_ids,
|
|
10002
9943
|
has_group,
|
|
9944
|
+
track_without_focus,
|
|
10003
9945
|
cf_filter,
|
|
10004
9946
|
include_custom_fields,
|
|
10005
9947
|
include_calendar_integration
|
|
@@ -10101,10 +10043,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10101
10043
|
}
|
|
10102
10044
|
//#endregion
|
|
10103
10045
|
//#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) {
|
|
10046
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, 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
10047
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10106
10048
|
signal,
|
|
10107
10049
|
searchParams: buildSearchParams$2({
|
|
10050
|
+
include_task_counts,
|
|
10051
|
+
include_picker_parent_group_counts,
|
|
10052
|
+
task_archived,
|
|
10053
|
+
task_recurring,
|
|
10054
|
+
task_state,
|
|
10055
|
+
task_source,
|
|
10056
|
+
task_assignee_user_id,
|
|
10057
|
+
task_assignee_team_id,
|
|
10058
|
+
task_include_unassigned,
|
|
10059
|
+
task_name,
|
|
10108
10060
|
page,
|
|
10109
10061
|
per_page,
|
|
10110
10062
|
order_by,
|
|
@@ -10354,7 +10306,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10354
10306
|
}
|
|
10355
10307
|
//#endregion
|
|
10356
10308
|
//#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,
|
|
10309
|
+
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_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, 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
10310
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10359
10311
|
signal,
|
|
10360
10312
|
searchParams: buildSearchParams$2({
|
|
@@ -10367,7 +10319,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10367
10319
|
toggl_user_id,
|
|
10368
10320
|
name,
|
|
10369
10321
|
has_time_entries,
|
|
10370
|
-
has_time_blocks,
|
|
10371
10322
|
has_dates,
|
|
10372
10323
|
private: private_,
|
|
10373
10324
|
archived,
|
|
@@ -10390,10 +10341,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10390
10341
|
priority,
|
|
10391
10342
|
is_priority,
|
|
10392
10343
|
state,
|
|
10393
|
-
timeblock_start_from,
|
|
10394
|
-
timeblock_start_until,
|
|
10395
|
-
time_block_id,
|
|
10396
|
-
time_block_completed,
|
|
10397
10344
|
team_id,
|
|
10398
10345
|
assignee_team_id,
|
|
10399
10346
|
assignee_user_id,
|
|
@@ -10405,7 +10352,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10405
10352
|
include_assignees,
|
|
10406
10353
|
include_parent_matches,
|
|
10407
10354
|
disable_aggregations,
|
|
10408
|
-
cf_filter
|
|
10355
|
+
cf_filter,
|
|
10356
|
+
recurring_occurrences_after,
|
|
10357
|
+
max_recurring_occurrences_after,
|
|
10358
|
+
recurring_task_read,
|
|
10359
|
+
include_projected_occurrences
|
|
10409
10360
|
})
|
|
10410
10361
|
}).json();
|
|
10411
10362
|
}
|
|
@@ -10480,16 +10431,44 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10480
10431
|
})
|
|
10481
10432
|
}).json();
|
|
10482
10433
|
}
|
|
10483
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10434
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10484
10435
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10485
10436
|
signal,
|
|
10486
10437
|
searchParams: buildSearchParams$2({
|
|
10487
10438
|
date_from,
|
|
10488
|
-
date_to
|
|
10439
|
+
date_to,
|
|
10440
|
+
skip_provider_refresh
|
|
10441
|
+
})
|
|
10442
|
+
}).json();
|
|
10443
|
+
}
|
|
10444
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, search, only_me, page, per_page } = {}, signal) {
|
|
10445
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10446
|
+
signal,
|
|
10447
|
+
searchParams: buildSearchParams$2({
|
|
10448
|
+
project_id,
|
|
10449
|
+
without_project,
|
|
10450
|
+
pinned_only,
|
|
10451
|
+
search,
|
|
10452
|
+
only_me,
|
|
10453
|
+
page,
|
|
10454
|
+
per_page
|
|
10455
|
+
})
|
|
10456
|
+
}).json();
|
|
10457
|
+
}
|
|
10458
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, search, only_me, page, per_page } = {}, signal) {
|
|
10459
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10460
|
+
signal,
|
|
10461
|
+
searchParams: buildSearchParams$2({
|
|
10462
|
+
project_id,
|
|
10463
|
+
without_project,
|
|
10464
|
+
search,
|
|
10465
|
+
only_me,
|
|
10466
|
+
page,
|
|
10467
|
+
per_page
|
|
10489
10468
|
})
|
|
10490
10469
|
}).json();
|
|
10491
10470
|
}
|
|
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) {
|
|
10471
|
+
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
10472
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10494
10473
|
signal,
|
|
10495
10474
|
searchParams: buildSearchParams$2({
|
|
@@ -10505,11 +10484,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10505
10484
|
assignee_team_id,
|
|
10506
10485
|
assignee_user_id,
|
|
10507
10486
|
tag_id,
|
|
10508
|
-
include_assignees
|
|
10487
|
+
include_assignees,
|
|
10488
|
+
recurring_occurrences_after,
|
|
10489
|
+
max_recurring_occurrences_after,
|
|
10490
|
+
recurring_task_read,
|
|
10491
|
+
include_projected_occurrences
|
|
10509
10492
|
})
|
|
10510
10493
|
}).json();
|
|
10511
10494
|
}
|
|
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,
|
|
10495
|
+
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_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, 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
10496
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10514
10497
|
signal,
|
|
10515
10498
|
searchParams: buildSearchParams$2({
|
|
@@ -10521,7 +10504,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10521
10504
|
name,
|
|
10522
10505
|
include_parent_matches,
|
|
10523
10506
|
has_time_entries,
|
|
10524
|
-
has_time_blocks,
|
|
10525
10507
|
has_dates,
|
|
10526
10508
|
private: private_,
|
|
10527
10509
|
archived,
|
|
@@ -10544,8 +10526,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10544
10526
|
priority,
|
|
10545
10527
|
is_priority,
|
|
10546
10528
|
state,
|
|
10547
|
-
time_block_id,
|
|
10548
|
-
time_block_completed,
|
|
10549
10529
|
team_id,
|
|
10550
10530
|
assignee_team_id,
|
|
10551
10531
|
assignee_user_id,
|
|
@@ -10554,7 +10534,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10554
10534
|
recurring_task_ids,
|
|
10555
10535
|
client_id,
|
|
10556
10536
|
include_assignees,
|
|
10557
|
-
cf_filter
|
|
10537
|
+
cf_filter,
|
|
10538
|
+
recurring_occurrences_after,
|
|
10539
|
+
max_recurring_occurrences_after,
|
|
10540
|
+
recurring_task_read,
|
|
10541
|
+
include_projected_occurrences
|
|
10558
10542
|
})
|
|
10559
10543
|
}).json();
|
|
10560
10544
|
}
|
|
@@ -10609,6 +10593,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10609
10593
|
})
|
|
10610
10594
|
}).json();
|
|
10611
10595
|
}
|
|
10596
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10597
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10598
|
+
signal,
|
|
10599
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10600
|
+
}).json();
|
|
10601
|
+
}
|
|
10612
10602
|
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
10603
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10614
10604
|
signal,
|
|
@@ -10633,106 +10623,8 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10633
10623
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/unarchive`, { signal }).json();
|
|
10634
10624
|
}
|
|
10635
10625
|
//#endregion
|
|
10636
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
10637
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
10638
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
10639
|
-
signal,
|
|
10640
|
-
searchParams: buildSearchParams$2({
|
|
10641
|
-
page,
|
|
10642
|
-
per_page,
|
|
10643
|
-
order_by,
|
|
10644
|
-
archived
|
|
10645
|
-
})
|
|
10646
|
-
}).json();
|
|
10647
|
-
}
|
|
10648
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10649
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
10650
|
-
signal,
|
|
10651
|
-
json: data
|
|
10652
|
-
}).json();
|
|
10653
|
-
}
|
|
10654
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
10655
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
10656
|
-
}
|
|
10657
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
10658
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
10659
|
-
signal,
|
|
10660
|
-
json: data
|
|
10661
|
-
}).json();
|
|
10662
|
-
}
|
|
10663
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
10664
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
10665
|
-
signal,
|
|
10666
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
10667
|
-
}).json();
|
|
10668
|
-
}
|
|
10669
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
10670
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
10671
|
-
signal,
|
|
10672
|
-
json: data
|
|
10673
|
-
}).json();
|
|
10674
|
-
}
|
|
10675
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
10676
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
10677
|
-
}
|
|
10678
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
10679
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
10680
|
-
}
|
|
10681
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
10682
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
10683
|
-
}
|
|
10684
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
10685
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
10686
|
-
signal,
|
|
10687
|
-
searchParams: buildSearchParams$2({
|
|
10688
|
-
date_from,
|
|
10689
|
-
date_to,
|
|
10690
|
-
task_id,
|
|
10691
|
-
status_id,
|
|
10692
|
-
page,
|
|
10693
|
-
per_page,
|
|
10694
|
-
archived,
|
|
10695
|
-
order_by
|
|
10696
|
-
})
|
|
10697
|
-
}).json();
|
|
10698
|
-
}
|
|
10699
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10700
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
10701
|
-
signal,
|
|
10702
|
-
json: data
|
|
10703
|
-
}).json();
|
|
10704
|
-
}
|
|
10705
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
10706
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
10707
|
-
signal,
|
|
10708
|
-
searchParams: buildSearchParams$2({
|
|
10709
|
-
ids,
|
|
10710
|
-
outbound_sync
|
|
10711
|
-
})
|
|
10712
|
-
}).json();
|
|
10713
|
-
}
|
|
10714
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10715
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
10716
|
-
signal,
|
|
10717
|
-
json: data
|
|
10718
|
-
}).json();
|
|
10719
|
-
}
|
|
10720
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
10721
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
10722
|
-
signal,
|
|
10723
|
-
searchParams: buildSearchParams$2({
|
|
10724
|
-
date_from,
|
|
10725
|
-
date_to,
|
|
10726
|
-
task_id,
|
|
10727
|
-
status_id,
|
|
10728
|
-
archived,
|
|
10729
|
-
order_by
|
|
10730
|
-
})
|
|
10731
|
-
}).json();
|
|
10732
|
-
}
|
|
10733
|
-
//#endregion
|
|
10734
10626
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10735
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
10627
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10736
10628
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10737
10629
|
signal,
|
|
10738
10630
|
searchParams: buildSearchParams$2({
|
|
@@ -10740,21 +10632,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10740
10632
|
per_page,
|
|
10741
10633
|
order_by,
|
|
10742
10634
|
type,
|
|
10743
|
-
archived
|
|
10744
|
-
time_block_id
|
|
10635
|
+
archived
|
|
10745
10636
|
})
|
|
10746
10637
|
}).json();
|
|
10747
10638
|
}
|
|
10748
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10639
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10749
10640
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10750
10641
|
signal,
|
|
10751
|
-
json: data
|
|
10642
|
+
json: data,
|
|
10643
|
+
searchParams: buildSearchParams$2({
|
|
10644
|
+
from_recurring_task_id,
|
|
10645
|
+
return_occurrence
|
|
10646
|
+
})
|
|
10752
10647
|
}).json();
|
|
10753
10648
|
}
|
|
10754
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10649
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10755
10650
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10756
10651
|
signal,
|
|
10757
|
-
json: data
|
|
10652
|
+
json: data,
|
|
10653
|
+
searchParams: buildSearchParams$2({
|
|
10654
|
+
from_recurring_task_id,
|
|
10655
|
+
return_occurrence
|
|
10656
|
+
})
|
|
10758
10657
|
}).json();
|
|
10759
10658
|
}
|
|
10760
10659
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10805,7 +10704,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10805
10704
|
json: data
|
|
10806
10705
|
}).json();
|
|
10807
10706
|
}
|
|
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) {
|
|
10707
|
+
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
10708
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10810
10709
|
signal,
|
|
10811
10710
|
searchParams: buildSearchParams$2({
|
|
@@ -10813,6 +10712,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10813
10712
|
date_to,
|
|
10814
10713
|
task_id,
|
|
10815
10714
|
status_id,
|
|
10715
|
+
project_id,
|
|
10816
10716
|
type,
|
|
10817
10717
|
order_by,
|
|
10818
10718
|
archived,
|
|
@@ -10827,28 +10727,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10827
10727
|
json: data
|
|
10828
10728
|
}).json();
|
|
10829
10729
|
}
|
|
10830
|
-
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10831
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10832
|
-
signal,
|
|
10833
|
-
searchParams: buildSearchParams$2({ time_block_id })
|
|
10834
|
-
}).json();
|
|
10835
|
-
}
|
|
10836
10730
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10837
10731
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10838
10732
|
}
|
|
10839
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10733
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10840
10734
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10841
10735
|
signal,
|
|
10842
|
-
json: data
|
|
10736
|
+
json: data,
|
|
10737
|
+
searchParams: buildSearchParams$2({
|
|
10738
|
+
from_recurring_task_id,
|
|
10739
|
+
return_occurrence
|
|
10740
|
+
})
|
|
10843
10741
|
}).json();
|
|
10844
10742
|
}
|
|
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}`, {
|
|
10743
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10744
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10745
|
+
signal,
|
|
10746
|
+
searchParams: buildSearchParams$2({
|
|
10747
|
+
from_recurring_task_id,
|
|
10748
|
+
return_occurrence
|
|
10749
|
+
})
|
|
10750
|
+
}).json();
|
|
10847
10751
|
}
|
|
10848
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10752
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10849
10753
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10850
10754
|
signal,
|
|
10851
|
-
json: data
|
|
10755
|
+
json: data,
|
|
10756
|
+
searchParams: buildSearchParams$2({
|
|
10757
|
+
from_recurring_task_id,
|
|
10758
|
+
return_occurrence
|
|
10759
|
+
})
|
|
10852
10760
|
}).json();
|
|
10853
10761
|
}
|
|
10854
10762
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10963,7 +10871,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10963
10871
|
]))
|
|
10964
10872
|
});
|
|
10965
10873
|
//#endregion
|
|
10966
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10874
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10967
10875
|
async function getInvitations(httpClient, signal) {
|
|
10968
10876
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10969
10877
|
}
|
|
@@ -10980,7 +10888,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10980
10888
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10981
10889
|
}
|
|
10982
10890
|
//#endregion
|
|
10983
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10891
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10984
10892
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10985
10893
|
const searchParams = new URLSearchParams();
|
|
10986
10894
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10992,7 +10900,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10992
10900
|
return searchParams;
|
|
10993
10901
|
}
|
|
10994
10902
|
//#endregion
|
|
10995
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10903
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10996
10904
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10997
10905
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10998
10906
|
}
|
|
@@ -11006,7 +10914,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11006
10914
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11007
10915
|
}
|
|
11008
10916
|
//#endregion
|
|
11009
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10917
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11010
10918
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11011
10919
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11012
10920
|
}
|
|
@@ -11026,7 +10934,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11026
10934
|
});
|
|
11027
10935
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11028
10936
|
//#endregion
|
|
11029
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10937
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11030
10938
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11031
10939
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11032
10940
|
signal,
|
|
@@ -11037,12 +10945,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11037
10945
|
})).json();
|
|
11038
10946
|
}
|
|
11039
10947
|
//#endregion
|
|
11040
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10948
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11041
10949
|
async function getStatus(httpClient, signal) {
|
|
11042
10950
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11043
10951
|
}
|
|
11044
10952
|
//#endregion
|
|
11045
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10953
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11046
10954
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11047
10955
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11048
10956
|
signal,
|
|
@@ -11070,7 +10978,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11070
10978
|
return response.json();
|
|
11071
10979
|
}
|
|
11072
10980
|
//#endregion
|
|
11073
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10981
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.64_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a6a00428921d756e77d8976c0226cf3/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11074
10982
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11075
10983
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11076
10984
|
}
|
|
@@ -11095,7 +11003,7 @@ async function deleteMyWorkingHours(httpClient, organization_id, data, signal) {
|
|
|
11095
11003
|
return response.json();
|
|
11096
11004
|
}
|
|
11097
11005
|
//#endregion
|
|
11098
|
-
//#region ../cli-core/build/focus-client-
|
|
11006
|
+
//#region ../cli-core/build/focus-client-D9JzuIl3.js
|
|
11099
11007
|
/** Request header the API reads to attribute traffic to MCP or CLI. */
|
|
11100
11008
|
const TOGGL_CLIENT_HEADER = "X-Toggl-Client";
|
|
11101
11009
|
/** Header the Focus API reads for analytics and presence `platform_origin`. */
|
|
@@ -11264,14 +11172,12 @@ async function downloadAttachment(ctx, scope, params) {
|
|
|
11264
11172
|
const TimeOffMeUpdateInputSchema$1 = /* @__PURE__ */ intersect([/* @__PURE__ */ object$2({ timeoff_id: /* @__PURE__ */ number$2() }), PublicMeEntryRequestSchema]);
|
|
11265
11173
|
const TaskPatchSchema = withCustomFieldValues(/* @__PURE__ */ partial(TaskPartialUpdatePayloadSchema));
|
|
11266
11174
|
const ProjectPatchSchema = withCustomFieldValues(/* @__PURE__ */ partial(ProjectPartialUpdatePayloadSchema));
|
|
11267
|
-
const TimeBlockPatchSchema = /* @__PURE__ */ partial(TimeBlockPartialUpdatePayloadSchema);
|
|
11268
11175
|
const BulkIdsSchema = /* @__PURE__ */ object$2({
|
|
11269
11176
|
ids: /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1)),
|
|
11270
11177
|
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
11271
11178
|
});
|
|
11272
11179
|
const BulkTaskPatchItemsSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(withCustomFieldValues(TaskPartialUpdatePayloadWithIDSchema)), /* @__PURE__ */ minLength$1(1));
|
|
11273
11180
|
const BulkProjectPatchItemsSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(withCustomFieldValues(ProjectPartialUpdatePayloadWithIDSchema)), /* @__PURE__ */ minLength$1(1));
|
|
11274
|
-
const BulkTimeBlockPatchItemsSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeBlockPartialUpdatePayloadWithIDSchema), /* @__PURE__ */ minLength$1(1));
|
|
11275
11181
|
const BulkTimeEntryPatchItemsSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeEntryPartialUpdatePayloadWithIDSchema$1), /* @__PURE__ */ minLength$1(1));
|
|
11276
11182
|
const BulkTimeEntryCreateItemsSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeEntryBulkCreatePayloadSchema$1), /* @__PURE__ */ minLength$1(1));
|
|
11277
11183
|
const BulkTimeEntryIdsSchema = /* @__PURE__ */ object$2({ ids: /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1)) });
|
|
@@ -11649,71 +11555,6 @@ var FocusClient = class {
|
|
|
11649
11555
|
return await bulkUnarchiveProjects(this.http, this.organizationIdNum, this.workspaceIdNum, input.data);
|
|
11650
11556
|
});
|
|
11651
11557
|
}
|
|
11652
|
-
async listTimeBlocks(params = {}) {
|
|
11653
|
-
const rawFrom = typeof params.date_from === "string" ? params.date_from : "";
|
|
11654
|
-
const rawTo = typeof params.date_to === "string" ? params.date_to : "";
|
|
11655
|
-
if (!rawFrom || !rawTo) return {
|
|
11656
|
-
ok: false,
|
|
11657
|
-
status: 400,
|
|
11658
|
-
message: "date_from and date_to are required"
|
|
11659
|
-
};
|
|
11660
|
-
const date_from = normalizeDateFrom(rawFrom);
|
|
11661
|
-
const date_to = normalizeDateTo(rawTo);
|
|
11662
|
-
const response = await this.run("listTimeBlocks", () => getTimeBlocksRangeWithOrgClassic(this.http, this.organizationIdNum, this.workspaceIdNum, {
|
|
11663
|
-
date_from,
|
|
11664
|
-
date_to,
|
|
11665
|
-
task_id: parseOptionalInt(params.task_id),
|
|
11666
|
-
page: parseOptionalInt(params.page),
|
|
11667
|
-
per_page: parseOptionalInt(params.per_page)
|
|
11668
|
-
}));
|
|
11669
|
-
return this.softValidateResponse("listTimeBlocks", PaginatedTimeBlockAggregateWithTasksSchema, response);
|
|
11670
|
-
}
|
|
11671
|
-
async getTimeBlock(taskId, timeBlockId) {
|
|
11672
|
-
const response = await this.run("getTimeBlock", () => getTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, taskId, timeBlockId));
|
|
11673
|
-
return this.softValidateResponse("getTimeBlock", TimeBlockSchema, response);
|
|
11674
|
-
}
|
|
11675
|
-
async createTimeBlock(taskId, payload) {
|
|
11676
|
-
const input = validatePayload(TimeBlockPayloadSchema, payload, "createTimeBlock payload");
|
|
11677
|
-
if (!input.ok) return input;
|
|
11678
|
-
const response = await this.run("createTimeBlock", () => createTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, taskId, input.data));
|
|
11679
|
-
return this.softValidateResponse("createTimeBlock", TimeBlockSchema, response);
|
|
11680
|
-
}
|
|
11681
|
-
async updateTimeBlock(taskId, timeBlockId, payload) {
|
|
11682
|
-
const input = validatePayload(TimeBlockPatchSchema, payload, "updateTimeBlock payload");
|
|
11683
|
-
if (!input.ok) return input;
|
|
11684
|
-
return this.run("updateTimeBlock", async () => {
|
|
11685
|
-
return await partialUpdateTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, taskId, timeBlockId, input.data);
|
|
11686
|
-
});
|
|
11687
|
-
}
|
|
11688
|
-
async deleteTimeBlock(taskId, timeBlockId) {
|
|
11689
|
-
return this.run("deleteTimeBlock", async () => {
|
|
11690
|
-
await deleteTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, taskId, timeBlockId);
|
|
11691
|
-
return null;
|
|
11692
|
-
});
|
|
11693
|
-
}
|
|
11694
|
-
async bulkCreateTimeBlocks(payload) {
|
|
11695
|
-
const input = validatePayload(TimeBlockBulkCreatePayloadSchema, payload, "bulkCreateTimeBlocks payload");
|
|
11696
|
-
if (!input.ok) return input;
|
|
11697
|
-
const response = await this.run("bulkCreateTimeBlocks", () => bulkCreateTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, input.data));
|
|
11698
|
-
return this.softValidateResponse("bulkCreateTimeBlocks", /* @__PURE__ */ array$1(TimeBlockSchema), response);
|
|
11699
|
-
}
|
|
11700
|
-
async bulkPartialUpdateTimeBlocks(items) {
|
|
11701
|
-
const input = validatePayload(BulkTimeBlockPatchItemsSchema, items, "bulkPartialUpdateTimeBlocks items");
|
|
11702
|
-
if (!input.ok) return input;
|
|
11703
|
-
return this.run("bulkPartialUpdateTimeBlocks", async () => {
|
|
11704
|
-
return await bulkPartialUpdateTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, input.data);
|
|
11705
|
-
});
|
|
11706
|
-
}
|
|
11707
|
-
async bulkDeleteTimeBlocks(ids, outbound_sync) {
|
|
11708
|
-
const input = validatePayload(BulkIdsSchema, {
|
|
11709
|
-
ids,
|
|
11710
|
-
outbound_sync
|
|
11711
|
-
}, "bulkDeleteTimeBlocks input");
|
|
11712
|
-
if (!input.ok) return input;
|
|
11713
|
-
return this.run("bulkDeleteTimeBlocks", async () => {
|
|
11714
|
-
return await bulkDeleteTimeBlockWithOrg(this.http, this.organizationIdNum, this.workspaceIdNum, input.data.ids, input.data.outbound_sync);
|
|
11715
|
-
});
|
|
11716
|
-
}
|
|
11717
11558
|
async listTimeEntries(params = {}) {
|
|
11718
11559
|
const rawFrom = typeof params.date_from === "string" ? params.date_from : "";
|
|
11719
11560
|
const rawTo = typeof params.date_to === "string" ? params.date_to : "";
|
|
@@ -13166,7 +13007,7 @@ async function runSkillSetup(options) {
|
|
|
13166
13007
|
});
|
|
13167
13008
|
}
|
|
13168
13009
|
//#endregion
|
|
13169
|
-
//#region ../operations/build/validation-
|
|
13010
|
+
//#region ../operations/build/validation-CLozpAO5.js
|
|
13170
13011
|
const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
|
|
13171
13012
|
const perPageField = (max) => /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue$1(1), /* @__PURE__ */ maxValue$1(max), /* @__PURE__ */ description$1(`Results per page (1-${max})`)));
|
|
13172
13013
|
const perPageSchema = perPageField(100);
|
|
@@ -13181,13 +13022,6 @@ const rateSchedulePayloadSchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ strictO
|
|
|
13181
13022
|
end_date: /* @__PURE__ */ optional$1(rateDateSchema)
|
|
13182
13023
|
}), /* @__PURE__ */ forward(/* @__PURE__ */ partialCheck([["start_date"], ["end_date"]], ({ start_date, end_date }) => end_date === void 0 || end_date >= start_date, "must be on or after start_date"), ["end_date"]));
|
|
13183
13024
|
const tagIdFilterSchema = /* @__PURE__ */ union([/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ transform((tagId) => [tagId])), /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1))]);
|
|
13184
|
-
const timeBlockListSchema = /* @__PURE__ */ object$2({
|
|
13185
|
-
date_from: dateField("Range start — date-only (e.g. '2025-01-01') or RFC3339 datetime. Date-only is expanded to T00:00:00Z."),
|
|
13186
|
-
date_to: dateField("Range end — date-only (e.g. '2025-01-07') or RFC3339 datetime. Date-only is expanded to T23:59:59Z."),
|
|
13187
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by task ID"))),
|
|
13188
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Page number"))),
|
|
13189
|
-
per_page: perPageSchema
|
|
13190
|
-
});
|
|
13191
13025
|
const timeEntryListSchema = /* @__PURE__ */ object$2({
|
|
13192
13026
|
date_from: dateField("Range start — date-only (e.g. '2025-01-01') or RFC3339 datetime. Date-only is expanded to T00:00:00Z."),
|
|
13193
13027
|
date_to: dateField("Range end — date-only (e.g. '2025-01-07') or RFC3339 datetime. Date-only is expanded to T23:59:59Z."),
|
|
@@ -13316,19 +13150,6 @@ const projectUpdateSchema = /* @__PURE__ */ object$2({
|
|
|
13316
13150
|
project_id: /* @__PURE__ */ number$2(),
|
|
13317
13151
|
payload: withCustomFieldValues(/* @__PURE__ */ partial(ProjectPartialUpdatePayloadSchema))
|
|
13318
13152
|
});
|
|
13319
|
-
const timeBlockCreateSchema = /* @__PURE__ */ object$2({
|
|
13320
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
13321
|
-
payload: TimeBlockPayloadSchema
|
|
13322
|
-
});
|
|
13323
|
-
const timeBlockUpdateSchema = /* @__PURE__ */ object$2({
|
|
13324
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
13325
|
-
time_block_id: /* @__PURE__ */ number$2(),
|
|
13326
|
-
payload: /* @__PURE__ */ partial(TimeBlockPartialUpdatePayloadSchema)
|
|
13327
|
-
});
|
|
13328
|
-
const timeBlockIdSchema = /* @__PURE__ */ object$2({
|
|
13329
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
13330
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
13331
|
-
});
|
|
13332
13153
|
const taskIdSchema = /* @__PURE__ */ object$2({ task_id: /* @__PURE__ */ number$2() });
|
|
13333
13154
|
const projectIdSchema = /* @__PURE__ */ object$2({ project_id: /* @__PURE__ */ number$2() });
|
|
13334
13155
|
const emptySchema$1 = /* @__PURE__ */ object$2({});
|
|
@@ -13378,7 +13199,6 @@ const bulkIdsWithOutboundSchema = /* @__PURE__ */ object$2({
|
|
|
13378
13199
|
const bulkProjectDeleteSchema = /* @__PURE__ */ object$2({ ids: /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1)) });
|
|
13379
13200
|
const bulkTaskPatchBodySchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(withCustomFieldValues(TaskPartialUpdatePayloadWithIDSchema)), /* @__PURE__ */ minLength$1(1));
|
|
13380
13201
|
const bulkProjectPatchBodySchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(withCustomFieldValues(ProjectPartialUpdatePayloadWithIDSchema)), /* @__PURE__ */ minLength$1(1));
|
|
13381
|
-
const bulkTimeBlockPatchBodySchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeBlockPartialUpdatePayloadWithIDSchema), /* @__PURE__ */ minLength$1(1));
|
|
13382
13202
|
const bulkTimeEntryPatchBodySchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeEntryPartialUpdatePayloadWithIDSchema$1), /* @__PURE__ */ minLength$1(1));
|
|
13383
13203
|
const bulkTimeEntryCreateBodySchema = /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(TimeEntryBulkCreatePayloadSchema$1), /* @__PURE__ */ minLength$1(1));
|
|
13384
13204
|
const bulkTimeEntryIdsSchema = /* @__PURE__ */ object$2({ ids: /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1)) });
|
|
@@ -13481,7 +13301,7 @@ const compositeOverrides = {
|
|
|
13481
13301
|
mcp: { entityTool: "projects" }
|
|
13482
13302
|
},
|
|
13483
13303
|
"focus.composite.create-task": {
|
|
13484
|
-
description: "Create a task with related data such as subtasks
|
|
13304
|
+
description: "Create a task with related data such as subtasks and an initial time entry.",
|
|
13485
13305
|
cli: {
|
|
13486
13306
|
group: ["tasks"],
|
|
13487
13307
|
command: "create-with-children",
|
|
@@ -14070,130 +13890,33 @@ const taskOverrides = {
|
|
|
14070
13890
|
}]
|
|
14071
13891
|
}
|
|
14072
13892
|
};
|
|
14073
|
-
const
|
|
14074
|
-
"focus.time-
|
|
14075
|
-
agentGuidance: "Returns
|
|
14076
|
-
examples: [
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
13893
|
+
const timeEntryOverrides = {
|
|
13894
|
+
"focus.time-entries.list": {
|
|
13895
|
+
agentGuidance: "Returns tracked time entries in a date range, including taskless entries (tracked on a project with no task). Requires date_from and date_to. Accepts date-only strings (YYYY-MM-DD) or RFC3339 datetimes — date-only is automatically expanded: date_from to T00:00:00Z, date_to to T23:59:59Z. Optional project_id keeps only entries on that project (sent to the API; client also scans up to 50 list pages of 100, then slices page/per_page; not a full workspace scan). If truncated is true, more unfiltered rows exist than were scanned — narrow date_from/date_to. Pass include_taskless:false to hide taskless rows. Includes task and project context.",
|
|
13896
|
+
examples: [
|
|
13897
|
+
{
|
|
13898
|
+
description: "List time entries for a week (date-only, expanded to full-day range)",
|
|
13899
|
+
data: {
|
|
13900
|
+
date_from: "2025-01-01",
|
|
13901
|
+
date_to: "2025-01-07"
|
|
13902
|
+
}
|
|
13903
|
+
},
|
|
13904
|
+
{
|
|
13905
|
+
description: "List time entries with explicit RFC3339 timestamps",
|
|
13906
|
+
data: {
|
|
13907
|
+
date_from: "2025-01-01T00:00:00Z",
|
|
13908
|
+
date_to: "2025-01-07T23:59:59Z"
|
|
13909
|
+
}
|
|
13910
|
+
},
|
|
13911
|
+
{
|
|
13912
|
+
description: "List time entries for one project, including taskless rows",
|
|
13913
|
+
data: {
|
|
13914
|
+
date_from: "2025-01-01",
|
|
13915
|
+
date_to: "2025-01-07",
|
|
13916
|
+
project_id: 42
|
|
13917
|
+
}
|
|
14087
13918
|
}
|
|
14088
|
-
|
|
14089
|
-
},
|
|
14090
|
-
"focus.time-blocks.get": {
|
|
14091
|
-
agentGuidance: "Fetch a single time block by task ID and time block ID.",
|
|
14092
|
-
examples: [{
|
|
14093
|
-
description: "Get a time block",
|
|
14094
|
-
data: {
|
|
14095
|
-
task_id: 12345,
|
|
14096
|
-
time_block_id: 67890
|
|
14097
|
-
}
|
|
14098
|
-
}]
|
|
14099
|
-
},
|
|
14100
|
-
"focus.time-blocks.create": {
|
|
14101
|
-
agentGuidance: "Required: task_id and payload.start (ISO 8601 datetime). Optionally set payload.duration (minutes) and payload.completed.",
|
|
14102
|
-
examples: [{
|
|
14103
|
-
description: "Schedule a 1-hour time block",
|
|
14104
|
-
data: {
|
|
14105
|
-
task_id: 12345,
|
|
14106
|
-
payload: {
|
|
14107
|
-
start: "2025-01-15T09:00:00Z",
|
|
14108
|
-
duration: 60
|
|
14109
|
-
}
|
|
14110
|
-
}
|
|
14111
|
-
}]
|
|
14112
|
-
},
|
|
14113
|
-
"focus.time-blocks.update": {
|
|
14114
|
-
agentGuidance: "Partial update — provide task_id, time_block_id, and fields to change in payload.",
|
|
14115
|
-
examples: [{
|
|
14116
|
-
description: "Mark a time block as completed",
|
|
14117
|
-
data: {
|
|
14118
|
-
task_id: 12345,
|
|
14119
|
-
time_block_id: 67890,
|
|
14120
|
-
payload: { completed: true }
|
|
14121
|
-
}
|
|
14122
|
-
}]
|
|
14123
|
-
},
|
|
14124
|
-
"focus.time-blocks.delete": {
|
|
14125
|
-
agentGuidance: "Permanently removes the scheduled time block from the task.",
|
|
14126
|
-
examples: [{
|
|
14127
|
-
description: "Delete a time block",
|
|
14128
|
-
data: {
|
|
14129
|
-
task_id: 12345,
|
|
14130
|
-
time_block_id: 67890
|
|
14131
|
-
}
|
|
14132
|
-
}]
|
|
14133
|
-
},
|
|
14134
|
-
"focus.time-blocks.bulk-create": {
|
|
14135
|
-
agentGuidance: "Body shape: { time_blocks: [{ task_id, start, duration?, completed? }, ...] }. Creates many blocks in one request.",
|
|
14136
|
-
examples: [{
|
|
14137
|
-
description: "Schedule two blocks",
|
|
14138
|
-
data: { time_blocks: [{
|
|
14139
|
-
task_id: 12345,
|
|
14140
|
-
start: "2025-01-15T09:00:00Z",
|
|
14141
|
-
duration: 60
|
|
14142
|
-
}, {
|
|
14143
|
-
task_id: 12345,
|
|
14144
|
-
start: "2025-01-15T11:00:00Z",
|
|
14145
|
-
duration: 30
|
|
14146
|
-
}] }
|
|
14147
|
-
}]
|
|
14148
|
-
},
|
|
14149
|
-
"focus.time-blocks.bulk-patch": {
|
|
14150
|
-
agentGuidance: "JSON array of { id: timeBlockId, ...partial fields }; same fields as single time-block update.",
|
|
14151
|
-
examples: [{
|
|
14152
|
-
description: "Mark two blocks complete",
|
|
14153
|
-
data: [{
|
|
14154
|
-
id: 101,
|
|
14155
|
-
completed: true
|
|
14156
|
-
}, {
|
|
14157
|
-
id: 102,
|
|
14158
|
-
completed: true
|
|
14159
|
-
}]
|
|
14160
|
-
}]
|
|
14161
|
-
},
|
|
14162
|
-
"focus.time-blocks.bulk-delete": {
|
|
14163
|
-
agentGuidance: "Deletes time blocks by numeric id list in one HTTP call (not task_id/time_block_id pairs).",
|
|
14164
|
-
examples: [{
|
|
14165
|
-
description: "Delete two blocks",
|
|
14166
|
-
data: { ids: [101, 102] }
|
|
14167
|
-
}]
|
|
14168
|
-
}
|
|
14169
|
-
};
|
|
14170
|
-
const timeEntryOverrides = {
|
|
14171
|
-
"focus.time-entries.list": {
|
|
14172
|
-
agentGuidance: "Returns tracked time entries in a date range, including taskless entries (tracked on a project with no task). Requires date_from and date_to. Accepts date-only strings (YYYY-MM-DD) or RFC3339 datetimes — date-only is automatically expanded: date_from to T00:00:00Z, date_to to T23:59:59Z. Optional project_id keeps only entries on that project (sent to the API; client also scans up to 50 list pages of 100, then slices page/per_page; not a full workspace scan). If truncated is true, more unfiltered rows exist than were scanned — narrow date_from/date_to. Pass include_taskless:false to hide taskless rows. Includes task and project context.",
|
|
14173
|
-
examples: [
|
|
14174
|
-
{
|
|
14175
|
-
description: "List time entries for a week (date-only, expanded to full-day range)",
|
|
14176
|
-
data: {
|
|
14177
|
-
date_from: "2025-01-01",
|
|
14178
|
-
date_to: "2025-01-07"
|
|
14179
|
-
}
|
|
14180
|
-
},
|
|
14181
|
-
{
|
|
14182
|
-
description: "List time entries with explicit RFC3339 timestamps",
|
|
14183
|
-
data: {
|
|
14184
|
-
date_from: "2025-01-01T00:00:00Z",
|
|
14185
|
-
date_to: "2025-01-07T23:59:59Z"
|
|
14186
|
-
}
|
|
14187
|
-
},
|
|
14188
|
-
{
|
|
14189
|
-
description: "List time entries for one project, including taskless rows",
|
|
14190
|
-
data: {
|
|
14191
|
-
date_from: "2025-01-01",
|
|
14192
|
-
date_to: "2025-01-07",
|
|
14193
|
-
project_id: 42
|
|
14194
|
-
}
|
|
14195
|
-
}
|
|
14196
|
-
]
|
|
13919
|
+
]
|
|
14197
13920
|
},
|
|
14198
13921
|
"focus.time-entries.create": {
|
|
14199
13922
|
description: "Create a completed task time entry. payload.type defaults to 'activity' when omitted.",
|
|
@@ -14718,13 +14441,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14718
14441
|
}
|
|
14719
14442
|
//#endregion
|
|
14720
14443
|
//#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) {
|
|
14444
|
+
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
14445
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14723
14446
|
signal,
|
|
14724
14447
|
searchParams: buildSearchParams$2({
|
|
14725
14448
|
workspace_id,
|
|
14726
14449
|
entity_type,
|
|
14727
14450
|
entity_id,
|
|
14451
|
+
project_id,
|
|
14452
|
+
custom_field_id,
|
|
14728
14453
|
action,
|
|
14729
14454
|
user_id,
|
|
14730
14455
|
page_size,
|
|
@@ -14733,12 +14458,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14733
14458
|
})
|
|
14734
14459
|
}).json();
|
|
14735
14460
|
}
|
|
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) {
|
|
14461
|
+
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
14462
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14738
14463
|
signal,
|
|
14739
14464
|
searchParams: buildSearchParams$2({
|
|
14740
14465
|
entity_type,
|
|
14741
14466
|
entity_id,
|
|
14467
|
+
project_id,
|
|
14468
|
+
custom_field_id,
|
|
14742
14469
|
action,
|
|
14743
14470
|
user_id,
|
|
14744
14471
|
page_size,
|
|
@@ -14891,13 +14618,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14891
14618
|
}
|
|
14892
14619
|
//#endregion
|
|
14893
14620
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14894
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14621
|
+
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
14622
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14896
14623
|
signal,
|
|
14897
14624
|
searchParams: buildSearchParams$2({
|
|
14898
|
-
user_id,
|
|
14899
14625
|
start_date,
|
|
14900
14626
|
end_date,
|
|
14627
|
+
user_id,
|
|
14628
|
+
team_id,
|
|
14901
14629
|
private: private_,
|
|
14902
14630
|
task_source,
|
|
14903
14631
|
unit,
|
|
@@ -14957,6 +14685,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14957
14685
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14958
14686
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14959
14687
|
}
|
|
14688
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14689
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14690
|
+
}
|
|
14691
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14692
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14693
|
+
signal,
|
|
14694
|
+
json: data
|
|
14695
|
+
}).json();
|
|
14696
|
+
}
|
|
14960
14697
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14961
14698
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14962
14699
|
signal,
|
|
@@ -15220,7 +14957,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15220
14957
|
}
|
|
15221
14958
|
//#endregion
|
|
15222
14959
|
//#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) {
|
|
14960
|
+
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
14961
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15225
14962
|
signal,
|
|
15226
14963
|
searchParams: buildSearchParams$2({
|
|
@@ -15246,6 +14983,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15246
14983
|
user_id,
|
|
15247
14984
|
only_me,
|
|
15248
14985
|
include_drafts,
|
|
14986
|
+
include_recurring_series,
|
|
15249
14987
|
cf_filter
|
|
15250
14988
|
})
|
|
15251
14989
|
}).json();
|
|
@@ -15264,9 +15002,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15264
15002
|
json: data
|
|
15265
15003
|
}).json();
|
|
15266
15004
|
}
|
|
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
15005
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15271
15006
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15272
15007
|
}
|
|
@@ -15292,6 +15027,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15292
15027
|
}).json();
|
|
15293
15028
|
}
|
|
15294
15029
|
//#endregion
|
|
15030
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15031
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15032
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15033
|
+
}
|
|
15034
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15035
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15036
|
+
signal,
|
|
15037
|
+
json: data,
|
|
15038
|
+
searchParams: buildSearchParams$2({
|
|
15039
|
+
response_format,
|
|
15040
|
+
include_dicts
|
|
15041
|
+
})
|
|
15042
|
+
}).json();
|
|
15043
|
+
}
|
|
15044
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15045
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
15046
|
+
signal,
|
|
15047
|
+
json: data,
|
|
15048
|
+
searchParams: buildSearchParams$2({
|
|
15049
|
+
response_format,
|
|
15050
|
+
include_dicts
|
|
15051
|
+
})
|
|
15052
|
+
}).json();
|
|
15053
|
+
}
|
|
15054
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15055
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
15056
|
+
signal,
|
|
15057
|
+
json: data
|
|
15058
|
+
}).json();
|
|
15059
|
+
}
|
|
15060
|
+
//#endregion
|
|
15295
15061
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15296
15062
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15297
15063
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15453,7 +15219,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15453
15219
|
}
|
|
15454
15220
|
//#endregion
|
|
15455
15221
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15456
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15222
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15457
15223
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15458
15224
|
signal,
|
|
15459
15225
|
searchParams: buildSearchParams$2({
|
|
@@ -15461,6 +15227,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15461
15227
|
per_group,
|
|
15462
15228
|
assignee_user_id,
|
|
15463
15229
|
assignee_team_id,
|
|
15230
|
+
include_unassigned,
|
|
15464
15231
|
project_id,
|
|
15465
15232
|
task_id,
|
|
15466
15233
|
include_drafts,
|
|
@@ -15505,6 +15272,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15505
15272
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15506
15273
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15507
15274
|
}
|
|
15275
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15276
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15277
|
+
}
|
|
15278
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15279
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15280
|
+
}
|
|
15281
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15282
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15283
|
+
signal,
|
|
15284
|
+
json: data
|
|
15285
|
+
}).json();
|
|
15286
|
+
}
|
|
15508
15287
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15509
15288
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15510
15289
|
signal,
|
|
@@ -15514,6 +15293,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15514
15293
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15515
15294
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15516
15295
|
}
|
|
15296
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15297
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15298
|
+
signal,
|
|
15299
|
+
json: data
|
|
15300
|
+
}).json();
|
|
15301
|
+
}
|
|
15302
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15303
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15304
|
+
}
|
|
15305
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15306
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15307
|
+
signal,
|
|
15308
|
+
json: data
|
|
15309
|
+
}).json();
|
|
15310
|
+
}
|
|
15517
15311
|
//#endregion
|
|
15518
15312
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15519
15313
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15570,9 +15364,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15570
15364
|
}
|
|
15571
15365
|
//#endregion
|
|
15572
15366
|
//#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) {
|
|
15367
|
+
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
15368
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15575
15369
|
signal,
|
|
15370
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15576
15371
|
searchParams: buildSearchParams$2({
|
|
15577
15372
|
project_id,
|
|
15578
15373
|
source,
|
|
@@ -15601,13 +15396,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15601
15396
|
min_days,
|
|
15602
15397
|
include_drafts,
|
|
15603
15398
|
cf_filter,
|
|
15604
|
-
user_cf_filter
|
|
15399
|
+
user_cf_filter,
|
|
15400
|
+
recurring_occurrences_after,
|
|
15401
|
+
max_recurring_occurrences_after,
|
|
15402
|
+
recurring_task_read,
|
|
15403
|
+
include_projected_occurrences
|
|
15605
15404
|
})
|
|
15606
15405
|
}).json();
|
|
15607
15406
|
}
|
|
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) {
|
|
15407
|
+
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
15408
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15610
15409
|
signal,
|
|
15410
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15611
15411
|
searchParams: buildSearchParams$2({
|
|
15612
15412
|
team_id,
|
|
15613
15413
|
project_id,
|
|
@@ -15636,13 +15436,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15636
15436
|
min_days,
|
|
15637
15437
|
include_drafts,
|
|
15638
15438
|
cf_filter,
|
|
15639
|
-
user_cf_filter
|
|
15439
|
+
user_cf_filter,
|
|
15440
|
+
recurring_occurrences_after,
|
|
15441
|
+
max_recurring_occurrences_after,
|
|
15442
|
+
recurring_task_read,
|
|
15443
|
+
include_projected_occurrences
|
|
15640
15444
|
})
|
|
15641
15445
|
}).json();
|
|
15642
15446
|
}
|
|
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) {
|
|
15447
|
+
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
15448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15645
15449
|
signal,
|
|
15450
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15646
15451
|
searchParams: buildSearchParams$2({
|
|
15647
15452
|
source,
|
|
15648
15453
|
priority,
|
|
@@ -15672,6 +15477,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15672
15477
|
include_drafts,
|
|
15673
15478
|
cf_filter,
|
|
15674
15479
|
user_cf_filter,
|
|
15480
|
+
recurring_occurrences_after,
|
|
15481
|
+
max_recurring_occurrences_after,
|
|
15482
|
+
recurring_task_read,
|
|
15483
|
+
include_projected_occurrences,
|
|
15675
15484
|
page,
|
|
15676
15485
|
per_page,
|
|
15677
15486
|
order_by
|
|
@@ -15863,6 +15672,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15863
15672
|
json: data
|
|
15864
15673
|
}).json();
|
|
15865
15674
|
}
|
|
15675
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15676
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15677
|
+
signal,
|
|
15678
|
+
searchParams: buildSearchParams$2({
|
|
15679
|
+
date_from,
|
|
15680
|
+
date_to,
|
|
15681
|
+
setup_id,
|
|
15682
|
+
user_account_ids,
|
|
15683
|
+
approver_user_account_ids,
|
|
15684
|
+
team_ids
|
|
15685
|
+
})
|
|
15686
|
+
}).json();
|
|
15687
|
+
}
|
|
15866
15688
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15867
15689
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15868
15690
|
}
|
|
@@ -15906,7 +15728,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15906
15728
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15907
15729
|
}
|
|
15908
15730
|
//#endregion
|
|
15731
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15732
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15733
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15734
|
+
signal,
|
|
15735
|
+
json: data
|
|
15736
|
+
}).json();
|
|
15737
|
+
}
|
|
15738
|
+
//#endregion
|
|
15909
15739
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15740
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15741
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15742
|
+
}
|
|
15743
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15744
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15745
|
+
}
|
|
15910
15746
|
async function getUserSettings(httpClient, signal) {
|
|
15911
15747
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15912
15748
|
}
|
|
@@ -16146,6 +15982,7 @@ const generatedFocusOperations = [
|
|
|
16146
15982
|
mcp: { entityTool: "audit-log" },
|
|
16147
15983
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16148
15984
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15985
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16149
15986
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16150
15987
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16151
15988
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16153,6 +15990,7 @@ const generatedFocusOperations = [
|
|
|
16153
15990
|
from: /* @__PURE__ */ string$1(),
|
|
16154
15991
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16155
15992
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15993
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16156
15994
|
to: /* @__PURE__ */ string$1(),
|
|
16157
15995
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16158
15996
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16186,6 +16024,7 @@ const generatedFocusOperations = [
|
|
|
16186
16024
|
mcp: { entityTool: "audit-log" },
|
|
16187
16025
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16188
16026
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16027
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16189
16028
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16190
16029
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16191
16030
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16193,6 +16032,7 @@ const generatedFocusOperations = [
|
|
|
16193
16032
|
from: /* @__PURE__ */ string$1(),
|
|
16194
16033
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16195
16034
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16035
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16196
16036
|
to: /* @__PURE__ */ string$1(),
|
|
16197
16037
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16198
16038
|
}),
|
|
@@ -16232,6 +16072,7 @@ const generatedFocusOperations = [
|
|
|
16232
16072
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16233
16073
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16234
16074
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16075
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16235
16076
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16236
16077
|
user_id: /* @__PURE__ */ number$2()
|
|
16237
16078
|
}),
|
|
@@ -16481,8 +16322,6 @@ const generatedFocusOperations = [
|
|
|
16481
16322
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16482
16323
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16483
16324
|
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
16325
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16487
16326
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16488
16327
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16516,8 +16355,6 @@ const generatedFocusOperations = [
|
|
|
16516
16355
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16517
16356
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16518
16357
|
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
16358
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16522
16359
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16523
16360
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16533,12 +16370,6 @@ const generatedFocusOperations = [
|
|
|
16533
16370
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16534
16371
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16535
16372
|
}))),
|
|
16536
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16537
|
-
start: apiDateTimeString,
|
|
16538
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16539
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16540
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16541
|
-
}))),
|
|
16542
16373
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16543
16374
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16544
16375
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16548,13 +16379,6 @@ const generatedFocusOperations = [
|
|
|
16548
16379
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16549
16380
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16550
16381
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16551
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16552
|
-
start: apiDateTimeString,
|
|
16553
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16554
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16555
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16556
|
-
})),
|
|
16557
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16558
16382
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16559
16383
|
}))
|
|
16560
16384
|
}) }),
|
|
@@ -16672,6 +16496,33 @@ const generatedFocusOperations = [
|
|
|
16672
16496
|
]));
|
|
16673
16497
|
}
|
|
16674
16498
|
},
|
|
16499
|
+
{
|
|
16500
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16501
|
+
family: "focus",
|
|
16502
|
+
resource: "custom-fields",
|
|
16503
|
+
action: "get-allowed-users",
|
|
16504
|
+
title: "Get Allowed Users Custom Fields",
|
|
16505
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16506
|
+
safety: "read",
|
|
16507
|
+
destructive: false,
|
|
16508
|
+
cli: {
|
|
16509
|
+
group: ["custom-fields"],
|
|
16510
|
+
command: "get-allowed-users",
|
|
16511
|
+
interactive: "available"
|
|
16512
|
+
},
|
|
16513
|
+
mcp: { entityTool: "custom-fields" },
|
|
16514
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16515
|
+
execute: (input, { client }) => {
|
|
16516
|
+
const data = input;
|
|
16517
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16518
|
+
client.httpClient,
|
|
16519
|
+
client.organizationId,
|
|
16520
|
+
client.workspaceIdNumber,
|
|
16521
|
+
data.custom_field_id,
|
|
16522
|
+
void 0
|
|
16523
|
+
]));
|
|
16524
|
+
}
|
|
16525
|
+
},
|
|
16675
16526
|
{
|
|
16676
16527
|
id: "focus.custom-fields.list",
|
|
16677
16528
|
family: "focus",
|
|
@@ -16841,6 +16692,37 @@ const generatedFocusOperations = [
|
|
|
16841
16692
|
]));
|
|
16842
16693
|
}
|
|
16843
16694
|
},
|
|
16695
|
+
{
|
|
16696
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16697
|
+
family: "focus",
|
|
16698
|
+
resource: "custom-fields",
|
|
16699
|
+
action: "replace-custom-field-allowed-users",
|
|
16700
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16701
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16702
|
+
safety: "update",
|
|
16703
|
+
destructive: false,
|
|
16704
|
+
cli: {
|
|
16705
|
+
group: ["custom-fields"],
|
|
16706
|
+
command: "replace-custom-field-allowed-users",
|
|
16707
|
+
interactive: "default"
|
|
16708
|
+
},
|
|
16709
|
+
mcp: { entityTool: "custom-fields" },
|
|
16710
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16711
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16712
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16713
|
+
}),
|
|
16714
|
+
execute: (input, { client }) => {
|
|
16715
|
+
const data = input;
|
|
16716
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16717
|
+
client.httpClient,
|
|
16718
|
+
client.organizationId,
|
|
16719
|
+
client.workspaceIdNumber,
|
|
16720
|
+
data.custom_field_id,
|
|
16721
|
+
data.payload ?? data.data ?? data,
|
|
16722
|
+
void 0
|
|
16723
|
+
]));
|
|
16724
|
+
}
|
|
16725
|
+
},
|
|
16844
16726
|
{
|
|
16845
16727
|
id: "focus.custom-fields.update",
|
|
16846
16728
|
family: "focus",
|
|
@@ -16987,13 +16869,7 @@ const generatedFocusOperations = [
|
|
|
16987
16869
|
},
|
|
16988
16870
|
mcp: { entityTool: "goals" },
|
|
16989
16871
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16990
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16991
16872
|
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
16873
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16998
16874
|
"daily",
|
|
16999
16875
|
"weekly",
|
|
@@ -17001,12 +16877,18 @@ const generatedFocusOperations = [
|
|
|
17001
16877
|
"monthly"
|
|
17002
16878
|
]),
|
|
17003
16879
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17004
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17005
16880
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17006
|
-
|
|
17007
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16881
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17008
16882
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17009
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16883
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16884
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16885
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16886
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
16887
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16888
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16889
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16890
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16891
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17010
16892
|
}) }),
|
|
17011
16893
|
execute: (input, { client }) => {
|
|
17012
16894
|
const data = input;
|
|
@@ -17112,13 +16994,6 @@ const generatedFocusOperations = [
|
|
|
17112
16994
|
},
|
|
17113
16995
|
mcp: { entityTool: "goals" },
|
|
17114
16996
|
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
16997
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17123
16998
|
"daily",
|
|
17124
16999
|
"weekly",
|
|
@@ -17126,12 +17001,19 @@ const generatedFocusOperations = [
|
|
|
17126
17001
|
"monthly"
|
|
17127
17002
|
]),
|
|
17128
17003
|
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()),
|
|
17004
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17133
17005
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17134
|
-
|
|
17006
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17007
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17008
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17009
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17010
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17011
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17012
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17013
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17014
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17015
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17016
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17135
17017
|
}) }),
|
|
17136
17018
|
execute: (input, { client }) => {
|
|
17137
17019
|
const data = input;
|
|
@@ -18098,9 +17980,17 @@ const generatedFocusOperations = [
|
|
|
18098
17980
|
mcp: { entityTool: "projects" },
|
|
18099
17981
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18100
17982
|
payload: /* @__PURE__ */ looseObject({
|
|
17983
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17984
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18101
17985
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18102
17986
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18103
17987
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17988
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
17989
|
+
"expire",
|
|
17990
|
+
"carry_all",
|
|
17991
|
+
"carry_over"
|
|
17992
|
+
])),
|
|
17993
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18104
17994
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18105
17995
|
}),
|
|
18106
17996
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18544,6 +18434,7 @@ const generatedFocusOperations = [
|
|
|
18544
18434
|
group: /* @__PURE__ */ string$1(),
|
|
18545
18435
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18546
18436
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18437
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18547
18438
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18548
18439
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18549
18440
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18646,29 +18537,6 @@ const generatedFocusOperations = [
|
|
|
18646
18537
|
]));
|
|
18647
18538
|
}
|
|
18648
18539
|
},
|
|
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
18540
|
{
|
|
18673
18541
|
id: "focus.projects.margin-targets-get",
|
|
18674
18542
|
family: "focus",
|
|
@@ -19114,48 +18982,172 @@ const generatedFocusOperations = [
|
|
|
19114
18982
|
}
|
|
19115
18983
|
},
|
|
19116
18984
|
{
|
|
19117
|
-
id: "focus.
|
|
18985
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19118
18986
|
family: "focus",
|
|
19119
|
-
resource: "
|
|
19120
|
-
action: "
|
|
19121
|
-
title: "
|
|
19122
|
-
description: "
|
|
19123
|
-
safety: "
|
|
18987
|
+
resource: "publicsharedreports",
|
|
18988
|
+
action: "open-public-shared-report",
|
|
18989
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
18990
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
18991
|
+
safety: "read",
|
|
19124
18992
|
destructive: false,
|
|
19125
18993
|
cli: {
|
|
19126
|
-
group: ["
|
|
19127
|
-
command: "
|
|
19128
|
-
interactive: "
|
|
18994
|
+
group: ["publicsharedreports"],
|
|
18995
|
+
command: "open-public-shared-report",
|
|
18996
|
+
interactive: "available"
|
|
19129
18997
|
},
|
|
19130
|
-
mcp: { entityTool: "
|
|
19131
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19132
|
-
payload: rateSchedulePayloadSchema,
|
|
19133
|
-
project_id: /* @__PURE__ */ number$2()
|
|
19134
|
-
}),
|
|
18998
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
18999
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19135
19000
|
execute: (input, { client }) => {
|
|
19136
19001
|
const data = input;
|
|
19137
|
-
return client.runGeneratedRequest("
|
|
19002
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19138
19003
|
client.httpClient,
|
|
19139
|
-
|
|
19140
|
-
client.workspaceIdNumber,
|
|
19141
|
-
data.project_id,
|
|
19142
|
-
data.payload ?? data.data ?? data,
|
|
19004
|
+
data.token,
|
|
19143
19005
|
void 0
|
|
19144
19006
|
]));
|
|
19145
19007
|
}
|
|
19146
19008
|
},
|
|
19147
19009
|
{
|
|
19148
|
-
id: "focus.
|
|
19010
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19149
19011
|
family: "focus",
|
|
19150
|
-
resource: "
|
|
19151
|
-
action: "
|
|
19152
|
-
title: "
|
|
19153
|
-
description: "
|
|
19012
|
+
resource: "publicsharedreports",
|
|
19013
|
+
action: "profitability-public-shared-report",
|
|
19014
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19015
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19154
19016
|
safety: "update",
|
|
19155
19017
|
destructive: false,
|
|
19156
19018
|
cli: {
|
|
19157
|
-
group: ["
|
|
19158
|
-
command: "
|
|
19019
|
+
group: ["publicsharedreports"],
|
|
19020
|
+
command: "profitability-public-shared-report",
|
|
19021
|
+
interactive: "default"
|
|
19022
|
+
},
|
|
19023
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19024
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19025
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19026
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19027
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19028
|
+
token: /* @__PURE__ */ string$1()
|
|
19029
|
+
}),
|
|
19030
|
+
execute: (input, { client }) => {
|
|
19031
|
+
const data = input;
|
|
19032
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19033
|
+
client.httpClient,
|
|
19034
|
+
data.token,
|
|
19035
|
+
data.payload ?? data.data ?? data,
|
|
19036
|
+
data.response_format,
|
|
19037
|
+
data.include_dicts,
|
|
19038
|
+
void 0
|
|
19039
|
+
]));
|
|
19040
|
+
}
|
|
19041
|
+
},
|
|
19042
|
+
{
|
|
19043
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19044
|
+
family: "focus",
|
|
19045
|
+
resource: "publicsharedreports",
|
|
19046
|
+
action: "query-public-shared-report",
|
|
19047
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
19048
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
19049
|
+
safety: "update",
|
|
19050
|
+
destructive: false,
|
|
19051
|
+
cli: {
|
|
19052
|
+
group: ["publicsharedreports"],
|
|
19053
|
+
command: "query-public-shared-report",
|
|
19054
|
+
interactive: "default"
|
|
19055
|
+
},
|
|
19056
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19057
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19058
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19059
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19060
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19061
|
+
"json_row",
|
|
19062
|
+
"table",
|
|
19063
|
+
"hierarchical"
|
|
19064
|
+
])),
|
|
19065
|
+
token: /* @__PURE__ */ string$1()
|
|
19066
|
+
}),
|
|
19067
|
+
execute: (input, { client }) => {
|
|
19068
|
+
const data = input;
|
|
19069
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19070
|
+
client.httpClient,
|
|
19071
|
+
data.token,
|
|
19072
|
+
data.payload ?? data.data ?? data,
|
|
19073
|
+
data.response_format,
|
|
19074
|
+
data.include_dicts,
|
|
19075
|
+
void 0
|
|
19076
|
+
]));
|
|
19077
|
+
}
|
|
19078
|
+
},
|
|
19079
|
+
{
|
|
19080
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19081
|
+
family: "focus",
|
|
19082
|
+
resource: "publicsharedreports",
|
|
19083
|
+
action: "workload-public-shared-report",
|
|
19084
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
19085
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19086
|
+
safety: "update",
|
|
19087
|
+
destructive: false,
|
|
19088
|
+
cli: {
|
|
19089
|
+
group: ["publicsharedreports"],
|
|
19090
|
+
command: "workload-public-shared-report",
|
|
19091
|
+
interactive: "default"
|
|
19092
|
+
},
|
|
19093
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19094
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19095
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19096
|
+
token: /* @__PURE__ */ string$1()
|
|
19097
|
+
}),
|
|
19098
|
+
execute: (input, { client }) => {
|
|
19099
|
+
const data = input;
|
|
19100
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19101
|
+
client.httpClient,
|
|
19102
|
+
data.token,
|
|
19103
|
+
data.payload ?? data.data ?? data,
|
|
19104
|
+
void 0
|
|
19105
|
+
]));
|
|
19106
|
+
}
|
|
19107
|
+
},
|
|
19108
|
+
{
|
|
19109
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19110
|
+
family: "focus",
|
|
19111
|
+
resource: "rates",
|
|
19112
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
19113
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
19114
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
19115
|
+
safety: "update",
|
|
19116
|
+
destructive: false,
|
|
19117
|
+
cli: {
|
|
19118
|
+
group: ["rates", "billable"],
|
|
19119
|
+
command: "check-project-billable-rate-conflicts",
|
|
19120
|
+
interactive: "default"
|
|
19121
|
+
},
|
|
19122
|
+
mcp: { entityTool: "rates" },
|
|
19123
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19124
|
+
payload: rateSchedulePayloadSchema,
|
|
19125
|
+
project_id: /* @__PURE__ */ number$2()
|
|
19126
|
+
}),
|
|
19127
|
+
execute: (input, { client }) => {
|
|
19128
|
+
const data = input;
|
|
19129
|
+
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
19130
|
+
client.httpClient,
|
|
19131
|
+
client.organizationId,
|
|
19132
|
+
client.workspaceIdNumber,
|
|
19133
|
+
data.project_id,
|
|
19134
|
+
data.payload ?? data.data ?? data,
|
|
19135
|
+
void 0
|
|
19136
|
+
]));
|
|
19137
|
+
}
|
|
19138
|
+
},
|
|
19139
|
+
{
|
|
19140
|
+
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
19141
|
+
family: "focus",
|
|
19142
|
+
resource: "rates",
|
|
19143
|
+
action: "billable-check-project-user-billable-rate-conflicts",
|
|
19144
|
+
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
19145
|
+
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
19146
|
+
safety: "update",
|
|
19147
|
+
destructive: false,
|
|
19148
|
+
cli: {
|
|
19149
|
+
group: ["rates", "billable"],
|
|
19150
|
+
command: "check-project-user-billable-rate-conflicts",
|
|
19159
19151
|
interactive: "default"
|
|
19160
19152
|
},
|
|
19161
19153
|
mcp: { entityTool: "rates" },
|
|
@@ -21071,7 +21063,7 @@ const generatedFocusOperations = [
|
|
|
21071
21063
|
cli: {
|
|
21072
21064
|
group: ["reportschedules"],
|
|
21073
21065
|
command: "upsert-saved-view-schedule",
|
|
21074
|
-
interactive: "
|
|
21066
|
+
interactive: "hidden"
|
|
21075
21067
|
},
|
|
21076
21068
|
mcp: { entityTool: "reportschedules" },
|
|
21077
21069
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21082,8 +21074,10 @@ const generatedFocusOperations = [
|
|
|
21082
21074
|
"weekly",
|
|
21083
21075
|
"monthly"
|
|
21084
21076
|
]),
|
|
21077
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21085
21078
|
time: /* @__PURE__ */ string$1(),
|
|
21086
21079
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21080
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21087
21081
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21088
21082
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21089
21083
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21416,6 +21410,32 @@ const generatedFocusOperations = [
|
|
|
21416
21410
|
]));
|
|
21417
21411
|
}
|
|
21418
21412
|
},
|
|
21413
|
+
{
|
|
21414
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
21415
|
+
family: "focus",
|
|
21416
|
+
resource: "sharedreports",
|
|
21417
|
+
action: "get-shared-report-dates",
|
|
21418
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
21419
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
21420
|
+
safety: "read",
|
|
21421
|
+
destructive: false,
|
|
21422
|
+
cli: {
|
|
21423
|
+
group: ["sharedreports"],
|
|
21424
|
+
command: "get-shared-report-dates",
|
|
21425
|
+
interactive: "available"
|
|
21426
|
+
},
|
|
21427
|
+
mcp: { entityTool: "sharedreports" },
|
|
21428
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21429
|
+
execute: (input, { client }) => {
|
|
21430
|
+
const data = input;
|
|
21431
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21432
|
+
client.httpClient,
|
|
21433
|
+
client.workspaceIdNumber,
|
|
21434
|
+
data.id,
|
|
21435
|
+
void 0
|
|
21436
|
+
]));
|
|
21437
|
+
}
|
|
21438
|
+
},
|
|
21419
21439
|
{
|
|
21420
21440
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21421
21441
|
family: "focus",
|
|
@@ -21486,6 +21506,36 @@ const generatedFocusOperations = [
|
|
|
21486
21506
|
void 0
|
|
21487
21507
|
]))
|
|
21488
21508
|
},
|
|
21509
|
+
{
|
|
21510
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
21511
|
+
family: "focus",
|
|
21512
|
+
resource: "sharedreports",
|
|
21513
|
+
action: "mint-shared-report-link",
|
|
21514
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
21515
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
21516
|
+
safety: "update",
|
|
21517
|
+
destructive: false,
|
|
21518
|
+
cli: {
|
|
21519
|
+
group: ["sharedreports"],
|
|
21520
|
+
command: "mint-shared-report-link",
|
|
21521
|
+
interactive: "default"
|
|
21522
|
+
},
|
|
21523
|
+
mcp: { entityTool: "sharedreports" },
|
|
21524
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21525
|
+
id: /* @__PURE__ */ number$2(),
|
|
21526
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21527
|
+
}),
|
|
21528
|
+
execute: (input, { client }) => {
|
|
21529
|
+
const data = input;
|
|
21530
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21531
|
+
client.httpClient,
|
|
21532
|
+
client.workspaceIdNumber,
|
|
21533
|
+
data.id,
|
|
21534
|
+
data.payload ?? data.data ?? data,
|
|
21535
|
+
void 0
|
|
21536
|
+
]));
|
|
21537
|
+
}
|
|
21538
|
+
},
|
|
21489
21539
|
{
|
|
21490
21540
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21491
21541
|
family: "focus",
|
|
@@ -21516,6 +21566,92 @@ const generatedFocusOperations = [
|
|
|
21516
21566
|
]));
|
|
21517
21567
|
}
|
|
21518
21568
|
},
|
|
21569
|
+
{
|
|
21570
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21571
|
+
family: "focus",
|
|
21572
|
+
resource: "sharedreports",
|
|
21573
|
+
action: "revoke-shared-report-link",
|
|
21574
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
21575
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
21576
|
+
safety: "delete",
|
|
21577
|
+
destructive: true,
|
|
21578
|
+
cli: {
|
|
21579
|
+
group: ["sharedreports"],
|
|
21580
|
+
command: "revoke-shared-report-link",
|
|
21581
|
+
interactive: "default"
|
|
21582
|
+
},
|
|
21583
|
+
mcp: { entityTool: "sharedreports" },
|
|
21584
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21585
|
+
execute: (input, { client }) => {
|
|
21586
|
+
const data = input;
|
|
21587
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21588
|
+
client.httpClient,
|
|
21589
|
+
client.workspaceIdNumber,
|
|
21590
|
+
data.id,
|
|
21591
|
+
void 0
|
|
21592
|
+
]));
|
|
21593
|
+
}
|
|
21594
|
+
},
|
|
21595
|
+
{
|
|
21596
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21597
|
+
family: "focus",
|
|
21598
|
+
resource: "sharedreports",
|
|
21599
|
+
action: "rotate-shared-report-link",
|
|
21600
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
21601
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
21602
|
+
safety: "update",
|
|
21603
|
+
destructive: false,
|
|
21604
|
+
cli: {
|
|
21605
|
+
group: ["sharedreports"],
|
|
21606
|
+
command: "rotate-shared-report-link",
|
|
21607
|
+
interactive: "default"
|
|
21608
|
+
},
|
|
21609
|
+
mcp: { entityTool: "sharedreports" },
|
|
21610
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21611
|
+
id: /* @__PURE__ */ number$2(),
|
|
21612
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21613
|
+
}),
|
|
21614
|
+
execute: (input, { client }) => {
|
|
21615
|
+
const data = input;
|
|
21616
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21617
|
+
client.httpClient,
|
|
21618
|
+
client.workspaceIdNumber,
|
|
21619
|
+
data.id,
|
|
21620
|
+
data.payload ?? data.data ?? data,
|
|
21621
|
+
void 0
|
|
21622
|
+
]));
|
|
21623
|
+
}
|
|
21624
|
+
},
|
|
21625
|
+
{
|
|
21626
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21627
|
+
family: "focus",
|
|
21628
|
+
resource: "sharedreports",
|
|
21629
|
+
action: "set-shared-report-dates-lock",
|
|
21630
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
21631
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
21632
|
+
safety: "update",
|
|
21633
|
+
destructive: false,
|
|
21634
|
+
cli: {
|
|
21635
|
+
group: ["sharedreports"],
|
|
21636
|
+
command: "set-shared-report-dates-lock",
|
|
21637
|
+
interactive: "default"
|
|
21638
|
+
},
|
|
21639
|
+
mcp: { entityTool: "sharedreports" },
|
|
21640
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21641
|
+
id: /* @__PURE__ */ number$2(),
|
|
21642
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
21643
|
+
}),
|
|
21644
|
+
execute: (input, { client }) => {
|
|
21645
|
+
const data = input;
|
|
21646
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
21647
|
+
client.httpClient,
|
|
21648
|
+
client.workspaceIdNumber,
|
|
21649
|
+
data.id,
|
|
21650
|
+
data.payload ?? data.data ?? data,
|
|
21651
|
+
void 0
|
|
21652
|
+
]));
|
|
21653
|
+
}
|
|
21654
|
+
},
|
|
21519
21655
|
{
|
|
21520
21656
|
id: "focus.sharedreports.share-saved-view",
|
|
21521
21657
|
family: "focus",
|
|
@@ -21590,6 +21726,32 @@ const generatedFocusOperations = [
|
|
|
21590
21726
|
]));
|
|
21591
21727
|
}
|
|
21592
21728
|
},
|
|
21729
|
+
{
|
|
21730
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
21731
|
+
family: "focus",
|
|
21732
|
+
resource: "sharedreports",
|
|
21733
|
+
action: "unshare-shared-report",
|
|
21734
|
+
title: "Unshare Shared Report Sharedreports",
|
|
21735
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
21736
|
+
safety: "delete",
|
|
21737
|
+
destructive: true,
|
|
21738
|
+
cli: {
|
|
21739
|
+
group: ["sharedreports"],
|
|
21740
|
+
command: "unshare-shared-report",
|
|
21741
|
+
interactive: "default"
|
|
21742
|
+
},
|
|
21743
|
+
mcp: { entityTool: "sharedreports" },
|
|
21744
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21745
|
+
execute: (input, { client }) => {
|
|
21746
|
+
const data = input;
|
|
21747
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
21748
|
+
client.httpClient,
|
|
21749
|
+
client.workspaceIdNumber,
|
|
21750
|
+
data.id,
|
|
21751
|
+
void 0
|
|
21752
|
+
]));
|
|
21753
|
+
}
|
|
21754
|
+
},
|
|
21593
21755
|
{
|
|
21594
21756
|
id: "focus.statuses.create-status",
|
|
21595
21757
|
family: "focus",
|
|
@@ -22632,6 +22794,37 @@ const generatedFocusOperations = [
|
|
|
22632
22794
|
return client.createTask(data);
|
|
22633
22795
|
}
|
|
22634
22796
|
},
|
|
22797
|
+
{
|
|
22798
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
22799
|
+
family: "focus",
|
|
22800
|
+
resource: "tasks",
|
|
22801
|
+
action: "create-recurring-occurrence",
|
|
22802
|
+
title: "Create Recurring Occurrence Tasks",
|
|
22803
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
22804
|
+
safety: "create",
|
|
22805
|
+
destructive: false,
|
|
22806
|
+
cli: {
|
|
22807
|
+
group: ["tasks"],
|
|
22808
|
+
command: "create-recurring-occurrence",
|
|
22809
|
+
interactive: "default"
|
|
22810
|
+
},
|
|
22811
|
+
mcp: { entityTool: "tasks" },
|
|
22812
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22813
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22814
|
+
task_id: /* @__PURE__ */ number$2()
|
|
22815
|
+
}),
|
|
22816
|
+
execute: (input, { client }) => {
|
|
22817
|
+
const data = input;
|
|
22818
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22819
|
+
client.httpClient,
|
|
22820
|
+
client.organizationId,
|
|
22821
|
+
client.workspaceIdNumber,
|
|
22822
|
+
data.task_id,
|
|
22823
|
+
data.return_occurrence,
|
|
22824
|
+
void 0
|
|
22825
|
+
]));
|
|
22826
|
+
}
|
|
22827
|
+
},
|
|
22635
22828
|
{
|
|
22636
22829
|
id: "focus.tasks.delete",
|
|
22637
22830
|
family: "focus",
|
|
@@ -22857,11 +23050,82 @@ const generatedFocusOperations = [
|
|
|
22857
23050
|
}
|
|
22858
23051
|
},
|
|
22859
23052
|
{
|
|
22860
|
-
id: "focus.tasks.get-
|
|
23053
|
+
id: "focus.tasks.get-picker-task-children",
|
|
22861
23054
|
family: "focus",
|
|
22862
23055
|
resource: "tasks",
|
|
22863
|
-
action: "get-
|
|
22864
|
-
title: "Get
|
|
23056
|
+
action: "get-picker-task-children",
|
|
23057
|
+
title: "Get Picker Task Children Tasks",
|
|
23058
|
+
description: "Get Picker Task Children Tasks.",
|
|
23059
|
+
safety: "read",
|
|
23060
|
+
destructive: false,
|
|
23061
|
+
cli: {
|
|
23062
|
+
group: ["tasks"],
|
|
23063
|
+
command: "get-picker-task-children",
|
|
23064
|
+
interactive: "hidden"
|
|
23065
|
+
},
|
|
23066
|
+
mcp: { entityTool: "tasks" },
|
|
23067
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23068
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23069
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23070
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23071
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23072
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23073
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23074
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23075
|
+
}),
|
|
23076
|
+
execute: (input, { client }) => {
|
|
23077
|
+
const data = input;
|
|
23078
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23079
|
+
client.httpClient,
|
|
23080
|
+
client.organizationId,
|
|
23081
|
+
client.workspaceIdNumber,
|
|
23082
|
+
data.parent_task_id,
|
|
23083
|
+
data,
|
|
23084
|
+
void 0
|
|
23085
|
+
]));
|
|
23086
|
+
}
|
|
23087
|
+
},
|
|
23088
|
+
{
|
|
23089
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
23090
|
+
family: "focus",
|
|
23091
|
+
resource: "tasks",
|
|
23092
|
+
action: "get-picker-task-groups",
|
|
23093
|
+
title: "Get Picker Task Groups Tasks",
|
|
23094
|
+
description: "Get Picker Task Groups Tasks.",
|
|
23095
|
+
safety: "read",
|
|
23096
|
+
destructive: false,
|
|
23097
|
+
cli: {
|
|
23098
|
+
group: ["tasks"],
|
|
23099
|
+
command: "get-picker-task-groups",
|
|
23100
|
+
interactive: "hidden"
|
|
23101
|
+
},
|
|
23102
|
+
mcp: { entityTool: "tasks" },
|
|
23103
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23104
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23105
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23106
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23107
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23108
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23109
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23110
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23111
|
+
}),
|
|
23112
|
+
execute: (input, { client }) => {
|
|
23113
|
+
const data = input;
|
|
23114
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23115
|
+
client.httpClient,
|
|
23116
|
+
client.organizationId,
|
|
23117
|
+
client.workspaceIdNumber,
|
|
23118
|
+
data,
|
|
23119
|
+
void 0
|
|
23120
|
+
]));
|
|
23121
|
+
}
|
|
23122
|
+
},
|
|
23123
|
+
{
|
|
23124
|
+
id: "focus.tasks.get-recurring-instances",
|
|
23125
|
+
family: "focus",
|
|
23126
|
+
resource: "tasks",
|
|
23127
|
+
action: "get-recurring-instances",
|
|
23128
|
+
title: "Get Recurring Instances Tasks",
|
|
22865
23129
|
description: "Get Recurring Instances Tasks.",
|
|
22866
23130
|
safety: "read",
|
|
22867
23131
|
destructive: false,
|
|
@@ -22879,9 +23143,13 @@ const generatedFocusOperations = [
|
|
|
22879
23143
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22880
23144
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22881
23145
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23146
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23147
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22882
23148
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22883
23149
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23150
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22884
23151
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23152
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22885
23153
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22886
23154
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22887
23155
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22927,13 +23195,14 @@ const generatedFocusOperations = [
|
|
|
22927
23195
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22928
23196
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22929
23197
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22930
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22931
23198
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22932
23199
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22933
23200
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22934
23201
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22935
23202
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23203
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22936
23204
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23205
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22937
23206
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22938
23207
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22939
23208
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22942,7 +23211,9 @@ const generatedFocusOperations = [
|
|
|
22942
23211
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22943
23212
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22944
23213
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23214
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22945
23215
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23216
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22946
23217
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22947
23218
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22948
23219
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22951,8 +23222,6 @@ const generatedFocusOperations = [
|
|
|
22951
23222
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22952
23223
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22953
23224
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22954
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22955
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22956
23225
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22957
23226
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22958
23227
|
}),
|
|
@@ -23080,8 +23349,10 @@ const generatedFocusOperations = [
|
|
|
23080
23349
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23081
23350
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23082
23351
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23352
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
23353
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
23354
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23355
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23085
23356
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23086
23357
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
23358
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23090,6 +23361,8 @@ const generatedFocusOperations = [
|
|
|
23090
23361
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
23362
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
23363
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23364
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23365
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
23366
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23094
23367
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23095
23368
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23098,7 +23371,8 @@ const generatedFocusOperations = [
|
|
|
23098
23371
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23099
23372
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23100
23373
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23374
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23375
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23102
23376
|
}),
|
|
23103
23377
|
execute: (input, { client }) => {
|
|
23104
23378
|
const data = input;
|
|
@@ -23140,13 +23414,17 @@ const generatedFocusOperations = [
|
|
|
23140
23414
|
group_id: /* @__PURE__ */ number$2(),
|
|
23141
23415
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23142
23416
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23417
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23143
23418
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23144
23419
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23420
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23145
23421
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23146
23422
|
name: /* @__PURE__ */ unknown$1(),
|
|
23147
23423
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23148
23424
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23149
23425
|
project_id: /* @__PURE__ */ number$2(),
|
|
23426
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23427
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23150
23428
|
source: /* @__PURE__ */ unknown$1(),
|
|
23151
23429
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23152
23430
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23155,7 +23433,8 @@ const generatedFocusOperations = [
|
|
|
23155
23433
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23156
23434
|
team_id: /* @__PURE__ */ number$2(),
|
|
23157
23435
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23158
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23436
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23437
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23159
23438
|
}),
|
|
23160
23439
|
execute: (input, { client }) => {
|
|
23161
23440
|
const data = input;
|
|
@@ -23196,13 +23475,17 @@ const generatedFocusOperations = [
|
|
|
23196
23475
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23197
23476
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23198
23477
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23478
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23199
23479
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23200
23480
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23481
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23201
23482
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23202
23483
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23203
23484
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23204
23485
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23205
23486
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23487
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23488
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23206
23489
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23207
23490
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23208
23491
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23211,7 +23494,8 @@ const generatedFocusOperations = [
|
|
|
23211
23494
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23212
23495
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23213
23496
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23214
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23497
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23498
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23215
23499
|
}),
|
|
23216
23500
|
execute: (input, { client }) => {
|
|
23217
23501
|
const data = input;
|
|
@@ -23482,7 +23766,8 @@ const generatedFocusOperations = [
|
|
|
23482
23766
|
mcp: { entityTool: "tasks" },
|
|
23483
23767
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23484
23768
|
date_from: /* @__PURE__ */ string$1(),
|
|
23485
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23769
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
23770
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23486
23771
|
}),
|
|
23487
23772
|
execute: (input, { client }) => {
|
|
23488
23773
|
const data = input;
|
|
@@ -23492,373 +23777,7 @@ const generatedFocusOperations = [
|
|
|
23492
23777
|
client.workspaceIdNumber,
|
|
23493
23778
|
data.date_from,
|
|
23494
23779
|
data.date_to,
|
|
23495
|
-
|
|
23496
|
-
]));
|
|
23497
|
-
}
|
|
23498
|
-
},
|
|
23499
|
-
{
|
|
23500
|
-
id: "focus.time-blocks.archive",
|
|
23501
|
-
family: "focus",
|
|
23502
|
-
resource: "time-blocks",
|
|
23503
|
-
action: "archive",
|
|
23504
|
-
title: "Archive Time Blocks",
|
|
23505
|
-
description: "Archive Time Blocks.",
|
|
23506
|
-
safety: "update",
|
|
23507
|
-
destructive: false,
|
|
23508
|
-
cli: {
|
|
23509
|
-
group: ["time-blocks"],
|
|
23510
|
-
command: "archive",
|
|
23511
|
-
interactive: "default"
|
|
23512
|
-
},
|
|
23513
|
-
mcp: { entityTool: "time-blocks" },
|
|
23514
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23515
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23516
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23517
|
-
}),
|
|
23518
|
-
execute: (input, { client }) => {
|
|
23519
|
-
const data = input;
|
|
23520
|
-
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23521
|
-
client.httpClient,
|
|
23522
|
-
client.organizationId,
|
|
23523
|
-
client.workspaceIdNumber,
|
|
23524
|
-
data.task_id,
|
|
23525
|
-
data.time_block_id,
|
|
23526
|
-
void 0
|
|
23527
|
-
]));
|
|
23528
|
-
}
|
|
23529
|
-
},
|
|
23530
|
-
{
|
|
23531
|
-
id: "focus.time-blocks.bulk-create",
|
|
23532
|
-
family: "focus",
|
|
23533
|
-
resource: "time-blocks",
|
|
23534
|
-
action: "bulk-create",
|
|
23535
|
-
title: "Bulk Create Time Blocks",
|
|
23536
|
-
description: "Bulk Create Time Blocks.",
|
|
23537
|
-
safety: "create",
|
|
23538
|
-
destructive: false,
|
|
23539
|
-
cli: {
|
|
23540
|
-
group: ["time-blocks", "bulk"],
|
|
23541
|
-
command: "create",
|
|
23542
|
-
interactive: "default"
|
|
23543
|
-
},
|
|
23544
|
-
mcp: { entityTool: "time-blocks" },
|
|
23545
|
-
inputSchema: TimeBlockBulkCreatePayloadSchema,
|
|
23546
|
-
execute: (input, { client }) => {
|
|
23547
|
-
const data = input;
|
|
23548
|
-
return client.bulkCreateTimeBlocks(data);
|
|
23549
|
-
}
|
|
23550
|
-
},
|
|
23551
|
-
{
|
|
23552
|
-
id: "focus.time-blocks.bulk-delete",
|
|
23553
|
-
family: "focus",
|
|
23554
|
-
resource: "time-blocks",
|
|
23555
|
-
action: "bulk-delete",
|
|
23556
|
-
title: "Bulk Delete Time Blocks",
|
|
23557
|
-
description: "Bulk Delete Time Blocks.",
|
|
23558
|
-
safety: "delete",
|
|
23559
|
-
destructive: true,
|
|
23560
|
-
cli: {
|
|
23561
|
-
group: ["time-blocks", "bulk"],
|
|
23562
|
-
command: "delete",
|
|
23563
|
-
interactive: "default"
|
|
23564
|
-
},
|
|
23565
|
-
mcp: { entityTool: "time-blocks" },
|
|
23566
|
-
inputSchema: bulkIdsWithOutboundSchema,
|
|
23567
|
-
execute: (input, { client }) => {
|
|
23568
|
-
const data = input;
|
|
23569
|
-
return client.bulkDeleteTimeBlocks(data.ids, data.outbound_sync);
|
|
23570
|
-
}
|
|
23571
|
-
},
|
|
23572
|
-
{
|
|
23573
|
-
id: "focus.time-blocks.bulk-patch",
|
|
23574
|
-
family: "focus",
|
|
23575
|
-
resource: "time-blocks",
|
|
23576
|
-
action: "bulk-patch",
|
|
23577
|
-
title: "Bulk Patch Time Blocks",
|
|
23578
|
-
description: "Bulk Patch Time Blocks.",
|
|
23579
|
-
safety: "update",
|
|
23580
|
-
destructive: false,
|
|
23581
|
-
cli: {
|
|
23582
|
-
group: ["time-blocks", "bulk"],
|
|
23583
|
-
command: "patch",
|
|
23584
|
-
interactive: "default"
|
|
23585
|
-
},
|
|
23586
|
-
mcp: { entityTool: "time-blocks" },
|
|
23587
|
-
inputSchema: bulkTimeBlockPatchBodySchema,
|
|
23588
|
-
execute: (input, { client }) => {
|
|
23589
|
-
const data = input;
|
|
23590
|
-
return client.bulkPartialUpdateTimeBlocks(data);
|
|
23591
|
-
}
|
|
23592
|
-
},
|
|
23593
|
-
{
|
|
23594
|
-
id: "focus.time-blocks.create",
|
|
23595
|
-
family: "focus",
|
|
23596
|
-
resource: "time-blocks",
|
|
23597
|
-
action: "create",
|
|
23598
|
-
title: "Create Time Blocks",
|
|
23599
|
-
description: "Create Time Blocks.",
|
|
23600
|
-
safety: "create",
|
|
23601
|
-
destructive: false,
|
|
23602
|
-
cli: {
|
|
23603
|
-
group: ["time-blocks"],
|
|
23604
|
-
command: "create",
|
|
23605
|
-
interactive: "default"
|
|
23606
|
-
},
|
|
23607
|
-
mcp: { entityTool: "time-blocks" },
|
|
23608
|
-
inputSchema: timeBlockCreateSchema,
|
|
23609
|
-
execute: (input, { client }) => {
|
|
23610
|
-
const data = input;
|
|
23611
|
-
return client.createTimeBlock(data.task_id, data.payload);
|
|
23612
|
-
}
|
|
23613
|
-
},
|
|
23614
|
-
{
|
|
23615
|
-
id: "focus.time-blocks.delete",
|
|
23616
|
-
family: "focus",
|
|
23617
|
-
resource: "time-blocks",
|
|
23618
|
-
action: "delete",
|
|
23619
|
-
title: "Delete Time Blocks",
|
|
23620
|
-
description: "Delete Time Blocks.",
|
|
23621
|
-
safety: "delete",
|
|
23622
|
-
destructive: true,
|
|
23623
|
-
cli: {
|
|
23624
|
-
group: ["time-blocks"],
|
|
23625
|
-
command: "delete",
|
|
23626
|
-
interactive: "default"
|
|
23627
|
-
},
|
|
23628
|
-
mcp: { entityTool: "time-blocks" },
|
|
23629
|
-
inputSchema: timeBlockIdSchema,
|
|
23630
|
-
execute: (input, { client }) => {
|
|
23631
|
-
const data = input;
|
|
23632
|
-
return client.deleteTimeBlock(data.task_id, data.time_block_id);
|
|
23633
|
-
}
|
|
23634
|
-
},
|
|
23635
|
-
{
|
|
23636
|
-
id: "focus.time-blocks.get",
|
|
23637
|
-
family: "focus",
|
|
23638
|
-
resource: "time-blocks",
|
|
23639
|
-
action: "get",
|
|
23640
|
-
title: "Get Time Blocks",
|
|
23641
|
-
description: "Get Time Blocks.",
|
|
23642
|
-
safety: "read",
|
|
23643
|
-
destructive: false,
|
|
23644
|
-
cli: {
|
|
23645
|
-
group: ["time-blocks"],
|
|
23646
|
-
command: "get",
|
|
23647
|
-
interactive: "available"
|
|
23648
|
-
},
|
|
23649
|
-
mcp: { entityTool: "time-blocks" },
|
|
23650
|
-
inputSchema: timeBlockIdSchema,
|
|
23651
|
-
execute: (input, { client }) => {
|
|
23652
|
-
const data = input;
|
|
23653
|
-
return client.getTimeBlock(data.task_id, data.time_block_id);
|
|
23654
|
-
}
|
|
23655
|
-
},
|
|
23656
|
-
{
|
|
23657
|
-
id: "focus.time-blocks.get-range-stream",
|
|
23658
|
-
family: "focus",
|
|
23659
|
-
resource: "time-blocks",
|
|
23660
|
-
action: "get-range-stream",
|
|
23661
|
-
title: "Get Range Stream Time Blocks",
|
|
23662
|
-
description: "Get Range Stream Time Blocks.",
|
|
23663
|
-
safety: "read",
|
|
23664
|
-
destructive: false,
|
|
23665
|
-
cli: {
|
|
23666
|
-
group: ["time-blocks"],
|
|
23667
|
-
command: "get-range-stream",
|
|
23668
|
-
interactive: "hidden"
|
|
23669
|
-
},
|
|
23670
|
-
mcp: { entityTool: "time-blocks" },
|
|
23671
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23672
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23673
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23674
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23675
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23676
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23677
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23678
|
-
}),
|
|
23679
|
-
execute: (input, { client }) => {
|
|
23680
|
-
const data = input;
|
|
23681
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23682
|
-
client.httpClient,
|
|
23683
|
-
client.organizationId,
|
|
23684
|
-
client.workspaceIdNumber,
|
|
23685
|
-
data,
|
|
23686
|
-
void 0
|
|
23687
|
-
]));
|
|
23688
|
-
}
|
|
23689
|
-
},
|
|
23690
|
-
{
|
|
23691
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
23692
|
-
family: "focus",
|
|
23693
|
-
resource: "time-blocks",
|
|
23694
|
-
action: "get-task-time-blocks",
|
|
23695
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
23696
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
23697
|
-
safety: "read",
|
|
23698
|
-
destructive: false,
|
|
23699
|
-
cli: {
|
|
23700
|
-
group: ["time-blocks"],
|
|
23701
|
-
command: "get-task-time-blocks",
|
|
23702
|
-
interactive: "hidden"
|
|
23703
|
-
},
|
|
23704
|
-
mcp: { entityTool: "time-blocks" },
|
|
23705
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23706
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23707
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23708
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23709
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23710
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23711
|
-
}),
|
|
23712
|
-
execute: (input, { client }) => {
|
|
23713
|
-
const data = input;
|
|
23714
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23715
|
-
client.httpClient,
|
|
23716
|
-
client.organizationId,
|
|
23717
|
-
client.workspaceIdNumber,
|
|
23718
|
-
data.task_id,
|
|
23719
|
-
data,
|
|
23720
|
-
void 0
|
|
23721
|
-
]));
|
|
23722
|
-
}
|
|
23723
|
-
},
|
|
23724
|
-
{
|
|
23725
|
-
id: "focus.time-blocks.list",
|
|
23726
|
-
family: "focus",
|
|
23727
|
-
resource: "time-blocks",
|
|
23728
|
-
action: "list",
|
|
23729
|
-
title: "List Time Blocks",
|
|
23730
|
-
description: "List Time Blocks.",
|
|
23731
|
-
safety: "read",
|
|
23732
|
-
destructive: false,
|
|
23733
|
-
cli: {
|
|
23734
|
-
group: ["time-blocks"],
|
|
23735
|
-
command: "list",
|
|
23736
|
-
interactive: "available"
|
|
23737
|
-
},
|
|
23738
|
-
mcp: { entityTool: "time-blocks" },
|
|
23739
|
-
inputSchema: timeBlockListSchema,
|
|
23740
|
-
execute: (input, { client }) => {
|
|
23741
|
-
const data = input;
|
|
23742
|
-
return client.listTimeBlocks(data);
|
|
23743
|
-
}
|
|
23744
|
-
},
|
|
23745
|
-
{
|
|
23746
|
-
id: "focus.time-blocks.restore",
|
|
23747
|
-
family: "focus",
|
|
23748
|
-
resource: "time-blocks",
|
|
23749
|
-
action: "restore",
|
|
23750
|
-
title: "Restore Time Blocks",
|
|
23751
|
-
description: "Restore Time Blocks.",
|
|
23752
|
-
safety: "update",
|
|
23753
|
-
destructive: false,
|
|
23754
|
-
cli: {
|
|
23755
|
-
group: ["time-blocks"],
|
|
23756
|
-
command: "restore",
|
|
23757
|
-
interactive: "default"
|
|
23758
|
-
},
|
|
23759
|
-
mcp: { entityTool: "time-blocks" },
|
|
23760
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23761
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23762
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23763
|
-
}),
|
|
23764
|
-
execute: (input, { client }) => {
|
|
23765
|
-
const data = input;
|
|
23766
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23767
|
-
client.httpClient,
|
|
23768
|
-
client.organizationId,
|
|
23769
|
-
client.workspaceIdNumber,
|
|
23770
|
-
data.task_id,
|
|
23771
|
-
data.time_block_id,
|
|
23772
|
-
void 0
|
|
23773
|
-
]));
|
|
23774
|
-
}
|
|
23775
|
-
},
|
|
23776
|
-
{
|
|
23777
|
-
id: "focus.time-blocks.unarchive",
|
|
23778
|
-
family: "focus",
|
|
23779
|
-
resource: "time-blocks",
|
|
23780
|
-
action: "unarchive",
|
|
23781
|
-
title: "Unarchive Time Blocks",
|
|
23782
|
-
description: "Unarchive Time Blocks.",
|
|
23783
|
-
safety: "update",
|
|
23784
|
-
destructive: false,
|
|
23785
|
-
cli: {
|
|
23786
|
-
group: ["time-blocks"],
|
|
23787
|
-
command: "unarchive",
|
|
23788
|
-
interactive: "default"
|
|
23789
|
-
},
|
|
23790
|
-
mcp: { entityTool: "time-blocks" },
|
|
23791
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23792
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23793
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23794
|
-
}),
|
|
23795
|
-
execute: (input, { client }) => {
|
|
23796
|
-
const data = input;
|
|
23797
|
-
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23798
|
-
client.httpClient,
|
|
23799
|
-
client.organizationId,
|
|
23800
|
-
client.workspaceIdNumber,
|
|
23801
|
-
data.task_id,
|
|
23802
|
-
data.time_block_id,
|
|
23803
|
-
void 0
|
|
23804
|
-
]));
|
|
23805
|
-
}
|
|
23806
|
-
},
|
|
23807
|
-
{
|
|
23808
|
-
id: "focus.time-blocks.update",
|
|
23809
|
-
family: "focus",
|
|
23810
|
-
resource: "time-blocks",
|
|
23811
|
-
action: "update",
|
|
23812
|
-
title: "Update Time Blocks",
|
|
23813
|
-
description: "Update Time Blocks.",
|
|
23814
|
-
safety: "update",
|
|
23815
|
-
destructive: false,
|
|
23816
|
-
cli: {
|
|
23817
|
-
group: ["time-blocks"],
|
|
23818
|
-
command: "update",
|
|
23819
|
-
interactive: "default"
|
|
23820
|
-
},
|
|
23821
|
-
mcp: { entityTool: "time-blocks" },
|
|
23822
|
-
inputSchema: timeBlockUpdateSchema,
|
|
23823
|
-
execute: (input, { client }) => {
|
|
23824
|
-
const data = input;
|
|
23825
|
-
return client.updateTimeBlock(data.task_id, data.time_block_id, data.payload);
|
|
23826
|
-
}
|
|
23827
|
-
},
|
|
23828
|
-
{
|
|
23829
|
-
id: "focus.time-blocks.update-with-org",
|
|
23830
|
-
family: "focus",
|
|
23831
|
-
resource: "time-blocks",
|
|
23832
|
-
action: "update-with-org",
|
|
23833
|
-
title: "Update With Org Time Blocks",
|
|
23834
|
-
description: "Update With Org Time Blocks.",
|
|
23835
|
-
safety: "update",
|
|
23836
|
-
destructive: false,
|
|
23837
|
-
cli: {
|
|
23838
|
-
group: ["time-blocks"],
|
|
23839
|
-
command: "update-with-org",
|
|
23840
|
-
interactive: "default"
|
|
23841
|
-
},
|
|
23842
|
-
mcp: { entityTool: "time-blocks" },
|
|
23843
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23844
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23845
|
-
start: apiDateTimeString,
|
|
23846
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23847
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23848
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23849
|
-
}),
|
|
23850
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23851
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23852
|
-
}),
|
|
23853
|
-
execute: (input, { client }) => {
|
|
23854
|
-
const data = input;
|
|
23855
|
-
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
23856
|
-
client.httpClient,
|
|
23857
|
-
client.organizationId,
|
|
23858
|
-
client.workspaceIdNumber,
|
|
23859
|
-
data.task_id,
|
|
23860
|
-
data.time_block_id,
|
|
23861
|
-
data.payload ?? data.data ?? data,
|
|
23780
|
+
data.skip_provider_refresh,
|
|
23862
23781
|
void 0
|
|
23863
23782
|
]));
|
|
23864
23783
|
}
|
|
@@ -24078,7 +23997,8 @@ const generatedFocusOperations = [
|
|
|
24078
23997
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24079
23998
|
"project",
|
|
24080
23999
|
"task",
|
|
24081
|
-
"description"
|
|
24000
|
+
"description",
|
|
24001
|
+
"tags"
|
|
24082
24002
|
]) })),
|
|
24083
24003
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24084
24004
|
}) }),
|
|
@@ -24108,6 +24028,7 @@ const generatedFocusOperations = [
|
|
|
24108
24028
|
},
|
|
24109
24029
|
mcp: { entityTool: "time-entries" },
|
|
24110
24030
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24031
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24111
24032
|
payload: /* @__PURE__ */ looseObject({
|
|
24112
24033
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24113
24034
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24118,11 +24039,12 @@ const generatedFocusOperations = [
|
|
|
24118
24039
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24119
24040
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24120
24041
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24042
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24121
24043
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24122
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24123
24044
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24124
24045
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24125
24046
|
}),
|
|
24047
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24126
24048
|
task_id: /* @__PURE__ */ number$2()
|
|
24127
24049
|
}),
|
|
24128
24050
|
execute: (input, { client }) => {
|
|
@@ -24133,6 +24055,8 @@ const generatedFocusOperations = [
|
|
|
24133
24055
|
client.workspaceIdNumber,
|
|
24134
24056
|
data.task_id,
|
|
24135
24057
|
data.payload ?? data.data ?? data,
|
|
24058
|
+
data.from_recurring_task_id,
|
|
24059
|
+
data.return_occurrence,
|
|
24136
24060
|
void 0
|
|
24137
24061
|
]));
|
|
24138
24062
|
}
|
|
@@ -24152,21 +24076,25 @@ const generatedFocusOperations = [
|
|
|
24152
24076
|
interactive: "default"
|
|
24153
24077
|
},
|
|
24154
24078
|
mcp: { entityTool: "time-entries" },
|
|
24155
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24079
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24080
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24081
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24082
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24083
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24084
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24085
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24086
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24087
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24088
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24089
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24090
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24091
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24092
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24093
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24094
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24095
|
+
}),
|
|
24096
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24097
|
+
}),
|
|
24170
24098
|
execute: (input, { client }) => {
|
|
24171
24099
|
const data = input;
|
|
24172
24100
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24174,6 +24102,8 @@ const generatedFocusOperations = [
|
|
|
24174
24102
|
client.organizationId,
|
|
24175
24103
|
client.workspaceIdNumber,
|
|
24176
24104
|
data.payload ?? data.data ?? data,
|
|
24105
|
+
data.from_recurring_task_id,
|
|
24106
|
+
data.return_occurrence,
|
|
24177
24107
|
void 0
|
|
24178
24108
|
]));
|
|
24179
24109
|
}
|
|
@@ -24193,7 +24123,11 @@ const generatedFocusOperations = [
|
|
|
24193
24123
|
interactive: "default"
|
|
24194
24124
|
},
|
|
24195
24125
|
mcp: { entityTool: "time-entries" },
|
|
24196
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24126
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24127
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24128
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24129
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24130
|
+
}),
|
|
24197
24131
|
execute: (input, { client }) => {
|
|
24198
24132
|
const data = input;
|
|
24199
24133
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24201,6 +24135,8 @@ const generatedFocusOperations = [
|
|
|
24201
24135
|
client.organizationId,
|
|
24202
24136
|
client.workspaceIdNumber,
|
|
24203
24137
|
data.time_entry_id,
|
|
24138
|
+
data.from_recurring_task_id,
|
|
24139
|
+
data.return_occurrence,
|
|
24204
24140
|
void 0
|
|
24205
24141
|
]));
|
|
24206
24142
|
}
|
|
@@ -24281,6 +24217,7 @@ const generatedFocusOperations = [
|
|
|
24281
24217
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24282
24218
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24283
24219
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24220
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24284
24221
|
status_id: /* @__PURE__ */ number$2(),
|
|
24285
24222
|
task_id: /* @__PURE__ */ number$2(),
|
|
24286
24223
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24296,33 +24233,6 @@ const generatedFocusOperations = [
|
|
|
24296
24233
|
]));
|
|
24297
24234
|
}
|
|
24298
24235
|
},
|
|
24299
|
-
{
|
|
24300
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24301
|
-
family: "focus",
|
|
24302
|
-
resource: "time-entries",
|
|
24303
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
24304
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24305
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24306
|
-
safety: "read",
|
|
24307
|
-
destructive: false,
|
|
24308
|
-
cli: {
|
|
24309
|
-
group: ["time-entries"],
|
|
24310
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
24311
|
-
interactive: "available"
|
|
24312
|
-
},
|
|
24313
|
-
mcp: { entityTool: "time-entries" },
|
|
24314
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24315
|
-
execute: (input, { client }) => {
|
|
24316
|
-
const data = input;
|
|
24317
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24318
|
-
client.httpClient,
|
|
24319
|
-
client.organizationId,
|
|
24320
|
-
client.workspaceIdNumber,
|
|
24321
|
-
data,
|
|
24322
|
-
void 0
|
|
24323
|
-
]));
|
|
24324
|
-
}
|
|
24325
|
-
},
|
|
24326
24236
|
{
|
|
24327
24237
|
id: "focus.time-entries.get-task-time-entries",
|
|
24328
24238
|
family: "focus",
|
|
@@ -24344,7 +24254,6 @@ const generatedFocusOperations = [
|
|
|
24344
24254
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24345
24255
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24346
24256
|
task_id: /* @__PURE__ */ number$2(),
|
|
24347
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24348
24257
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24349
24258
|
}),
|
|
24350
24259
|
execute: (input, { client }) => {
|
|
@@ -24457,12 +24366,14 @@ const generatedFocusOperations = [
|
|
|
24457
24366
|
},
|
|
24458
24367
|
mcp: { entityTool: "time-entries" },
|
|
24459
24368
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24369
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24460
24370
|
payload: /* @__PURE__ */ looseObject({
|
|
24461
24371
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24462
24372
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24463
24373
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24464
24374
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24465
24375
|
}),
|
|
24376
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24466
24377
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24467
24378
|
}),
|
|
24468
24379
|
execute: (input, { client }) => {
|
|
@@ -24473,6 +24384,8 @@ const generatedFocusOperations = [
|
|
|
24473
24384
|
client.workspaceIdNumber,
|
|
24474
24385
|
data.time_entry_id,
|
|
24475
24386
|
data.payload ?? data.data ?? data,
|
|
24387
|
+
data.from_recurring_task_id,
|
|
24388
|
+
data.return_occurrence,
|
|
24476
24389
|
void 0
|
|
24477
24390
|
]));
|
|
24478
24391
|
}
|
|
@@ -24730,6 +24643,7 @@ const generatedFocusOperations = [
|
|
|
24730
24643
|
},
|
|
24731
24644
|
mcp: { entityTool: "time-entries" },
|
|
24732
24645
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24646
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24733
24647
|
payload: /* @__PURE__ */ looseObject({
|
|
24734
24648
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24735
24649
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24739,9 +24653,9 @@ const generatedFocusOperations = [
|
|
|
24739
24653
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24740
24654
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24741
24655
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24742
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24743
24656
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24744
24657
|
}),
|
|
24658
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24745
24659
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24746
24660
|
}),
|
|
24747
24661
|
execute: (input, { client }) => {
|
|
@@ -24752,6 +24666,8 @@ const generatedFocusOperations = [
|
|
|
24752
24666
|
client.workspaceIdNumber,
|
|
24753
24667
|
data.time_entry_id,
|
|
24754
24668
|
data.payload ?? data.data ?? data,
|
|
24669
|
+
data.from_recurring_task_id,
|
|
24670
|
+
data.return_occurrence,
|
|
24755
24671
|
void 0
|
|
24756
24672
|
]));
|
|
24757
24673
|
}
|
|
@@ -25267,6 +25183,40 @@ const generatedFocusOperations = [
|
|
|
25267
25183
|
]));
|
|
25268
25184
|
}
|
|
25269
25185
|
},
|
|
25186
|
+
{
|
|
25187
|
+
id: "focus.timesheets.get-status-counts",
|
|
25188
|
+
family: "focus",
|
|
25189
|
+
resource: "timesheets",
|
|
25190
|
+
action: "get-status-counts",
|
|
25191
|
+
title: "Get Status Counts Timesheets",
|
|
25192
|
+
description: "Get Status Counts Timesheets.",
|
|
25193
|
+
safety: "read",
|
|
25194
|
+
destructive: false,
|
|
25195
|
+
cli: {
|
|
25196
|
+
group: ["timesheets"],
|
|
25197
|
+
command: "get-status-counts",
|
|
25198
|
+
interactive: "hidden"
|
|
25199
|
+
},
|
|
25200
|
+
mcp: { entityTool: "timesheets" },
|
|
25201
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25202
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25203
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
25204
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
25205
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
25206
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25207
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25208
|
+
}),
|
|
25209
|
+
execute: (input, { client }) => {
|
|
25210
|
+
const data = input;
|
|
25211
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25212
|
+
client.httpClient,
|
|
25213
|
+
client.organizationId,
|
|
25214
|
+
client.workspaceIdNumber,
|
|
25215
|
+
data,
|
|
25216
|
+
void 0
|
|
25217
|
+
]));
|
|
25218
|
+
}
|
|
25219
|
+
},
|
|
25270
25220
|
{
|
|
25271
25221
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25272
25222
|
family: "focus",
|
|
@@ -25816,6 +25766,33 @@ const generatedFocusOperations = [
|
|
|
25816
25766
|
]));
|
|
25817
25767
|
}
|
|
25818
25768
|
},
|
|
25769
|
+
{
|
|
25770
|
+
id: "focus.track-team-invites.post",
|
|
25771
|
+
family: "focus",
|
|
25772
|
+
resource: "track-team-invites",
|
|
25773
|
+
action: "post",
|
|
25774
|
+
title: "Post Track Team Invites",
|
|
25775
|
+
description: "Post Track Team Invites.",
|
|
25776
|
+
safety: "create",
|
|
25777
|
+
destructive: false,
|
|
25778
|
+
cli: {
|
|
25779
|
+
group: ["track-team-invites"],
|
|
25780
|
+
command: "post",
|
|
25781
|
+
interactive: "default"
|
|
25782
|
+
},
|
|
25783
|
+
mcp: { entityTool: "track-team-invites" },
|
|
25784
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
25785
|
+
execute: (input, { client }) => {
|
|
25786
|
+
const data = input;
|
|
25787
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
25788
|
+
client.httpClient,
|
|
25789
|
+
client.organizationId,
|
|
25790
|
+
client.workspaceIdNumber,
|
|
25791
|
+
data.payload ?? data.data ?? data,
|
|
25792
|
+
void 0
|
|
25793
|
+
]));
|
|
25794
|
+
}
|
|
25795
|
+
},
|
|
25819
25796
|
{
|
|
25820
25797
|
id: "focus.users.list",
|
|
25821
25798
|
family: "focus",
|
|
@@ -25837,6 +25814,56 @@ const generatedFocusOperations = [
|
|
|
25837
25814
|
return client.listOrgUsers(data);
|
|
25838
25815
|
}
|
|
25839
25816
|
},
|
|
25817
|
+
{
|
|
25818
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
25819
|
+
family: "focus",
|
|
25820
|
+
resource: "users",
|
|
25821
|
+
action: "settings-email-unsubscribe",
|
|
25822
|
+
title: "Settings Email Unsubscribe Users",
|
|
25823
|
+
description: "Settings Email Unsubscribe Users.",
|
|
25824
|
+
safety: "update",
|
|
25825
|
+
destructive: false,
|
|
25826
|
+
cli: {
|
|
25827
|
+
group: ["users", "settings"],
|
|
25828
|
+
command: "email-unsubscribe",
|
|
25829
|
+
interactive: "default"
|
|
25830
|
+
},
|
|
25831
|
+
mcp: { entityTool: "users" },
|
|
25832
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25833
|
+
execute: (input, { client }) => {
|
|
25834
|
+
const data = input;
|
|
25835
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
25836
|
+
client.httpClient,
|
|
25837
|
+
data.token,
|
|
25838
|
+
void 0
|
|
25839
|
+
]));
|
|
25840
|
+
}
|
|
25841
|
+
},
|
|
25842
|
+
{
|
|
25843
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
25844
|
+
family: "focus",
|
|
25845
|
+
resource: "users",
|
|
25846
|
+
action: "settings-email-unsubscribe-page",
|
|
25847
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
25848
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
25849
|
+
safety: "read",
|
|
25850
|
+
destructive: false,
|
|
25851
|
+
cli: {
|
|
25852
|
+
group: ["users", "settings"],
|
|
25853
|
+
command: "email-unsubscribe-page",
|
|
25854
|
+
interactive: "available"
|
|
25855
|
+
},
|
|
25856
|
+
mcp: { entityTool: "users" },
|
|
25857
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25858
|
+
execute: (input, { client }) => {
|
|
25859
|
+
const data = input;
|
|
25860
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
25861
|
+
client.httpClient,
|
|
25862
|
+
data.token,
|
|
25863
|
+
void 0
|
|
25864
|
+
]));
|
|
25865
|
+
}
|
|
25866
|
+
},
|
|
25840
25867
|
{
|
|
25841
25868
|
id: "focus.users.settings-list",
|
|
25842
25869
|
family: "focus",
|
|
@@ -25898,6 +25925,9 @@ const generatedFocusOperations = [
|
|
|
25898
25925
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25899
25926
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25900
25927
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25928
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25929
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25930
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25901
25931
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25902
25932
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25903
25933
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26349,7 +26379,6 @@ const focusOperationOverrides = {
|
|
|
26349
26379
|
...projectAttachmentOverrides,
|
|
26350
26380
|
...rateOverrides,
|
|
26351
26381
|
...readOnlyPostOverrides,
|
|
26352
|
-
...timeBlockOverrides,
|
|
26353
26382
|
...timeEntryOverrides,
|
|
26354
26383
|
...versionOverrides,
|
|
26355
26384
|
...statusOverrides,
|
|
@@ -26698,7 +26727,6 @@ function extractRootArrayItemSchema(schema) {
|
|
|
26698
26727
|
}
|
|
26699
26728
|
function singularLabelFromOperationId(operationId) {
|
|
26700
26729
|
if (operationId.includes("time-entries")) return "time entry";
|
|
26701
|
-
if (operationId.includes("time-blocks")) return "time block";
|
|
26702
26730
|
if (operationId.includes("tasks")) return "task";
|
|
26703
26731
|
if (operationId.includes("projects")) return "project";
|
|
26704
26732
|
return "item";
|
|
@@ -26723,7 +26751,6 @@ function singularizeLabel(label) {
|
|
|
26723
26751
|
const t = label.trim();
|
|
26724
26752
|
if (t.length <= 1) return t;
|
|
26725
26753
|
const lower = t.toLowerCase();
|
|
26726
|
-
if (lower === "time blocks") return "time block";
|
|
26727
26754
|
if (lower.endsWith("ies")) return `${t.slice(0, -3)}y`;
|
|
26728
26755
|
if (lower.endsWith("s")) return t.slice(0, -1);
|
|
26729
26756
|
return t;
|
|
@@ -27960,4 +27987,4 @@ Common commands:
|
|
|
27960
27987
|
//#endregion
|
|
27961
27988
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27962
27989
|
|
|
27963
|
-
//# sourceMappingURL=program-
|
|
27990
|
+
//# sourceMappingURL=program-DfBQ3e83.js.map
|