@togglhq/mcp 1.11.12 → 1.11.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +2 -2
- package/build/index.js +1 -1
- package/build/{src-DNTw3ng1.js → src-XV2GtoAm.js} +1846 -739
- package/package.json +1 -1
|
@@ -36428,11 +36428,7 @@ function safeParse(schema, input, config$1) {
|
|
|
36428
36428
|
}
|
|
36429
36429
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
36430
36430
|
id: /* @__PURE__ */ number(),
|
|
36431
|
-
type: /* @__PURE__ */ picklist([
|
|
36432
|
-
"user",
|
|
36433
|
-
"ghost",
|
|
36434
|
-
"team"
|
|
36435
|
-
])
|
|
36431
|
+
type: /* @__PURE__ */ picklist(["user", "team"])
|
|
36436
36432
|
});
|
|
36437
36433
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
36438
36434
|
id: /* @__PURE__ */ number(),
|
|
@@ -36474,7 +36470,8 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
36474
36470
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36475
36471
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
36476
36472
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36477
|
-
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
36473
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
36474
|
+
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("RecurringProjectID links an instance to its recurring template, so clients can lane an entry under a collapsed series.")))
|
|
36478
36475
|
});
|
|
36479
36476
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
36480
36477
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -36547,7 +36544,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36547
36544
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36548
36545
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
36549
36546
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36550
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36547
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
36551
36548
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
36552
36549
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36553
36550
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -36555,7 +36552,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36555
36552
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36556
36553
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36557
36554
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36558
|
-
|
|
36555
|
+
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."))),
|
|
36559
36556
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36560
36557
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36561
36558
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -36565,6 +36562,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36565
36562
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36566
36563
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36567
36564
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36565
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36568
36566
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36569
36567
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36570
36568
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -36608,7 +36606,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36608
36606
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36609
36607
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
36610
36608
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36611
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36609
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
36612
36610
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
36613
36611
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36614
36612
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -36616,7 +36614,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36616
36614
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36617
36615
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36618
36616
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36619
|
-
|
|
36617
|
+
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."))),
|
|
36620
36618
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36621
36619
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36622
36620
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -36627,6 +36625,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36627
36625
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36628
36626
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36629
36627
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36628
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36630
36629
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36631
36630
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36632
36631
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -36781,7 +36780,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
36781
36780
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36782
36781
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36783
36782
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36784
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36783
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
36785
36784
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36786
36785
|
});
|
|
36787
36786
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -36798,6 +36797,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36798
36797
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36799
36798
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36800
36799
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36800
|
+
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."))),
|
|
36801
|
+
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."))),
|
|
36801
36802
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36802
36803
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36803
36804
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36807,7 +36808,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36807
36808
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
36808
36809
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
36809
36810
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36810
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36811
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
36811
36812
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36812
36813
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36813
36814
|
});
|
|
@@ -36930,7 +36931,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36930
36931
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36931
36932
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36932
36933
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
36933
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36934
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
36934
36935
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36935
36936
|
})),
|
|
36936
36937
|
page: /* @__PURE__ */ number(),
|
|
@@ -36962,6 +36963,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36962
36963
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36963
36964
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36964
36965
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36966
|
+
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."))),
|
|
36967
|
+
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."))),
|
|
36965
36968
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36966
36969
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36967
36970
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36973,7 +36976,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36973
36976
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
36974
36977
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
36975
36978
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36976
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36979
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the entry creator's IANA timezone snapshotted at creation; NULL when unresolved."))),
|
|
36977
36980
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36978
36981
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36979
36982
|
})),
|
|
@@ -36985,9 +36988,15 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
36985
36988
|
id: /* @__PURE__ */ number(),
|
|
36986
36989
|
name: /* @__PURE__ */ string(),
|
|
36987
36990
|
workspace_id: /* @__PURE__ */ number(),
|
|
36991
|
+
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()), /* @__PURE__ */ description("An archived tag disappears from the apply affordance but stays attached to and readable on every existing entity. Nothing cascades."))),
|
|
36988
36992
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36989
36993
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36990
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36994
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36995
|
+
usage: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
36996
|
+
projects: /* @__PURE__ */ number(),
|
|
36997
|
+
tasks: /* @__PURE__ */ number(),
|
|
36998
|
+
time_entries: /* @__PURE__ */ number()
|
|
36999
|
+
})), /* @__PURE__ */ description("Counts of the projects, tasks and time entries whose tag set directly contains this tag. Only present on the tags list, for callers with unrestricted project access.")))
|
|
36991
37000
|
});
|
|
36992
37001
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
36993
37002
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -36998,8 +37007,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
36998
37007
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
36999
37008
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
37000
37009
|
account_locked_at: /* @__PURE__ */ string(),
|
|
37010
|
+
accounts_role_id: /* @__PURE__ */ number(),
|
|
37001
37011
|
active: /* @__PURE__ */ boolean(),
|
|
37002
|
-
admin: /* @__PURE__ */ boolean(),
|
|
37003
37012
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
37004
37013
|
created_at: /* @__PURE__ */ string(),
|
|
37005
37014
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -37048,7 +37057,9 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
37048
37057
|
track_role_id: /* @__PURE__ */ number(),
|
|
37049
37058
|
work_role_id: /* @__PURE__ */ number(),
|
|
37050
37059
|
workspace_user_id: /* @__PURE__ */ number()
|
|
37051
|
-
}))
|
|
37060
|
+
})),
|
|
37061
|
+
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
37062
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
37052
37063
|
});
|
|
37053
37064
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37054
37065
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -37125,8 +37136,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37125
37136
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37126
37137
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37127
37138
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37128
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37129
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37139
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
37130
37140
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37131
37141
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37132
37142
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -37142,6 +37152,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37142
37152
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37143
37153
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37144
37154
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37155
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37145
37156
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37146
37157
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37147
37158
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37151,22 +37162,23 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37151
37162
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37152
37163
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
37153
37164
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
37154
|
-
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
37165
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)),
|
|
37166
|
+
private: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Optional privacy override applied to every duplicated task (and cascaded children). When omitted, each task keeps the source task's private flag. Used when FE must force public (plan lacks private tasks) or private (user can only create private) instead of falling back to composite create.")))
|
|
37155
37167
|
});
|
|
37156
37168
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37157
37169
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37158
37170
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
37171
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37159
37172
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
37160
37173
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37161
37174
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37162
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37175
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37163
37176
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37164
37177
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
37165
37178
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37166
37179
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37167
37180
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37168
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37169
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37181
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
37170
37182
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37171
37183
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37172
37184
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -37183,6 +37195,8 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37183
37195
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37184
37196
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37185
37197
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37198
|
+
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."))),
|
|
37199
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37186
37200
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37187
37201
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37188
37202
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37191,17 +37205,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37191
37205
|
});
|
|
37192
37206
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
37193
37207
|
id: /* @__PURE__ */ number(),
|
|
37208
|
+
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37194
37209
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
37195
37210
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37196
37211
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37197
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37212
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37198
37213
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37199
37214
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
37200
37215
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37201
37216
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37202
37217
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37203
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37204
|
-
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37218
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
37205
37219
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37206
37220
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37207
37221
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -37218,6 +37232,8 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
37218
37232
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37219
37233
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37220
37234
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37235
|
+
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."))),
|
|
37236
|
+
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37221
37237
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37222
37238
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37223
37239
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37380,7 +37396,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37380
37396
|
})
|
|
37381
37397
|
}).json();
|
|
37382
37398
|
}
|
|
37383
|
-
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 } = {}, signal) {
|
|
37399
|
+
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) {
|
|
37384
37400
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37385
37401
|
signal,
|
|
37386
37402
|
searchParams: buildSearchParams$2({
|
|
@@ -37400,7 +37416,10 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37400
37416
|
include_working_hours,
|
|
37401
37417
|
include_rates,
|
|
37402
37418
|
pinned_ids,
|
|
37403
|
-
has_group
|
|
37419
|
+
has_group,
|
|
37420
|
+
cf_filter,
|
|
37421
|
+
include_custom_fields,
|
|
37422
|
+
include_calendar_integration
|
|
37404
37423
|
}, true)
|
|
37405
37424
|
});
|
|
37406
37425
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37419,7 +37438,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37419
37438
|
}
|
|
37420
37439
|
//#endregion
|
|
37421
37440
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37422
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37441
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id, include_usage, include_archived, archived } = {}, signal) {
|
|
37423
37442
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37424
37443
|
signal,
|
|
37425
37444
|
searchParams: buildSearchParams$2({
|
|
@@ -37427,7 +37446,10 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37427
37446
|
page,
|
|
37428
37447
|
per_page,
|
|
37429
37448
|
order_by,
|
|
37430
|
-
tag_id
|
|
37449
|
+
tag_id,
|
|
37450
|
+
include_usage,
|
|
37451
|
+
include_archived,
|
|
37452
|
+
archived
|
|
37431
37453
|
})
|
|
37432
37454
|
}).json();
|
|
37433
37455
|
}
|
|
@@ -37437,6 +37459,42 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37437
37459
|
json: data
|
|
37438
37460
|
}).json();
|
|
37439
37461
|
}
|
|
37462
|
+
async function bulkCreateTags(httpClient, workspace_id, data, signal) {
|
|
37463
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37464
|
+
signal,
|
|
37465
|
+
json: data
|
|
37466
|
+
}).json();
|
|
37467
|
+
}
|
|
37468
|
+
async function bulkDeleteTags(httpClient, workspace_id, ids, signal) {
|
|
37469
|
+
return await httpClient.delete(`workspaces/${workspace_id}/tags/bulk`, {
|
|
37470
|
+
signal,
|
|
37471
|
+
searchParams: buildSearchParams$2({ ids })
|
|
37472
|
+
}).json();
|
|
37473
|
+
}
|
|
37474
|
+
async function bulkArchiveTags(httpClient, workspace_id, data, signal) {
|
|
37475
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/archive`, {
|
|
37476
|
+
signal,
|
|
37477
|
+
json: data
|
|
37478
|
+
}).json();
|
|
37479
|
+
}
|
|
37480
|
+
async function bulkRestoreTags(httpClient, workspace_id, data, signal) {
|
|
37481
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/restore`, {
|
|
37482
|
+
signal,
|
|
37483
|
+
json: data
|
|
37484
|
+
}).json();
|
|
37485
|
+
}
|
|
37486
|
+
async function bulkUnarchiveTags(httpClient, workspace_id, data, signal) {
|
|
37487
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/bulk/unarchive`, {
|
|
37488
|
+
signal,
|
|
37489
|
+
json: data
|
|
37490
|
+
}).json();
|
|
37491
|
+
}
|
|
37492
|
+
async function mergeTags(httpClient, workspace_id, data, signal) {
|
|
37493
|
+
return await httpClient.post(`workspaces/${workspace_id}/tags/merge`, {
|
|
37494
|
+
signal,
|
|
37495
|
+
json: data
|
|
37496
|
+
}).json();
|
|
37497
|
+
}
|
|
37440
37498
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37441
37499
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37442
37500
|
}
|
|
@@ -37449,12 +37507,18 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37449
37507
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37450
37508
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37451
37509
|
}
|
|
37510
|
+
async function archiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37511
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/archive`, { signal }).json();
|
|
37512
|
+
}
|
|
37452
37513
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37453
37514
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37454
37515
|
}
|
|
37516
|
+
async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
37517
|
+
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/unarchive`, { signal }).json();
|
|
37518
|
+
}
|
|
37455
37519
|
//#endregion
|
|
37456
37520
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37457
|
-
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, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37521
|
+
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) {
|
|
37458
37522
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37459
37523
|
signal,
|
|
37460
37524
|
searchParams: buildSearchParams$2({
|
|
@@ -37476,6 +37540,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37476
37540
|
include_rates,
|
|
37477
37541
|
include_rollover,
|
|
37478
37542
|
include_idle_recurring_templates,
|
|
37543
|
+
collapse_recurring,
|
|
37479
37544
|
include_drafts,
|
|
37480
37545
|
include_locked_private,
|
|
37481
37546
|
start_date,
|
|
@@ -37706,7 +37771,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37706
37771
|
}
|
|
37707
37772
|
//#endregion
|
|
37708
37773
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37709
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates,
|
|
37774
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37710
37775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37711
37776
|
signal,
|
|
37712
37777
|
searchParams: buildSearchParams$2({
|
|
@@ -37754,12 +37819,14 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37754
37819
|
recurring_task_ids,
|
|
37755
37820
|
client_id,
|
|
37756
37821
|
include_rates,
|
|
37757
|
-
include_ghost_assignees,
|
|
37758
37822
|
include_assignees,
|
|
37759
37823
|
include_parent_matches,
|
|
37760
|
-
assignee_ghost_id,
|
|
37761
37824
|
disable_aggregations,
|
|
37762
|
-
cf_filter
|
|
37825
|
+
cf_filter,
|
|
37826
|
+
recurring_occurrences_after,
|
|
37827
|
+
max_recurring_occurrences_after,
|
|
37828
|
+
recurring_task_read,
|
|
37829
|
+
include_projected_occurrences
|
|
37763
37830
|
})
|
|
37764
37831
|
}).json();
|
|
37765
37832
|
}
|
|
@@ -37834,16 +37901,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37834
37901
|
})
|
|
37835
37902
|
}).json();
|
|
37836
37903
|
}
|
|
37837
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37904
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37838
37905
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37839
37906
|
signal,
|
|
37840
37907
|
searchParams: buildSearchParams$2({
|
|
37841
37908
|
date_from,
|
|
37842
|
-
date_to
|
|
37909
|
+
date_to,
|
|
37910
|
+
skip_provider_refresh
|
|
37843
37911
|
})
|
|
37844
37912
|
}).json();
|
|
37845
37913
|
}
|
|
37846
|
-
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_user_id, tag_id,
|
|
37914
|
+
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) {
|
|
37847
37915
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37848
37916
|
signal,
|
|
37849
37917
|
searchParams: buildSearchParams$2({
|
|
@@ -37856,14 +37924,18 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37856
37924
|
dates_overlap_end,
|
|
37857
37925
|
recurring_task_ids,
|
|
37858
37926
|
team_id,
|
|
37927
|
+
assignee_team_id,
|
|
37859
37928
|
assignee_user_id,
|
|
37860
37929
|
tag_id,
|
|
37861
|
-
|
|
37862
|
-
|
|
37930
|
+
include_assignees,
|
|
37931
|
+
recurring_occurrences_after,
|
|
37932
|
+
max_recurring_occurrences_after,
|
|
37933
|
+
recurring_task_read,
|
|
37934
|
+
include_projected_occurrences
|
|
37863
37935
|
})
|
|
37864
37936
|
}).json();
|
|
37865
37937
|
}
|
|
37866
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id,
|
|
37938
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37867
37939
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37868
37940
|
signal,
|
|
37869
37941
|
searchParams: buildSearchParams$2({
|
|
@@ -37907,20 +37979,19 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37907
37979
|
recurring,
|
|
37908
37980
|
recurring_task_ids,
|
|
37909
37981
|
client_id,
|
|
37910
|
-
include_ghost_assignees,
|
|
37911
37982
|
include_assignees,
|
|
37912
|
-
|
|
37913
|
-
|
|
37983
|
+
cf_filter,
|
|
37984
|
+
recurring_occurrences_after,
|
|
37985
|
+
max_recurring_occurrences_after,
|
|
37986
|
+
recurring_task_read,
|
|
37987
|
+
include_projected_occurrences
|
|
37914
37988
|
})
|
|
37915
37989
|
}).json();
|
|
37916
37990
|
}
|
|
37917
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, {
|
|
37991
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37918
37992
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37919
37993
|
signal,
|
|
37920
|
-
searchParams: buildSearchParams$2({
|
|
37921
|
-
include_ghost_assignees,
|
|
37922
|
-
include_assignees
|
|
37923
|
-
})
|
|
37994
|
+
searchParams: buildSearchParams$2({ include_assignees })
|
|
37924
37995
|
}).json();
|
|
37925
37996
|
}
|
|
37926
37997
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -37951,7 +38022,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
37951
38022
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
37952
38023
|
}).json();
|
|
37953
38024
|
}
|
|
37954
|
-
async function getTaskWithChildrenClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id,
|
|
38025
|
+
async function getTaskWithChildrenClassic(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) {
|
|
37955
38026
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
37956
38027
|
signal,
|
|
37957
38028
|
searchParams: buildSearchParams$2({
|
|
@@ -37964,12 +38035,17 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37964
38035
|
team_id,
|
|
37965
38036
|
assignee_user_id,
|
|
37966
38037
|
tag_id,
|
|
37967
|
-
include_ghost_assignees,
|
|
37968
38038
|
include_assignees
|
|
37969
38039
|
})
|
|
37970
38040
|
}).json();
|
|
37971
38041
|
}
|
|
37972
|
-
async function
|
|
38042
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38043
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38044
|
+
signal,
|
|
38045
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38046
|
+
}).json();
|
|
38047
|
+
}
|
|
38048
|
+
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) {
|
|
37973
38049
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37974
38050
|
signal,
|
|
37975
38051
|
searchParams: buildSearchParams$2({
|
|
@@ -37982,7 +38058,6 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
37982
38058
|
team_id,
|
|
37983
38059
|
assignee_user_id,
|
|
37984
38060
|
tag_id,
|
|
37985
|
-
include_ghost_assignees,
|
|
37986
38061
|
include_assignees
|
|
37987
38062
|
})
|
|
37988
38063
|
}).json();
|
|
@@ -38106,16 +38181,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38106
38181
|
})
|
|
38107
38182
|
}).json();
|
|
38108
38183
|
}
|
|
38109
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38184
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38110
38185
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38111
38186
|
signal,
|
|
38112
|
-
json: data
|
|
38187
|
+
json: data,
|
|
38188
|
+
searchParams: buildSearchParams$2({
|
|
38189
|
+
from_recurring_task_id,
|
|
38190
|
+
return_occurrence
|
|
38191
|
+
})
|
|
38113
38192
|
}).json();
|
|
38114
38193
|
}
|
|
38115
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38194
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38116
38195
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38117
38196
|
signal,
|
|
38118
|
-
json: data
|
|
38197
|
+
json: data,
|
|
38198
|
+
searchParams: buildSearchParams$2({
|
|
38199
|
+
from_recurring_task_id,
|
|
38200
|
+
return_occurrence
|
|
38201
|
+
})
|
|
38119
38202
|
}).json();
|
|
38120
38203
|
}
|
|
38121
38204
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38166,7 +38249,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38166
38249
|
json: data
|
|
38167
38250
|
}).json();
|
|
38168
38251
|
}
|
|
38169
|
-
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) {
|
|
38252
|
+
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) {
|
|
38170
38253
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38171
38254
|
signal,
|
|
38172
38255
|
searchParams: buildSearchParams$2({
|
|
@@ -38174,6 +38257,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38174
38257
|
date_to,
|
|
38175
38258
|
task_id,
|
|
38176
38259
|
status_id,
|
|
38260
|
+
project_id,
|
|
38177
38261
|
type,
|
|
38178
38262
|
order_by,
|
|
38179
38263
|
archived,
|
|
@@ -38182,6 +38266,12 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38182
38266
|
})
|
|
38183
38267
|
}).json();
|
|
38184
38268
|
}
|
|
38269
|
+
async function syncTimeEntry(httpClient, organization_id, workspace_id, client_uuid, data, signal) {
|
|
38270
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/sync/${client_uuid}`, {
|
|
38271
|
+
signal,
|
|
38272
|
+
json: data
|
|
38273
|
+
}).json();
|
|
38274
|
+
}
|
|
38185
38275
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38186
38276
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38187
38277
|
signal,
|
|
@@ -38191,19 +38281,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38191
38281
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38192
38282
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38193
38283
|
}
|
|
38194
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38284
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38195
38285
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38196
38286
|
signal,
|
|
38197
|
-
json: data
|
|
38287
|
+
json: data,
|
|
38288
|
+
searchParams: buildSearchParams$2({
|
|
38289
|
+
from_recurring_task_id,
|
|
38290
|
+
return_occurrence
|
|
38291
|
+
})
|
|
38198
38292
|
}).json();
|
|
38199
38293
|
}
|
|
38200
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38201
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38294
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38295
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38296
|
+
signal,
|
|
38297
|
+
searchParams: buildSearchParams$2({
|
|
38298
|
+
from_recurring_task_id,
|
|
38299
|
+
return_occurrence
|
|
38300
|
+
})
|
|
38301
|
+
}).json();
|
|
38202
38302
|
}
|
|
38203
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38303
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38204
38304
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38205
38305
|
signal,
|
|
38206
|
-
json: data
|
|
38306
|
+
json: data,
|
|
38307
|
+
searchParams: buildSearchParams$2({
|
|
38308
|
+
from_recurring_task_id,
|
|
38309
|
+
return_occurrence
|
|
38310
|
+
})
|
|
38207
38311
|
}).json();
|
|
38208
38312
|
}
|
|
38209
38313
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42076,12 +42180,31 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42076
42180
|
}
|
|
42077
42181
|
//#endregion
|
|
42078
42182
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42079
|
-
async function
|
|
42183
|
+
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) {
|
|
42184
|
+
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42185
|
+
signal,
|
|
42186
|
+
searchParams: buildSearchParams$2({
|
|
42187
|
+
workspace_id,
|
|
42188
|
+
entity_type,
|
|
42189
|
+
entity_id,
|
|
42190
|
+
project_id,
|
|
42191
|
+
custom_field_id,
|
|
42192
|
+
action,
|
|
42193
|
+
user_id,
|
|
42194
|
+
page_size,
|
|
42195
|
+
page_number,
|
|
42196
|
+
export: export_
|
|
42197
|
+
})
|
|
42198
|
+
}).json();
|
|
42199
|
+
}
|
|
42200
|
+
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) {
|
|
42080
42201
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42081
42202
|
signal,
|
|
42082
42203
|
searchParams: buildSearchParams$2({
|
|
42083
42204
|
entity_type,
|
|
42084
42205
|
entity_id,
|
|
42206
|
+
project_id,
|
|
42207
|
+
custom_field_id,
|
|
42085
42208
|
action,
|
|
42086
42209
|
user_id,
|
|
42087
42210
|
page_size,
|
|
@@ -42234,33 +42357,23 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42234
42357
|
}
|
|
42235
42358
|
//#endregion
|
|
42236
42359
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42237
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42360
|
+
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) {
|
|
42238
42361
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42239
42362
|
signal,
|
|
42240
42363
|
searchParams: buildSearchParams$2({
|
|
42241
|
-
user_id,
|
|
42242
42364
|
start_date,
|
|
42243
42365
|
end_date,
|
|
42244
|
-
|
|
42366
|
+
user_id,
|
|
42367
|
+
team_id,
|
|
42245
42368
|
private: private_,
|
|
42246
42369
|
task_source,
|
|
42247
42370
|
unit,
|
|
42248
|
-
include_drafts
|
|
42371
|
+
include_drafts,
|
|
42372
|
+
include_task_estimates
|
|
42249
42373
|
})
|
|
42250
42374
|
}).json();
|
|
42251
42375
|
}
|
|
42252
42376
|
//#endregion
|
|
42253
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
42254
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
42255
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
42256
|
-
}
|
|
42257
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
42258
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
42259
|
-
signal,
|
|
42260
|
-
json: data
|
|
42261
|
-
}).json();
|
|
42262
|
-
}
|
|
42263
|
-
//#endregion
|
|
42264
42377
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42265
42378
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42266
42379
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42311,6 +42424,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42311
42424
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42312
42425
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42313
42426
|
}
|
|
42427
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42428
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42429
|
+
}
|
|
42430
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42431
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42432
|
+
signal,
|
|
42433
|
+
json: data
|
|
42434
|
+
}).json();
|
|
42435
|
+
}
|
|
42314
42436
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42315
42437
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42316
42438
|
signal,
|
|
@@ -42343,6 +42465,12 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42343
42465
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42344
42466
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42345
42467
|
}
|
|
42468
|
+
async function patchUserCustomFieldValues(httpClient, organization_id, workspace_id, user_id, data, signal) {
|
|
42469
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/users/${user_id}/custom-field-values`, {
|
|
42470
|
+
signal,
|
|
42471
|
+
json: data
|
|
42472
|
+
}).json();
|
|
42473
|
+
}
|
|
42346
42474
|
//#endregion
|
|
42347
42475
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42348
42476
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42568,7 +42696,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42568
42696
|
}
|
|
42569
42697
|
//#endregion
|
|
42570
42698
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42571
|
-
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, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, include_drafts, cf_filter } = {}, signal) {
|
|
42699
|
+
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) {
|
|
42572
42700
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42573
42701
|
signal,
|
|
42574
42702
|
searchParams: buildSearchParams$2({
|
|
@@ -42580,6 +42708,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42580
42708
|
include_group_totals,
|
|
42581
42709
|
include_unassigned,
|
|
42582
42710
|
archived,
|
|
42711
|
+
completed,
|
|
42583
42712
|
private: private_,
|
|
42584
42713
|
name,
|
|
42585
42714
|
client_id,
|
|
@@ -42591,6 +42720,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42591
42720
|
start_date,
|
|
42592
42721
|
end_date,
|
|
42593
42722
|
user_id,
|
|
42723
|
+
only_me,
|
|
42594
42724
|
include_drafts,
|
|
42595
42725
|
cf_filter
|
|
42596
42726
|
})
|
|
@@ -42610,9 +42740,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42610
42740
|
json: data
|
|
42611
42741
|
}).json();
|
|
42612
42742
|
}
|
|
42613
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42614
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42615
|
-
}
|
|
42616
42743
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42617
42744
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42618
42745
|
}
|
|
@@ -42706,10 +42833,14 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42706
42833
|
}
|
|
42707
42834
|
//#endregion
|
|
42708
42835
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42709
|
-
async function
|
|
42836
|
+
async function getForecastAvailability(httpClient, workspace_id, signal) {
|
|
42837
|
+
return await httpClient.get(`reports/workspaces/${workspace_id}/forecast-availability`, { signal }).json();
|
|
42838
|
+
}
|
|
42839
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, xTogglReportExport, signal) {
|
|
42710
42840
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42711
42841
|
signal,
|
|
42712
42842
|
json: data,
|
|
42843
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42713
42844
|
searchParams: buildSearchParams$2({
|
|
42714
42845
|
response_format,
|
|
42715
42846
|
include_dicts
|
|
@@ -42733,12 +42864,36 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42733
42864
|
json: data
|
|
42734
42865
|
}).json();
|
|
42735
42866
|
}
|
|
42736
|
-
async function
|
|
42867
|
+
async function getTimeAccountingReport(httpClient, workspace_id, data, signal) {
|
|
42868
|
+
return await httpClient.post(`reports/workspaces/${workspace_id}/time-accounting`, {
|
|
42869
|
+
signal,
|
|
42870
|
+
json: data
|
|
42871
|
+
}).json();
|
|
42872
|
+
}
|
|
42873
|
+
async function getWorkloadReport(httpClient, workspace_id, data, xTogglReportExport, signal) {
|
|
42737
42874
|
return await httpClient.post(`reports/workspaces/${workspace_id}/workload`, {
|
|
42875
|
+
signal,
|
|
42876
|
+
json: data,
|
|
42877
|
+
headers: { "X-Toggl-Report-Export": xTogglReportExport }
|
|
42878
|
+
}).json();
|
|
42879
|
+
}
|
|
42880
|
+
//#endregion
|
|
42881
|
+
//#region ../focus-queries/dist/reportschedules/requests.ts
|
|
42882
|
+
async function upsertSavedViewSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42883
|
+
return await httpClient.put(`workspaces/${workspace_id}/saved-views/${id}/schedule`, {
|
|
42884
|
+
signal,
|
|
42885
|
+
json: data
|
|
42886
|
+
}).json();
|
|
42887
|
+
}
|
|
42888
|
+
async function upsertSharedReportSchedule(httpClient, workspace_id, id, data, signal) {
|
|
42889
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, {
|
|
42738
42890
|
signal,
|
|
42739
42891
|
json: data
|
|
42740
42892
|
}).json();
|
|
42741
42893
|
}
|
|
42894
|
+
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42895
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42896
|
+
}
|
|
42742
42897
|
//#endregion
|
|
42743
42898
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42744
42899
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42771,7 +42926,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42771
42926
|
}
|
|
42772
42927
|
//#endregion
|
|
42773
42928
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42774
|
-
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 }, signal) {
|
|
42929
|
+
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) {
|
|
42775
42930
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42776
42931
|
signal,
|
|
42777
42932
|
searchParams: buildSearchParams$2({
|
|
@@ -42783,11 +42938,56 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42783
42938
|
task_id,
|
|
42784
42939
|
include_drafts,
|
|
42785
42940
|
exclude_calendar_events,
|
|
42786
|
-
group_by_tags
|
|
42941
|
+
group_by_tags,
|
|
42942
|
+
only_me
|
|
42943
|
+
})
|
|
42944
|
+
}).json();
|
|
42945
|
+
}
|
|
42946
|
+
async function searchMentions(httpClient, organization_id, workspace_id, { keyword, per_group } = {}, signal) {
|
|
42947
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search/mentions`, {
|
|
42948
|
+
signal,
|
|
42949
|
+
searchParams: buildSearchParams$2({
|
|
42950
|
+
keyword,
|
|
42951
|
+
per_group
|
|
42787
42952
|
})
|
|
42788
42953
|
}).json();
|
|
42789
42954
|
}
|
|
42790
42955
|
//#endregion
|
|
42956
|
+
//#region ../focus-queries/dist/sharedreports/requests.ts
|
|
42957
|
+
async function shareSavedView(httpClient, workspace_id, id, data, signal) {
|
|
42958
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
|
|
42959
|
+
signal,
|
|
42960
|
+
json: data
|
|
42961
|
+
}).json();
|
|
42962
|
+
}
|
|
42963
|
+
async function getSavedViewSharedReport(httpClient, workspace_id, id, signal) {
|
|
42964
|
+
return await httpClient.get(`workspaces/${workspace_id}/saved-views/${id}/shared-report`, { signal }).json();
|
|
42965
|
+
}
|
|
42966
|
+
async function shareSavedViewMany(httpClient, workspace_id, id, data, signal) {
|
|
42967
|
+
return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/shares`, {
|
|
42968
|
+
signal,
|
|
42969
|
+
json: data
|
|
42970
|
+
}).json();
|
|
42971
|
+
}
|
|
42972
|
+
async function getSharedReportsSharedByMe(httpClient, workspace_id, signal) {
|
|
42973
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-by-me`, { signal }).json();
|
|
42974
|
+
}
|
|
42975
|
+
async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
42976
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/shared-with-me`, { signal }).json();
|
|
42977
|
+
}
|
|
42978
|
+
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42979
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42980
|
+
}
|
|
42981
|
+
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42982
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42983
|
+
signal,
|
|
42984
|
+
json: data
|
|
42985
|
+
}).json();
|
|
42986
|
+
}
|
|
42987
|
+
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42988
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42989
|
+
}
|
|
42990
|
+
//#endregion
|
|
42791
42991
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42792
42992
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42793
42993
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -42843,9 +43043,90 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42843
43043
|
}
|
|
42844
43044
|
//#endregion
|
|
42845
43045
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42846
|
-
async function
|
|
43046
|
+
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) {
|
|
43047
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
43048
|
+
signal,
|
|
43049
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43050
|
+
searchParams: buildSearchParams$2({
|
|
43051
|
+
project_id,
|
|
43052
|
+
source,
|
|
43053
|
+
priority,
|
|
43054
|
+
status_id,
|
|
43055
|
+
client_id,
|
|
43056
|
+
assignee_user_id,
|
|
43057
|
+
tag_id,
|
|
43058
|
+
team_id,
|
|
43059
|
+
user_tag_id,
|
|
43060
|
+
group_id,
|
|
43061
|
+
creator_id,
|
|
43062
|
+
name,
|
|
43063
|
+
start_date,
|
|
43064
|
+
end_date,
|
|
43065
|
+
start_date_from,
|
|
43066
|
+
start_date_to,
|
|
43067
|
+
end_date_from,
|
|
43068
|
+
end_date_to,
|
|
43069
|
+
private: private_,
|
|
43070
|
+
exclude_empty,
|
|
43071
|
+
include_unassigned,
|
|
43072
|
+
include_unmaterialized,
|
|
43073
|
+
collapse_recurring,
|
|
43074
|
+
include_assignees,
|
|
43075
|
+
min_days,
|
|
43076
|
+
include_drafts,
|
|
43077
|
+
cf_filter,
|
|
43078
|
+
user_cf_filter,
|
|
43079
|
+
recurring_occurrences_after,
|
|
43080
|
+
max_recurring_occurrences_after,
|
|
43081
|
+
recurring_task_read,
|
|
43082
|
+
include_projected_occurrences
|
|
43083
|
+
})
|
|
43084
|
+
}).json();
|
|
43085
|
+
}
|
|
43086
|
+
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) {
|
|
43087
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43088
|
+
signal,
|
|
43089
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43090
|
+
searchParams: buildSearchParams$2({
|
|
43091
|
+
team_id,
|
|
43092
|
+
project_id,
|
|
43093
|
+
source,
|
|
43094
|
+
priority,
|
|
43095
|
+
status_id,
|
|
43096
|
+
client_id,
|
|
43097
|
+
assignee_user_id,
|
|
43098
|
+
tag_id,
|
|
43099
|
+
user_tag_id,
|
|
43100
|
+
group_id,
|
|
43101
|
+
creator_id,
|
|
43102
|
+
name,
|
|
43103
|
+
start_date,
|
|
43104
|
+
end_date,
|
|
43105
|
+
start_date_from,
|
|
43106
|
+
start_date_to,
|
|
43107
|
+
end_date_from,
|
|
43108
|
+
end_date_to,
|
|
43109
|
+
private: private_,
|
|
43110
|
+
exclude_empty,
|
|
43111
|
+
include_unassigned,
|
|
43112
|
+
include_unmaterialized,
|
|
43113
|
+
collapse_recurring,
|
|
43114
|
+
include_assignees,
|
|
43115
|
+
min_days,
|
|
43116
|
+
include_drafts,
|
|
43117
|
+
cf_filter,
|
|
43118
|
+
user_cf_filter,
|
|
43119
|
+
recurring_occurrences_after,
|
|
43120
|
+
max_recurring_occurrences_after,
|
|
43121
|
+
recurring_task_read,
|
|
43122
|
+
include_projected_occurrences
|
|
43123
|
+
})
|
|
43124
|
+
}).json();
|
|
43125
|
+
}
|
|
43126
|
+
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) {
|
|
42847
43127
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42848
43128
|
signal,
|
|
43129
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42849
43130
|
searchParams: buildSearchParams$2({
|
|
42850
43131
|
source,
|
|
42851
43132
|
priority,
|
|
@@ -42867,11 +43148,18 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42867
43148
|
end_date_to,
|
|
42868
43149
|
private: private_,
|
|
42869
43150
|
exclude_empty,
|
|
42870
|
-
|
|
43151
|
+
include_unassigned,
|
|
43152
|
+
include_unmaterialized,
|
|
43153
|
+
collapse_recurring,
|
|
42871
43154
|
include_assignees,
|
|
42872
43155
|
min_days,
|
|
42873
43156
|
include_drafts,
|
|
42874
43157
|
cf_filter,
|
|
43158
|
+
user_cf_filter,
|
|
43159
|
+
recurring_occurrences_after,
|
|
43160
|
+
max_recurring_occurrences_after,
|
|
43161
|
+
recurring_task_read,
|
|
43162
|
+
include_projected_occurrences,
|
|
42875
43163
|
page,
|
|
42876
43164
|
per_page,
|
|
42877
43165
|
order_by
|
|
@@ -42910,17 +43198,18 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
42910
43198
|
}).json();
|
|
42911
43199
|
}
|
|
42912
43200
|
//#endregion
|
|
42913
|
-
//#region ../focus-queries/dist/time-
|
|
42914
|
-
async function
|
|
42915
|
-
return await httpClient.
|
|
42916
|
-
signal,
|
|
42917
|
-
json: data
|
|
42918
|
-
}).json();
|
|
42919
|
-
}
|
|
42920
|
-
async function getTimeLogSuggestionsForMultipleCalendarEventTitles(httpClient, organization_id, workspace_id, data, signal) {
|
|
42921
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions/bulk`, {
|
|
43201
|
+
//#region ../focus-queries/dist/time-entry-groups/requests.ts
|
|
43202
|
+
async function getTimeEntryGroupsUsersClassic(httpClient, organization_id, workspace_id, { start_date, end_date, user_id, page, per_page, order_by }, signal) {
|
|
43203
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/groups/users`, {
|
|
42922
43204
|
signal,
|
|
42923
|
-
|
|
43205
|
+
searchParams: buildSearchParams$2({
|
|
43206
|
+
start_date,
|
|
43207
|
+
end_date,
|
|
43208
|
+
user_id,
|
|
43209
|
+
page,
|
|
43210
|
+
per_page,
|
|
43211
|
+
order_by
|
|
43212
|
+
})
|
|
42924
43213
|
}).json();
|
|
42925
43214
|
}
|
|
42926
43215
|
//#endregion
|
|
@@ -42962,57 +43251,20 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42962
43251
|
json: data
|
|
42963
43252
|
}).json();
|
|
42964
43253
|
}
|
|
42965
|
-
|
|
42966
|
-
|
|
42967
|
-
|
|
42968
|
-
|
|
42969
|
-
ghost_ids,
|
|
42970
|
-
start_date,
|
|
42971
|
-
end_date
|
|
42972
|
-
})
|
|
42973
|
-
}).json();
|
|
42974
|
-
}
|
|
42975
|
-
async function getTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, { from, to }, signal) {
|
|
42976
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43254
|
+
//#endregion
|
|
43255
|
+
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43256
|
+
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
43257
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
42977
43258
|
signal,
|
|
42978
43259
|
searchParams: buildSearchParams$2({
|
|
42979
|
-
|
|
42980
|
-
|
|
43260
|
+
include_discontinued,
|
|
43261
|
+
user_account_id,
|
|
43262
|
+
approver_user_account_id
|
|
42981
43263
|
})
|
|
42982
43264
|
}).json();
|
|
42983
43265
|
}
|
|
42984
|
-
async function
|
|
42985
|
-
return await httpClient.
|
|
42986
|
-
signal,
|
|
42987
|
-
json: data
|
|
42988
|
-
}).json();
|
|
42989
|
-
}
|
|
42990
|
-
async function createTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42991
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42992
|
-
signal,
|
|
42993
|
-
json: data
|
|
42994
|
-
}).json();
|
|
42995
|
-
}
|
|
42996
|
-
async function deleteTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42997
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
42998
|
-
signal,
|
|
42999
|
-
json: data
|
|
43000
|
-
}).json();
|
|
43001
|
-
}
|
|
43002
|
-
//#endregion
|
|
43003
|
-
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43004
|
-
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
43005
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43006
|
-
signal,
|
|
43007
|
-
searchParams: buildSearchParams$2({
|
|
43008
|
-
include_discontinued,
|
|
43009
|
-
user_account_id,
|
|
43010
|
-
approver_user_account_id
|
|
43011
|
-
})
|
|
43012
|
-
}).json();
|
|
43013
|
-
}
|
|
43014
|
-
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
43015
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43266
|
+
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
43267
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43016
43268
|
signal,
|
|
43017
43269
|
json: data
|
|
43018
43270
|
}).json();
|
|
@@ -43143,6 +43395,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43143
43395
|
}
|
|
43144
43396
|
//#endregion
|
|
43145
43397
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43398
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43399
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43400
|
+
}
|
|
43401
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43402
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43403
|
+
}
|
|
43146
43404
|
async function getUserSettings(httpClient, signal) {
|
|
43147
43405
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43148
43406
|
}
|
|
@@ -43191,27 +43449,6 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43191
43449
|
json: data
|
|
43192
43450
|
}).json();
|
|
43193
43451
|
}
|
|
43194
|
-
async function getWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, signal) {
|
|
43195
|
-
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, { signal }).json();
|
|
43196
|
-
}
|
|
43197
|
-
async function updateWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43198
|
-
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43199
|
-
signal,
|
|
43200
|
-
json: data
|
|
43201
|
-
}).json();
|
|
43202
|
-
}
|
|
43203
|
-
async function createWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43204
|
-
return await httpClient.post(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43205
|
-
signal,
|
|
43206
|
-
json: data
|
|
43207
|
-
}).json();
|
|
43208
|
-
}
|
|
43209
|
-
async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
43210
|
-
return await httpClient.delete(`organizations/${organization_id}/${workspace_id}/workinghours/ghosts/${ghost_id}`, {
|
|
43211
|
-
signal,
|
|
43212
|
-
json: data
|
|
43213
|
-
}).json();
|
|
43214
|
-
}
|
|
43215
43452
|
//#endregion
|
|
43216
43453
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43217
43454
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43228,6 +43465,9 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43228
43465
|
json: data
|
|
43229
43466
|
}).json();
|
|
43230
43467
|
}
|
|
43468
|
+
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43469
|
+
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43470
|
+
}
|
|
43231
43471
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43232
43472
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43233
43473
|
}
|
|
@@ -43240,6 +43480,15 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43240
43480
|
json: data
|
|
43241
43481
|
}).json();
|
|
43242
43482
|
}
|
|
43483
|
+
async function getWorkspaceWatermark(httpClient, workspace_id, signal) {
|
|
43484
|
+
return await httpClient.get(`workspaces/${workspace_id}/watermark`, { signal }).json();
|
|
43485
|
+
}
|
|
43486
|
+
async function updateWorkspaceWatermark(httpClient, workspace_id, data, signal) {
|
|
43487
|
+
return await httpClient.patch(`workspaces/${workspace_id}/watermark`, {
|
|
43488
|
+
signal,
|
|
43489
|
+
json: data
|
|
43490
|
+
}).json();
|
|
43491
|
+
}
|
|
43243
43492
|
//#endregion
|
|
43244
43493
|
//#region ../operations/build/index.public.js
|
|
43245
43494
|
function callGeneratedRequest(request, args) {
|
|
@@ -43374,6 +43623,48 @@ const generatedFocusOperations = [
|
|
|
43374
43623
|
void 0
|
|
43375
43624
|
]))
|
|
43376
43625
|
},
|
|
43626
|
+
{
|
|
43627
|
+
id: "focus.audit-log.get-organization",
|
|
43628
|
+
family: "focus",
|
|
43629
|
+
resource: "audit-log",
|
|
43630
|
+
action: "get-organization",
|
|
43631
|
+
title: "Get Organization Audit Log",
|
|
43632
|
+
description: "Get Organization Audit Log.",
|
|
43633
|
+
safety: "read",
|
|
43634
|
+
destructive: false,
|
|
43635
|
+
cli: {
|
|
43636
|
+
group: ["audit-log"],
|
|
43637
|
+
command: "get-organization",
|
|
43638
|
+
interactive: "hidden"
|
|
43639
|
+
},
|
|
43640
|
+
mcp: { entityTool: "audit-log" },
|
|
43641
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43642
|
+
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43643
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43644
|
+
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43645
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43646
|
+
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43647
|
+
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43648
|
+
from: /* @__PURE__ */ string$1(),
|
|
43649
|
+
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43650
|
+
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43651
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43652
|
+
to: /* @__PURE__ */ string$1(),
|
|
43653
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43654
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43655
|
+
}),
|
|
43656
|
+
execute: (input, { client }) => {
|
|
43657
|
+
const data = input;
|
|
43658
|
+
return client.runGeneratedRequest("getOrganizationAuditLog", () => callGeneratedRequest(getOrganizationAuditLog, [
|
|
43659
|
+
client.httpClient,
|
|
43660
|
+
client.organizationId,
|
|
43661
|
+
data.from,
|
|
43662
|
+
data.to,
|
|
43663
|
+
data,
|
|
43664
|
+
void 0
|
|
43665
|
+
]));
|
|
43666
|
+
}
|
|
43667
|
+
},
|
|
43377
43668
|
{
|
|
43378
43669
|
id: "focus.audit-log.list",
|
|
43379
43670
|
family: "focus",
|
|
@@ -43391,6 +43682,7 @@ const generatedFocusOperations = [
|
|
|
43391
43682
|
mcp: { entityTool: "audit-log" },
|
|
43392
43683
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43393
43684
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43685
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43394
43686
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43395
43687
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43396
43688
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43398,6 +43690,7 @@ const generatedFocusOperations = [
|
|
|
43398
43690
|
from: /* @__PURE__ */ string$1(),
|
|
43399
43691
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43400
43692
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43693
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43401
43694
|
to: /* @__PURE__ */ string$1(),
|
|
43402
43695
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43403
43696
|
}),
|
|
@@ -43431,12 +43724,13 @@ const generatedFocusOperations = [
|
|
|
43431
43724
|
mcp: { entityTool: "capacities" },
|
|
43432
43725
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43433
43726
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43434
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
43435
43727
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43436
43728
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43729
|
+
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43437
43730
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43438
43731
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43439
43732
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43733
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43440
43734
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43441
43735
|
user_id: /* @__PURE__ */ number$2()
|
|
43442
43736
|
}),
|
|
@@ -43452,54 +43746,6 @@ const generatedFocusOperations = [
|
|
|
43452
43746
|
]));
|
|
43453
43747
|
}
|
|
43454
43748
|
},
|
|
43455
|
-
{
|
|
43456
|
-
id: "focus.capacities.settings-list",
|
|
43457
|
-
family: "focus",
|
|
43458
|
-
resource: "capacities",
|
|
43459
|
-
action: "settings-list",
|
|
43460
|
-
title: "Settings List Capacities",
|
|
43461
|
-
description: "Settings List Capacities.",
|
|
43462
|
-
safety: "read",
|
|
43463
|
-
destructive: false,
|
|
43464
|
-
cli: {
|
|
43465
|
-
group: ["capacities", "settings"],
|
|
43466
|
-
command: "list",
|
|
43467
|
-
interactive: "hidden"
|
|
43468
|
-
},
|
|
43469
|
-
mcp: { entityTool: "capacities" },
|
|
43470
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
43471
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
43472
|
-
client.httpClient,
|
|
43473
|
-
client.workspaceIdNumber,
|
|
43474
|
-
void 0
|
|
43475
|
-
]))
|
|
43476
|
-
},
|
|
43477
|
-
{
|
|
43478
|
-
id: "focus.capacities.settings-update",
|
|
43479
|
-
family: "focus",
|
|
43480
|
-
resource: "capacities",
|
|
43481
|
-
action: "settings-update",
|
|
43482
|
-
title: "Settings Update Capacities",
|
|
43483
|
-
description: "Settings Update Capacities.",
|
|
43484
|
-
safety: "update",
|
|
43485
|
-
destructive: false,
|
|
43486
|
-
cli: {
|
|
43487
|
-
group: ["capacities", "settings"],
|
|
43488
|
-
command: "update",
|
|
43489
|
-
interactive: "default"
|
|
43490
|
-
},
|
|
43491
|
-
mcp: { entityTool: "capacities" },
|
|
43492
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
43493
|
-
execute: (input, { client }) => {
|
|
43494
|
-
const data = input;
|
|
43495
|
-
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
43496
|
-
client.httpClient,
|
|
43497
|
-
client.workspaceIdNumber,
|
|
43498
|
-
data.payload ?? data.data ?? data,
|
|
43499
|
-
void 0
|
|
43500
|
-
]));
|
|
43501
|
-
}
|
|
43502
|
-
},
|
|
43503
43749
|
{
|
|
43504
43750
|
id: "focus.clients.create",
|
|
43505
43751
|
family: "focus",
|
|
@@ -43694,8 +43940,7 @@ const generatedFocusOperations = [
|
|
|
43694
43940
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43695
43941
|
start_at: apiDateTimeString,
|
|
43696
43942
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43697
|
-
})))
|
|
43698
|
-
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43943
|
+
})))
|
|
43699
43944
|
}) }),
|
|
43700
43945
|
execute: (input, { client }) => {
|
|
43701
43946
|
const data = input;
|
|
@@ -43750,6 +43995,7 @@ const generatedFocusOperations = [
|
|
|
43750
43995
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43751
43996
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43752
43997
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43998
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43753
43999
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43754
44000
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43755
44001
|
}),
|
|
@@ -43782,6 +44028,7 @@ const generatedFocusOperations = [
|
|
|
43782
44028
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43783
44029
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43784
44030
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44031
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43785
44032
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43786
44033
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43787
44034
|
}))),
|
|
@@ -43837,7 +44084,11 @@ const generatedFocusOperations = [
|
|
|
43837
44084
|
},
|
|
43838
44085
|
mcp: { entityTool: "custom-fields" },
|
|
43839
44086
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
43840
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44087
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44088
|
+
"project",
|
|
44089
|
+
"task",
|
|
44090
|
+
"user"
|
|
44091
|
+
]),
|
|
43841
44092
|
field_type: /* @__PURE__ */ picklist$1([
|
|
43842
44093
|
"select",
|
|
43843
44094
|
"multi_select",
|
|
@@ -43920,6 +44171,33 @@ const generatedFocusOperations = [
|
|
|
43920
44171
|
]));
|
|
43921
44172
|
}
|
|
43922
44173
|
},
|
|
44174
|
+
{
|
|
44175
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
44176
|
+
family: "focus",
|
|
44177
|
+
resource: "custom-fields",
|
|
44178
|
+
action: "get-allowed-users",
|
|
44179
|
+
title: "Get Allowed Users Custom Fields",
|
|
44180
|
+
description: "Get Allowed Users Custom Fields.",
|
|
44181
|
+
safety: "read",
|
|
44182
|
+
destructive: false,
|
|
44183
|
+
cli: {
|
|
44184
|
+
group: ["custom-fields"],
|
|
44185
|
+
command: "get-allowed-users",
|
|
44186
|
+
interactive: "available"
|
|
44187
|
+
},
|
|
44188
|
+
mcp: { entityTool: "custom-fields" },
|
|
44189
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44190
|
+
execute: (input, { client }) => {
|
|
44191
|
+
const data = input;
|
|
44192
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44193
|
+
client.httpClient,
|
|
44194
|
+
client.organizationId,
|
|
44195
|
+
client.workspaceIdNumber,
|
|
44196
|
+
data.custom_field_id,
|
|
44197
|
+
void 0
|
|
44198
|
+
]));
|
|
44199
|
+
}
|
|
44200
|
+
},
|
|
43923
44201
|
{
|
|
43924
44202
|
id: "focus.custom-fields.list",
|
|
43925
44203
|
family: "focus",
|
|
@@ -44089,6 +44367,37 @@ const generatedFocusOperations = [
|
|
|
44089
44367
|
]));
|
|
44090
44368
|
}
|
|
44091
44369
|
},
|
|
44370
|
+
{
|
|
44371
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44372
|
+
family: "focus",
|
|
44373
|
+
resource: "custom-fields",
|
|
44374
|
+
action: "replace-custom-field-allowed-users",
|
|
44375
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44376
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44377
|
+
safety: "update",
|
|
44378
|
+
destructive: false,
|
|
44379
|
+
cli: {
|
|
44380
|
+
group: ["custom-fields"],
|
|
44381
|
+
command: "replace-custom-field-allowed-users",
|
|
44382
|
+
interactive: "default"
|
|
44383
|
+
},
|
|
44384
|
+
mcp: { entityTool: "custom-fields" },
|
|
44385
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44386
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44387
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44388
|
+
}),
|
|
44389
|
+
execute: (input, { client }) => {
|
|
44390
|
+
const data = input;
|
|
44391
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44392
|
+
client.httpClient,
|
|
44393
|
+
client.organizationId,
|
|
44394
|
+
client.workspaceIdNumber,
|
|
44395
|
+
data.custom_field_id,
|
|
44396
|
+
data.payload ?? data.data ?? data,
|
|
44397
|
+
void 0
|
|
44398
|
+
]));
|
|
44399
|
+
}
|
|
44400
|
+
},
|
|
44092
44401
|
{
|
|
44093
44402
|
id: "focus.custom-fields.update",
|
|
44094
44403
|
family: "focus",
|
|
@@ -44170,7 +44479,11 @@ const generatedFocusOperations = [
|
|
|
44170
44479
|
},
|
|
44171
44480
|
mcp: { entityTool: "custom-fields" },
|
|
44172
44481
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44173
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44482
|
+
entity_type: /* @__PURE__ */ picklist$1([
|
|
44483
|
+
"project",
|
|
44484
|
+
"task",
|
|
44485
|
+
"user"
|
|
44486
|
+
]),
|
|
44174
44487
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44175
44488
|
}) }),
|
|
44176
44489
|
execute: (input, { client }) => {
|
|
@@ -44184,6 +44497,37 @@ const generatedFocusOperations = [
|
|
|
44184
44497
|
]));
|
|
44185
44498
|
}
|
|
44186
44499
|
},
|
|
44500
|
+
{
|
|
44501
|
+
id: "focus.custom-fields.update-user-custom-field-values",
|
|
44502
|
+
family: "focus",
|
|
44503
|
+
resource: "custom-fields",
|
|
44504
|
+
action: "update-user-custom-field-values",
|
|
44505
|
+
title: "Update User Custom Field Values Custom Fields",
|
|
44506
|
+
description: "Update User Custom Field Values Custom Fields.",
|
|
44507
|
+
safety: "update",
|
|
44508
|
+
destructive: false,
|
|
44509
|
+
cli: {
|
|
44510
|
+
group: ["custom-fields"],
|
|
44511
|
+
command: "update-user-custom-field-values",
|
|
44512
|
+
interactive: "hidden"
|
|
44513
|
+
},
|
|
44514
|
+
mcp: { entityTool: "custom-fields" },
|
|
44515
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44516
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
44517
|
+
user_id: /* @__PURE__ */ number$2()
|
|
44518
|
+
}),
|
|
44519
|
+
execute: (input, { client }) => {
|
|
44520
|
+
const data = input;
|
|
44521
|
+
return client.runGeneratedRequest("patchUserCustomFieldValues", () => callGeneratedRequest(patchUserCustomFieldValues, [
|
|
44522
|
+
client.httpClient,
|
|
44523
|
+
client.organizationId,
|
|
44524
|
+
client.workspaceIdNumber,
|
|
44525
|
+
data.user_id,
|
|
44526
|
+
data.payload ?? data.data ?? data,
|
|
44527
|
+
void 0
|
|
44528
|
+
]));
|
|
44529
|
+
}
|
|
44530
|
+
},
|
|
44187
44531
|
{
|
|
44188
44532
|
id: "focus.goals.create",
|
|
44189
44533
|
family: "focus",
|
|
@@ -44200,13 +44544,7 @@ const generatedFocusOperations = [
|
|
|
44200
44544
|
},
|
|
44201
44545
|
mcp: { entityTool: "goals" },
|
|
44202
44546
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44203
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44204
44547
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44205
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44206
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44207
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44208
|
-
name: /* @__PURE__ */ string$1(),
|
|
44209
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44210
44548
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44211
44549
|
"daily",
|
|
44212
44550
|
"weekly",
|
|
@@ -44214,12 +44552,18 @@ const generatedFocusOperations = [
|
|
|
44214
44552
|
"monthly"
|
|
44215
44553
|
]),
|
|
44216
44554
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44217
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44218
44555
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44219
|
-
|
|
44220
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44556
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44221
44557
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44222
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44558
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44559
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44560
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44561
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44562
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44563
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44564
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44565
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44566
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44223
44567
|
}) }),
|
|
44224
44568
|
execute: (input, { client }) => {
|
|
44225
44569
|
const data = input;
|
|
@@ -44325,13 +44669,6 @@ const generatedFocusOperations = [
|
|
|
44325
44669
|
},
|
|
44326
44670
|
mcp: { entityTool: "goals" },
|
|
44327
44671
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44328
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44329
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44330
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44331
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44332
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44333
|
-
name: /* @__PURE__ */ string$1(),
|
|
44334
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44335
44672
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44336
44673
|
"daily",
|
|
44337
44674
|
"weekly",
|
|
@@ -44339,12 +44676,19 @@ const generatedFocusOperations = [
|
|
|
44339
44676
|
"monthly"
|
|
44340
44677
|
]),
|
|
44341
44678
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44342
|
-
|
|
44343
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44344
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44345
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44679
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44346
44680
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44347
|
-
|
|
44681
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44682
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44683
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44684
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44685
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44686
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44687
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44688
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44689
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44690
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44691
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44348
44692
|
}) }),
|
|
44349
44693
|
execute: (input, { client }) => {
|
|
44350
44694
|
const data = input;
|
|
@@ -44403,10 +44747,22 @@ const generatedFocusOperations = [
|
|
|
44403
44747
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44404
44748
|
payload: /* @__PURE__ */ looseObject({
|
|
44405
44749
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44750
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44406
44751
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44407
44752
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44408
44753
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44409
|
-
|
|
44754
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44755
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44756
|
+
"daily",
|
|
44757
|
+
"weekly",
|
|
44758
|
+
"daily_workdays",
|
|
44759
|
+
"monthly"
|
|
44760
|
+
])),
|
|
44761
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44762
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44763
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44764
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44765
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44410
44766
|
})
|
|
44411
44767
|
}),
|
|
44412
44768
|
execute: (input, { client }) => {
|
|
@@ -45299,9 +45655,17 @@ const generatedFocusOperations = [
|
|
|
45299
45655
|
mcp: { entityTool: "projects" },
|
|
45300
45656
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45301
45657
|
payload: /* @__PURE__ */ looseObject({
|
|
45658
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45659
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45302
45660
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45303
45661
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45304
45662
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45663
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45664
|
+
"expire",
|
|
45665
|
+
"carry_all",
|
|
45666
|
+
"carry_over"
|
|
45667
|
+
])),
|
|
45668
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45305
45669
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45306
45670
|
}),
|
|
45307
45671
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45739,6 +46103,7 @@ const generatedFocusOperations = [
|
|
|
45739
46103
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45740
46104
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45741
46105
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46106
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45742
46107
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45743
46108
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45744
46109
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -45746,6 +46111,7 @@ const generatedFocusOperations = [
|
|
|
45746
46111
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45747
46112
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45748
46113
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46114
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45749
46115
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45750
46116
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45751
46117
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -45845,29 +46211,6 @@ const generatedFocusOperations = [
|
|
|
45845
46211
|
]));
|
|
45846
46212
|
}
|
|
45847
46213
|
},
|
|
45848
|
-
{
|
|
45849
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
45850
|
-
family: "focus",
|
|
45851
|
-
resource: "projects",
|
|
45852
|
-
action: "margin-targets-clear-workspace",
|
|
45853
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
45854
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
45855
|
-
safety: "delete",
|
|
45856
|
-
destructive: true,
|
|
45857
|
-
cli: {
|
|
45858
|
-
group: ["projects", "margin-targets"],
|
|
45859
|
-
command: "clear-workspace",
|
|
45860
|
-
interactive: "default"
|
|
45861
|
-
},
|
|
45862
|
-
mcp: { entityTool: "projects" },
|
|
45863
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45864
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45865
|
-
client.httpClient,
|
|
45866
|
-
client.organizationId,
|
|
45867
|
-
client.workspaceIdNumber,
|
|
45868
|
-
void 0
|
|
45869
|
-
]))
|
|
45870
|
-
},
|
|
45871
46214
|
{
|
|
45872
46215
|
id: "focus.projects.margin-targets-get",
|
|
45873
46216
|
family: "focus",
|
|
@@ -47930,7 +48273,10 @@ const generatedFocusOperations = [
|
|
|
47930
48273
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47931
48274
|
name: /* @__PURE__ */ string$1(),
|
|
47932
48275
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
47933
|
-
}))
|
|
48276
|
+
})),
|
|
48277
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48278
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48279
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
47934
48280
|
}),
|
|
47935
48281
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
47936
48282
|
}),
|
|
@@ -47971,6 +48317,28 @@ const generatedFocusOperations = [
|
|
|
47971
48317
|
]));
|
|
47972
48318
|
}
|
|
47973
48319
|
},
|
|
48320
|
+
{
|
|
48321
|
+
id: "focus.reports.get-forecast-availability",
|
|
48322
|
+
family: "focus",
|
|
48323
|
+
resource: "reports",
|
|
48324
|
+
action: "get-forecast-availability",
|
|
48325
|
+
title: "Get Forecast Availability Reports",
|
|
48326
|
+
description: "Get Forecast Availability Reports.",
|
|
48327
|
+
safety: "read",
|
|
48328
|
+
destructive: false,
|
|
48329
|
+
cli: {
|
|
48330
|
+
group: ["reports"],
|
|
48331
|
+
command: "get-forecast-availability",
|
|
48332
|
+
interactive: "hidden"
|
|
48333
|
+
},
|
|
48334
|
+
mcp: { entityTool: "reports" },
|
|
48335
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48336
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getForecastAvailability", () => callGeneratedRequest(getForecastAvailability, [
|
|
48337
|
+
client.httpClient,
|
|
48338
|
+
client.workspaceIdNumber,
|
|
48339
|
+
void 0
|
|
48340
|
+
]))
|
|
48341
|
+
},
|
|
47974
48342
|
{
|
|
47975
48343
|
id: "focus.reports.get-profitability",
|
|
47976
48344
|
family: "focus",
|
|
@@ -48030,9 +48398,17 @@ const generatedFocusOperations = [
|
|
|
48030
48398
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48031
48399
|
name: /* @__PURE__ */ string$1(),
|
|
48032
48400
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48033
|
-
}))
|
|
48401
|
+
})),
|
|
48402
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48403
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48404
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48034
48405
|
}),
|
|
48035
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48406
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48407
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48408
|
+
"csv",
|
|
48409
|
+
"xlsx",
|
|
48410
|
+
"pdf"
|
|
48411
|
+
]))
|
|
48036
48412
|
}),
|
|
48037
48413
|
execute: (input, { client }) => {
|
|
48038
48414
|
const data = input;
|
|
@@ -48042,22 +48418,23 @@ const generatedFocusOperations = [
|
|
|
48042
48418
|
data.payload ?? data.data ?? data,
|
|
48043
48419
|
data.response_format,
|
|
48044
48420
|
data.include_dicts,
|
|
48421
|
+
data.xTogglReportExport,
|
|
48045
48422
|
void 0
|
|
48046
48423
|
]));
|
|
48047
48424
|
}
|
|
48048
48425
|
},
|
|
48049
48426
|
{
|
|
48050
|
-
id: "focus.reports.get-
|
|
48427
|
+
id: "focus.reports.get-time-accounting",
|
|
48051
48428
|
family: "focus",
|
|
48052
48429
|
resource: "reports",
|
|
48053
|
-
action: "get-
|
|
48054
|
-
title: "Get
|
|
48055
|
-
description: "Get
|
|
48430
|
+
action: "get-time-accounting",
|
|
48431
|
+
title: "Get Time Accounting Reports",
|
|
48432
|
+
description: "Get Time Accounting Reports.",
|
|
48056
48433
|
safety: "update",
|
|
48057
48434
|
destructive: false,
|
|
48058
48435
|
cli: {
|
|
48059
48436
|
group: ["reports"],
|
|
48060
|
-
command: "get-
|
|
48437
|
+
command: "get-time-accounting",
|
|
48061
48438
|
interactive: "hidden"
|
|
48062
48439
|
},
|
|
48063
48440
|
mcp: { entityTool: "reports" },
|
|
@@ -48103,14 +48480,207 @@ const generatedFocusOperations = [
|
|
|
48103
48480
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48104
48481
|
name: /* @__PURE__ */ string$1(),
|
|
48105
48482
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48106
|
-
}))
|
|
48483
|
+
})),
|
|
48484
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48485
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48486
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48107
48487
|
}) }),
|
|
48488
|
+
execute: (input, { client }) => {
|
|
48489
|
+
const data = input;
|
|
48490
|
+
return client.runGeneratedRequest("getTimeAccountingReport", () => callGeneratedRequest(getTimeAccountingReport, [
|
|
48491
|
+
client.httpClient,
|
|
48492
|
+
client.workspaceIdNumber,
|
|
48493
|
+
data.payload ?? data.data ?? data,
|
|
48494
|
+
void 0
|
|
48495
|
+
]));
|
|
48496
|
+
}
|
|
48497
|
+
},
|
|
48498
|
+
{
|
|
48499
|
+
id: "focus.reports.get-workload",
|
|
48500
|
+
family: "focus",
|
|
48501
|
+
resource: "reports",
|
|
48502
|
+
action: "get-workload",
|
|
48503
|
+
title: "Get Workload Reports",
|
|
48504
|
+
description: "Get Workload Reports.",
|
|
48505
|
+
safety: "update",
|
|
48506
|
+
destructive: false,
|
|
48507
|
+
cli: {
|
|
48508
|
+
group: ["reports"],
|
|
48509
|
+
command: "get-workload",
|
|
48510
|
+
interactive: "hidden"
|
|
48511
|
+
},
|
|
48512
|
+
mcp: { entityTool: "reports" },
|
|
48513
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48514
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48515
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48516
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48517
|
+
function: /* @__PURE__ */ string$1(),
|
|
48518
|
+
property: /* @__PURE__ */ string$1()
|
|
48519
|
+
}),
|
|
48520
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48521
|
+
property: /* @__PURE__ */ string$1()
|
|
48522
|
+
})),
|
|
48523
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48524
|
+
function: /* @__PURE__ */ string$1(),
|
|
48525
|
+
property: /* @__PURE__ */ string$1()
|
|
48526
|
+
})),
|
|
48527
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48528
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48529
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48530
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48531
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48532
|
+
property: /* @__PURE__ */ string$1()
|
|
48533
|
+
})),
|
|
48534
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48535
|
+
property: /* @__PURE__ */ string$1(),
|
|
48536
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48537
|
+
})),
|
|
48538
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48539
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48540
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48541
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48542
|
+
property: /* @__PURE__ */ string$1()
|
|
48543
|
+
})),
|
|
48544
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48545
|
+
page: /* @__PURE__ */ number$2(),
|
|
48546
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48547
|
+
}),
|
|
48548
|
+
period: /* @__PURE__ */ looseObject({
|
|
48549
|
+
from: /* @__PURE__ */ string$1(),
|
|
48550
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48551
|
+
to: /* @__PURE__ */ string$1()
|
|
48552
|
+
}),
|
|
48553
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48554
|
+
name: /* @__PURE__ */ string$1(),
|
|
48555
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48556
|
+
})),
|
|
48557
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48558
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48559
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48560
|
+
}),
|
|
48561
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48562
|
+
"csv",
|
|
48563
|
+
"xlsx",
|
|
48564
|
+
"pdf"
|
|
48565
|
+
]))
|
|
48566
|
+
}),
|
|
48108
48567
|
execute: (input, { client }) => {
|
|
48109
48568
|
const data = input;
|
|
48110
48569
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48111
48570
|
client.httpClient,
|
|
48112
48571
|
client.workspaceIdNumber,
|
|
48113
48572
|
data.payload ?? data.data ?? data,
|
|
48573
|
+
data.xTogglReportExport,
|
|
48574
|
+
void 0
|
|
48575
|
+
]));
|
|
48576
|
+
}
|
|
48577
|
+
},
|
|
48578
|
+
{
|
|
48579
|
+
id: "focus.reportschedules.delete-shared-report-schedule",
|
|
48580
|
+
family: "focus",
|
|
48581
|
+
resource: "reportschedules",
|
|
48582
|
+
action: "delete-shared-report-schedule",
|
|
48583
|
+
title: "Delete Shared Report Schedule Reportschedules",
|
|
48584
|
+
description: "Delete Shared Report Schedule Reportschedules.",
|
|
48585
|
+
safety: "delete",
|
|
48586
|
+
destructive: true,
|
|
48587
|
+
cli: {
|
|
48588
|
+
group: ["reportschedules"],
|
|
48589
|
+
command: "delete-shared-report-schedule",
|
|
48590
|
+
interactive: "default"
|
|
48591
|
+
},
|
|
48592
|
+
mcp: { entityTool: "reportschedules" },
|
|
48593
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48594
|
+
execute: (input, { client }) => {
|
|
48595
|
+
const data = input;
|
|
48596
|
+
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
48597
|
+
client.httpClient,
|
|
48598
|
+
client.workspaceIdNumber,
|
|
48599
|
+
data.id,
|
|
48600
|
+
void 0
|
|
48601
|
+
]));
|
|
48602
|
+
}
|
|
48603
|
+
},
|
|
48604
|
+
{
|
|
48605
|
+
id: "focus.reportschedules.upsert-saved-view-schedule",
|
|
48606
|
+
family: "focus",
|
|
48607
|
+
resource: "reportschedules",
|
|
48608
|
+
action: "upsert-saved-view-schedule",
|
|
48609
|
+
title: "Upsert Saved View Schedule Reportschedules",
|
|
48610
|
+
description: "Upsert Saved View Schedule Reportschedules.",
|
|
48611
|
+
safety: "update",
|
|
48612
|
+
destructive: false,
|
|
48613
|
+
cli: {
|
|
48614
|
+
group: ["reportschedules"],
|
|
48615
|
+
command: "upsert-saved-view-schedule",
|
|
48616
|
+
interactive: "hidden"
|
|
48617
|
+
},
|
|
48618
|
+
mcp: { entityTool: "reportschedules" },
|
|
48619
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48620
|
+
id: /* @__PURE__ */ number$2(),
|
|
48621
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48622
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48623
|
+
"daily",
|
|
48624
|
+
"weekly",
|
|
48625
|
+
"monthly"
|
|
48626
|
+
]),
|
|
48627
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48628
|
+
time: /* @__PURE__ */ string$1(),
|
|
48629
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48630
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48631
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48632
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48633
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48634
|
+
})
|
|
48635
|
+
}),
|
|
48636
|
+
execute: (input, { client }) => {
|
|
48637
|
+
const data = input;
|
|
48638
|
+
return client.runGeneratedRequest("upsertSavedViewSchedule", () => callGeneratedRequest(upsertSavedViewSchedule, [
|
|
48639
|
+
client.httpClient,
|
|
48640
|
+
client.workspaceIdNumber,
|
|
48641
|
+
data.id,
|
|
48642
|
+
data.payload ?? data.data ?? data,
|
|
48643
|
+
void 0
|
|
48644
|
+
]));
|
|
48645
|
+
}
|
|
48646
|
+
},
|
|
48647
|
+
{
|
|
48648
|
+
id: "focus.reportschedules.upsert-shared-report-schedule",
|
|
48649
|
+
family: "focus",
|
|
48650
|
+
resource: "reportschedules",
|
|
48651
|
+
action: "upsert-shared-report-schedule",
|
|
48652
|
+
title: "Upsert Shared Report Schedule Reportschedules",
|
|
48653
|
+
description: "Upsert Shared Report Schedule Reportschedules.",
|
|
48654
|
+
safety: "update",
|
|
48655
|
+
destructive: false,
|
|
48656
|
+
cli: {
|
|
48657
|
+
group: ["reportschedules"],
|
|
48658
|
+
command: "upsert-shared-report-schedule",
|
|
48659
|
+
interactive: "default"
|
|
48660
|
+
},
|
|
48661
|
+
mcp: { entityTool: "reportschedules" },
|
|
48662
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48663
|
+
id: /* @__PURE__ */ number$2(),
|
|
48664
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48665
|
+
cadence: /* @__PURE__ */ picklist$1([
|
|
48666
|
+
"daily",
|
|
48667
|
+
"weekly",
|
|
48668
|
+
"monthly"
|
|
48669
|
+
]),
|
|
48670
|
+
time: /* @__PURE__ */ string$1(),
|
|
48671
|
+
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48672
|
+
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48673
|
+
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48674
|
+
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
48675
|
+
})
|
|
48676
|
+
}),
|
|
48677
|
+
execute: (input, { client }) => {
|
|
48678
|
+
const data = input;
|
|
48679
|
+
return client.runGeneratedRequest("upsertSharedReportSchedule", () => callGeneratedRequest(upsertSharedReportSchedule, [
|
|
48680
|
+
client.httpClient,
|
|
48681
|
+
client.workspaceIdNumber,
|
|
48682
|
+
data.id,
|
|
48683
|
+
data.payload ?? data.data ?? data,
|
|
48114
48684
|
void 0
|
|
48115
48685
|
]));
|
|
48116
48686
|
}
|
|
@@ -48148,7 +48718,9 @@ const generatedFocusOperations = [
|
|
|
48148
48718
|
"reports.detailed",
|
|
48149
48719
|
"reports.utilization",
|
|
48150
48720
|
"reports.workload",
|
|
48151
|
-
"reports.profitability"
|
|
48721
|
+
"reports.profitability",
|
|
48722
|
+
"reports.time-off",
|
|
48723
|
+
"reports.time-accounting"
|
|
48152
48724
|
]),
|
|
48153
48725
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48154
48726
|
}) }),
|
|
@@ -48271,6 +48843,36 @@ const generatedFocusOperations = [
|
|
|
48271
48843
|
]));
|
|
48272
48844
|
}
|
|
48273
48845
|
},
|
|
48846
|
+
{
|
|
48847
|
+
id: "focus.search.mentions",
|
|
48848
|
+
family: "focus",
|
|
48849
|
+
resource: "search",
|
|
48850
|
+
action: "mentions",
|
|
48851
|
+
title: "Mentions Search",
|
|
48852
|
+
description: "Mentions Search.",
|
|
48853
|
+
safety: "read",
|
|
48854
|
+
destructive: false,
|
|
48855
|
+
cli: {
|
|
48856
|
+
group: ["search"],
|
|
48857
|
+
command: "mentions",
|
|
48858
|
+
interactive: "hidden"
|
|
48859
|
+
},
|
|
48860
|
+
mcp: { entityTool: "search" },
|
|
48861
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48862
|
+
keyword: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48863
|
+
per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48864
|
+
}),
|
|
48865
|
+
execute: (input, { client }) => {
|
|
48866
|
+
const data = input;
|
|
48867
|
+
return client.runGeneratedRequest("searchMentions", () => callGeneratedRequest(searchMentions, [
|
|
48868
|
+
client.httpClient,
|
|
48869
|
+
client.organizationId,
|
|
48870
|
+
client.workspaceIdNumber,
|
|
48871
|
+
data,
|
|
48872
|
+
void 0
|
|
48873
|
+
]));
|
|
48874
|
+
}
|
|
48875
|
+
},
|
|
48274
48876
|
{
|
|
48275
48877
|
id: "focus.search.search",
|
|
48276
48878
|
family: "focus",
|
|
@@ -48298,6 +48900,240 @@ const generatedFocusOperations = [
|
|
|
48298
48900
|
]));
|
|
48299
48901
|
}
|
|
48300
48902
|
},
|
|
48903
|
+
{
|
|
48904
|
+
id: "focus.sharedreports.add-shared-report-grants",
|
|
48905
|
+
family: "focus",
|
|
48906
|
+
resource: "sharedreports",
|
|
48907
|
+
action: "add-shared-report-grants",
|
|
48908
|
+
title: "Add Shared Report Grants Sharedreports",
|
|
48909
|
+
description: "Add Shared Report Grants Sharedreports.",
|
|
48910
|
+
safety: "update",
|
|
48911
|
+
destructive: false,
|
|
48912
|
+
cli: {
|
|
48913
|
+
group: ["sharedreports"],
|
|
48914
|
+
command: "add-shared-report-grants",
|
|
48915
|
+
interactive: "default"
|
|
48916
|
+
},
|
|
48917
|
+
mcp: { entityTool: "sharedreports" },
|
|
48918
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48919
|
+
id: /* @__PURE__ */ number$2(),
|
|
48920
|
+
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48921
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48922
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48923
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48924
|
+
})) })
|
|
48925
|
+
}),
|
|
48926
|
+
execute: (input, { client }) => {
|
|
48927
|
+
const data = input;
|
|
48928
|
+
return client.runGeneratedRequest("addSharedReportGrants", () => callGeneratedRequest(addSharedReportGrants, [
|
|
48929
|
+
client.httpClient,
|
|
48930
|
+
client.workspaceIdNumber,
|
|
48931
|
+
data.id,
|
|
48932
|
+
data.payload ?? data.data ?? data,
|
|
48933
|
+
void 0
|
|
48934
|
+
]));
|
|
48935
|
+
}
|
|
48936
|
+
},
|
|
48937
|
+
{
|
|
48938
|
+
id: "focus.sharedreports.get-saved-view-shared-report",
|
|
48939
|
+
family: "focus",
|
|
48940
|
+
resource: "sharedreports",
|
|
48941
|
+
action: "get-saved-view-shared-report",
|
|
48942
|
+
title: "Get Saved View Shared Report Sharedreports",
|
|
48943
|
+
description: "Get Saved View Shared Report Sharedreports.",
|
|
48944
|
+
safety: "read",
|
|
48945
|
+
destructive: false,
|
|
48946
|
+
cli: {
|
|
48947
|
+
group: ["sharedreports"],
|
|
48948
|
+
command: "get-saved-view-shared-report",
|
|
48949
|
+
interactive: "available"
|
|
48950
|
+
},
|
|
48951
|
+
mcp: { entityTool: "sharedreports" },
|
|
48952
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48953
|
+
execute: (input, { client }) => {
|
|
48954
|
+
const data = input;
|
|
48955
|
+
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
48956
|
+
client.httpClient,
|
|
48957
|
+
client.workspaceIdNumber,
|
|
48958
|
+
data.id,
|
|
48959
|
+
void 0
|
|
48960
|
+
]));
|
|
48961
|
+
}
|
|
48962
|
+
},
|
|
48963
|
+
{
|
|
48964
|
+
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48965
|
+
family: "focus",
|
|
48966
|
+
resource: "sharedreports",
|
|
48967
|
+
action: "get-shared-report-for-viewer",
|
|
48968
|
+
title: "Get Shared Report For Viewer Sharedreports",
|
|
48969
|
+
description: "Get Shared Report For Viewer Sharedreports.",
|
|
48970
|
+
safety: "read",
|
|
48971
|
+
destructive: false,
|
|
48972
|
+
cli: {
|
|
48973
|
+
group: ["sharedreports"],
|
|
48974
|
+
command: "get-shared-report-for-viewer",
|
|
48975
|
+
interactive: "available"
|
|
48976
|
+
},
|
|
48977
|
+
mcp: { entityTool: "sharedreports" },
|
|
48978
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48979
|
+
execute: (input, { client }) => {
|
|
48980
|
+
const data = input;
|
|
48981
|
+
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
48982
|
+
client.httpClient,
|
|
48983
|
+
client.workspaceIdNumber,
|
|
48984
|
+
data.id,
|
|
48985
|
+
void 0
|
|
48986
|
+
]));
|
|
48987
|
+
}
|
|
48988
|
+
},
|
|
48989
|
+
{
|
|
48990
|
+
id: "focus.sharedreports.get-shared-reports-shared-by-me",
|
|
48991
|
+
family: "focus",
|
|
48992
|
+
resource: "sharedreports",
|
|
48993
|
+
action: "get-shared-reports-shared-by-me",
|
|
48994
|
+
title: "Get Shared Reports Shared By Me Sharedreports",
|
|
48995
|
+
description: "Get Shared Reports Shared By Me Sharedreports.",
|
|
48996
|
+
safety: "read",
|
|
48997
|
+
destructive: false,
|
|
48998
|
+
cli: {
|
|
48999
|
+
group: ["sharedreports"],
|
|
49000
|
+
command: "get-shared-reports-shared-by-me",
|
|
49001
|
+
interactive: "hidden"
|
|
49002
|
+
},
|
|
49003
|
+
mcp: { entityTool: "sharedreports" },
|
|
49004
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
49005
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedByMe", () => callGeneratedRequest(getSharedReportsSharedByMe, [
|
|
49006
|
+
client.httpClient,
|
|
49007
|
+
client.workspaceIdNumber,
|
|
49008
|
+
void 0
|
|
49009
|
+
]))
|
|
49010
|
+
},
|
|
49011
|
+
{
|
|
49012
|
+
id: "focus.sharedreports.get-shared-reports-shared-with-me",
|
|
49013
|
+
family: "focus",
|
|
49014
|
+
resource: "sharedreports",
|
|
49015
|
+
action: "get-shared-reports-shared-with-me",
|
|
49016
|
+
title: "Get Shared Reports Shared With Me Sharedreports",
|
|
49017
|
+
description: "Get Shared Reports Shared With Me Sharedreports.",
|
|
49018
|
+
safety: "read",
|
|
49019
|
+
destructive: false,
|
|
49020
|
+
cli: {
|
|
49021
|
+
group: ["sharedreports"],
|
|
49022
|
+
command: "get-shared-reports-shared-with-me",
|
|
49023
|
+
interactive: "hidden"
|
|
49024
|
+
},
|
|
49025
|
+
mcp: { entityTool: "sharedreports" },
|
|
49026
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
49027
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSharedReportsSharedWithMe", () => callGeneratedRequest(getSharedReportsSharedWithMe, [
|
|
49028
|
+
client.httpClient,
|
|
49029
|
+
client.workspaceIdNumber,
|
|
49030
|
+
void 0
|
|
49031
|
+
]))
|
|
49032
|
+
},
|
|
49033
|
+
{
|
|
49034
|
+
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49035
|
+
family: "focus",
|
|
49036
|
+
resource: "sharedreports",
|
|
49037
|
+
action: "revoke-shared-report-grant",
|
|
49038
|
+
title: "Revoke Shared Report Grant Sharedreports",
|
|
49039
|
+
description: "Revoke Shared Report Grant Sharedreports.",
|
|
49040
|
+
safety: "delete",
|
|
49041
|
+
destructive: true,
|
|
49042
|
+
cli: {
|
|
49043
|
+
group: ["sharedreports"],
|
|
49044
|
+
command: "revoke-shared-report-grant",
|
|
49045
|
+
interactive: "default"
|
|
49046
|
+
},
|
|
49047
|
+
mcp: { entityTool: "sharedreports" },
|
|
49048
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49049
|
+
grant_id: /* @__PURE__ */ number$2(),
|
|
49050
|
+
id: /* @__PURE__ */ number$2()
|
|
49051
|
+
}),
|
|
49052
|
+
execute: (input, { client }) => {
|
|
49053
|
+
const data = input;
|
|
49054
|
+
return client.runGeneratedRequest("revokeSharedReportGrant", () => callGeneratedRequest(revokeSharedReportGrant, [
|
|
49055
|
+
client.httpClient,
|
|
49056
|
+
client.workspaceIdNumber,
|
|
49057
|
+
data.id,
|
|
49058
|
+
data.grant_id,
|
|
49059
|
+
void 0
|
|
49060
|
+
]));
|
|
49061
|
+
}
|
|
49062
|
+
},
|
|
49063
|
+
{
|
|
49064
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49065
|
+
family: "focus",
|
|
49066
|
+
resource: "sharedreports",
|
|
49067
|
+
action: "share-saved-view",
|
|
49068
|
+
title: "Share Saved View Sharedreports",
|
|
49069
|
+
description: "Share Saved View Sharedreports.",
|
|
49070
|
+
safety: "update",
|
|
49071
|
+
destructive: false,
|
|
49072
|
+
cli: {
|
|
49073
|
+
group: ["sharedreports"],
|
|
49074
|
+
command: "share-saved-view",
|
|
49075
|
+
interactive: "hidden"
|
|
49076
|
+
},
|
|
49077
|
+
mcp: { entityTool: "sharedreports" },
|
|
49078
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49079
|
+
id: /* @__PURE__ */ number$2(),
|
|
49080
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49081
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49082
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49083
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49084
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49085
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49086
|
+
})
|
|
49087
|
+
}),
|
|
49088
|
+
execute: (input, { client }) => {
|
|
49089
|
+
const data = input;
|
|
49090
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49091
|
+
client.httpClient,
|
|
49092
|
+
client.workspaceIdNumber,
|
|
49093
|
+
data.id,
|
|
49094
|
+
data.payload ?? data.data ?? data,
|
|
49095
|
+
void 0
|
|
49096
|
+
]));
|
|
49097
|
+
}
|
|
49098
|
+
},
|
|
49099
|
+
{
|
|
49100
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49101
|
+
family: "focus",
|
|
49102
|
+
resource: "sharedreports",
|
|
49103
|
+
action: "share-saved-view-many",
|
|
49104
|
+
title: "Share Saved View Many Sharedreports",
|
|
49105
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49106
|
+
safety: "update",
|
|
49107
|
+
destructive: false,
|
|
49108
|
+
cli: {
|
|
49109
|
+
group: ["sharedreports"],
|
|
49110
|
+
command: "share-saved-view-many",
|
|
49111
|
+
interactive: "hidden"
|
|
49112
|
+
},
|
|
49113
|
+
mcp: { entityTool: "sharedreports" },
|
|
49114
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49115
|
+
id: /* @__PURE__ */ number$2(),
|
|
49116
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49117
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49118
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49119
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49120
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49121
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49122
|
+
})),
|
|
49123
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49124
|
+
})
|
|
49125
|
+
}),
|
|
49126
|
+
execute: (input, { client }) => {
|
|
49127
|
+
const data = input;
|
|
49128
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49129
|
+
client.httpClient,
|
|
49130
|
+
client.workspaceIdNumber,
|
|
49131
|
+
data.id,
|
|
49132
|
+
data.payload ?? data.data ?? data,
|
|
49133
|
+
void 0
|
|
49134
|
+
]));
|
|
49135
|
+
}
|
|
49136
|
+
},
|
|
48301
49137
|
{
|
|
48302
49138
|
id: "focus.statuses.create-status",
|
|
48303
49139
|
family: "focus",
|
|
@@ -48506,70 +49342,229 @@ const generatedFocusOperations = [
|
|
|
48506
49342
|
]))
|
|
48507
49343
|
},
|
|
48508
49344
|
{
|
|
48509
|
-
id: "focus.subscriptions.get-features-upsell",
|
|
49345
|
+
id: "focus.subscriptions.get-features-upsell",
|
|
49346
|
+
family: "focus",
|
|
49347
|
+
resource: "subscriptions",
|
|
49348
|
+
action: "get-features-upsell",
|
|
49349
|
+
title: "Get Features Upsell Subscriptions",
|
|
49350
|
+
description: "Get Features Upsell Subscriptions.",
|
|
49351
|
+
safety: "read",
|
|
49352
|
+
destructive: false,
|
|
49353
|
+
cli: {
|
|
49354
|
+
group: ["subscriptions"],
|
|
49355
|
+
command: "get-features-upsell",
|
|
49356
|
+
interactive: "hidden"
|
|
49357
|
+
},
|
|
49358
|
+
mcp: { entityTool: "subscriptions" },
|
|
49359
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
49360
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
|
|
49361
|
+
client.httpClient,
|
|
49362
|
+
client.organizationId,
|
|
49363
|
+
void 0
|
|
49364
|
+
]))
|
|
49365
|
+
},
|
|
49366
|
+
{
|
|
49367
|
+
id: "focus.subscriptions.get-plans",
|
|
49368
|
+
family: "focus",
|
|
49369
|
+
resource: "subscriptions",
|
|
49370
|
+
action: "get-plans",
|
|
49371
|
+
title: "Get Plans Subscriptions",
|
|
49372
|
+
description: "Get Plans Subscriptions.",
|
|
49373
|
+
safety: "read",
|
|
49374
|
+
destructive: false,
|
|
49375
|
+
cli: {
|
|
49376
|
+
group: ["subscriptions"],
|
|
49377
|
+
command: "get-plans",
|
|
49378
|
+
interactive: "hidden"
|
|
49379
|
+
},
|
|
49380
|
+
mcp: { entityTool: "subscriptions" },
|
|
49381
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
49382
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
49383
|
+
client.httpClient,
|
|
49384
|
+
client.organizationId,
|
|
49385
|
+
void 0
|
|
49386
|
+
]))
|
|
49387
|
+
},
|
|
49388
|
+
{
|
|
49389
|
+
id: "focus.subscriptions.upsert-forced-trial",
|
|
49390
|
+
family: "focus",
|
|
49391
|
+
resource: "subscriptions",
|
|
49392
|
+
action: "upsert-forced-trial",
|
|
49393
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
49394
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
49395
|
+
safety: "update",
|
|
49396
|
+
destructive: false,
|
|
49397
|
+
cli: {
|
|
49398
|
+
group: ["subscriptions"],
|
|
49399
|
+
command: "upsert-forced-trial",
|
|
49400
|
+
interactive: "default"
|
|
49401
|
+
},
|
|
49402
|
+
mcp: { entityTool: "subscriptions" },
|
|
49403
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49404
|
+
execute: (input, { client }) => {
|
|
49405
|
+
const data = input;
|
|
49406
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49407
|
+
client.httpClient,
|
|
49408
|
+
client.organizationId,
|
|
49409
|
+
client.workspaceIdNumber,
|
|
49410
|
+
data.payload ?? data.data ?? data,
|
|
49411
|
+
void 0
|
|
49412
|
+
]));
|
|
49413
|
+
}
|
|
49414
|
+
},
|
|
49415
|
+
{
|
|
49416
|
+
id: "focus.tags.archive",
|
|
49417
|
+
family: "focus",
|
|
49418
|
+
resource: "tags",
|
|
49419
|
+
action: "archive",
|
|
49420
|
+
title: "Archive Tags",
|
|
49421
|
+
description: "Archive Tags.",
|
|
49422
|
+
safety: "update",
|
|
49423
|
+
destructive: false,
|
|
49424
|
+
cli: {
|
|
49425
|
+
group: ["tags"],
|
|
49426
|
+
command: "archive",
|
|
49427
|
+
interactive: "default"
|
|
49428
|
+
},
|
|
49429
|
+
mcp: { entityTool: "tags" },
|
|
49430
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49431
|
+
execute: (input, { client }) => {
|
|
49432
|
+
const data = input;
|
|
49433
|
+
return client.runGeneratedRequest("archiveTag", () => callGeneratedRequest(archiveTag, [
|
|
49434
|
+
client.httpClient,
|
|
49435
|
+
client.workspaceIdNumber,
|
|
49436
|
+
data.tag_id,
|
|
49437
|
+
void 0
|
|
49438
|
+
]));
|
|
49439
|
+
}
|
|
49440
|
+
},
|
|
49441
|
+
{
|
|
49442
|
+
id: "focus.tags.bulk-archive",
|
|
49443
|
+
family: "focus",
|
|
49444
|
+
resource: "tags",
|
|
49445
|
+
action: "bulk-archive",
|
|
49446
|
+
title: "Bulk Archive Tags",
|
|
49447
|
+
description: "Bulk Archive Tags.",
|
|
49448
|
+
safety: "update",
|
|
49449
|
+
destructive: false,
|
|
49450
|
+
cli: {
|
|
49451
|
+
group: ["tags", "bulk"],
|
|
49452
|
+
command: "archive",
|
|
49453
|
+
interactive: "default"
|
|
49454
|
+
},
|
|
49455
|
+
mcp: { entityTool: "tags" },
|
|
49456
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49457
|
+
execute: (input, { client }) => {
|
|
49458
|
+
const data = input;
|
|
49459
|
+
return client.runGeneratedRequest("bulkArchiveTags", () => callGeneratedRequest(bulkArchiveTags, [
|
|
49460
|
+
client.httpClient,
|
|
49461
|
+
client.workspaceIdNumber,
|
|
49462
|
+
data.payload ?? data.data ?? data,
|
|
49463
|
+
void 0
|
|
49464
|
+
]));
|
|
49465
|
+
}
|
|
49466
|
+
},
|
|
49467
|
+
{
|
|
49468
|
+
id: "focus.tags.bulk-create",
|
|
49469
|
+
family: "focus",
|
|
49470
|
+
resource: "tags",
|
|
49471
|
+
action: "bulk-create",
|
|
49472
|
+
title: "Bulk Create Tags",
|
|
49473
|
+
description: "Bulk Create Tags.",
|
|
49474
|
+
safety: "create",
|
|
49475
|
+
destructive: false,
|
|
49476
|
+
cli: {
|
|
49477
|
+
group: ["tags", "bulk"],
|
|
49478
|
+
command: "create",
|
|
49479
|
+
interactive: "default"
|
|
49480
|
+
},
|
|
49481
|
+
mcp: { entityTool: "tags" },
|
|
49482
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tags: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49483
|
+
color: /* @__PURE__ */ string$1(),
|
|
49484
|
+
name: /* @__PURE__ */ string$1()
|
|
49485
|
+
})) }) }),
|
|
49486
|
+
execute: (input, { client }) => {
|
|
49487
|
+
const data = input;
|
|
49488
|
+
return client.runGeneratedRequest("bulkCreateTags", () => callGeneratedRequest(bulkCreateTags, [
|
|
49489
|
+
client.httpClient,
|
|
49490
|
+
client.workspaceIdNumber,
|
|
49491
|
+
data.payload ?? data.data ?? data,
|
|
49492
|
+
void 0
|
|
49493
|
+
]));
|
|
49494
|
+
}
|
|
49495
|
+
},
|
|
49496
|
+
{
|
|
49497
|
+
id: "focus.tags.bulk-delete",
|
|
48510
49498
|
family: "focus",
|
|
48511
|
-
resource: "
|
|
48512
|
-
action: "
|
|
48513
|
-
title: "
|
|
48514
|
-
description: "
|
|
48515
|
-
safety: "
|
|
48516
|
-
destructive:
|
|
49499
|
+
resource: "tags",
|
|
49500
|
+
action: "bulk-delete",
|
|
49501
|
+
title: "Bulk Delete Tags",
|
|
49502
|
+
description: "Bulk Delete Tags.",
|
|
49503
|
+
safety: "delete",
|
|
49504
|
+
destructive: true,
|
|
48517
49505
|
cli: {
|
|
48518
|
-
group: ["
|
|
48519
|
-
command: "
|
|
48520
|
-
interactive: "
|
|
49506
|
+
group: ["tags", "bulk"],
|
|
49507
|
+
command: "delete",
|
|
49508
|
+
interactive: "default"
|
|
48521
49509
|
},
|
|
48522
|
-
mcp: { entityTool: "
|
|
48523
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48524
|
-
execute: (
|
|
48525
|
-
|
|
48526
|
-
client.
|
|
48527
|
-
|
|
48528
|
-
|
|
49510
|
+
mcp: { entityTool: "tags" },
|
|
49511
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49512
|
+
execute: (input, { client }) => {
|
|
49513
|
+
const data = input;
|
|
49514
|
+
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
49515
|
+
client.httpClient,
|
|
49516
|
+
client.workspaceIdNumber,
|
|
49517
|
+
data.ids,
|
|
49518
|
+
void 0
|
|
49519
|
+
]));
|
|
49520
|
+
}
|
|
48529
49521
|
},
|
|
48530
49522
|
{
|
|
48531
|
-
id: "focus.
|
|
49523
|
+
id: "focus.tags.bulk-restore",
|
|
48532
49524
|
family: "focus",
|
|
48533
|
-
resource: "
|
|
48534
|
-
action: "
|
|
48535
|
-
title: "
|
|
48536
|
-
description: "
|
|
48537
|
-
safety: "
|
|
49525
|
+
resource: "tags",
|
|
49526
|
+
action: "bulk-restore",
|
|
49527
|
+
title: "Bulk Restore Tags",
|
|
49528
|
+
description: "Bulk Restore Tags.",
|
|
49529
|
+
safety: "update",
|
|
48538
49530
|
destructive: false,
|
|
48539
49531
|
cli: {
|
|
48540
|
-
group: ["
|
|
48541
|
-
command: "
|
|
48542
|
-
interactive: "
|
|
49532
|
+
group: ["tags", "bulk"],
|
|
49533
|
+
command: "restore",
|
|
49534
|
+
interactive: "default"
|
|
48543
49535
|
},
|
|
48544
|
-
mcp: { entityTool: "
|
|
48545
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48546
|
-
execute: (
|
|
48547
|
-
|
|
48548
|
-
client.
|
|
48549
|
-
|
|
48550
|
-
|
|
49536
|
+
mcp: { entityTool: "tags" },
|
|
49537
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
49538
|
+
execute: (input, { client }) => {
|
|
49539
|
+
const data = input;
|
|
49540
|
+
return client.runGeneratedRequest("bulkRestoreTags", () => callGeneratedRequest(bulkRestoreTags, [
|
|
49541
|
+
client.httpClient,
|
|
49542
|
+
client.workspaceIdNumber,
|
|
49543
|
+
data.payload ?? data.data ?? data,
|
|
49544
|
+
void 0
|
|
49545
|
+
]));
|
|
49546
|
+
}
|
|
48551
49547
|
},
|
|
48552
49548
|
{
|
|
48553
|
-
id: "focus.
|
|
49549
|
+
id: "focus.tags.bulk-unarchive",
|
|
48554
49550
|
family: "focus",
|
|
48555
|
-
resource: "
|
|
48556
|
-
action: "
|
|
48557
|
-
title: "
|
|
48558
|
-
description: "
|
|
49551
|
+
resource: "tags",
|
|
49552
|
+
action: "bulk-unarchive",
|
|
49553
|
+
title: "Bulk Unarchive Tags",
|
|
49554
|
+
description: "Bulk Unarchive Tags.",
|
|
48559
49555
|
safety: "update",
|
|
48560
49556
|
destructive: false,
|
|
48561
49557
|
cli: {
|
|
48562
|
-
group: ["
|
|
48563
|
-
command: "
|
|
49558
|
+
group: ["tags", "bulk"],
|
|
49559
|
+
command: "unarchive",
|
|
48564
49560
|
interactive: "default"
|
|
48565
49561
|
},
|
|
48566
|
-
mcp: { entityTool: "
|
|
48567
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49562
|
+
mcp: { entityTool: "tags" },
|
|
49563
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
48568
49564
|
execute: (input, { client }) => {
|
|
48569
49565
|
const data = input;
|
|
48570
|
-
return client.runGeneratedRequest("
|
|
49566
|
+
return client.runGeneratedRequest("bulkUnarchiveTags", () => callGeneratedRequest(bulkUnarchiveTags, [
|
|
48571
49567
|
client.httpClient,
|
|
48572
|
-
client.organizationId,
|
|
48573
49568
|
client.workspaceIdNumber,
|
|
48574
49569
|
data.payload ?? data.data ?? data,
|
|
48575
49570
|
void 0
|
|
@@ -48660,6 +49655,35 @@ const generatedFocusOperations = [
|
|
|
48660
49655
|
return client.listTags(data);
|
|
48661
49656
|
}
|
|
48662
49657
|
},
|
|
49658
|
+
{
|
|
49659
|
+
id: "focus.tags.merge",
|
|
49660
|
+
family: "focus",
|
|
49661
|
+
resource: "tags",
|
|
49662
|
+
action: "merge",
|
|
49663
|
+
title: "Merge Tags",
|
|
49664
|
+
description: "Merge Tags.",
|
|
49665
|
+
safety: "update",
|
|
49666
|
+
destructive: false,
|
|
49667
|
+
cli: {
|
|
49668
|
+
group: ["tags"],
|
|
49669
|
+
command: "merge",
|
|
49670
|
+
interactive: "default"
|
|
49671
|
+
},
|
|
49672
|
+
mcp: { entityTool: "tags" },
|
|
49673
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49674
|
+
source_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
49675
|
+
target_id: /* @__PURE__ */ number$2()
|
|
49676
|
+
}) }),
|
|
49677
|
+
execute: (input, { client }) => {
|
|
49678
|
+
const data = input;
|
|
49679
|
+
return client.runGeneratedRequest("mergeTags", () => callGeneratedRequest(mergeTags, [
|
|
49680
|
+
client.httpClient,
|
|
49681
|
+
client.workspaceIdNumber,
|
|
49682
|
+
data.payload ?? data.data ?? data,
|
|
49683
|
+
void 0
|
|
49684
|
+
]));
|
|
49685
|
+
}
|
|
49686
|
+
},
|
|
48663
49687
|
{
|
|
48664
49688
|
id: "focus.tags.restore",
|
|
48665
49689
|
family: "focus",
|
|
@@ -48686,6 +49710,32 @@ const generatedFocusOperations = [
|
|
|
48686
49710
|
]));
|
|
48687
49711
|
}
|
|
48688
49712
|
},
|
|
49713
|
+
{
|
|
49714
|
+
id: "focus.tags.unarchive",
|
|
49715
|
+
family: "focus",
|
|
49716
|
+
resource: "tags",
|
|
49717
|
+
action: "unarchive",
|
|
49718
|
+
title: "Unarchive Tags",
|
|
49719
|
+
description: "Unarchive Tags.",
|
|
49720
|
+
safety: "update",
|
|
49721
|
+
destructive: false,
|
|
49722
|
+
cli: {
|
|
49723
|
+
group: ["tags"],
|
|
49724
|
+
command: "unarchive",
|
|
49725
|
+
interactive: "default"
|
|
49726
|
+
},
|
|
49727
|
+
mcp: { entityTool: "tags" },
|
|
49728
|
+
inputSchema: /* @__PURE__ */ looseObject({ tag_id: /* @__PURE__ */ number$2() }),
|
|
49729
|
+
execute: (input, { client }) => {
|
|
49730
|
+
const data = input;
|
|
49731
|
+
return client.runGeneratedRequest("unarchiveTag", () => callGeneratedRequest(unarchiveTag, [
|
|
49732
|
+
client.httpClient,
|
|
49733
|
+
client.workspaceIdNumber,
|
|
49734
|
+
data.tag_id,
|
|
49735
|
+
void 0
|
|
49736
|
+
]));
|
|
49737
|
+
}
|
|
49738
|
+
},
|
|
48689
49739
|
{
|
|
48690
49740
|
id: "focus.tags.update",
|
|
48691
49741
|
family: "focus",
|
|
@@ -49126,6 +50176,37 @@ const generatedFocusOperations = [
|
|
|
49126
50176
|
return client.createTask(data);
|
|
49127
50177
|
}
|
|
49128
50178
|
},
|
|
50179
|
+
{
|
|
50180
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50181
|
+
family: "focus",
|
|
50182
|
+
resource: "tasks",
|
|
50183
|
+
action: "create-recurring-occurrence",
|
|
50184
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50185
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50186
|
+
safety: "create",
|
|
50187
|
+
destructive: false,
|
|
50188
|
+
cli: {
|
|
50189
|
+
group: ["tasks"],
|
|
50190
|
+
command: "create-recurring-occurrence",
|
|
50191
|
+
interactive: "default"
|
|
50192
|
+
},
|
|
50193
|
+
mcp: { entityTool: "tasks" },
|
|
50194
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50195
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50196
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50197
|
+
}),
|
|
50198
|
+
execute: (input, { client }) => {
|
|
50199
|
+
const data = input;
|
|
50200
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50201
|
+
client.httpClient,
|
|
50202
|
+
client.organizationId,
|
|
50203
|
+
client.workspaceIdNumber,
|
|
50204
|
+
data.task_id,
|
|
50205
|
+
data.return_occurrence,
|
|
50206
|
+
void 0
|
|
50207
|
+
]));
|
|
50208
|
+
}
|
|
50209
|
+
},
|
|
49129
50210
|
{
|
|
49130
50211
|
id: "focus.tasks.delete",
|
|
49131
50212
|
family: "focus",
|
|
@@ -49367,15 +50448,19 @@ const generatedFocusOperations = [
|
|
|
49367
50448
|
mcp: { entityTool: "tasks" },
|
|
49368
50449
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49369
50450
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50451
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49370
50452
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49371
50453
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49372
50454
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49373
50455
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49374
50456
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49375
|
-
|
|
50457
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50458
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49376
50459
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49377
50460
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50461
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49378
50462
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50463
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49379
50464
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49380
50465
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49381
50466
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -49409,7 +50494,6 @@ const generatedFocusOperations = [
|
|
|
49409
50494
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49410
50495
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49411
50496
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49412
|
-
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49413
50497
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49414
50498
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49415
50499
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49426,10 +50510,11 @@ const generatedFocusOperations = [
|
|
|
49426
50510
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49427
50511
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49428
50512
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49429
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49430
50513
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49431
50514
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50515
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49432
50516
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50517
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49433
50518
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49434
50519
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49435
50520
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -49438,7 +50523,9 @@ const generatedFocusOperations = [
|
|
|
49438
50523
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49439
50524
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49440
50525
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50526
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49441
50527
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50528
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49442
50529
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49443
50530
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49444
50531
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49482,7 +50569,6 @@ const generatedFocusOperations = [
|
|
|
49482
50569
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49483
50570
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49484
50571
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49485
|
-
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49486
50572
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49487
50573
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49488
50574
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -49508,55 +50594,185 @@ const generatedFocusOperations = [
|
|
|
49508
50594
|
id: "focus.tasks.get-with-parents",
|
|
49509
50595
|
family: "focus",
|
|
49510
50596
|
resource: "tasks",
|
|
49511
|
-
action: "get-with-parents",
|
|
49512
|
-
title: "Get With Parents Tasks",
|
|
49513
|
-
description: "Get With Parents Tasks.",
|
|
50597
|
+
action: "get-with-parents",
|
|
50598
|
+
title: "Get With Parents Tasks",
|
|
50599
|
+
description: "Get With Parents Tasks.",
|
|
50600
|
+
safety: "read",
|
|
50601
|
+
destructive: false,
|
|
50602
|
+
cli: {
|
|
50603
|
+
group: ["tasks"],
|
|
50604
|
+
command: "get-with-parents",
|
|
50605
|
+
interactive: "hidden"
|
|
50606
|
+
},
|
|
50607
|
+
mcp: { entityTool: "tasks" },
|
|
50608
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50609
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50610
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50611
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50612
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50613
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50614
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50615
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50616
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50617
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50618
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50619
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50620
|
+
}),
|
|
50621
|
+
execute: (input, { client }) => {
|
|
50622
|
+
const data = input;
|
|
50623
|
+
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
50624
|
+
client.httpClient,
|
|
50625
|
+
client.organizationId,
|
|
50626
|
+
client.workspaceIdNumber,
|
|
50627
|
+
data.task_id,
|
|
50628
|
+
data,
|
|
50629
|
+
void 0
|
|
50630
|
+
]));
|
|
50631
|
+
}
|
|
50632
|
+
},
|
|
50633
|
+
{
|
|
50634
|
+
id: "focus.tasks.groups-get",
|
|
50635
|
+
family: "focus",
|
|
50636
|
+
resource: "tasks",
|
|
50637
|
+
action: "groups-get",
|
|
50638
|
+
title: "Groups Get Tasks",
|
|
50639
|
+
description: "Groups Get Tasks.",
|
|
50640
|
+
safety: "read",
|
|
50641
|
+
destructive: false,
|
|
50642
|
+
cli: {
|
|
50643
|
+
group: ["tasks", "groups"],
|
|
50644
|
+
command: "get",
|
|
50645
|
+
interactive: "hidden"
|
|
50646
|
+
},
|
|
50647
|
+
mcp: { entityTool: "tasks" },
|
|
50648
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50649
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50650
|
+
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50651
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50652
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50653
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50654
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50655
|
+
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50656
|
+
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50657
|
+
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50658
|
+
group: /* @__PURE__ */ picklist$1([
|
|
50659
|
+
"projects",
|
|
50660
|
+
"users",
|
|
50661
|
+
"tags"
|
|
50662
|
+
]),
|
|
50663
|
+
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50664
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50665
|
+
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50666
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50667
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50668
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50669
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50670
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50671
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50672
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50673
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50674
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50675
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50676
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50677
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50678
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50679
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50680
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50681
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50682
|
+
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50683
|
+
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50684
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50685
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50686
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50687
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50688
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50689
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50690
|
+
}),
|
|
50691
|
+
execute: (input, { client }) => {
|
|
50692
|
+
const data = input;
|
|
50693
|
+
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
50694
|
+
client.httpClient,
|
|
50695
|
+
client.organizationId,
|
|
50696
|
+
client.workspaceIdNumber,
|
|
50697
|
+
data.group,
|
|
50698
|
+
data,
|
|
50699
|
+
void 0
|
|
50700
|
+
]));
|
|
50701
|
+
}
|
|
50702
|
+
},
|
|
50703
|
+
{
|
|
50704
|
+
id: "focus.tasks.groups-get-user-task-groups-by-project",
|
|
50705
|
+
family: "focus",
|
|
50706
|
+
resource: "tasks",
|
|
50707
|
+
action: "groups-get-user-task-groups-by-project",
|
|
50708
|
+
title: "Groups Get User Task Groups By Project Tasks",
|
|
50709
|
+
description: "Groups Get User Task Groups By Project Tasks.",
|
|
49514
50710
|
safety: "read",
|
|
49515
50711
|
destructive: false,
|
|
49516
50712
|
cli: {
|
|
49517
|
-
group: ["tasks"],
|
|
49518
|
-
command: "get-
|
|
50713
|
+
group: ["tasks", "groups"],
|
|
50714
|
+
command: "get-user-task-groups-by-project",
|
|
49519
50715
|
interactive: "hidden"
|
|
49520
50716
|
},
|
|
49521
50717
|
mcp: { entityTool: "tasks" },
|
|
49522
50718
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49523
|
-
|
|
49524
|
-
|
|
49525
|
-
|
|
49526
|
-
|
|
49527
|
-
|
|
49528
|
-
|
|
49529
|
-
|
|
49530
|
-
|
|
49531
|
-
|
|
49532
|
-
|
|
49533
|
-
|
|
49534
|
-
|
|
50719
|
+
assignee_user_id: /* @__PURE__ */ number$2(),
|
|
50720
|
+
cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50721
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
50722
|
+
collapse_recurring: /* @__PURE__ */ unknown$1(),
|
|
50723
|
+
creator_id: /* @__PURE__ */ number$2(),
|
|
50724
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50725
|
+
end_date_from: /* @__PURE__ */ unknown$1(),
|
|
50726
|
+
end_date_to: /* @__PURE__ */ unknown$1(),
|
|
50727
|
+
exclude_empty: /* @__PURE__ */ unknown$1(),
|
|
50728
|
+
group_id: /* @__PURE__ */ number$2(),
|
|
50729
|
+
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50730
|
+
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50731
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50732
|
+
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50733
|
+
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50734
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50735
|
+
min_days: /* @__PURE__ */ unknown$1(),
|
|
50736
|
+
name: /* @__PURE__ */ unknown$1(),
|
|
50737
|
+
priority: /* @__PURE__ */ unknown$1(),
|
|
50738
|
+
private_: /* @__PURE__ */ unknown$1(),
|
|
50739
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50740
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50741
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50742
|
+
source: /* @__PURE__ */ unknown$1(),
|
|
50743
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50744
|
+
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
50745
|
+
start_date_to: /* @__PURE__ */ unknown$1(),
|
|
50746
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50747
|
+
tag_id: /* @__PURE__ */ number$2(),
|
|
50748
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
50749
|
+
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50750
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
50751
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
49535
50752
|
}),
|
|
49536
50753
|
execute: (input, { client }) => {
|
|
49537
50754
|
const data = input;
|
|
49538
|
-
return client.runGeneratedRequest("
|
|
50755
|
+
return client.runGeneratedRequest("getUserTaskGroupsByProject", () => callGeneratedRequest(getUserTaskGroupsByProject, [
|
|
49539
50756
|
client.httpClient,
|
|
49540
50757
|
client.organizationId,
|
|
49541
50758
|
client.workspaceIdNumber,
|
|
49542
|
-
data.task_id,
|
|
49543
50759
|
data,
|
|
49544
50760
|
void 0
|
|
49545
50761
|
]));
|
|
49546
50762
|
}
|
|
49547
50763
|
},
|
|
49548
50764
|
{
|
|
49549
|
-
id: "focus.tasks.groups-get",
|
|
50765
|
+
id: "focus.tasks.groups-get-user-task-groups-by-team",
|
|
49550
50766
|
family: "focus",
|
|
49551
50767
|
resource: "tasks",
|
|
49552
|
-
action: "groups-get",
|
|
49553
|
-
title: "Groups Get Tasks",
|
|
49554
|
-
description: "Groups Get Tasks.",
|
|
50768
|
+
action: "groups-get-user-task-groups-by-team",
|
|
50769
|
+
title: "Groups Get User Task Groups By Team Tasks",
|
|
50770
|
+
description: "Groups Get User Task Groups By Team Tasks.",
|
|
49555
50771
|
safety: "read",
|
|
49556
50772
|
destructive: false,
|
|
49557
50773
|
cli: {
|
|
49558
50774
|
group: ["tasks", "groups"],
|
|
49559
|
-
command: "get",
|
|
50775
|
+
command: "get-user-task-groups-by-team",
|
|
49560
50776
|
interactive: "hidden"
|
|
49561
50777
|
},
|
|
49562
50778
|
mcp: { entityTool: "tasks" },
|
|
@@ -49564,44 +50780,43 @@ const generatedFocusOperations = [
|
|
|
49564
50780
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49565
50781
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49566
50782
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50783
|
+
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49567
50784
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49568
50785
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49569
50786
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49570
50787
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49571
50788
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49572
|
-
group: /* @__PURE__ */ picklist$1([
|
|
49573
|
-
"projects",
|
|
49574
|
-
"users",
|
|
49575
|
-
"tags"
|
|
49576
|
-
]),
|
|
49577
50789
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49578
50790
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49579
50791
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49580
|
-
|
|
50792
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50793
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50794
|
+
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50795
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49581
50796
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49582
50797
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49583
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49584
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49585
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49586
50798
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49587
50799
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49588
50800
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50801
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50802
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49589
50803
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49590
50804
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
49591
50805
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49592
50806
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49593
50807
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49594
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
50808
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49595
50809
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49596
|
-
|
|
50810
|
+
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50811
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50812
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49597
50813
|
}),
|
|
49598
50814
|
execute: (input, { client }) => {
|
|
49599
50815
|
const data = input;
|
|
49600
|
-
return client.runGeneratedRequest("
|
|
50816
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
49601
50817
|
client.httpClient,
|
|
49602
50818
|
client.organizationId,
|
|
49603
50819
|
client.workspaceIdNumber,
|
|
49604
|
-
data.group,
|
|
49605
50820
|
data,
|
|
49606
50821
|
void 0
|
|
49607
50822
|
]));
|
|
@@ -49812,7 +51027,6 @@ const generatedFocusOperations = [
|
|
|
49812
51027
|
name: /* @__PURE__ */ string$1(),
|
|
49813
51028
|
status_id: /* @__PURE__ */ number$2(),
|
|
49814
51029
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49815
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49816
51030
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
49817
51031
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49818
51032
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -49832,6 +51046,7 @@ const generatedFocusOperations = [
|
|
|
49832
51046
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49833
51047
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49834
51048
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51049
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49835
51050
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
49836
51051
|
}),
|
|
49837
51052
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -49865,7 +51080,8 @@ const generatedFocusOperations = [
|
|
|
49865
51080
|
mcp: { entityTool: "tasks" },
|
|
49866
51081
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49867
51082
|
date_from: /* @__PURE__ */ string$1(),
|
|
49868
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51083
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51084
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
49869
51085
|
}),
|
|
49870
51086
|
execute: (input, { client }) => {
|
|
49871
51087
|
const data = input;
|
|
@@ -49875,6 +51091,7 @@ const generatedFocusOperations = [
|
|
|
49875
51091
|
client.workspaceIdNumber,
|
|
49876
51092
|
data.date_from,
|
|
49877
51093
|
data.date_to,
|
|
51094
|
+
data.skip_provider_refresh,
|
|
49878
51095
|
void 0
|
|
49879
51096
|
]));
|
|
49880
51097
|
}
|
|
@@ -50461,7 +51678,8 @@ const generatedFocusOperations = [
|
|
|
50461
51678
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
50462
51679
|
"project",
|
|
50463
51680
|
"task",
|
|
50464
|
-
"description"
|
|
51681
|
+
"description",
|
|
51682
|
+
"tags"
|
|
50465
51683
|
]) })),
|
|
50466
51684
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50467
51685
|
}) }),
|
|
@@ -50491,6 +51709,7 @@ const generatedFocusOperations = [
|
|
|
50491
51709
|
},
|
|
50492
51710
|
mcp: { entityTool: "time-entries" },
|
|
50493
51711
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51712
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50494
51713
|
payload: /* @__PURE__ */ looseObject({
|
|
50495
51714
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
50496
51715
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -50501,11 +51720,13 @@ const generatedFocusOperations = [
|
|
|
50501
51720
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50502
51721
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50503
51722
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51723
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50504
51724
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50505
51725
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50506
51726
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50507
51727
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50508
51728
|
}),
|
|
51729
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50509
51730
|
task_id: /* @__PURE__ */ number$2()
|
|
50510
51731
|
}),
|
|
50511
51732
|
execute: (input, { client }) => {
|
|
@@ -50516,6 +51737,8 @@ const generatedFocusOperations = [
|
|
|
50516
51737
|
client.workspaceIdNumber,
|
|
50517
51738
|
data.task_id,
|
|
50518
51739
|
data.payload ?? data.data ?? data,
|
|
51740
|
+
data.from_recurring_task_id,
|
|
51741
|
+
data.return_occurrence,
|
|
50519
51742
|
void 0
|
|
50520
51743
|
]));
|
|
50521
51744
|
}
|
|
@@ -50535,21 +51758,26 @@ const generatedFocusOperations = [
|
|
|
50535
51758
|
interactive: "default"
|
|
50536
51759
|
},
|
|
50537
51760
|
mcp: { entityTool: "time-entries" },
|
|
50538
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50539
|
-
|
|
50540
|
-
|
|
50541
|
-
|
|
50542
|
-
|
|
50543
|
-
|
|
50544
|
-
|
|
50545
|
-
|
|
50546
|
-
|
|
50547
|
-
|
|
50548
|
-
|
|
50549
|
-
|
|
50550
|
-
|
|
50551
|
-
|
|
50552
|
-
|
|
51761
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51762
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51763
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51764
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51765
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51766
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51767
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51768
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51769
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51770
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51771
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51772
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51773
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51774
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51775
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51776
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51777
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51778
|
+
}),
|
|
51779
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51780
|
+
}),
|
|
50553
51781
|
execute: (input, { client }) => {
|
|
50554
51782
|
const data = input;
|
|
50555
51783
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -50557,6 +51785,8 @@ const generatedFocusOperations = [
|
|
|
50557
51785
|
client.organizationId,
|
|
50558
51786
|
client.workspaceIdNumber,
|
|
50559
51787
|
data.payload ?? data.data ?? data,
|
|
51788
|
+
data.from_recurring_task_id,
|
|
51789
|
+
data.return_occurrence,
|
|
50560
51790
|
void 0
|
|
50561
51791
|
]));
|
|
50562
51792
|
}
|
|
@@ -50576,7 +51806,11 @@ const generatedFocusOperations = [
|
|
|
50576
51806
|
interactive: "default"
|
|
50577
51807
|
},
|
|
50578
51808
|
mcp: { entityTool: "time-entries" },
|
|
50579
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51809
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51810
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51811
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51812
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51813
|
+
}),
|
|
50580
51814
|
execute: (input, { client }) => {
|
|
50581
51815
|
const data = input;
|
|
50582
51816
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -50584,6 +51818,8 @@ const generatedFocusOperations = [
|
|
|
50584
51818
|
client.organizationId,
|
|
50585
51819
|
client.workspaceIdNumber,
|
|
50586
51820
|
data.time_entry_id,
|
|
51821
|
+
data.from_recurring_task_id,
|
|
51822
|
+
data.return_occurrence,
|
|
50587
51823
|
void 0
|
|
50588
51824
|
]));
|
|
50589
51825
|
}
|
|
@@ -50664,6 +51900,7 @@ const generatedFocusOperations = [
|
|
|
50664
51900
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
50665
51901
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
50666
51902
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51903
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50667
51904
|
status_id: /* @__PURE__ */ number$2(),
|
|
50668
51905
|
task_id: /* @__PURE__ */ number$2(),
|
|
50669
51906
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -50742,6 +51979,40 @@ const generatedFocusOperations = [
|
|
|
50742
51979
|
]));
|
|
50743
51980
|
}
|
|
50744
51981
|
},
|
|
51982
|
+
{
|
|
51983
|
+
id: "focus.time-entries.groups-get-users",
|
|
51984
|
+
family: "focus",
|
|
51985
|
+
resource: "time-entries",
|
|
51986
|
+
action: "groups-get-users",
|
|
51987
|
+
title: "Groups Get Users Time Entries",
|
|
51988
|
+
description: "Groups Get Users Time Entries.",
|
|
51989
|
+
safety: "read",
|
|
51990
|
+
destructive: false,
|
|
51991
|
+
cli: {
|
|
51992
|
+
group: ["time-entries", "groups"],
|
|
51993
|
+
command: "get-users",
|
|
51994
|
+
interactive: "hidden"
|
|
51995
|
+
},
|
|
51996
|
+
mcp: { entityTool: "time-entries" },
|
|
51997
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51998
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51999
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
52000
|
+
page: /* @__PURE__ */ number$2(),
|
|
52001
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
52002
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
52003
|
+
user_id: /* @__PURE__ */ number$2()
|
|
52004
|
+
}),
|
|
52005
|
+
execute: (input, { client }) => {
|
|
52006
|
+
const data = input;
|
|
52007
|
+
return client.runGeneratedRequest("getTimeEntryGroupsUsersClassic", () => callGeneratedRequest(getTimeEntryGroupsUsersClassic, [
|
|
52008
|
+
client.httpClient,
|
|
52009
|
+
client.organizationId,
|
|
52010
|
+
client.workspaceIdNumber,
|
|
52011
|
+
data,
|
|
52012
|
+
void 0
|
|
52013
|
+
]));
|
|
52014
|
+
}
|
|
52015
|
+
},
|
|
50745
52016
|
{
|
|
50746
52017
|
id: "focus.time-entries.list",
|
|
50747
52018
|
family: "focus",
|
|
@@ -50806,12 +52077,14 @@ const generatedFocusOperations = [
|
|
|
50806
52077
|
},
|
|
50807
52078
|
mcp: { entityTool: "time-entries" },
|
|
50808
52079
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52080
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50809
52081
|
payload: /* @__PURE__ */ looseObject({
|
|
50810
52082
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50811
52083
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50812
52084
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50813
52085
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
50814
52086
|
}),
|
|
52087
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50815
52088
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
50816
52089
|
}),
|
|
50817
52090
|
execute: (input, { client }) => {
|
|
@@ -50822,6 +52095,8 @@ const generatedFocusOperations = [
|
|
|
50822
52095
|
client.workspaceIdNumber,
|
|
50823
52096
|
data.time_entry_id,
|
|
50824
52097
|
data.payload ?? data.data ?? data,
|
|
52098
|
+
data.from_recurring_task_id,
|
|
52099
|
+
data.return_occurrence,
|
|
50825
52100
|
void 0
|
|
50826
52101
|
]));
|
|
50827
52102
|
}
|
|
@@ -50926,6 +52201,42 @@ const generatedFocusOperations = [
|
|
|
50926
52201
|
inputSchema: emptySchema$1,
|
|
50927
52202
|
execute: (_input, { client }) => client.stopTracking()
|
|
50928
52203
|
},
|
|
52204
|
+
{
|
|
52205
|
+
id: "focus.time-entries.sync",
|
|
52206
|
+
family: "focus",
|
|
52207
|
+
resource: "time-entries",
|
|
52208
|
+
action: "sync",
|
|
52209
|
+
title: "Sync Time Entries",
|
|
52210
|
+
description: "Sync Time Entries.",
|
|
52211
|
+
safety: "update",
|
|
52212
|
+
destructive: false,
|
|
52213
|
+
cli: {
|
|
52214
|
+
group: ["time-entries"],
|
|
52215
|
+
command: "sync",
|
|
52216
|
+
interactive: "default"
|
|
52217
|
+
},
|
|
52218
|
+
mcp: { entityTool: "time-entries" },
|
|
52219
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52220
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
52221
|
+
payload: /* @__PURE__ */ looseObject({
|
|
52222
|
+
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
52223
|
+
client_updated_at: apiDateTimeString,
|
|
52224
|
+
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52225
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
52226
|
+
})
|
|
52227
|
+
}),
|
|
52228
|
+
execute: (input, { client }) => {
|
|
52229
|
+
const data = input;
|
|
52230
|
+
return client.runGeneratedRequest("syncTimeEntry", () => callGeneratedRequest(syncTimeEntry, [
|
|
52231
|
+
client.httpClient,
|
|
52232
|
+
client.organizationId,
|
|
52233
|
+
client.workspaceIdNumber,
|
|
52234
|
+
data.client_uuid,
|
|
52235
|
+
data.payload ?? data.data ?? data,
|
|
52236
|
+
void 0
|
|
52237
|
+
]));
|
|
52238
|
+
}
|
|
52239
|
+
},
|
|
50929
52240
|
{
|
|
50930
52241
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
50931
52242
|
family: "focus",
|
|
@@ -50974,6 +52285,7 @@ const generatedFocusOperations = [
|
|
|
50974
52285
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50975
52286
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50976
52287
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52288
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50977
52289
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50978
52290
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50979
52291
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -51042,6 +52354,7 @@ const generatedFocusOperations = [
|
|
|
51042
52354
|
},
|
|
51043
52355
|
mcp: { entityTool: "time-entries" },
|
|
51044
52356
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52357
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51045
52358
|
payload: /* @__PURE__ */ looseObject({
|
|
51046
52359
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
51047
52360
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -51054,181 +52367,35 @@ const generatedFocusOperations = [
|
|
|
51054
52367
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51055
52368
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
51056
52369
|
}),
|
|
51057
|
-
|
|
51058
|
-
|
|
51059
|
-
execute: (input, { client }) => {
|
|
51060
|
-
const data = input;
|
|
51061
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51062
|
-
client.httpClient,
|
|
51063
|
-
client.organizationId,
|
|
51064
|
-
client.workspaceIdNumber,
|
|
51065
|
-
data.time_entry_id,
|
|
51066
|
-
data.payload ?? data.data ?? data,
|
|
51067
|
-
void 0
|
|
51068
|
-
]));
|
|
51069
|
-
}
|
|
51070
|
-
},
|
|
51071
|
-
{
|
|
51072
|
-
id: "focus.time-log-suggestions.get-for-acalendar-event-title",
|
|
51073
|
-
family: "focus",
|
|
51074
|
-
resource: "time-log-suggestions",
|
|
51075
|
-
action: "get-for-acalendar-event-title",
|
|
51076
|
-
title: "Get For Acalendar Event Title Time Log Suggestions",
|
|
51077
|
-
description: "Get For Acalendar Event Title Time Log Suggestions.",
|
|
51078
|
-
safety: "update",
|
|
51079
|
-
destructive: false,
|
|
51080
|
-
cli: {
|
|
51081
|
-
group: ["time-log-suggestions"],
|
|
51082
|
-
command: "get-for-acalendar-event-title",
|
|
51083
|
-
interactive: "default"
|
|
51084
|
-
},
|
|
51085
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51086
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ title: /* @__PURE__ */ string$1() }) }),
|
|
51087
|
-
execute: (input, { client }) => {
|
|
51088
|
-
const data = input;
|
|
51089
|
-
return client.runGeneratedRequest("getTimeLogSuggestionForACalendarEventTitle", () => callGeneratedRequest(getTimeLogSuggestionForACalendarEventTitle, [
|
|
51090
|
-
client.httpClient,
|
|
51091
|
-
client.organizationId,
|
|
51092
|
-
client.workspaceIdNumber,
|
|
51093
|
-
data.payload ?? data.data ?? data,
|
|
51094
|
-
void 0
|
|
51095
|
-
]));
|
|
51096
|
-
}
|
|
51097
|
-
},
|
|
51098
|
-
{
|
|
51099
|
-
id: "focus.time-log-suggestions.get-for-multiple-calendar-event-titles",
|
|
51100
|
-
family: "focus",
|
|
51101
|
-
resource: "time-log-suggestions",
|
|
51102
|
-
action: "get-for-multiple-calendar-event-titles",
|
|
51103
|
-
title: "Get For Multiple Calendar Event Titles Time Log Suggestions",
|
|
51104
|
-
description: "Get For Multiple Calendar Event Titles Time Log Suggestions.",
|
|
51105
|
-
safety: "update",
|
|
51106
|
-
destructive: false,
|
|
51107
|
-
cli: {
|
|
51108
|
-
group: ["time-log-suggestions"],
|
|
51109
|
-
command: "get-for-multiple-calendar-event-titles",
|
|
51110
|
-
interactive: "default"
|
|
51111
|
-
},
|
|
51112
|
-
mcp: { entityTool: "time-log-suggestions" },
|
|
51113
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
51114
|
-
key: /* @__PURE__ */ string$1(),
|
|
51115
|
-
title: /* @__PURE__ */ string$1()
|
|
51116
|
-
})) }) }),
|
|
51117
|
-
execute: (input, { client }) => {
|
|
51118
|
-
const data = input;
|
|
51119
|
-
return client.runGeneratedRequest("getTimeLogSuggestionsForMultipleCalendarEventTitles", () => callGeneratedRequest(getTimeLogSuggestionsForMultipleCalendarEventTitles, [
|
|
51120
|
-
client.httpClient,
|
|
51121
|
-
client.organizationId,
|
|
51122
|
-
client.workspaceIdNumber,
|
|
51123
|
-
data.payload ?? data.data ?? data,
|
|
51124
|
-
void 0
|
|
51125
|
-
]));
|
|
51126
|
-
}
|
|
51127
|
-
},
|
|
51128
|
-
{
|
|
51129
|
-
id: "focus.time-off.create-timeoff-for-ghost",
|
|
51130
|
-
family: "focus",
|
|
51131
|
-
resource: "time-off",
|
|
51132
|
-
action: "create-timeoff-for-ghost",
|
|
51133
|
-
title: "Create Timeoff For Ghost Time Off",
|
|
51134
|
-
description: "Create Timeoff For Ghost Time Off.",
|
|
51135
|
-
safety: "create",
|
|
51136
|
-
destructive: false,
|
|
51137
|
-
cli: {
|
|
51138
|
-
group: ["time-off"],
|
|
51139
|
-
command: "create-timeoff-for-ghost",
|
|
51140
|
-
interactive: "hidden"
|
|
51141
|
-
},
|
|
51142
|
-
mcp: { entityTool: "time-off" },
|
|
51143
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51144
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51145
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51146
|
-
}),
|
|
51147
|
-
execute: (input, { client }) => {
|
|
51148
|
-
const data = input;
|
|
51149
|
-
return client.runGeneratedRequest("createTimeoffForGhost", () => callGeneratedRequest(createTimeoffForGhost, [
|
|
51150
|
-
client.httpClient,
|
|
51151
|
-
client.organizationId,
|
|
51152
|
-
client.workspaceIdNumber,
|
|
51153
|
-
data.ghost_id,
|
|
51154
|
-
data.payload ?? data.data ?? data,
|
|
51155
|
-
void 0
|
|
51156
|
-
]));
|
|
51157
|
-
}
|
|
51158
|
-
},
|
|
51159
|
-
{
|
|
51160
|
-
id: "focus.time-off.create-timeoff-for-user",
|
|
51161
|
-
family: "focus",
|
|
51162
|
-
resource: "time-off",
|
|
51163
|
-
action: "create-timeoff-for-user",
|
|
51164
|
-
title: "Create Timeoff For User Time Off",
|
|
51165
|
-
description: "Create Timeoff For User Time Off.",
|
|
51166
|
-
safety: "create",
|
|
51167
|
-
destructive: false,
|
|
51168
|
-
cli: {
|
|
51169
|
-
group: ["time-off"],
|
|
51170
|
-
command: "create-timeoff-for-user",
|
|
51171
|
-
interactive: "hidden"
|
|
51172
|
-
},
|
|
51173
|
-
mcp: { entityTool: "time-off" },
|
|
51174
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51175
|
-
payload: /* @__PURE__ */ unknown$1(),
|
|
51176
|
-
user_id: /* @__PURE__ */ number$2()
|
|
51177
|
-
}),
|
|
51178
|
-
execute: (input, { client }) => {
|
|
51179
|
-
const data = input;
|
|
51180
|
-
return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
|
|
51181
|
-
client.httpClient,
|
|
51182
|
-
client.organizationId,
|
|
51183
|
-
data.user_id,
|
|
51184
|
-
data.payload ?? data.data ?? data,
|
|
51185
|
-
void 0
|
|
51186
|
-
]));
|
|
51187
|
-
}
|
|
51188
|
-
},
|
|
51189
|
-
{
|
|
51190
|
-
id: "focus.time-off.delete-timeoff-for-ghost",
|
|
51191
|
-
family: "focus",
|
|
51192
|
-
resource: "time-off",
|
|
51193
|
-
action: "delete-timeoff-for-ghost",
|
|
51194
|
-
title: "Delete Timeoff For Ghost Time Off",
|
|
51195
|
-
description: "Delete Timeoff For Ghost Time Off.",
|
|
51196
|
-
safety: "delete",
|
|
51197
|
-
destructive: true,
|
|
51198
|
-
cli: {
|
|
51199
|
-
group: ["time-off"],
|
|
51200
|
-
command: "delete-timeoff-for-ghost",
|
|
51201
|
-
interactive: "hidden"
|
|
51202
|
-
},
|
|
51203
|
-
mcp: { entityTool: "time-off" },
|
|
51204
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51205
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51206
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52370
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52371
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51207
52372
|
}),
|
|
51208
52373
|
execute: (input, { client }) => {
|
|
51209
52374
|
const data = input;
|
|
51210
|
-
return client.runGeneratedRequest("
|
|
52375
|
+
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
51211
52376
|
client.httpClient,
|
|
51212
52377
|
client.organizationId,
|
|
51213
52378
|
client.workspaceIdNumber,
|
|
51214
|
-
data.
|
|
52379
|
+
data.time_entry_id,
|
|
51215
52380
|
data.payload ?? data.data ?? data,
|
|
52381
|
+
data.from_recurring_task_id,
|
|
52382
|
+
data.return_occurrence,
|
|
51216
52383
|
void 0
|
|
51217
52384
|
]));
|
|
51218
52385
|
}
|
|
51219
52386
|
},
|
|
51220
52387
|
{
|
|
51221
|
-
id: "focus.time-off.
|
|
52388
|
+
id: "focus.time-off.create-timeoff-for-user",
|
|
51222
52389
|
family: "focus",
|
|
51223
52390
|
resource: "time-off",
|
|
51224
|
-
action: "
|
|
51225
|
-
title: "
|
|
51226
|
-
description: "
|
|
51227
|
-
safety: "
|
|
51228
|
-
destructive:
|
|
52391
|
+
action: "create-timeoff-for-user",
|
|
52392
|
+
title: "Create Timeoff For User Time Off",
|
|
52393
|
+
description: "Create Timeoff For User Time Off.",
|
|
52394
|
+
safety: "create",
|
|
52395
|
+
destructive: false,
|
|
51229
52396
|
cli: {
|
|
51230
52397
|
group: ["time-off"],
|
|
51231
|
-
command: "
|
|
52398
|
+
command: "create-timeoff-for-user",
|
|
51232
52399
|
interactive: "hidden"
|
|
51233
52400
|
},
|
|
51234
52401
|
mcp: { entityTool: "time-off" },
|
|
@@ -51238,7 +52405,7 @@ const generatedFocusOperations = [
|
|
|
51238
52405
|
}),
|
|
51239
52406
|
execute: (input, { client }) => {
|
|
51240
52407
|
const data = input;
|
|
51241
|
-
return client.runGeneratedRequest("
|
|
52408
|
+
return client.runGeneratedRequest("createTimeoffForUser", () => callGeneratedRequest(createTimeoffForUser, [
|
|
51242
52409
|
client.httpClient,
|
|
51243
52410
|
client.organizationId,
|
|
51244
52411
|
data.user_id,
|
|
@@ -51248,33 +52415,31 @@ const generatedFocusOperations = [
|
|
|
51248
52415
|
}
|
|
51249
52416
|
},
|
|
51250
52417
|
{
|
|
51251
|
-
id: "focus.time-off.
|
|
52418
|
+
id: "focus.time-off.delete-timeoff-for-user",
|
|
51252
52419
|
family: "focus",
|
|
51253
52420
|
resource: "time-off",
|
|
51254
|
-
action: "
|
|
51255
|
-
title: "
|
|
51256
|
-
description: "
|
|
51257
|
-
safety: "
|
|
51258
|
-
destructive:
|
|
52421
|
+
action: "delete-timeoff-for-user",
|
|
52422
|
+
title: "Delete Timeoff For User Time Off",
|
|
52423
|
+
description: "Delete Timeoff For User Time Off.",
|
|
52424
|
+
safety: "delete",
|
|
52425
|
+
destructive: true,
|
|
51259
52426
|
cli: {
|
|
51260
52427
|
group: ["time-off"],
|
|
51261
|
-
command: "
|
|
52428
|
+
command: "delete-timeoff-for-user",
|
|
51262
52429
|
interactive: "hidden"
|
|
51263
52430
|
},
|
|
51264
52431
|
mcp: { entityTool: "time-off" },
|
|
51265
52432
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51266
|
-
|
|
51267
|
-
|
|
51268
|
-
to: /* @__PURE__ */ unknown$1()
|
|
52433
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
52434
|
+
user_id: /* @__PURE__ */ number$2()
|
|
51269
52435
|
}),
|
|
51270
52436
|
execute: (input, { client }) => {
|
|
51271
52437
|
const data = input;
|
|
51272
|
-
return client.runGeneratedRequest("
|
|
52438
|
+
return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
|
|
51273
52439
|
client.httpClient,
|
|
51274
52440
|
client.organizationId,
|
|
51275
|
-
|
|
51276
|
-
data.
|
|
51277
|
-
data,
|
|
52441
|
+
data.user_id,
|
|
52442
|
+
data.payload ?? data.data ?? data,
|
|
51278
52443
|
void 0
|
|
51279
52444
|
]));
|
|
51280
52445
|
}
|
|
@@ -51310,37 +52475,6 @@ const generatedFocusOperations = [
|
|
|
51310
52475
|
]));
|
|
51311
52476
|
}
|
|
51312
52477
|
},
|
|
51313
|
-
{
|
|
51314
|
-
id: "focus.time-off.get-timeoffs-by-ghost-ids",
|
|
51315
|
-
family: "focus",
|
|
51316
|
-
resource: "time-off",
|
|
51317
|
-
action: "get-timeoffs-by-ghost-ids",
|
|
51318
|
-
title: "Get Timeoffs By Ghost Ids Time Off",
|
|
51319
|
-
description: "Get Timeoffs By Ghost Ids Time Off.",
|
|
51320
|
-
safety: "read",
|
|
51321
|
-
destructive: false,
|
|
51322
|
-
cli: {
|
|
51323
|
-
group: ["time-off"],
|
|
51324
|
-
command: "get-timeoffs-by-ghost-ids",
|
|
51325
|
-
interactive: "hidden"
|
|
51326
|
-
},
|
|
51327
|
-
mcp: { entityTool: "time-off" },
|
|
51328
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51329
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51330
|
-
ghost_ids: /* @__PURE__ */ unknown$1(),
|
|
51331
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())
|
|
51332
|
-
}),
|
|
51333
|
-
execute: (input, { client }) => {
|
|
51334
|
-
const data = input;
|
|
51335
|
-
return client.runGeneratedRequest("getTimeoffsByGhostIds", () => callGeneratedRequest(getTimeoffsByGhostIds, [
|
|
51336
|
-
client.httpClient,
|
|
51337
|
-
client.organizationId,
|
|
51338
|
-
client.workspaceIdNumber,
|
|
51339
|
-
data,
|
|
51340
|
-
void 0
|
|
51341
|
-
]));
|
|
51342
|
-
}
|
|
51343
|
-
},
|
|
51344
52478
|
{
|
|
51345
52479
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
51346
52480
|
family: "focus",
|
|
@@ -51371,37 +52505,6 @@ const generatedFocusOperations = [
|
|
|
51371
52505
|
]));
|
|
51372
52506
|
}
|
|
51373
52507
|
},
|
|
51374
|
-
{
|
|
51375
|
-
id: "focus.time-off.update-timeoff-for-ghost",
|
|
51376
|
-
family: "focus",
|
|
51377
|
-
resource: "time-off",
|
|
51378
|
-
action: "update-timeoff-for-ghost",
|
|
51379
|
-
title: "Update Timeoff For Ghost Time Off",
|
|
51380
|
-
description: "Update Timeoff For Ghost Time Off.",
|
|
51381
|
-
safety: "update",
|
|
51382
|
-
destructive: false,
|
|
51383
|
-
cli: {
|
|
51384
|
-
group: ["time-off"],
|
|
51385
|
-
command: "update-timeoff-for-ghost",
|
|
51386
|
-
interactive: "hidden"
|
|
51387
|
-
},
|
|
51388
|
-
mcp: { entityTool: "time-off" },
|
|
51389
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51390
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
51391
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
51392
|
-
}),
|
|
51393
|
-
execute: (input, { client }) => {
|
|
51394
|
-
const data = input;
|
|
51395
|
-
return client.runGeneratedRequest("updateTimeoffForGhost", () => callGeneratedRequest(updateTimeoffForGhost, [
|
|
51396
|
-
client.httpClient,
|
|
51397
|
-
client.organizationId,
|
|
51398
|
-
client.workspaceIdNumber,
|
|
51399
|
-
data.ghost_id,
|
|
51400
|
-
data.payload ?? data.data ?? data,
|
|
51401
|
-
void 0
|
|
51402
|
-
]));
|
|
51403
|
-
}
|
|
51404
|
-
},
|
|
51405
52508
|
{
|
|
51406
52509
|
id: "focus.time-off.update-timeoff-for-user",
|
|
51407
52510
|
family: "focus",
|
|
@@ -52362,6 +53465,56 @@ const generatedFocusOperations = [
|
|
|
52362
53465
|
return client.listOrgUsers(data);
|
|
52363
53466
|
}
|
|
52364
53467
|
},
|
|
53468
|
+
{
|
|
53469
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
53470
|
+
family: "focus",
|
|
53471
|
+
resource: "users",
|
|
53472
|
+
action: "settings-email-unsubscribe",
|
|
53473
|
+
title: "Settings Email Unsubscribe Users",
|
|
53474
|
+
description: "Settings Email Unsubscribe Users.",
|
|
53475
|
+
safety: "update",
|
|
53476
|
+
destructive: false,
|
|
53477
|
+
cli: {
|
|
53478
|
+
group: ["users", "settings"],
|
|
53479
|
+
command: "email-unsubscribe",
|
|
53480
|
+
interactive: "default"
|
|
53481
|
+
},
|
|
53482
|
+
mcp: { entityTool: "users" },
|
|
53483
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53484
|
+
execute: (input, { client }) => {
|
|
53485
|
+
const data = input;
|
|
53486
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53487
|
+
client.httpClient,
|
|
53488
|
+
data.token,
|
|
53489
|
+
void 0
|
|
53490
|
+
]));
|
|
53491
|
+
}
|
|
53492
|
+
},
|
|
53493
|
+
{
|
|
53494
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
53495
|
+
family: "focus",
|
|
53496
|
+
resource: "users",
|
|
53497
|
+
action: "settings-email-unsubscribe-page",
|
|
53498
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
53499
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
53500
|
+
safety: "read",
|
|
53501
|
+
destructive: false,
|
|
53502
|
+
cli: {
|
|
53503
|
+
group: ["users", "settings"],
|
|
53504
|
+
command: "email-unsubscribe-page",
|
|
53505
|
+
interactive: "available"
|
|
53506
|
+
},
|
|
53507
|
+
mcp: { entityTool: "users" },
|
|
53508
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53509
|
+
execute: (input, { client }) => {
|
|
53510
|
+
const data = input;
|
|
53511
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53512
|
+
client.httpClient,
|
|
53513
|
+
data.token,
|
|
53514
|
+
void 0
|
|
53515
|
+
]));
|
|
53516
|
+
}
|
|
53517
|
+
},
|
|
52365
53518
|
{
|
|
52366
53519
|
id: "focus.users.settings-list",
|
|
52367
53520
|
family: "focus",
|
|
@@ -52423,6 +53576,9 @@ const generatedFocusOperations = [
|
|
|
52423
53576
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52424
53577
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52425
53578
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53579
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53580
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53581
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52426
53582
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52427
53583
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52428
53584
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52433,6 +53589,7 @@ const generatedFocusOperations = [
|
|
|
52433
53589
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52434
53590
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52435
53591
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53592
|
+
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52436
53593
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52437
53594
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52438
53595
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -52534,37 +53691,6 @@ const generatedFocusOperations = [
|
|
|
52534
53691
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52535
53692
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
52536
53693
|
},
|
|
52537
|
-
{
|
|
52538
|
-
id: "focus.working-hours.create-for-ghost",
|
|
52539
|
-
family: "focus",
|
|
52540
|
-
resource: "working-hours",
|
|
52541
|
-
action: "create-for-ghost",
|
|
52542
|
-
title: "Create For Ghost Working Hours",
|
|
52543
|
-
description: "Create For Ghost Working Hours.",
|
|
52544
|
-
safety: "create",
|
|
52545
|
-
destructive: false,
|
|
52546
|
-
cli: {
|
|
52547
|
-
group: ["working-hours"],
|
|
52548
|
-
command: "create-for-ghost",
|
|
52549
|
-
interactive: "hidden"
|
|
52550
|
-
},
|
|
52551
|
-
mcp: { entityTool: "working-hours" },
|
|
52552
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52553
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52554
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52555
|
-
}),
|
|
52556
|
-
execute: (input, { client }) => {
|
|
52557
|
-
const data = input;
|
|
52558
|
-
return client.runGeneratedRequest("createWorkingHoursForGhost", () => callGeneratedRequest(createWorkingHoursForGhost, [
|
|
52559
|
-
client.httpClient,
|
|
52560
|
-
client.organizationId,
|
|
52561
|
-
client.workspaceIdNumber,
|
|
52562
|
-
data.ghost_id,
|
|
52563
|
-
data.payload ?? data.data ?? data,
|
|
52564
|
-
void 0
|
|
52565
|
-
]));
|
|
52566
|
-
}
|
|
52567
|
-
},
|
|
52568
53694
|
{
|
|
52569
53695
|
id: "focus.working-hours.create-for-user",
|
|
52570
53696
|
family: "focus",
|
|
@@ -52595,37 +53721,6 @@ const generatedFocusOperations = [
|
|
|
52595
53721
|
]));
|
|
52596
53722
|
}
|
|
52597
53723
|
},
|
|
52598
|
-
{
|
|
52599
|
-
id: "focus.working-hours.delete-for-ghost",
|
|
52600
|
-
family: "focus",
|
|
52601
|
-
resource: "working-hours",
|
|
52602
|
-
action: "delete-for-ghost",
|
|
52603
|
-
title: "Delete For Ghost Working Hours",
|
|
52604
|
-
description: "Delete For Ghost Working Hours.",
|
|
52605
|
-
safety: "delete",
|
|
52606
|
-
destructive: true,
|
|
52607
|
-
cli: {
|
|
52608
|
-
group: ["working-hours"],
|
|
52609
|
-
command: "delete-for-ghost",
|
|
52610
|
-
interactive: "hidden"
|
|
52611
|
-
},
|
|
52612
|
-
mcp: { entityTool: "working-hours" },
|
|
52613
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52614
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52615
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52616
|
-
}),
|
|
52617
|
-
execute: (input, { client }) => {
|
|
52618
|
-
const data = input;
|
|
52619
|
-
return client.runGeneratedRequest("deleteWorkingHoursForGhost", () => callGeneratedRequest(deleteWorkingHoursForGhost, [
|
|
52620
|
-
client.httpClient,
|
|
52621
|
-
client.organizationId,
|
|
52622
|
-
client.workspaceIdNumber,
|
|
52623
|
-
data.ghost_id,
|
|
52624
|
-
data.payload ?? data.data ?? data,
|
|
52625
|
-
void 0
|
|
52626
|
-
]));
|
|
52627
|
-
}
|
|
52628
|
-
},
|
|
52629
53724
|
{
|
|
52630
53725
|
id: "focus.working-hours.delete-for-user",
|
|
52631
53726
|
family: "focus",
|
|
@@ -52656,33 +53751,6 @@ const generatedFocusOperations = [
|
|
|
52656
53751
|
]));
|
|
52657
53752
|
}
|
|
52658
53753
|
},
|
|
52659
|
-
{
|
|
52660
|
-
id: "focus.working-hours.get-for-ghost",
|
|
52661
|
-
family: "focus",
|
|
52662
|
-
resource: "working-hours",
|
|
52663
|
-
action: "get-for-ghost",
|
|
52664
|
-
title: "Get For Ghost Working Hours",
|
|
52665
|
-
description: "Get For Ghost Working Hours.",
|
|
52666
|
-
safety: "read",
|
|
52667
|
-
destructive: false,
|
|
52668
|
-
cli: {
|
|
52669
|
-
group: ["working-hours"],
|
|
52670
|
-
command: "get-for-ghost",
|
|
52671
|
-
interactive: "available"
|
|
52672
|
-
},
|
|
52673
|
-
mcp: { entityTool: "working-hours" },
|
|
52674
|
-
inputSchema: /* @__PURE__ */ looseObject({ ghost_id: /* @__PURE__ */ number$2() }),
|
|
52675
|
-
execute: (input, { client }) => {
|
|
52676
|
-
const data = input;
|
|
52677
|
-
return client.runGeneratedRequest("getWorkingHoursForGhost", () => callGeneratedRequest(getWorkingHoursForGhost, [
|
|
52678
|
-
client.httpClient,
|
|
52679
|
-
client.organizationId,
|
|
52680
|
-
client.workspaceIdNumber,
|
|
52681
|
-
data.ghost_id,
|
|
52682
|
-
void 0
|
|
52683
|
-
]));
|
|
52684
|
-
}
|
|
52685
|
-
},
|
|
52686
53754
|
{
|
|
52687
53755
|
id: "focus.working-hours.get-for-user",
|
|
52688
53756
|
family: "focus",
|
|
@@ -52709,37 +53777,6 @@ const generatedFocusOperations = [
|
|
|
52709
53777
|
]));
|
|
52710
53778
|
}
|
|
52711
53779
|
},
|
|
52712
|
-
{
|
|
52713
|
-
id: "focus.working-hours.update-for-ghost",
|
|
52714
|
-
family: "focus",
|
|
52715
|
-
resource: "working-hours",
|
|
52716
|
-
action: "update-for-ghost",
|
|
52717
|
-
title: "Update For Ghost Working Hours",
|
|
52718
|
-
description: "Update For Ghost Working Hours.",
|
|
52719
|
-
safety: "update",
|
|
52720
|
-
destructive: false,
|
|
52721
|
-
cli: {
|
|
52722
|
-
group: ["working-hours"],
|
|
52723
|
-
command: "update-for-ghost",
|
|
52724
|
-
interactive: "hidden"
|
|
52725
|
-
},
|
|
52726
|
-
mcp: { entityTool: "working-hours" },
|
|
52727
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52728
|
-
ghost_id: /* @__PURE__ */ number$2(),
|
|
52729
|
-
payload: /* @__PURE__ */ unknown$1()
|
|
52730
|
-
}),
|
|
52731
|
-
execute: (input, { client }) => {
|
|
52732
|
-
const data = input;
|
|
52733
|
-
return client.runGeneratedRequest("updateWorkingHoursForGhost", () => callGeneratedRequest(updateWorkingHoursForGhost, [
|
|
52734
|
-
client.httpClient,
|
|
52735
|
-
client.organizationId,
|
|
52736
|
-
client.workspaceIdNumber,
|
|
52737
|
-
data.ghost_id,
|
|
52738
|
-
data.payload ?? data.data ?? data,
|
|
52739
|
-
void 0
|
|
52740
|
-
]));
|
|
52741
|
-
}
|
|
52742
|
-
},
|
|
52743
53780
|
{
|
|
52744
53781
|
id: "focus.working-hours.update-for-user",
|
|
52745
53782
|
family: "focus",
|
|
@@ -52814,6 +53851,50 @@ const generatedFocusOperations = [
|
|
|
52814
53851
|
void 0
|
|
52815
53852
|
]))
|
|
52816
53853
|
},
|
|
53854
|
+
{
|
|
53855
|
+
id: "focus.workspace-settings.get-workspace-export-branding",
|
|
53856
|
+
family: "focus",
|
|
53857
|
+
resource: "workspace-settings",
|
|
53858
|
+
action: "get-workspace-export-branding",
|
|
53859
|
+
title: "Get Workspace Export Branding Workspace Settings",
|
|
53860
|
+
description: "Get Workspace Export Branding Workspace Settings.",
|
|
53861
|
+
safety: "read",
|
|
53862
|
+
destructive: false,
|
|
53863
|
+
cli: {
|
|
53864
|
+
group: ["workspace-settings"],
|
|
53865
|
+
command: "get-workspace-export-branding",
|
|
53866
|
+
interactive: "hidden"
|
|
53867
|
+
},
|
|
53868
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53869
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53870
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceExportBranding", () => callGeneratedRequest(getWorkspaceExportBranding, [
|
|
53871
|
+
client.httpClient,
|
|
53872
|
+
client.workspaceIdNumber,
|
|
53873
|
+
void 0
|
|
53874
|
+
]))
|
|
53875
|
+
},
|
|
53876
|
+
{
|
|
53877
|
+
id: "focus.workspace-settings.get-workspace-watermark",
|
|
53878
|
+
family: "focus",
|
|
53879
|
+
resource: "workspace-settings",
|
|
53880
|
+
action: "get-workspace-watermark",
|
|
53881
|
+
title: "Get Workspace Watermark Workspace Settings",
|
|
53882
|
+
description: "Get Workspace Watermark Workspace Settings.",
|
|
53883
|
+
safety: "read",
|
|
53884
|
+
destructive: false,
|
|
53885
|
+
cli: {
|
|
53886
|
+
group: ["workspace-settings"],
|
|
53887
|
+
command: "get-workspace-watermark",
|
|
53888
|
+
interactive: "hidden"
|
|
53889
|
+
},
|
|
53890
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53891
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53892
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceWatermark", () => callGeneratedRequest(getWorkspaceWatermark, [
|
|
53893
|
+
client.httpClient,
|
|
53894
|
+
client.workspaceIdNumber,
|
|
53895
|
+
void 0
|
|
53896
|
+
]))
|
|
53897
|
+
},
|
|
52817
53898
|
{
|
|
52818
53899
|
id: "focus.workspace-settings.list",
|
|
52819
53900
|
family: "focus",
|
|
@@ -52888,6 +53969,32 @@ const generatedFocusOperations = [
|
|
|
52888
53969
|
]));
|
|
52889
53970
|
}
|
|
52890
53971
|
},
|
|
53972
|
+
{
|
|
53973
|
+
id: "focus.workspace-settings.update-workspace-watermark",
|
|
53974
|
+
family: "focus",
|
|
53975
|
+
resource: "workspace-settings",
|
|
53976
|
+
action: "update-workspace-watermark",
|
|
53977
|
+
title: "Update Workspace Watermark Workspace Settings",
|
|
53978
|
+
description: "Update Workspace Watermark Workspace Settings.",
|
|
53979
|
+
safety: "update",
|
|
53980
|
+
destructive: false,
|
|
53981
|
+
cli: {
|
|
53982
|
+
group: ["workspace-settings"],
|
|
53983
|
+
command: "update-workspace-watermark",
|
|
53984
|
+
interactive: "default"
|
|
53985
|
+
},
|
|
53986
|
+
mcp: { entityTool: "workspace-settings" },
|
|
53987
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_watermark: /* @__PURE__ */ boolean$1() }) }),
|
|
53988
|
+
execute: (input, { client }) => {
|
|
53989
|
+
const data = input;
|
|
53990
|
+
return client.runGeneratedRequest("updateWorkspaceWatermark", () => callGeneratedRequest(updateWorkspaceWatermark, [
|
|
53991
|
+
client.httpClient,
|
|
53992
|
+
client.workspaceIdNumber,
|
|
53993
|
+
data.payload ?? data.data ?? data,
|
|
53994
|
+
void 0
|
|
53995
|
+
]));
|
|
53996
|
+
}
|
|
53997
|
+
},
|
|
52891
53998
|
{
|
|
52892
53999
|
id: "focus.workspace.get-context",
|
|
52893
54000
|
family: "focus",
|
|
@@ -54015,7 +55122,7 @@ function registerWorkspaceTools(server) {
|
|
|
54015
55122
|
//#region src/package-version.ts
|
|
54016
55123
|
function mcpPackageVersion() {
|
|
54017
55124
|
try {
|
|
54018
|
-
return "1.11.
|
|
55125
|
+
return "1.11.13";
|
|
54019
55126
|
} catch {
|
|
54020
55127
|
return "unknown";
|
|
54021
55128
|
}
|
|
@@ -54190,7 +55297,7 @@ import_main.default.config({
|
|
|
54190
55297
|
quiet: true,
|
|
54191
55298
|
ignore: ["MISSING_ENV_FILE"]
|
|
54192
55299
|
});
|
|
54193
|
-
const packageVersion = "1.11.
|
|
55300
|
+
const packageVersion = "1.11.13";
|
|
54194
55301
|
function resolvePublicUrls() {
|
|
54195
55302
|
return {
|
|
54196
55303
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54255,4 +55362,4 @@ function bootstrapServer(options = {}) {
|
|
|
54255
55362
|
//#endregion
|
|
54256
55363
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54257
55364
|
|
|
54258
|
-
//# sourceMappingURL=src-
|
|
55365
|
+
//# sourceMappingURL=src-XV2GtoAm.js.map
|