@togglhq/mcp 1.11.13 → 1.11.15
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-XV2GtoAm.js → src-zPV0rN1b.js} +753 -1860
- package/package.json +1 -1
|
@@ -36428,7 +36428,11 @@ function safeParse(schema, input, config$1) {
|
|
|
36428
36428
|
}
|
|
36429
36429
|
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
36430
36430
|
id: /* @__PURE__ */ number(),
|
|
36431
|
-
type: /* @__PURE__ */ picklist([
|
|
36431
|
+
type: /* @__PURE__ */ picklist([
|
|
36432
|
+
"user",
|
|
36433
|
+
"ghost",
|
|
36434
|
+
"team"
|
|
36435
|
+
])
|
|
36432
36436
|
});
|
|
36433
36437
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
36434
36438
|
id: /* @__PURE__ */ number(),
|
|
@@ -36470,8 +36474,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
36470
36474
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36471
36475
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
36472
36476
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
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.")))
|
|
36477
|
+
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
36475
36478
|
});
|
|
36476
36479
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
36477
36480
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -36544,7 +36547,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36544
36547
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36545
36548
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
36546
36549
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36547
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
36550
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36548
36551
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
36549
36552
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36550
36553
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -36552,7 +36555,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36552
36555
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36553
36556
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36554
36557
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36555
|
-
|
|
36558
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36556
36559
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36557
36560
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36558
36561
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -36562,7 +36565,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36562
36565
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36563
36566
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36564
36567
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36565
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36566
36568
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36567
36569
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36568
36570
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -36606,7 +36608,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36606
36608
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36607
36609
|
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
36608
36610
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36609
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
36611
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36610
36612
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
36611
36613
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36612
36614
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -36614,7 +36616,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36614
36616
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36615
36617
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36616
36618
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36617
|
-
|
|
36619
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
36618
36620
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36619
36621
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36620
36622
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -36625,7 +36627,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36625
36627
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36626
36628
|
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36627
36629
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36628
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
36629
36630
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36630
36631
|
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36631
36632
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
@@ -36780,7 +36781,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
36780
36781
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36781
36782
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36782
36783
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36783
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36784
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
36784
36785
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36785
36786
|
});
|
|
36786
36787
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -36797,8 +36798,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36797
36798
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36798
36799
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36799
36800
|
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."))),
|
|
36802
36801
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36803
36802
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36804
36803
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36808,7 +36807,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36808
36807
|
tags: /* @__PURE__ */ optional(/* @__PURE__ */ array(TagLiteSchema)),
|
|
36809
36808
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
36810
36809
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36811
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36810
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
36812
36811
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36813
36812
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36814
36813
|
});
|
|
@@ -36931,7 +36930,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36931
36930
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36932
36931
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36933
36932
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
36934
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36933
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
36935
36934
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36936
36935
|
})),
|
|
36937
36936
|
page: /* @__PURE__ */ number(),
|
|
@@ -36963,8 +36962,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36963
36962
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36964
36963
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36965
36964
|
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."))),
|
|
36968
36965
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36969
36966
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36970
36967
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36976,7 +36973,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36976
36973
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
36977
36974
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
36978
36975
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36979
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the
|
|
36976
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
36980
36977
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36981
36978
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
36982
36979
|
})),
|
|
@@ -36988,15 +36985,9 @@ const TagSchema$1 = /* @__PURE__ */ object({
|
|
|
36988
36985
|
id: /* @__PURE__ */ number(),
|
|
36989
36986
|
name: /* @__PURE__ */ string(),
|
|
36990
36987
|
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."))),
|
|
36992
36988
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36993
36989
|
deleted_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.")))
|
|
36990
|
+
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
37000
36991
|
});
|
|
37001
36992
|
const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
37002
36993
|
data: /* @__PURE__ */ array(TagSchema$1),
|
|
@@ -37007,8 +36998,8 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
37007
36998
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
37008
36999
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
37009
37000
|
account_locked_at: /* @__PURE__ */ string(),
|
|
37010
|
-
accounts_role_id: /* @__PURE__ */ number(),
|
|
37011
37001
|
active: /* @__PURE__ */ boolean(),
|
|
37002
|
+
admin: /* @__PURE__ */ boolean(),
|
|
37012
37003
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
37013
37004
|
created_at: /* @__PURE__ */ string(),
|
|
37014
37005
|
deleted_at: /* @__PURE__ */ string(),
|
|
@@ -37057,9 +37048,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
37057
37048
|
track_role_id: /* @__PURE__ */ number(),
|
|
37058
37049
|
work_role_id: /* @__PURE__ */ number(),
|
|
37059
37050
|
workspace_user_id: /* @__PURE__ */ number()
|
|
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.")))
|
|
37051
|
+
}))
|
|
37063
37052
|
});
|
|
37064
37053
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37065
37054
|
const ProjectBulkRestorePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -37136,7 +37125,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37136
37125
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37137
37126
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37138
37127
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37139
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
37128
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37129
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37140
37130
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37141
37131
|
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37142
37132
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -37152,7 +37142,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37152
37142
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37153
37143
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37154
37144
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
37155
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37156
37145
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37157
37146
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
37158
37147
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37162,23 +37151,22 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37162
37151
|
const TaskBulkCreatePayloadSchema = /* @__PURE__ */ object({ tasks: /* @__PURE__ */ pipe(/* @__PURE__ */ array(TaskCreatePayloadSchema), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37163
37152
|
const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
37164
37153
|
cascade_duplicate_children: /* @__PURE__ */ boolean(),
|
|
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.")))
|
|
37154
|
+
task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100))
|
|
37167
37155
|
});
|
|
37168
37156
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37169
37157
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
37170
37158
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
37171
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37172
37159
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
37173
37160
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37174
37161
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37175
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
37162
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37176
37163
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37177
37164
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
37178
37165
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37179
37166
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37180
37167
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37181
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
37168
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37169
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37182
37170
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37183
37171
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37184
37172
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -37195,8 +37183,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37195
37183
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37196
37184
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37197
37185
|
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()),
|
|
37200
37186
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37201
37187
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37202
37188
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37205,17 +37191,17 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37205
37191
|
});
|
|
37206
37192
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
37207
37193
|
id: /* @__PURE__ */ number(),
|
|
37208
|
-
after_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37209
37194
|
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
37210
37195
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37211
37196
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
37212
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */
|
|
37197
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37213
37198
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37214
37199
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
37215
37200
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37216
37201
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37217
37202
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
37218
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */
|
|
37203
|
+
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37204
|
+
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
37219
37205
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
37220
37206
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37221
37207
|
outbound_sync: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -37232,8 +37218,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
37232
37218
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37233
37219
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37234
37220
|
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()),
|
|
37237
37221
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37238
37222
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
37239
37223
|
status_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -37396,7 +37380,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37396
37380
|
})
|
|
37397
37381
|
}).json();
|
|
37398
37382
|
}
|
|
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
|
|
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) {
|
|
37400
37384
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37401
37385
|
signal,
|
|
37402
37386
|
searchParams: buildSearchParams$2({
|
|
@@ -37416,10 +37400,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37416
37400
|
include_working_hours,
|
|
37417
37401
|
include_rates,
|
|
37418
37402
|
pinned_ids,
|
|
37419
|
-
has_group
|
|
37420
|
-
cf_filter,
|
|
37421
|
-
include_custom_fields,
|
|
37422
|
-
include_calendar_integration
|
|
37403
|
+
has_group
|
|
37423
37404
|
}, true)
|
|
37424
37405
|
});
|
|
37425
37406
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -37438,7 +37419,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
37438
37419
|
}
|
|
37439
37420
|
//#endregion
|
|
37440
37421
|
//#region ../focus-queries/dist/tags/requests.ts
|
|
37441
|
-
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id
|
|
37422
|
+
async function getTagsClassic(httpClient, workspace_id, { name, page, per_page, order_by, tag_id } = {}, signal) {
|
|
37442
37423
|
return await httpClient.get(`workspaces/${workspace_id}/tags`, {
|
|
37443
37424
|
signal,
|
|
37444
37425
|
searchParams: buildSearchParams$2({
|
|
@@ -37446,10 +37427,7 @@ async function getTagsClassic(httpClient, workspace_id, { name, page, per_page,
|
|
|
37446
37427
|
page,
|
|
37447
37428
|
per_page,
|
|
37448
37429
|
order_by,
|
|
37449
|
-
tag_id
|
|
37450
|
-
include_usage,
|
|
37451
|
-
include_archived,
|
|
37452
|
-
archived
|
|
37430
|
+
tag_id
|
|
37453
37431
|
})
|
|
37454
37432
|
}).json();
|
|
37455
37433
|
}
|
|
@@ -37459,42 +37437,6 @@ async function createTag(httpClient, workspace_id, data, signal) {
|
|
|
37459
37437
|
json: data
|
|
37460
37438
|
}).json();
|
|
37461
37439
|
}
|
|
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
|
-
}
|
|
37498
37440
|
async function getTag(httpClient, workspace_id, tag_id, signal) {
|
|
37499
37441
|
return await httpClient.get(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37500
37442
|
}
|
|
@@ -37507,18 +37449,12 @@ async function updateTag(httpClient, workspace_id, tag_id, data, signal) {
|
|
|
37507
37449
|
async function deleteTag(httpClient, workspace_id, tag_id, signal) {
|
|
37508
37450
|
return await httpClient.delete(`workspaces/${workspace_id}/tags/${tag_id}`, { signal }).json();
|
|
37509
37451
|
}
|
|
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
|
-
}
|
|
37513
37452
|
async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
37514
37453
|
return await httpClient.patch(`workspaces/${workspace_id}/tags/${tag_id}/restore`, { signal }).json();
|
|
37515
37454
|
}
|
|
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
|
-
}
|
|
37519
37455
|
//#endregion
|
|
37520
37456
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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,
|
|
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) {
|
|
37522
37458
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37523
37459
|
signal,
|
|
37524
37460
|
searchParams: buildSearchParams$2({
|
|
@@ -37540,7 +37476,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
37540
37476
|
include_rates,
|
|
37541
37477
|
include_rollover,
|
|
37542
37478
|
include_idle_recurring_templates,
|
|
37543
|
-
collapse_recurring,
|
|
37544
37479
|
include_drafts,
|
|
37545
37480
|
include_locked_private,
|
|
37546
37481
|
start_date,
|
|
@@ -37771,7 +37706,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37771
37706
|
}
|
|
37772
37707
|
//#endregion
|
|
37773
37708
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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
|
|
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, include_ghost_assignees, include_assignees, include_parent_matches, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
37775
37710
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37776
37711
|
signal,
|
|
37777
37712
|
searchParams: buildSearchParams$2({
|
|
@@ -37819,14 +37754,12 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37819
37754
|
recurring_task_ids,
|
|
37820
37755
|
client_id,
|
|
37821
37756
|
include_rates,
|
|
37757
|
+
include_ghost_assignees,
|
|
37822
37758
|
include_assignees,
|
|
37823
37759
|
include_parent_matches,
|
|
37760
|
+
assignee_ghost_id,
|
|
37824
37761
|
disable_aggregations,
|
|
37825
|
-
cf_filter
|
|
37826
|
-
recurring_occurrences_after,
|
|
37827
|
-
max_recurring_occurrences_after,
|
|
37828
|
-
recurring_task_read,
|
|
37829
|
-
include_projected_occurrences
|
|
37762
|
+
cf_filter
|
|
37830
37763
|
})
|
|
37831
37764
|
}).json();
|
|
37832
37765
|
}
|
|
@@ -37901,17 +37834,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37901
37834
|
})
|
|
37902
37835
|
}).json();
|
|
37903
37836
|
}
|
|
37904
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37837
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37905
37838
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37906
37839
|
signal,
|
|
37907
37840
|
searchParams: buildSearchParams$2({
|
|
37908
37841
|
date_from,
|
|
37909
|
-
date_to
|
|
37910
|
-
skip_provider_refresh
|
|
37842
|
+
date_to
|
|
37911
37843
|
})
|
|
37912
37844
|
}).json();
|
|
37913
37845
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37915
37847
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37916
37848
|
signal,
|
|
37917
37849
|
searchParams: buildSearchParams$2({
|
|
@@ -37924,18 +37856,14 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37924
37856
|
dates_overlap_end,
|
|
37925
37857
|
recurring_task_ids,
|
|
37926
37858
|
team_id,
|
|
37927
|
-
assignee_team_id,
|
|
37928
37859
|
assignee_user_id,
|
|
37929
37860
|
tag_id,
|
|
37930
|
-
|
|
37931
|
-
|
|
37932
|
-
max_recurring_occurrences_after,
|
|
37933
|
-
recurring_task_read,
|
|
37934
|
-
include_projected_occurrences
|
|
37861
|
+
include_ghost_assignees,
|
|
37862
|
+
include_assignees
|
|
37935
37863
|
})
|
|
37936
37864
|
}).json();
|
|
37937
37865
|
}
|
|
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,
|
|
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, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
37939
37867
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37940
37868
|
signal,
|
|
37941
37869
|
searchParams: buildSearchParams$2({
|
|
@@ -37979,19 +37907,20 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37979
37907
|
recurring,
|
|
37980
37908
|
recurring_task_ids,
|
|
37981
37909
|
client_id,
|
|
37910
|
+
include_ghost_assignees,
|
|
37982
37911
|
include_assignees,
|
|
37983
|
-
|
|
37984
|
-
|
|
37985
|
-
max_recurring_occurrences_after,
|
|
37986
|
-
recurring_task_read,
|
|
37987
|
-
include_projected_occurrences
|
|
37912
|
+
assignee_ghost_id,
|
|
37913
|
+
cf_filter
|
|
37988
37914
|
})
|
|
37989
37915
|
}).json();
|
|
37990
37916
|
}
|
|
37991
|
-
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_assignees } = {}, signal) {
|
|
37917
|
+
async function getTask(httpClient, organization_id, workspace_id, task_id, { include_ghost_assignees, include_assignees } = {}, signal) {
|
|
37992
37918
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}`, {
|
|
37993
37919
|
signal,
|
|
37994
|
-
searchParams: buildSearchParams$2({
|
|
37920
|
+
searchParams: buildSearchParams$2({
|
|
37921
|
+
include_ghost_assignees,
|
|
37922
|
+
include_assignees
|
|
37923
|
+
})
|
|
37995
37924
|
}).json();
|
|
37996
37925
|
}
|
|
37997
37926
|
async function updateTask(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
@@ -38022,7 +37951,7 @@ async function archiveTask(httpClient, organization_id, workspace_id, task_id, f
|
|
|
38022
37951
|
searchParams: buildSearchParams$2({ from_recurring_task_id })
|
|
38023
37952
|
}).json();
|
|
38024
37953
|
}
|
|
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) {
|
|
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, include_ghost_assignees, include_assignees } = {}, signal) {
|
|
38026
37955
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/children`, {
|
|
38027
37956
|
signal,
|
|
38028
37957
|
searchParams: buildSearchParams$2({
|
|
@@ -38035,17 +37964,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38035
37964
|
team_id,
|
|
38036
37965
|
assignee_user_id,
|
|
38037
37966
|
tag_id,
|
|
37967
|
+
include_ghost_assignees,
|
|
38038
37968
|
include_assignees
|
|
38039
37969
|
})
|
|
38040
37970
|
}).json();
|
|
38041
37971
|
}
|
|
38042
|
-
async function
|
|
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) {
|
|
37972
|
+
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_ghost_assignees, include_assignees } = {}, signal) {
|
|
38049
37973
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38050
37974
|
signal,
|
|
38051
37975
|
searchParams: buildSearchParams$2({
|
|
@@ -38058,6 +37982,7 @@ async function getTaskWithParentsClassic(httpClient, organization_id, workspace_
|
|
|
38058
37982
|
team_id,
|
|
38059
37983
|
assignee_user_id,
|
|
38060
37984
|
tag_id,
|
|
37985
|
+
include_ghost_assignees,
|
|
38061
37986
|
include_assignees
|
|
38062
37987
|
})
|
|
38063
37988
|
}).json();
|
|
@@ -38181,24 +38106,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38181
38106
|
})
|
|
38182
38107
|
}).json();
|
|
38183
38108
|
}
|
|
38184
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
38109
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38185
38110
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38186
38111
|
signal,
|
|
38187
|
-
json: data
|
|
38188
|
-
searchParams: buildSearchParams$2({
|
|
38189
|
-
from_recurring_task_id,
|
|
38190
|
-
return_occurrence
|
|
38191
|
-
})
|
|
38112
|
+
json: data
|
|
38192
38113
|
}).json();
|
|
38193
38114
|
}
|
|
38194
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
38115
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38195
38116
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38196
38117
|
signal,
|
|
38197
|
-
json: data
|
|
38198
|
-
searchParams: buildSearchParams$2({
|
|
38199
|
-
from_recurring_task_id,
|
|
38200
|
-
return_occurrence
|
|
38201
|
-
})
|
|
38118
|
+
json: data
|
|
38202
38119
|
}).json();
|
|
38203
38120
|
}
|
|
38204
38121
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38249,7 +38166,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38249
38166
|
json: data
|
|
38250
38167
|
}).json();
|
|
38251
38168
|
}
|
|
38252
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
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) {
|
|
38253
38170
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38254
38171
|
signal,
|
|
38255
38172
|
searchParams: buildSearchParams$2({
|
|
@@ -38257,7 +38174,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38257
38174
|
date_to,
|
|
38258
38175
|
task_id,
|
|
38259
38176
|
status_id,
|
|
38260
|
-
project_id,
|
|
38261
38177
|
type,
|
|
38262
38178
|
order_by,
|
|
38263
38179
|
archived,
|
|
@@ -38266,12 +38182,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38266
38182
|
})
|
|
38267
38183
|
}).json();
|
|
38268
38184
|
}
|
|
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
|
-
}
|
|
38275
38185
|
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38276
38186
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38277
38187
|
signal,
|
|
@@ -38281,33 +38191,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38281
38191
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38282
38192
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38283
38193
|
}
|
|
38284
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38194
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38285
38195
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38286
38196
|
signal,
|
|
38287
|
-
json: data
|
|
38288
|
-
searchParams: buildSearchParams$2({
|
|
38289
|
-
from_recurring_task_id,
|
|
38290
|
-
return_occurrence
|
|
38291
|
-
})
|
|
38197
|
+
json: data
|
|
38292
38198
|
}).json();
|
|
38293
38199
|
}
|
|
38294
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
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}`, { signal }).json();
|
|
38302
38202
|
}
|
|
38303
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38203
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38304
38204
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38305
38205
|
signal,
|
|
38306
|
-
json: data
|
|
38307
|
-
searchParams: buildSearchParams$2({
|
|
38308
|
-
from_recurring_task_id,
|
|
38309
|
-
return_occurrence
|
|
38310
|
-
})
|
|
38206
|
+
json: data
|
|
38311
38207
|
}).json();
|
|
38312
38208
|
}
|
|
38313
38209
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -42180,31 +42076,12 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42180
42076
|
}
|
|
42181
42077
|
//#endregion
|
|
42182
42078
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42183
|
-
async function
|
|
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) {
|
|
42079
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42201
42080
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42202
42081
|
signal,
|
|
42203
42082
|
searchParams: buildSearchParams$2({
|
|
42204
42083
|
entity_type,
|
|
42205
42084
|
entity_id,
|
|
42206
|
-
project_id,
|
|
42207
|
-
custom_field_id,
|
|
42208
42085
|
action,
|
|
42209
42086
|
user_id,
|
|
42210
42087
|
page_size,
|
|
@@ -42357,23 +42234,33 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42357
42234
|
}
|
|
42358
42235
|
//#endregion
|
|
42359
42236
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42360
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42237
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, ghost_id, private: private_, task_source, unit, include_drafts }, signal) {
|
|
42361
42238
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42362
42239
|
signal,
|
|
42363
42240
|
searchParams: buildSearchParams$2({
|
|
42241
|
+
user_id,
|
|
42364
42242
|
start_date,
|
|
42365
42243
|
end_date,
|
|
42366
|
-
|
|
42367
|
-
team_id,
|
|
42244
|
+
ghost_id,
|
|
42368
42245
|
private: private_,
|
|
42369
42246
|
task_source,
|
|
42370
42247
|
unit,
|
|
42371
|
-
include_drafts
|
|
42372
|
-
include_task_estimates
|
|
42248
|
+
include_drafts
|
|
42373
42249
|
})
|
|
42374
42250
|
}).json();
|
|
42375
42251
|
}
|
|
42376
42252
|
//#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
|
|
42377
42264
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
42378
42265
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
42379
42266
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -42424,15 +42311,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42424
42311
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42425
42312
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42426
42313
|
}
|
|
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
|
-
}
|
|
42436
42314
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42437
42315
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42438
42316
|
signal,
|
|
@@ -42465,12 +42343,6 @@ async function updateCustomFieldOption(httpClient, organization_id, workspace_id
|
|
|
42465
42343
|
async function deleteCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, option_id, signal) {
|
|
42466
42344
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options/${option_id}`, { signal }).json();
|
|
42467
42345
|
}
|
|
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
|
-
}
|
|
42474
42346
|
//#endregion
|
|
42475
42347
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42476
42348
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
@@ -42696,7 +42568,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42696
42568
|
}
|
|
42697
42569
|
//#endregion
|
|
42698
42570
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
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) {
|
|
42700
42572
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42701
42573
|
signal,
|
|
42702
42574
|
searchParams: buildSearchParams$2({
|
|
@@ -42708,7 +42580,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42708
42580
|
include_group_totals,
|
|
42709
42581
|
include_unassigned,
|
|
42710
42582
|
archived,
|
|
42711
|
-
completed,
|
|
42712
42583
|
private: private_,
|
|
42713
42584
|
name,
|
|
42714
42585
|
client_id,
|
|
@@ -42720,7 +42591,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42720
42591
|
start_date,
|
|
42721
42592
|
end_date,
|
|
42722
42593
|
user_id,
|
|
42723
|
-
only_me,
|
|
42724
42594
|
include_drafts,
|
|
42725
42595
|
cf_filter
|
|
42726
42596
|
})
|
|
@@ -42740,6 +42610,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42740
42610
|
json: data
|
|
42741
42611
|
}).json();
|
|
42742
42612
|
}
|
|
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
|
+
}
|
|
42743
42616
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42744
42617
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42745
42618
|
}
|
|
@@ -42833,14 +42706,10 @@ async function dismissATemplateEstimateSuggestion(httpClient, organization_id, w
|
|
|
42833
42706
|
}
|
|
42834
42707
|
//#endregion
|
|
42835
42708
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
42836
|
-
async function
|
|
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) {
|
|
42709
|
+
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
42840
42710
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
42841
42711
|
signal,
|
|
42842
42712
|
json: data,
|
|
42843
|
-
headers: { "X-Toggl-Report-Export": xTogglReportExport },
|
|
42844
42713
|
searchParams: buildSearchParams$2({
|
|
42845
42714
|
response_format,
|
|
42846
42715
|
include_dicts
|
|
@@ -42864,36 +42733,12 @@ async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
|
42864
42733
|
json: data
|
|
42865
42734
|
}).json();
|
|
42866
42735
|
}
|
|
42867
|
-
async function
|
|
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) {
|
|
42736
|
+
async function getWorkloadReport(httpClient, workspace_id, data, signal) {
|
|
42874
42737
|
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`, {
|
|
42890
42738
|
signal,
|
|
42891
42739
|
json: data
|
|
42892
42740
|
}).json();
|
|
42893
42741
|
}
|
|
42894
|
-
async function deleteSharedReportSchedule(httpClient, workspace_id, id, signal) {
|
|
42895
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/schedule`, { signal }).json();
|
|
42896
|
-
}
|
|
42897
42742
|
//#endregion
|
|
42898
42743
|
//#region ../focus-queries/dist/savedviews/requests.ts
|
|
42899
42744
|
async function getSavedViews(httpClient, workspace_id, { name, type, order_by } = {}, signal) {
|
|
@@ -42926,7 +42771,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42926
42771
|
}
|
|
42927
42772
|
//#endregion
|
|
42928
42773
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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
|
|
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) {
|
|
42930
42775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42931
42776
|
signal,
|
|
42932
42777
|
searchParams: buildSearchParams$2({
|
|
@@ -42938,56 +42783,11 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42938
42783
|
task_id,
|
|
42939
42784
|
include_drafts,
|
|
42940
42785
|
exclude_calendar_events,
|
|
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
|
|
42786
|
+
group_by_tags
|
|
42952
42787
|
})
|
|
42953
42788
|
}).json();
|
|
42954
42789
|
}
|
|
42955
42790
|
//#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
|
|
42991
42791
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42992
42792
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
42993
42793
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/current`, { signal }).json();
|
|
@@ -43043,90 +42843,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
43043
42843
|
}
|
|
43044
42844
|
//#endregion
|
|
43045
42845
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
43046
|
-
async function
|
|
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) {
|
|
42846
|
+
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_ghosts, include_assignees, min_days, include_drafts, cf_filter, page, per_page, order_by } = {}, signal) {
|
|
43127
42847
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43128
42848
|
signal,
|
|
43129
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43130
42849
|
searchParams: buildSearchParams$2({
|
|
43131
42850
|
source,
|
|
43132
42851
|
priority,
|
|
@@ -43148,18 +42867,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43148
42867
|
end_date_to,
|
|
43149
42868
|
private: private_,
|
|
43150
42869
|
exclude_empty,
|
|
43151
|
-
|
|
43152
|
-
include_unmaterialized,
|
|
43153
|
-
collapse_recurring,
|
|
42870
|
+
include_ghosts,
|
|
43154
42871
|
include_assignees,
|
|
43155
42872
|
min_days,
|
|
43156
42873
|
include_drafts,
|
|
43157
42874
|
cf_filter,
|
|
43158
|
-
user_cf_filter,
|
|
43159
|
-
recurring_occurrences_after,
|
|
43160
|
-
max_recurring_occurrences_after,
|
|
43161
|
-
recurring_task_read,
|
|
43162
|
-
include_projected_occurrences,
|
|
43163
42875
|
page,
|
|
43164
42876
|
per_page,
|
|
43165
42877
|
order_by
|
|
@@ -43198,18 +42910,17 @@ async function upsertTimeEntryConstraints(httpClient, workspace_id, data, signal
|
|
|
43198
42910
|
}).json();
|
|
43199
42911
|
}
|
|
43200
42912
|
//#endregion
|
|
43201
|
-
//#region ../focus-queries/dist/time-
|
|
43202
|
-
async function
|
|
43203
|
-
return await httpClient.
|
|
42913
|
+
//#region ../focus-queries/dist/time-log-suggestions/requests.ts
|
|
42914
|
+
async function getTimeLogSuggestionForACalendarEventTitle(httpClient, organization_id, workspace_id, data, signal) {
|
|
42915
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-log-suggestions`, {
|
|
43204
42916
|
signal,
|
|
43205
|
-
|
|
43206
|
-
|
|
43207
|
-
|
|
43208
|
-
|
|
43209
|
-
|
|
43210
|
-
|
|
43211
|
-
|
|
43212
|
-
})
|
|
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`, {
|
|
42922
|
+
signal,
|
|
42923
|
+
json: data
|
|
43213
42924
|
}).json();
|
|
43214
42925
|
}
|
|
43215
42926
|
//#endregion
|
|
@@ -43251,26 +42962,63 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43251
42962
|
json: data
|
|
43252
42963
|
}).json();
|
|
43253
42964
|
}
|
|
43254
|
-
|
|
43255
|
-
|
|
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`, {
|
|
42965
|
+
async function getTimeoffsByGhostIds(httpClient, organization_id, workspace_id, { ghost_ids, start_date, end_date }, signal) {
|
|
42966
|
+
return await httpClient.get(`organizations/${organization_id}/${workspace_id}/timeoff`, {
|
|
43258
42967
|
signal,
|
|
43259
42968
|
searchParams: buildSearchParams$2({
|
|
43260
|
-
|
|
43261
|
-
|
|
43262
|
-
|
|
42969
|
+
ghost_ids,
|
|
42970
|
+
start_date,
|
|
42971
|
+
end_date
|
|
43263
42972
|
})
|
|
43264
42973
|
}).json();
|
|
43265
42974
|
}
|
|
43266
|
-
async function
|
|
43267
|
-
return await httpClient.
|
|
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}`, {
|
|
42977
|
+
signal,
|
|
42978
|
+
searchParams: buildSearchParams$2({
|
|
42979
|
+
from,
|
|
42980
|
+
to
|
|
42981
|
+
})
|
|
42982
|
+
}).json();
|
|
42983
|
+
}
|
|
42984
|
+
async function updateTimeoffForGhost(httpClient, organization_id, workspace_id, ghost_id, data, signal) {
|
|
42985
|
+
return await httpClient.put(`organizations/${organization_id}/${workspace_id}/timeoff/ghosts/${ghost_id}`, {
|
|
43268
42986
|
signal,
|
|
43269
42987
|
json: data
|
|
43270
42988
|
}).json();
|
|
43271
42989
|
}
|
|
43272
|
-
async function
|
|
43273
|
-
return await httpClient.
|
|
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`, {
|
|
43016
|
+
signal,
|
|
43017
|
+
json: data
|
|
43018
|
+
}).json();
|
|
43019
|
+
}
|
|
43020
|
+
async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
|
|
43021
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal }).json();
|
|
43274
43022
|
}
|
|
43275
43023
|
async function updateTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, data, signal) {
|
|
43276
43024
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, {
|
|
@@ -43395,12 +43143,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43395
43143
|
}
|
|
43396
43144
|
//#endregion
|
|
43397
43145
|
//#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
|
-
}
|
|
43404
43146
|
async function getUserSettings(httpClient, signal) {
|
|
43405
43147
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43406
43148
|
}
|
|
@@ -43449,6 +43191,27 @@ async function deleteWorkingHoursForUser(httpClient, organization_id, user_id, d
|
|
|
43449
43191
|
json: data
|
|
43450
43192
|
}).json();
|
|
43451
43193
|
}
|
|
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
|
+
}
|
|
43452
43215
|
//#endregion
|
|
43453
43216
|
//#region ../focus-queries/dist/workspace/requests.ts
|
|
43454
43217
|
async function getWorkspaceContext(httpClient, workspace_id, signal) {
|
|
@@ -43465,9 +43228,6 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
|
43465
43228
|
json: data
|
|
43466
43229
|
}).json();
|
|
43467
43230
|
}
|
|
43468
|
-
async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
|
|
43469
|
-
return await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal }).json();
|
|
43470
|
-
}
|
|
43471
43231
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
43472
43232
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
43473
43233
|
}
|
|
@@ -43480,15 +43240,6 @@ async function updateWorkspaceSettings(httpClient, workspace_id, data, signal) {
|
|
|
43480
43240
|
json: data
|
|
43481
43241
|
}).json();
|
|
43482
43242
|
}
|
|
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
|
-
}
|
|
43492
43243
|
//#endregion
|
|
43493
43244
|
//#region ../operations/build/index.public.js
|
|
43494
43245
|
function callGeneratedRequest(request, args) {
|
|
@@ -43623,48 +43374,6 @@ const generatedFocusOperations = [
|
|
|
43623
43374
|
void 0
|
|
43624
43375
|
]))
|
|
43625
43376
|
},
|
|
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
|
-
},
|
|
43668
43377
|
{
|
|
43669
43378
|
id: "focus.audit-log.list",
|
|
43670
43379
|
family: "focus",
|
|
@@ -43682,7 +43391,6 @@ const generatedFocusOperations = [
|
|
|
43682
43391
|
mcp: { entityTool: "audit-log" },
|
|
43683
43392
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43684
43393
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43685
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43686
43394
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43687
43395
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43688
43396
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43690,7 +43398,6 @@ const generatedFocusOperations = [
|
|
|
43690
43398
|
from: /* @__PURE__ */ string$1(),
|
|
43691
43399
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43692
43400
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43693
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43694
43401
|
to: /* @__PURE__ */ string$1(),
|
|
43695
43402
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43696
43403
|
}),
|
|
@@ -43724,13 +43431,12 @@ const generatedFocusOperations = [
|
|
|
43724
43431
|
mcp: { entityTool: "capacities" },
|
|
43725
43432
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43726
43433
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43434
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
43727
43435
|
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43728
43436
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43729
|
-
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43730
43437
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43731
43438
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43732
43439
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43733
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43734
43440
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43735
43441
|
user_id: /* @__PURE__ */ number$2()
|
|
43736
43442
|
}),
|
|
@@ -43746,6 +43452,54 @@ const generatedFocusOperations = [
|
|
|
43746
43452
|
]));
|
|
43747
43453
|
}
|
|
43748
43454
|
},
|
|
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
|
+
},
|
|
43749
43503
|
{
|
|
43750
43504
|
id: "focus.clients.create",
|
|
43751
43505
|
family: "focus",
|
|
@@ -43940,7 +43694,8 @@ const generatedFocusOperations = [
|
|
|
43940
43694
|
hourly_rate: /* @__PURE__ */ number$2(),
|
|
43941
43695
|
start_at: apiDateTimeString,
|
|
43942
43696
|
end_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43943
|
-
})))
|
|
43697
|
+
}))),
|
|
43698
|
+
resource_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
43944
43699
|
}) }),
|
|
43945
43700
|
execute: (input, { client }) => {
|
|
43946
43701
|
const data = input;
|
|
@@ -43995,7 +43750,6 @@ const generatedFocusOperations = [
|
|
|
43995
43750
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43996
43751
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43997
43752
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43998
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43999
43753
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44000
43754
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44001
43755
|
}),
|
|
@@ -44028,7 +43782,6 @@ const generatedFocusOperations = [
|
|
|
44028
43782
|
priority_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
44029
43783
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44030
43784
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44031
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44032
43785
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44033
43786
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44034
43787
|
}))),
|
|
@@ -44084,11 +43837,7 @@ const generatedFocusOperations = [
|
|
|
44084
43837
|
},
|
|
44085
43838
|
mcp: { entityTool: "custom-fields" },
|
|
44086
43839
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44087
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44088
|
-
"project",
|
|
44089
|
-
"task",
|
|
44090
|
-
"user"
|
|
44091
|
-
]),
|
|
43840
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44092
43841
|
field_type: /* @__PURE__ */ picklist$1([
|
|
44093
43842
|
"select",
|
|
44094
43843
|
"multi_select",
|
|
@@ -44171,33 +43920,6 @@ const generatedFocusOperations = [
|
|
|
44171
43920
|
]));
|
|
44172
43921
|
}
|
|
44173
43922
|
},
|
|
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
|
-
},
|
|
44201
43923
|
{
|
|
44202
43924
|
id: "focus.custom-fields.list",
|
|
44203
43925
|
family: "focus",
|
|
@@ -44367,37 +44089,6 @@ const generatedFocusOperations = [
|
|
|
44367
44089
|
]));
|
|
44368
44090
|
}
|
|
44369
44091
|
},
|
|
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
|
-
},
|
|
44401
44092
|
{
|
|
44402
44093
|
id: "focus.custom-fields.update",
|
|
44403
44094
|
family: "focus",
|
|
@@ -44479,11 +44170,7 @@ const generatedFocusOperations = [
|
|
|
44479
44170
|
},
|
|
44480
44171
|
mcp: { entityTool: "custom-fields" },
|
|
44481
44172
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44482
|
-
entity_type: /* @__PURE__ */ picklist$1([
|
|
44483
|
-
"project",
|
|
44484
|
-
"task",
|
|
44485
|
-
"user"
|
|
44486
|
-
]),
|
|
44173
|
+
entity_type: /* @__PURE__ */ picklist$1(["project", "task"]),
|
|
44487
44174
|
ordered_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44488
44175
|
}) }),
|
|
44489
44176
|
execute: (input, { client }) => {
|
|
@@ -44497,37 +44184,6 @@ const generatedFocusOperations = [
|
|
|
44497
44184
|
]));
|
|
44498
44185
|
}
|
|
44499
44186
|
},
|
|
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
|
-
},
|
|
44531
44187
|
{
|
|
44532
44188
|
id: "focus.goals.create",
|
|
44533
44189
|
family: "focus",
|
|
@@ -44544,7 +44200,13 @@ const generatedFocusOperations = [
|
|
|
44544
44200
|
},
|
|
44545
44201
|
mcp: { entityTool: "goals" },
|
|
44546
44202
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44203
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44547
44204
|
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()),
|
|
44548
44210
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44549
44211
|
"daily",
|
|
44550
44212
|
"weekly",
|
|
@@ -44552,18 +44214,12 @@ const generatedFocusOperations = [
|
|
|
44552
44214
|
"monthly"
|
|
44553
44215
|
]),
|
|
44554
44216
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44217
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44555
44218
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44556
|
-
|
|
44219
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44220
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44557
44221
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
44222
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44567
44223
|
}) }),
|
|
44568
44224
|
execute: (input, { client }) => {
|
|
44569
44225
|
const data = input;
|
|
@@ -44669,6 +44325,13 @@ const generatedFocusOperations = [
|
|
|
44669
44325
|
},
|
|
44670
44326
|
mcp: { entityTool: "goals" },
|
|
44671
44327
|
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()),
|
|
44672
44335
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44673
44336
|
"daily",
|
|
44674
44337
|
"weekly",
|
|
@@ -44676,19 +44339,12 @@ const generatedFocusOperations = [
|
|
|
44676
44339
|
"monthly"
|
|
44677
44340
|
]),
|
|
44678
44341
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44679
|
-
|
|
44342
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44343
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44344
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44345
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44680
44346
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44681
|
-
|
|
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()))
|
|
44347
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44692
44348
|
}) }),
|
|
44693
44349
|
execute: (input, { client }) => {
|
|
44694
44350
|
const data = input;
|
|
@@ -44747,22 +44403,10 @@ const generatedFocusOperations = [
|
|
|
44747
44403
|
goal_id: /* @__PURE__ */ number$2(),
|
|
44748
44404
|
payload: /* @__PURE__ */ looseObject({
|
|
44749
44405
|
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44750
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44751
44406
|
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44752
44407
|
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44753
44408
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44754
|
-
|
|
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()))
|
|
44409
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44766
44410
|
})
|
|
44767
44411
|
}),
|
|
44768
44412
|
execute: (input, { client }) => {
|
|
@@ -45655,17 +45299,9 @@ const generatedFocusOperations = [
|
|
|
45655
45299
|
mcp: { entityTool: "projects" },
|
|
45656
45300
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45657
45301
|
payload: /* @__PURE__ */ looseObject({
|
|
45658
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45659
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45660
45302
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45661
45303
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45662
45304
|
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()),
|
|
45669
45305
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45670
45306
|
}),
|
|
45671
45307
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46103,7 +45739,6 @@ const generatedFocusOperations = [
|
|
|
46103
45739
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46104
45740
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46105
45741
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46106
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46107
45742
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46108
45743
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
46109
45744
|
group: /* @__PURE__ */ string$1(),
|
|
@@ -46111,7 +45746,6 @@ const generatedFocusOperations = [
|
|
|
46111
45746
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46112
45747
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46113
45748
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46114
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46115
45749
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46116
45750
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46117
45751
|
parent_project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -46211,6 +45845,29 @@ const generatedFocusOperations = [
|
|
|
46211
45845
|
]));
|
|
46212
45846
|
}
|
|
46213
45847
|
},
|
|
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
|
+
},
|
|
46214
45871
|
{
|
|
46215
45872
|
id: "focus.projects.margin-targets-get",
|
|
46216
45873
|
family: "focus",
|
|
@@ -48273,10 +47930,7 @@ const generatedFocusOperations = [
|
|
|
48273
47930
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48274
47931
|
name: /* @__PURE__ */ string$1(),
|
|
48275
47932
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
47933
|
+
}))
|
|
48280
47934
|
}),
|
|
48281
47935
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48282
47936
|
}),
|
|
@@ -48317,28 +47971,6 @@ const generatedFocusOperations = [
|
|
|
48317
47971
|
]));
|
|
48318
47972
|
}
|
|
48319
47973
|
},
|
|
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
|
-
},
|
|
48342
47974
|
{
|
|
48343
47975
|
id: "focus.reports.get-profitability",
|
|
48344
47976
|
family: "focus",
|
|
@@ -48398,17 +48030,9 @@ const generatedFocusOperations = [
|
|
|
48398
48030
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48399
48031
|
name: /* @__PURE__ */ string$1(),
|
|
48400
48032
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
48033
|
+
}))
|
|
48405
48034
|
}),
|
|
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
|
-
]))
|
|
48035
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"]))
|
|
48412
48036
|
}),
|
|
48413
48037
|
execute: (input, { client }) => {
|
|
48414
48038
|
const data = input;
|
|
@@ -48418,23 +48042,22 @@ const generatedFocusOperations = [
|
|
|
48418
48042
|
data.payload ?? data.data ?? data,
|
|
48419
48043
|
data.response_format,
|
|
48420
48044
|
data.include_dicts,
|
|
48421
|
-
data.xTogglReportExport,
|
|
48422
48045
|
void 0
|
|
48423
48046
|
]));
|
|
48424
48047
|
}
|
|
48425
48048
|
},
|
|
48426
48049
|
{
|
|
48427
|
-
id: "focus.reports.get-
|
|
48050
|
+
id: "focus.reports.get-workload",
|
|
48428
48051
|
family: "focus",
|
|
48429
48052
|
resource: "reports",
|
|
48430
|
-
action: "get-
|
|
48431
|
-
title: "Get
|
|
48432
|
-
description: "Get
|
|
48053
|
+
action: "get-workload",
|
|
48054
|
+
title: "Get Workload Reports",
|
|
48055
|
+
description: "Get Workload Reports.",
|
|
48433
48056
|
safety: "update",
|
|
48434
48057
|
destructive: false,
|
|
48435
48058
|
cli: {
|
|
48436
48059
|
group: ["reports"],
|
|
48437
|
-
command: "get-
|
|
48060
|
+
command: "get-workload",
|
|
48438
48061
|
interactive: "hidden"
|
|
48439
48062
|
},
|
|
48440
48063
|
mcp: { entityTool: "reports" },
|
|
@@ -48480,207 +48103,14 @@ const generatedFocusOperations = [
|
|
|
48480
48103
|
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48481
48104
|
name: /* @__PURE__ */ string$1(),
|
|
48482
48105
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
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())
|
|
48106
|
+
}))
|
|
48487
48107
|
}) }),
|
|
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
|
-
}),
|
|
48567
48108
|
execute: (input, { client }) => {
|
|
48568
48109
|
const data = input;
|
|
48569
48110
|
return client.runGeneratedRequest("getWorkloadReport", () => callGeneratedRequest(getWorkloadReport, [
|
|
48570
48111
|
client.httpClient,
|
|
48571
48112
|
client.workspaceIdNumber,
|
|
48572
48113
|
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,
|
|
48684
48114
|
void 0
|
|
48685
48115
|
]));
|
|
48686
48116
|
}
|
|
@@ -48718,9 +48148,7 @@ const generatedFocusOperations = [
|
|
|
48718
48148
|
"reports.detailed",
|
|
48719
48149
|
"reports.utilization",
|
|
48720
48150
|
"reports.workload",
|
|
48721
|
-
"reports.profitability"
|
|
48722
|
-
"reports.time-off",
|
|
48723
|
-
"reports.time-accounting"
|
|
48151
|
+
"reports.profitability"
|
|
48724
48152
|
]),
|
|
48725
48153
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48726
48154
|
}) }),
|
|
@@ -48843,36 +48271,6 @@ const generatedFocusOperations = [
|
|
|
48843
48271
|
]));
|
|
48844
48272
|
}
|
|
48845
48273
|
},
|
|
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
|
-
},
|
|
48876
48274
|
{
|
|
48877
48275
|
id: "focus.search.search",
|
|
48878
48276
|
family: "focus",
|
|
@@ -48900,240 +48298,6 @@ const generatedFocusOperations = [
|
|
|
48900
48298
|
]));
|
|
48901
48299
|
}
|
|
48902
48300
|
},
|
|
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
|
-
},
|
|
49137
48301
|
{
|
|
49138
48302
|
id: "focus.statuses.create-status",
|
|
49139
48303
|
family: "focus",
|
|
@@ -49329,242 +48493,83 @@ const generatedFocusOperations = [
|
|
|
49329
48493
|
safety: "read",
|
|
49330
48494
|
destructive: false,
|
|
49331
48495
|
cli: {
|
|
49332
|
-
group: ["subscriptions"],
|
|
49333
|
-
command: "get-current-trial",
|
|
49334
|
-
interactive: "hidden"
|
|
49335
|
-
},
|
|
49336
|
-
mcp: { entityTool: "subscriptions" },
|
|
49337
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
49338
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
|
|
49339
|
-
client.httpClient,
|
|
49340
|
-
client.organizationId,
|
|
49341
|
-
void 0
|
|
49342
|
-
]))
|
|
49343
|
-
},
|
|
49344
|
-
{
|
|
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
|
-
}
|
|
48496
|
+
group: ["subscriptions"],
|
|
48497
|
+
command: "get-current-trial",
|
|
48498
|
+
interactive: "hidden"
|
|
48499
|
+
},
|
|
48500
|
+
mcp: { entityTool: "subscriptions" },
|
|
48501
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48502
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getCurrentTrial", () => callGeneratedRequest(getCurrentTrial, [
|
|
48503
|
+
client.httpClient,
|
|
48504
|
+
client.organizationId,
|
|
48505
|
+
void 0
|
|
48506
|
+
]))
|
|
49495
48507
|
},
|
|
49496
48508
|
{
|
|
49497
|
-
id: "focus.
|
|
48509
|
+
id: "focus.subscriptions.get-features-upsell",
|
|
49498
48510
|
family: "focus",
|
|
49499
|
-
resource: "
|
|
49500
|
-
action: "
|
|
49501
|
-
title: "
|
|
49502
|
-
description: "
|
|
49503
|
-
safety: "
|
|
49504
|
-
destructive:
|
|
48511
|
+
resource: "subscriptions",
|
|
48512
|
+
action: "get-features-upsell",
|
|
48513
|
+
title: "Get Features Upsell Subscriptions",
|
|
48514
|
+
description: "Get Features Upsell Subscriptions.",
|
|
48515
|
+
safety: "read",
|
|
48516
|
+
destructive: false,
|
|
49505
48517
|
cli: {
|
|
49506
|
-
group: ["
|
|
49507
|
-
command: "
|
|
49508
|
-
interactive: "
|
|
48518
|
+
group: ["subscriptions"],
|
|
48519
|
+
command: "get-features-upsell",
|
|
48520
|
+
interactive: "hidden"
|
|
49509
48521
|
},
|
|
49510
|
-
mcp: { entityTool: "
|
|
49511
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49512
|
-
execute: (
|
|
49513
|
-
|
|
49514
|
-
|
|
49515
|
-
|
|
49516
|
-
|
|
49517
|
-
data.ids,
|
|
49518
|
-
void 0
|
|
49519
|
-
]));
|
|
49520
|
-
}
|
|
48522
|
+
mcp: { entityTool: "subscriptions" },
|
|
48523
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48524
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getFeaturesUpsell", () => callGeneratedRequest(getFeaturesUpsell, [
|
|
48525
|
+
client.httpClient,
|
|
48526
|
+
client.organizationId,
|
|
48527
|
+
void 0
|
|
48528
|
+
]))
|
|
49521
48529
|
},
|
|
49522
48530
|
{
|
|
49523
|
-
id: "focus.
|
|
48531
|
+
id: "focus.subscriptions.get-plans",
|
|
49524
48532
|
family: "focus",
|
|
49525
|
-
resource: "
|
|
49526
|
-
action: "
|
|
49527
|
-
title: "
|
|
49528
|
-
description: "
|
|
49529
|
-
safety: "
|
|
48533
|
+
resource: "subscriptions",
|
|
48534
|
+
action: "get-plans",
|
|
48535
|
+
title: "Get Plans Subscriptions",
|
|
48536
|
+
description: "Get Plans Subscriptions.",
|
|
48537
|
+
safety: "read",
|
|
49530
48538
|
destructive: false,
|
|
49531
48539
|
cli: {
|
|
49532
|
-
group: ["
|
|
49533
|
-
command: "
|
|
49534
|
-
interactive: "
|
|
48540
|
+
group: ["subscriptions"],
|
|
48541
|
+
command: "get-plans",
|
|
48542
|
+
interactive: "hidden"
|
|
49535
48543
|
},
|
|
49536
|
-
mcp: { entityTool: "
|
|
49537
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49538
|
-
execute: (
|
|
49539
|
-
|
|
49540
|
-
|
|
49541
|
-
|
|
49542
|
-
|
|
49543
|
-
data.payload ?? data.data ?? data,
|
|
49544
|
-
void 0
|
|
49545
|
-
]));
|
|
49546
|
-
}
|
|
48544
|
+
mcp: { entityTool: "subscriptions" },
|
|
48545
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
48546
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
48547
|
+
client.httpClient,
|
|
48548
|
+
client.organizationId,
|
|
48549
|
+
void 0
|
|
48550
|
+
]))
|
|
49547
48551
|
},
|
|
49548
48552
|
{
|
|
49549
|
-
id: "focus.
|
|
48553
|
+
id: "focus.subscriptions.upsert-forced-trial",
|
|
49550
48554
|
family: "focus",
|
|
49551
|
-
resource: "
|
|
49552
|
-
action: "
|
|
49553
|
-
title: "
|
|
49554
|
-
description: "
|
|
48555
|
+
resource: "subscriptions",
|
|
48556
|
+
action: "upsert-forced-trial",
|
|
48557
|
+
title: "Upsert Forced Trial Subscriptions",
|
|
48558
|
+
description: "Upsert Forced Trial Subscriptions.",
|
|
49555
48559
|
safety: "update",
|
|
49556
48560
|
destructive: false,
|
|
49557
48561
|
cli: {
|
|
49558
|
-
group: ["
|
|
49559
|
-
command: "
|
|
48562
|
+
group: ["subscriptions"],
|
|
48563
|
+
command: "upsert-forced-trial",
|
|
49560
48564
|
interactive: "default"
|
|
49561
48565
|
},
|
|
49562
|
-
mcp: { entityTool: "
|
|
49563
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48566
|
+
mcp: { entityTool: "subscriptions" },
|
|
48567
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ plan_workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()) }) }),
|
|
49564
48568
|
execute: (input, { client }) => {
|
|
49565
48569
|
const data = input;
|
|
49566
|
-
return client.runGeneratedRequest("
|
|
48570
|
+
return client.runGeneratedRequest("upsertForcedTrial", () => callGeneratedRequest(upsertForcedTrial, [
|
|
49567
48571
|
client.httpClient,
|
|
48572
|
+
client.organizationId,
|
|
49568
48573
|
client.workspaceIdNumber,
|
|
49569
48574
|
data.payload ?? data.data ?? data,
|
|
49570
48575
|
void 0
|
|
@@ -49655,35 +48660,6 @@ const generatedFocusOperations = [
|
|
|
49655
48660
|
return client.listTags(data);
|
|
49656
48661
|
}
|
|
49657
48662
|
},
|
|
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
|
-
},
|
|
49687
48663
|
{
|
|
49688
48664
|
id: "focus.tags.restore",
|
|
49689
48665
|
family: "focus",
|
|
@@ -49710,32 +48686,6 @@ const generatedFocusOperations = [
|
|
|
49710
48686
|
]));
|
|
49711
48687
|
}
|
|
49712
48688
|
},
|
|
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
|
-
},
|
|
49739
48689
|
{
|
|
49740
48690
|
id: "focus.tags.update",
|
|
49741
48691
|
family: "focus",
|
|
@@ -50176,37 +49126,6 @@ const generatedFocusOperations = [
|
|
|
50176
49126
|
return client.createTask(data);
|
|
50177
49127
|
}
|
|
50178
49128
|
},
|
|
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
|
-
},
|
|
50210
49129
|
{
|
|
50211
49130
|
id: "focus.tasks.delete",
|
|
50212
49131
|
family: "focus",
|
|
@@ -50448,19 +49367,15 @@ const generatedFocusOperations = [
|
|
|
50448
49367
|
mcp: { entityTool: "tasks" },
|
|
50449
49368
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50450
49369
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50451
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50452
49370
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50453
49371
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50454
49372
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50455
49373
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50456
49374
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50457
|
-
|
|
50458
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49375
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50459
49376
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50460
49377
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50461
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50462
49378
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50463
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50464
49379
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50465
49380
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50466
49381
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50494,6 +49409,7 @@ const generatedFocusOperations = [
|
|
|
50494
49409
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50495
49410
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50496
49411
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49412
|
+
assignee_ghost_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50497
49413
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50498
49414
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50499
49415
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50510,11 +49426,10 @@ const generatedFocusOperations = [
|
|
|
50510
49426
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50511
49427
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50512
49428
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49429
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50513
49430
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
49431
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50515
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50516
49432
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50517
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50518
49433
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
49434
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50520
49435
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50523,9 +49438,7 @@ const generatedFocusOperations = [
|
|
|
50523
49438
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50524
49439
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50525
49440
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50526
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50527
49441
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50528
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50529
49442
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50530
49443
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50531
49444
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50569,6 +49482,7 @@ const generatedFocusOperations = [
|
|
|
50569
49482
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50570
49483
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50571
49484
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49485
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50572
49486
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50573
49487
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50574
49488
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50584,195 +49498,65 @@ const generatedFocusOperations = [
|
|
|
50584
49498
|
client.httpClient,
|
|
50585
49499
|
client.organizationId,
|
|
50586
49500
|
client.workspaceIdNumber,
|
|
50587
|
-
data.task_id,
|
|
50588
|
-
data,
|
|
50589
|
-
void 0
|
|
50590
|
-
]));
|
|
50591
|
-
}
|
|
50592
|
-
},
|
|
50593
|
-
{
|
|
50594
|
-
id: "focus.tasks.get-with-parents",
|
|
50595
|
-
family: "focus",
|
|
50596
|
-
resource: "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,
|
|
49501
|
+
data.task_id,
|
|
50698
49502
|
data,
|
|
50699
49503
|
void 0
|
|
50700
49504
|
]));
|
|
50701
49505
|
}
|
|
50702
49506
|
},
|
|
50703
49507
|
{
|
|
50704
|
-
id: "focus.tasks.
|
|
49508
|
+
id: "focus.tasks.get-with-parents",
|
|
50705
49509
|
family: "focus",
|
|
50706
49510
|
resource: "tasks",
|
|
50707
|
-
action: "
|
|
50708
|
-
title: "
|
|
50709
|
-
description: "
|
|
49511
|
+
action: "get-with-parents",
|
|
49512
|
+
title: "Get With Parents Tasks",
|
|
49513
|
+
description: "Get With Parents Tasks.",
|
|
50710
49514
|
safety: "read",
|
|
50711
49515
|
destructive: false,
|
|
50712
49516
|
cli: {
|
|
50713
|
-
group: ["tasks"
|
|
50714
|
-
command: "get-
|
|
49517
|
+
group: ["tasks"],
|
|
49518
|
+
command: "get-with-parents",
|
|
50715
49519
|
interactive: "hidden"
|
|
50716
49520
|
},
|
|
50717
49521
|
mcp: { entityTool: "tasks" },
|
|
50718
49522
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50719
|
-
|
|
50720
|
-
|
|
50721
|
-
|
|
50722
|
-
|
|
50723
|
-
|
|
50724
|
-
|
|
50725
|
-
|
|
50726
|
-
|
|
50727
|
-
|
|
50728
|
-
|
|
50729
|
-
|
|
50730
|
-
|
|
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()
|
|
49523
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49524
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49525
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49526
|
+
include_ghost_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49527
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49528
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49529
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49530
|
+
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49531
|
+
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49532
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
49533
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
49534
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50752
49535
|
}),
|
|
50753
49536
|
execute: (input, { client }) => {
|
|
50754
49537
|
const data = input;
|
|
50755
|
-
return client.runGeneratedRequest("
|
|
49538
|
+
return client.runGeneratedRequest("getTaskWithParentsClassic", () => callGeneratedRequest(getTaskWithParentsClassic, [
|
|
50756
49539
|
client.httpClient,
|
|
50757
49540
|
client.organizationId,
|
|
50758
49541
|
client.workspaceIdNumber,
|
|
49542
|
+
data.task_id,
|
|
50759
49543
|
data,
|
|
50760
49544
|
void 0
|
|
50761
49545
|
]));
|
|
50762
49546
|
}
|
|
50763
49547
|
},
|
|
50764
49548
|
{
|
|
50765
|
-
id: "focus.tasks.groups-get
|
|
49549
|
+
id: "focus.tasks.groups-get",
|
|
50766
49550
|
family: "focus",
|
|
50767
49551
|
resource: "tasks",
|
|
50768
|
-
action: "groups-get
|
|
50769
|
-
title: "Groups Get
|
|
50770
|
-
description: "Groups Get
|
|
49552
|
+
action: "groups-get",
|
|
49553
|
+
title: "Groups Get Tasks",
|
|
49554
|
+
description: "Groups Get Tasks.",
|
|
50771
49555
|
safety: "read",
|
|
50772
49556
|
destructive: false,
|
|
50773
49557
|
cli: {
|
|
50774
49558
|
group: ["tasks", "groups"],
|
|
50775
|
-
command: "get
|
|
49559
|
+
command: "get",
|
|
50776
49560
|
interactive: "hidden"
|
|
50777
49561
|
},
|
|
50778
49562
|
mcp: { entityTool: "tasks" },
|
|
@@ -50780,43 +49564,44 @@ const generatedFocusOperations = [
|
|
|
50780
49564
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50781
49565
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50782
49566
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50783
|
-
collapse_recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50784
49567
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50785
49568
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50786
49569
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50787
49570
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50788
49571
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49572
|
+
group: /* @__PURE__ */ picklist$1([
|
|
49573
|
+
"projects",
|
|
49574
|
+
"users",
|
|
49575
|
+
"tags"
|
|
49576
|
+
]),
|
|
50789
49577
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50790
49578
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50791
49579
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50792
|
-
|
|
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()),
|
|
49580
|
+
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50796
49581
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50797
49582
|
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()),
|
|
50798
49586
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50799
49587
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50800
49588
|
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()),
|
|
50803
49589
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50804
49590
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50805
49591
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50806
49592
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50807
49593
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50808
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
49594
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50809
49595
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50810
|
-
|
|
50811
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50812
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49596
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50813
49597
|
}),
|
|
50814
49598
|
execute: (input, { client }) => {
|
|
50815
49599
|
const data = input;
|
|
50816
|
-
return client.runGeneratedRequest("
|
|
49600
|
+
return client.runGeneratedRequest("getTaskGroupsClassic", () => callGeneratedRequest(getTaskGroupsClassic, [
|
|
50817
49601
|
client.httpClient,
|
|
50818
49602
|
client.organizationId,
|
|
50819
49603
|
client.workspaceIdNumber,
|
|
49604
|
+
data.group,
|
|
50820
49605
|
data,
|
|
50821
49606
|
void 0
|
|
50822
49607
|
]));
|
|
@@ -51027,6 +49812,7 @@ const generatedFocusOperations = [
|
|
|
51027
49812
|
name: /* @__PURE__ */ string$1(),
|
|
51028
49813
|
status_id: /* @__PURE__ */ number$2(),
|
|
51029
49814
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
49815
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51030
49816
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51031
49817
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51032
49818
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -51046,7 +49832,6 @@ const generatedFocusOperations = [
|
|
|
51046
49832
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51047
49833
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51048
49834
|
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51049
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51050
49835
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51051
49836
|
}),
|
|
51052
49837
|
task_id: /* @__PURE__ */ number$2()
|
|
@@ -51080,8 +49865,7 @@ const generatedFocusOperations = [
|
|
|
51080
49865
|
mcp: { entityTool: "tasks" },
|
|
51081
49866
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51082
49867
|
date_from: /* @__PURE__ */ string$1(),
|
|
51083
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51084
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
49868
|
+
date_to: /* @__PURE__ */ string$1()
|
|
51085
49869
|
}),
|
|
51086
49870
|
execute: (input, { client }) => {
|
|
51087
49871
|
const data = input;
|
|
@@ -51091,7 +49875,6 @@ const generatedFocusOperations = [
|
|
|
51091
49875
|
client.workspaceIdNumber,
|
|
51092
49876
|
data.date_from,
|
|
51093
49877
|
data.date_to,
|
|
51094
|
-
data.skip_provider_refresh,
|
|
51095
49878
|
void 0
|
|
51096
49879
|
]));
|
|
51097
49880
|
}
|
|
@@ -51678,8 +50461,7 @@ const generatedFocusOperations = [
|
|
|
51678
50461
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51679
50462
|
"project",
|
|
51680
50463
|
"task",
|
|
51681
|
-
"description"
|
|
51682
|
-
"tags"
|
|
50464
|
+
"description"
|
|
51683
50465
|
]) })),
|
|
51684
50466
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51685
50467
|
}) }),
|
|
@@ -51709,7 +50491,6 @@ const generatedFocusOperations = [
|
|
|
51709
50491
|
},
|
|
51710
50492
|
mcp: { entityTool: "time-entries" },
|
|
51711
50493
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51712
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51713
50494
|
payload: /* @__PURE__ */ looseObject({
|
|
51714
50495
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51715
50496
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51720,13 +50501,11 @@ const generatedFocusOperations = [
|
|
|
51720
50501
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51721
50502
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51722
50503
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51723
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51724
50504
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51725
50505
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51726
50506
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51727
50507
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51728
50508
|
}),
|
|
51729
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51730
50509
|
task_id: /* @__PURE__ */ number$2()
|
|
51731
50510
|
}),
|
|
51732
50511
|
execute: (input, { client }) => {
|
|
@@ -51737,8 +50516,6 @@ const generatedFocusOperations = [
|
|
|
51737
50516
|
client.workspaceIdNumber,
|
|
51738
50517
|
data.task_id,
|
|
51739
50518
|
data.payload ?? data.data ?? data,
|
|
51740
|
-
data.from_recurring_task_id,
|
|
51741
|
-
data.return_occurrence,
|
|
51742
50519
|
void 0
|
|
51743
50520
|
]));
|
|
51744
50521
|
}
|
|
@@ -51758,26 +50535,21 @@ const generatedFocusOperations = [
|
|
|
51758
50535
|
interactive: "default"
|
|
51759
50536
|
},
|
|
51760
50537
|
mcp: { entityTool: "time-entries" },
|
|
51761
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51762
|
-
|
|
51763
|
-
|
|
51764
|
-
|
|
51765
|
-
|
|
51766
|
-
|
|
51767
|
-
|
|
51768
|
-
|
|
51769
|
-
|
|
51770
|
-
|
|
51771
|
-
|
|
51772
|
-
|
|
51773
|
-
|
|
51774
|
-
|
|
51775
|
-
|
|
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
|
-
}),
|
|
50538
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
50539
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
50540
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50541
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50542
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50543
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50544
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50545
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50546
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50547
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50548
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50549
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50550
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
50551
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50552
|
+
}) }),
|
|
51781
50553
|
execute: (input, { client }) => {
|
|
51782
50554
|
const data = input;
|
|
51783
50555
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51785,8 +50557,6 @@ const generatedFocusOperations = [
|
|
|
51785
50557
|
client.organizationId,
|
|
51786
50558
|
client.workspaceIdNumber,
|
|
51787
50559
|
data.payload ?? data.data ?? data,
|
|
51788
|
-
data.from_recurring_task_id,
|
|
51789
|
-
data.return_occurrence,
|
|
51790
50560
|
void 0
|
|
51791
50561
|
]));
|
|
51792
50562
|
}
|
|
@@ -51806,11 +50576,7 @@ const generatedFocusOperations = [
|
|
|
51806
50576
|
interactive: "default"
|
|
51807
50577
|
},
|
|
51808
50578
|
mcp: { entityTool: "time-entries" },
|
|
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
|
-
}),
|
|
50579
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51814
50580
|
execute: (input, { client }) => {
|
|
51815
50581
|
const data = input;
|
|
51816
50582
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51818,8 +50584,6 @@ const generatedFocusOperations = [
|
|
|
51818
50584
|
client.organizationId,
|
|
51819
50585
|
client.workspaceIdNumber,
|
|
51820
50586
|
data.time_entry_id,
|
|
51821
|
-
data.from_recurring_task_id,
|
|
51822
|
-
data.return_occurrence,
|
|
51823
50587
|
void 0
|
|
51824
50588
|
]));
|
|
51825
50589
|
}
|
|
@@ -51900,7 +50664,6 @@ const generatedFocusOperations = [
|
|
|
51900
50664
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51901
50665
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51902
50666
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51903
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51904
50667
|
status_id: /* @__PURE__ */ number$2(),
|
|
51905
50668
|
task_id: /* @__PURE__ */ number$2(),
|
|
51906
50669
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51979,40 +50742,6 @@ const generatedFocusOperations = [
|
|
|
51979
50742
|
]));
|
|
51980
50743
|
}
|
|
51981
50744
|
},
|
|
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
|
-
},
|
|
52016
50745
|
{
|
|
52017
50746
|
id: "focus.time-entries.list",
|
|
52018
50747
|
family: "focus",
|
|
@@ -52077,14 +50806,12 @@ const generatedFocusOperations = [
|
|
|
52077
50806
|
},
|
|
52078
50807
|
mcp: { entityTool: "time-entries" },
|
|
52079
50808
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52080
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52081
50809
|
payload: /* @__PURE__ */ looseObject({
|
|
52082
50810
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52083
50811
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52084
50812
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52085
50813
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52086
50814
|
}),
|
|
52087
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52088
50815
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52089
50816
|
}),
|
|
52090
50817
|
execute: (input, { client }) => {
|
|
@@ -52095,8 +50822,6 @@ const generatedFocusOperations = [
|
|
|
52095
50822
|
client.workspaceIdNumber,
|
|
52096
50823
|
data.time_entry_id,
|
|
52097
50824
|
data.payload ?? data.data ?? data,
|
|
52098
|
-
data.from_recurring_task_id,
|
|
52099
|
-
data.return_occurrence,
|
|
52100
50825
|
void 0
|
|
52101
50826
|
]));
|
|
52102
50827
|
}
|
|
@@ -52201,42 +50926,6 @@ const generatedFocusOperations = [
|
|
|
52201
50926
|
inputSchema: emptySchema$1,
|
|
52202
50927
|
execute: (_input, { client }) => client.stopTracking()
|
|
52203
50928
|
},
|
|
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
|
-
},
|
|
52240
50929
|
{
|
|
52241
50930
|
id: "focus.time-entries.tracking-get-tracked-time-entry",
|
|
52242
50931
|
family: "focus",
|
|
@@ -52285,7 +50974,6 @@ const generatedFocusOperations = [
|
|
|
52285
50974
|
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52286
50975
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52287
50976
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52288
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52289
50977
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52290
50978
|
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52291
50979
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -52354,7 +51042,6 @@ const generatedFocusOperations = [
|
|
|
52354
51042
|
},
|
|
52355
51043
|
mcp: { entityTool: "time-entries" },
|
|
52356
51044
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52357
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52358
51045
|
payload: /* @__PURE__ */ looseObject({
|
|
52359
51046
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52360
51047
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52367,35 +51054,181 @@ const generatedFocusOperations = [
|
|
|
52367
51054
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52368
51055
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52369
51056
|
}),
|
|
52370
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52371
51057
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52372
51058
|
}),
|
|
52373
51059
|
execute: (input, { client }) => {
|
|
52374
51060
|
const data = input;
|
|
52375
|
-
return client.runGeneratedRequest("updateTimeEntryWithOrg", () => callGeneratedRequest(updateTimeEntryWithOrg, [
|
|
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()
|
|
51207
|
+
}),
|
|
51208
|
+
execute: (input, { client }) => {
|
|
51209
|
+
const data = input;
|
|
51210
|
+
return client.runGeneratedRequest("deleteTimeoffForGhost", () => callGeneratedRequest(deleteTimeoffForGhost, [
|
|
52376
51211
|
client.httpClient,
|
|
52377
51212
|
client.organizationId,
|
|
52378
51213
|
client.workspaceIdNumber,
|
|
52379
|
-
data.
|
|
51214
|
+
data.ghost_id,
|
|
52380
51215
|
data.payload ?? data.data ?? data,
|
|
52381
|
-
data.from_recurring_task_id,
|
|
52382
|
-
data.return_occurrence,
|
|
52383
51216
|
void 0
|
|
52384
51217
|
]));
|
|
52385
51218
|
}
|
|
52386
51219
|
},
|
|
52387
51220
|
{
|
|
52388
|
-
id: "focus.time-off.
|
|
51221
|
+
id: "focus.time-off.delete-timeoff-for-user",
|
|
52389
51222
|
family: "focus",
|
|
52390
51223
|
resource: "time-off",
|
|
52391
|
-
action: "
|
|
52392
|
-
title: "
|
|
52393
|
-
description: "
|
|
52394
|
-
safety: "
|
|
52395
|
-
destructive:
|
|
51224
|
+
action: "delete-timeoff-for-user",
|
|
51225
|
+
title: "Delete Timeoff For User Time Off",
|
|
51226
|
+
description: "Delete Timeoff For User Time Off.",
|
|
51227
|
+
safety: "delete",
|
|
51228
|
+
destructive: true,
|
|
52396
51229
|
cli: {
|
|
52397
51230
|
group: ["time-off"],
|
|
52398
|
-
command: "
|
|
51231
|
+
command: "delete-timeoff-for-user",
|
|
52399
51232
|
interactive: "hidden"
|
|
52400
51233
|
},
|
|
52401
51234
|
mcp: { entityTool: "time-off" },
|
|
@@ -52405,7 +51238,7 @@ const generatedFocusOperations = [
|
|
|
52405
51238
|
}),
|
|
52406
51239
|
execute: (input, { client }) => {
|
|
52407
51240
|
const data = input;
|
|
52408
|
-
return client.runGeneratedRequest("
|
|
51241
|
+
return client.runGeneratedRequest("deleteTimeoffForUser", () => callGeneratedRequest(deleteTimeoffForUser, [
|
|
52409
51242
|
client.httpClient,
|
|
52410
51243
|
client.organizationId,
|
|
52411
51244
|
data.user_id,
|
|
@@ -52415,31 +51248,33 @@ const generatedFocusOperations = [
|
|
|
52415
51248
|
}
|
|
52416
51249
|
},
|
|
52417
51250
|
{
|
|
52418
|
-
id: "focus.time-off.
|
|
51251
|
+
id: "focus.time-off.get-timeoff-for-ghost",
|
|
52419
51252
|
family: "focus",
|
|
52420
51253
|
resource: "time-off",
|
|
52421
|
-
action: "
|
|
52422
|
-
title: "
|
|
52423
|
-
description: "
|
|
52424
|
-
safety: "
|
|
52425
|
-
destructive:
|
|
51254
|
+
action: "get-timeoff-for-ghost",
|
|
51255
|
+
title: "Get Timeoff For Ghost Time Off",
|
|
51256
|
+
description: "Get Timeoff For Ghost Time Off.",
|
|
51257
|
+
safety: "read",
|
|
51258
|
+
destructive: false,
|
|
52426
51259
|
cli: {
|
|
52427
51260
|
group: ["time-off"],
|
|
52428
|
-
command: "
|
|
51261
|
+
command: "get-timeoff-for-ghost",
|
|
52429
51262
|
interactive: "hidden"
|
|
52430
51263
|
},
|
|
52431
51264
|
mcp: { entityTool: "time-off" },
|
|
52432
51265
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52433
|
-
|
|
52434
|
-
|
|
51266
|
+
from: /* @__PURE__ */ unknown$1(),
|
|
51267
|
+
ghost_id: /* @__PURE__ */ number$2(),
|
|
51268
|
+
to: /* @__PURE__ */ unknown$1()
|
|
52435
51269
|
}),
|
|
52436
51270
|
execute: (input, { client }) => {
|
|
52437
51271
|
const data = input;
|
|
52438
|
-
return client.runGeneratedRequest("
|
|
51272
|
+
return client.runGeneratedRequest("getTimeoffForGhost", () => callGeneratedRequest(getTimeoffForGhost, [
|
|
52439
51273
|
client.httpClient,
|
|
52440
51274
|
client.organizationId,
|
|
52441
|
-
|
|
52442
|
-
data.
|
|
51275
|
+
client.workspaceIdNumber,
|
|
51276
|
+
data.ghost_id,
|
|
51277
|
+
data,
|
|
52443
51278
|
void 0
|
|
52444
51279
|
]));
|
|
52445
51280
|
}
|
|
@@ -52475,6 +51310,37 @@ const generatedFocusOperations = [
|
|
|
52475
51310
|
]));
|
|
52476
51311
|
}
|
|
52477
51312
|
},
|
|
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
|
+
},
|
|
52478
51344
|
{
|
|
52479
51345
|
id: "focus.time-off.get-timeoffs-by-user-ids",
|
|
52480
51346
|
family: "focus",
|
|
@@ -52505,6 +51371,37 @@ const generatedFocusOperations = [
|
|
|
52505
51371
|
]));
|
|
52506
51372
|
}
|
|
52507
51373
|
},
|
|
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
|
+
},
|
|
52508
51405
|
{
|
|
52509
51406
|
id: "focus.time-off.update-timeoff-for-user",
|
|
52510
51407
|
family: "focus",
|
|
@@ -53465,56 +52362,6 @@ const generatedFocusOperations = [
|
|
|
53465
52362
|
return client.listOrgUsers(data);
|
|
53466
52363
|
}
|
|
53467
52364
|
},
|
|
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
|
-
},
|
|
53518
52365
|
{
|
|
53519
52366
|
id: "focus.users.settings-list",
|
|
53520
52367
|
family: "focus",
|
|
@@ -53576,9 +52423,6 @@ const generatedFocusOperations = [
|
|
|
53576
52423
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53577
52424
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53578
52425
|
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()),
|
|
53582
52426
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53583
52427
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53584
52428
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53589,7 +52433,6 @@ const generatedFocusOperations = [
|
|
|
53589
52433
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53590
52434
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
53591
52435
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53592
|
-
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53593
52436
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53594
52437
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53595
52438
|
show_goals_panel: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -53691,6 +52534,37 @@ const generatedFocusOperations = [
|
|
|
53691
52534
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
53692
52535
|
execute: (_input, { client }) => client.runGeneratedRequest("serviceVersion", () => callGeneratedRequest(serviceVersion, [client.httpClient, void 0]))
|
|
53693
52536
|
},
|
|
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
|
+
},
|
|
53694
52568
|
{
|
|
53695
52569
|
id: "focus.working-hours.create-for-user",
|
|
53696
52570
|
family: "focus",
|
|
@@ -53721,6 +52595,37 @@ const generatedFocusOperations = [
|
|
|
53721
52595
|
]));
|
|
53722
52596
|
}
|
|
53723
52597
|
},
|
|
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
|
+
},
|
|
53724
52629
|
{
|
|
53725
52630
|
id: "focus.working-hours.delete-for-user",
|
|
53726
52631
|
family: "focus",
|
|
@@ -53751,6 +52656,33 @@ const generatedFocusOperations = [
|
|
|
53751
52656
|
]));
|
|
53752
52657
|
}
|
|
53753
52658
|
},
|
|
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
|
+
},
|
|
53754
52686
|
{
|
|
53755
52687
|
id: "focus.working-hours.get-for-user",
|
|
53756
52688
|
family: "focus",
|
|
@@ -53777,6 +52709,37 @@ const generatedFocusOperations = [
|
|
|
53777
52709
|
]));
|
|
53778
52710
|
}
|
|
53779
52711
|
},
|
|
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
|
+
},
|
|
53780
52743
|
{
|
|
53781
52744
|
id: "focus.working-hours.update-for-user",
|
|
53782
52745
|
family: "focus",
|
|
@@ -53851,50 +52814,6 @@ const generatedFocusOperations = [
|
|
|
53851
52814
|
void 0
|
|
53852
52815
|
]))
|
|
53853
52816
|
},
|
|
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
|
-
},
|
|
53898
52817
|
{
|
|
53899
52818
|
id: "focus.workspace-settings.list",
|
|
53900
52819
|
family: "focus",
|
|
@@ -53969,32 +52888,6 @@ const generatedFocusOperations = [
|
|
|
53969
52888
|
]));
|
|
53970
52889
|
}
|
|
53971
52890
|
},
|
|
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
|
-
},
|
|
53998
52891
|
{
|
|
53999
52892
|
id: "focus.workspace.get-context",
|
|
54000
52893
|
family: "focus",
|
|
@@ -55122,7 +54015,7 @@ function registerWorkspaceTools(server) {
|
|
|
55122
54015
|
//#region src/package-version.ts
|
|
55123
54016
|
function mcpPackageVersion() {
|
|
55124
54017
|
try {
|
|
55125
|
-
return "1.11.
|
|
54018
|
+
return "1.11.15";
|
|
55126
54019
|
} catch {
|
|
55127
54020
|
return "unknown";
|
|
55128
54021
|
}
|
|
@@ -55297,7 +54190,7 @@ import_main.default.config({
|
|
|
55297
54190
|
quiet: true,
|
|
55298
54191
|
ignore: ["MISSING_ENV_FILE"]
|
|
55299
54192
|
});
|
|
55300
|
-
const packageVersion = "1.11.
|
|
54193
|
+
const packageVersion = "1.11.15";
|
|
55301
54194
|
function resolvePublicUrls() {
|
|
55302
54195
|
return {
|
|
55303
54196
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55362,4 +54255,4 @@ function bootstrapServer(options = {}) {
|
|
|
55362
54255
|
//#endregion
|
|
55363
54256
|
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 };
|
|
55364
54257
|
|
|
55365
|
-
//# sourceMappingURL=src-
|
|
54258
|
+
//# sourceMappingURL=src-zPV0rN1b.js.map
|